Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/private/google-site-kit.tar
Назад
dist/assets/css/googlesitekit-adminbar-css-6db776544b37175be17f.min.css 0000604 00000341126 14717744000 0021066 0 ustar 00 :root{--reach-combobox: 1}.googlesitekit-plugin{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.43}.googlesitekit-plugin *,.googlesitekit-plugin *::before,.googlesitekit-plugin *::after{box-sizing:border-box}.googlesitekit-plugin svg{color:inherit}.googlesitekit-plugin svg:not(:root){overflow:hidden}.googlesitekit-plugin h1,.googlesitekit-plugin h2,.googlesitekit-plugin h3,.googlesitekit-plugin h4,.googlesitekit-plugin h5,.googlesitekit-plugin h6{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.16}.googlesitekit-plugin h1,.googlesitekit-plugin .googlesitekit-heading-1{font-size:32px;font-weight:400;line-height:1.25}.googlesitekit-plugin h2,.googlesitekit-plugin .googlesitekit-heading-2{font-size:28px;font-weight:400;line-height:1.286}.googlesitekit-plugin h3,.googlesitekit-plugin .googlesitekit-heading-3{font-size:22px;font-weight:400;line-height:1.27}.googlesitekit-plugin h4,.googlesitekit-plugin .googlesitekit-heading-4{font-size:18px;font-weight:700;line-height:1.33}.googlesitekit-plugin .googlesitekit-subheading-1{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.14}.googlesitekit-plugin .googlesitekit-subheading-2{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-nodata{display:none}.googlesitekit-plugin legend,.googlesitekit-plugin p:not([class*=mdc-]){font-size:14px;letter-spacing:.25px}.googlesitekit-plugin a{color:#108080;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin a:hover{color:#108080;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin a:focus{box-shadow:none;outline:1px dotted #000;outline-offset:3px}.googlesitekit-plugin button{background:none;border:none;border-radius:100px;color:#108080;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin button:hover{-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin button:focus{outline:1px dotted #000;outline-offset:6px}.googlesitekit-plugin legend{line-height:1.5;margin:1em 0}.googlesitekit-plugin .screen-reader-only{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}@media(max-width: 599px){.googlesitekit-plugin .hidden-on-mobile{display:none}}.googlesitekit-hidden{display:none !important}.mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:2.25rem;font-weight:500;letter-spacing:.0892857143em;-webkit-text-decoration:none;text-decoration:none;text-transform:uppercase;padding:0 8px 0 8px;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;height:36px;border:none;outline:none;line-height:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:none;overflow:hidden;vertical-align:middle;border-radius:4px}.mdc-button::-moz-focus-inner,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:active{outline:none}.mdc-button:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:hover{cursor:pointer}.mdc-button:disabled,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:disabled{background-color:transparent;color:rgba(0,0,0,.37);cursor:default;pointer-events:none}.mdc-button.mdc-button--dense,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--dense.mdc-button{border-radius:4px}.mdc-button:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(:disabled){background-color:transparent}.mdc-button .mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,[dir=rtl] #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button .mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar [dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl],#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(:disabled){color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--raised .mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,[dir=rtl] #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar [dir=rtl] .mdc-button--raised .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,[dir=rtl] #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__label+.mdc-button__icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar [dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-button--raised,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised,.mdc-button--unelevated{padding:0 16px 0 16px}.mdc-button--raised:disabled,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.37)}.mdc-button--raised:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button--raised:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button--raised:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:hover,.mdc-button--raised:focus,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-button--outlined{border-style:solid;padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:disabled{border-color:rgba(0,0,0,.37)}.mdc-button--outlined:not(:disabled){border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-button--dense{height:32px;font-size:.8125rem}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var: 1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-button::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::before,.mdc-button::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-button::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-button.mdc-ripple-upgraded::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button.mdc-ripple-upgraded::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-button.mdc-ripple-upgraded--unbounded::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--unbounded.mdc-button::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-button.mdc-ripple-upgraded--foreground-activation::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--foreground-activation.mdc-button::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-button.mdc-ripple-upgraded--foreground-deactivation::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--foreground-deactivation.mdc-button::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::before,.mdc-button::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-button.mdc-ripple-upgraded::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-button::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::before,.mdc-button::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::before,.mdc-button::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button::after{background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button:hover::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:hover::before{opacity:.04}.mdc-button:not(.mdc-ripple-upgraded):focus::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(.mdc-ripple-upgraded):focus::before,.mdc-button.mdc-ripple-upgraded--background-focused::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--background-focused.mdc-button::before{transition-duration:75ms;opacity:.12}.mdc-button:not(.mdc-ripple-upgraded)::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button:not(.mdc-ripple-upgraded):active::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-button.mdc-ripple-upgraded,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button{--mdc-ripple-fg-opacity: 0.12}.mdc-button--raised::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::before,.mdc-button--raised::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:#fff}@supports not (-ms-ime-align: auto){.mdc-button--raised::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::before,.mdc-button--raised::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:var(--mdc-theme-on-primary, #fff)}}.mdc-button--raised:hover::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:hover::before,.mdc-button--unelevated:hover::before{opacity:.08}.mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.mdc-button--raised.mdc-ripple-upgraded--background-focused::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--background-focused.mdc-button--raised::before,.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,.mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.mdc-button--raised:not(.mdc-ripple-upgraded)::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded)::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button--raised:not(.mdc-ripple-upgraded):active::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded):active::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.mdc-button--raised.mdc-ripple-upgraded,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button--raised,.mdc-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}:root{--mdc-layout-grid-margin-desktop: 24px;--mdc-layout-grid-gutter-desktop: 24px;--mdc-layout-grid-column-width-desktop: 72px;--mdc-layout-grid-margin-tablet: 16px;--mdc-layout-grid-gutter-tablet: 16px;--mdc-layout-grid-column-width-tablet: 72px;--mdc-layout-grid-margin-phone: 16px;--mdc-layout-grid-gutter-phone: 16px;--mdc-layout-grid-column-width-phone: 72px}@media(min-width: 961px){.mdc-layout-grid,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:24px;padding:var(--mdc-layout-grid-margin-desktop, 24px)}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-tablet, 16px)}}@media(max-width: 600px){.mdc-layout-grid,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-phone, 16px)}}@media(min-width: 961px){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:grid;margin:0;grid-gap:24px;grid-gap:var(--mdc-layout-grid-gutter-desktop, 24px);grid-template-columns:repeat(12, minmax(0, 1fr))}}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-tablet, 16px);grid-template-columns:repeat(8, minmax(0, 1fr))}}}@media(max-width: 600px){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__inner,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-phone, 16px);grid-template-columns:repeat(4, minmax(0, 1fr))}}}@media(min-width: 961px){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));box-sizing:border-box;margin:12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2)}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:calc(8.3333333333% - 24px);width:calc(8.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:calc(16.6666666667% - 24px);width:calc(16.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3-desktop{width:calc(25% - 24px);width:calc(25% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3-desktop{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:calc(41.6666666667% - 24px);width:calc(41.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-6-desktop{width:calc(50% - 24px);width:calc(50% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-6-desktop{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7-desktop{width:calc(58.3333333333% - 24px);width:calc(58.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7-desktop{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:calc(66.6666666667% - 24px);width:calc(66.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:calc(75% - 24px);width:calc(75% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:auto;grid-column-end:span 9}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:calc(83.3333333333% - 24px);width:calc(83.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:auto;grid-column-end:span 10}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:calc(91.6666666667% - 24px);width:calc(91.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:auto;grid-column-end:span 11}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:calc(100% - 24px);width:calc(100% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:auto;grid-column-end:span 12}}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2)}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:calc(12.5% - 16px);width:calc(12.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2-tablet{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2-tablet{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:calc(37.5% - 16px);width:calc(37.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4-tablet{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4-tablet{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:calc(62.5% - 16px);width:calc(62.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:calc(87.5% - 16px);width:calc(87.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-8-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-8-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell{width:auto;grid-column-end:span 8}}}@media(max-width: 600px){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2)}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell,#wpadminbar.nojs .googlesitekit-noscript .mdc-layout-grid__cell,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,#wpadminbar .googlesitekit-adminbar .mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:auto;grid-column-end:span 4}}}.mdc-layout-grid__cell--order-1{order:1}.mdc-layout-grid__cell--order-2{order:2}.mdc-layout-grid__cell--order-3{order:3}.mdc-layout-grid__cell--order-4{order:4}.mdc-layout-grid__cell--order-5{order:5}.mdc-layout-grid__cell--order-6{order:6}.mdc-layout-grid__cell--order-7{order:7}.mdc-layout-grid__cell--order-8{order:8}.mdc-layout-grid__cell--order-9{order:9}.mdc-layout-grid__cell--order-10{order:10}.mdc-layout-grid__cell--order-11{order:11}.mdc-layout-grid__cell--order-12{order:12}.mdc-layout-grid__cell--align-top{align-self:flex-start}@supports(display: grid){.mdc-layout-grid__cell--align-top{align-self:start}}.mdc-layout-grid__cell--align-middle{align-self:center}.mdc-layout-grid__cell--align-bottom{align-self:flex-end}@supports(display: grid){.mdc-layout-grid__cell--align-bottom{align-self:end}}@media(min-width: 961px){.mdc-layout-grid--fixed-column-width{width:1176px;width:calc( var(--mdc-layout-grid-column-width-desktop, 72px) * 12 + var(--mdc-layout-grid-gutter-desktop, 24px) * 11 + var(--mdc-layout-grid-margin-desktop, 24px) * 2 )}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid--fixed-column-width{width:720px;width:calc( var(--mdc-layout-grid-column-width-tablet, 72px) * 8 + var(--mdc-layout-grid-gutter-tablet, 16px) * 7 + var(--mdc-layout-grid-margin-tablet, 16px) * 2 )}}@media(max-width: 600px){.mdc-layout-grid--fixed-column-width{width:368px;width:calc( var(--mdc-layout-grid-column-width-phone, 72px) * 4 + var(--mdc-layout-grid-gutter-phone, 16px) * 3 + var(--mdc-layout-grid-margin-phone, 16px) * 2 )}}.mdc-layout-grid--align-left{margin-right:auto;margin-left:0}.mdc-layout-grid--align-right{margin-right:0;margin-left:auto}@keyframes primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes buffering{to{transform:translateX(-10px)}}@keyframes primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes buffering-reverse{to{transform:translateX(10px)}}.mdc-linear-progress,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress{position:relative;width:100%;height:4px;transform:translateZ(0);transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);overflow:hidden}.mdc-linear-progress__bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;height:100%;animation:none}.mdc-linear-progress__buffering-dots,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffering-dots{position:absolute;width:100%;height:100%;animation:buffering 250ms infinite linear;background-repeat:repeat-x;background-size:10px 4px}.mdc-linear-progress__buffer,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffer{position:absolute;width:100%;height:100%;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__secondary-bar{visibility:hidden}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--indeterminate #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress--indeterminate #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__primary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%;animation:primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner,.mdc-linear-progress--indeterminate #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress--indeterminate #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__secondary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;animation:secondary-indeterminate-translate 2s infinite linear;visibility:visible}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner,.mdc-linear-progress--indeterminate #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:secondary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--reversed .mdc-linear-progress__bar,.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--reversed .mdc-linear-progress__bar,.mdc-linear-progress--reversed .mdc-linear-progress__buffer,.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffer,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--reversed .mdc-linear-progress__buffer{right:0;transform-origin:center right}.mdc-linear-progress--reversed .mdc-linear-progress__primary-bar,.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__primary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--reversed .mdc-linear-progress__primary-bar{animation-name:primary-indeterminate-translate-reverse}.mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar,.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__secondary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar{animation-name:secondary-indeterminate-translate-reverse}.mdc-linear-progress--reversed .mdc-linear-progress__buffering-dots,.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffering-dots,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--reversed .mdc-linear-progress__buffering-dots{animation:buffering-reverse 250ms infinite linear}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress__bar-inner,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar-inner{background-color:#3c7251;background-color:var(--mdc-theme-primary, #3c7251)}.mdc-linear-progress__buffering-dots,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffering-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E")}.mdc-linear-progress__buffer,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress__buffer{background-color:#e6e6e6}.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__primary-bar,.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__primary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar,.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__secondary-bar,#wpadminbar .googlesitekit-adminbar .mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.googlesitekit-plugin .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button{box-shadow:none;text-transform:none}.googlesitekit-plugin .mdc-button:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button:not(:disabled){color:#3c7251}@media(max-width: 960px){.googlesitekit-plugin .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button{min-width:auto}}.googlesitekit-plugin .mdc-button .mdc-button__icon--image,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button .mdc-button__icon--image{border-radius:50%;display:block;height:18px;width:18px}.googlesitekit-plugin .mdc-button .mdc-button__trailing-icon,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button .mdc-button__trailing-icon{margin-left:8px}.googlesitekit-plugin .mdc-button--raised,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised{border-radius:100px;box-shadow:none;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;height:auto;letter-spacing:normal;min-height:40px;padding-bottom:8px;padding-top:8px;text-align:center}.googlesitekit-plugin .mdc-button--raised:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(:disabled){background-color:#3c7251}.googlesitekit-plugin .mdc-button--raised:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--raised::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--raised::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--raised:hover::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded--background-focused::before,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded--background-focused.mdc-button--raised::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded)::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):active::after,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-ripple-upgraded.mdc-button--raised{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--raised.mdc-button--dense,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--dense.mdc-button--raised{border-radius:100px}.googlesitekit-plugin .mdc-button--raised:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--raised:focus,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .mdc-button--raised:focus{outline:none}.googlesitekit-plugin .mdc-button--danger:not(:disabled){background-color:#ac4220}.googlesitekit-plugin .mdc-button--danger:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--danger:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--dropdown{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.6.6L12%202%206%208%200%202%201.4.6%206%205.2z%22%20fill%3D%22%23757575%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");background-position:calc(100% - 8px) center;background-repeat:no-repeat;background-size:9px 6px;letter-spacing:normal;padding-right:12px;text-transform:none}.googlesitekit-plugin .mdc-button--dropdown:not(:disabled){color:#161b18}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown{padding-right:25px}}.googlesitekit-plugin .mdc-button--dropdown:hover,.googlesitekit-plugin .mdc-button--dropdown:active,.googlesitekit-plugin .mdc-button--dropdown:focus{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){background-color:#ebeef0}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--dropdown:hover:hover::before,.googlesitekit-plugin .mdc-button--dropdown:active:hover::before,.googlesitekit-plugin .mdc-button--dropdown:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown{background-image:none}}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(min-width: 960px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:300px}}@media(min-width: 1280px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:450px}}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){background-color:#161b18}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--inverse:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:40px;padding:8px 16px}.googlesitekit-plugin .mdc-button--tertiary:not(:disabled){color:#6c726e}.googlesitekit-plugin .mdc-button--tertiary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){background-color:rgba(22,27,24,.08)}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:hover:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--tertiary:active,.googlesitekit-plugin .mdc-button--tertiary:focus{outline:none}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){background-color:rgba(22,27,24,.26)}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:active:hover::before,.googlesitekit-plugin .mdc-button--tertiary:focus:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--callout{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:32px;padding:6px 16px}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){background-color:rgba(147,201,168,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){background-color:#93c9a8}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:disabled{color:rgba(38,92,59,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){background-color:rgba(225,177,85,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){background-color:#e1b155}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:disabled{color:rgba(78,51,0,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){background-color:rgba(255,194,174,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){background-color:#ffc2ae}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:disabled{color:rgba(122,30,0,.4)}.googlesitekit-plugin .mdc-linear-progress,.googlesitekit-plugin #wpadminbar .googlesitekit-adminbar .mdc-linear-progress,#wpadminbar .googlesitekit-adminbar .googlesitekit-plugin .mdc-linear-progress{margin:32px 0}.googlesitekit-plugin .mdc-linear-progress .mdc-linear-progress__bar-inner,.googlesitekit-plugin .mdc-linear-progress #wpadminbar .googlesitekit-adminbar .mdc-linear-progress__bar-inner,#wpadminbar .googlesitekit-adminbar .googlesitekit-plugin .mdc-linear-progress .mdc-linear-progress__bar-inner,.googlesitekit-plugin #wpadminbar .googlesitekit-adminbar .mdc-linear-progress .mdc-linear-progress__bar-inner{background-color:#3c7251}@media(min-width: 960px){.googlesitekit-plugin .mdc-linear-progress,.googlesitekit-plugin #wpadminbar .googlesitekit-adminbar .mdc-linear-progress,#wpadminbar .googlesitekit-adminbar .googlesitekit-plugin .mdc-linear-progress{margin:48px 0}}.googlesitekit-plugin .mdc-linear-progress--small{max-width:150px}.googlesitekit-plugin .mdc-linear-progress--compress{margin:0}.googlesitekit-plugin .MuiCircularProgress-colorPrimary{color:#3c7251}.googlesitekit-plugin .MuiCircularProgress-colorSecondary{color:#108080}#wpadminbar .googlesitekit-adminbar *{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:normal}#wpadminbar .googlesitekit-adminbar .mdc-linear-progress{margin:32px 0}#wpadminbar .googlesitekit-adminbar .mdc-linear-progress .mdc-linear-progress__bar-inner{background-color:#446199}@media(min-width: 960px){#wpadminbar .googlesitekit-adminbar .mdc-linear-progress{margin:48px 0}}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta{box-sizing:border-box}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link{background-color:transparent;font-size:16px;height:auto;letter-spacing:.5px;width:max-content}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-error-cta-wrapper .mdc-button{margin-bottom:24px}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta strong{font-weight:600}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .mdc-button__label{font-weight:400;letter-spacing:1.25px}#wpadminbar.nojs .googlesitekit-noscript{border-left:4px solid #fece72;display:none;left:0;position:absolute;top:32px;width:100%}#wpadminbar.nojs .googlesitekit-wp-adminbar:hover .googlesitekit-noscript{display:block}#wpadminbar .googlesitekit-plugin.ab-sub-wrapper{left:0;width:100%}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar{box-shadow:0 1.25px 5px 0 rgba(0,0,0,.19),0 .33px 1.5px 0 rgba(0,0,0,.039);background:#fff;color:#000;left:0;padding:0;position:absolute;right:0;top:46px;z-index:9999}@media(min-width: 783px){#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar{top:32px}}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar.--has-error{display:none}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__subtitle{color:#6c726e;font-size:16px;letter-spacing:.5px}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__title{color:#333935;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;font-weight:500;margin:5px 0 0}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__title .googlesitekit-adminbar__title--date-range{color:#6c726e;font-size:14px;letter-spacing:.25px}#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link{display:none}#wpadminbar:not(.mobile) .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link{display:inline-block}#wpadminbar:not(.mobile) .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link--mobile{display:none}@media(min-width: 960px){#wpadminbar.mobile .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link{display:inline-block}}#wpadminbar.mobile .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link--mobile{display:inline-block;padding-left:16px;position:relative;top:-16px}@media(min-width: 960px){#wpadminbar.mobile .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-adminbar__link--mobile{display:none}}#wpadminbar.mobile .googlesitekit-plugin .googlesitekit-adminbar .mdc-layout-grid{pointer-events:none}@media(min-width: 960px){#wpadminbar.mobile .googlesitekit-plugin .googlesitekit-adminbar .mdc-layout-grid{pointer-events:auto}}#wpadminbar .googlesitekit-wp-adminbar{display:block;position:static}#wpadminbar .googlesitekit-wp-adminbar .ab-item{display:block;float:left;height:46px;position:static;width:52px}@media(min-width: 783px){#wpadminbar .googlesitekit-wp-adminbar .ab-item{height:auto;width:auto}}#wpadminbar .googlesitekit-wp-adminbar .googlesitekit-wp-adminbar__icon{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2243%22%20height%3D%2244%22%20viewBox%3D%220%200%2043%2044%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3Cpath%20d%3D%22M42.5%2018H22v8.5h11.8C32.7%2031.9%2028.1%2035%2022%2035c-7.2%200-13-5.8-13-13S14.8%209%2022%209c3.1%200%205.9%201.1%208.1%202.9l6.4-6.4C32.6%202.1%2027.6%200%2022%200%209.8%200%200%209.8%200%2022s9.8%2022%2022%2022c11%200%2021-8%2021-22%200-1.3-.2-2.7-.5-4z%22%20id%3D%22a%22%2F%3E%3C%2Fdefs%3E%3Cuse%20fill%3D%22%23FFF%22%20xlink%3Ahref%3D%22%23a%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:contain;display:block;height:26px;margin:10px auto;opacity:.6;padding:0;position:relative;width:26px}@media(min-width: 783px){#wpadminbar .googlesitekit-wp-adminbar .googlesitekit-wp-adminbar__icon{float:left;height:15px;margin:8px 8px 5px 0;width:15px}}#wpadminbar .googlesitekit-wp-adminbar .googlesitekit-wp-adminbar__label{display:none}@media(min-width: 783px){#wpadminbar .googlesitekit-wp-adminbar .googlesitekit-wp-adminbar__label{display:inline}}#wpadminbar .ab-top-menu>.googlesitekit-wp-adminbar.hover>.ab-item,#wpadminbar:not(.mobile) .quicklinks .ab-top-menu>.googlesitekit-wp-adminbar:hover>.ab-item,#wpadminbar:not(.mobile) .quicklinks .ab-top-menu>.googlesitekit-wp-adminbar>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>.googlesitekit-wp-adminbar>.ab-item:focus{background-color:#fff;color:#161b18;position:relative;z-index:10000}#wpadminbar .googlesitekit-wp-adminbar.hover .googlesitekit-wp-adminbar__icon,#wpadminbar:not(.mobile) .googlesitekit-wp-adminbar:hover .googlesitekit-wp-adminbar__icon,#wpadminbar:not(.mobile) .googlesitekit-wp-adminbar .ab-item:focus .googlesitekit-wp-adminbar__icon{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDMiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0MyA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggZD0iTTQyLjUgMThIMjJ2OC41aDExLjhDMzIuNyAzMS45IDI4LjEgMzUgMjIgMzVjLTcuMiAwLTEzLTUuOC0xMy0xM1MxNC44IDkgMjIgOWMzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzMi42IDIuMSAyNy42IDAgMjIgMCA5LjggMCAwIDkuOCAwIDIyczkuOCAyMiAyMiAyMmMxMSAwIDIxLTggMjEtMjIgMC0xLjMtLjItMi43LS41LTR6IiBpZD0iYSIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjxwYXRoIGZpbGw9IiNGQkJDMDUiIG1hc2s9InVybCgjYikiIGQ9Ik0tMiAzNVY5bDE3IDEzeiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIG1hc2s9InVybCgjYikiIGQ9Ik0tMiAzNWwzMC0yMyA3LjkgMUw0Ni0ydjQ4SC0yeiIvPjxwYXRoIGZpbGw9IiM0Mjg1RjQiIG1hc2s9InVybCgjYikiIGQ9Ik00NiA0NkwxNSAyMmwtNC0zTDQ2IDl6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgbWFzaz0idXJsKCNiKSIgZD0iTS0yIDlsMTcgMTMgNy02LjFMNDYgMTJWLTJILTJ6Ii8+PC9nPjwvc3ZnPg==");opacity:1}.googlesitekit-plugin .googlesitekit-analytics-cta,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta{--cta-analytics-gap: 16px;--cta-analytics-gap-narrow: calc(var(--cta-analytics-gap) / 2);background-color:#ebeef0;display:flex;flex-direction:column;gap:var(--cta-analytics-gap);padding:var(--cta-analytics-gap)}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta{--cta-analytics-gap: 24px;flex-direction:row-reverse}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta--description,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta--description{color:#161b18;font-size:14px;letter-spacing:.25px;margin:0}.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-adminbar .mdc-button{margin-top:var(--cta-analytics-gap-narrow);width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-adminbar .mdc-button{width:auto}}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .mdc-button,#wpadminbar .googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-adminbar .mdc-button{margin-top:var(--cta-analytics-gap)}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-cta--activate-analytics,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-cta--activate-analytics,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs{display:flex;gap:var(--cta-analytics-gap)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph{background-color:#fff;border-radius:4px;display:flex;flex:1;flex-direction:column;padding:var(--cta-analytics-gap-narrow)}#dashboard-widgets .googlesitekit-plugin .googlesitekit-analytics-cta h3.googlesitekit-analytics-cta__preview-graph--title,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--title,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--title{color:#333935;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.2px;margin:0 0 auto;padding-bottom:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--icons,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--icons{align-items:center;color:#cbd0d3;display:flex;gap:4px;padding-top:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--up-arrow,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--up-arrow{height:12px}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--bar,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--bar{background-color:#cbd0d3;border-radius:5px;height:8px;width:24px}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__details,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-analytics-cta .googlesitekit-analytics-cta__details{flex:1}}.googlesitekit-plugin .googlesitekit-change-arrow{--color-up: #46732b;--color-down: #ac4220}.googlesitekit-plugin .googlesitekit-change-arrow--inverted-color{--color-up: #ac4220;--color-down: #46732b}.googlesitekit-plugin .googlesitekit-change-arrow--up{color:var(--color-up)}.googlesitekit-plugin .googlesitekit-change-arrow--down{color:var(--color-up);transform:rotate(180deg)}.googlesitekit-plugin .googlesitekit-change-arrow--down path{fill:var(--color-down)}.googlesitekit-plugin .googlesitekit-cta,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;border-radius:16px;font-size:14px;grid-column:span 3;grid-row:span 3;height:100%;letter-spacing:.25px;line-height:1.43;padding:16px;width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-cta,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:24px}}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta--error,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error,#wpadminbar .googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta--error{background-color:#fff}.googlesitekit-adminbar-modules .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-adminbar-modules #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,#wpadminbar .googlesitekit-adminbar-modules .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,.googlesitekit-adminbar-modules #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:16px}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,#wpadminbar .googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;box-sizing:border-box;height:auto;margin-top:12px;padding:12px}.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,#wpadminbar .googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta,.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{margin-top:0}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title{color:#161b18;font-size:14px;font-weight:500;margin:0 0 5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-adminbar .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title{font-weight:700;letter-spacing:.5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta .googlesitekit-cta__description,#wpadminbar .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description{color:#161b18;margin:0 0 20px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta .googlesitekit-cta__description p:first-child,#wpadminbar .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar .googlesitekit-cta__description p:first-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child{margin-top:0}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error.googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error{background-color:#ffded3}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error.googlesitekit-cta a,.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error.googlesitekit-cta .googlesitekit-cta__title,#wpadminbar .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-adminbar .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title{color:#7a1e00}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error.googlesitekit-cta .googlesitekit-cta__description,#wpadminbar .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-adminbar .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description{color:#7a1e00;word-break:break-word}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error.googlesitekit-cta .mdc-button:not(:disabled),#wpadminbar .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-adminbar .mdc-button:not(:disabled),#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled){background-color:#ac4220;color:#fff}.googlesitekit-plugin .googlesitekit-cta *:last-child,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta *:last-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta *:last-child{margin-bottom:0}.googlesitekit-wp-dashboard .googlesitekit-cta--error,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta--error,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-wp-dashboard .googlesitekit-cta--error{margin-top:12px}.googlesitekit-cta-link,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link{align-items:center;cursor:pointer;display:inline-flex;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-align:left;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link svg{fill:currentColor}.googlesitekit-cta-link:hover svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link:hover svg{fill:currentColor}.googlesitekit-page .googlesitekit-cta-link,.googlesitekit-page #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-page .googlesitekit-cta-link{color:#108080}.googlesitekit-page .googlesitekit-cta-link:hover,.googlesitekit-page #wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-page .googlesitekit-cta-link:hover{color:#108080;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-cta-link.googlesitekit-cta-link--secondary,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--secondary.googlesitekit-cta-link{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--secondary.googlesitekit-cta-link svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--secondary.googlesitekit-cta-link:hover{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--secondary.googlesitekit-cta-link:hover svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--caps,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--caps.googlesitekit-cta-link{text-transform:uppercase}.googlesitekit-cta-link.googlesitekit-cta-link--danger,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--danger.googlesitekit-cta-link{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--small,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--small.googlesitekit-cta-link{font-size:12px;letter-spacing:.2px}.googlesitekit-cta-link.googlesitekit-cta-link--standalone,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--standalone.googlesitekit-cta-link{display:flex}.googlesitekit-cta-link.googlesitekit-cta-link--inverse,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--inverse.googlesitekit-cta-link{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--inverse:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--inverse.googlesitekit-cta-link:hover{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--disabled,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--disabled.googlesitekit-cta-link{color:#b8bdb9;cursor:default}.googlesitekit-cta-link.googlesitekit-cta-link--danger:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--danger.googlesitekit-cta-link:hover{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--disabled:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--disabled.googlesitekit-cta-link:hover{color:#b8bdb9;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link.googlesitekit-cta-link--no-flex,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar .googlesitekit-cta-link--no-flex.googlesitekit-cta-link{display:inline}button.googlesitekit-cta-link,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar button.googlesitekit-cta-link{color:#3c7251}button.googlesitekit-cta-link svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar button.googlesitekit-cta-link svg{fill:currentColor}button.googlesitekit-cta-link:hover,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar button.googlesitekit-cta-link:hover{color:#2e5f41}button.googlesitekit-cta-link:hover svg,#wpadminbar .googlesitekit-plugin .googlesitekit-adminbar button.googlesitekit-cta-link:hover svg{fill:currentColor}button.googlesitekit-cta-link--link-button{padding:2px 10px}button.googlesitekit-cta-link--link-button:focus{background-color:rgba(60,114,81,.08);outline:none}button.googlesitekit-cta-link--link-button.googlesitekit-cta-link--secondary:focus{background-color:rgba(16,128,128,.08)}.googlesitekit-data-block,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block{--color-up: #46732b;--color-down: #ac4220;position:relative;text-align:left}.post-php .googlesitekit-data-block,.post-php #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block,#wpadminbar .googlesitekit-adminbar .post-php .googlesitekit-data-block{min-width:150px}.googlesitekit-wp-dashboard .googlesitekit-data-block,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block,#wpadminbar .googlesitekit-adminbar .googlesitekit-wp-dashboard .googlesitekit-data-block{padding-top:12px}.googlesitekit-data-block .googlesitekit-data-block__title,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__title{align-items:flex-start;color:#6c726e;display:flex;flex:1;flex-direction:column;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;justify-content:flex-start;line-height:1.14;margin:0 0 12px;row-gap:8px}.googlesitekit-data-block .googlesitekit-data-block__title .googlesitekit-new-badge,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title .googlesitekit-new-badge,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__title .googlesitekit-new-badge{margin-left:0}.googlesitekit-data-block.googlesitekit-data-block--button .googlesitekit-data-block__title,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block--button.googlesitekit-data-block .googlesitekit-data-block__title,.googlesitekit-data-block.googlesitekit-data-block--button #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__title{align-items:center}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title{font-size:16px;font-weight:700;letter-spacing:.5px;margin-bottom:5px}#dashboard-widgets .googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__title{font-size:12px;letter-spacing:.2px}.googlesitekit-data-block .googlesitekit-data-block__title-inner,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title-inner{align-items:center;display:flex;flex:1}.googlesitekit-data-block .googlesitekit-data-block__title-datapoint-wrapper,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title-datapoint-wrapper{display:flex;flex:1;flex-flow:column}.googlesitekit-data-block .googlesitekit-data-block__datapoint,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__datapoint{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:46px;font-weight:500;line-height:1.13;margin:0}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint{display:inline-block;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:38px;line-height:1.158;margin-right:5px}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__datapoint,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint,#wpadminbar .googlesitekit-adminbar .googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__datapoint,.googlesitekit-wp-dashboard .googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__datapoint{font-size:32px}.googlesitekit-data-block .googlesitekit-data-block__change,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__change{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1;margin-top:16px;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change{display:inline-block;font-size:16px;letter-spacing:.5px;margin-top:0}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__change,.googlesitekit-wp-dashboard #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change,#wpadminbar .googlesitekit-adminbar .googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__change,.googlesitekit-wp-dashboard .googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__change{margin-top:10px}.googlesitekit-data-block .googlesitekit-data-block__change--no-change,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change--no-change{visibility:hidden}.googlesitekit-data-block .googlesitekit-data-block__sparkline,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__sparkline,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__sparkline{margin-top:8px;max-width:150px}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__sparkline,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__sparkline{display:none}.googlesitekit-data-block .googlesitekit-data-block__arrow,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__arrow,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__arrow{display:inline-block;line-height:1;margin-right:2px;vertical-align:baseline}.googlesitekit-data-block .googlesitekit-data-block__arrow--reverse,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__arrow--reverse{transform:rotate(180deg)}#wpadminbar .googlesitekit-data-block .googlesitekit-data-block__arrow .svg{height:9px;width:9px}.googlesitekit-data-block .googlesitekit-data-block__suffix,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix{margin-left:4px}.googlesitekit-data-block .googlesitekit-data-block__value,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-data-block #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__value,.googlesitekit-data-block .googlesitekit-data-block__suffix,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix{color:#6c726e;display:inline-block;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix{font-size:16px;font-weight:400;letter-spacing:.5px}.googlesitekit-data-block .googlesitekit-data-block__value--up,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value--up,.googlesitekit-data-block .googlesitekit-data-block__suffix--up,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix--up{color:var(--color-up)}.googlesitekit-data-block .googlesitekit-data-block__value--down,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value--down,.googlesitekit-data-block .googlesitekit-data-block__suffix--down,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix--down{color:var(--color-down)}.googlesitekit-data-block .googlesitekit-data-block__source,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__source{font-size:12px;letter-spacing:.2px;margin-top:8px}@media(min-width: 960px){.googlesitekit-data-block .googlesitekit-data-block__source,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__source{margin-top:12px}}.googlesitekit-data-block--button .googlesitekit-data-block__sparkline,.googlesitekit-data-block--button #wpadminbar .googlesitekit-adminbar .googlesitekit-data-block__sparkline,#wpadminbar .googlesitekit-adminbar .googlesitekit-data-block--button .googlesitekit-data-block__sparkline{margin:8px auto 0 auto}.googlesitekit-data-block--button{cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:flex-end;padding-bottom:16px;padding-top:20px;text-align:center;transition:background-color .2s ease-in-out}@media(min-width: 960px){.googlesitekit-data-block--button{padding-bottom:24px;padding-top:28px}}.googlesitekit-data-block--button::before{content:"";height:4px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.googlesitekit-data-block--selected::before{opacity:1}.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(99,128,184,.1)}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-1::before{background-color:#6380b8}.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(75,187,187,.1)}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-2::before{background-color:#4bbbbb}.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(92,146,113,.1)}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-3::before{background-color:#5c9271}.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(110,72,171,.1)}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-4::before{background-color:#6e48ab}.googlesitekit-plugin .googlesitekit-data-block__loading{align-items:center;display:flex;flex-direction:row}.googlesitekit-plugin .googlesitekit-data-block--is-gathering-data{cursor:auto}.googlesitekit-error-text{color:#ac4220;font-weight:500}.googlesitekit-error-retry-text{color:#ac4220;margin-left:1rem}.googlesitekit-report-error-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.googlesitekit-plugin .googlesitekit-gathering-data-notice{text-transform:lowercase}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{font-size:12px;letter-spacing:.2px;line-height:1.33;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default{position:relative;text-align:inherit}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{font-size:18px;line-height:1.33;max-width:80px;padding:0;text-align:center}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-large span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}#wpadminbar .googlesitekit-plugin .googlesitekit-gathering-data-notice span{color:#999f9b;font-size:12px;letter-spacing:.2px;line-height:1.33;text-transform:lowercase}.googlesitekit-plugin .googlesitekit-icon-wrapper{align-items:center;display:inline-flex}.googlesitekit-preview-block{display:flex;flex-direction:column}.googlesitekit-preview-block--padding{padding:16px}.googlesitekit-preview-block--padding+.googlesitekit-preview-block--padding{padding-top:0}@media(min-width: 960px){.googlesitekit-preview-block--padding{padding:24px}}.googlesitekit-preview-block__wrapper{animation:googlesitekit-pulse 1s infinite ease-in-out;animation-direction:alternate;flex:1 1 auto}@media(prefers-reduced-motion: reduce){.googlesitekit-preview-block__wrapper{animation:none;background-image:linear-gradient(150deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15))}}.googlesitekit-preview-block__wrapper--circle{border-radius:50%}@keyframes googlesitekit-pulse{0%{background-color:#ebeef0}100%{background-color:#cbd0d3}}.googlesitekit-noscript{background-color:#fff;margin:5px 20px 5px 0}@media(min-width: 600px){.googlesitekit-noscript{padding-left:10px;padding-right:10px}}.googlesitekit-noscript__title{margin:0}.no-js:not([amp-version]) [id^=js-googlesitekit-]{display:none}.googlesitekit-plugin .googlesitekit-font-weight-bold{font-weight:700 !important} dist/assets/css/googlesitekit-admin-css-436096755512e44a2180.min.css 0000604 00002265301 14717744000 0020066 0 ustar 00 .mdc-button{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:2.25rem;font-weight:500;letter-spacing:.0892857143em;-webkit-text-decoration:none;text-decoration:none;text-transform:uppercase;padding:0 8px 0 8px;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;height:36px;border:none;outline:none;line-height:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:none;overflow:hidden;vertical-align:middle;border-radius:4px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{background-color:transparent;color:rgba(0,0,0,.37);cursor:default;pointer-events:none}.mdc-button.mdc-button--dense{border-radius:4px}.mdc-button:not(:disabled){background-color:transparent}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button:not(:disabled){color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-button--raised,.mdc-button--unelevated{padding:0 16px 0 16px}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.37)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-button--outlined{border-style:solid;padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:disabled{border-color:rgba(0,0,0,.37)}.mdc-button--outlined:not(:disabled){border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-button--dense{height:32px;font-size:.8125rem}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var: 1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-button{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-button::before,.mdc-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-button::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-button.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-button.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-button.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button::before,.mdc-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-button::before,.mdc-button::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button::before,.mdc-button::after{background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button:hover::before{opacity:.04}.mdc-button:not(.mdc-ripple-upgraded):focus::before,.mdc-button.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-button--raised::before,.mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:#fff}@supports not (-ms-ime-align: auto){.mdc-button--raised::before,.mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:var(--mdc-theme-on-primary, #fff)}}.mdc-button--raised:hover::before,.mdc-button--unelevated:hover::before{opacity:.08}.mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.mdc-button--raised.mdc-ripple-upgraded--background-focused::before,.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,.mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.mdc-button--raised:not(.mdc-ripple-upgraded)::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button--raised:not(.mdc-ripple-upgraded):active::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.mdc-button--raised.mdc-ripple-upgraded,.mdc-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;padding:11px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:rgba(0,0,0,.54);background-color:transparent}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:#446199;border-color:var(--mdc-theme-secondary, #446199);background-color:#446199;background-color:var(--mdc-theme-secondary, #446199)}@keyframes mdc-checkbox-fade-in-background-0{0%{border-color:rgba(0,0,0,.54);background-color:transparent}50%{border-color:#446199;border-color:var(--mdc-theme-secondary, #446199);background-color:#446199;background-color:var(--mdc-theme-secondary, #446199)}}@keyframes mdc-checkbox-fade-out-background-0{0%,80%{border-color:#446199;border-color:var(--mdc-theme-secondary, #446199);background-color:#446199;background-color:var(--mdc-theme-secondary, #446199)}100%{border-color:rgba(0,0,0,.54);background-color:transparent}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-0}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-0}.mdc-checkbox__checkmark{color:#fff}.mdc-checkbox__mixedmark{border-color:#fff}.mdc-checkbox__background::before{background-color:#446199}@supports not (-ms-ime-align: auto){.mdc-checkbox__background::before{background-color:var(--mdc-theme-secondary, #446199)}}.mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:rgba(0,0,0,.26)}.mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0,0,0,.26)}@media screen and (-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{left:11px;right:initial;display:inline-flex;position:absolute;top:11px;bottom:0;align-items:center;justify-content:center;box-sizing:border-box;width:45%;height:45%;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox[dir=rtl] .mdc-checkbox__background,[dir=rtl] .mdc-checkbox .mdc-checkbox__background{left:initial;right:11px}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none !important}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__background::before{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";will-change:opacity,transform;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:focus~.mdc-checkbox__background::before{transform:scale(2.75, 2.75);opacity:.12;transition:opacity 80ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 80ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-checkbox::before,.mdc-checkbox::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-checkbox::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-checkbox.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-checkbox.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-checkbox.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox::before,.mdc-checkbox::after{background-color:#446199}@supports not (-ms-ime-align: auto){.mdc-checkbox::before,.mdc-checkbox::after{background-color:var(--mdc-theme-secondary, #446199)}}.mdc-checkbox:hover::before{opacity:.04}.mdc-checkbox:not(.mdc-ripple-upgraded):focus::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-checkbox:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-checkbox::before,.mdc-checkbox::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-checkbox.mdc-ripple-upgraded::before,.mdc-checkbox.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-checkbox.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-upgraded--background-focused .mdc-checkbox__background::before{content:none}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100vh - 32px)}.mdc-dialog .mdc-dialog__surface{border-radius:4px}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;justify-content:space-around;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12);display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%}.mdc-dialog[dir=rtl] .mdc-dialog__surface,[dir=rtl] .mdc-dialog .mdc-dialog__surface{text-align:right}.mdc-dialog__title{display:block;margin-top:0;line-height:normal;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1.25rem;line-height:2rem;font-weight:500;letter-spacing:.0125em;text-decoration:inherit;text-transform:inherit;display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0;padding:0 24px 9px;border-bottom:1px solid transparent}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog[dir=rtl] .mdc-dialog__title,[dir=rtl] .mdc-dialog .mdc-dialog__title{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{padding-bottom:15px}.mdc-dialog__content{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:.03125em;text-decoration:inherit;text-transform:inherit;flex-grow:1;box-sizing:border-box;margin:0;padding:20px 24px;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-dialog[dir=rtl] .mdc-dialog__button,[dir=rtl] .mdc-dialog .mdc-dialog__button{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:scale(1)}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:scale(1);opacity:1}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-form-field{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:1.25rem;font-weight:400;letter-spacing:.0178571429em;text-decoration:inherit;text-transform:inherit;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{order:0;margin-right:auto;padding-left:4px}[dir=rtl] .mdc-form-field>label,.mdc-form-field[dir=rtl]>label{margin-left:auto;padding-right:4px}.mdc-form-field--align-end>label{order:-1;margin-left:auto;padding-right:4px}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end[dir=rtl]>label{margin-right:auto;padding-left:4px}:root{--mdc-layout-grid-margin-desktop: 24px;--mdc-layout-grid-gutter-desktop: 24px;--mdc-layout-grid-column-width-desktop: 72px;--mdc-layout-grid-margin-tablet: 16px;--mdc-layout-grid-gutter-tablet: 16px;--mdc-layout-grid-column-width-tablet: 72px;--mdc-layout-grid-margin-phone: 16px;--mdc-layout-grid-gutter-phone: 16px;--mdc-layout-grid-column-width-phone: 72px}@media(min-width: 961px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:24px;padding:var(--mdc-layout-grid-margin-desktop, 24px)}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-tablet, 16px)}}@media(max-width: 600px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-phone, 16px)}}@media(min-width: 961px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:24px;grid-gap:var(--mdc-layout-grid-gutter-desktop, 24px);grid-template-columns:repeat(12, minmax(0, 1fr))}}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-tablet, 16px);grid-template-columns:repeat(8, minmax(0, 1fr))}}}@media(max-width: 600px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-phone, 16px);grid-template-columns:repeat(4, minmax(0, 1fr))}}}@media(min-width: 961px){.mdc-layout-grid__cell{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));box-sizing:border-box;margin:12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:calc(8.3333333333% - 24px);width:calc(8.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:calc(16.6666666667% - 24px);width:calc(16.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop{width:calc(25% - 24px);width:calc(25% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:calc(41.6666666667% - 24px);width:calc(41.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop{width:calc(50% - 24px);width:calc(50% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop{width:calc(58.3333333333% - 24px);width:calc(58.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:calc(66.6666666667% - 24px);width:calc(66.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:calc(75% - 24px);width:calc(75% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:auto;grid-column-end:span 9}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:calc(83.3333333333% - 24px);width:calc(83.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:auto;grid-column-end:span 10}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:calc(91.6666666667% - 24px);width:calc(91.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:auto;grid-column-end:span 11}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:calc(100% - 24px);width:calc(100% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:auto;grid-column-end:span 12}}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid__cell{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:calc(12.5% - 16px);width:calc(12.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:calc(37.5% - 16px);width:calc(37.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:calc(62.5% - 16px);width:calc(62.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:calc(87.5% - 16px);width:calc(87.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet{width:auto;grid-column-end:span 8}}}@media(max-width: 600px){.mdc-layout-grid__cell{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:auto;grid-column-end:span 4}}}.mdc-layout-grid__cell--order-1{order:1}.mdc-layout-grid__cell--order-2{order:2}.mdc-layout-grid__cell--order-3{order:3}.mdc-layout-grid__cell--order-4{order:4}.mdc-layout-grid__cell--order-5{order:5}.mdc-layout-grid__cell--order-6{order:6}.mdc-layout-grid__cell--order-7{order:7}.mdc-layout-grid__cell--order-8{order:8}.mdc-layout-grid__cell--order-9{order:9}.mdc-layout-grid__cell--order-10{order:10}.mdc-layout-grid__cell--order-11{order:11}.mdc-layout-grid__cell--order-12{order:12}.mdc-layout-grid__cell--align-top{align-self:flex-start}@supports(display: grid){.mdc-layout-grid__cell--align-top{align-self:start}}.mdc-layout-grid__cell--align-middle{align-self:center}.mdc-layout-grid__cell--align-bottom{align-self:flex-end}@supports(display: grid){.mdc-layout-grid__cell--align-bottom{align-self:end}}@media(min-width: 961px){.mdc-layout-grid--fixed-column-width{width:1176px;width:calc( var(--mdc-layout-grid-column-width-desktop, 72px) * 12 + var(--mdc-layout-grid-gutter-desktop, 24px) * 11 + var(--mdc-layout-grid-margin-desktop, 24px) * 2 )}}@media(min-width: 601px)and (max-width: 960px){.mdc-layout-grid--fixed-column-width{width:720px;width:calc( var(--mdc-layout-grid-column-width-tablet, 72px) * 8 + var(--mdc-layout-grid-gutter-tablet, 16px) * 7 + var(--mdc-layout-grid-margin-tablet, 16px) * 2 )}}@media(max-width: 600px){.mdc-layout-grid--fixed-column-width{width:368px;width:calc( var(--mdc-layout-grid-column-width-phone, 72px) * 4 + var(--mdc-layout-grid-gutter-phone, 16px) * 3 + var(--mdc-layout-grid-margin-phone, 16px) * 2 )}}.mdc-layout-grid--align-left{margin-right:auto;margin-left:0}.mdc-layout-grid--align-right{margin-right:0;margin-left:auto}@keyframes primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes buffering{to{transform:translateX(-10px)}}@keyframes primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes buffering-reverse{to{transform:translateX(10px)}}.mdc-linear-progress{position:relative;width:100%;height:4px;transform:translateZ(0);transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);overflow:hidden}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;height:100%;animation:none}.mdc-linear-progress__buffering-dots{position:absolute;width:100%;height:100%;animation:buffering 250ms infinite linear;background-repeat:repeat-x;background-size:10px 4px}.mdc-linear-progress__buffer{position:absolute;width:100%;height:100%;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{visibility:hidden}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%;animation:primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;animation:secondary-indeterminate-translate 2s infinite linear;visibility:visible}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:secondary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--reversed .mdc-linear-progress__bar,.mdc-linear-progress--reversed .mdc-linear-progress__buffer{right:0;transform-origin:center right}.mdc-linear-progress--reversed .mdc-linear-progress__primary-bar{animation-name:primary-indeterminate-translate-reverse}.mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar{animation-name:secondary-indeterminate-translate-reverse}.mdc-linear-progress--reversed .mdc-linear-progress__buffering-dots{animation:buffering-reverse 250ms infinite linear}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress__bar-inner{background-color:#3c7251;background-color:var(--mdc-theme-primary, #3c7251)}.mdc-linear-progress__buffering-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E")}.mdc-linear-progress__buffer{background-color:#e6e6e6}.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress--indeterminate.mdc-linear-progress--reversed .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-list{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-list:focus{outline:none}.mdc-list-item__secondary-text{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-list-item__graphic{background-color:transparent}.mdc-list-item__graphic{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item__meta{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-group__subheader{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;height:48px;padding:0 16px;overflow:hidden}.mdc-list-item:focus,.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item:focus{outline:none}.mdc-list-item--selected,.mdc-list-item--activated{color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-list-item--selected .mdc-list-item__graphic,.mdc-list-item--activated .mdc-list-item__graphic{color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-list-item--disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item__graphic{margin-left:0;margin-right:32px;width:24px;height:24px;flex-shrink:0;align-items:center;justify-content:center;fill:currentColor}.mdc-list-item[dir=rtl] .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item .mdc-list-item__graphic,[dir=rtl] .mdc-list-item .mdc-list-item__graphic,[dir=rtl] .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .googlesitekit-view-only-menu__list-item .mdc-list-item__graphic{margin-left:32px;margin-right:0}.mdc-list .mdc-list-item__graphic{display:inline-flex}.mdc-list-item__meta{margin-left:auto;margin-right:0}.mdc-list-item__meta:not(.material-icons){font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.75rem;line-height:1.25rem;font-weight:400;letter-spacing:.0333333333em;text-decoration:inherit;text-transform:inherit}.mdc-list-item[dir=rtl] .mdc-list-item__meta,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item .mdc-list-item__meta,[dir=rtl] .mdc-list-item .mdc-list-item__meta,[dir=rtl] .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .mdc-list-item__meta,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .googlesitekit-view-only-menu__list-item .mdc-list-item__meta{margin-left:0;margin-right:auto}.mdc-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item__text[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list--dense .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list--dense .mdc-list-item__primary-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list--dense .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:1.25rem;font-weight:400;letter-spacing:.0178571429em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list--dense .mdc-list-item__secondary-text{display:block;margin-top:0;line-height:normal;font-size:inherit}.mdc-list--dense .mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list--dense .mdc-list-item,.mdc-list--dense .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list--dense .googlesitekit-view-only-menu__list-item{height:40px}.mdc-list--dense .mdc-list-item__graphic{margin-left:0;margin-right:36px;width:20px;height:20px}.mdc-list-item[dir=rtl] .mdc-list--dense .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item .mdc-list--dense .mdc-list-item__graphic,[dir=rtl] .mdc-list-item .mdc-list--dense .mdc-list-item__graphic,[dir=rtl] .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .mdc-list--dense .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .googlesitekit-view-only-menu__list-item .mdc-list--dense .mdc-list-item__graphic{margin-left:36px;margin-right:0}.mdc-list--avatar-list .mdc-list-item,.mdc-list--avatar-list .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list--avatar-list .googlesitekit-view-only-menu__list-item{height:56px}.mdc-list--avatar-list .mdc-list-item__graphic{margin-left:0;margin-right:16px;width:40px;height:40px;border-radius:50%}.mdc-list-item[dir=rtl] .mdc-list--avatar-list .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item .mdc-list--avatar-list .mdc-list-item__graphic,[dir=rtl] .mdc-list-item .mdc-list--avatar-list .mdc-list-item__graphic,[dir=rtl] .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .mdc-list--avatar-list .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .googlesitekit-view-only-menu__list-item .mdc-list--avatar-list .mdc-list-item__graphic{margin-left:16px;margin-right:0}.mdc-list--two-line .mdc-list-item__text{align-self:flex-start}.mdc-list--two-line .mdc-list-item,.mdc-list--two-line .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list--two-line .googlesitekit-view-only-menu__list-item{height:72px}.mdc-list--two-line.mdc-list--dense .mdc-list-item,.mdc-list--two-line.mdc-list--dense .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list--two-line.mdc-list--dense .googlesitekit-view-only-menu__list-item,.mdc-list--avatar-list.mdc-list--dense .mdc-list-item,.mdc-list--avatar-list.mdc-list--dense .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list--avatar-list.mdc-list--dense .googlesitekit-view-only-menu__list-item{height:60px}.mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic{margin-left:0;margin-right:20px;width:36px;height:36px}.mdc-list-item[dir=rtl] .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic,[dir=rtl] .mdc-list-item .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic,[dir=rtl] .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .googlesitekit-view-only-menu__list-item .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic{margin-left:20px;margin-right:0}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled){cursor:pointer}a.mdc-list-item,.googlesitekit-plugin .googlesitekit-view-only-menu a.googlesitekit-view-only-menu__list-item{color:inherit;-webkit-text-decoration:none;text-decoration:none}.mdc-list-divider{height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid}.mdc-list-divider{border-bottom-color:rgba(0,0,0,.12)}.mdc-list-divider--padded{margin:0 16px}.mdc-list-divider--inset{margin-left:72px;margin-right:0;width:calc(100% - 72px)}.mdc-list-group[dir=rtl] .mdc-list-divider--inset,[dir=rtl] .mdc-list-group .mdc-list-divider--inset{margin-left:0;margin-right:72px}.mdc-list-divider--inset.mdc-list-divider--padded{width:calc(100% - 72px - 16px)}.mdc-list-group .mdc-list{padding:0}.mdc-list-group__subheader{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;margin:.75rem 16px}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled){--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--unbounded::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-activation::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-deactivation::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled)::after{background-color:#000}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item:hover::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled):hover::before{opacity:.04}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled):not(.mdc-ripple-upgraded):focus::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled):not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled):not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded,.googlesitekit-plugin .googlesitekit-view-only-menu :not(.mdc-list--non-interactive)>.googlesitekit-view-only-menu__list-item:not(.mdc-list-item--disabled).mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::before{opacity:.12}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::after{background-color:var(--mdc-theme-primary, #3c7251)}}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated:hover::before{opacity:.16}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):focus::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected::before{opacity:.08}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected::after{background-color:var(--mdc-theme-primary, #3c7251)}}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected:hover::before{opacity:.12}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):focus::before,:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.2}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.2}:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.2}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::before,:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::before,:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::before,:not(.mdc-list--non-interactive)>.mdc-list-item--disabled::after{background-color:#000}:not(.mdc-list--non-interactive)>.mdc-list-item--disabled:not(.mdc-ripple-upgraded):focus::before,:not(.mdc-list--non-interactive)>.mdc-list-item--disabled.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-menu{min-width:112px}.mdc-menu .mdc-list-item__meta{color:rgba(0,0,0,.87)}.mdc-menu .mdc-list-item__graphic{color:rgba(0,0,0,.87)}.mdc-menu .mdc-list{color:rgba(0,0,0,.87)}.mdc-menu .mdc-list-divider{margin:8px 0}.mdc-menu .mdc-list-item,.mdc-menu .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu .googlesitekit-view-only-menu__list-item{-webkit-user-select:none;user-select:none}.mdc-menu .mdc-list-item--disabled{cursor:auto}.mdc-menu a.mdc-list-item .mdc-list-item__text,.mdc-menu .googlesitekit-plugin .googlesitekit-view-only-menu a.googlesitekit-view-only-menu__list-item .mdc-list-item__text,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu a.googlesitekit-view-only-menu__list-item .mdc-list-item__text,.mdc-menu a.mdc-list-item .mdc-list-item__graphic,.mdc-menu .googlesitekit-plugin .googlesitekit-view-only-menu a.googlesitekit-view-only-menu__list-item .mdc-list-item__graphic,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu a.googlesitekit-view-only-menu__list-item .mdc-list-item__graphic{pointer-events:none}.mdc-menu__selection-group{padding:0;fill:currentColor}.mdc-menu__selection-group .mdc-list-item,.mdc-menu__selection-group .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu__selection-group .googlesitekit-view-only-menu__list-item{padding-left:56px;padding-right:16px}[dir=rtl] .mdc-menu__selection-group .mdc-list-item,[dir=rtl] .mdc-menu__selection-group .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl] .mdc-menu__selection-group .googlesitekit-view-only-menu__list-item,.mdc-menu__selection-group .mdc-list-item[dir=rtl],.mdc-menu__selection-group .googlesitekit-plugin .googlesitekit-view-only-menu [dir=rtl].googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu__selection-group [dir=rtl].googlesitekit-view-only-menu__list-item{padding-left:16px;padding-right:56px}.mdc-menu__selection-group .mdc-menu__selection-group-icon{left:16px;right:initial;display:none;position:absolute}[dir=rtl] .mdc-menu__selection-group .mdc-menu__selection-group-icon,.mdc-menu__selection-group .mdc-menu__selection-group-icon[dir=rtl]{left:initial;right:16px}.mdc-menu-item--selected .mdc-menu__selection-group-icon{display:inline}.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:border-box;width:40px;height:40px;padding:10px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0,0,0,.54)}.mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#446199;border-color:var(--mdc-theme-secondary, #446199)}.mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#446199;border-color:var(--mdc-theme-secondary, #446199)}.mdc-radio .mdc-radio__background::before{background-color:#446199}@supports not (-ms-ime-align: auto){.mdc-radio .mdc-radio__background::before{background-color:var(--mdc-theme-secondary, #446199)}}.mdc-radio__background{display:inline-block;position:absolute;left:10px;box-sizing:border-box;width:50%;height:50%}.mdc-radio__background::before{position:absolute;top:0;left:0;width:100%;height:100%;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0,0,0,.26)}.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle{border-color:rgba(0,0,0,.26)}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(2, 2);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-radio::before,.mdc-radio::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-radio::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-radio.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-radio.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-radio.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-radio.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio::before,.mdc-radio::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-radio.mdc-ripple-upgraded::before,.mdc-radio.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio::before,.mdc-radio::after{background-color:#446199}@supports not (-ms-ime-align: auto){.mdc-radio::before,.mdc-radio::after{background-color:var(--mdc-theme-secondary, #446199)}}.mdc-radio:hover::before{opacity:.04}.mdc-radio:not(.mdc-ripple-upgraded):focus::before,.mdc-radio.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-radio:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-radio:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-radio.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__background::before{content:none}.mdc-card{border-radius:4px;background-color:#fff;background-color:var(--mdc-theme-surface, #fff);box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);display:flex;flex-direction:column;box-sizing:border-box}.mdc-card--outlined{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12);border-width:1px;border-style:solid;border-color:#e0e0e0}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0,0,0,.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0,0,0,.6)}.mdc-card__primary-action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-card__primary-action::before,.mdc-card__primary-action::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-card__primary-action::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-card__primary-action.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-card__primary-action.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action::before,.mdc-card__primary-action::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-card__primary-action.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-card__primary-action::before,.mdc-card__primary-action::after{background-color:#000}.mdc-card__primary-action:hover::before{opacity:.04}.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus::before,.mdc-card__primary-action.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-card__primary-action:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-card__primary-action:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-card__primary-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-chip__icon--leading{color:rgba(0,0,0,.54)}.mdc-chip__icon--trailing{color:rgba(0,0,0,.54)}.mdc-chip__icon--trailing:hover{color:rgba(0,0,0,.62)}.mdc-chip__icon--trailing:focus{color:rgba(0,0,0,.87)}.mdc-chip__icon.mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){width:20px;height:20px;font-size:20px}.mdc-chip__icon.mdc-chip__icon--trailing{width:18px;height:18px;font-size:18px}.mdc-chip__icon--trailing{margin:0 -4px 0 4px}.mdc-chip{border-radius:16px;background-color:#e0e0e0;color:rgba(0,0,0,.87);font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:1.25rem;font-weight:400;letter-spacing:.0178571429em;text-decoration:inherit;text-transform:inherit;height:32px;display:inline-flex;position:relative;align-items:center;box-sizing:border-box;padding:7px 12px;outline:none;cursor:pointer;overflow:hidden}.mdc-chip:hover{color:rgba(0,0,0,.87)}.mdc-chip.mdc-chip--selected .mdc-chip__checkmark,.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){margin-left:-4px;margin-right:4px;margin-top:-4px;margin-bottom:-4px}[dir=rtl] .mdc-chip.mdc-chip--selected .mdc-chip__checkmark,.mdc-chip.mdc-chip--selected .mdc-chip__checkmark[dir=rtl],[dir=rtl] .mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden),.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden)[dir=rtl]{margin-left:4px;margin-right:-4px}.mdc-chip:hover{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-chip--exit{transition:opacity 75ms cubic-bezier(0.4, 0, 0.2, 1),width 150ms cubic-bezier(0, 0, 0.2, 1),padding 100ms linear,margin 100ms linear;opacity:0}.mdc-chip__text{white-space:nowrap}.mdc-chip__icon{border-radius:50%;outline:none;vertical-align:middle}.mdc-chip__checkmark{height:20px}.mdc-chip__checkmark-path{transition:stroke-dashoffset 150ms 50ms cubic-bezier(0.4, 0, 0.6, 1);stroke-width:2px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-chip--selected .mdc-chip__checkmark-path{stroke-dashoffset:0}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected{color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__icon--leading{color:rgba(60,114,81,.54)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover{color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-chip-set--choice .mdc-chip .mdc-chip__checkmark-path{stroke:#3c7251;stroke:var(--mdc-theme-primary, #3c7251)}.mdc-chip-set--choice .mdc-chip--selected{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-chip__checkmark-svg{width:0;height:20px;transition:width 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-chip--selected .mdc-chip__checkmark-svg{width:20px}.mdc-chip-set--filter .mdc-chip__icon--leading{transition:opacity 75ms linear;transition-delay:-50ms;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark{transition:opacity 75ms linear;transition-delay:80ms;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark .mdc-chip__checkmark-svg{transition:width 0ms}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading{opacity:0}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading+.mdc-chip__checkmark{width:0;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading{width:0;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading+.mdc-chip__checkmark{width:20px}.mdc-chip{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-chip::before,.mdc-chip::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-chip::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-chip.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-chip.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-chip.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-chip.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip::before,.mdc-chip::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-chip.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-chip::before,.mdc-chip::after{background-color:rgba(0,0,0,.87)}.mdc-chip:hover::before{opacity:.04}.mdc-chip:not(.mdc-ripple-upgraded):focus::before,.mdc-chip.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-chip:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-chip:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-chip.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected::before{opacity:.08}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-chip-set--choice .mdc-chip.mdc-chip--selected::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected::after{background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover::before{opacity:.12}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):focus::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.2}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.2}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.2}@keyframes mdc-chip-entry{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-chip-set{padding:4px;display:flex;flex-wrap:wrap;box-sizing:border-box}.mdc-chip-set .mdc-chip{margin:4px}.mdc-chip-set--input .mdc-chip{animation:mdc-chip-entry 100ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100vh - 32px)}.mdc-dialog .mdc-dialog__surface{border-radius:4px}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;justify-content:space-around;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12);display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%}.mdc-dialog[dir=rtl] .mdc-dialog__surface,[dir=rtl] .mdc-dialog .mdc-dialog__surface{text-align:right}.mdc-dialog__title{display:block;margin-top:0;line-height:normal;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1.25rem;line-height:2rem;font-weight:500;letter-spacing:.0125em;text-decoration:inherit;text-transform:inherit;display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0;padding:0 24px 9px;border-bottom:1px solid transparent}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog[dir=rtl] .mdc-dialog__title,[dir=rtl] .mdc-dialog .mdc-dialog__title{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{padding-bottom:15px}.mdc-dialog__content{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:.03125em;text-decoration:inherit;text-transform:inherit;flex-grow:1;box-sizing:border-box;margin:0;padding:20px 24px;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-dialog[dir=rtl] .mdc-dialog__button,[dir=rtl] .mdc-dialog .mdc-dialog__button{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:scale(1)}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:scale(1);opacity:1}.mdc-dialog-scroll-lock{overflow:hidden}@keyframes mdc-select-float-native-control{0%{transform:translateY(8px);opacity:0}100%{transform:translateY(0);opacity:1}}.mdc-line-ripple{position:absolute;bottom:0;left:0;width:100%;height:2px;transform:scaleX(0);transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;z-index:2}.mdc-line-ripple--active{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating{opacity:0}.mdc-notched-outline{display:flex;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;transition:border 150ms cubic-bezier(0.4, 0, 0.2, 1);border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / .75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{padding:0}.mdc-floating-label{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;position:absolute;left:0;transform-origin:left top;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1);line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--float-above{transform:translateY(-50%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-50%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-50%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-50%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-50%) scale(0.75)}}.mdc-select--with-leading-icon:not(.mdc-select--disabled) .mdc-select__icon{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select--with-leading-icon .mdc-select__icon{display:inline-block;position:absolute;bottom:16px;box-sizing:border-box;width:24px;height:24px;border:none;background-color:transparent;fill:currentColor;opacity:.54;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none}.mdc-select__icon:not([tabindex]),.mdc-select__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-select-helper-text{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.75rem;line-height:1.25rem;font-weight:400;letter-spacing:.0333333333em;text-decoration:inherit;text-transform:inherit;display:block;margin-top:0;line-height:normal;margin:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;will-change:opacity}.mdc-select-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-select-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-select{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-flex;position:relative;box-sizing:border-box;height:56px;overflow:hidden;will-change:opacity,transform,color}.mdc-select:not(.mdc-select--disabled){background-color:#f5f5f5}.mdc-select::before,.mdc-select::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-select::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-select.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-select.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-select.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-select.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select::before,.mdc-select::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-select.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-select::before,.mdc-select::after{background-color:rgba(0,0,0,.87)}.mdc-select:hover::before{opacity:.04}.mdc-select:not(.mdc-ripple-upgraded):focus::before,.mdc-select.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control,.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0,0,0,.87)}.mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:rgba(0,0,0,.6)}.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control,.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{border-bottom-color:rgba(0,0,0,.42)}.mdc-select:not(.mdc-select--disabled)+.mdc-select-helper-text{color:rgba(0,0,0,.6)}.mdc-select,.mdc-select__native-control{border-radius:4px 4px 0 0}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#3c7251;background-color:var(--mdc-theme-primary, #3c7251)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:rgba(60,114,81,.87)}.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control:hover{border-bottom-color:rgba(0,0,0,.87)}.mdc-select .mdc-floating-label--float-above{transform:translateY(-70%) scale(0.75)}.mdc-select .mdc-floating-label{left:16px;right:initial;top:21px;pointer-events:none}[dir=rtl] .mdc-select .mdc-floating-label,.mdc-select .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-select.mdc-select--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-select.mdc-select--outlined .mdc-floating-label{left:4px;right:initial;top:17px}[dir=rtl] .mdc-select.mdc-select--outlined .mdc-floating-label,.mdc-select.mdc-select--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{left:36px;right:initial}[dir=rtl] .mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above,.mdc-select.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{left:initial;right:36px}.mdc-select__dropdown-icon{background:url("data:image/svg+xml,%3Csvg%20width%3D%2210px%22%20height%3D%225px%22%20viewBox%3D%227%2010%2010%205%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cpolygon%20id%3D%22Shape%22%20stroke%3D%22none%22%20fill%3D%22%23000%22%20fill-rule%3D%22evenodd%22%20opacity%3D%220.54%22%20points%3D%227%2010%2012%2015%2017%2010%22%3E%3C%2Fpolygon%3E%0A%3C%2Fsvg%3E") no-repeat center;left:auto;right:8px;position:absolute;bottom:16px;width:24px;height:24px;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}[dir=rtl] .mdc-select__dropdown-icon,.mdc-select__dropdown-icon[dir=rtl]{left:8px;right:auto}.mdc-select--focused .mdc-select__dropdown-icon{background:url("data:image/svg+xml,%3Csvg%20width%3D%2210px%22%20height%3D%225px%22%20viewBox%3D%227%2010%2010%205%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cpolygon%20id%3D%22Shape%22%20stroke%3D%22none%22%20fill%3D%22%233c7251%22%20fill-rule%3D%22evenodd%22%20opacity%3D%221%22%20points%3D%227%2010%2012%2015%2017%2010%22%3E%3C%2Fpolygon%3E%0A%3C%2Fsvg%3E") no-repeat center;transform:rotate(180deg) translateY(-5px);transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-select__native-control{padding-top:20px}.mdc-select.mdc-select--focused .mdc-line-ripple::after{transform:scale(1, 2);opacity:1}.mdc-select+.mdc-select-helper-text{margin-right:12px;margin-left:12px}.mdc-select--outlined+.mdc-select-helper-text{margin-right:16px;margin-left:16px}.mdc-select--focused+.mdc-select-helper-text:not(.mdc-select-helper-text--validation-msg){opacity:1}.mdc-select__selected-text{min-width:200px;padding-top:22px}.mdc-select__native-control,.mdc-select__selected-text{padding-left:16px;padding-right:52px;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;box-sizing:border-box;width:100%;height:56px;padding-top:20px;padding-bottom:4px;border:none;border-bottom:1px solid;outline:none;background-color:transparent;color:inherit;white-space:nowrap;cursor:pointer;appearance:none}[dir=rtl] .mdc-select__native-control,.mdc-select__native-control[dir=rtl],[dir=rtl] .mdc-select__selected-text,.mdc-select__selected-text[dir=rtl]{padding-left:52px;padding-right:16px}.mdc-select__native-control::-ms-expand,.mdc-select__selected-text::-ms-expand{display:none}.mdc-select__native-control::-ms-value,.mdc-select__selected-text::-ms-value{background-color:transparent;color:inherit}@-moz-document url-prefix(""){.mdc-select__native-control,.mdc-select__selected-text{text-indent:-2px}}.mdc-select--outlined{border:none;overflow:visible}.mdc-select--outlined:not(.mdc-select--disabled){background-color:transparent}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.24)}.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.87)}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-select--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-radius:4px 0 0 4px}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-radius:0 4px 4px 0}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 4px 4px 0}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-radius:4px 0 0 4px}.mdc-select--outlined .mdc-select__native-control{border-radius:4px}.mdc-select--outlined::before,.mdc-select--outlined::after{content:none}.mdc-select--outlined:not(.mdc-select--disabled){background-color:transparent}.mdc-select--outlined .mdc-floating-label--float-above{transform:translateY(-144%) scale(1)}.mdc-select--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-130%) scale(0.75)}.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__native-control,.mdc-select--outlined .mdc-select__selected-text{padding-left:16px;padding-right:52px;display:flex;padding-top:12px;padding-bottom:12px;border:none;background-color:transparent;z-index:1}[dir=rtl] .mdc-select--outlined .mdc-select__native-control,.mdc-select--outlined .mdc-select__native-control[dir=rtl],[dir=rtl] .mdc-select--outlined .mdc-select__selected-text,.mdc-select--outlined .mdc-select__selected-text[dir=rtl]{padding-left:52px;padding-right:16px}.mdc-select--outlined .mdc-select__selected-text{padding-top:14px}.mdc-select--outlined .mdc-select__icon{z-index:2}.mdc-select--outlined .mdc-floating-label{line-height:1.15rem;pointer-events:auto}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__native-control,.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__selected-text{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#b00020;background-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#b00020}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid+.mdc-select-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__native-control:hover{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--invalid.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid .mdc-select__dropdown-icon{background:url("data:image/svg+xml,%3Csvg%20width%3D%2210px%22%20height%3D%225px%22%20viewBox%3D%227%2010%2010%205%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cpolygon%20id%3D%22Shape%22%20stroke%3D%22none%22%20fill%3D%22%23b00020%22%20fill-rule%3D%22evenodd%22%20opacity%3D%221%22%20points%3D%227%2010%2012%2015%2017%2010%22%3E%3C%2Fpolygon%3E%0A%3C%2Fsvg%3E") no-repeat center}.mdc-select--invalid+.mdc-select-helper-text--validation-msg{opacity:1}.mdc-select--required .mdc-floating-label::after{content:"*"}.mdc-select--disabled{background-color:#fafafa;cursor:default;pointer-events:none}.mdc-select--disabled .mdc-floating-label{color:rgba(0,0,0,.37)}.mdc-select--disabled .mdc-select__dropdown-icon{background:url("data:image/svg+xml,%3Csvg%20width%3D%2210px%22%20height%3D%225px%22%20viewBox%3D%227%2010%2010%205%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cpolygon%20id%3D%22Shape%22%20stroke%3D%22none%22%20fill%3D%22%23000%22%20fill-rule%3D%22evenodd%22%20opacity%3D%220.37%22%20points%3D%227%2010%2012%2015%2017%2010%22%3E%3C%2Fpolygon%3E%0A%3C%2Fsvg%3E") no-repeat center}.mdc-select--disabled .mdc-line-ripple{display:none}.mdc-select--disabled .mdc-select__icon{color:rgba(0,0,0,.37)}.mdc-select--disabled .mdc-select__native-control,.mdc-select--disabled .mdc-select__selected-text{color:rgba(0,0,0,.37);border-bottom-style:dotted}.mdc-select--disabled .mdc-select__selected-text{pointer-events:none}.mdc-select--disabled.mdc-select--outlined{background-color:transparent}.mdc-select--disabled.mdc-select--outlined .mdc-select__native-control,.mdc-select--disabled.mdc-select--outlined .mdc-select__selected-text{border-bottom-style:none}.mdc-select--disabled.mdc-select--outlined .mdc-notched-outline__leading,.mdc-select--disabled.mdc-select--outlined .mdc-notched-outline__notch,.mdc-select--disabled.mdc-select--outlined .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.16)}.mdc-select--with-leading-icon .mdc-select__icon{left:16px;right:initial}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon,.mdc-select--with-leading-icon .mdc-select__icon[dir=rtl]{left:initial;right:16px}.mdc-select--with-leading-icon .mdc-select__native-control,.mdc-select--with-leading-icon .mdc-select__selected-text{padding-left:48px;padding-right:32px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__native-control,.mdc-select--with-leading-icon .mdc-select__native-control[dir=rtl],[dir=rtl] .mdc-select--with-leading-icon .mdc-select__selected-text,.mdc-select--with-leading-icon .mdc-select__selected-text[dir=rtl]{padding-left:32px;padding-right:48px}.mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--float-above{transform:translateY(-144%) translateX(-32px) scale(1)}[dir=rtl] .mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--float-above,.mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-144%) translateX(32px) scale(1)}.mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--with-leading-icon.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--with-leading-icon.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-130%) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-select--with-leading-icon.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--with-leading-icon.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],[dir=rtl] .mdc-select--with-leading-icon.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--with-leading-icon.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-130%) translateX(32px) scale(0.75)}.mdc-select--with-leading-icon.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--with-leading-icon.mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon 250ms 1}[dir=rtl] .mdc-select--with-leading-icon.mdc-select--outlined .mdc-floating-label--shake,.mdc-select--with-leading-icon.mdc-select--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-rtl 250ms 1}.mdc-select--with-leading-icon.mdc-select__menu .mdc-list-item__text{padding-left:32px;padding-right:32px}[dir=rtl] .mdc-select--with-leading-icon.mdc-select__menu .mdc-list-item__text,.mdc-select--with-leading-icon.mdc-select__menu .mdc-list-item__text[dir=rtl]{padding-left:32px;padding-right:32px}.mdc-select__menu .mdc-list .mdc-list-item--selected{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-list .mdc-list-item--selected::before,.mdc-select__menu .mdc-list .mdc-list-item--selected::after{background-color:#000}@supports not (-ms-ime-align: auto){.mdc-select__menu .mdc-list .mdc-list-item--selected::before,.mdc-select__menu .mdc-list .mdc-list-item--selected::after{background-color:var(--mdc-theme-on-surface, #000)}}.mdc-select__menu .mdc-list .mdc-list-item--selected:hover::before{opacity:.04}.mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded):focus::before,.mdc-select__menu .mdc-list .mdc-list-item--selected.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-select__menu .mdc-list .mdc-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-130%) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-130%) scale(0.75)}}.mdc-tab{position:relative;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:2.25rem;font-weight:500;letter-spacing:.0892857143em;-webkit-text-decoration:none;text-decoration:none;text-transform:uppercase;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;height:48px;padding:0 24px;border:none;outline:none;background:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab .mdc-tab__text-label{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-tab .mdc-tab__icon{color:#000;color:var(--mdc-theme-on-surface, #000);fill:currentColor}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__ripple{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.mdc-tab__ripple::before,.mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-tab__ripple.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab__ripple.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab__ripple.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab__ripple.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab__ripple.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab__ripple::before,.mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab__ripple.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab__ripple::before,.mdc-tab__ripple::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-tab__ripple::before,.mdc-tab__ripple::after{background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-tab__ripple:hover::before{opacity:.04}.mdc-tab__ripple:not(.mdc-ripple-upgraded):focus::before,.mdc-tab__ripple.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-tab__ripple:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-tab__ripple:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-tab__ripple.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-tab__content{position:relative;display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label,.mdc-tab__icon{transition:150ms color linear,150ms opacity linear;z-index:2}.mdc-tab__text-label{display:inline-block;opacity:.6;line-height:1}.mdc-tab__icon{width:24px;height:24px;opacity:.54;font-size:24px}.mdc-tab--stacked{height:72px}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:space-between}.mdc-tab--stacked .mdc-tab__icon{padding-top:12px}.mdc-tab--stacked .mdc-tab__text-label{padding-bottom:16px}.mdc-tab--active .mdc-tab__text-label{color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-tab--active .mdc-tab__icon{color:#3c7251;color:var(--mdc-theme-primary, #3c7251);fill:currentColor}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms;opacity:1}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-bar{width:100%}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator>.mdc-tab-indicator__content--underline{background-color:#3c7251;background-color:var(--mdc-theme-primary, #3c7251)}.mdc-tab-indicator>.mdc-tab-indicator__content--underline{height:2px}.mdc-tab-indicator>.mdc-tab-indicator__content--icon{color:#446199;color:var(--mdc-theme-secondary, #446199)}.mdc-tab-indicator>.mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;width:100%}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active>.mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator>.mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition>.mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade>.mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade>.mdc-tab-indicator__content{transition-delay:100ms}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field--with-leading-icon .mdc-text-field__icon,.mdc-text-field--with-trailing-icon .mdc-text-field__icon{position:absolute;bottom:16px;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field-helper-text{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.75rem;line-height:1.25rem;font-weight:400;letter-spacing:.0333333333em;text-decoration:inherit;text-transform:inherit;display:block;margin-top:0;line-height:normal;margin:0;transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;will-change:opacity}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-helper-text{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.75rem;line-height:1.25rem;font-weight:400;letter-spacing:.0333333333em;text-decoration:inherit;text-transform:inherit;display:block;margin-top:0;line-height:normal;margin:0;transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;will-change:opacity}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.75rem;line-height:1.25rem;font-weight:400;letter-spacing:.0333333333em;text-decoration:inherit;text-transform:inherit;display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-leading-icon .mdc-text-field__icon,.mdc-text-field--with-trailing-icon .mdc-text-field__icon{position:absolute;bottom:16px;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:4px 4px 0 0;display:inline-flex;position:relative;box-sizing:border-box;height:56px;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field::before,.mdc-text-field::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-text-field.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field::before,.mdc-text-field::after{background-color:rgba(0,0,0,.87)}.mdc-text-field:hover::before{opacity:.04}.mdc-text-field:not(.mdc-ripple-upgraded):focus::before,.mdc-text-field.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-text-field::before,.mdc-text-field::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(3,14,7,.32)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0,0,0,.87)}.mdc-text-field .mdc-text-field__input{caret-color:#3c7251;caret-color:var(--mdc-theme-primary, #3c7251)}.mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input{border-bottom-color:rgba(0,0,0,.42)}.mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover{border-bottom-color:rgba(0,0,0,.87)}.mdc-text-field .mdc-line-ripple{background-color:#3c7251;background-color:var(--mdc-theme-primary, #3c7251)}.mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea){border-bottom-color:rgba(0,0,0,.12)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0,0,0,.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0,0,0,.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon{color:rgba(0,0,0,.54)}.mdc-text-field:not(.mdc-text-field--disabled){background-color:#f5f5f5}.mdc-text-field .mdc-floating-label{left:16px;right:initial;top:18px;pointer-events:none}[dir=rtl] .mdc-text-field .mdc-floating-label,.mdc-text-field .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--textarea .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--textarea .mdc-floating-label,.mdc-text-field--textarea .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial;top:17px}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label,.mdc-text-field--outlined--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above{left:40px;right:initial}[dir=rtl] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above,.mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{left:initial;right:40px}.mdc-text-field__input{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;align-self:flex-end;box-sizing:border-box;width:100%;height:100%;padding:20px 16px 6px;transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);border:none;border-bottom:1px solid;border-radius:0;background:none;appearance:none}.mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;color:rgba(3,14,7,.32)}.mdc-text-field--fullwidth .mdc-text-field__input::placeholder,.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input:-webkit-autofill{z-index:auto !important}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input{padding-top:16px;padding-bottom:16px}.mdc-text-field__input:-webkit-autofill+.mdc-floating-label{transform:translateY(-50%) scale(0.75);cursor:auto}.mdc-text-field--outlined{border:none;overflow:visible}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-radius:4px 0 0 4px}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-radius:0 4px 4px 0}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 4px 4px 0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-radius:4px 0 0 4px}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-144%) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-130%) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined::before,.mdc-text-field--outlined::after{content:none}.mdc-text-field--outlined:not(.mdc-text-field--disabled){background-color:transparent}.mdc-text-field--outlined .mdc-text-field__input{display:flex;padding:12px 16px 14px;border:none !important;background-color:transparent;z-index:1}.mdc-text-field--outlined .mdc-text-field__icon{z-index:2}.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--outlined.mdc-text-field--disabled{background-color:transparent}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.06)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{border-bottom:none}.mdc-text-field--outlined.mdc-text-field--dense{height:48px}.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above{transform:translateY(-134%) scale(1)}.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above{font-size:.8rem}.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-120%) scale(0.8)}.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-dense 250ms 1}.mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__input{padding:12px 12px 7px}.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label{top:14px}.mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__icon{top:12px}.mdc-text-field--with-leading-icon .mdc-text-field__icon{left:16px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon .mdc-text-field__icon,.mdc-text-field--with-leading-icon .mdc-text-field__icon[dir=rtl]{left:initial;right:16px}.mdc-text-field--with-leading-icon .mdc-text-field__input{padding-left:48px;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon .mdc-text-field__input,.mdc-text-field--with-leading-icon .mdc-text-field__input[dir=rtl]{padding-left:16px;padding-right:48px}.mdc-text-field--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon .mdc-floating-label,.mdc-text-field--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon{left:16px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=rtl]{left:initial;right:16px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input{padding-left:48px;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input[dir=rtl]{padding-left:16px;padding-right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-144%) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-144%) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-130%) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-130%) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl 250ms 1}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above{transform:translateY(-134%) translateX(-21px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-134%) translateX(21px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above{font-size:.8rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-120%) translateX(-21px) scale(0.8)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-120%) translateX(21px) scale(0.8)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense 250ms 1}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl 250ms 1}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label{left:32px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label[dir=rtl]{left:initial;right:32px}.mdc-text-field--with-trailing-icon .mdc-text-field__icon{left:initial;right:12px}[dir=rtl] .mdc-text-field--with-trailing-icon .mdc-text-field__icon,.mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=rtl]{left:12px;right:initial}.mdc-text-field--with-trailing-icon .mdc-text-field__input{padding-left:16px;padding-right:48px}[dir=rtl] .mdc-text-field--with-trailing-icon .mdc-text-field__input,.mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=rtl]{padding-left:48px;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon{left:initial;right:16px}[dir=rtl] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon,.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=rtl]{left:16px;right:initial}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input{padding-left:16px;padding-right:48px}[dir=rtl] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input[dir=rtl]{padding-left:48px;padding-right:16px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon{left:16px;right:auto}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=rtl]{left:auto;right:16px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon~.mdc-text-field__icon{right:12px;left:auto}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon~.mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon~.mdc-text-field__icon[dir=rtl]{right:auto;left:12px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input{padding-left:48px;padding-right:48px}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=rtl]{padding-left:48px;padding-right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon,.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon{bottom:16px;transform:scale(0.8)}.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon{left:12px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon[dir=rtl]{left:initial;right:12px}.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input{padding-left:44px;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input,.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input[dir=rtl]{padding-left:16px;padding-right:44px}.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label{left:44px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label[dir=rtl]{left:initial;right:44px}.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon{left:initial;right:12px}[dir=rtl] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon,.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=rtl]{left:12px;right:initial}.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input{padding-left:16px;padding-right:44px}[dir=rtl] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input,.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=rtl]{padding-left:44px;padding-right:16px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon{left:12px;right:auto}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=rtl]{left:auto;right:12px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon~.mdc-text-field__icon{right:12px;left:auto}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon~.mdc-text-field__icon,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon~.mdc-text-field__icon[dir=rtl]{right:auto;left:12px}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input{padding-left:44px;padding-right:44px}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input,.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=rtl]{padding-left:44px;padding-right:44px}.mdc-text-field--dense .mdc-floating-label--float-above{transform:translateY(-70%) scale(0.8)}.mdc-text-field--dense .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-dense 250ms 1}.mdc-text-field--dense .mdc-text-field__input{padding:12px 12px 0}.mdc-text-field--dense .mdc-floating-label{font-size:.813rem}.mdc-text-field--dense .mdc-floating-label--float-above{font-size:.813rem}.mdc-text-field__input:required~.mdc-floating-label::after,.mdc-text-field__input:required~.mdc-notched-outline .mdc-floating-label::after{margin-left:1px;content:"*"}.mdc-text-field--textarea{display:inline-flex;width:auto;height:auto;transition:none;overflow:visible}.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.38)}.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.87)}.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-text-field--textarea .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}.mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading{border-radius:4px 0 0 4px}[dir=rtl] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-radius:0 4px 4px 0}.mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 4px 4px 0}[dir=rtl] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-radius:4px 0 0 4px}.mdc-text-field--textarea::before,.mdc-text-field--textarea::after{content:none}.mdc-text-field--textarea:not(.mdc-text-field--disabled){background-color:transparent}.mdc-text-field--textarea .mdc-floating-label--float-above{transform:translateY(-144%) scale(1)}.mdc-text-field--textarea .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-130%) scale(0.75)}.mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea .mdc-text-field-character-counter{left:initial;right:16px;position:absolute;bottom:13px}[dir=rtl] .mdc-text-field--textarea .mdc-text-field-character-counter,.mdc-text-field--textarea .mdc-text-field-character-counter[dir=rtl]{left:16px;right:initial}.mdc-text-field--textarea .mdc-text-field__input{align-self:auto;box-sizing:border-box;height:auto;margin:8px 1px 1px 0;padding:0 16px 16px;border:none}.mdc-text-field--textarea .mdc-text-field-character-counter+.mdc-text-field__input{margin-bottom:28px;padding-bottom:0}.mdc-text-field--textarea .mdc-floating-label{top:17px;bottom:auto;width:auto;pointer-events:none}.mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--fullwidth{width:100%}.mdc-text-field--fullwidth:not(.mdc-text-field--textarea){display:block}.mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::before,.mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::after{content:none}.mdc-text-field--fullwidth:not(.mdc-text-field--textarea):not(.mdc-text-field--disabled){background-color:transparent}.mdc-text-field--fullwidth:not(.mdc-text-field--textarea) .mdc-text-field__input{padding:0}.mdc-text-field--fullwidth.mdc-text-field--textarea .mdc-text-field__input{resize:vertical}.mdc-text-field--fullwidth.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea){border-bottom-color:#ac4220}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field--dense+.mdc-text-field-helper-line{margin-bottom:4px}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(60,114,81,.87)}.mdc-text-field--focused .mdc-text-field__input:required~.mdc-floating-label::after,.mdc-text-field--focused .mdc-text-field__input:required~.mdc-notched-outline .mdc-floating-label::after{color:rgba(60,114,81,.87)}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input{border-bottom-color:#ac4220}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover{border-bottom-color:#ac4220}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple{background-color:#ac4220}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#ac4220}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#ac4220}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#ac4220}.mdc-text-field--invalid .mdc-text-field__input:required~.mdc-floating-label::after,.mdc-text-field--invalid .mdc-text-field__input:required~.mdc-notched-outline .mdc-floating-label::after{color:#ac4220}.mdc-text-field--invalid.mdc-text-field--with-trailing-icon:not(.mdc-text-field--with-leading-icon):not(.mdc-text-field--disabled) .mdc-text-field__icon{color:#ac4220}.mdc-text-field--invalid.mdc-text-field--with-trailing-icon.mdc-text-field--with-leading-icon:not(.mdc-text-field--disabled) .mdc-text-field__icon~.mdc-text-field__icon{color:#ac4220}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#ac4220}.mdc-text-field--disabled{background-color:#fafafa;border-bottom:none;pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{border-bottom-color:rgba(0,0,0,.06)}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0,0,0,.37)}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0,0,0,.37)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0,0,0,.37)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0,0,0,.37)}.mdc-text-field--disabled .mdc-text-field__icon{color:rgba(0,0,0,.3)}.mdc-text-field--disabled:not(.mdc-text-field--textarea){border-bottom-color:rgba(0,0,0,.12)}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--textarea.mdc-text-field--disabled{background-color:transparent;background-color:#f9f9f9}.mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0,0,0,.06)}.mdc-text-field--textarea.mdc-text-field--disabled .mdc-text-field__input{border-bottom:none}@keyframes mdc-floating-label-shake-float-above-text-field-dense{0%{transform:translateX(calc(0 - 0%)) translateY(-70%) scale(0.8)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-70%) scale(0.8)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-70%) scale(0.8)}100%{transform:translateX(calc(0 - 0%)) translateY(-70%) scale(0.8)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-130%) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-dense{0%{transform:translateX(calc(0 - 0%)) translateY(-120%) scale(0.8)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-120%) scale(0.8)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-120%) scale(0.8)}100%{transform:translateX(calc(0 - 0%)) translateY(-120%) scale(0.8)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 0)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - 0)) translateY(-130%) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense{0%{transform:translateX(calc(0 - 21px)) translateY(-120%) scale(0.8)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 21px)) translateY(-120%) scale(0.8)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 21px)) translateY(-120%) scale(0.8)}100%{transform:translateX(calc(0 - 21px)) translateY(-120%) scale(0.8)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - 0)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - 0)) translateY(-130%) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl{0%{transform:translateX(calc(0 - -21px)) translateY(-120%) scale(0.8)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -21px)) translateY(-120%) scale(0.8)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -21px)) translateY(-120%) scale(0.8)}100%{transform:translateX(calc(0 - -21px)) translateY(-120%) scale(0.8)}}@keyframes mdc-floating-label-shake-float-above-textarea{0%{transform:translateX(calc(0 - 0%)) translateY(-130%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-130%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-130%) scale(0.75)}}.mdc-switch{display:inline-block;position:relative;outline:none;-webkit-user-select:none;user-select:none}.mdc-switch.mdc-switch--checked .mdc-switch__track{background-color:#446199;background-color:var(--mdc-theme-secondary, #446199);border-color:#446199;border-color:var(--mdc-theme-secondary, #446199)}.mdc-switch.mdc-switch--checked .mdc-switch__thumb{background-color:#446199;background-color:var(--mdc-theme-secondary, #446199);border-color:#446199;border-color:var(--mdc-theme-secondary, #446199)}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track{background-color:#000;border-color:#000}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb{background-color:#fff;border-color:#fff}.mdc-switch__native-control{left:0;right:initial;position:absolute;top:0;width:68px;height:48px;margin:0;opacity:0;cursor:pointer;pointer-events:auto}[dir=rtl] .mdc-switch__native-control,.mdc-switch__native-control[dir=rtl]{left:initial;right:0}.mdc-switch__track{box-sizing:border-box;width:32px;height:14px;border:1px solid;border-radius:7px;opacity:.38;transition:opacity 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch__thumb-underlay{left:-18px;right:initial;display:flex;position:absolute;top:-17px;align-items:center;justify-content:center;width:48px;height:48px;transform:translateX(0);transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-switch__thumb-underlay,.mdc-switch__thumb-underlay[dir=rtl]{left:initial;right:-18px}.mdc-switch__thumb{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);box-sizing:border-box;width:20px;height:20px;border:10px solid;border-radius:50%;pointer-events:none;z-index:1}.mdc-switch--checked .mdc-switch__track{opacity:.54}.mdc-switch--checked .mdc-switch__thumb-underlay{transform:translateX(20px)}[dir=rtl] .mdc-switch--checked .mdc-switch__thumb-underlay,.mdc-switch--checked .mdc-switch__thumb-underlay[dir=rtl]{transform:translateX(-20px)}.mdc-switch--checked .mdc-switch__native-control{transform:translateX(-20px)}[dir=rtl] .mdc-switch--checked .mdc-switch__native-control,.mdc-switch--checked .mdc-switch__native-control[dir=rtl]{transform:translateX(20px)}.mdc-switch--disabled{opacity:.38;pointer-events:none}.mdc-switch--disabled .mdc-switch__thumb{border-width:1px}.mdc-switch--disabled .mdc-switch__native-control{cursor:default;pointer-events:none}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay::before,.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay::after{background-color:#9e9e9e}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:hover::before{opacity:.08}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):focus::before,.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.mdc-switch__thumb-underlay{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-switch__thumb-underlay::before,.mdc-switch__thumb-underlay::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-switch__thumb-underlay::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-switch__thumb-underlay.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch__thumb-underlay.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-switch__thumb-underlay.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-switch__thumb-underlay.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-switch__thumb-underlay.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch__thumb-underlay::before,.mdc-switch__thumb-underlay::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-switch__thumb-underlay.mdc-ripple-upgraded::before,.mdc-switch__thumb-underlay.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch__thumb-underlay.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch__thumb-underlay::before,.mdc-switch__thumb-underlay::after{background-color:#446199}@supports not (-ms-ime-align: auto){.mdc-switch__thumb-underlay::before,.mdc-switch__thumb-underlay::after{background-color:var(--mdc-theme-secondary, #446199)}}.mdc-switch__thumb-underlay:hover::before{opacity:.04}.mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):focus::before,.mdc-switch__thumb-underlay.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-switch__thumb-underlay.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button{box-shadow:none;text-transform:none}.googlesitekit-plugin .mdc-button:not(:disabled){color:#3c7251}@media(max-width: 960px){.googlesitekit-plugin .mdc-button{min-width:auto}}.googlesitekit-plugin .mdc-button .mdc-button__icon--image{border-radius:50%;display:block;height:18px;width:18px}.googlesitekit-plugin .mdc-button .mdc-button__trailing-icon{margin-left:8px}.googlesitekit-plugin .mdc-button--raised{border-radius:100px;box-shadow:none;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;height:auto;letter-spacing:normal;min-height:40px;padding-bottom:8px;padding-top:8px;text-align:center}.googlesitekit-plugin .mdc-button--raised:not(:disabled){background-color:#3c7251}.googlesitekit-plugin .mdc-button--raised:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--raised:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--raised.mdc-button--dense{border-radius:100px}.googlesitekit-plugin .mdc-button--raised:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--raised:focus{outline:none}.googlesitekit-plugin .mdc-button--danger:not(:disabled){background-color:#ac4220}.googlesitekit-plugin .mdc-button--danger:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--danger:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--dropdown{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.6.6L12%202%206%208%200%202%201.4.6%206%205.2z%22%20fill%3D%22%23757575%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");background-position:calc(100% - 8px) center;background-repeat:no-repeat;background-size:9px 6px;letter-spacing:normal;padding-right:12px;text-transform:none}.googlesitekit-plugin .mdc-button--dropdown:not(:disabled){color:#161b18}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown{padding-right:25px}}.googlesitekit-plugin .mdc-button--dropdown:hover,.googlesitekit-plugin .mdc-button--dropdown:active,.googlesitekit-plugin .mdc-button--dropdown:focus{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){background-color:#ebeef0}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--dropdown:hover:hover::before,.googlesitekit-plugin .mdc-button--dropdown:active:hover::before,.googlesitekit-plugin .mdc-button--dropdown:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown{background-image:none}}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(min-width: 960px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:300px}}@media(min-width: 1280px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:450px}}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){background-color:#161b18}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--inverse:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:40px;padding:8px 16px}.googlesitekit-plugin .mdc-button--tertiary:not(:disabled){color:#6c726e}.googlesitekit-plugin .mdc-button--tertiary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){background-color:rgba(22,27,24,.08)}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:hover:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--tertiary:active,.googlesitekit-plugin .mdc-button--tertiary:focus{outline:none}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){background-color:rgba(22,27,24,.26)}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:active:hover::before,.googlesitekit-plugin .mdc-button--tertiary:focus:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--callout{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:32px;padding:6px 16px}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){background-color:rgba(147,201,168,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){background-color:#93c9a8}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:disabled{color:rgba(38,92,59,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){background-color:rgba(225,177,85,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){background-color:#e1b155}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:disabled{color:rgba(78,51,0,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){background-color:rgba(255,194,174,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){background-color:#ffc2ae}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:disabled{color:rgba(122,30,0,.4)}.googlesitekit-plugin .mdc-checkbox{box-sizing:content-box}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:#161b18;background-color:#fff}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:#161b18;background-color:#000}@keyframes mdc-checkbox-fade-in-background-0{0%{border-color:#161b18;background-color:#fff}50%{border-color:#161b18;background-color:#000}}@keyframes mdc-checkbox-fade-out-background-0{0%,80%{border-color:#161b18;background-color:#000}100%{border-color:#161b18;background-color:#fff}}.googlesitekit-plugin .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.googlesitekit-plugin .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-0}.googlesitekit-plugin .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.googlesitekit-plugin .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-0}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__checkmark{color:#fff}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__mixedmark{border-color:#fff}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__background::before{background-color:#265c3b}.googlesitekit-plugin .mdc-checkbox .mdc-checkbox__native-control{appearance:none;background:transparent;border:none;border-radius:0;box-shadow:none;clear:none;color:#161b18;cursor:inherit;display:block;height:100%;line-height:normal;margin:0;min-width:auto;opacity:0;outline:0;padding:0;text-align:center;transition:none;vertical-align:middle;width:100%;z-index:1}.googlesitekit-plugin .mdc-checkbox.mdc-checkbox--align-left{margin-left:-11px}.googlesitekit-plugin .mdc-checkbox+.mdc-checkbox__content{padding-left:4px}.googlesitekit-plugin .mdc-checkbox__label-wrapper{align-items:center;column-gap:10px;display:flex}.googlesitekit-plugin .mdc-checkbox__label-wrapper .googlesitekit-badge{margin-left:0}.googlesitekit-plugin .mdc-chip{border-radius:100px;font-weight:500;height:auto;padding:8px 12px}@media(min-width: 783px){.googlesitekit-plugin .mdc-chip{font-size:16px;letter-spacing:.5px;margin:4px 16px;padding:12px 16px}}.googlesitekit-plugin .mdc-dialog{z-index:10000}.googlesitekit-plugin .mdc-dialog .mdc-dialog__surface{border-radius:8px;box-shadow:0 10px 40px 0 rgba(0,0,0,.35);max-width:76vw;padding:24px}@media(min-width: 600px){.googlesitekit-plugin .mdc-dialog .mdc-dialog__surface{max-width:478px;padding:36px}}@media(min-width: 960px){.googlesitekit-plugin .mdc-dialog .mdc-dialog__surface{max-width:590px}}.googlesitekit-plugin .mdc-dialog .mdc-dialog__lead,.googlesitekit-plugin .mdc-dialog .mdc-dialog__title{color:#161b18}.googlesitekit-plugin .mdc-dialog .mdc-dialog__title{align-items:flex-start;column-gap:9px;display:flex;flex-direction:column;font-size:22px;letter-spacing:0;padding:0 0 4px}@media(min-width: 600px){.googlesitekit-plugin .mdc-dialog .mdc-dialog__title{align-items:center;flex-direction:row;padding:0 0 14px}}.googlesitekit-plugin .mdc-dialog .mdc-dialog__title::before{display:none}.googlesitekit-plugin .mdc-dialog .mdc-dialog__title svg{color:#ac4220;margin-bottom:4px}@media(min-width: 600px){.googlesitekit-plugin .mdc-dialog .mdc-dialog__title svg{margin-bottom:0}}.googlesitekit-plugin .mdc-dialog .mdc-dialog__lead{font-size:14px;font-weight:500;line-height:1.43;margin:0;max-width:430px}.googlesitekit-plugin .mdc-dialog .mdc-dialog__content{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:normal;padding:0}.googlesitekit-plugin .mdc-dialog .mdc-dialog__dependencies{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:1em 0}.googlesitekit-plugin .mdc-dialog .mdc-dialog__dependencies strong{font-weight:500}.googlesitekit-plugin .mdc-dialog .mdc-dialog__provides{overflow:initial;padding:8px 0}.googlesitekit-plugin .mdc-dialog .mdc-list:first-child:last-child{padding:0}.googlesitekit-plugin .mdc-dialog .mdc-list.mdc-list--underlined .mdc-list-item,.googlesitekit-plugin .mdc-dialog .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu__list-item{font-size:14px;height:unset;letter-spacing:.2px;line-height:1.33;min-height:32px;padding:6px 0 6px 10px}.googlesitekit-plugin .mdc-dialog .mdc-list.mdc-list--underlined .mdc-list-item::before,.googlesitekit-plugin .mdc-dialog .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu__list-item::before{background-color:#161b18;border-radius:50%;content:" ";height:4px;left:0;position:absolute;top:14.3px;width:4px}.googlesitekit-plugin .mdc-dialog .mdc-dialog__actions{column-gap:10px;margin:2em 0 0;min-height:40px;padding:0}@media(min-width: 600px){.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-md .mdc-dialog__surface{max-width:441px}}@media(min-width: 600px){.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-sm .mdc-dialog__surface{max-width:402px}}.googlesitekit-plugin .mdc-dialog.googlesitekit-settings-module__confirm-disconnect-modal .mdc-list-item__text{white-space:normal}.googlesitekit-plugin .mdc-dialog.googlesitekit-settings-module__confirm-disconnect-modal .mdc-dialog__title{align-items:flex-start}.googlesitekit-plugin .mdc-dialog.googlesitekit-settings-module__confirm-disconnect-modal .mdc-list-item:last-child,.googlesitekit-plugin .mdc-dialog.googlesitekit-settings-module__confirm-disconnect-modal .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item:last-child,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog.googlesitekit-settings-module__confirm-disconnect-modal .googlesitekit-view-only-menu__list-item:last-child{border-bottom:0}.googlesitekit-plugin .mdc-floating-label{vertical-align:initial}.googlesitekit-plugin .mdc-form-field{color:#161b18}.googlesitekit-plugin .mdc-layout-grid+.mdc-layout-grid{padding-top:0}.googlesitekit-plugin .mdc-layout-grid--collapsed{padding:0}.googlesitekit-plugin .mdc-layout-grid--collapsed .mdc-layout-grid__inner{grid-gap:0}.googlesitekit-plugin .mdc-layout-grid--fill .mdc-layout-grid__inner{height:100%}.googlesitekit-plugin .mdc-layout-grid__cell--align-left{margin-right:auto;width:auto}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--align-left{justify-self:start}}.googlesitekit-plugin .mdc-layout-grid__cell--align-right{margin-left:auto;width:auto}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--align-right{justify-self:end}}@media(min-width: 0){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-phone{margin-left:auto;width:auto}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-phone{justify-self:end}}}@media(min-width: 601px){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-tablet{margin-left:auto;width:auto}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-tablet{justify-self:end}}}@media(min-width: 961px){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-desktop{margin-left:auto;width:auto}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--align-right-desktop{justify-self:end}}}@media(min-width: 600px){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1{margin-left:8.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-1{grid-column-start:2}.googlesitekit-plugin .mdc-layout-grid__cell--offset-2{margin-left:16.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-2{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-2{grid-column-start:3}.googlesitekit-plugin .mdc-layout-grid__cell--offset-3{margin-left:25%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-3{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-3{grid-column-start:4}.googlesitekit-plugin .mdc-layout-grid__cell--offset-4{margin-left:33.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-4{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-4{grid-column-start:5}.googlesitekit-plugin .mdc-layout-grid__cell--offset-5{margin-left:41.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-5{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-5{grid-column-start:6}.googlesitekit-plugin .mdc-layout-grid__cell--offset-6{margin-left:50%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-6{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-6{grid-column-start:7}.googlesitekit-plugin .mdc-layout-grid__cell--offset-7{margin-left:58.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-7{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-7{grid-column-start:8}.googlesitekit-plugin .mdc-layout-grid__cell--offset-8{margin-left:66.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-8{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-8{grid-column-start:9}.googlesitekit-plugin .mdc-layout-grid__cell--offset-9{margin-left:75%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-9{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-9{grid-column-start:10}.googlesitekit-plugin .mdc-layout-grid__cell--offset-10{margin-left:83.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-10{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-10{grid-column-start:11}.googlesitekit-plugin .mdc-layout-grid__cell--offset-11{margin-left:91.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-11{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-11{grid-column-start:12}.googlesitekit-plugin .mdc-layout-grid__cell--offset-12{margin-left:100%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-12{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-12{grid-column-start:13}}@media(min-width: 0){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-phone{margin-left:8.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-1-phone{grid-column-start:2}.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-phone{margin-left:16.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-2-phone{grid-column-start:3}.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-phone{margin-left:25%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-3-phone{grid-column-start:4}.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-phone{margin-left:33.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-4-phone{grid-column-start:5}.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-phone{margin-left:41.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-5-phone{grid-column-start:6}.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-phone{margin-left:50%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-6-phone{grid-column-start:7}.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-phone{margin-left:58.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-7-phone{grid-column-start:8}.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-phone{margin-left:66.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-8-phone{grid-column-start:9}.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-phone{margin-left:75%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-9-phone{grid-column-start:10}.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-phone{margin-left:83.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-10-phone{grid-column-start:11}.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-phone{margin-left:91.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-11-phone{grid-column-start:12}.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-phone{margin-left:100%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-phone{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-12-phone{grid-column-start:13}}@media(min-width: 601px){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-tablet{margin-left:8.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-1-tablet{grid-column-start:2}.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-tablet{margin-left:16.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-2-tablet{grid-column-start:3}.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-tablet{margin-left:25%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-3-tablet{grid-column-start:4}.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-tablet{margin-left:33.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-4-tablet{grid-column-start:5}.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-tablet{margin-left:41.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-5-tablet{grid-column-start:6}.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-tablet{margin-left:50%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-6-tablet{grid-column-start:7}.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-tablet{margin-left:58.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-7-tablet{grid-column-start:8}.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-tablet{margin-left:66.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-8-tablet{grid-column-start:9}.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-tablet{margin-left:75%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-9-tablet{grid-column-start:10}.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-tablet{margin-left:83.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-10-tablet{grid-column-start:11}.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-tablet{margin-left:91.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-11-tablet{grid-column-start:12}.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-tablet{margin-left:100%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-tablet{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-12-tablet{grid-column-start:13}}@media(min-width: 961px){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-desktop{margin-left:8.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-1-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-1-desktop{grid-column-start:2}.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-desktop{margin-left:16.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-2-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-2-desktop{grid-column-start:3}.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-desktop{margin-left:25%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-3-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-3-desktop{grid-column-start:4}.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-desktop{margin-left:33.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-4-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-4-desktop{grid-column-start:5}.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-desktop{margin-left:41.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-5-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-5-desktop{grid-column-start:6}.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-desktop{margin-left:50%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-6-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-6-desktop{grid-column-start:7}.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-desktop{margin-left:58.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-7-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-7-desktop{grid-column-start:8}.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-desktop{margin-left:66.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-8-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-8-desktop{grid-column-start:9}.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-desktop{margin-left:75%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-9-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-9-desktop{grid-column-start:10}.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-desktop{margin-left:83.3333333333%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-10-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-10-desktop{grid-column-start:11}.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-desktop{margin-left:91.6666666667%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-11-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-11-desktop{grid-column-start:12}.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-desktop{margin-left:100%}@supports(display: grid){.googlesitekit-plugin .mdc-layout-grid__cell--offset-12-desktop{margin-left:0}}.googlesitekit-plugin .mdc-layout-grid__cell--start-12-desktop{grid-column-start:13}}@media(min-width: 0){.googlesitekit-plugin .mdc-layout-grid__cell--order-1-phone{order:1}.googlesitekit-plugin .mdc-layout-grid__cell--order-2-phone{order:2}.googlesitekit-plugin .mdc-layout-grid__cell--order-3-phone{order:3}.googlesitekit-plugin .mdc-layout-grid__cell--order-4-phone{order:4}.googlesitekit-plugin .mdc-layout-grid__cell--order-5-phone{order:5}.googlesitekit-plugin .mdc-layout-grid__cell--order-6-phone{order:6}.googlesitekit-plugin .mdc-layout-grid__cell--order-7-phone{order:7}.googlesitekit-plugin .mdc-layout-grid__cell--order-8-phone{order:8}.googlesitekit-plugin .mdc-layout-grid__cell--order-9-phone{order:9}.googlesitekit-plugin .mdc-layout-grid__cell--order-10-phone{order:10}.googlesitekit-plugin .mdc-layout-grid__cell--order-11-phone{order:11}.googlesitekit-plugin .mdc-layout-grid__cell--order-12-phone{order:12}}@media(min-width: 601px){.googlesitekit-plugin .mdc-layout-grid__cell--order-1-tablet{order:1}.googlesitekit-plugin .mdc-layout-grid__cell--order-2-tablet{order:2}.googlesitekit-plugin .mdc-layout-grid__cell--order-3-tablet{order:3}.googlesitekit-plugin .mdc-layout-grid__cell--order-4-tablet{order:4}.googlesitekit-plugin .mdc-layout-grid__cell--order-5-tablet{order:5}.googlesitekit-plugin .mdc-layout-grid__cell--order-6-tablet{order:6}.googlesitekit-plugin .mdc-layout-grid__cell--order-7-tablet{order:7}.googlesitekit-plugin .mdc-layout-grid__cell--order-8-tablet{order:8}.googlesitekit-plugin .mdc-layout-grid__cell--order-9-tablet{order:9}.googlesitekit-plugin .mdc-layout-grid__cell--order-10-tablet{order:10}.googlesitekit-plugin .mdc-layout-grid__cell--order-11-tablet{order:11}.googlesitekit-plugin .mdc-layout-grid__cell--order-12-tablet{order:12}}@media(min-width: 961px){.googlesitekit-plugin .mdc-layout-grid__cell--order-1-desktop{order:1}.googlesitekit-plugin .mdc-layout-grid__cell--order-2-desktop{order:2}.googlesitekit-plugin .mdc-layout-grid__cell--order-3-desktop{order:3}.googlesitekit-plugin .mdc-layout-grid__cell--order-4-desktop{order:4}.googlesitekit-plugin .mdc-layout-grid__cell--order-5-desktop{order:5}.googlesitekit-plugin .mdc-layout-grid__cell--order-6-desktop{order:6}.googlesitekit-plugin .mdc-layout-grid__cell--order-7-desktop{order:7}.googlesitekit-plugin .mdc-layout-grid__cell--order-8-desktop{order:8}.googlesitekit-plugin .mdc-layout-grid__cell--order-9-desktop{order:9}.googlesitekit-plugin .mdc-layout-grid__cell--order-10-desktop{order:10}.googlesitekit-plugin .mdc-layout-grid__cell--order-11-desktop{order:11}.googlesitekit-plugin .mdc-layout-grid__cell--order-12-desktop{order:12}}.googlesitekit-plugin .mdc-linear-progress{margin:32px 0}.googlesitekit-plugin .mdc-linear-progress .mdc-linear-progress__bar-inner{background-color:#3c7251}@media(min-width: 960px){.googlesitekit-plugin .mdc-linear-progress{margin:48px 0}}.googlesitekit-plugin .mdc-linear-progress--small{max-width:150px}.googlesitekit-plugin .mdc-linear-progress--compress{margin:0}.googlesitekit-plugin .mdc-list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item{margin:0}.googlesitekit-plugin .mdc-list.mdc-list--underlined .mdc-list-item,.googlesitekit-plugin .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list.mdc-list--underlined .googlesitekit-view-only-menu__list-item{border-bottom:1px solid #ebeef0;padding-left:0;padding-right:0}.mdc-menu-surface{box-shadow:0 1.25px 5px 0 rgba(0,0,0,.19),0 .33px 1.5px 0 rgba(0,0,0,.039);border-radius:16px}.googlesitekit-plugin .mdc-menu-surface{left:auto !important;right:-8px;top:calc(100% + 10px) !important;width:calc(100% + 8px)}.mdc-menu-surface--open{z-index:10000}.googlesitekit-plugin .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000}.googlesitekit-plugin .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000}.googlesitekit-plugin .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000}.googlesitekit-plugin .mdc-radio .mdc-radio__background::before{background-color:#265c3b}.googlesitekit-plugin .mdc-radio .mdc-radio__native-control{appearance:none;background:transparent;border:none;border-radius:0;box-shadow:none;clear:none;color:#161b18;cursor:inherit;display:block;height:100%;line-height:normal;margin:0;min-width:auto;opacity:0;outline:0;padding:0;text-align:center;transition:none;width:100%;z-index:1}.googlesitekit-plugin .mdc-radio.mdc-radio--align-left{margin-left:-10px}.googlesitekit-plugin .mdc-radio__description{color:#6c726e;font-size:12px;line-height:1.33}.googlesitekit-plugin .mdc-select{max-width:100%}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-select__native-control,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:#161b18}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:#161b18}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#161b18}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b8bdb9}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#757575}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#3c7251}.googlesitekit-plugin .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#446199}.googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__leading{border-radius:8px 0 0 8px}[dir=rtl] .googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-radius:0 8px 8px 0}.googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 8px 8px 0}[dir=rtl] .googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-select .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-radius:8px 0 0 8px}.googlesitekit-plugin .mdc-select .mdc-select__native-control{border-radius:8px}.googlesitekit-plugin .mdc-select .mdc-select__selected-text{display:block;overflow:hidden;text-overflow:ellipsis}.googlesitekit-plugin .mdc-select .mdc-select__native-control{appearance:none;box-shadow:none;height:56px !important;line-height:1.75rem;margin:0;padding:20px 26px 4px 16px}.googlesitekit-plugin .mdc-select.mdc-select--focused:not(.mdc-select--disabled) .mdc-floating-label--float-above{color:#3c7251}.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__native-control:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#ac4220}.googlesitekit-plugin .mdc-select--minimal{background-color:transparent;background-position:right center;display:block;height:20px;line-height:1;margin:0 0 -6px;padding-bottom:6px;width:90px}.googlesitekit-plugin .mdc-select--minimal::before{background-color:transparent}.googlesitekit-plugin .mdc-select--outlined .mdc-select__native-control{background-color:transparent;border:none;box-shadow:none;display:flex;padding:12px 26px 12px 16px;z-index:1}.googlesitekit-plugin .mdc-select--minimal .mdc-select__selected-text{border:none;font-size:12px !important;height:14px !important;letter-spacing:.2px;line-height:1;min-width:0;padding:0 18px 0 0;text-align:right;text-indent:0}.googlesitekit-plugin .mdc-select--minimal .mdc-select__dropdown-icon{bottom:2px;right:-5px}.googlesitekit-plugin .mdc-select--minimal.mdc-select--focused .mdc-select__dropdown-icon{transform:rotate(180deg) translateY(0)}.googlesitekit-plugin .mdc-switch{vertical-align:middle}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__track{background-color:#3c7251;border-color:#3c7251}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb{background-color:#3c7251;border-color:#3c7251}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay::before,.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay::after{background-color:#3c7251}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay:hover::before{opacity:.04}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb-underlay.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__thumb{background-color:#3c7251;border-color:#3c7251}.googlesitekit-plugin .mdc-switch.mdc-switch--checked .mdc-switch__track{background-color:#b8e5ca;border-color:#b8e5ca}.googlesitekit-plugin .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb{background-color:#6c726e;border-color:#6c726e}.googlesitekit-plugin .mdc-switch:not(.mdc-switch--checked) .mdc-switch__track{background-color:#cbd0d3;border-color:#cbd0d3}.googlesitekit-plugin .mdc-switch .mdc-switch__native-control{appearance:none;background:transparent;border:none;box-shadow:none;clear:none;color:#161b18;cursor:pointer;display:block;height:48px;line-height:normal;margin:0;min-width:auto;outline:0;padding:0;text-align:center;transition:none;vertical-align:middle;width:68px}.googlesitekit-plugin .mdc-switch .mdc-switch__native-control::before{opacity:0 !important}.googlesitekit-plugin .mdc-switch+label{font-size:14px;letter-spacing:.25px;line-height:1.43;margin-left:10px}.googlesitekit-plugin .mdc-switch .mdc-switch__track{opacity:1}.googlesitekit-plugin .mdc-switch .mdc-switch__thumb{box-shadow:none}.googlesitekit-plugin .mdc-tab{font-size:12px;letter-spacing:.2px;line-height:1;text-transform:none}.googlesitekit-plugin .mdc-tab.mdc-tab--active .mdc-tab__text-label{color:#3c7251}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple::before,.googlesitekit-plugin .mdc-tab .mdc-tab__ripple::after{background-color:#3c7251}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple:hover::before{opacity:.04}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-tab .mdc-tab__ripple.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-tab .mdc-tab__ripple.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-tab:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-tab:focus{color:#3c7251;outline:none}.googlesitekit-plugin .mdc-tab[disabled]{cursor:default}.googlesitekit-plugin .mdc-tab[disabled] .mdc-tab__ripple{display:none}.googlesitekit-plugin .mdc-tab[disabled] .mdc-tab__text-label{color:#999f9b;opacity:.6}.googlesitekit-plugin .mdc-text-field{width:250px}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#161b18}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#161b18}.googlesitekit-plugin .mdc-text-field .mdc-text-field__input{caret-color:#3c7251}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#3c7251}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#757575}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b8bdb9}.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b8bdb9}.googlesitekit-plugin .mdc-text-field .mdc-notched-outline__leading{border-radius:8px 0 0 8px}[dir=rtl] .googlesitekit-plugin .mdc-text-field .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field .mdc-notched-outline__leading[dir=rtl]{border-radius:0 8px 8px 0}.googlesitekit-plugin .mdc-text-field .mdc-notched-outline__trailing{border-radius:0 8px 8px 0}[dir=rtl] .googlesitekit-plugin .mdc-text-field .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field .mdc-notched-outline__trailing[dir=rtl]{border-radius:8px 0 0 8px}.googlesitekit-plugin .mdc-text-field .mdc-notched-outline__notch{padding-right:0;width:auto !important}@media(min-width: 600px){.googlesitekit-plugin .mdc-text-field{width:350px}}.googlesitekit-plugin .mdc-text-field--textarea{max-width:650px;width:100%}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ac4220}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--disabled) .mdc-floating-label,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-floating-label{color:#ac4220}.googlesitekit-plugin .mdc-text-field--error:not(.mdc-text-field--focused) .mdc-floating-label--float-above,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea:not(.mdc-text-field--focused) .mdc-floating-label--float-above{color:#ac4220}.googlesitekit-plugin .mdc-text-field--error+.mdc-text-field-helper-line .mdc-text-field-helper-text,.googlesitekit-plugin .mdc-text-field--error.mdc-text-field--textarea+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#ac4220}.googlesitekit-plugin .mdc-text-field--textarea.mdc-text-field--focused{border-color:#446199}.googlesitekit-plugin .mdc-text-field--textarea .mdc-text-field__input{box-shadow:none;padding:8px 12px 12px}.googlesitekit-plugin .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-text-field__input:focus{border-color:#446199}.googlesitekit-plugin .MuiCircularProgress-colorPrimary{color:#3c7251}.googlesitekit-plugin .MuiCircularProgress-colorSecondary{color:#108080}.googlesitekit-plugin{--md-sys-color-primary: #3c7251;--md-sys-color-on-surface: #161b18;--md-sys-color-on-tertiary-container: #225858;--md-sys-color-tertiary-container: #d5f6f6}.googlesitekit-plugin{--md-checkbox-container-shape: 4px;--md-checkbox-_touch-target-size: 40px}.googlesitekit-plugin .googlesitekit-component-gm3_checkbox{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-component-gm3_checkbox label{margin-left:2px}.googlesitekit-plugin .googlesitekit-component-gm3_checkbox--loading{align-items:center;display:flex;height:var(--md-checkbox-_touch-target-size);justify-content:center;width:var(--md-checkbox-_touch-target-size)}.googlesitekit-plugin .googlesitekit-component-gm3_checkbox--align-left{margin-left:-15px}.googlesitekit-plugin .googlesitekit-component-gm3_checkbox__description{margin-left:2px}:root{--reach-combobox: 1}.googlesitekit-plugin{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.43}.googlesitekit-plugin *,.googlesitekit-plugin *::before,.googlesitekit-plugin *::after{box-sizing:border-box}.googlesitekit-plugin svg{color:inherit}.googlesitekit-plugin svg:not(:root){overflow:hidden}.googlesitekit-plugin h1,.googlesitekit-plugin h2,.googlesitekit-plugin h3,.googlesitekit-plugin h4,.googlesitekit-plugin h5,.googlesitekit-plugin h6{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.16}.googlesitekit-plugin h1,.googlesitekit-plugin .googlesitekit-heading-1{font-size:32px;font-weight:400;line-height:1.25}.googlesitekit-plugin h2,.googlesitekit-plugin .googlesitekit-heading-2{font-size:28px;font-weight:400;line-height:1.286}.googlesitekit-plugin h3,.googlesitekit-plugin .googlesitekit-heading-3{font-size:22px;font-weight:400;line-height:1.27}.googlesitekit-plugin h4,.googlesitekit-plugin .googlesitekit-heading-4{font-size:18px;font-weight:700;line-height:1.33}.googlesitekit-plugin .googlesitekit-subheading-1{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.14}.googlesitekit-plugin .googlesitekit-subheading-2{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-nodata{display:none}.googlesitekit-plugin legend,.googlesitekit-plugin p:not([class*=mdc-]){font-size:14px;letter-spacing:.25px}.googlesitekit-plugin a{color:#108080;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin a:hover{color:#108080;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin a:focus{box-shadow:none;outline:1px dotted #000;outline-offset:3px}.googlesitekit-plugin button{background:none;border:none;border-radius:100px;color:#108080;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin button:hover{-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin button:focus{outline:1px dotted #000;outline-offset:6px}.googlesitekit-plugin legend{line-height:1.5;margin:1em 0}.googlesitekit-plugin .screen-reader-only{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}@media(max-width: 599px){.googlesitekit-plugin .hidden-on-mobile{display:none}}.googlesitekit-hidden{display:none !important}.googlesitekit-activation .googlesitekit-activation__title{margin:10px 0 20px}.googlesitekit-noscript #googlesitekit-notice-activated{border-left-color:#fece72;margin:5px 15px 5px 0;padding:0}.googlesitekit-noscript #googlesitekit-notice-activated .googlesitekit-noscript{border:0;margin:0;padding:0}.googlesitekit-accordion{border:1px solid #ebeef0}.googlesitekit-accordion .googlesitekit-accordion__header,.googlesitekit-accordion .googlesitekit-accordion__content{padding:14px 20px}.googlesitekit-accordion .googlesitekit-accordion__header{cursor:pointer;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.14;padding-right:32px;position:relative;width:100%}.googlesitekit-accordion .googlesitekit-accordion__header:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-accordion .googlesitekit-accordion__header:focus{outline-offset:0}.googlesitekit-accordion .googlesitekit-accordion__header .googlesitekit-icon-wrapper{align-items:center;display:flex;justify-content:center;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:20px}.googlesitekit-accordion .googlesitekit-accordion__header .googlesitekit-icon-wrapper svg{color:#5b5b61}.googlesitekit-accordion .googlesitekit-accordion__header.is-active{font-weight:700}.googlesitekit-accordion .googlesitekit-accordion__header.is-active .googlesitekit-icon-wrapper{transform:translateY(-50%) rotate(180deg)}.js .googlesitekit-accordion .googlesitekit-accordion__content{display:none}.js .googlesitekit-accordion .googlesitekit-accordion__content.is-active{display:block}.googlesitekit-accordion .googlesitekit-accordion__content p{margin-top:0}.googlesitekit-accordion.googlesitekit-accordion--disabled .googlesitekit-accordion__header{pointer-events:none}.googlesitekit-accordion.googlesitekit-accordion--disabled .googlesitekit-accordion__header .googlesitekit-icon-wrapper svg{color:rgba(3,14,7,.32)}.googlesitekit-accordion+.googlesitekit-accordion{border-top-width:0}.googlesitekit-plugin .googlesitekit-analytics-cta{--cta-analytics-gap: 16px;--cta-analytics-gap-narrow: calc(var(--cta-analytics-gap) / 2);background-color:#ebeef0;display:flex;flex-direction:column;gap:var(--cta-analytics-gap);padding:var(--cta-analytics-gap)}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta{--cta-analytics-gap: 24px;flex-direction:row-reverse}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta--description{color:#161b18;font-size:14px;letter-spacing:.25px;margin:0}.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{margin-top:var(--cta-analytics-gap-narrow);width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{width:auto}}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{margin-top:var(--cta-analytics-gap)}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-cta--activate-analytics,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs{display:flex;gap:var(--cta-analytics-gap)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph{background-color:#fff;border-radius:4px;display:flex;flex:1;flex-direction:column;padding:var(--cta-analytics-gap-narrow)}#dashboard-widgets .googlesitekit-plugin .googlesitekit-analytics-cta h3.googlesitekit-analytics-cta__preview-graph--title,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--title{color:#333935;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.2px;margin:0 0 auto;padding-bottom:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--icons{align-items:center;color:#cbd0d3;display:flex;gap:4px;padding-top:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--up-arrow{height:12px}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--bar{background-color:#cbd0d3;border-radius:5px;height:8px;width:24px}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__details{flex:1}}.autocomplete__wrapper{flex:1 1 100%;margin:0 0 16px 0;position:relative}@media(min-width: 600px){.autocomplete__wrapper{flex:1;margin:0 16px 0 0}}@media(min-width: 960px){.autocomplete__wrapper{margin-right:24px}}.autocomplete__wrapper .autocomplete__input{border-color:#b8bdb9;border-radius:4px;color:#161b18;font-size:14px;font-weight:400;height:48px;letter-spacing:.25px;line-height:1.43;padding:12px 16px;position:relative;transition:border-color 150ms ease-in-out;width:100%;z-index:3}.autocomplete__wrapper .autocomplete__input:hover{border-color:#757575}.autocomplete__wrapper .autocomplete__input:focus{border-color:#446199;border-width:2px;box-shadow:none;padding:12px 15px}.autocomplete__input--default{padding:4px}.autocomplete__input--show-all-values{cursor:pointer;padding:4px 34px 4px 4px}.autocomplete__menu{background-color:#446199;border-radius:4px;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;left:1px;line-height:1.5rem;margin:0;padding:8px 0;top:calc(100% - 10px);width:100%}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--inline{position:absolute;z-index:2}.autocomplete__option{color:#fff;font-weight:400;margin-bottom:0;overflow:hidden;padding:12px 16px;position:relative}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#6380b8}.googlesitekit-badge{background-color:#ebeef0;border-radius:100px;color:#333935;display:inline-block;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1;padding:6px 12px;vertical-align:middle;white-space:nowrap}.googlesitekit-badge--has-left-spacing{margin-left:12px}.googlesitekit-badge--primary{background-color:#446199;color:#fff}.googlesitekit-badge--hidden{visibility:hidden}.googlesitekit-beta-badge{background-color:#6c726e;color:#fff}.googlesitekit-badge-with-tooltip{background-color:#ffe4b1;color:#684500;display:inline-flex;line-height:16px;padding:6px 10px}.googlesitekit-badge-with-tooltip .googlesitekit-info-tooltip{height:16px;margin-left:4px}.googlesitekit-badge-with-tooltip .googlesitekit-info-tooltip svg path{fill:#4e3300}.googlesitekit-plugin .mdc-button.googlesitekit-button-icon{min-height:auto;min-width:auto;padding:8px}@media(max-width: 599px){.googlesitekit-plugin .mdc-button.googlesitekit-button-icon--phone{min-height:auto;min-width:auto;padding:8px}}.googlesitekit-plugin .mdc-button.googlesitekit-button-icon--spinner__running svg circle{stroke:#fff}.googlesitekit-plugin .mdc-button.googlesitekit-button-icon--spinner__running.googlesitekit-button-icon--spinner__before .mdc-button__label{margin-inline-start:8px}.googlesitekit-plugin .mdc-button.googlesitekit-button-icon--spinner__running.googlesitekit-button-icon--spinner__after .mdc-button__label{margin-inline-end:8px}.googlesitekit-plugin .googlesitekit-change-arrow{--color-up: #46732b;--color-down: #ac4220}.googlesitekit-plugin .googlesitekit-change-arrow--inverted-color{--color-up: #ac4220;--color-down: #46732b}.googlesitekit-plugin .googlesitekit-change-arrow--up{color:var(--color-up)}.googlesitekit-plugin .googlesitekit-change-arrow--down{color:var(--color-up);transform:rotate(180deg)}.googlesitekit-plugin .googlesitekit-change-arrow--down path{fill:var(--color-down)}.googlesitekit-plugin .googlesitekit-change-badge{background-color:#d8ffc0;border-radius:100px;color:#1f4c04;font:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;margin-top:6px;padding:4px 8px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-change-badge{margin-top:12px}}.googlesitekit-plugin .googlesitekit-change-badge.googlesitekit-change-badge--negative{background-color:#ffded3;color:#7a1e00}.googlesitekit-plugin .googlesitekit-change-badge.googlesitekit-change-badge--zero{background-color:#ebeef0;color:#333935}.googlesitekit-chart{position:relative}.googlesitekit-chart .googlesitekit-chart__source{font-size:12px;letter-spacing:.2px;margin-top:16px}.googlesitekit-chart .googlesitekit-chart__date-marker-line{border-left:1px dashed #131418;height:100%;left:0;margin-left:.5px;opacity:0;position:absolute;top:0;transition:opacity 180ms ease-in;width:0}.googlesitekit-chart .googlesitekit-chart__date-marker-tooltip{color:#108080;height:18px;left:0;opacity:0;position:absolute;top:0;transition:opacity 180ms ease-in;width:18px}.googlesitekit-chart--LineChart div.google-visualization-tooltip{height:-moz-fit-content !important;height:fit-content !important;width:-moz-fit-content !important;width:fit-content !important}.googlesitekit-chart--LineChart div.google-visualization-tooltip .google-visualization-tooltip-item-list{margin:.5em 0}.googlesitekit-chart--LineChart div.google-visualization-tooltip .google-visualization-tooltip-item{margin:0}.googlesitekit-chart--PieChart svg{overflow:visible !important}.googlesitekit-chart--PieChart svg>g>g{pointer-events:none}.googlesitekit-chart--PieChart svg>g:last-child>g:last-child{pointer-events:none}.googlesitekit-chart--PieChart div.google-visualization-tooltip{pointer-events:none;z-index:8}.googlesitekit-chart-loading__forced{height:100%;width:100%}.googlesitekit-chart-loading{align-items:center;display:flex;flex-wrap:wrap;height:100%;justify-items:center;width:100%}.googlesitekit-chart-loading .googlesitekit-chart-loading__wrapper{margin:0 auto;text-align:center;width:100%}.googlesitekit-plugin .googlesitekit-chip{background-color:transparent;border:1px solid #b8bdb9;border-radius:8px;color:#161b18;flex-direction:row-reverse;font-size:12px;justify-content:center;letter-spacing:.2px;line-height:1.33;margin:0;min-width:80px;padding:13px 12px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-chip{padding:3px 12px}}.googlesitekit-plugin .googlesitekit-chip .mdc-chip__checkmark{margin:0}.googlesitekit-plugin .googlesitekit-chip .mdc-chip__checkmark-svg{transition:none}.googlesitekit-plugin .googlesitekit-chip .mdc-chip__text{padding:0 12px}.googlesitekit-plugin .googlesitekit-chip.mdc-chip--selected{background-color:#b8e5ca;border-color:#b8e5ca;gap:6px}.googlesitekit-plugin .googlesitekit-chip.mdc-chip--selected .mdc-chip__checkmark-path{stroke:#161b18}.googlesitekit-plugin .googlesitekit-chip.mdc-chip--selected .mdc-chip__checkmark-svg{height:18px;width:18px}.googlesitekit-plugin .googlesitekit-chip.mdc-chip--selected .mdc-chip__text{padding:0}.googlesitekit-plugin .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;border-radius:16px;font-size:14px;grid-column:span 3;grid-row:span 3;height:100%;letter-spacing:.25px;line-height:1.43;padding:16px;width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:24px}}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta--error,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta--error{background-color:#fff}.googlesitekit-adminbar-modules .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-adminbar-modules #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:16px}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;box-sizing:border-box;height:auto;margin-top:12px;padding:12px}.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{margin-top:0}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title{color:#161b18;font-size:14px;font-weight:500;margin:0 0 5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title{font-weight:700;letter-spacing:.5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description{color:#161b18;margin:0 0 20px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child{margin-top:0}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error{background-color:#ffded3}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title{color:#7a1e00}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description{color:#7a1e00;word-break:break-word}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled),#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled){background-color:#ac4220;color:#fff}.googlesitekit-plugin .googlesitekit-cta *:last-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta *:last-child{margin-bottom:0}.googlesitekit-wp-dashboard .googlesitekit-cta--error{margin-top:12px}.googlesitekit-cta-link{align-items:center;cursor:pointer;display:inline-flex;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-align:left;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link svg{fill:currentColor}.googlesitekit-cta-link:hover svg{fill:currentColor}.googlesitekit-page .googlesitekit-cta-link{color:#108080}.googlesitekit-page .googlesitekit-cta-link:hover{color:#108080;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-cta-link.googlesitekit-cta-link--secondary{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--caps{text-transform:uppercase}.googlesitekit-cta-link.googlesitekit-cta-link--danger{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--small{font-size:12px;letter-spacing:.2px}.googlesitekit-cta-link.googlesitekit-cta-link--standalone{display:flex}.googlesitekit-cta-link.googlesitekit-cta-link--inverse{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--inverse:hover{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--disabled{color:#b8bdb9;cursor:default}.googlesitekit-cta-link.googlesitekit-cta-link--danger:hover{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--disabled:hover{color:#b8bdb9;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link.googlesitekit-cta-link--no-flex{display:inline}button.googlesitekit-cta-link{color:#3c7251}button.googlesitekit-cta-link svg{fill:currentColor}button.googlesitekit-cta-link:hover{color:#2e5f41}button.googlesitekit-cta-link:hover svg{fill:currentColor}button.googlesitekit-cta-link--link-button{padding:2px 10px}button.googlesitekit-cta-link--link-button:focus{background-color:rgba(60,114,81,.08);outline:none}button.googlesitekit-cta-link--link-button.googlesitekit-cta-link--secondary:focus{background-color:rgba(16,128,128,.08)}.googlesitekit-plugin .googlesitekit-navigation{background-color:#fff;border-bottom:1px solid #ebeef0;justify-content:center;left:0;padding:12px 0;position:sticky;right:0;top:68px;z-index:10}.googlesitekit-plugin .googlesitekit-navigation::before{content:"";display:block;height:3px;left:0;opacity:1;position:absolute;top:-3px;transition:opacity 0s;width:100%}body.googlesitekit-showing-feature-tour .googlesitekit-plugin .googlesitekit-navigation,body.googlesitekit-showing-tooltip .googlesitekit-plugin .googlesitekit-navigation{position:static}@media(min-width: 601px){body.admin-bar .googlesitekit-plugin .googlesitekit-navigation{top:114px}}@media(min-width: 783px){body.admin-bar .googlesitekit-plugin .googlesitekit-navigation{top:100px}}@media(min-width: 961px){body.admin-bar .googlesitekit-plugin .googlesitekit-navigation{top:116px}}.googlesitekit-plugin .googlesitekit-navigation .mdc-chip{background-color:#fff;border:1px solid #ebeef0;border-radius:100px;color:#161b18;font-size:14px;letter-spacing:.2px;line-height:1;padding:11px 14px 11px 19px}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-navigation .mdc-chip{padding:5px 10px 5px 12px}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-navigation .mdc-chip{margin:4px 12px}}.googlesitekit-plugin .googlesitekit-navigation .mdc-chip .mdc-chip__icon{border-radius:0;height:auto;margin-right:6px;width:auto}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-navigation .mdc-chip .mdc-chip__icon{display:none}}.googlesitekit-plugin .googlesitekit-navigation .mdc-chip--selected{color:#3c7251}.googlesitekit-plugin .googlesitekit-navigation--is-sticky{border-bottom:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-navigation--is-sticky+.googlesitekit-entity-header{border-bottom:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-navigation--entityDashboard{border-bottom:1px solid #ebeef0;border-radius:0}.googlesitekit-plugin--has-scrolled .googlesitekit-plugin .googlesitekit-header--has-subheader+.googlesitekit-subheader+.googlesitekit-navigation--is-sticky::before{opacity:0;transition:opacity .1s ease-out}.googlesitekit-data-block{--color-up: #46732b;--color-down: #ac4220;position:relative;text-align:left}.post-php .googlesitekit-data-block{min-width:150px}.googlesitekit-wp-dashboard .googlesitekit-data-block{padding-top:12px}.googlesitekit-data-block .googlesitekit-data-block__title{align-items:flex-start;color:#6c726e;display:flex;flex:1;flex-direction:column;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;justify-content:flex-start;line-height:1.14;margin:0 0 12px;row-gap:8px}.googlesitekit-data-block .googlesitekit-data-block__title .googlesitekit-new-badge{margin-left:0}.googlesitekit-data-block.googlesitekit-data-block--button .googlesitekit-data-block__title{align-items:center}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title{font-size:16px;font-weight:700;letter-spacing:.5px;margin-bottom:5px}#dashboard-widgets .googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__title{font-size:12px;letter-spacing:.2px}.googlesitekit-data-block .googlesitekit-data-block__title-inner{align-items:center;display:flex;flex:1}.googlesitekit-data-block .googlesitekit-data-block__title-datapoint-wrapper{display:flex;flex:1;flex-flow:column}.googlesitekit-data-block .googlesitekit-data-block__datapoint{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:46px;font-weight:500;line-height:1.13;margin:0}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint{display:inline-block;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:38px;line-height:1.158;margin-right:5px}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__datapoint{font-size:32px}.googlesitekit-data-block .googlesitekit-data-block__change{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1;margin-top:16px;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change{display:inline-block;font-size:16px;letter-spacing:.5px;margin-top:0}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__change{margin-top:10px}.googlesitekit-data-block .googlesitekit-data-block__change--no-change{visibility:hidden}.googlesitekit-data-block .googlesitekit-data-block__sparkline{margin-top:8px;max-width:150px}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__sparkline{display:none}.googlesitekit-data-block .googlesitekit-data-block__arrow{display:inline-block;line-height:1;margin-right:2px;vertical-align:baseline}.googlesitekit-data-block .googlesitekit-data-block__arrow--reverse{transform:rotate(180deg)}#wpadminbar .googlesitekit-data-block .googlesitekit-data-block__arrow .svg{height:9px;width:9px}.googlesitekit-data-block .googlesitekit-data-block__suffix{margin-left:4px}.googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-data-block .googlesitekit-data-block__suffix{color:#6c726e;display:inline-block;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix{font-size:16px;font-weight:400;letter-spacing:.5px}.googlesitekit-data-block .googlesitekit-data-block__value--up,.googlesitekit-data-block .googlesitekit-data-block__suffix--up{color:var(--color-up)}.googlesitekit-data-block .googlesitekit-data-block__value--down,.googlesitekit-data-block .googlesitekit-data-block__suffix--down{color:var(--color-down)}.googlesitekit-data-block .googlesitekit-data-block__source{font-size:12px;letter-spacing:.2px;margin-top:8px}@media(min-width: 960px){.googlesitekit-data-block .googlesitekit-data-block__source{margin-top:12px}}.googlesitekit-data-block--button .googlesitekit-data-block__sparkline{margin:8px auto 0 auto}.googlesitekit-data-block--button{cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:flex-end;padding-bottom:16px;padding-top:20px;text-align:center;transition:background-color .2s ease-in-out}@media(min-width: 960px){.googlesitekit-data-block--button{padding-bottom:24px;padding-top:28px}}.googlesitekit-data-block--button::before{content:"";height:4px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.googlesitekit-data-block--selected::before{opacity:1}.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(99,128,184,.1)}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-1::before{background-color:#6380b8}.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(75,187,187,.1)}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-2::before{background-color:#4bbbbb}.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(92,146,113,.1)}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-3::before{background-color:#5c9271}.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(110,72,171,.1)}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-4::before{background-color:#6e48ab}.googlesitekit-plugin .googlesitekit-data-block__loading{align-items:center;display:flex;flex-direction:row}.googlesitekit-plugin .googlesitekit-data-block--is-gathering-data{cursor:auto}.admin-bar .googlesitekit-plugin .googlesitekit-dialog{align-items:stretch}@media(min-width: 600px){.admin-bar .googlesitekit-plugin .googlesitekit-dialog{align-items:center}}.googlesitekit-plugin .googlesitekit-dialog .mdc-dialog__container{height:100%;max-width:908px;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dialog .mdc-dialog__container{height:auto;max-height:calc(100vh - 120px);width:80%}}.googlesitekit-plugin .googlesitekit-dialog .mdc-dialog__surface{border-radius:0;box-shadow:none;max-height:100%;max-width:100%;padding:0;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dialog .mdc-dialog__surface{border-radius:24px;height:auto}}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__back-wrapper{padding:20px 16px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__back-wrapper[aria-hidden=true]{display:none}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__back{background-color:transparent;border-radius:0;box-shadow:none;min-height:auto;min-width:auto;padding:0;width:24px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__back:focus{outline:1px dotted #6380b8;outline-offset:3px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__back .mdc-button__label{height:24px;line-height:1}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__content{overflow:auto;padding:24px 16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__content{padding:32px}}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__header{display:flex;flex-wrap:nowrap;gap:12px;margin:0 0 32px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__header-icon span{align-items:center;background-color:#46732b;border-radius:50%;color:#fff;display:flex;height:36px;justify-content:center;width:36px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__header-icon[aria-hidden=true]{display:none}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__title{color:#161b18;font-size:22px;font-weight:700;line-height:1.27;margin:0 0 12px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__title{margin:0 0 8px}}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__subtitle{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__subtitle--emphasis{font-size:14px}.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__footer{border-top:1px solid #ebeef0;justify-content:flex-end;margin:0;padding:16px;z-index:2}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dialog .googlesitekit-dialog__footer{padding:20px 32px}}.googlesitekit-device-size-tab-bar{border-radius:100px;overflow:hidden;width:auto}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab{background:#ebeef0;height:32px;width:56px}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab:first-child{border-radius:100px 0 0 100px}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab:last-child{border-radius:0 100px 100px 0}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab svg{color:#5f6561}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab.mdc-tab--active{background:#3c7251}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab.mdc-tab--active svg{color:#fff}.googlesitekit-device-size-tab-bar .mdc-tab-scroller__scroll-content button.mdc-tab .mdc-tab-indicator{display:none}.googlesitekit-device-size-tab-bar .mdc-tab--active[disabled]{background-color:#999f9b;opacity:.6}.googlesitekit-dropdown-menu .googlesitekit-header__dropdown:focus{outline:0}.googlesitekit-dropdown-menu .mdc-list-item .googlesitekit-cta-link:hover,.googlesitekit-dropdown-menu .googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item .googlesitekit-cta-link:hover,.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-dropdown-menu .googlesitekit-view-only-menu__list-item .googlesitekit-cta-link:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-dropdown-menu.googlesitekit-dropdown-menu__icon-menu .mdc-button--dropdown{background-image:none;color:#6c726e;padding-right:8px}.googlesitekit-dropdown-menu .mdc-button--dropdown[aria-expanded=true]{background-color:#ebeef0;color:rgba(0,0,0,.87)}.googlesitekit-plugin .googlesitekit-entity-header{align-items:center;background-color:#fff;border-bottom:1px solid transparent;color:#6c726e;display:flex;justify-content:space-between;padding:16px;-webkit-position:sticky;position:sticky;top:120px;z-index:9}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-entity-header{padding-left:36px;padding-right:36px}}.googlesitekit-navigation--is-sticky+.googlesitekit-plugin .googlesitekit-entity-header{border-bottom:1px solid #ebeef0}@media(min-width: 601px){body.admin-bar .googlesitekit-plugin .googlesitekit-entity-header{top:183px}}@media(min-width: 783px){body.admin-bar .googlesitekit-plugin .googlesitekit-entity-header{top:169px}}@media(min-width: 961px){body.admin-bar .googlesitekit-plugin .googlesitekit-entity-header{top:185px}}body.googlesitekit-showing-feature-tour .googlesitekit-plugin .googlesitekit-entity-header,body.googlesitekit-showing-tooltip .googlesitekit-plugin .googlesitekit-entity-header{position:static}.googlesitekit-plugin .googlesitekit-entity-header__back{height:auto;min-width:20%;padding-right:30px}.googlesitekit-plugin .googlesitekit-entity-header__back::before,.googlesitekit-plugin .googlesitekit-entity-header__back::after{display:none}.googlesitekit-plugin .googlesitekit-entity-header__back .mdc-button{height:100%;padding-left:0}.googlesitekit-plugin .googlesitekit-entity-header__back .mdc-button:not(:disabled){color:#6c726e}.googlesitekit-plugin .googlesitekit-entity-header__back .mdc-button:not(:disabled):hover{color:#161b18;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .googlesitekit-entity-header__back .mdc-button__label{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1.43;margin:0 0 0 8px;text-align:left;text-transform:none}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-entity-header__back .mdc-button__label{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif}}.googlesitekit-plugin .googlesitekit-entity-header__details{font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;overflow:hidden;text-align:right;white-space:nowrap;width:100%}.googlesitekit-plugin .googlesitekit-entity-header__details p{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0;overflow:hidden;text-overflow:ellipsis}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-entity-header__details p{margin:0}}.googlesitekit-plugin .googlesitekit-entity-header__details a{margin:4px;max-width:100%;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin .googlesitekit-entity-header__details a:hover,.googlesitekit-plugin .googlesitekit-entity-header__details a:focus{color:#2e5f41}.googlesitekit-plugin .googlesitekit-entity-search{background-color:#fff;position:relative}.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__actions{position:absolute;right:17px;top:50%;transform:translateY(-50%);z-index:3}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__actions{right:2px}}.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__actions svg{color:#5f6561}.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__close{height:30px;width:30px}@media(max-width: 960px){.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__close{border-radius:50%}}.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__loading{border-radius:0 0 16px 16px;bottom:-4px;position:absolute;right:4px;width:calc(100% - 8px);z-index:4}@media(min-width: 783px){.googlesitekit-plugin .googlesitekit-entity-search .googlesitekit-entity-search__loading{bottom:-4px;left:0;margin:0 auto;right:0;width:calc(100% - 25px)}}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__wrapper{margin:0}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__input{border:none;border-radius:100px;font-size:14px;height:34px;letter-spacing:.25px;margin:0;padding:0 32px 0 0}@media(min-width: 783px){.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__input{border:1px solid #b8bdb9;padding:0 32px 0 16px}}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__input:hover{border-color:#161b18}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__input:focus{border-color:#3c7251;border-width:2px}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__menu{box-shadow:0 1.25px 5px 0 rgba(0,0,0,.19),0 .33px 1.5px 0 rgba(0,0,0,.039);background-color:#fff;border-radius:16px;margin-left:-12px;overflow:hidden;padding:0;top:calc(100% + 14px);width:calc(100% + 24px)}@media(min-width: 783px){.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__menu{margin:0;top:calc(100% + 1px);width:100%}}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option{color:#161b18;font-size:14px;letter-spacing:.25px;line-height:1}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option:first-child{border-radius:16px 16px 0 0}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option:last-child{border-radius:0 0 16px 16px}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option--focused,.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option:hover,.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option[data-highlighted]{background-color:rgba(22,27,24,.16);cursor:pointer}.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option--no-results,.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option--no-results:hover,.googlesitekit-plugin .googlesitekit-entity-search .autocomplete__option--no-results[data-highlighted]{background:none;cursor:default}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-entity-search .mdc-button__label{line-height:0}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-entity-search .mdc-button__label+svg{margin-left:8px}}.googlesitekit-plugin .googlesitekit-entity-search .mdc-button{color:#6c726e;font-weight:400;letter-spacing:.3px;min-width:auto;outline:none;text-transform:none}.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:hover,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:active,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:focus{background-color:#f8fafb;color:rgba(0,0,0,.87);-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:hover::before,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:hover::after,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:active::before,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:active::after,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:focus::before,.googlesitekit-plugin .googlesitekit-entity-search .mdc-button:focus::after{background-color:rgba(0,0,0,.87)}.googlesitekit-plugin .googlesitekit-entity-search--is-open{flex:1}@media(max-width: 783px){.googlesitekit-plugin .googlesitekit-entity-search--is-open{align-items:center;display:flex;left:0;margin:0;max-height:68px;padding:14px 16px;position:absolute;right:0;top:0;z-index:1}}.googlesitekit-plugin .googlesitekit-error-handler .googlesitekit-publisher-win__desc p{align-items:center;display:flex;flex-wrap:wrap;gap:16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-error-handler .googlesitekit-publisher-win__desc p{gap:24px}}.googlesitekit-error-text{color:#ac4220;font-weight:500}.googlesitekit-error-retry-text{color:#ac4220;margin-left:1rem}.googlesitekit-report-error-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.googlesitekit-plugin .googlesitekit-gathering-data-notice{text-transform:lowercase}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{font-size:12px;letter-spacing:.2px;line-height:1.33;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default{position:relative;text-align:inherit}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{font-size:18px;line-height:1.33;max-width:80px;padding:0;text-align:center}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-large span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}#wpadminbar .googlesitekit-plugin .googlesitekit-gathering-data-notice span{color:#999f9b;font-size:12px;letter-spacing:.2px;line-height:1.33;text-transform:lowercase}.googlesitekit-plugin .googlesitekit-generic-error-handler-actions{align-items:flex-start;display:flex;flex-direction:column;gap:16px;margin-block-start:16px}.googlesitekit-plugin .googlesitekit-subheader{background-color:#fff;position:relative;z-index:11}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-subheader{padding:0 10px}}.googlesitekit-plugin .googlesitekit-subheader:not(:empty){border-bottom:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-header{background-color:#fff;left:0;position:sticky;right:0;top:0;transition:box-shadow .2s ease-in-out;z-index:9980}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-header{padding-left:10px;padding-right:10px}}.wp-responsive-open .googlesitekit-plugin .googlesitekit-header{margin-left:-18px;padding-left:28px}body.googlesitekit-showing-feature-tour .googlesitekit-plugin .googlesitekit-header,body.googlesitekit-showing-tooltip .googlesitekit-plugin .googlesitekit-header{position:static}@media(min-width: 601px){body.admin-bar .googlesitekit-plugin .googlesitekit-header{top:46px}}@media(min-width: 783px){body.admin-bar .googlesitekit-plugin .googlesitekit-header{top:32px}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__logo{min-width:150px}@media(max-width: 449px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__logo{min-width:100px}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__logo-link{display:inline-block}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__button{align-items:center;background-color:transparent;cursor:pointer;display:flex;font-size:12px;letter-spacing:.2px;margin-right:-8px;padding:8px;transition:background-color .2s ease-in-out,color .2s ease-in-out}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__button:hover{background-color:#446199;color:#fff;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__button svg{fill:currentColor;margin-left:8px}.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu{display:inline-block}.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu .mdc-button__icon{margin-right:12px}.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu .mdc-button__account{margin-right:0}.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu .mdc-button__icon,.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu .mdc-button__icon--image{height:28px;width:28px}.googlesitekit-plugin .googlesitekit-header .googlesitekit-dropdown-menu .mdc-button__label{font-weight:400}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector{background:none}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector svg{margin-right:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector svg{margin-right:8px}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector .mdc-button--dropdown{color:#6c726e;padding-right:24px}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector .mdc-button--dropdown{background:none;margin-right:0;padding-right:8px}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector .mdc-button--dropdown svg{margin-right:0}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-date-range-selector .mdc-menu-surface{right:0}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__children{align-items:center;display:flex;gap:16px;justify-content:flex-end}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__children{gap:24px}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__children div>button>.mdc-button__label{display:none}@media(min-width: 784px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-header__children div>button>.mdc-button__label{display:inline-block}}.googlesitekit-plugin .googlesitekit-help-menu-link{padding:0}.googlesitekit-plugin .googlesitekit-help-menu-link .googlesitekit-cta-link{align-items:center;color:#161b18;display:flex;height:100%;padding:0 16px;width:100%}.googlesitekit-plugin .googlesitekit-icon-wrapper{align-items:center;display:inline-flex}.googlesitekit-plugin .googlesitekit-image-radio-options{display:flex;flex-wrap:wrap;gap:24px}.googlesitekit-plugin .googlesitekit-image-radio{display:flex;flex-direction:column;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-image-radio{max-width:16.5rem}}.googlesitekit-plugin .googlesitekit-image-radio>label{color:#5f6561;font-size:.75rem;margin-top:.625rem;padding:0}.googlesitekit-plugin .googlesitekit-image-radio>label span{color:#161b18;display:block;font-size:.875rem;margin-bottom:.125rem}.googlesitekit-plugin .googlesitekit-image-radio .image-radio{--mdc-ripple-fg-size: 0 !important;height:unset;padding:0;width:100%}.googlesitekit-plugin .googlesitekit-image-radio .image-radio .mdc-image-radio__background .mdc-image-radio__content{align-items:center;background-color:#fff;border:.375rem solid #fff;border-radius:.5625rem;color:#161b18;display:flex;justify-content:center;min-height:12.1875rem}.googlesitekit-plugin .googlesitekit-image-radio .image-radio .mdc-image-radio__background .mdc-image-radio__content svg{object-fit:contain;width:100%}.googlesitekit-plugin .googlesitekit-image-radio .image-radio .mdc-image-radio__background::after{border:.0625rem solid #999f9b;border-radius:.5625rem;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-image-radio .image-radio .mdc-image-radio__background .mdc-image-radio__content--no-image{background-color:#ebeef0;min-height:5.0625rem;text-align:center}.googlesitekit-plugin .googlesitekit-image-radio .image-radio .mdc-image-radio__background--checked::after{border:.1875rem solid #3c7251}.googlesitekit-plugin .googlesitekit-image-radio .image-radio:hover .mdc-image-radio__content{position:relative}.googlesitekit-plugin .googlesitekit-image-radio .image-radio:hover .mdc-image-radio__content::after{background-color:#cbd0d3;border-radius:.5625rem;content:"";height:calc(100% + 0.75rem);left:50%;opacity:.3;position:absolute;top:50%;transform:translate(-50%, -50%);width:calc(100% + 0.75rem)}.googlesitekit-plugin .googlesitekit-image-radio .image-radio:hover .mdc-image-radio__content--no-image{background-color:#cbd0d3}.googlesitekit-plugin .googlesitekit-image-radio .image-radio:hover .mdc-image-radio__content--no-image::after{content:unset}.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--background-focused .mdc-image-radio__content,.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--foreground-activation .mdc-image-radio__content{position:relative}.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--background-focused .mdc-image-radio__content::after,.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--foreground-activation .mdc-image-radio__content::after{background-color:rgba(0,34,13,.32);border-radius:.5625rem;content:"";height:100%;opacity:1;position:absolute;width:100%}.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--foreground-activation .mdc-image-radio__content--no-image{background-color:rgba(0,34,13,.32)}.googlesitekit-plugin .googlesitekit-image-radio .image-radio.mdc-ripple-upgraded--foreground-activation .mdc-image-radio__content--no-image::after{content:unset}.googlesitekit-tooltip.MuiTooltip-tooltip.googlesitekit-info-tooltip__content{border-radius:8px;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;max-width:160px;padding:12px}.googlesitekit-tooltip.MuiTooltip-tooltip.googlesitekit-info-tooltip__content>button{background:none;border:none;color:#ebeef0;padding-right:0;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-layout{background:#fff}.googlesitekit-layout .googlesitekit-layout__header{border-bottom:1px solid #ebeef0;font-size:16px;letter-spacing:.5px}.googlesitekit-layout .googlesitekit-layout__header-title{align-items:center;display:flex;gap:16px;margin:0}.googlesitekit-layout .googlesitekit-layout__footer{border-top:1px solid #ebeef0;font-size:12px;letter-spacing:.2px}.googlesitekit-layout.googlesitekit-layout--transparent{background-color:transparent}.googlesitekit-layout.googlesitekit-layout--rounded{border-radius:24px}.googlesitekit-layout--fill{display:flex;flex-direction:column;height:100%}.googlesitekit-layout--fill>*{flex:1 1 auto;width:100%}.googlesitekit-layout--fill .googlesitekit-layout__header{flex:0 0 auto}.googlesitekit-layout--fill .googlesitekit-layout__footer{flex:0 0 auto}.googlesitekit-layout--relative{position:relative}.googlesitekit-logo{color:#5f6561;line-height:0}.googlesitekit-logo .googlesitekit-logo__logo-g,.googlesitekit-logo .googlesitekit-svg-logo-g{height:24px;vertical-align:middle;width:23px}@media(min-width: 600px){.googlesitekit-logo .googlesitekit-logo__logo-g,.googlesitekit-logo .googlesitekit-svg-logo-g{height:34px;width:32px}}.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{fill:currentColor;height:16px;margin-left:8px;vertical-align:middle;width:61px}@media(min-width: 600px){.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{height:26px;margin-left:16px;width:99px}}@media(max-width: 449px){.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{display:none}}.googlesitekit-logo--mini .googlesitekit-logo__logo-g,.googlesitekit-logo--mini .googlesitekit-svg-logo-g{height:19px;width:19px}.googlesitekit-logo--mini .googlesitekit-logo__logo-sitekit,.googlesitekit-logo--mini .googlesitekit-svg-logo-sitekit{height:17px;margin-left:4px;width:78px}.googlesitekit-mini-chart{margin-left:16px;width:28px}.googlesitekit-module-outro{background-color:#fff;padding:45px 0;text-align:center}@media(min-width: 600px){.googlesitekit-module-outro{padding:45px}}.googlesitekit-module-outro .googlesitekit-module-outro__logo{align-items:center;display:inline-flex}.googlesitekit-module-outro .googlesitekit-module-outro__logo>svg{margin:0 8px}@media(min-width: 960px){.googlesitekit-module-outro .googlesitekit-module-outro__logo>svg{margin:0 12px}}.googlesitekit-module-outro .googlesitekit-module-outro__title{margin:20px auto 25px;max-width:600px}.googlesitekit-module-page{padding-bottom:10px;padding-top:10px}@media(min-width: 600px){.googlesitekit-module-page{padding-left:10px;padding-right:10px}}.googlesitekit-module-recovery-errors{color:#ac4220}.googlesitekit-module-recovery-errors ul{list-style:disc;list-style-position:inside}.googlesitekit-new-badge{background-color:#573195;color:#fff;font-size:12px;line-height:1.33;margin-left:6px;padding:4px 8px;text-transform:none}.googlesitekit-new-badge.googlesitekit-new-badge--has-no-spacing{margin-left:0}.googlesitekit-new-badge.googlesitekit-badge--has-left-spacing{margin-left:12px}.googlesitekit-tooltip.MuiTooltip-tooltip.googlesitekit-new-badge__tooltip{border-radius:8px;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;max-width:160px;padding:12px}.googlesitekit-tooltip.MuiTooltip-tooltip.googlesitekit-new-badge__tooltip>a{color:#ebeef0;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-noscript{background-color:#fff;margin:5px 20px 5px 0}@media(min-width: 600px){.googlesitekit-noscript{padding-left:10px;padding-right:10px}}.googlesitekit-noscript__title{margin:0}.no-js:not([amp-version]) [id^=js-googlesitekit-]{display:none}.googlesitekit-opt-in{position:relative}.googlesitekit-opt-in .mdc-form-field{position:relative}.googlesitekit-opt-in .mdc-form-field label{font-size:12px;letter-spacing:.2px;line-height:1.33}@media(min-width: 960px){.googlesitekit-opt-in span{display:block}}.googlesitekit-opt-in--border{border-top:1px solid #b8bdb9;padding-top:16px}@media(min-width: 960px){.googlesitekit-opt-in--border{padding-top:24px}}.googlesitekit-opt-in--align-top .mdc-form-field{align-items:flex-start}.googlesitekit-opt-in--align-top .mdc-checkbox{margin-top:-7px}.googlesitekit-overlay{align-items:center;background:rgba(235,238,240,.8);bottom:0;cursor:not-allowed;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;top:0;width:100%;z-index:10}.googlesitekit-overlay .googlesitekit-overlay__icon{align-items:center;background:#ebeef0;border-radius:50%;display:flex;height:60px;justify-content:center;margin:0 auto;width:60px}.googlesitekit-overlay .googlesitekit-overlay__icon svg{color:#333935}.googlesitekit-overlay .googlesitekit-overlay__title{margin-bottom:0;padding:0 16px;text-align:center}.googlesitekit-overlay--compress .googlesitekit-overlay__wrapper{align-items:center;display:flex}.googlesitekit-overlay--compress .googlesitekit-overlay__icon{height:40px;width:40px}.googlesitekit-overlay--compress .googlesitekit-overlay__icon .svg{height:20px;width:auto}.googlesitekit-overlay--compress .googlesitekit-overlay__title{font-size:16px;font-weight:700;line-height:1.25;margin-top:0;padding-right:0}.googlesitekit-page{margin-left:-10px}@media(min-width: 783px){.googlesitekit-page{margin-left:-20px}}#wpbody-content>div:not(#screen-meta)+.googlesitekit-plugin>.googlesitekit-page,#wpbody-content>div:not(#screen-meta)+script+.googlesitekit-plugin>.googlesitekit-page{margin-top:25px}.googlesitekit-pagespeed-widget header{display:flex;justify-content:space-between}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__data-src-tabs{display:flex}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__refreshing-progress-bar-wrapper{margin-top:-4px}.googlesitekit-pagespeed-widget__refreshing{filter:grayscale(1);opacity:.5}.googlesitekit-page-footer{display:flex;justify-content:flex-end;margin:0}.googlesitekit-page-header{margin:0}.googlesitekit-page-header .googlesitekit-page-header__title{display:inline-block;font-weight:500;line-height:1;margin:0 0 -2px;padding:0;vertical-align:middle}.googlesitekit-page-header .googlesitekit-page-header__icon+.googlesitekit-page-header__title{margin-left:8px}.googlesitekit-page-header .googlesitekit-page-header__icon{vertical-align:middle}.googlesitekit-page-header .googlesitekit-page-header__details{align-items:center;display:flex;justify-content:space-between}@media(min-width: 600px){.googlesitekit-page-header .googlesitekit-page-header__details{justify-content:flex-end}}.googlesitekit-page-header .googlesitekit-page-header__status{align-items:center;display:flex;font-size:12px;letter-spacing:.2px;line-height:1;margin:0}.googlesitekit-page-header .googlesitekit-page-header__status .googlesitekit-icon-wrapper{align-items:center;border-radius:50%;display:flex;height:19px;justify-content:center;margin-left:8px;width:19px}.googlesitekit-page-header .googlesitekit-page-header__status--connected .googlesitekit-icon-wrapper{background-color:#46732b;color:#fff}.googlesitekit-page-header .googlesitekit-page-header__status--not-connected .googlesitekit-icon-wrapper{background-color:#895a00;color:#fff}.googlesitekit-page-header .googlesitekit-page-header__status+.googlesitekit-page-header__range{margin-left:16px;margin-top:-3px}@media(min-width: 960px){.googlesitekit-page-header .googlesitekit-page-header__status+.googlesitekit-page-header__range{margin-left:24px}}.googlesitekit-percentage-circle{background-color:#ebeef0;border-radius:50%;font-size:28px;height:1em;margin:0 auto;position:relative;width:1em}.googlesitekit-percentage-circle::after{background-color:#fff;border-radius:50%;box-sizing:content-box;content:"";display:block;height:.8em;left:.1em;position:absolute;top:.1em;width:.8em}.googlesitekit-percentage-circle .googlesitekit-percentage-circle__text{box-sizing:content-box;font-size:18px;font-weight:700;left:0;line-height:50px;position:absolute;text-align:center;top:0;width:50px;z-index:1}.googlesitekit-percentage-circle .googlesitekit-percentage-circle__slice{box-sizing:content-box;clip:rect(0, 1em, 1em, 0.5em);height:1em;position:absolute;width:1em}.googlesitekit-percentage-circle .googlesitekit-percentage-circle__bar{border:.1em solid transparent;border-radius:50%;box-sizing:content-box;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(0deg);width:.8em}.googlesitekit-percentage-circle .googlesitekit-percentage-circle__fill{box-sizing:content-box}.googlesitekit-percentage-circle--fast{color:#46732b}.googlesitekit-percentage-circle--average{color:#895a00}.googlesitekit-percentage-circle--slow{color:#ac4220}.googlesitekit-percentage-circle--percent-51 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-51 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-51 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-52 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-52 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-52 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-53 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-53 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-53 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-54 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-54 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-54 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-55 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-55 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-55 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-56 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-56 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-56 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-57 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-57 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-57 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-58 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-58 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-58 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-59 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-59 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-59 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-60 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-60 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-60 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-61 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-61 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-61 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-62 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-62 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-62 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-63 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-63 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-63 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-64 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-64 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-64 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-65 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-65 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-65 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-66 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-66 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-66 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-67 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-67 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-67 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-68 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-68 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-68 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-69 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-69 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-69 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-70 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-70 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-70 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-71 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-71 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-71 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-72 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-72 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-72 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-73 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-73 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-73 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-74 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-74 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-74 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-75 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-75 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-75 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-76 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-76 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-76 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-77 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-77 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-77 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-78 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-78 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-78 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-79 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-79 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-79 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-80 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-80 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-80 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-81 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-81 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-81 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-82 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-82 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-82 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-83 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-83 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-83 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-84 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-84 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-84 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-85 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-85 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-85 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-86 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-86 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-86 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-87 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-87 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-87 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-88 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-88 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-88 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-89 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-89 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-89 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-90 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-90 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-90 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-91 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-91 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-91 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-92 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-92 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-92 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-93 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-93 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-93 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-94 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-94 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-94 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-95 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-95 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-95 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-96 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-96 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-96 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-97 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-97 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-97 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-98 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-98 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-98 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-99 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-99 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-99 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-100 .googlesitekit-percentage-circle__slice{clip:rect(auto, auto, auto, auto)}.googlesitekit-percentage-circle--percent-100 .googlesitekit-percentage-circle__bar::after{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-100 .googlesitekit-percentage-circle__fill{border:.1em solid transparent;border-radius:50%;clip:rect(0, 0.5em, 1em, 0);height:.8em;position:absolute;transform:rotate(180deg);width:.8em}.googlesitekit-percentage-circle--percent-1 .googlesitekit-percentage-circle__bar{transform:rotate(3.6deg)}.googlesitekit-percentage-circle--percent-2 .googlesitekit-percentage-circle__bar{transform:rotate(7.2deg)}.googlesitekit-percentage-circle--percent-3 .googlesitekit-percentage-circle__bar{transform:rotate(10.8deg)}.googlesitekit-percentage-circle--percent-4 .googlesitekit-percentage-circle__bar{transform:rotate(14.4deg)}.googlesitekit-percentage-circle--percent-5 .googlesitekit-percentage-circle__bar{transform:rotate(18deg)}.googlesitekit-percentage-circle--percent-6 .googlesitekit-percentage-circle__bar{transform:rotate(21.6deg)}.googlesitekit-percentage-circle--percent-7 .googlesitekit-percentage-circle__bar{transform:rotate(25.2deg)}.googlesitekit-percentage-circle--percent-8 .googlesitekit-percentage-circle__bar{transform:rotate(28.8deg)}.googlesitekit-percentage-circle--percent-9 .googlesitekit-percentage-circle__bar{transform:rotate(32.4deg)}.googlesitekit-percentage-circle--percent-10 .googlesitekit-percentage-circle__bar{transform:rotate(36deg)}.googlesitekit-percentage-circle--percent-11 .googlesitekit-percentage-circle__bar{transform:rotate(39.6deg)}.googlesitekit-percentage-circle--percent-12 .googlesitekit-percentage-circle__bar{transform:rotate(43.2deg)}.googlesitekit-percentage-circle--percent-13 .googlesitekit-percentage-circle__bar{transform:rotate(46.8deg)}.googlesitekit-percentage-circle--percent-14 .googlesitekit-percentage-circle__bar{transform:rotate(50.4deg)}.googlesitekit-percentage-circle--percent-15 .googlesitekit-percentage-circle__bar{transform:rotate(54deg)}.googlesitekit-percentage-circle--percent-16 .googlesitekit-percentage-circle__bar{transform:rotate(57.6deg)}.googlesitekit-percentage-circle--percent-17 .googlesitekit-percentage-circle__bar{transform:rotate(61.2deg)}.googlesitekit-percentage-circle--percent-18 .googlesitekit-percentage-circle__bar{transform:rotate(64.8deg)}.googlesitekit-percentage-circle--percent-19 .googlesitekit-percentage-circle__bar{transform:rotate(68.4deg)}.googlesitekit-percentage-circle--percent-20 .googlesitekit-percentage-circle__bar{transform:rotate(72deg)}.googlesitekit-percentage-circle--percent-21 .googlesitekit-percentage-circle__bar{transform:rotate(75.6deg)}.googlesitekit-percentage-circle--percent-22 .googlesitekit-percentage-circle__bar{transform:rotate(79.2deg)}.googlesitekit-percentage-circle--percent-23 .googlesitekit-percentage-circle__bar{transform:rotate(82.8deg)}.googlesitekit-percentage-circle--percent-24 .googlesitekit-percentage-circle__bar{transform:rotate(86.4deg)}.googlesitekit-percentage-circle--percent-25 .googlesitekit-percentage-circle__bar{transform:rotate(90deg)}.googlesitekit-percentage-circle--percent-26 .googlesitekit-percentage-circle__bar{transform:rotate(93.6deg)}.googlesitekit-percentage-circle--percent-27 .googlesitekit-percentage-circle__bar{transform:rotate(97.2deg)}.googlesitekit-percentage-circle--percent-28 .googlesitekit-percentage-circle__bar{transform:rotate(100.8deg)}.googlesitekit-percentage-circle--percent-29 .googlesitekit-percentage-circle__bar{transform:rotate(104.4deg)}.googlesitekit-percentage-circle--percent-30 .googlesitekit-percentage-circle__bar{transform:rotate(108deg)}.googlesitekit-percentage-circle--percent-31 .googlesitekit-percentage-circle__bar{transform:rotate(111.6deg)}.googlesitekit-percentage-circle--percent-32 .googlesitekit-percentage-circle__bar{transform:rotate(115.2deg)}.googlesitekit-percentage-circle--percent-33 .googlesitekit-percentage-circle__bar{transform:rotate(118.8deg)}.googlesitekit-percentage-circle--percent-34 .googlesitekit-percentage-circle__bar{transform:rotate(122.4deg)}.googlesitekit-percentage-circle--percent-35 .googlesitekit-percentage-circle__bar{transform:rotate(126deg)}.googlesitekit-percentage-circle--percent-36 .googlesitekit-percentage-circle__bar{transform:rotate(129.6deg)}.googlesitekit-percentage-circle--percent-37 .googlesitekit-percentage-circle__bar{transform:rotate(133.2deg)}.googlesitekit-percentage-circle--percent-38 .googlesitekit-percentage-circle__bar{transform:rotate(136.8deg)}.googlesitekit-percentage-circle--percent-39 .googlesitekit-percentage-circle__bar{transform:rotate(140.4deg)}.googlesitekit-percentage-circle--percent-40 .googlesitekit-percentage-circle__bar{transform:rotate(144deg)}.googlesitekit-percentage-circle--percent-41 .googlesitekit-percentage-circle__bar{transform:rotate(147.6deg)}.googlesitekit-percentage-circle--percent-42 .googlesitekit-percentage-circle__bar{transform:rotate(151.2deg)}.googlesitekit-percentage-circle--percent-43 .googlesitekit-percentage-circle__bar{transform:rotate(154.8deg)}.googlesitekit-percentage-circle--percent-44 .googlesitekit-percentage-circle__bar{transform:rotate(158.4deg)}.googlesitekit-percentage-circle--percent-45 .googlesitekit-percentage-circle__bar{transform:rotate(162deg)}.googlesitekit-percentage-circle--percent-46 .googlesitekit-percentage-circle__bar{transform:rotate(165.6deg)}.googlesitekit-percentage-circle--percent-47 .googlesitekit-percentage-circle__bar{transform:rotate(169.2deg)}.googlesitekit-percentage-circle--percent-48 .googlesitekit-percentage-circle__bar{transform:rotate(172.8deg)}.googlesitekit-percentage-circle--percent-49 .googlesitekit-percentage-circle__bar{transform:rotate(176.4deg)}.googlesitekit-percentage-circle--percent-50 .googlesitekit-percentage-circle__bar{transform:rotate(180deg)}.googlesitekit-percentage-circle--percent-51 .googlesitekit-percentage-circle__bar{transform:rotate(183.6deg)}.googlesitekit-percentage-circle--percent-52 .googlesitekit-percentage-circle__bar{transform:rotate(187.2deg)}.googlesitekit-percentage-circle--percent-53 .googlesitekit-percentage-circle__bar{transform:rotate(190.8deg)}.googlesitekit-percentage-circle--percent-54 .googlesitekit-percentage-circle__bar{transform:rotate(194.4deg)}.googlesitekit-percentage-circle--percent-55 .googlesitekit-percentage-circle__bar{transform:rotate(198deg)}.googlesitekit-percentage-circle--percent-56 .googlesitekit-percentage-circle__bar{transform:rotate(201.6deg)}.googlesitekit-percentage-circle--percent-57 .googlesitekit-percentage-circle__bar{transform:rotate(205.2deg)}.googlesitekit-percentage-circle--percent-58 .googlesitekit-percentage-circle__bar{transform:rotate(208.8deg)}.googlesitekit-percentage-circle--percent-59 .googlesitekit-percentage-circle__bar{transform:rotate(212.4deg)}.googlesitekit-percentage-circle--percent-60 .googlesitekit-percentage-circle__bar{transform:rotate(216deg)}.googlesitekit-percentage-circle--percent-61 .googlesitekit-percentage-circle__bar{transform:rotate(219.6deg)}.googlesitekit-percentage-circle--percent-62 .googlesitekit-percentage-circle__bar{transform:rotate(223.2deg)}.googlesitekit-percentage-circle--percent-63 .googlesitekit-percentage-circle__bar{transform:rotate(226.8deg)}.googlesitekit-percentage-circle--percent-64 .googlesitekit-percentage-circle__bar{transform:rotate(230.4deg)}.googlesitekit-percentage-circle--percent-65 .googlesitekit-percentage-circle__bar{transform:rotate(234deg)}.googlesitekit-percentage-circle--percent-66 .googlesitekit-percentage-circle__bar{transform:rotate(237.6deg)}.googlesitekit-percentage-circle--percent-67 .googlesitekit-percentage-circle__bar{transform:rotate(241.2deg)}.googlesitekit-percentage-circle--percent-68 .googlesitekit-percentage-circle__bar{transform:rotate(244.8deg)}.googlesitekit-percentage-circle--percent-69 .googlesitekit-percentage-circle__bar{transform:rotate(248.4deg)}.googlesitekit-percentage-circle--percent-70 .googlesitekit-percentage-circle__bar{transform:rotate(252deg)}.googlesitekit-percentage-circle--percent-71 .googlesitekit-percentage-circle__bar{transform:rotate(255.6deg)}.googlesitekit-percentage-circle--percent-72 .googlesitekit-percentage-circle__bar{transform:rotate(259.2deg)}.googlesitekit-percentage-circle--percent-73 .googlesitekit-percentage-circle__bar{transform:rotate(262.8deg)}.googlesitekit-percentage-circle--percent-74 .googlesitekit-percentage-circle__bar{transform:rotate(266.4deg)}.googlesitekit-percentage-circle--percent-75 .googlesitekit-percentage-circle__bar{transform:rotate(270deg)}.googlesitekit-percentage-circle--percent-76 .googlesitekit-percentage-circle__bar{transform:rotate(273.6deg)}.googlesitekit-percentage-circle--percent-77 .googlesitekit-percentage-circle__bar{transform:rotate(277.2deg)}.googlesitekit-percentage-circle--percent-78 .googlesitekit-percentage-circle__bar{transform:rotate(280.8deg)}.googlesitekit-percentage-circle--percent-79 .googlesitekit-percentage-circle__bar{transform:rotate(284.4deg)}.googlesitekit-percentage-circle--percent-80 .googlesitekit-percentage-circle__bar{transform:rotate(288deg)}.googlesitekit-percentage-circle--percent-81 .googlesitekit-percentage-circle__bar{transform:rotate(291.6deg)}.googlesitekit-percentage-circle--percent-82 .googlesitekit-percentage-circle__bar{transform:rotate(295.2deg)}.googlesitekit-percentage-circle--percent-83 .googlesitekit-percentage-circle__bar{transform:rotate(298.8deg)}.googlesitekit-percentage-circle--percent-84 .googlesitekit-percentage-circle__bar{transform:rotate(302.4deg)}.googlesitekit-percentage-circle--percent-85 .googlesitekit-percentage-circle__bar{transform:rotate(306deg)}.googlesitekit-percentage-circle--percent-86 .googlesitekit-percentage-circle__bar{transform:rotate(309.6deg)}.googlesitekit-percentage-circle--percent-87 .googlesitekit-percentage-circle__bar{transform:rotate(313.2deg)}.googlesitekit-percentage-circle--percent-88 .googlesitekit-percentage-circle__bar{transform:rotate(316.8deg)}.googlesitekit-percentage-circle--percent-89 .googlesitekit-percentage-circle__bar{transform:rotate(320.4deg)}.googlesitekit-percentage-circle--percent-90 .googlesitekit-percentage-circle__bar{transform:rotate(324deg)}.googlesitekit-percentage-circle--percent-91 .googlesitekit-percentage-circle__bar{transform:rotate(327.6deg)}.googlesitekit-percentage-circle--percent-92 .googlesitekit-percentage-circle__bar{transform:rotate(331.2deg)}.googlesitekit-percentage-circle--percent-93 .googlesitekit-percentage-circle__bar{transform:rotate(334.8deg)}.googlesitekit-percentage-circle--percent-94 .googlesitekit-percentage-circle__bar{transform:rotate(338.4deg)}.googlesitekit-percentage-circle--percent-95 .googlesitekit-percentage-circle__bar{transform:rotate(342deg)}.googlesitekit-percentage-circle--percent-96 .googlesitekit-percentage-circle__bar{transform:rotate(345.6deg)}.googlesitekit-percentage-circle--percent-97 .googlesitekit-percentage-circle__bar{transform:rotate(349.2deg)}.googlesitekit-percentage-circle--percent-98 .googlesitekit-percentage-circle__bar{transform:rotate(352.8deg)}.googlesitekit-percentage-circle--percent-99 .googlesitekit-percentage-circle__bar{transform:rotate(356.4deg)}.googlesitekit-percentage-circle--percent-100 .googlesitekit-percentage-circle__bar{transform:rotate(360deg)}.googlesitekit-percentage-circle--fast .googlesitekit-percentage-circle__bar,.googlesitekit-percentage-circle--fast .googlesitekit-percentage-circle__fill{border-color:#46732b}.googlesitekit-percentage-circle--average .googlesitekit-percentage-circle__bar,.googlesitekit-percentage-circle--average .googlesitekit-percentage-circle__fill{border-color:#895a00}.googlesitekit-percentage-circle--slow .googlesitekit-percentage-circle__bar,.googlesitekit-percentage-circle--slow .googlesitekit-percentage-circle__fill{border-color:#ac4220}.googlesitekit-post-searcher{display:flex;flex-wrap:wrap;position:relative;width:100%}.googlesitekit-post-searcher .googlesitekit-post-searcher__label{background-color:#fff;color:#5f6561;font-size:12px;left:12px;letter-spacing:.2px;padding:0 4px;position:absolute;top:-8px;z-index:4}.googlesitekit-post-searcher .googlesitekit-post-searcher__button-wrapper{flex:0 0 auto}.googlesitekit-post-searcher .googlesitekit-post-searcher__button-wrapper .googlesitekit-post-searcher__button{min-height:100%}.googlesitekit-preview-block{display:flex;flex-direction:column}.googlesitekit-preview-block--padding{padding:16px}.googlesitekit-preview-block--padding+.googlesitekit-preview-block--padding{padding-top:0}@media(min-width: 960px){.googlesitekit-preview-block--padding{padding:24px}}.googlesitekit-preview-block__wrapper{animation:googlesitekit-pulse 1s infinite ease-in-out;animation-direction:alternate;flex:1 1 auto}@media(prefers-reduced-motion: reduce){.googlesitekit-preview-block__wrapper{animation:none;background-image:linear-gradient(150deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15))}}.googlesitekit-preview-block__wrapper--circle{border-radius:50%}@keyframes googlesitekit-pulse{0%{background-color:#ebeef0}100%{background-color:#cbd0d3}}.googlesitekit-preview-table{width:100%}.googlesitekit-preview-table .googlesitekit-preview-table__row{margin:0 0 9px}.googlesitekit-preview-table .googlesitekit-preview-table__row:last-child{margin-bottom:0}.googlesitekit-preview-table--padding{padding:16px}.googlesitekit-preview-table--padding+.googlesitekit-preview-table--padding{padding-top:0}@media(min-width: 960px){.googlesitekit-preview-table--padding{padding:24px}}.googlesitekit-progress-segments{background-color:#fff;border-radius:4px;display:flex;gap:4px;height:8px;justify-content:space-between;overflow:hidden}.googlesitekit-progress-segments .googlesitekit-progress-segments__segment{background-color:#ebeef0;height:8px;width:100%}.googlesitekit-progress-segments .googlesitekit-progress-segments__segment--active:nth-child(3n-2){background-color:#b8e5ca}.googlesitekit-progress-segments .googlesitekit-progress-segments__segment--active:nth-child(3n-1){background-color:#77ad8c}.googlesitekit-progress-segments .googlesitekit-progress-segments__segment--active:nth-child(3n){background-color:#3c7251}.googlesitekit-publisher-win{background:#fff;display:flex;flex-direction:column;opacity:1;position:relative;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:visible}@media(min-width: 600px){.googlesitekit-publisher-win{padding-left:10px;padding-right:10px}}@media(min-width: 600px){.googlesitekit-publisher-win{flex-direction:row}.googlesitekit-publisher-win .googlesitekit-publisher-win__secondary-pane-divider{height:106px;margin:auto 30px}}.googlesitekit-publisher-win .mdc-layout-grid{flex:1 1 0}.googlesitekit-publisher-win+.googlesitekit-publisher-win{display:none}.googlesitekit-publisher-win .googlesitekit-publisher-win__image-smaller svg{max-height:105px;width:100%}.googlesitekit-publisher-win .googlesitekit-publisher-win__title{flex:1;margin:0}.googlesitekit-publisher-win .googlesitekit-publisher-win__title .googlesitekit-badge{margin-left:8px}.googlesitekit-publisher-win .googlesitekit-publisher-win__title .googlesitekit-publisher-win__image-smaller{flex-basis:75px}.googlesitekit-publisher-win .googlesitekit-publisher-win__desc{max-width:700px}.googlesitekit-publisher-win .googlesitekit-publisher-win__desc:first-child>*:first-child{margin-top:0}.googlesitekit-publisher-win .googlesitekit-publisher-win__small-image{max-width:100%}.googlesitekit-publisher-win .googlesitekit-publisher-win__icons{display:flex;height:100%;justify-content:right}@media(min-width: 960px){.googlesitekit-publisher-win .googlesitekit-publisher-win__icons{right:calc(24px * 2)}}.googlesitekit-publisher-win .googlesitekit-publisher-win__image{align-self:center}.googlesitekit-publisher-win .googlesitekit-publisher-win__image-large{margin-bottom:24px;text-align:center}@media(min-width: 600px){.googlesitekit-publisher-win .googlesitekit-publisher-win__image-large{text-align:left}}@media(min-width: 960px){.googlesitekit-publisher-win .googlesitekit-publisher-win__image-large{text-align:center}}.googlesitekit-publisher-win .googlesitekit-publisher-win__image-large img{display:inline-block;max-width:100%}@media(max-width: 599px),(min-width: 960px){.googlesitekit-publisher-win .googlesitekit-publisher-win__image-large svg{width:200px}}.googlesitekit-publisher-win .googlesitekit-publisher-win__link a{font-size:16px;letter-spacing:.5px}.googlesitekit-publisher-win .googlesitekit-publisher-win__stats{margin-bottom:24px}.googlesitekit-publisher-win .googlesitekit-button-icon--spinner+.googlesitekit-cta-link{text-align:center}.googlesitekit-publisher-win .googlesitekit-publisher-win__logo{display:inline-block;line-height:0;margin-right:5px;vertical-align:bottom}.googlesitekit-publisher-win .googlesitekit-publisher-win__module-name{display:inline-block;font-size:12px;letter-spacing:.2px;line-height:1;margin-bottom:-1px;vertical-align:bottom}.googlesitekit-publisher-win .googlesitekit-publisher-win__small-media svg{max-height:85px;max-width:85px}.googlesitekit-publisher-win .googlesitekit-publisher-win__actions{display:flex;gap:8px}.googlesitekit-publisher-win .googlesitekit-publisher-win__title-image-wrapper{display:flex;flex-wrap:nowrap;gap:16px}.googlesitekit-publisher-win .googlesitekit-publisher-win__title-image-wrapper+.googlesitekit-cta-link,.googlesitekit-publisher-win .googlesitekit-publisher-win__title-image-wrapper+.googlesitekit-publisher-win__actions{margin-top:16px}@media(min-width: 960px){.googlesitekit-publisher-win .googlesitekit-publisher-win__title-image-wrapper+.googlesitekit-cta-link,.googlesitekit-publisher-win .googlesitekit-publisher-win__title-image-wrapper+.googlesitekit-publisher-win__actions{margin-top:24px}}.googlesitekit-publisher-win .googlesitekit-publisher-win__image-larger svg{display:block}.googlesitekit-publisher-win.googlesitekit-publisher-win--rounded{border-radius:24px}.googlesitekit-publisher-win--win-warning{border-right:4px solid #895a00}.googlesitekit-publisher-win--win-warning .googlesitekit-publisher-win__icons{color:#895a00}.googlesitekit-publisher-win--win-error{border-right:4px solid #ac4220}.googlesitekit-publisher-win--win-error .googlesitekit-publisher-win__icons{color:#cc6240}.googlesitekit-publisher-win--is-closed{opacity:0;visibility:hidden}.googlesitekit-selection-box{border-bottom:2px solid #dee3e5;outline:1px solid #fff;outline-offset:-1px;padding:6px 10px 6px 7px}.googlesitekit-selection-box .mdc-form-field{align-items:flex-start}.googlesitekit-selection-box .mdc-checkbox__content{padding-top:9px}.googlesitekit-selection-box .mdc-checkbox__content:has(.googlesitekit-badge){padding-top:8px}.googlesitekit-selection-box label{cursor:pointer;font-size:14px;font-weight:500;line-height:1.43;position:relative}.googlesitekit-selection-box label:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-selection-box label:focus{outline-offset:0}.googlesitekit-selection-box .mdc-checkbox__description{color:#6c726e;font-size:12px;line-height:1.33;padding:7px 0 5px}.googlesitekit-selection-box+.googlesitekit-selection-box{margin-top:16px}.googlesitekit-selection-box.googlesitekit-selection-box--disabled label,.googlesitekit-selection-box.googlesitekit-selection-box--disabled .mdc-checkbox__description{color:rgba(3,14,7,.32);pointer-events:none}.googlesitekit-plugin .googlesitekit-selection-panel{display:flex;flex-direction:column}.googlesitekit-plugin .googlesitekit-selection-panel-header{padding:16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-selection-panel-header{padding:24px}}.googlesitekit-plugin .googlesitekit-selection-panel-header h3{margin:0}.googlesitekit-plugin .googlesitekit-selection-panel-header p{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:12px 0 0}.googlesitekit-plugin .googlesitekit-selection-panel-header__row{align-items:center;display:flex;justify-content:space-between}.googlesitekit-plugin .googlesitekit-selection-panel-header__close{color:#6c726e;display:flex;padding:8px}.googlesitekit-plugin .googlesitekit-selection-panel__loading{border-bottom:2px solid #ebeef0;display:flex;justify-content:space-between;margin:8px 24px 10px;padding:6px 0}.googlesitekit-plugin .googlesitekit-selection-panel__loading:last-child{border:none}.googlesitekit-plugin .googlesitekit-selection-panel__loading-item{margin:0 0 10px}.googlesitekit-plugin .googlesitekit-selection-panel-items{overflow:auto}.googlesitekit-plugin .googlesitekit-selection-panel-items .googlesitekit-selection-panel-items__subheading{color:#6c726e;font-size:12px;font-weight:500;line-height:1.33;margin:16px 0 0 16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-selection-panel-items .googlesitekit-selection-panel-items__subheading{margin:24px 0 0 24px}}.googlesitekit-plugin .googlesitekit-selection-panel-items .googlesitekit-selection-panel-items__subheading:first-child{margin:0 0 0 16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-selection-panel-items .googlesitekit-selection-panel-items__subheading:first-child{margin:0 0 0 24px}}.googlesitekit-plugin .googlesitekit-selection-panel-item{border-bottom:2px solid #dee3e5;display:flex;margin:0 24px;outline:1px solid #fff;outline-offset:-1px}.googlesitekit-plugin .googlesitekit-selection-panel-item:last-child{border:none}.googlesitekit-plugin .googlesitekit-selection-panel-item .googlesitekit-selection-panel-item-error{color:#ac4220;padding-top:10px}.googlesitekit-plugin .googlesitekit-selection-panel-item .googlesitekit-selection-box{border:none;flex:1;outline:none}.googlesitekit-plugin .googlesitekit-selection-panel-item .googlesitekit-selection-panel-item__subtitle{color:#161b18;display:block;font-size:12px;letter-spacing:.2px;line-height:1.33;margin-bottom:6px}.googlesitekit-plugin .googlesitekit-selection-panel-item .googlesitekit-selection-panel-item__suffix{color:#161b18;font-size:14px;font-weight:500;line-height:1.43;padding:15px 10px}.googlesitekit-plugin .googlesitekit-selection-panel-notice{background-color:#ffe4b1;padding:16px 24px}.googlesitekit-plugin .googlesitekit-selection-panel-notice p{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-selection-panel-footer{background-color:#f3f5f7;margin-top:auto;padding:12px 24px 24px;width:100%}.googlesitekit-plugin .googlesitekit-selection-panel-footer p{font-size:12px;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-selection-panel-footer .googlesitekit-error-text p{font-size:14px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-selection-panel-footer__content{align-items:center;column-gap:24px;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:12px}}.googlesitekit-plugin .googlesitekit-selection-panel-footer__item-count{font-weight:500}.googlesitekit-plugin .googlesitekit-selection-panel-footer__item-count .googlesitekit-selection-panel-footer__item-count--max-count{color:#6c726e;font-weight:400}.googlesitekit-plugin .googlesitekit-selection-panel-footer__actions{align-items:center;column-gap:8px;display:flex;justify-content:flex-end}.googlesitekit-plugin .googlesitekit-selection-panel-footer__actions .googlesitekit-cta-link{color:#6c726e}.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button{background-color:transparent;box-shadow:none;color:#6c726e}.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:focus,.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:hover{background-color:#f8fafb;color:rgba(0,0,0,.87)}.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:focus::before,.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:focus::after,.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:hover::before,.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:hover::after{background-color:rgba(0,0,0,.87)}.googlesitekit-plugin .googlesitekit-sharing-settings__button.mdc-button:hover::before{opacity:.04}.googlesitekit-plugin .googlesitekit-sharing-settings-dialog .googlesitekit-dialog__content{padding-bottom:0}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-sharing-settings-dialog .googlesitekit-dialog__footer{border-color:transparent;box-shadow:none;padding:0}}.googlesitekit-plugin .googlesitekit-user-role-select{align-items:center;column-gap:12px;display:flex;flex-wrap:wrap;position:relative;row-gap:4px}.googlesitekit-plugin .googlesitekit-user-role-select__button{border:1px solid #3c7251;border-radius:50%;box-shadow:none;color:#3c7251;display:flex;height:48px;min-height:auto;min-width:auto;padding:0;width:48px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-role-select__button{height:28px;width:28px}}.googlesitekit-plugin .googlesitekit-user-role-select__button:not(:disabled){background-color:#fff;color:#3c7251}.googlesitekit-plugin .googlesitekit-user-role-select__button svg{fill:#3c7251}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-role-select__button svg{height:14px;width:14px}}.googlesitekit-plugin .googlesitekit-user-role-select--open{align-items:flex-start;row-gap:8px}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings{color:#161b18;font-size:14px;line-height:1.14}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__header{align-items:flex-start;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.14}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--product{flex:0 0 50%}@media(max-width: 960px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--product svg{height:28px;width:28px}}.googlesitekit-plugin .googlesitekit-user-role-select__current-roles{color:#333935;display:block;font-size:14px;line-height:1.14}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-role-select__current-roles{flex:1}}.googlesitekit-plugin .googlesitekit-user-role-select__add-roles{display:block}.googlesitekit-plugin .googlesitekit-user-role-select__add-roles button{color:#999f9b;font-size:14px;font-weight:400;line-height:1.14}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--view{flex:1 1 30%;position:relative}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--view{align-items:center;display:flex;flex:1 1 45%}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--view .googlesitekit-warning-notice{margin-right:24px;padding:8px 16px}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--view .googlesitekit-warning-notice .googlesitekit-cta-link{font-weight:400;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row{display:flex;flex-wrap:nowrap;gap:16px;position:relative}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row--disabled::after{background-color:rgba(255,255,255,.6);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row--editing{flex-direction:column}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row--editing{align-items:flex-start;flex-direction:row}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row--editing .googlesitekit-dashboard-sharing-settings__column--product{min-height:48px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__row--editing .googlesitekit-dashboard-sharing-settings__column--product{min-height:28px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__module{border-bottom:1px solid #ebeef0;padding:16px 0}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__module:last-child{border-bottom:0}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__module .googlesitekit-dashboard-sharing-settings__column--product{align-items:center;display:flex;flex-flow:row nowrap;gap:12px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__module .googlesitekit-dashboard-sharing-settings__column--product{align-items:center;flex-flow:row nowrap;gap:16px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__module-name{flex:1}.googlesitekit-plugin p.googlesitekit-dashboard-sharing-settings__note{color:#757575;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select{height:48px;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select{height:30px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select .mdc-select__selected-text{min-width:100px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select .mdc-select__selected-text{min-width:140px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select .mdc-select__native-control{appearance:none;background:none;font-size:14px;height:48px !important;padding-bottom:0;padding-top:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select .mdc-select__native-control{height:30px !important;min-height:30px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__select .mdc-select__dropdown-icon{bottom:auto;top:50%;transform:translateY(-50%)}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage{flex:1 1 45%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage{align-items:center;display:flex;flex:0 0 30%}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage .googlesitekit-dashboard-sharing-settings__note{align-items:flex-end;display:flex;flex-wrap:wrap;font-size:12px;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage .googlesitekit-dashboard-sharing-settings__note span:not(.googlesitekit-dashboard-sharing-settings__tooltip-icon){width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage .googlesitekit-dashboard-sharing-settings__note span:not(.googlesitekit-dashboard-sharing-settings__tooltip-icon){margin-right:4px;width:auto}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage .googlesitekit-dashboard-sharing-settings__note svg{fill:#757575}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__column--manage .googlesitekit-dashboard-sharing-settings__tooltip-icon{display:block;height:18px;line-height:1;margin:0 0 0 4px}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer{display:flex;flex-basis:100%;flex-direction:column;gap:24px;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer{align-items:center;display:flex;flex-direction:row;gap:32px;justify-content:flex-end;width:auto}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer-notice{margin:-0.625rem 0}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer-notice{padding:16px 16px 0}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer-actions{align-items:center;display:flex;flex:1;flex-direction:row;gap:32px;justify-content:flex-end}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer-actions{box-shadow:0 -1px 4px 2px rgba(60,64,67,.15);padding:16px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings__footer-actions-right{align-items:center;display:flex;flex:1;flex-direction:row;gap:32px;grid-gap:32px;justify-content:flex-end}.googlesitekit-plugin p.googlesitekit-dashboard-sharing-settings__notice{background-color:#cbd0d3;border-radius:8px;color:#161b18;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0;padding:12px 24px;width:100%}@media(min-width: 600px){.googlesitekit-plugin p.googlesitekit-dashboard-sharing-settings__notice{padding:8px}}.googlesitekit-plugin p.googlesitekit-dashboard-sharing-settings__notice:empty{display:none}.googlesitekit-plugin .googlesitekit-user-role-select__chipset{display:flex;flex-wrap:wrap;gap:8px;padding:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-role-select__chipset{flex:1;gap:10px}}.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings--has-multiple-admins .googlesitekit-dashboard-sharing-settings__column--product{align-items:flex-start;flex-basis:25%;flex-direction:column;max-width:25%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-dashboard-sharing-settings--has-multiple-admins .googlesitekit-dashboard-sharing-settings__column--product{align-items:center;flex-direction:row;max-width:none}}.googlesitekit-plugin .googlesitekit-side-sheet{background-color:#fff;bottom:0;overflow:hidden;position:fixed;right:0;top:0;transform:translateX(100%);transition:transform .5s;width:100%;z-index:10000}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-side-sheet{width:530px}}body.admin-bar .googlesitekit-plugin .googlesitekit-side-sheet{top:46px}@media(min-width: 783px){body.admin-bar .googlesitekit-plugin .googlesitekit-side-sheet{top:32px}}.googlesitekit-plugin .googlesitekit-side-sheet--open{transform:translateX(0)}.googlesitekit-plugin .googlesitekit-side-sheet-overlay{background-color:rgba(0,0,0,.6);height:100%;left:0;position:fixed;top:0;width:100%;z-index:9990}body.googlesitekit-side-sheet-scroll-lock{overflow:hidden}.googlesitekit-source-link{color:#6c726e;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1}.googlesitekit-plugin .googlesitekit-stepper{list-style:none;margin:0;padding:0}.googlesitekit-plugin .googlesitekit-stepper__step{gap:10px;margin:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-stepper__step{display:flex}}.googlesitekit-plugin .googlesitekit-stepper__step-progress{display:flex;flex-direction:column}.googlesitekit-plugin .googlesitekit-stepper__step-number{align-items:center;background-color:#161b18;border-radius:12px;color:#fff;display:flex;font-size:12px;height:24px;justify-content:center;width:24px}.googlesitekit-plugin .googlesitekit-stepper__step-progress-line{background-color:#cbd0d3;display:none;flex:1;height:100%;margin:5px auto;min-height:30px;width:1px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-stepper__step-progress-line{display:block}}.googlesitekit-plugin .googlesitekit-stepper__step-title{align-items:center;color:#161b18;display:flex;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;height:24px;line-height:1.25}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-stepper__step-title{margin:0}}.googlesitekit-plugin .googlesitekit-stepper__step-content-container{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out;visibility:hidden}.googlesitekit-plugin .googlesitekit-stepper__step-content{overflow:hidden}.googlesitekit-plugin .googlesitekit-stepper__step--upcoming .googlesitekit-stepper__step-number{background-color:#6c726e}.googlesitekit-plugin .googlesitekit-stepper__step--upcoming .googlesitekit-stepper__step-title{color:#6c726e}.googlesitekit-plugin .googlesitekit-stepper__step--active .googlesitekit-stepper__step-content-container{grid-template-rows:1fr;margin-bottom:24px;visibility:visible}.googlesitekit-plugin .googlesitekit-stepper__step--completed .googlesitekit-stepper__step-number{color:#fff}.googlesitekit-plugin .googlesitekit-stepper__step--completed .googlesitekit-stepper__step-number svg{height:10px;width:10px}.googlesitekit-plugin .googlesitekit-stepper__step:last-child .googlesitekit-stepper__step-content-container{margin-bottom:0}.googlesitekit-plugin .googlesitekit-tab-bar__settings{margin:0 -16px;width:calc(100% + (16px * 2))}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-tab-bar__settings{margin:0;width:100%}}.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-tab-scroller__scroll-content{gap:1px}.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-tab{background-color:#fff;color:#161b18;font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-tab:first-child{border-radius:16px 0 0 16px;overflow:hidden}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-tab:last-child{border-radius:0 16px 16px 0;overflow:hidden}}.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-ripple-upgraded--background-focused::after{background-color:#fff}.googlesitekit-plugin .googlesitekit-tab-bar__settings .mdc-tab__text-label{color:#161b18;opacity:1}.googlesitekit-table{counter-reset:table;font-size:14px;letter-spacing:.25px;padding:16px;position:relative}@media(min-width: 960px){.googlesitekit-table{padding:24px}}.googlesitekit-alltraffic-widget .googlesitekit-table,.googlesitekit-wp-dashboard .googlesitekit-table{padding:0}.googlesitekit-table .googlesitekit-table__wrapper{border-collapse:collapse;table-layout:fixed;width:100%}@media(max-width: 599px){.googlesitekit-table .googlesitekit-table__wrapper.googlesitekit-table__wrapper--mobile-2-col .googlesitekit-table__head-item--primary{width:75%}}.googlesitekit-table .googlesitekit-table__head-row{border-bottom:1px solid #ebeef0}.googlesitekit-table .googlesitekit-table__head-item{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;hyphens:auto;line-height:1.25;outline:0;padding:0 4px 8px 4px;position:relative;text-align:right;-webkit-text-decoration:none;text-decoration:none;white-space:normal}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__head-item{padding:0 8px 8px 8px}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item{padding:0 12px 12px 12px}}.googlesitekit-table .googlesitekit-table__head-item:first-child{padding-left:0;text-align:left}.googlesitekit-table .googlesitekit-table__head-item:last-child{padding-right:0}.googlesitekit-widget--with-header .googlesitekit-table .googlesitekit-table__head-item{font-size:14px;line-height:1.14}.googlesitekit-table-overflow .googlesitekit-table .googlesitekit-table__head-item:last-child{padding-right:0}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item[data-tooltip]::before{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;content:attr(data-tooltip);display:none;font-size:12px;letter-spacing:.2px;max-width:250px;opacity:0;padding:calc(16px / 2) 24px;pointer-events:none;position:absolute;right:0;text-align:center;top:100%;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item:first-child[data-tooltip]::before{left:0}}.googlesitekit-table .googlesitekit-table__head-item--primary{width:50%}.googlesitekit-table .googlesitekit-table__wrapper--2-col .googlesitekit-table__head-item--primary{width:75%}.googlesitekit-table .googlesitekit-table__body{color:#161b18;font-weight:400}.googlesitekit-table .googlesitekit-table__body-row{border-bottom:1px solid #ebeef0}.googlesitekit-table .googlesitekit-table__body-row--no-data td{white-space:normal}.googlesitekit-table .googlesitekit-table__body-item{padding:8px 4px;text-align:right}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__body-item{padding:8px}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__body-item{padding:12px}}.googlesitekit-table .googlesitekit-table__body-item:first-child{padding-left:0;text-align:left}.googlesitekit-table .googlesitekit-table__body-item:last-child{padding-right:0}.googlesitekit-table .googlesitekit-table__body-item .googlesitekit-mini-chart{display:none}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__body-item .googlesitekit-mini-chart{display:block}}.googlesitekit-table-overflow .googlesitekit-table .googlesitekit-table__body-item:last-child{padding-right:0}@media(max-width: 600px){.googlesitekit-table .googlesitekit-table__body-item-content .googlesitekit-cta-link,.googlesitekit-table .googlesitekit-table__body-item-content>span{display:block;overflow:hidden;text-overflow:ellipsis}}.googlesitekit-wp-dashboard .googlesitekit-table .googlesitekit-table__body-item-link{background-image:none}.googlesitekit-table .googlesitekit-table__body-item-url{background-image:none;display:block;font-size:12px;letter-spacing:.2px;word-break:break-word}.googlesitekit-table .googlesitekit-table__body-item-chart-wrap{align-items:center;display:flex;justify-content:flex-end}.googlesitekit-table .googlesitekit-table__source{margin-top:16px}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__source{margin-top:24px}}.googlesitekit-table--with-list .googlesitekit-table__body-row{transition:background-color .2s ease-in-out}.googlesitekit-table--with-list .googlesitekit-table__body-row:last-child{border-bottom:0}.googlesitekit-table--with-list .googlesitekit-table__body-row:hover{background-color:rgba(51,57,53,.05)}.googlesitekit-table--with-list .googlesitekit-table__body-row--no-data:hover{background-color:transparent}.googlesitekit-table--with-list .googlesitekit-table__body-item:first-child .googlesitekit-table__body-item-content{margin-left:24px;position:relative}.googlesitekit-table--with-list .googlesitekit-table__body-item:first-child .googlesitekit-table__body-item-content::before{content:counter(table) ".";counter-increment:table;left:-24px;position:absolute}.googlesitekit-table--gathering-data{padding-bottom:0}.googlesitekit-table-overflow{position:relative}@media(max-width: 600px){.googlesitekit-table-overflow::after{background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 85%, white 100%);bottom:0;content:"";display:block;pointer-events:none;position:absolute;right:0;top:0;transition:all .2s ease-in-out;width:0}}.googlesitekit-table-overflow .googlesitekit-table-overflow__container{overflow-x:auto;white-space:nowrap}@media(min-width: 600px){.googlesitekit-table-overflow .googlesitekit-table-overflow__container{overflow-x:visible;white-space:normal}}@media(max-width: 600px){.googlesitekit-table-overflow--gradient::after{width:15%}}.googlesitekit-plugin .googlesitekit-text-field-icon--warning,.googlesitekit-plugin .googlesitekit-text-field-icon--error{align-items:center;border-radius:50%;display:flex;height:22px;justify-content:center;width:22px}.googlesitekit-plugin .googlesitekit-text-field-icon--warning svg,.googlesitekit-plugin .googlesitekit-text-field-icon--error svg{color:#fff;margin-bottom:3px}.googlesitekit-plugin .googlesitekit-text-field-icon--warning{background-color:#895a00}.googlesitekit-plugin .googlesitekit-text-field-icon--error{background-color:#ac4220}.googlesitekit-tooltip-popper.MuiTooltip-popper{z-index:99999}.googlesitekit-tooltip.MuiTooltip-tooltip{background-color:#161b18;border-radius:32px;color:#ebeef0;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;padding:14.5px 19px}.googlesitekit-tooltip .MuiTooltip-arrow{color:#161b18}.googlesitekit--has-visible-tooltip #adminmenuwrap{z-index:10}.googlesitekit-plugin .googlesitekit-analytics-usesnippet p,.googlesitekit-plugin .googlesitekit-tagmanager-usesnippet p{font-size:12px;letter-spacing:.2px}.googlesitekit-plugin .googlesitekit-header .googlesitekit-user-selector{margin-right:-4px}@media(max-width: 783px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-user-selector .mdc-button__label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}}@media(max-width: 783px){.googlesitekit-plugin .googlesitekit-header .googlesitekit-user-selector .mdc-button__icon{margin-right:0}}.googlesitekit-plugin .googlesitekit-header .googlesitekit-user-selector button{padding:4px}.googlesitekit-plugin .googlesitekit-user-menu{background-color:#f3f5f7;border-radius:24px;max-width:335px;width:calc(100vw - 32px)}.googlesitekit-plugin .googlesitekit-user-menu .mdc-list{padding-bottom:0}.googlesitekit-plugin .googlesitekit-user-menu li{margin:0;padding:0 8px}.googlesitekit-plugin .googlesitekit-user-menu .mdc-list-item,.googlesitekit-plugin .googlesitekit-user-menu .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-user-menu .googlesitekit-view-only-menu__list-item{padding:0 7.16% 0 14.33%}.googlesitekit-plugin .googlesitekit-user-menu__item{align-items:center;column-gap:30px;display:flex;width:100%}.googlesitekit-plugin .googlesitekit-user-menu__item-icon{display:flex}.googlesitekit-plugin .googlesitekit-user-menu__item-label{color:#161b18;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.googlesitekit-plugin .googlesitekit-user-menu__details{align-items:center;background-color:#fff;border-radius:24px;column-gap:14px;display:flex;padding:16px;width:100%}.googlesitekit-plugin .googlesitekit-user-menu__details-avatar{border:1px solid rgba(32,33,36,.13);border-radius:50%;height:64px;width:64px}.googlesitekit-plugin .googlesitekit-user-menu__details-info{overflow:hidden}.googlesitekit-plugin .googlesitekit-user-menu__details-info p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.googlesitekit-plugin .googlesitekit-user-menu__details-info__name{color:#161b18;font-weight:500;line-height:1.43}.googlesitekit-plugin .googlesitekit-user-menu__details-info__email{color:#6c726e;font-size:12px;line-height:1.33}.googlesitekit-plugin .googlesitekit-view-only-menu h4{font-size:16px;letter-spacing:.5px;margin:15px 0}.googlesitekit-plugin .googlesitekit-view-only-menu p{color:#161b18;font-size:14px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-button--dropdown .mdc-button__icon{margin-right:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-button--dropdown .mdc-button__icon{height:16px;margin-right:8px;width:16px}}.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-button--dropdown .mdc-button__icon--image{height:inherit;width:inherit}.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-menu{width:320px}.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-list-divider{margin:8px 32px 4px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item{display:block;height:auto;padding:0 32px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__list-item:last-child{margin-bottom:5px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__description p{margin-bottom:8px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__description .mdc-button{margin:6px 0 9px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__service{display:flex;gap:8px;margin-bottom:10px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__service svg{padding:2px;width:24px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__service--icon{flex:0 0 24px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__service--name{font-size:14px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-view-only-menu .googlesitekit-view-only-menu__service--owner{color:#161b18;flex:1;font-size:12px;letter-spacing:.2px;margin-left:auto;overflow:hidden;text-overflow:ellipsis}.googlesitekit-plugin .googlesitekit-view-only-menu--user-can-authenticate .googlesitekit-view-only-menu__service--name{flex:0 0 100px;margin-right:8px}.googlesitekit-warning-notice{background-color:#ffe4b1;border-radius:8px;color:#4e3300;font-size:12px;letter-spacing:.2px;line-height:1.33;padding:14px 24px}.googlesitekit-warning-notice .googlesitekit-cta-link{color:#4e3300;font-weight:500}.googlesitekit-warning-notice .googlesitekit-cta-link svg{fill:none}.googlesitekit-signin-box{background-color:#fff;border-color:#b8bdb9;display:block;margin:20px auto;padding:20px;text-align:center}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__chart-zero-data{align-items:center;display:flex;justify-content:center;min-height:368px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__chart-zero-data>svg{color:#cbd0d3;height:300px;width:300px}.googlesitekit-plugin .googlesitekit-adsense-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-analytics-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-search-console-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .google-visualization-tooltip{border-color:#b8bdb9;border-radius:8px;box-shadow:none;height:auto !important;width:auto !important;z-index:8}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip{padding:0 1em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip em{font-style:normal;font-weight:700}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip strong{color:#000;margin:0 .25em 0 1em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip p{font-size:14px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip svg{margin-right:.25em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip--up em{color:#46732b}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip--down em{color:#ac4220}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip-others em{display:none}.googlesitekit-dashboard-module-header{margin:0 0 -5px}@media(min-width: 960px){.googlesitekit-dashboard-module-header{margin-bottom:-10px}}.googlesitekit-dashboard-module-header .googlesitekit-dashboard-module-header__title{color:#5f6561;margin:0}.googlesitekit-dashboard-module-header .googlesitekit-dashboard-module-header__description{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-dashboard-module-header .googlesitekit-dashboard-module-header__time{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-entity-dashboard .googlesitekit-entity-dashboard__heading{margin:10px 0 0}@media(min-width: 961px){.googlesitekit-entity-dashboard .googlesitekit-entity-dashboard__entity-header{margin-top:var(--mdc-layout-grid-gutter-desktop, 24px)}}@media(min-width: 601px)and (max-width: 960px){.googlesitekit-entity-dashboard .googlesitekit-entity-dashboard__entity-header{margin-top:var(--mdc-layout-grid-gutter-tablet, 16px)}}@media(max-width: 600px){.googlesitekit-entity-dashboard .googlesitekit-entity-dashboard__entity-header{margin-top:var(--mdc-layout-grid-gutter-phone, 16px)}}.googlesitekit-entity-dashboard .googlesitekit-entity-dashboard__title{margin:0 0 10px}.googlesitekit-plugin .googlesitekit-lean-cta-banner{display:flex;flex-direction:column}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-lean-cta-banner{align-items:center;flex:1;flex-direction:row;padding-inline:36px}}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body{display:flex;flex-direction:column;padding-block:20px;padding-inline:16px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body{align-items:center;flex-direction:row;padding-inline:24px}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body{flex:0 1 auto;margin-right:24px;padding:0}}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body .googlesitekit-lean-cta-banner__body-icon{display:flex;margin-bottom:6px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body .googlesitekit-lean-cta-banner__body-icon{justify-content:right;margin-bottom:0}}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body .googlesitekit-lean-cta-banner__body-content p{margin:0 0 4px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body .googlesitekit-lean-cta-banner__body-content{margin-left:20px}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__body .googlesitekit-lean-cta-banner__body-content{margin-left:24px}}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__graphic{display:flex;justify-content:center;padding-inline:24px}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__graphic svg{max-height:128px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__graphic{padding-inline:0}.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__graphic svg{height:150px;max-height:unset}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-lean-cta-banner .googlesitekit-lean-cta-banner__graphic{flex:1 1 auto}}.googlesitekit-pagespeed-widget .googlesitekit-cta-link{font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1.43;white-space:nowrap}.googlesitekit-pagespeed-widget .googlesitekit-table{border-spacing:0;padding:0;width:100%}.googlesitekit-pagespeed-widget .googlesitekit-table thead{display:none}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper{position:relative}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__header{align-items:flex-end;border-bottom:1px solid #ebeef0;border-radius:16px 16px 0 0;display:flex;justify-content:space-between}@media(max-width: 599px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__header{align-items:center;flex-direction:column-reverse;justify-content:flex-end}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__data-src-tabs button.mdc-tab{margin:0 10px;text-transform:none}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__data-src-tabs button.mdc-tab .mdc-tab-indicator__content--underline{border-top-left-radius:3px;border-top-right-radius:3px;height:3px}@media(max-width: 449px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__data-src-tabs button.mdc-tab{margin:0 6px;padding:0 6px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper{padding:12px;width:auto}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics--field-data-unavailable{align-items:center;display:flex;height:auto;justify-content:center;padding:16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics--field-data-unavailable{min-height:285px;padding:24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content{display:flex;flex-direction:column;justify-content:flex-start;max-width:600px;width:75%}@media(max-width: 599px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content{width:100%}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content h3{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;line-height:1.33;margin:0 0 .25rem}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content p{font-size:14px;letter-spacing:.25px;line-height:1.43;margin:.25rem 0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content a{margin:0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer{border-top:1px solid #ebeef0;gap:16px;justify-content:flex-end;padding-top:0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer p,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer .googlesitekit-cta-link{font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;text-align:right}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer button.googlesitekit-cta-link{color:#6c726e;font-size:14px;font-weight:500;line-height:1.43}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer--with-action{justify-content:space-between}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer{align-items:center;display:flex;padding:18px 16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer{padding:18px 24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row p,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__footer p{color:#6c726e;letter-spacing:.25px}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row{gap:24px;justify-content:space-between}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row .googlesitekit-error-text p{color:#ac4220}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--first{padding:12px 16px 8px 16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--first{padding:18px 24px 12px 24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--single-item{flex-direction:row-reverse}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--last{padding:8px 16px 12px 16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--last{padding:12px 24px 18px 24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--hidden{visibility:hidden}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--error{align-items:flex-start;flex-direction:column;padding:12px 16px 8px 16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-report__row--error{padding:18px 24px 12px 24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations{box-shadow:inset 0 1px 0 rgba(0,0,0,.1);display:flex;flex-direction:column;padding:16px 16px 0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-pagespeed-recommendations__title{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.1px;line-height:1.25}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-accordion{border-top-left-radius:16px;border-top-right-radius:16px;color:#000}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-accordion+.googlesitekit-accordion{border-radius:0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-accordion:last-of-type{border-bottom-left-radius:16px;border-bottom-right-radius:16px}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-pagespeed-recommendations__title,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-accordion:last-child{margin-bottom:16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations{padding:24px 24px 0}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-pagespeed-recommendations__title,.googlesitekit-pagespeed-widget .googlesitekit-pagespeed--recommendations .googlesitekit-accordion:last-child{margin-bottom:24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed__recommendations-cta--hidden{visibility:hidden}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed__zero-recommendations{display:flex;justify-content:center}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed__zero-recommendations svg{max-height:150px}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper--loading .googlesitekit-pagespeed-widget__data-src-tabs{display:flex;gap:12px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper--loading .googlesitekit-pagespeed-widget__data-src-tabs{gap:20px;padding-left:24px}}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper--loading .googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper{display:flex;padding-right:24px}.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper--loading .googlesitekit-pagespeed-widget__values .googlesitekit-preview-block{padding:18px 16px}@media(min-width: 600px){.googlesitekit-pagespeed-widget .googlesitekit-pagespeed-widget__content-wrapper--loading .googlesitekit-pagespeed-widget__values .googlesitekit-preview-block{padding:18px 24px}}.googlesitekit-pagespeed-report-metric .googlesitekit-pagespeed-report-metric-value-container{align-items:flex-end;display:flex;flex-direction:column;font-size:14px;justify-content:center;letter-spacing:.25px;line-height:1.43;text-align:right}.googlesitekit-pagespeed-report-metric .googlesitekit-pagespeed-report-metric-value__display-value,.googlesitekit-pagespeed-report-metric .googlesitekit-pagespeed-report-metric-value__rating{width:auto}.googlesitekit-pagespeed-report-metric .googlesitekit-pagespeed-report-metric-value__display-value{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.25;white-space:nowrap}.googlesitekit-pagespeed-report-metric--fast{color:#46732b}.googlesitekit-pagespeed-report-metric--average{color:#895a00}.googlesitekit-pagespeed-report-metric--slow{color:#ac4220}.googlesitekit-pagespeed-report-metric__title{align-items:center;color:#161b18;column-gap:8px;display:flex;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.1px;line-height:1.25}.googlesitekit-pagespeed-report-metric__title .googlesitekit-info-tooltip{display:inline-flex}.googlesitekit-pagespeed-report-metric__badge{margin-left:6px;vertical-align:bottom}.googlesitekit-pagespeed-report-metric__hint-text{color:#6c726e;letter-spacing:.25px;line-height:1.5;margin-top:.5em}.googlesitekit-pagespeed-report__row--unavailable .googlesitekit-pagespeed-report-metric__title,.googlesitekit-pagespeed-report__row--unavailable .googlesitekit-pagespeed-report-metric__description,.googlesitekit-pagespeed-report__row--unavailable .googlesitekit-pagespeed-report-metric-value{color:#999f9b}.googlesitekit-subtle-notification{align-items:flex-start;background-color:#b8e5ca;border-radius:16px;display:flex;flex-direction:column;gap:10px;padding:16px}@media(min-width: 600px){.googlesitekit-subtle-notification{align-items:center;flex-direction:row;gap:16px;padding:18px 24px}}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__icon{display:flex}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__content{color:#265c3b;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;line-height:1.33}@media(min-width: 600px){.googlesitekit-subtle-notification .googlesitekit-subtle-notification__content{flex:1;font-size:18px}}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__content p{margin:0 0 10px}@media(min-width: 600px){.googlesitekit-subtle-notification .googlesitekit-subtle-notification__content p{margin:0}}.googlesitekit-subtle-notification .mdc-button{font-weight:500;margin:0 auto;min-height:32px;padding:6px 16px}.googlesitekit-subtle-notification .mdc-button.mdc-button--tertiary:not(:disabled){color:#265c3b}@media(min-width: 600px){.googlesitekit-subtle-notification .mdc-button{margin:0}}.googlesitekit-subtle-notification .mdc-button.mdc-button--raised{font-weight:500;padding:6px 16px}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__action{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:center;width:100%}@media(min-width: 600px){.googlesitekit-subtle-notification .googlesitekit-subtle-notification__action{justify-content:initial;width:initial}}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__action .mdc-button{margin:0}.googlesitekit-subtle-notification p.googlesitekit-subtle-notification__secondary_description{font-weight:400}.googlesitekit-subtle-notification .googlesitekit-subtle-notification__cta svg{margin-inline-start:6px}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning{background-color:#ffe4b1}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .googlesitekit-subtle-notification__icon,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .googlesitekit-subtle-notification__content{color:#4e3300}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:not(:disabled){background-color:#4e3300}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:hover::before{opacity:.08}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button.googlesitekit-subtle-notification__cta.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:not(:disabled){color:#4e3300}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(:disabled){background-color:rgba(225,177,85,.6)}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:hover::before{opacity:.04}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:hover:not(:disabled){color:#4e3300}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(:disabled),.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(:disabled){background-color:#e1b155}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(:disabled),.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active::after,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active::after,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:hover::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:hover::before{opacity:.04}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active.mdc-ripple-upgraded,.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:active:not(:disabled),.googlesitekit-subtle-notification.googlesitekit-subtle-notification--warning .mdc-button--tertiary:focus:not(:disabled){color:#4e3300}.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__primary-cell{padding:16px 16px 0}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__primary-cell{padding:24px}}.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__title{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;letter-spacing:.1px;line-height:1.25;margin:0 0 10px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__title{font-size:22px;font-weight:400;line-height:1.27}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__title{font-size:28px;font-weight:400;line-height:1.286}}.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__description p{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__description p{font-size:14px;letter-spacing:.25px;line-height:1.43}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__description p{font-size:16px;letter-spacing:.5px;line-height:1.5}}.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__actions-wrapper{align-items:center;display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner .googlesitekit-setup-cta-banner__actions-wrapper{gap:24px;margin-bottom:0}}.googlesitekit-plugin .googlesitekit-setup-cta-banner__svg-wrapper{align-items:center;display:flex;height:100%;justify-content:center;overflow:hidden;position:relative}.googlesitekit-plugin .googlesitekit-setup-cta-banner__svg-wrapper svg{max-height:136px;scale:1.26;transform-origin:center 2px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner__svg-wrapper svg{height:100%;max-height:346px;position:absolute;scale:1.31;top:18px;transform-origin:initial}}.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:20px 16px 0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:24px}}.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__cells{display:grid;grid-template-columns:1fr}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__cells{gap:48px;grid-template-columns:1fr 1fr}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:22px;font-weight:400;letter-spacing:0;line-height:1.27}}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:28px;line-height:1.286}}.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__description{letter-spacing:.2px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__description{font-size:14px;letter-spacing:.25px;line-height:1.43}}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__description{letter-spacing:.5px}}.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper{min-height:136px}@media(min-width: 451px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper{min-height:158px}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{scale:1;top:0}}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-consent-mode-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{scale:1.31;top:18px}}.googlesitekit-wizard{padding-top:10px}@media(min-width: 600px){.googlesitekit-wizard{padding-left:10px;padding-right:10px}}.googlesitekit-wizard .googlesitekit-opt-in{margin-bottom:8px;margin-top:8px}.googlesitekit-wizard .googlesitekit-wizard__asterisk{color:#ac4220}.googlesitekit-wizard .googlesitekit-wizard__asterisk--space{margin-left:3px}.googlesitekit-wizard .googlesitekit-wizard__error-text{color:#ac4220;font-weight:500}.googlesitekit-wizard-auth{border-bottom:1px solid #ebeef0;display:flex;padding-bottom:40px}.googlesitekit-wizard-auth .googlesitekit-wizard-auth__image{border-radius:50%;display:block;flex:0 0 auto;height:32px;margin-right:16px;width:32px}@media(min-width: 600px){.googlesitekit-wizard-auth .googlesitekit-wizard-auth__image{height:64px;width:64px}}@media(min-width: 960px){.googlesitekit-wizard-auth .googlesitekit-wizard-auth__image{margin-right:24px}}.googlesitekit-wizard-auth .googlesitekit-wizard-auth__title{margin:0 0 10px}.googlesitekit-wizard-auth .googlesitekit-wizard-auth__text{margin:0}.googlesitekit-wizard-component .googlesitekit-wizard-component__title{display:inline-block;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;margin:0 0 10px}.googlesitekit-wizard-component .googlesitekit-wizard-component__logo{display:inline-block;margin:0 16px 8px 0;vertical-align:bottom}.googlesitekit-wizard-component .googlesitekit-wizard-component__logo img{display:block}.googlesitekit-wizard-component .googlesitekit-wizard-component__description{margin:0 0 17px 0}@media(min-width: 960px){.googlesitekit-wizard-component .googlesitekit-wizard-component__description{margin:0 0 29px 0}}.googlesitekit-wizard-component .googlesitekit-wizard-component__inputs{align-items:center;display:flex;flex-wrap:wrap;margin:0}.googlesitekit-wizard-component .googlesitekit-wizard-component__inputs>div{margin:16px 16px 16px 0}@media(min-width: 960px){.googlesitekit-wizard-component .googlesitekit-wizard-component__inputs>div{margin:24px 24px 24px 0}}.googlesitekit-wizard-component .googlesitekit-wizard-component__inputs--multiline{display:block}.googlesitekit-wizard-component .googlesitekit-wizard-component__inputs--multiline>div{margin:0;width:100%}.googlesitekit-wizard-component .googlesitekit-wizard-component__action{margin:24px 0 0 0}@media(min-width: 600px){.googlesitekit-wizard-component .googlesitekit-wizard-component__action{align-items:center;display:flex;justify-content:space-between}}@media(min-width: 960px){.googlesitekit-wizard-component .googlesitekit-wizard-component__action{margin:36px 0 0 0}}.googlesitekit-wizard-component .googlesitekit-wizard-component__skip{display:flex;flex:1 1 auto;justify-content:space-between;margin-top:16px}@media(min-width: 600px){.googlesitekit-wizard-component .googlesitekit-wizard-component__skip{margin-left:16px;margin-top:0}}@media(min-width: 960px){.googlesitekit-wizard-component .googlesitekit-wizard-component__skip{margin-left:24px}}.googlesitekit-wizard-component .googlesitekit-wizard-component__steps{font-size:12px;letter-spacing:.2px}.googlesitekit-wizard-component-nav{align-items:center;display:flex}.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__button{cursor:pointer}.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__icon{display:inline-block;opacity:.6}.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__icon:focus,.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__icon:active,.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__icon:hover{opacity:1}.googlesitekit-wizard-component-nav .googlesitekit-wizard-component-nav__icon--reverse{transform:rotate(180deg)}.googlesitekit-wizard-module{border:1px solid #ebeef0;height:100%;padding:16px;width:100%}@media(min-width: 960px){.googlesitekit-wizard-module{padding:24px}}.googlesitekit-wizard-module .googlesitekit-wizard-module__logo{align-items:flex-end;display:flex;height:36px}.googlesitekit-wizard-module .googlesitekit-wizard-module__logo img{display:block}.googlesitekit-wizard-module .googlesitekit-wizard-module__title{margin:15px 0 10px}.googlesitekit-wizard-module .googlesitekit-wizard-module__text{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-wizard-module .googlesitekit-wizard-module__switch{float:right}.googlesitekit-wizard-module .googlesitekit-wizard-module__switch .spinner{margin-top:-5px}.googlesitekit-wizard-module .googlesitekit-wizard-module__cta{font-size:12px;letter-spacing:.2px}.googlesitekit-wizard-progress{background-color:#fff}@media(min-width: 600px){.googlesitekit-wizard-progress{padding-left:10px;padding-right:10px}}@media(min-width: 600px){.googlesitekit-wizard-progress{border-bottom:1px solid #ebeef0}}.googlesitekit-wizard-progress .googlesitekit-wizard-progress__subtitle{margin:10px 0 17px}.googlesitekit-wizard-progress .googlesitekit-wizard-progress__title{margin:0 0 10px}@media(min-width: 600px){.googlesitekit-wizard-progress .googlesitekit-wizard-progress__title{margin:0 0 30px}}.googlesitekit-wizard-progress .googlesitekit-wizard-progress__description{font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0 0 10px}@media(min-width: 600px){.googlesitekit-wizard-progress .googlesitekit-wizard-progress__description{margin:0 0 30px}}.googlesitekit-wizard-progress .googlesitekit-wizard-progress__steps{display:flex;padding:16px}@media(min-width: 960px){.googlesitekit-wizard-progress .googlesitekit-wizard-progress__steps{padding:24px 0 0 0}}.googlesitekit-plugin .googlesitekit-wizard-progress-step{display:none;flex:1;flex-wrap:nowrap;text-align:center}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-wizard-progress-step{display:block;margin-bottom:40px}}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-wrapper{position:relative}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-wrapper::before{position:absolute;top:50%;transform:translateY(-50%);background-color:#ebeef0;content:"";display:block;height:2px;left:-16px;right:-16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-wrapper::before{left:-24px;right:-24px}}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number{background-color:#ebeef0;border:15px solid #fff;border-radius:50%;color:#333935;font-size:14px;height:54px;letter-spacing:.25px;line-height:1.43;margin:0 auto;position:relative;width:54px;z-index:2}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--inprogress{background-color:#446199;color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--warning{background-color:#895a00;color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--warning svg{color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--error{background-color:#ac4220;color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--error svg{color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--completed{background-color:#46732b;color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number--completed svg{color:#fff}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-text--warning,.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-text--error,.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-text--completed{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__number-icon{align-items:center;display:flex;height:100%;justify-content:center}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__text{color:#5f6561;font-size:14px;font-weight:500;letter-spacing:.25px;margin:0}.googlesitekit-plugin .googlesitekit-wizard-progress-step .googlesitekit-wizard-progress-step__text span{color:#ac4220;display:inline-block;margin-left:5px}.googlesitekit-plugin .googlesitekit-wizard-progress-step--current{display:block}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-wizard-progress-step--1 .googlesitekit-wizard-progress-step__number-wrapper::after,.googlesitekit-plugin .googlesitekit-wizard-progress-step--completeSetup .googlesitekit-wizard-progress-step__number-wrapper::after{position:absolute;top:50%;transform:translateY(-50%);background-color:#fff;content:"";display:block;height:4px}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-wizard-progress-step--1 .googlesitekit-wizard-progress-step__number-wrapper::after{left:-16px;right:50%}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-wizard-progress-step--1 .googlesitekit-wizard-progress-step__number-wrapper::after{left:-24px}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-wizard-progress-step--completeSetup .googlesitekit-wizard-progress-step__number-wrapper::after{left:50%;right:-16px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-wizard-progress-step--completeSetup .googlesitekit-wizard-progress-step__number-wrapper::after{right:-24px}}.googlesitekit-wizard-step{background-color:#fff;overflow:hidden;padding-bottom:16px;padding-top:16px}@media(min-width: 600px){.googlesitekit-wizard-step{padding-left:10px;padding-right:10px}}@media(min-width: 960px){.googlesitekit-wizard-step{padding-bottom:24px;padding-top:24px}}.googlesitekit-wizard-step .googlesitekit-wizard-step__title{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;margin:0 0 10px}.googlesitekit-wizard-step .googlesitekit-wizard-step__text{margin:0}.googlesitekit-wizard-step .googlesitekit-wizard-step__subtitle{margin:16px 0 0 0}@media(min-width: 960px){.googlesitekit-wizard-step .googlesitekit-wizard-step__subtitle{margin-top:24px}}.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs{align-items:center;display:flex;flex-wrap:wrap;margin:0}.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs>div{margin:16px 16px 16px 0}@media(min-width: 960px){.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs>div{margin:24px 24px 24px 0}}.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs>.googlesitekit-setup-module__input{margin:1em 0}.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs--multiline{display:block}.googlesitekit-wizard-step .googlesitekit-wizard-step__inputs--multiline>div{margin:0;width:100%}.googlesitekit-wizard-step .googlesitekit-wizard-step__action{margin-top:16px}@media(min-width: 960px){.googlesitekit-wizard-step .googlesitekit-wizard-step__action{margin-top:24px}}.googlesitekit-wizard-step .googlesitekit-wizard-step__action--justify{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:0}.googlesitekit-wizard-step .googlesitekit-wizard-step__action--justify>*:first-child{margin-right:16px;margin-top:16px}@media(min-width: 960px){.googlesitekit-wizard-step .googlesitekit-wizard-step__action--justify>*:first-child{margin-right:24px;margin-top:24px}}.googlesitekit-wizard-step .googlesitekit-wizard-step__action--justify>*:last-child{flex:0 0 auto;margin-top:16px}@media(min-width: 960px){.googlesitekit-wizard-step .googlesitekit-wizard-step__action--justify>*:last-child{margin-top:24px}}.googlesitekit-wizard-step .googlesitekit-wizard-step__back{margin-left:8px}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .mdc-layout-grid{padding:0}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .mdc-layout-grid__inner{grid-template-columns:1fr;overflow:hidden;position:relative}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-content__wrapper{padding:24px 24px 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-content__wrapper{max-width:56%;padding:35px 24px 31px}}@media(min-width: 1024px)and (max-width: 1279px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-content__wrapper{max-width:60%;padding:35px 24px 31px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-content__wrapper{max-width:54%;padding:34px 24px 43px}}@media(min-width: 800px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-preview-block{max-width:42%;min-height:100%;position:absolute;right:0;top:0}}@media(min-width: 1500px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-preview-block{max-width:30%}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper{overflow:hidden}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper.mdc-layout-grid__cell{grid-column:1;grid-row:auto;padding-top:20px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper.mdc-layout-grid__cell{grid-column:unset;grid-column-end:span 4;grid-row:1/-1;padding-top:0}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{display:block;margin:0 auto;max-height:140px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:310px;max-width:45%;position:absolute;right:0;top:0}}@media(min-width: 1181px)and (max-width: 1279px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:340px;top:-35px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:290px;top:0}}@media(min-width: 1440px1px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{top:-50px}}@media(min-width: 1700px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:340px;max-width:35%}}@media(min-width: 2200px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:370px;right:-15px;top:-65px}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-publisher-win__title{color:#161b18;display:grid;font-size:16px;font-weight:400;letter-spacing:.1px;line-height:1.25;margin:0;place-content:center}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-publisher-win__title{font-size:22px;letter-spacing:unset;line-height:1.27;place-content:start}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-publisher-win__title{font-size:28px;line-height:1.286}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta p{color:#161b18;display:grid;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:5px 0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta p{font-size:14px;letter-spacing:.25px;line-height:1.14}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta p{font-size:16px;letter-spacing:.5px;line-height:1.25}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper{display:flex;flex-wrap:wrap;gap:4px;margin-top:20px}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper a,.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper button{place-content:center;text-align:center;width:auto}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper{margin-top:24px}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper a,.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper button{width:auto}}.googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-actions__wrapper .googlesitekit-cta-link{color:#6c726e}.googlesitekit-plugin .googlesitekit-widget-key-metrics-footer{padding:0 8px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget-key-metrics-footer{padding:0}}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary div.mdc-layout-grid__inner.googlesitekit-widget-key-metrics-footer div.googlesitekit-widget-key-metrics-footer__cta-wrapper{gap:6px;grid-template-columns:1fr 1fr}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary div.mdc-layout-grid__inner.googlesitekit-widget-key-metrics-footer div.googlesitekit-widget-key-metrics-footer__cta-wrapper span{display:block}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary div.mdc-layout-grid__inner.googlesitekit-widget-key-metrics-footer div.googlesitekit-widget-key-metrics-footer__cta-wrapper span{display:inline}}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary div.mdc-layout-grid__inner.googlesitekit-widget-key-metrics-footer div.googlesitekit-widget-key-metrics-footer__cta-wrapper .googlesitekit-cta-link{color:#108080}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All .googlesitekit-widget-key-metrics-text__wrapper{text-align:center}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All .googlesitekit-widget-key-metrics-text__wrapper{text-align:initial}}@media(min-width: 800px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:228px;position:absolute;right:0;top:-25px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:265px;top:-25px}}@media(min-width: 1024px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:310px;right:0;top:-46px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:260px;right:0;top:-14px}}@media(min-width: 2200px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget--keyMetricsConnectGA4All div.googlesitekit-widget-key-metrics-svg__wrapper svg{max-height:370px;right:0;top:-67px}}.googlesitekit-plugin .googlesitekit-km-connect-ga4-cta .googlesitekit-publisher-win__title{color:#ac4220;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif}.googlesitekit-plugin .googlesitekit-km-connect-ga4-cta .googlesitekit-widget-key-metrics-actions__wrapper{justify-content:center}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-km-connect-ga4-cta .googlesitekit-widget-key-metrics-actions__wrapper{justify-content:flex-start}}@media(min-width: 800px){html[dir=rtl] .googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-preview-block{left:0;right:unset}}@media(min-width: 960px){html[dir=rtl] .googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-svg__wrapper svg{left:0;right:unset;transform:scaleX(-1)}}@media(min-width: 2200px){html[dir=rtl] .googlesitekit-plugin .googlesitekit-setup__wrapper--key-metrics-setup-cta .googlesitekit-widget-key-metrics-svg__wrapper svg{left:-15px}}@media(max-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .mdc-layout-grid__cell--span-2-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .mdc-layout-grid__cell--span-2-phone{width:auto;grid-column-end:span 4}}}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-header__title{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-header__title .googlesitekit-new-badge{margin-left:12px}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__tab-items{display:flex;flex-wrap:wrap;gap:12px;margin:0 25px 25px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__tab-items{flex-direction:column}}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__chip-item{background-color:#ebeef0;color:#161b18;font-size:12px;font-weight:500;min-height:28px;padding:6px 14px}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__chip-item svg{margin-right:7px}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__tab-items-row{display:flex;flex-wrap:wrap;gap:10px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__tab-items-row:last-child .googlesitekit-chip-tab-group__chip-item:nth-last-child(2),.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__tab-items-row:last-child .googlesitekit-chip-tab-group__chip-item:last-child{padding:6px 23px}}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__chip-item--active{background-color:#b8e5ca}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__chip-item-count{margin-left:3px}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-selection-panel-item{border-color:#cbd0d3;padding:0}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-selection-panel-item .googlesitekit-selection-box{padding:0 4px 10px}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-selection-panel-item .googlesitekit-selection-box .mdc-checkbox__description{padding:0}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__graphic{align-items:center;display:flex;flex-direction:column;margin-top:10%}.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__graphic svg{max-height:160px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-chip-tab-group .googlesitekit-chip-tab-group__graphic svg{max-height:unset}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-acr-km-selection-panel{width:578px}}.googlesitekit-plugin .googlesitekit-acr-km-selection-panel .googlesitekit-selection-panel-header p{color:#161b18;font-size:14px;margin:8px 0 0}.googlesitekit-plugin .googlesitekit-acr-subtle-notification{background-color:#e3d1ff}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-acr-subtle-notification{padding:14px 24px}}.googlesitekit-plugin .googlesitekit-acr-subtle-notification .mdc-button--raised:not(:disabled){background-color:#462083}.googlesitekit-plugin .googlesitekit-acr-subtle-notification .googlesitekit-subtle-notification__content,.googlesitekit-plugin .googlesitekit-acr-subtle-notification .mdc-button--tertiary:not(:disabled){color:#462083}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change h2{font-size:28px}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change .mdc-dialog__content{margin-top:15px}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change .mdc-dialog__content h3{font-size:14px;font-weight:500;margin:0}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.mdc-list-item,.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined .googlesitekit-view-only-menu li.googlesitekit-view-only-menu__list-item,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.googlesitekit-view-only-menu__list-item{font-size:12px;min-height:auto;padding:4px 0}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.mdc-list-item::before,.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined .googlesitekit-view-only-menu li.googlesitekit-view-only-menu__list-item::before,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.googlesitekit-view-only-menu__list-item::before{display:none}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.mdc-list-item:last-child,.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined .googlesitekit-view-only-menu li.googlesitekit-view-only-menu__list-item:last-child,.googlesitekit-plugin .googlesitekit-view-only-menu .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change ul.mdc-list.mdc-list--underlined li.googlesitekit-view-only-menu__list-item:last-child{border:none}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change .mdc-dialog__actions{border-top:none}@media(max-width: 600px){.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change .mdc-dialog__actions button{width:100%}.googlesitekit-plugin .mdc-dialog.googlesitekit-dialog-confirm-site-purpose-change .mdc-dialog__actions button:last-child{margin-top:5px}}.googlesitekit-plugin .googlesitekit-setup{padding-top:10px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup{padding-left:10px;padding-right:10px}}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-opt-in{margin-bottom:8px;margin-top:8px}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__step{border-bottom:1px solid #ebeef0;margin-bottom:16px;padding-bottom:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__step{margin-bottom:24px;padding-bottom:24px}}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__step:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__title{display:inline-block;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;margin:.67em 0}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__notice{font-weight:500}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__description+.googlesitekit-setup__notice{margin-top:1em}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__notice-text{display:inline-block;margin-left:5px;vertical-align:middle}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__footer{border-top:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-setup .googlesitekit-setup__splash{border-bottom:1px solid #ebeef0;padding-left:10px;padding-right:10px}.googlesitekit-plugin .googlesitekit-setup-compat{max-width:60rem}.googlesitekit-plugin .googlesitekit-start-setup-wrap{display:flex}.googlesitekit-plugin .googlesitekit-start-setup{margin-right:8px}.googlesitekit-plugin .googlesitekit-start-setup+.googlesitekit-cta-link{margin-left:8px}.googlesitekit-plugin .googlesitekit-setup__wrapper{background-color:#fff;border-radius:16px}.googlesitekit-plugin .googlesitekit-setup__wrapper .googlesitekit-setup__intro-title{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.14;margin:0 0 17px}.googlesitekit-plugin .googlesitekit-setup__warning{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-setup__warning svg{color:#895a00;width:34px}.googlesitekit-plugin .googlesitekit-setup__warning div{flex:1;margin:0 0 0 24px}.googlesitekit-plugin .googlesitekit-setup__content{margin:0 auto;max-width:465px;padding:2rem 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__content{max-width:none;padding:0}}.googlesitekit-plugin .googlesitekit-setup__content .googlesitekit-setup__description{margin:0}.googlesitekit-plugin .googlesitekit-setup__content .googlesitekit-opt-in{margin:2rem 0}.googlesitekit-plugin .googlesitekit-setup__icon{text-align:center}.googlesitekit-plugin .googlesitekit-setup__icon svg{height:auto;max-width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__icon{align-self:center;order:2}}.googlesitekit-plugin .googlesitekit-setup-analytics-notice{background-color:#f8fafb;border-radius:16px;display:flex;flex-direction:column-reverse;margin:24px 0 0;padding:16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup-analytics-notice{padding:24px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup-analytics-notice{align-items:center;flex-flow:row nowrap}}.googlesitekit-plugin .googlesitekit-setup-analytics-notice label{color:#333935;font-size:16px;letter-spacing:.5px;line-height:1.5;padding-top:8px}.googlesitekit-plugin .googlesitekit-setup-analytics-notice .mdc-form-field{align-items:flex-start}.googlesitekit-plugin .googlesitekit-setup-analytics-notice__icon{margin:0 0 24px}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup-analytics-notice__icon{margin:0;padding-left:24px}}.googlesitekit-plugin .googlesitekit-setup-analytics-notice__icon svg{display:block;margin:0 auto;max-width:378px;width:100%}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup-analytics-notice__icon svg{margin:0;width:378px}}.googlesitekit-plugin .googlesitekit-setup-module{flex:1 1 auto}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__step{margin-bottom:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__step{margin-bottom:24px}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__step:last-child{margin-bottom:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__logo{display:inline-block;margin:0 16px 0 0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__logo img{display:block;height:auto;width:40px}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__title{display:inline-block;margin:0 0 10px;vertical-align:bottom}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__text--no-margin{margin:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs+p,.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs+.googlesitekit-settings-notice{margin-top:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs+.googlesitekit-settings-notice{margin-top:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__title+p{margin-bottom:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__title+p~p{margin-bottom:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__user{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__user-image{border-radius:50%;height:32px;margin-right:10px;width:32px}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs{align-items:center;display:flex;flex-wrap:wrap;margin:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs>div{margin:16px 16px 16px 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs>div{margin:24px 24px 24px 0}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs>.googlesitekit-setup-module__input{margin:1em 0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs+.googlesitekit-error-text{margin-top:-16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs+.googlesitekit-error-text{margin-top:-24px}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs--collapsed{align-items:flex-start}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs--collapsed>div{margin-top:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs--multiline{display:block}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__inputs--multiline>div{margin:0;width:100%}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__switch{margin:16px 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__switch{margin:24px 0}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action{margin:24px 0 0 0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action{align-items:center;display:flex}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action{margin:36px 0 0 0}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action .googlesitekit-cta-link{font-size:14px;letter-spacing:.25px;line-height:1.43}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action .mdc-button+.googlesitekit-cta-link{margin-left:24px}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__sub-action{display:flex;margin-top:16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__sub-action{margin-left:8px;margin-top:0}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__list-wrapper{background:#ebeef0;border-radius:16px;margin:16px 0 0 0;padding:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__list-wrapper{margin-top:24px}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__cta{margin-top:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__cta{margin-top:24px}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__cta-link{display:inline-block;margin-right:50px}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__cta-link:last-child{margin-right:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action+.googlesitekit-setup-module__footer-text{margin:24px 0 0 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__action+.googlesitekit-setup-module__footer-text{margin:36px 0 0 0}}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__header{align-items:center;display:flex;flex-wrap:wrap;grid-gap:10px 12px}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__header .googlesitekit-setup-module__logo,.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__header .googlesitekit-setup-module__title{margin-bottom:0}.googlesitekit-plugin .googlesitekit-setup-module .googlesitekit-setup-module__badges{align-items:center;display:flex;flex-wrap:wrap;gap:10px 12px}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect{--adsense-connect-cta-fade-in-duration: 7.5s;--adsense-connect-cta-fade-out-duration: 500ms}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption-container{display:grid;grid-template-columns:1fr;margin:0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption-container{display:block;padding:32px 0 0}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption{color:#999f9b;display:flex;grid-column-start:1;grid-row-start:1;margin:0;opacity:0;transition:color 500ms ease-in-out}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption{margin-bottom:24px;opacity:1}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption .googlesitekit-setup-module--adsense__stage-caption-indicator{align-self:stretch;background-color:rgba(0,0,0,.1);display:none;margin-right:20px;width:1px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption .googlesitekit-setup-module--adsense__stage-caption-indicator{display:block}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption h4{color:#7b807d;font-size:18px;font-weight:400;margin:0 0 4px}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption p{color:#7b807d;font-size:12px;margin:0}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption *{transition:inherit}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--static h4,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter h4,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave h4{color:#446199}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--static p,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter p,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave p{color:#333935}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--static{opacity:1}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--static .googlesitekit-setup-module--adsense__stage-caption-indicator{background-color:#446199}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter .googlesitekit-setup-module--adsense__stage-caption-indicator,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave .googlesitekit-setup-module--adsense__stage-caption-indicator{background-image:linear-gradient(0deg, #446199 0%, #446199 100%);background-repeat:no-repeat}@keyframes googlesitekit-fade-in{0%{opacity:0}6.67%{opacity:1}100%{opacity:1}}@keyframes googlesitekit-fade-out{0%{opacity:1}50%{opacity:0}100%{opacity:0}}@keyframes googlesitekit-caption-indicator-enter{from{background-size:100% 0%}to{background-size:100% 100%}}@keyframes googlesitekit-caption-indicator-leave{from{background-size:100% 100%}to{background-size:100% 0%}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter{animation:googlesitekit-fade-in var(--adsense-connect-cta-fade-in-duration) linear forwards}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter{animation:none}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--enter .googlesitekit-setup-module--adsense__stage-caption-indicator{animation:googlesitekit-caption-indicator-enter 500ms linear forwards;background-position:0% 0%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave{animation:googlesitekit-fade-out var(--adsense-connect-cta-fade-out-duration) linear forwards}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave{animation:none}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-caption--current--leave .googlesitekit-setup-module--adsense__stage-caption-indicator{animation:googlesitekit-caption-indicator-leave 500ms linear forwards;background-position:0% 100%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image-container{display:grid;grid-template-columns:1fr;height:100%;padding:16px 0;width:100%}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image-container{height:calc(100% + 70px);margin-bottom:12px;margin-top:-70px}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image{align-items:center;display:flex;grid-column-start:1;grid-row-start:1;height:100%;justify-content:center;opacity:0;width:100%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image svg{flex:1;max-height:312px;max-width:100%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image--current--static{opacity:1}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image--current--enter{animation:googlesitekit-fade-in var(--adsense-connect-cta-fade-in-duration) linear forwards}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-image--current--leave{animation:googlesitekit-fade-out var(--adsense-connect-cta-fade-out-duration) linear forwards}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator{display:grid;grid-auto-flow:column;grid-gap:6px;justify-content:flex-start;margin:12px 0 20px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator{display:none}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li{background-color:rgba(0,0,0,.1);border-radius:1px;height:2px;width:26px;--adsense-connect-cta-indicator-duration: 500ms}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li.googlesitekit-setup-module--adsense__stage-indicator--current--static{background-color:#446199}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li.googlesitekit-setup-module--adsense__stage-indicator--current--enter,.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li.googlesitekit-setup-module--adsense__stage-indicator--current--leave{background-image:linear-gradient(0deg, #446199 0%, #446199 100%);background-repeat:no-repeat}@keyframes googlesitekit-indicator-enter{from{background-size:0% 100%}to{background-size:100% 100%}}@keyframes googlesitekit-indicator-leave{from{background-size:100% 100%}to{background-size:0% 100%}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li.googlesitekit-setup-module--adsense__stage-indicator--current--enter{animation:googlesitekit-indicator-enter var(--adsense-connect-cta-indicator-duration) linear forwards;background-position:0% 0%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module--adsense__stage-indicator li.googlesitekit-setup-module--adsense__stage-indicator--current--leave{animation:googlesitekit-indicator-leave var(--adsense-connect-cta-indicator-duration) linear forwards;background-position:100% 0%}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module__action{display:flex;flex-wrap:wrap;gap:8px 24px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module__action{column-gap:48px}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module__footer-text{align-items:flex-end;display:flex;justify-content:flex-end}}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module__footer-text a{-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin .googlesitekit-setup__wrapper--adsense-connect .googlesitekit-setup-module__footer-text p{font-size:12px;margin:0}.googlesitekit-plugin #js-googlesitekit-settings .googlesitekit-layout__header{border:none}.googlesitekit-plugin #js-googlesitekit-settings .googlesitekit-layout__header .mdc-layout-grid{padding-bottom:0}.googlesitekit-plugin #js-googlesitekit-settings .googlesitekit-layout__header .mdc-layout-grid h3.googlesitekit-layout__header-title{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;font-weight:500}.googlesitekit-plugin #js-googlesitekit-settings .googlesitekit-settings-module .googlesitekit-settings-module__footer .mdc-layout-grid{padding-top:0}.googlesitekit-plugin .googlesitekit-settings-connect-module{border:1px solid #ebeef0;border-radius:8px;height:100%;padding:16px;width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-settings-connect-module{padding:24px}}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__logo{align-items:flex-end;display:flex;height:36px}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__logo img{display:block}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__heading{align-items:center;display:flex;flex-wrap:wrap;grid-gap:10px 12px;margin:15px 0 10px}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__title{margin:0}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__badges{display:flex;flex-wrap:wrap;grid-gap:10px 12px}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__text{font-size:14px;letter-spacing:.25px;line-height:1.43;margin:0}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__switch{float:right}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__switch .spinner{margin-top:-5px}.googlesitekit-plugin .googlesitekit-settings-connect-module .googlesitekit-settings-connect-module__cta{font-size:14px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-switch__enabled-notice,.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirements__description{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-switch-description--loading{margin:14px 0}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirements__grid{padding:0}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirement{border:1px solid #ebeef0;border-radius:8px;display:flex;flex-direction:column;height:100%;padding:16px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirement{padding:24px}}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirement h4{font-size:16px;font-weight:500;line-height:1.25;margin:0}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-consent-mode-requirement__description{flex:1;font-size:12px;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-notice{border-radius:8px;display:flex;flex-direction:column}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-notice{flex-direction:row}}.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-notice .googlesitekit-settings-notice__icon{align-self:start;margin-bottom:6px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-settings-consent-mode .googlesitekit-settings-notice .googlesitekit-settings-notice__icon{align-self:center;margin-bottom:0}}.googlesitekit-plugin .googlesitekit-settings-consent-mode__recommendation-notice{background-color:#dce8ff;color:#2d4a82;font-size:14px;line-height:1.43;margin-bottom:0;margin-top:8px}.googlesitekit-plugin .googlesitekit-settings-consent-mode__recommendation-notice svg{color:#6380b8}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__footer{align-items:flex-start;display:flex;flex:1;flex-direction:column;justify-content:center}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-api-detected-wrapper{align-items:center;display:flex;flex-direction:column;gap:6px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-api-detected-wrapper{flex-direction:row;gap:10px}}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-api-detected-icon{align-items:center;align-self:start;background-color:#b8e5ca;border-radius:11px;color:#1f4c04;display:flex;height:22px;justify-content:center;margin-top:10px;min-width:22px;width:22px}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-api-detected-icon svg{height:10px;width:10px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-api-detected-icon{align-self:center;margin-top:0}}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__install-button{padding:6px 16px}.googlesitekit-plugin .googlesitekit-settings-consent-mode-requirement__consent-management-plugin-notice{margin-bottom:0;padding:10px 16px}.googlesitekit-settings-meta .googlesitekit-settings-meta__profile{align-items:center;display:flex;margin:16px 0}@media(min-width: 960px){.googlesitekit-settings-meta .googlesitekit-settings-meta__profile{margin:24px 0}}.googlesitekit-settings-meta .googlesitekit-settings-meta__profile .googlesitekit-cta-link{font-style:italic}.googlesitekit-settings-meta .googlesitekit-settings-meta__avatar{border-radius:50%;height:64px;margin-right:16px;width:64px}@media(min-width: 960px){.googlesitekit-settings-meta .googlesitekit-settings-meta__avatar{margin-right:24px}}.googlesitekit-settings-meta .googlesitekit-settings-meta__user-details{font-size:12px;letter-spacing:.2px}.googlesitekit-settings-meta .googlesitekit-settings-meta__user{font-weight:700;margin:0}.googlesitekit-settings-meta .googlesitekit-settings-meta__unlink{font-size:12px;letter-spacing:.2px}.googlesitekit-plugin .googlesitekit-settings-module{border-bottom:1px solid #ebeef0;position:relative}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__status{align-items:center;color:#161b18;display:flex;font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1.43;margin:0;text-align:right}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__status--not-connected{color:#895a00}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__status-icon{align-items:center;background-color:#46732b;border-radius:50%;color:#fff;display:flex;height:19px;justify-content:center;margin-left:16px;width:19px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__status-icon--not-connected,.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__status-icon--warning{background-color:#fff;color:#fece72}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__content{border-top:1px solid #ebeef0;display:none}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__content .mdc-layout-grid__cell{font-size:14px;letter-spacing:.25px;line-height:1.43}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__content--open{border:none;display:block;margin-top:-10px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__heading{align-items:center;display:flex;flex-wrap:wrap;row-gap:12px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__title{align-items:center;display:flex;font-size:16px;line-height:1.25;margin:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__heading-icon{height:auto;margin-right:16px;width:40px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__heading-badges{align-items:center;display:flex;flex-wrap:wrap;row-gap:12px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__footer-cancel{margin-left:8px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-header{margin:0 0 8px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__fields-group{border-bottom:1px solid #ebeef0;margin-bottom:1em}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__fields-group:last-child{border-bottom:none;margin-bottom:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__fields-group--no-border{border:none}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__fields-group-title{font-size:14px;font-weight:500}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-items{align-items:stretch;display:flex;flex-wrap:wrap;margin:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-error-notice__icon{height:32px;width:32px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-error-notice__retry-button+.googlesitekit-settings-module__meta-items{margin-top:14px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-select{margin:0 16px 16px 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-select{margin:0 24px 24px 0}}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item{margin:0 32px 16px 0;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item{width:auto}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item{margin:0 48px 24px 0}}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item p{font-size:12px;letter-spacing:.2px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item .googlesitekit-settings-module__meta-item-type{color:#161b18;font-size:14px;font-weight:700;letter-spacing:.25px;line-height:1.33;margin:0 0 8px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item .googlesitekit-settings-module__meta-item-data{color:#161b18;font-size:14px;letter-spacing:.25px;line-height:1.43;margin:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item .googlesitekit-settings-module__meta-item-data--wrap{word-break:break-all}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item .googlesitekit-settings-module__meta-item-data--tiny{font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item .googlesitekit-settings-module__meta-item-info{color:#5f6561;font-size:.75rem}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item--data-only{align-items:flex-end;display:flex}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__meta-item--nomargin{margin:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-setup-module--analytics .googlesitekit-settings-module__meta-item--data-only{margin-top:-16px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-setup-module--analytics .googlesitekit-settings-module__meta-item--data-only{margin-top:0}}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__inline-items{display:flex;flex-wrap:wrap}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__inline-item{margin:0 1rem 0 0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__edit-button-icon svg{color:#6380b8}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__remove-button-icon{color:#cc6240}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__remove-button{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__error{background-color:#ac4220;color:#fff;font-weight:700}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__apikey-cancel{font-size:12px;letter-spacing:.2px;margin-left:24px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header{cursor:pointer;display:block;padding:0 32px 0 0;position:relative;width:100%}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header:focus{outline-offset:0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .googlesitekit-icon-wrapper{height:20px;justify-content:center;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:20px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .googlesitekit-icon-wrapper svg{color:#5b5b61;height:8px;width:12px}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .mdc-button{color:#ebeef0;font-weight:500}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .mdc-button:disabled{background-color:rgba(8,42,65,.08);color:rgba(3,14,7,.32)}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .googlesitekit-settings-module__status p{margin:8px 0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .googlesitekit-settings-module__status--not-connected .mdc-button{margin:-1.5px 0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header .googlesitekit-settings-module__status--loading{align-items:center;display:flex;min-width:150px;padding:.5px 0}.googlesitekit-plugin .googlesitekit-settings-module .googlesitekit-settings-module__header--open .googlesitekit-icon-wrapper{transform:translateY(-50%) rotate(180deg)}.googlesitekit-plugin .googlesitekit-settings-module--active .googlesitekit-overlay{background:rgba(203,208,211,.75)}.googlesitekit-plugin .googlesitekit-settings-module--error{border:3px solid #ac4220}.googlesitekit-settings-notice{background-color:#ffe4b1;border-radius:16px;color:rgba(0,0,0,.7);display:flex;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:1.5em 0;padding:16px}@media(min-width: 960px){.googlesitekit-settings-notice{padding-left:24px}}.googlesitekit-settings-notice .googlesitekit-settings-notice__body{flex-grow:1;min-width:0}@media(min-width: 600px){.googlesitekit-settings-notice .googlesitekit-settings-notice__body{display:flex}}.googlesitekit-settings-notice .googlesitekit-settings-notice__children-container{flex-grow:1}.googlesitekit-settings-notice .googlesitekit-settings-notice__icon{line-height:0;margin-right:10px}.googlesitekit-settings-notice .googlesitekit-settings-notice__text{flex-grow:1;line-height:20px;max-width:1098px}.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b8bdb9}.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled) .mdc-floating-label,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#161b18}.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#161b18}.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-settings-notice .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#7f9cd4}.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:#161b18}.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__leading,.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__notch,.googlesitekit-settings-notice .mdc-select:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__selected-text:hover~.mdc-notched-outline .mdc-notched-outline__trailing{border-color:#161b18}.googlesitekit-settings-notice--single-row .googlesitekit-settings-notice__learn-more{flex-shrink:0;line-height:20px;text-align:right}@media(min-width: 600px){.googlesitekit-settings-notice--single-row .googlesitekit-settings-notice__learn-more{padding-left:24px;text-align:inherit}}.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__body{flex-direction:column}.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__inner-row{max-width:1098px;padding-top:16px}@media(min-width: 600px){.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__inner-row{display:flex;padding-top:24px}}@media(min-width: 960px){.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__inner-row{padding-top:24px}}.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__learn-more{flex-shrink:0;text-align:right}@media(min-width: 600px){.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__learn-more{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:4px;padding-right:12px;text-align:left}}@media(min-width: 960px){.googlesitekit-settings-notice--multi-row .googlesitekit-settings-notice__learn-more{margin-left:24px}}.googlesitekit-settings-notice--warning{background-color:#ffe4b1;color:rgba(0,0,0,.7)}.googlesitekit-settings-notice--info{background-color:#ebeef0;color:#161b18}.googlesitekit-settings-notice--info .googlesitekit-cta-link{color:#108080}.googlesitekit-settings-notice--suggestion{background-color:#f8faff;color:#7f9cd4}.googlesitekit-setup-module .googlesitekit-settings-notice,.googlesitekit-setup .googlesitekit-settings-notice{max-width:1098px}.googlesitekit-settings-notice-ua-cutoff-warning,.googlesitekit-settings-notice-adsense-status-migration{max-width:none}.googlesitekit-settings-notice-ua-cutoff-warning .googlesitekit-settings-notice__icon,.googlesitekit-settings-notice-adsense-status-migration .googlesitekit-settings-notice__icon{padding-top:10px}.googlesitekit-settings-notice-ua-cutoff-warning .googlesitekit-settings-notice__body,.googlesitekit-settings-notice-adsense-status-migration .googlesitekit-settings-notice__body{align-items:center;display:flex;flex-wrap:wrap;gap:14px}.googlesitekit-settings-notice-ua-cutoff-warning .googlesitekit-settings-notice__text,.googlesitekit-settings-notice-adsense-status-migration .googlesitekit-settings-notice__text{flex:1 1 50%}.googlesitekit-settings-notice-offline-notice{align-items:center;bottom:0;gap:16px;position:fixed;right:0;z-index:9}@media(max-width: 600px){.googlesitekit-settings-notice-offline-notice{flex-direction:column;gap:10px;text-align:center;width:100%}}.googlesitekit-settings-notice-offline-notice .googlesitekit-settings-notice__text{font-size:14px}.googlesitekit-settings-notice-offline-notice .mdc-button{min-height:35px}.googlesitekit-settings-notice-ua-cutoff-warning__notice{margin:0 14px 0 0}.googlesitekit-settings-notice-adsense-top-earning-pages-widget{align-items:normal;flex-flow:column wrap;gap:15px;padding-bottom:24px;padding-top:24px}@media(min-width: 960px){.googlesitekit-settings-notice-adsense-top-earning-pages-widget{align-items:center;flex-direction:row}}.googlesitekit-settings-notice-adsense-top-earning-pages-widget .googlesitekit-settings-notice__icon{margin-right:5px}.googlesitekit-settings-notice-adsense-top-earning-pages-widget .googlesitekit-settings-notice__text{font-size:14px;font-weight:500;line-height:1.14}.googlesitekit-settings-notice-adsense-top-earning-pages-widget .googlesitekit-settings-notice__inner-row{font-size:14px;line-height:1.43;padding-top:3px}.googlesitekit-plugin .googlesitekit-settings-user-input .googlesitekit-settings-user-input__heading-container{border-bottom:1px solid #ebeef0;margin:12px 0;padding-bottom:12px}.googlesitekit-plugin .googlesitekit-settings-user-input .googlesitekit-settings-user-input__heading{color:#161b18;font-size:12px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-settings-user-input .googlesitekit-user-input__preview-contents{overflow:hidden;padding:0}.googlesitekit-plugin .googlesitekit-user-input__notification-text-loading{margin:14px 0}.googlesitekit-plugin .googlesitekit-settings-visitor-groups__setup p{font-size:14px;line-height:1.43;margin-top:0}.googlesitekit-plugin .googlesitekit-settings-visitor-groups__setup .googlesitekit-cta-link{margin-top:6px}.googlesitekit-plugin .googlesitekit-settings-visitor-groups__setup-progress{margin-top:16px}.googlesitekit-plugin .googlesitekit-settings-visitor-groups__setup-progress p{margin-bottom:10px}.googlesitekit-plugin .googlesitekit-settings-visitor-groups__setup-success{margin-bottom:30px}.googlesitekit-plugin .googlesitekit-user-input{margin-bottom:30px}.googlesitekit-plugin .googlesitekit-user-input__header{padding-bottom:30px;padding-top:30px}.googlesitekit-plugin .googlesitekit-user-input__header .mdc-layout-grid__inner{align-items:center}.googlesitekit-plugin .googlesitekit-user-input__heading{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:28px;font-weight:400;line-height:1.286}.googlesitekit-plugin .googlesitekit-user-input__subtitle{color:#6c726e;font-size:14px;line-height:1.14}.googlesitekit-plugin .googlesitekit-user-input__content{padding:0}.googlesitekit-plugin .googlesitekit-user-input__content .mdc-linear-progress__buffer{background-color:#f8faff}.googlesitekit-plugin .googlesitekit-user-input__congrats{background-color:#fff;margin:-10px;padding:35px}.googlesitekit-plugin .googlesitekit-user-input__congrats h1{margin-bottom:0}.googlesitekit-plugin .googlesitekit-user-input__note{color:#5f6561;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-user-input__error{background-color:#ffded3;bottom:77px;color:#7a1e00;display:flex;gap:7px;left:0;margin:42px 0 0;padding:1px 30px;position:fixed;right:0}.googlesitekit-plugin .googlesitekit-user-input__error .googlesitekit-error-notice__icon{height:24px;margin:12px 0}.googlesitekit-plugin .googlesitekit-user-input__error .googlesitekit-error-text{color:#7a1e00;font-weight:500}@media(min-width: 783px){.googlesitekit-plugin .googlesitekit-user-input__error{left:160px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__error{bottom:97px;left:160px;padding:1px 40px}}.googlesitekit-plugin .googlesitekit-user-input__footer{align-items:center;background-color:#fff;border-top:1px solid #ebeef0;bottom:0;display:flex;flex-direction:column;flex-direction:row-reverse;justify-content:space-between;left:0;margin:42px 0 0;padding:18px 14px;position:fixed;right:0;z-index:1}@media(min-width: 783px){.googlesitekit-plugin .googlesitekit-user-input__footer{left:160px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__footer{left:160px;padding:28px 24px}}.googlesitekit-plugin .googlesitekit-user-input__footer-nav{column-gap:4px;display:flex}.googlesitekit-plugin .googlesitekit-user-input__footer-cancel{border:none;padding:0}.googlesitekit-plugin .googlesitekit-user-input__select-options-wrapper{grid-row:span 2}.googlesitekit-plugin p.googlesitekit-user-input__select-instruction{border-bottom:1px solid #ebeef0;color:#161b18;font-size:12px;line-height:1.33;margin:0;padding-bottom:15px}@media(min-width: 600px){.googlesitekit-plugin p.googlesitekit-user-input__select-instruction{color:#6c726e;font-size:18px;font-weight:500}}.googlesitekit-plugin .googlesitekit-user-input__author p{color:#6c726e;font-size:12px;letter-spacing:.25px;line-height:1.33;margin:0 0 3px}.googlesitekit-plugin .googlesitekit-user-input__author .googlesitekit-user-input__author-info{align-items:center;color:#5f6561;display:flex;font-size:12px;letter-spacing:.2px;margin-top:4px}.googlesitekit-plugin .googlesitekit-user-input__author .googlesitekit-user-input__author-info img{border-radius:50%;height:24px;margin-right:8px;width:24px}.sb-show-main .googlesitekit-plugin .googlesitekit-user-input__footer,.sb-show-main .googlesitekit-plugin .googlesitekit-user-input__error{left:0}@media(min-width: 783px){.auto-fold .googlesitekit-plugin .googlesitekit-user-input__footer{left:36px}}@media(min-width: 960px){.auto-fold .googlesitekit-plugin .googlesitekit-user-input__footer{left:160px;padding:28px 24px}}.folded .googlesitekit-plugin .googlesitekit-user-input__question .googlesitekit-user-input__footer,.folded .googlesitekit-plugin .googlesitekit-user-input__preview .googlesitekit-user-input__footer{left:36px}@media(min-width: 783px){.auto-fold .googlesitekit-plugin .googlesitekit-user-input__error{left:36px}}@media(min-width: 960px){.auto-fold .googlesitekit-plugin .googlesitekit-user-input__error{left:160px}}.folded .googlesitekit-plugin .googlesitekit-user-input__question .googlesitekit-user-input__error,.folded .googlesitekit-plugin .googlesitekit-user-input__preview .googlesitekit-user-input__error{left:36px}.googlesitekit-plugin .googlesitekit-user-input__question,.googlesitekit-plugin .googlesitekit-user-input__preview{background-color:#fff;border-radius:0 0 24px 24px}.googlesitekit-plugin .googlesitekit-user-input__question-progress{padding:0 17px 5px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__question-progress{padding:0 24px 10px}}.googlesitekit-plugin .googlesitekit-user-input__question-contents{padding:17px;position:relative}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__question-contents{padding:28px 24px}}.googlesitekit-plugin .googlesitekit-user-input__question-number,.googlesitekit-plugin p.googlesitekit-user-input__preview-subheader{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.14;margin-bottom:10px}.googlesitekit-plugin .googlesitekit-user-input__question-instructions{display:flex;flex-direction:column}.googlesitekit-plugin .googlesitekit-user-input__question-instructions h1{color:#161b18;font-size:14px;font-weight:500;line-height:1.33;margin:0 0 14px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__question-instructions h1{font-size:32px;font-weight:400;line-height:1.25;margin:0 0 16px}}.googlesitekit-plugin .googlesitekit-user-input__question-instructions .googlesitekit-user-input__question-instructions--description{color:#161b18;font-size:12px;font-weight:400;letter-spacing:.25px;line-height:1.158;margin:0 0 1em}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__question-instructions .googlesitekit-user-input__question-instructions--description{font-size:14px;line-height:1.43;margin:0 0 25px}}.googlesitekit-plugin .googlesitekit-user-input__question-info p{color:#6c726e;font-size:12px;letter-spacing:.25px;line-height:1.33;margin:0 0 3px}.googlesitekit-plugin p.googlesitekit-user-input__question-notice{color:#6c726e;font-size:12px;font-weight:400;letter-spacing:.25px;line-height:1.33;margin:0 0 1em}@media(min-width: 960px){.googlesitekit-plugin p.googlesitekit-user-input__question-notice{margin:0 0 16px}}.googlesitekit-plugin .googlesitekit-user-input__question--progress{margin:0 auto}.googlesitekit-plugin .googlesitekit-user-input__preview .googlesitekit-user-input__question-instructions--notice{background-color:#cbd0d3;color:#161b18;display:block;font-size:14px;letter-spacing:.25px;line-height:1.43;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__preview .googlesitekit-user-input__question-instructions--notice{display:inline-block;margin:0;width:auto}}.googlesitekit-plugin .googlesitekit-user-input__preview-loading{padding:50px 23px}.googlesitekit-plugin .googlesitekit-user-input__preview-contents{padding:17px 17px 26px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview-contents{padding:28px 24px 18px}}.googlesitekit-plugin p.googlesitekit-user-input__preview-subheader{margin-bottom:14px}@media(min-width: 960px){.googlesitekit-plugin p.googlesitekit-user-input__preview-subheader{margin-bottom:37px}}.googlesitekit-plugin .googlesitekit-user-input__preview-notice{padding:0 17px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview-notice{padding:0 24px}}.googlesitekit-plugin .googlesitekit-user-input__preview-answers{display:flex;flex-wrap:wrap;gap:18px 12px;padding-bottom:8px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview-answers{padding-bottom:11px}}.googlesitekit-plugin .googlesitekit-user-input__preview-answer{align-items:center;background-color:#b8e5ca;border-radius:24px;color:#161b18;display:flex;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1.43;padding:8px 13px;word-break:break-word}.googlesitekit-plugin .googlesitekit-user-input__preview-group .googlesitekit-user-input__author{margin:24px 0 28px}.googlesitekit-plugin .googlesitekit-user-input__preview-group .googlesitekit-user-input__select-option:not(:last-child){border-bottom:none}.googlesitekit-plugin .googlesitekit-user-input__preview-group+.googlesitekit-user-input__preview-group{border-top:1px solid #ebeef0;margin-top:12px;padding-top:12px}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title{display:flex;flex-direction:column-reverse;justify-content:space-between;margin-bottom:14px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview-group-title{flex-direction:row}}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title p{color:#202124;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;margin:0}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title button{align-items:center;display:flex;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;gap:4px;margin-left:auto;padding:3px 7px 3px 12px}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title button[disabled]{color:#b8bdb9}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title button svg{fill:none;transition:transform .2s ease-out}.googlesitekit-plugin .googlesitekit-user-input__preview-group-title button:hover svg,.googlesitekit-plugin .googlesitekit-user-input__preview-group-title button:focus svg{fill:none}.googlesitekit-plugin .googlesitekit-user-input__preview-group--editing .googlesitekit-user-input__preview-group-title button svg{transform:rotate(180deg)}.googlesitekit-plugin .googlesitekit-user-input__preview-actions{align-items:center;column-gap:4px;display:flex}.googlesitekit-plugin .googlesitekit-user-input__preview-actions .googlesitekit-cta-link{color:#6c726e}.googlesitekit-plugin .googlesitekit-user-input__preview-group--individual-cta{position:relative}.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing){pointer-events:none}.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing)::after{background-color:#cbd0d3;content:"";height:calc(100% + 13px);opacity:.75;position:absolute;top:0;z-index:1}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing)::after{margin-left:-24px;margin-left:calc(var(--mdc-layout-grid-margin-desktop, 24px) * -1);width:calc(100% + 24px * 2);width:calc(100% + var(--mdc-layout-grid-margin-desktop, 24px) * 2)}}@media(min-width: 601px)and (max-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing)::after{margin-left:-16px;margin-left:calc(var(--mdc-layout-grid-margin-tablet, 16px) * -1);width:calc(100% + 16px * 2);width:calc(100% + var(--mdc-layout-grid-margin-tablet, 16px) * 2)}}@media(max-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing)::after{margin-left:-16px;margin-left:calc(var(--mdc-layout-grid-margin-phone, 16px) * -1);width:calc(100% + 16px * 2);width:calc(100% + var(--mdc-layout-grid-margin-phone, 16px) * 2)}}.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing):first-child::after{height:calc(100% + 26px);top:-13px}.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing):last-child::after{border-radius:0 0 24px 24px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing):last-child::after{height:calc(100% + 24px);height:calc(100% + var(--mdc-layout-grid-margin-desktop, 24px))}}@media(min-width: 601px)and (max-width: 960px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing):last-child::after{height:calc(100% + 16px);height:calc(100% + var(--mdc-layout-grid-margin-tablet, 16px))}}@media(max-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__preview--editing .googlesitekit-user-input__preview-group--individual-cta:not(.googlesitekit-user-input__preview-group--editing):last-child::after{height:calc(100% + 16px);height:calc(100% + var(--mdc-layout-grid-margin-phone, 16px))}}.googlesitekit-plugin .googlesitekit-user-input__select-options{margin:0 0 20px}.googlesitekit-plugin .googlesitekit-user-input__select-option{align-items:center;display:flex;padding:20px 0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__select-option{padding:10px 0}}.googlesitekit-plugin .googlesitekit-user-input__select-option .mdc-radio{margin-right:8px}.googlesitekit-plugin .googlesitekit-user-input__select-option label{color:#161b18;font-size:14px;letter-spacing:.25px;line-height:1.43}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__select-option label{padding:10px 0}}.googlesitekit-plugin .googlesitekit-user-input__select-option:not(:last-child){border-bottom:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-user-input__text-options{border:2px solid #999f9b;border-radius:4px;margin:13px 0 8px;padding:0 12px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-user-input__text-options{margin-top:0}}.googlesitekit-plugin .googlesitekit-user-input__text-options>div{margin:12px;margin-left:0}.googlesitekit-plugin .googlesitekit-user-input__text-options svg{color:#fff}.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-text-field,.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-text-field__input{background-color:transparent}.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-text-field{height:32px;width:100%}.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-text-field__input{border:none;margin:0;padding:0 6px}.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-text-field__input::placeholder{color:#b8bdb9}.googlesitekit-plugin .googlesitekit-user-input__text-options .mdc-line-ripple{display:none}.googlesitekit-plugin .googlesitekit-user-input__text-option{align-items:center;background-color:#b8e5ca;border-radius:8px;color:#265c3b;display:inline-flex;font-size:14px;font-weight:500;letter-spacing:.25px;line-height:1.43;padding:3px 3px 3px 12px;white-space:nowrap}.googlesitekit-plugin .googlesitekit-user-input__text-option button{border-radius:100px;margin:0;min-width:35px;padding:0 12px}.googlesitekit-plugin .googlesitekit-user-input__text-option button svg path{fill:#265c3b}.googlesitekit-plugin .googlesitekit-user-input__text-option .mdc-text-field{width:auto}.googlesitekit-plugin .googlesitekit-user-input__text-option .mdc-text-field .mdc-text-field__input{color:#265c3b;font-weight:500}.googlesitekit-plugin .googlesitekit-user-input__text-option+div{margin-top:0}.googlesitekit-plugin .googlesitekit-user-input__text-options>div:last-child{margin-right:0}.googlesitekit-plugin .googlesitekit-user-input__buttons button{letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-user-input__buttons button.mdc-button{border:none;padding:10px 16px}.googlesitekit-plugin .googlesitekit-user-input__buttons button.googlesitekit-cta-link{color:#6c726e}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-user-input__buttons button span.googlesitekit-user-input__responsive-text{display:none}}.googlesitekit-showing-feature-tour .react-joyride__overlay{mix-blend-mode:multiply !important}.googlesitekit-showing-feature-tour .react-joyride__spotlight{border-radius:16px !important}.googlesitekit-tour-tooltip .googlesitekit-tooltip-card{--mdc-theme-surface: #3c7251;border-radius:8px;box-shadow:none;color:#fff;position:relative}.googlesitekit-tour-tooltip .googlesitekit-tooltip-card a{-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-tour-tooltip .googlesitekit-tooltip-card a:active,.googlesitekit-tour-tooltip .googlesitekit-tooltip-card a:hover,.googlesitekit-tour-tooltip .googlesitekit-tooltip-card a:visited{color:#fff}.googlesitekit-tour-tooltip .googlesitekit-tooltip-card a:focus{box-shadow:none;outline:1px dotted #fff;outline-offset:3px}.googlesitekit-tour-tooltip .googlesitekit-tooltip-card svg{color:#fff}.googlesitekit-tooltip-title{color:#fff;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;letter-spacing:.5px;line-height:1.5;margin-bottom:4px;margin-top:0}.googlesitekit-tooltip-body{box-sizing:border-box;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:300;letter-spacing:.25px;line-height:1.43;max-width:352px;padding:24px 56px 2px 24px}.googlesitekit-tooltip-buttons{line-height:1em}.googlesitekit-tooltip-button,.googlesitekit-tooltip-button:not(:disabled){color:#fff;height:auto;letter-spacing:normal;line-height:1em;min-width:initial;padding:0;text-transform:none}.googlesitekit-tooltip-button:focus{outline:1px dotted #fff;outline-offset:6px}.googlesitekit-tooltip-button:not(:first-of-type){margin-left:28px}.googlesitekit-tooltip-close{height:auto;min-width:auto;padding:0;position:absolute;right:29px;top:29px}.googlesitekit-tooltip-close:focus{outline:1px dotted #fff;outline-offset:6px}.mdc-card__actions.googlesitekit-tooltip-actions{align-items:center;display:flex;justify-content:space-between;padding:12px 24px 18px;text-align:right}.googlesitekit-tooltip-indicators{display:flex;margin:0;margin-right:16px;padding:0}.googlesitekit-tooltip-indicator{background:#fff;border-radius:50%;height:8px;list-style:none;margin-bottom:0;margin-right:8px;opacity:.5;width:8px}.googlesitekit-tooltip-indicator.active{opacity:1}body.googlesitekit-showing-feature-tour--dashboardSharing .googlesitekit-sharing-settings-dialog .mdc-dialog__container,body.googlesitekit-showing-feature-tour--dashboardSharing .googlesitekit-sharing-settings-dialog .mdc-dialog__scrim{opacity:1;transform:none}body.googlesitekit-showing-feature-tour--dashboardSharing .googlesitekit-sharing-settings-dialog:not(.mdc-dialog--open):not(.mdc-dialog--opening){display:flex !important;opacity:0;z-index:-99}.googlesitekit-plugin .googlesitekit-text-field-conversion-tracking-id .googlesitekit-text-field-conversion-tracking-id-prefix.mdc-text-field__icon{color:#161b18;left:20px;top:17.5px}.googlesitekit-plugin .googlesitekit-setup-module--ads .googlesitekit-settings-module__fields-group-title{font-size:14px;font-weight:500}.googlesitekit-plugin .googlesitekit-setup-module--ads .googlesitekit-setup-module__inputs>.googlesitekit-settings-module__fields-group{margin:0}.googlesitekit-plugin .googlesitekit-setup-module--ads .googlesitekit-setup-module__create-account{margin:16px 0 0}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--ads .googlesitekit-setup-module__create-account{margin:24px 0 0}}.googlesitekit-plugin .googlesitekit-setup-module--ads .googlesitekit-setup-module__action{margin-bottom:32px}.googlesitekit-plugin .googlesitekit-ads-settings-fields .googlesitekit-settings-module__fields-group-title{margin-bottom:0}.googlesitekit-plugin .googlesitekit-ads-settings-fields p.googlesitekit-settings-module__fields-group-helper-text{color:#6c726e;font-size:14px;font-weight:400;margin-bottom:20px;margin-top:6px}.googlesitekit-plugin .googlesitekit-ads-settings-fields p.mdc-dialog__lead{font-size:14px}.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:20px 16px 0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:24px}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:22px;font-weight:500;line-height:1.27}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:28px;line-height:1.286}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__description{font-size:14px;line-height:1.43}}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__description{font-size:16px;line-height:1.5}}.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__actions-wrapper{gap:4px;margin-bottom:27px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__actions-wrapper{gap:10px;margin-bottom:0;padding:10px 0}}.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{max-height:143px;scale:1}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{max-height:272px;right:70px;scale:1.6;top:10px;width:65%}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-ads-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{right:50px;scale:1.1;width:unset}}.googlesitekit-plugin .googlesitekit-widget .googlesitekit-pax-embedded-app .card-content{padding:0}.googlesitekit-plugin .googlesitekit-widget .googlesitekit-pax-embedded-app .mdc-card.card{border-radius:16px;box-shadow:none;margin-top:0;max-width:unset;padding:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget .googlesitekit-pax-embedded-app .mdc-card.card{padding:24px}}.googlesitekit-plugin .googlesitekit-widget .googlesitekit-pax-embedded-app .mdc-card.card .notification{margin-top:0}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery .googlesitekit-publisher-win,.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery .mdc-layout-grid{padding:0}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__content{margin-bottom:30px}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__content p{margin:10px 0 0}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__graphics{text-align:center}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__graphics p{color:#6c726e;font-size:12px;margin:0 34px}@media(max-width: 600px){.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__graphics{text-align:left}.googlesitekit-plugin .googlesitekit-widget--adBlockingRecovery__graphics p{margin:0}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__complete-content{padding-left:35px}}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__complete-content p{color:#6c726e;font-size:16px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__hero-graphic{margin:0 2rem;text-align:center}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__hero-graphic svg{max-width:400px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__footer{border-top:1px solid #ebeef0;display:flex;flex-direction:column;justify-content:space-between;margin:42px 0 0;padding:14px 24px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__footer{align-items:center;flex-direction:row}}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__complete-actions .mdc-button{margin-right:10px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__footer-nav{align-items:center;column-gap:20px;display:flex;padding:17px 17px 33px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__footer-nav{flex-direction:reverse;padding:0}}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__footer-cancel button{color:#6c726e}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery-notification .googlesitekit-publisher-win__image-small{text-align:center}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery-notification .googlesitekit-publisher-win__image-small svg{max-width:233px}.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta{align-items:center;flex-wrap:wrap;margin-top:24px;padding:24px;row-gap:15px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta{flex-wrap:nowrap}}.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta .googlesitekit-settings-notice__icon{margin-right:20px}.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta .googlesitekit-settings-notice__text{font-size:14px;font-weight:500;line-height:1.14}.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta .googlesitekit-settings-notice__inner-row{flex-wrap:wrap;font-size:14px;line-height:1.43;padding-top:3px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-settings-notice-ad-blocking-recovery-cta .googlesitekit-settings-notice__button{margin-left:25px;white-space:nowrap}}.googlesitekit-plugin .googlesitekit-settings-module__ad-blocking-recovery-toggles{margin-top:20px}.googlesitekit-plugin .googlesitekit-settings-module__ad-blocking-recovery-toggles .googlesitekit-settings-module__meta-item{margin-bottom:0}.googlesitekit-plugin .googlesitekit-settings-module__ad-blocking-recovery-toggles .googlesitekit-settings-module__meta-item p{left:42px;margin-top:10px;position:relative}.googlesitekit-plugin .googlesitekit-settings-module__ad-blocking-recovery-toggles .googlesitekit-settings-notice{margin-bottom:0}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step .googlesitekit-stepper__step-content>p{color:#6c726e;font-size:16px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step .googlesitekit-stepper__step-content>p:first-child{margin-top:0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step .googlesitekit-stepper__step-content>p:first-child{margin-top:8px}}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step-place-tags p.googlesitekit-ad-blocking-recovery__error-protection-tag-info{font-size:14px;line-height:1.43;margin:0 0 20px 34px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step-create-message .googlesitekit-ad-blocking-recovery__create-message-footer-actions{align-items:center;display:flex;flex-wrap:wrap;gap:26px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step-create-message .googlesitekit-ad-blocking-recovery__create-message-footer-actions .googlesitekit-cta-link{color:#6c726e;font-weight:500}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step-create-message .googlesitekit-ad-blocking-recovery__create-message-footer{display:inline-block;margin-top:12px}.googlesitekit-plugin .googlesitekit-ad-blocking-recovery__step-create-message p.googlesitekit-ad-blocking-recovery__create-message-footer-note{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33;margin-top:24px}.googlesitekit-plugin .googlesitekit-adsense-alert.googlesitekit-publisher-win .googlesitekit-publisher-win__module-name{font-size:16px}.googlesitekit-plugin .googlesitekit-adsense-alert .googlesitekit-publisher-win__image-small svg{width:68px}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__desc{align-items:center;display:inline-flex}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__desc .googlesitekit-ga4-reminder-banner__description-icon{margin-right:10px;vertical-align:middle}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__desc .googlesitekit-ga4-reminder-banner__description-icon--info path{fill:#3c7251}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__desc .googlesitekit-ga4-reminder-banner__description-icon--error path{fill:#ac4220}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__icon{min-height:22px}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__secondary-pane{margin:0}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__secondary-pane .googlesitekit-publisher-win__secondary-pane-title{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;margin:8px 0 0}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__secondary-pane .googlesitekit-publisher-win__secondary-pane-list li{color:#757575;display:flex;max-width:22rem}.googlesitekit-plugin .googlesitekit-ga4-reminder-banner .googlesitekit-publisher-win__secondary-pane .googlesitekit-publisher-win__secondary-pane-list li svg{fill:currentColor;flex:none;margin-right:8px}.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__title{font-size:18px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__title{max-width:66.67%}}.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__footer p,.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__footer ul{color:#757575}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__footer p,.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-publisher-win__footer ul{max-width:66.67%}}.googlesitekit-plugin .googlesitekit-ga4-setup-banner .googlesitekit-ga4-setup-banner__field-group{align-items:center;column-gap:30px;display:flex;flex-wrap:wrap;margin:25px 0 10px;row-gap:24px}.googlesitekit-plugin .googlesitekit-ga4-setup-banner__footer-text-list{list-style-type:none;margin:0}.googlesitekit-plugin .googlesitekit-ga4-setup-banner__footer-text-list li{font-size:14px;letter-spacing:.25px;line-height:1.5;margin:.5em 0}.googlesitekit-plugin .googlesitekit-ga4-setup-banner__footer-text-list li:first-child{margin-top:1em}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-module__fields-group-title+.googlesitekit-setup-module__inputs .googlesitekit-analytics__select-account,.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-module__fields-group-title+.googlesitekit-setup-module__inputs .googlesitekit-analytics-4__select-property,.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-module__fields-group-title+.googlesitekit-setup-module__inputs .googlesitekit-analytics-4__select-webdatastream{margin-top:8px}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-analytics-enable+.googlesitekit-setup-module__inputs .googlesitekit-analytics__select-property,.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-analytics-enable+.googlesitekit-setup-module__inputs .googlesitekit-analytics__select-profile{margin-top:8px}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-analytics-ads-conversion-id-notice{align-items:center;display:flex;margin:3px 0 0;padding:14px 24px}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-analytics-ads-conversion-id-notice .googlesitekit-settings-notice__icon{margin-right:16px}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-analytics-ads-conversion-id-notice .googlesitekit-settings-notice__text{font-size:14px;font-weight:500}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-analytics-ads-conversion-id-notice .googlesitekit-settings-notice__button button{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif}.googlesitekit-plugin .googlesitekit-settings-module--analytics-4 .googlesitekit-settings-module__fields-group:has(+.googlesitekit-settings-analytics-ads-conversion-id-notice){border-bottom:none}.googlesitekit-plugin .googlesitekit-setup-module--analytics .googlesitekit-analytics-enable+.googlesitekit-setup-module__inputs .googlesitekit-analytics__select-property,.googlesitekit-plugin .googlesitekit-setup-module--analytics .googlesitekit-analytics-enable+.googlesitekit-setup-module__inputs .googlesitekit-analytics__select-profile{margin-top:8px}.googlesitekit-plugin .googlesitekit-setup-module--analytics .googlesitekit-setup-module__inputs--multiline .googlesitekit-analytics-webdatastreamname{margin-bottom:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--analytics .googlesitekit-setup-module__inputs--multiline .googlesitekit-analytics-webdatastreamname{margin-bottom:24px}}.googlesitekit-plugin .googlesitekit-analytics-enable-enhanced-measurement--loading{padding-top:10px}.googlesitekit-plugin .googlesitekit-analytics-enable-enhanced-measurement__progress--settings-edit{margin:0 0 21px}.googlesitekit-plugin .googlesitekit-analytics-enable-enhanced-measurement__progress--settings-view{margin:0 0 13px}.googlesitekit-plugin .googlesitekit-enhanced-measurement-setup-banner svg,.googlesitekit-plugin .googlesitekit-enhanced-measurement-success-banner svg{max-height:175px}.googlesitekit-plugin .googlesitekit-enhanced-measurement-setup-banner__footer-notice{color:#757575;font-size:14px;letter-spacing:.25px;line-height:1.5;margin:1em 0 .5em}.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-primary-cell{padding:0 24px 24px}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-primary-cell{padding-bottom:0}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-text__wrapper .googlesitekit-publisher-win__title{font-size:16px;font-weight:500;margin-bottom:10px}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-text__wrapper .googlesitekit-publisher-win__title{margin-bottom:8px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-text__wrapper .googlesitekit-publisher-win__title{margin-bottom:25px}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-text__wrapper p{margin-top:0}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-text__wrapper p{font-size:12px;margin-top:0}}.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-actions__wrapper{align-items:center;column-gap:30px;display:flex;flex-wrap:wrap;margin:25px 0;row-gap:24px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-actions__wrapper{margin:25px 0 0}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-actions__wrapper{column-gap:10px}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-actions__wrapper a,.googlesitekit-plugin .googlesitekit-audience-segmentation-setup-cta-widget .googlesitekit-widget-audience-segmentation-actions__wrapper button{font-weight:500}}.googlesitekit-plugin .googlesitekit-widget-audience-segmentation-svg__wrapper{bottom:-5px;position:relative}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile{margin-bottom:16px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__header{align-items:center;border-bottom:1px solid #ebeef0;color:#161b18;display:flex;font-size:14px;justify-content:space-between;line-height:16px;padding:25px;width:100%}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__header .googlesitekit-audience-segmentation-tile__header-title{display:flex}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__header .googlesitekit-audience-segmentation-tile__header-title .googlesitekit-info-tooltip{display:inline-block;height:16px;margin-left:5px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__metrics>.googlesitekit-audience-segmentation-partial-data-notice{margin:16px 16px 10px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric{border-bottom:1px solid #ebeef0;display:flex;margin:0 16px;padding:12px 0}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric{margin:0 24px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric:last-child{border-bottom:none}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__icon{align-items:center;display:flex;margin-right:4px;min-width:36px;width:36px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__icon svg{height:20px;width:20px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__icon{justify-content:center;min-width:52px;width:52px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__container{flex-grow:1}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__container .googlesitekit-audience-segmentation-tile-metric__value{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:28px;font-weight:400;line-height:32px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__container .googlesitekit-audience-segmentation-tile-metric__title{color:#6c726e;font-size:14px;font-weight:400;letter-spacing:.25px;line-height:20px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__badge-container{align-items:center;display:flex;flex-direction:row}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric .googlesitekit-audience-segmentation-tile-metric__badge-container .googlesitekit-change-badge{margin-top:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--cities .googlesitekit-audience-segmentation-tile-metric__container{min-width:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--cities .googlesitekit-audience-segmentation-tile-metric__content{display:grid;gap:16px;grid-auto-columns:minmax(0, 1fr);grid-auto-flow:column;margin-top:12px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--cities .googlesitekit-audience-segmentation-tile-metric__content{gap:10px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--cities .googlesitekit-audience-segmentation-tile-metric__content .googlesitekit-audience-segmentation-tile-metric__cities-metric .googlesitekit-audience-segmentation-tile-metric__cities-metric-name{color:#161b18;font-size:14px;font-weight:500;line-height:1.14;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--cities .googlesitekit-audience-segmentation-tile-metric__content .googlesitekit-audience-segmentation-tile-metric__cities-metric .googlesitekit-audience-segmentation-tile-metric__cities-metric-value{color:#161b18;font-size:14px;font-weight:400;line-height:1.43}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__title{height:20px;line-height:20px;margin-bottom:10px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__title:has(.googlesitekit-audience-segmentation-partial-data-badge){align-items:center;display:flex;height:auto;justify-content:space-between;margin:4px 0 14px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-cta-link,.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile__top-content-metric-name{margin-right:30px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__container,.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-cta-link{min-width:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__container .googlesitekit-cta-link__contents,.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__container .googlesitekit-audience-segmentation-tile__top-content-metric-name,.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-cta-link .googlesitekit-cta-link__contents,.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-cta-link .googlesitekit-audience-segmentation-tile__top-content-metric-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__page-metric-container{display:flex;font-size:12px;justify-content:space-between;line-height:1.33;margin:6px 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__content .googlesitekit-audience-segmentation-partial-data-notice{margin-top:10px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__content .googlesitekit-audience-segmentation-tile-metric__no-data p{color:#161b18;font-size:12px;font-weight:400;line-height:16px;margin:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile-metric.googlesitekit-audience-segmentation-tile-metric--top-content .googlesitekit-audience-segmentation-tile-metric__content .googlesitekit-audience-segmentation-tile-metric__no-data .mdc-button{font-weight:500;margin-top:8px;min-height:32px;padding:6px 16px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile.googlesitekit-audience-segmentation-tile--partial-data .googlesitekit-audience-segmentation-tile__header{padding:19px 25px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container{align-items:center;display:flex;flex-direction:column;text-align:center}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container .googlesitekit-audience-segmentation-tile__header{border-bottom:none}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container .googlesitekit-audience-segmentation-tile__zero-data-content{padding:155px 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container .googlesitekit-audience-segmentation-tile__zero-data-image{margin-bottom:20px;width:106px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container .googlesitekit-audience-segmentation-tile__zero-data-description{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.14;margin:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile .googlesitekit-audience-segmentation-tile__zero-data-container .googlesitekit-audience-segmentation-tile-hide-cta{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;margin:6px 0;padding:6px 12px;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading{margin:16px 16px 20px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading{margin:24px 24px 28px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading .googlesitekit-preview-block{margin:22px 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading .googlesitekit-preview-block:first-of-type{display:none}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading .googlesitekit-preview-block:last-of-type{margin-bottom:31px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading .googlesitekit-preview-block{margin:24px 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-loading .googlesitekit-preview-block:first-of-type{display:flex;margin-bottom:35px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error{background-color:#fff;border:2px solid #ac4220;border-radius:16px;padding:155px 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error .googlesitekit-audience-segmentation-tile-error__container{align-items:center;display:flex;flex-direction:column;gap:24px;margin:16px auto;text-align:center}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error .googlesitekit-audience-segmentation-tile-error__container .googlesitekit-audience-segmentation-tile-error__image{width:190px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error .googlesitekit-audience-segmentation-tile-error__container .googlesitekit-audience-segmentation-tile-error__body .googlesitekit-audience-segmentation-tile-error__title{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.14;margin-top:0}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error .googlesitekit-audience-segmentation-tile-error__container .googlesitekit-audience-segmentation-tile-error__body .googlesitekit-audience-segmentation-tile-error__actions .googlesitekit-report-error-actions{color:#6c726e;flex-direction:column-reverse;font-size:12px;font-weight:400;line-height:1.33;margin:0 16px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-error .googlesitekit-audience-segmentation-tile-error__container .googlesitekit-audience-segmentation-tile-error__body .googlesitekit-audience-segmentation-tile-error__actions .googlesitekit-report-error-actions .mdc-button{font-weight:500;min-height:32px;padding:6px 16px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder{min-height:542px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder .googlesitekit-widget__body{align-items:center;display:flex;justify-content:center}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder__container{align-items:center;display:flex;flex-direction:column;gap:24px;max-width:340px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder__image{max-width:245px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder__body{text-align:center}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences{margin-top:10px}.googlesitekit-plugin .googlesitekit-audience-segmentation-tile-placeholder__title{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.14;margin:0 0 6px}.googlesitekit-plugin p.googlesitekit-audience-segmentation-tile-placeholder__description{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;line-height:1.33;margin:0}.googlesitekit-plugin p.googlesitekit-audience-segmentation-tile-placeholder__description .googlesitekit-cta-link{font-weight:500}.googlesitekit-audience-segmentation-info-notice{align-items:center;background-color:#fff;border-radius:16px;display:flex;gap:20px;justify-content:space-between;padding:16px}@media(min-width: 960px){.googlesitekit-audience-segmentation-info-notice{padding:16px 40px}}.googlesitekit-audience-segmentation-info-notice svg{color:#fece72;flex-shrink:0}.googlesitekit-audience-segmentation-info-notice__body{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;gap:0 60px;min-width:0}.googlesitekit-audience-segmentation-info-notice__body p{flex-basis:400px;flex-grow:1}.googlesitekit-audience-segmentation-info-notice__dismiss{flex-shrink:0;margin-left:auto}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget{border:2px solid #ac4220}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-audience-segmentation-error__widget-primary-cell{padding:20px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-audience-segmentation-error__widget-primary-cell{padding:20px 36px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-publisher-win__title{display:grid;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;font-weight:500;line-height:1.33;margin:0 0 14px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-publisher-win__title{place-content:start}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-publisher-win__title{margin:14px 0}}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-report-error-actions{align-items:flex-start;display:flex;flex-direction:column-reverse}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-report-error-actions{padding-bottom:10px}}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-report-error-actions .mdc-button{font-weight:500;padding:6px 16px}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-report-error-actions .googlesitekit-error-retry-text{color:#161b18;flex:1;letter-spacing:.25px;margin:-14px 0 0}.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-widget-audience-segmentation-error__svg-wrapper{display:flex;justify-content:flex-start;margin:16px 8px 0}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-audience-segmentation-error-widget .googlesitekit-widget-audience-segmentation-error__svg-wrapper{justify-content:space-evenly;margin:0}}.googlesitekit-info-tooltip__content.googlesitekit-info-tooltip__content--audience{color:#ebeef0}.googlesitekit-info-tooltip__content.googlesitekit-info-tooltip__content--audience a{color:#ebeef0;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles{border-radius:16px}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs{border-bottom:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller{border-top-left-radius:16px;border-top-right-radius:16px}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller .mdc-tab-scroller__scroll-content .mdc-tab{flex:none;height:56px;pointer-events:none}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller .mdc-tab-scroller__scroll-content .mdc-tab .mdc-tab__content{color:#161b18;font-size:12px;font-weight:500;letter-spacing:-0.1px;line-height:1.33;padding-top:2px;pointer-events:all}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller .mdc-tab-scroller__scroll-content .mdc-tab .mdc-tab__content .googlesitekit-info-tooltip{height:18px;margin-left:5px}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller .mdc-tab-scroller__scroll-content .mdc-tab.mdc-tab--active .mdc-tab__content{color:#3c7251}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles .googlesitekit-widget-audience-tiles__tabs .mdc-tab-scroller .mdc-tab-indicator>.mdc-tab-indicator__content--underline{height:3px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles{background-color:transparent}}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles>.googlesitekit-widget__body .googlesitekit-widget-audience-tiles__body{display:grid;gap:16px;grid-auto-columns:1fr;grid-template-columns:1fr}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles>.googlesitekit-widget__body .googlesitekit-widget-audience-tiles__body>.googlesitekit-widget{overflow:hidden}@media(max-width: 960px){.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles>.googlesitekit-widget__body .googlesitekit-widget-audience-tiles__body>:not(.googlesitekit-audience-segmentation-error-widget){border-top-left-radius:0;border-top-right-radius:0}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget-audience-tiles>.googlesitekit-widget__body .googlesitekit-widget-audience-tiles__body{gap:24px;grid-auto-columns:minmax(400px, 1fr);grid-auto-flow:column;grid-template-columns:repeat(auto-fit, minmax(400px, 1fr));overflow-x:auto}}.googlesitekit-plugin .googlesitekit-audience-widget__source{float:right;margin:14px 0;padding:4px 0}.googlesitekit-plugin .googlesitekit-lean-cta-banner.googlesitekit-no-audience-banner .googlesitekit-lean-cta-banner__graphic{padding-bottom:26px}.googlesitekit-plugin .googlesitekit-lean-cta-banner.googlesitekit-no-audience-banner .googlesitekit-lean-cta-banner__graphic svg{max-height:110px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-lean-cta-banner.googlesitekit-no-audience-banner .googlesitekit-lean-cta-banner__graphic{padding-bottom:20px;padding-inline:85px;padding-top:20px}}.googlesitekit-plugin .mdc-layout-grid.googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation{padding-top:3px}@media(min-width: 961px){.googlesitekit-plugin .mdc-layout-grid.googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation{padding-top:8px}}.googlesitekit-audience-segmentation-partial-data-notice{background-color:#ffe4b1;border-radius:8px;color:#4e3300;display:flex;font-size:12px;letter-spacing:.2px;line-height:1.33;padding:16px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-selection-box .mdc-checkbox__description{padding-top:4px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-selection-box .googlesitekit-badge-with-tooltip{padding:4px 10px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__learn-more{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33;margin-top:auto;padding:20px 24px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-selection-panel-footer{margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice{align-items:center;background-color:#ffded3;display:flex;justify-content:space-between;padding:10px 24px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice p{color:#7a1e00;flex-basis:65%;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice p a{color:#7a1e00;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action{border-radius:100px;min-height:32px;padding:6px 16px;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:not(:disabled){color:#7a1e00}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(:disabled){background-color:rgba(255,194,174,.6)}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:hover::before{opacity:.04}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:hover:not(:disabled){color:#7a1e00}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(:disabled){background-color:#ffc2ae}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:hover::before{opacity:.04}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active.mdc-ripple-upgraded,.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__error-notice .googlesitekit-audience-selection-panel__error-notice-actions .googlesitekit-audience-selection-panel__error-notice-action:focus:not(:disabled){color:#7a1e00}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice{background-color:#f3f5f7;margin:5px 24px;padding:16px 20px}@media(max-width: 449px){.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice{padding:16px}}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice .googlesitekit-audience-segmentation-info-notice__body{flex-wrap:nowrap;grid-gap:0 30px}@media(max-width: 449px){.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice .googlesitekit-audience-segmentation-info-notice__body{flex-wrap:wrap}}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice .googlesitekit-audience-segmentation-info-notice__body p{margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice svg{height:22px;width:22px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__add-group-notice .googlesitekit-audience-segmentation-info-notice__dismiss{color:#161b18}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice{background-color:#f3f5f7;border-radius:8px;margin:5px 24px;padding:20px 20px 6px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-header{display:flex;justify-content:space-between}.googlesitekit-plugin .googlesitekit-audience-selection-panel p.googlesitekit-audience-selection-panel__audience-creation-notice-title{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-close svg{color:#6c726e;height:12px;width:12px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-body{display:flex;flex-direction:column;justify-content:space-between}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-audience{display:flex;justify-content:space-between;margin-bottom:12px;padding-top:5px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-audience+.googlesitekit-audience-selection-panel__audience-creation-notice-audience{border-top:1px solid #cbd0d3;padding-top:12px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-audience-details h3{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.43;margin-bottom:1px;margin-top:7px}.googlesitekit-plugin .googlesitekit-audience-selection-panel p.googlesitekit-audience-selection-panel__audience-creation-notice-audience-description{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-audience-button{align-items:center;display:flex}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-audience-button .mdc-button{background-color:#161b18;min-height:32px;padding:6px 16px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-info .googlesitekit-subtle-notification{align-items:center;border-radius:8px;flex-direction:row;gap:16px;margin:18px 0;padding:8px 16px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-info .googlesitekit-subtle-notification__content{flex:1}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-info .googlesitekit-subtle-notification__content p{font-size:12px;font-weight:400}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-selection-panel__audience-creation-notice-info .googlesitekit-subtle-notification__action{justify-content:initial;width:initial}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice{align-items:center;background-color:#fff;border:2px solid #ac4220;border-radius:8px;display:flex;gap:16px;margin-bottom:12px;padding:14px 16px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice .googlesitekit-audience-creation-error-notice__content{display:flex;flex-direction:column;gap:4px}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice svg{color:#ac4220;flex-shrink:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice p.googlesitekit-audience-creation-error-notice__title{color:#161b18;font-size:14px;font-weight:500;line-height:1.43;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice p.googlesitekit-audience-creation-error-notice__description{color:#161b18;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel .googlesitekit-audience-creation-error-notice .googlesitekit-audience-creation-error-notice__actions .mdc-button{font-weight:500;min-height:32px;padding:6px 16px;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice{align-items:center;background-color:#b8e5ca;display:flex;gap:10px;justify-content:flex-start;padding:10px 24px}.googlesitekit-plugin p.googlesitekit-audience-selection-panel__success-notice-message{color:#265c3b;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-icon{height:24px;width:24px}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions{margin-left:auto}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary{font-weight:500;margin:0 auto;min-height:32px;padding:6px 16px;white-space:nowrap}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:not(:disabled){color:#265c3b}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(:disabled){background-color:rgba(147,201,168,.6)}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:hover::before{opacity:.04}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:hover:not(:disabled){color:#265c3b}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(:disabled){background-color:#93c9a8}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:hover::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:hover::before{opacity:.04}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active.mdc-ripple-upgraded,.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .googlesitekit-audience-selection-panel__success-notice-actions .mdc-button--tertiary:focus:not(:disabled){color:#265c3b}.googlesitekit-plugin .googlesitekit-reader-revenue-manager-publication-approved-notification .mdc-button--raised{font-weight:500;gap:0 6px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-publication-approved-notification{max-width:348px}}.googlesitekit-plugin .googlesitekit-settings-module--reader-revenue-manager .googlesitekit-settings-module__meta-items+.googlesitekit-publication-onboarding-state-notice{margin-top:24px}.googlesitekit-plugin .googlesitekit-setup-module--reader-revenue-manager form>.googlesitekit-cta-link{font-weight:500}.googlesitekit-plugin .googlesitekit-setup-module--reader-revenue-manager .googlesitekit-setup-module__step .googlesitekit-publication-onboarding-state-notice{margin-bottom:40px}.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__title,.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__description{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;letter-spacing:.25px;line-height:1.43}.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__title{margin-bottom:0}.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__description{margin-top:3px}.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__action{margin-top:40px}.googlesitekit-plugin .googlesitekit-setup-module__publication-create-screen .googlesitekit-setup-module__action svg{margin-left:6px}.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:20px 16px 0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__primary-cell{padding:24px}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-weight:500}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:22px;line-height:1.27}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__title{font-size:28px;line-height:1.286}}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__description{font-size:14px;line-height:1.43}}@media(min-width: 1281px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__description{font-size:16px;line-height:1.5}}.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__actions-wrapper{gap:4px;margin-bottom:27px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__actions-wrapper{gap:10px;margin-bottom:0;padding:10px 0}}.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{flex:1;max-height:143px;scale:1}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{max-height:272px;right:70px;scale:1.6;top:10px;width:65%}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-reader-revenue-manager-setup-cta-widget .googlesitekit-setup-cta-banner__svg-wrapper svg{right:50px;scale:1.1;width:unset}}.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__actions-wrapper{gap:0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__actions-wrapper{gap:16px}}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__actions-wrapper{gap:24px}}.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__svg-wrapper--setup-cta-siwg{align-items:flex-end;display:flex;justify-content:center}.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__svg-wrapper--setup-cta-siwg svg{flex:1;max-height:136px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-setup-cta-banner--setup-cta-siwg .googlesitekit-setup-cta-banner__svg-wrapper--setup-cta-siwg svg{max-height:265px}}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-badge{margin:0 0 2px 13px;padding:4px 8px}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .mdc-text-field{height:48px}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .mdc-text-field .mdc-floating-label{top:15px}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-setup-module__step-description{margin:0 0 1.7em}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-client-id-cta{font-weight:500;min-height:32px;padding:3px 18px}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-client-id-cta svg{margin-left:6px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form{display:flex;justify-content:space-between}}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item{flex:2}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item{max-width:510px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item{max-width:670px}}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg{flex:1;margin-bottom:-16px;overflow:hidden;position:relative;text-align:center}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg{bottom:unset;margin-bottom:-25px;min-width:40%;top:-30px}}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg svg{display:none;height:100%;position:relative;width:100%}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg svg{bottom:-60px;display:inline-block;max-height:260px}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg svg{bottom:unset;max-height:248px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-sign-in-with-google-setup__form .googlesitekit-setup-module__panel-item--with-svg svg{max-height:300px}}.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-settings-module__fields-group,.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-text-field-client-id{width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-setup-module--sign-in-with-google .googlesitekit-setup-module__step p{max-width:610px}}.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google{margin-top:32px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google{margin-top:0}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid{padding:24px 48px}}.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid .mdc-layout-grid__cell:first-child{order:2}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid .mdc-layout-grid__cell:first-child{order:1}}.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid .mdc-layout-grid__cell:last-child{order:1}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid .mdc-layout-grid__cell:last-child{justify-self:start;margin-left:0}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-setup__footer--sign-in-with-google .mdc-layout-grid .mdc-layout-grid__cell:last-child{order:2}}.googlesitekit-plugin .googlesitekit-settings-module--sign-in-with-google>.mdc-layout-grid{margin-bottom:0}.googlesitekit-plugin .googlesitekit-settings-module--sign-in-with-google .googlesitekit-sign-in-with-google-settings-fields .mdc-layout-grid{padding:0}.googlesitekit-plugin .googlesitekit-settings-module--sign-in-with-google .googlesitekit-sign-in-with-google-settings-fields .mdc-layout-grid .mdc-layout-grid .mdc-layout-grid__inner{margin-bottom:24px}.googlesitekit-plugin .googlesitekit-settings-module--sign-in-with-google .mdc-select{width:100%}.googlesitekit-plugin .googlesitekit-km-widget-tile{display:flex;flex-direction:column;justify-content:space-between;padding:12px 16px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile{min-height:150px;padding:18px 24px}}.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__title-container{display:flex;flex-basis:50%;flex-grow:1}.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__title{color:#6c726e;flex:1;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:16px;margin:0 8px 4px 0}.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__body{display:flex;flex-basis:50%;flex-grow:1}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__body{flex-direction:column}}.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__metric-container{flex-basis:100%}.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__metric-change-container{align-self:flex-end;display:flex}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile .googlesitekit-km-widget-tile__metric-change-container{align-self:auto}}.googlesitekit-plugin .googlesitekit-km-widget-tile--numeric .googlesitekit-km-widget-tile__metric{font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:32px;line-height:1.25;margin-top:4px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--numeric .googlesitekit-km-widget-tile__metric{margin:0}}.googlesitekit-plugin .googlesitekit-km-widget-tile--numeric .googlesitekit-km-widget-tile__subtext{font-size:12px;font-weight:500;line-height:1.33;margin:-1px 0 1px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--numeric .googlesitekit-km-widget-tile__subtext{font-size:14px;font-weight:400;line-height:1.43;margin:-4px 0 1px}}.googlesitekit-plugin .googlesitekit-km-widget-tile--text .googlesitekit-km-widget-tile__metric{font-size:18px;font-weight:500;margin-top:4px;text-transform:capitalize}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--text .googlesitekit-km-widget-tile__metric{margin:5px 0 0}}.googlesitekit-plugin .googlesitekit-km-widget-tile--text .googlesitekit-km-widget-tile__subtext{font-size:12px;font-weight:500;line-height:1.33;margin:2px 0 0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--text .googlesitekit-km-widget-tile__subtext{font-size:14px;font-weight:400;line-height:1.43;margin:0}}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-km-widget-tile__table{display:flex;flex-direction:column;font-size:12px;margin-top:12px;width:100%}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-row{display:flex;flex-direction:row;justify-content:space-between;padding:2px 0}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-item{margin-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-item:last-child{margin-right:0;overflow:visible;text-overflow:unset}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-item strong{font-weight:500}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-item .googlesitekit-cta-link{display:inline}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-km-widget-tile__table-plain-text{color:#161b18;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:0;overflow:hidden;text-overflow:ellipsis}.googlesitekit-plugin .googlesitekit-km-widget-tile--table .googlesitekit-table__body-zero-data{font-size:14px;line-height:1.43}.googlesitekit-plugin .googlesitekit-km-widget-tile__loading{width:100%}.googlesitekit-plugin .googlesitekit-km-widget-tile__loading .googlesitekit-km-widget-tile__loading-body{margin-top:10px}.googlesitekit-plugin .googlesitekit-km-widget-tile--error{height:100%}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error{background:#fff;border:2px solid #7a1e00;padding:14px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error{min-height:150px;padding:16px 22px}}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-cta__header{column-gap:8px;display:flex;flex-basis:50%}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-cta__header_text{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;margin:0 0 10px}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-cta__title{color:#161b18;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;font-weight:400}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions{align-items:flex-start;display:flex;flex-direction:row-reverse;gap:0}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions{flex-direction:column-reverse}}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions .googlesitekit-error-retry-text{color:#161b18;flex:1;margin:0;margin-right:14px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions .googlesitekit-error-retry-text{margin-right:0}}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions button:not(.googlesitekit-cta-link),.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions a.mdc-button{align-self:flex-end;font-weight:500;min-height:32px;padding:6px 16px}@media(min-width: 601px){.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions button:not(.googlesitekit-cta-link),.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions a.mdc-button{align-self:flex-start;margin-top:10px}}.googlesitekit-plugin .googlesitekit-km-widget-tile--error .googlesitekit-cta--error .googlesitekit-report-error-actions .googlesitekit-cta-link{color:#108080}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .mdc-layout-grid__inner{grid-template-rows:auto 1fr auto 1fr}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .mdc-layout-grid__inner{grid-template-rows:auto 1fr}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .mdc-layout-grid__cell{display:grid;grid-row:span 3;grid-template-columns:subgrid;grid-template-rows:subgrid}}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .mdc-layout-grid__cell{grid-row:span 2}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget{display:grid;grid-column:1/-1;grid-row:1/-1;grid-template-columns:subgrid;grid-template-rows:subgrid}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-cta--error,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-km-widget-tile--error{display:grid;grid-column:1/-1;grid-row:1/-1;grid-template-rows:subgrid}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-km-widget-tile{display:grid;gap:0;grid-column:1/-1;grid-row:1/-1;grid-template-columns:subgrid;grid-template-rows:subgrid}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--connectModuleCTATile,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--addMetricCTATile .googlesitekit-km-add-metric-cta-tile{grid-column:1/-1;grid-row:1/-1}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-km-widget-tile>div{grid-column:1/-1}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-cta--error>div,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-cta--error>h3{grid-column:1/-1}}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsConnectGA4All,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsSetupCTA{grid-template-columns:auto;grid-template-rows:auto}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsConnectGA4All .mdc-layout-grid__inner,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsSetupCTA .mdc-layout-grid__inner{grid-template-rows:auto}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsConnectGA4All .mdc-layout-grid__cell,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsSetupCTA .mdc-layout-grid__cell{grid-template-columns:auto;grid-template-rows:auto}}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsConnectGA4All .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .googlesitekit-widget--keyMetricsSetupCTA .googlesitekit-widget__body{display:block}}.googlesitekit-plugin .googlesitekit-widget-area--mainDashboardKeyMetricsPrimary .googlesitekit-widget-area-widgets .mdc-layout-grid__inner.googlesitekit-widget-key-metrics-footer{display:inline-block}.googlesitekit-plugin .googlesitekit-widget--connectModuleCTATile{align-items:center;container:cta-tile/inline-size;display:flex}.googlesitekit-plugin .googlesitekit-widget--connectModuleCTATile .googlesitekit-km-connect-module-cta-tile__ghost-card{display:none;height:90px;margin-right:12px;max-height:90px}@container cta-tile (inline-size > 400px){.googlesitekit-plugin .googlesitekit-widget--connectModuleCTATile .googlesitekit-km-connect-module-cta-tile__ghost-card:nth-child(2){display:flex;margin-left:12px}}@container cta-tile (inline-size > 600px){.googlesitekit-plugin .googlesitekit-widget--connectModuleCTATile .googlesitekit-km-connect-module-cta-tile__ghost-card:nth-child(4){display:flex}}@container cta-tile (inline-size > 900px){.googlesitekit-plugin .googlesitekit-widget--connectModuleCTATile .googlesitekit-km-connect-module-cta-tile__ghost-card:nth-child(3){display:flex}}.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile{align-items:center;display:flex;flex:1;padding:16px 0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile{padding:24px 0}}.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile__icon{display:flex;justify-content:right}.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile__content{flex:1;margin-left:8px}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile__content{margin-left:12px}}.googlesitekit-plugin .googlesitekit-km-connect-module-cta-tile__content .googlesitekit-km-connect-module-cta-tile__text{margin:0 0 4px}.googlesitekit-plugin .googlesitekit-widget--addMetricCTATile .googlesitekit-km-add-metric-cta-tile{align-items:center;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:center;padding:16px}.googlesitekit-plugin .googlesitekit-widget--addMetricCTATile .googlesitekit-km-add-metric-cta-tile:focus{border-radius:16px;outline:1px dotted #000}.googlesitekit-plugin .googlesitekit-widget--addMetricCTATile .googlesitekit-km-add-metric-cta-tile__icon{background-color:#ebeef0;border-radius:50%;height:48px;margin:0 auto;padding:16px;width:48px}.googlesitekit-plugin .googlesitekit-widget--addMetricCTATile .googlesitekit-km-add-metric-cta-tile__text{color:#6c726e;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;margin:7px 0 0}.googlesitekit-portal-survey{bottom:24px;position:fixed;right:24px;z-index:99999}@media(max-width: 449px){.googlesitekit-portal-survey{bottom:0;right:0}}@media(min-width: 1280px){.googlesitekit-portal-survey{bottom:34px;right:34px}}.googlesitekit-plugin .googlesitekit-survey__header-logo{margin:0 16px 0 0;width:24px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__header-logo{margin-right:24px}}.googlesitekit-plugin .googlesitekit-survey__header-logo svg{display:block}.googlesitekit-plugin .googlesitekit-survey__header-close{position:absolute;right:-12px;top:-12px}.googlesitekit-plugin .googlesitekit-survey__header-close svg{fill:#5f6561}.googlesitekit-plugin .googlesitekit-survey__header{align-items:center;display:flex;flex-wrap:nowrap;padding:16px 16px 8px;position:relative}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__header{padding:24px 24px 8px}}.googlesitekit-plugin .googlesitekit-survey__header .mdc-button:not(:disabled){background-color:transparent;border-radius:50%;box-shadow:none;height:40px;min-width:40px;padding:0;transition:background .2s ease-in-out;width:40px}.googlesitekit-plugin .googlesitekit-survey__header .mdc-button:not(:disabled):hover,.googlesitekit-plugin .googlesitekit-survey__header .mdc-button:not(:disabled):focus{background-color:#ebeef0}.googlesitekit-plugin .googlesitekit-survey__header h3{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;letter-spacing:.5px;line-height:1.5;margin:0}.googlesitekit-plugin .googlesitekit-survey__header-details{flex:1 0;padding:0 32px 0 0;position:relative}.googlesitekit-plugin .googlesitekit-survey{background-color:#fff;border-radius:8px;box-shadow:rgba(0,0,0,.14) 0 16px 24px 2px,rgba(0,0,0,.12) 0 6px 30px 5px,rgba(0,0,0,.2) 0 8px 10px -5px;max-width:400px}@media(max-width: 449px){.googlesitekit-plugin .googlesitekit-survey{max-width:none}}.googlesitekit-plugin .googlesitekit-survey__body{padding:0 0 16px;position:relative}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__body{padding-bottom:24px}}.googlesitekit-plugin .googlesitekit-survey__choices{display:flex;flex-wrap:nowrap;justify-content:space-between;margin-top:8px}.googlesitekit-plugin .googlesitekit-survey__choices>div{min-width:50px;overflow:visible}.googlesitekit-plugin .googlesitekit-survey__footer{padding:0 16px 16px;position:relative;text-align:right}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__footer{padding:0 24px 24px}}.googlesitekit-plugin .googlesitekit-survey__footer p{border-top:1px solid #ebeef0;color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;letter-spacing:.2px;margin:12px 0 0;padding-top:12px;text-align:left}.googlesitekit-plugin .googlesitekit-survey__footer .googlesitekit-survey__terms{margin:0;padding-top:12px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__footer .googlesitekit-survey__terms{margin:0 0 -12px}}.googlesitekit-plugin .googlesitekit-survey__footer .mdc-button{letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-survey__choice p{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:6px 0 0}.googlesitekit-plugin .googlesitekit-survey__choice:first-child{margin-left:8px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__choice:first-child{margin-left:15px}}.googlesitekit-plugin .googlesitekit-survey__choice:first-child p{transform:translateX(9px)}.googlesitekit-plugin .googlesitekit-survey__choice:last-child{margin-right:7px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__choice:last-child{margin-right:17px}}.googlesitekit-plugin .googlesitekit-survey__choice:last-child p{transform:translateX(-9px)}.googlesitekit-plugin .googlesitekit-survey__choice:not(:first-child):not(:last-child) p{display:none}.googlesitekit-plugin .googlesitekit-survey__choice .mdc-button:not(:disabled){background-color:transparent;border-radius:50%;box-shadow:none;color:#5f6561;height:50px;min-width:50px;padding:0;transition:background .2s ease-in-out;width:50px}.googlesitekit-plugin .googlesitekit-survey__choice .mdc-button:not(:disabled):hover,.googlesitekit-plugin .googlesitekit-survey__choice .mdc-button:not(:disabled):focus{background-color:#ebeef0}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__body{padding:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__body{padding:16px 24px}}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__multi-select__choice{align-items:center;display:flex;flex-wrap:wrap}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__multi-select__choice .mdc-text-field{flex-grow:1;height:35px;margin-left:10px;width:auto}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__multi-select__choice .mdc-text-field .mdc-text-field__input{background:transparent;font-size:12px;letter-spacing:.2px}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__multi-select__choice--disabled{opacity:.25}.googlesitekit-plugin .googlesitekit-survey__multi-select .googlesitekit-survey__multi-select__choice--disabled :hover{cursor:default}.googlesitekit-plugin .googlesitekit-survey__completion .googlesitekit-survey__body{color:#5f6561;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;padding:0 16px 16px 56px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-survey__completion .googlesitekit-survey__body{padding-left:70px;padding-right:24px}}.googlesitekit-survey__open-text .mdc-text-field{margin-bottom:16px}.googlesitekit-survey__open-text .mdc-text-field-helper-line{padding-left:0}.googlesitekit-survey__open-text .googlesitekit-survey__body{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:16px}@media(min-width: 960px){.googlesitekit-survey__open-text .googlesitekit-survey__body{padding:24px}}.googlesitekit-single-select .googlesitekit-survey__body{padding:16px}@media(min-width: 960px){.googlesitekit-single-select .googlesitekit-survey__body{padding:16px 24px}}.googlesitekit-single-select .googlesitekit-single-select__choice{align-items:center;display:flex;flex-wrap:wrap}.googlesitekit-single-select .mdc-text-field{flex-grow:1;height:35px;margin-left:10px;width:auto}.googlesitekit-single-select .mdc-text-field .mdc-text-field__input{background:transparent;font-size:12px;letter-spacing:.2px}.googlesitekit-overlay-notification{background-color:#fff;border-radius:16px;display:flex;flex-direction:column;margin:16px}@media(min-width: 600px){.googlesitekit-overlay-notification{bottom:32px;box-shadow:0 8px 24px 0 rgba(0,0,0,.25);inset-inline-end:32px;margin:0;max-width:296px;position:fixed;z-index:9970}}@media(min-width: 960px){.googlesitekit-overlay-notification{bottom:22px;inset-inline-end:42px;right:42px}html[dir=rtl] .googlesitekit-overlay-notification{right:unset}}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body{color:#161b18;padding:16px}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body h3{font-size:16px;font-weight:500;letter-spacing:.1px;line-height:1.25;margin:0 0 10px}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body p{font-size:12px;font-weight:400;letter-spacing:.2px;line-height:1.33;margin:0}@media(min-width: 600px){.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body{padding:24px}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body h3{font-size:22px;font-weight:400;letter-spacing:unset;line-height:1.27;margin:0 0 5px}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__body p{font-size:14px;font-weight:400;letter-spacing:.25px;line-height:1.43}}.googlesitekit-overlay-notification .googlesitekit-overlay-notification__actions{align-items:center;display:flex;flex-direction:row-reverse;gap:8px;justify-content:flex-end;padding:16px;padding-top:0}@media(min-width: 600px){.googlesitekit-overlay-notification .googlesitekit-overlay-notification__actions{flex-direction:row;padding:24px;padding-top:0}}.googlesitekit-widget-area--composite .googlesitekit-widget-area-widgets{background:#fff}@media(min-width: 961px){.googlesitekit-widget-area-header{margin-bottom:24px;margin-bottom:var(--mdc-layout-grid-margin-desktop, 24px)}}@media(min-width: 601px)and (max-width: 960px){.googlesitekit-widget-area-header{margin-bottom:16px;margin-bottom:var(--mdc-layout-grid-margin-tablet, 16px)}}@media(max-width: 600px){.googlesitekit-widget-area-header{margin-bottom:16px;margin-bottom:var(--mdc-layout-grid-margin-phone, 16px)}}.googlesitekit-widget-area-header .googlesitekit-widget-area-header__title{color:#161b18;font-weight:500;margin:0 0 .125rem}.googlesitekit-widget-area-header .googlesitekit-widget-area-header__subtitle{color:#161b18;display:flex;flex-grow:1;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;justify-content:space-between;letter-spacing:.25px;line-height:1.43;margin:0}@media(min-width: 600px){.googlesitekit-widget-area-header .googlesitekit-widget-area-header__subtitle{display:block}}.googlesitekit-widget-area-header .googlesitekit-widget-area-header__subtitle .googlesitekit-new-badge{height:24px;margin-left:14px}.googlesitekit-widget-area-header .googlesitekit-widget-area-header__details{align-items:flex-start;display:flex;justify-content:space-between}.googlesitekit-widget-area-header .googlesitekit-widget-area__cta-link{align-items:center;display:flex;font-size:14px;font-weight:500;line-height:1.43;padding-left:6px;white-space:nowrap}.googlesitekit-widget-area-footer__cta{font-size:14px;font-weight:500;margin:12px 0}.googlesitekit-widget-context{padding-bottom:10px;padding-top:10px}@media(min-width: 600px){.googlesitekit-widget-context{padding-left:10px;padding-right:10px}}.googlesitekit-widget-context--last{min-height:80vh}@media screen and (min-height: 1200px){.googlesitekit-widget-context--last{min-height:100vh}}.googlesitekit-plugin .googlesitekit-widget{background:#fff;border-radius:16px;display:flex;flex-direction:column;height:100%;overflow:hidden;padding:0}.googlesitekit-plugin .googlesitekit-widget .googlesitekit-widget__header--cta{margin:16px 0 0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget .googlesitekit-widget__header--cta{margin:0}}.googlesitekit-plugin .googlesitekit-widget .googlesitekit-widget__header--cta .googlesitekit-cta-link{font-size:16px;font-weight:400;letter-spacing:.5px}@media(min-width: 961px){.googlesitekit-plugin .googlesitekit-widget__header,.googlesitekit-plugin .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget__footer{padding:24px;padding:var(--mdc-layout-grid-margin-desktop, 24px)}}@media(min-width: 601px)and (max-width: 960px){.googlesitekit-plugin .googlesitekit-widget__header,.googlesitekit-plugin .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget__footer{padding:16px;padding:var(--mdc-layout-grid-margin-tablet, 16px)}}@media(max-width: 600px){.googlesitekit-plugin .googlesitekit-widget__header,.googlesitekit-plugin .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget__footer{padding:16px;padding:var(--mdc-layout-grid-margin-phone, 16px)}}.googlesitekit-plugin .googlesitekit-widget__header{border-bottom:1px solid #ebeef0}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget__header{display:flex;justify-content:space-between}}.googlesitekit-plugin .googlesitekit-widget__header .googlesitekit-widget__header-title{font-size:16px;line-height:1.25;margin:0}.googlesitekit-plugin .googlesitekit-widget__body{flex:1}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--no-padding .googlesitekit-widget__body{padding:0}.googlesitekit-plugin .googlesitekit-widget__footer{border-top:1px solid #ebeef0}.googlesitekit-plugin .googlesitekit-widget--hidden-footer .googlesitekit-widget__footer{visibility:hidden}.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--footer-v2 .googlesitekit-widget__footer{border-top:0;display:flex;justify-content:flex-end}.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget{background:transparent;box-shadow:none}.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__header,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__body,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__footer{padding-left:0;padding-right:0}.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__header:first-child,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__body:first-child,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__footer:first-child{padding-top:0}.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__header:last-child,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__body:last-child,.googlesitekit-plugin .googlesitekit-widget-area--composite .googlesitekit-widget .googlesitekit-widget__footer:last-child{padding-bottom:0}.googlesitekit-plugin .googlesitekit-adsense-performance-overview{display:flex;flex-wrap:wrap;justify-content:space-evenly;padding:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-adsense-performance-overview{padding:24px}}.googlesitekit-plugin .googlesitekit-adsense-performance-overview .googlesitekit-data-block--button{min-width:25%;padding-left:20px;padding-right:20px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totalcount .googlesitekit-data-block__title{display:block;text-transform:capitalize}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totalcount svg{vertical-align:bottom}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totalcount .googlesitekit-cta-link{font-size:16px;letter-spacing:.5px}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab__text-label,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab__text-label{color:#6c726e}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab-scroller__scroll-content,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab-scroller__scroll-content{justify-content:center}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab-indicator__content--underline,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab-indicator__content--underline{border-radius:4px 4px 0 0;height:4px}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab__text-label,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab__text-label{letter-spacing:normal;opacity:1;text-transform:none}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab{height:40px;margin:0 10px;padding:0 20px}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab.mdc-tab--active .mdc-tab__text-label,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab.mdc-tab--active .mdc-tab__text-label{color:#3c7251}@media(min-width: 600px)and (max-width: 1280px){.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab{margin:0;padding:0 10px}}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .mdc-tab--active[disabled] .mdc-tab-indicator__content--underline,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .mdc-tab--active[disabled] .mdc-tab-indicator__content--underline{background-color:#999f9b;opacity:.6}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .googlesitekit-widget__footer,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .googlesitekit-widget__footer{padding-top:0}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .googlesitekit-data-block__title,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .googlesitekit-data-block__title{font-size:14px;letter-spacing:.25px;line-height:1.43}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .googlesitekit-data-block__datapoint,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .googlesitekit-data-block__datapoint{font-size:58px;line-height:1.1}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .googlesitekit-data-block__arrow,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .googlesitekit-data-block__arrow{vertical-align:top}.googlesitekit-plugin .googlesitekit-widget__analytics--all-traffic .googlesitekit-data-block__suffix,.googlesitekit-plugin .googlesitekit-widget.googlesitekit-widget--legacy-all-traffic-widget .googlesitekit-data-block__suffix{font-weight:400}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__user-count-chart{position:relative;top:16px}}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__user-count-chart{top:0}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions{min-height:450px;padding-top:30px;position:relative}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions .googlesitekit-preview-block.googlesitekit-widget--analyticsAllTraffic__dimensions--not-loading{display:none}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions .googlesitekit-preview-block.googlesitekit-widget--analyticsAllTraffic__dimensions--loading{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions .googlesitekit-widget--analyticsAllTraffic__dimensions-container{position:relative}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totalcount--loading{margin:0 0 10px}@media(min-width: 1280px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totalcount--loading{min-height:106px}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart{height:100%;position:relative;width:100%}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-chart-loading{padding-bottom:32px;padding-top:32px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart{padding:16px;text-align:center}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart{padding:24px}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart .mdc-layout-grid__inner{align-items:center;min-height:120px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart .mdc-layout-grid__inner{min-height:270px}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart svg{max-width:140px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart h4{color:#6c726e;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;letter-spacing:.5px;line-height:1.5;margin:0}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart p{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1.33;margin:4px 0 0}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__selectable .googlesitekit-chart__inner>div>div>div>svg>g>path,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__selectable .googlesitekit-chart__inner>div>div>div>svg>g>g{cursor:pointer}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__slice-selected .googlesitekit-chart--PieChart div.google-visualization-tooltip{pointer-events:auto;z-index:8}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart-title{color:#6c726e;font-size:12px;font-weight:500;left:50%;letter-spacing:.2px;max-width:80px;position:absolute;text-align:center;text-transform:capitalize;top:50%;transform:translate(-50%, -50%)}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart-title span{display:block;font-weight:400}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart-gathering-data{color:#cbd0d3;font-size:18px;left:50%;line-height:1.33;max-width:80px;position:absolute;text-align:center;top:50%;transform:translate(-50%, -50%)}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__tabs--small{text-align:center}@media(min-width: 600px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__tabs--small{display:none}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__tabs--loading{display:flex;flex-direction:row;justify-content:center}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__tabs--loading .googlesitekit-preview-block{margin:0 10px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totals{margin-bottom:-24px}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totals .googlesitekit-cta--error{height:auto;margin-top:16px}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__totals .googlesitekit-cta--error{margin-top:24px}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__chart{min-height:368px;position:relative}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend{margin-top:-6px;text-align:center}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend .googlesitekit-cta-link__contents{align-items:center;display:inline-flex}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-slice{align-items:center;border-radius:4px;color:#333935;display:inline-flex;font-size:12px;font-weight:400;letter-spacing:.2px;margin:0 4px 0 0;padding:7px 4px;position:relative;text-transform:capitalize}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-slice:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-slice:focus{outline:none}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__label{display:inline-flex;flex-direction:column}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__label::after{content:attr(data-label);display:inline-flex;font-weight:500;height:0;visibility:hidden}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dot{border-radius:50%;display:inline-block;height:12px;margin:0 4px 0 0;width:12px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__underlay{display:block;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease-in-out;width:100%;z-index:1}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-active{font-weight:500}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-active .googlesitekit-widget--analyticsAllTraffic__underlay,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-slice:hover .googlesitekit-widget--analyticsAllTraffic__underlay{opacity:.16}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-others{cursor:text}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend-others:hover .googlesitekit-widget--analyticsAllTraffic__underlay{opacity:0}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__legend--single .googlesitekit-widget--analyticsAllTraffic__legend-slice:not(:first-child){display:none}.googlesitekit-plugin .googlesitekit-widget--adBlockerWarning{background-color:transparent;box-shadow:none}.googlesitekit-plugin .googlesitekit-ua-cutoff-warning--overall-page-metrics{padding-left:0;padding-right:0;padding-top:0}.googlesitekit-plugin .googlesitekit-widget-error-handler{display:grid;grid-column:1/-1;grid-row:1/-1;grid-template-columns:subgrid}.googlesitekit-plugin .googlesitekit-align-self-center{align-self:center}.googlesitekit-plugin .googlesitekit-border-radius-round{border-radius:50%}@media(min-width: 600px)and (max-width: 783px){.googlesitekit-plugin .googlesitekit-border-radius-round--tablet{border-radius:50%}}@media(max-width: 599px){.googlesitekit-plugin .googlesitekit-border-radius-round--phone{border-radius:50%}}.googlesitekit-plugin .googlesitekit-color--surfaces-on-background-variant{color:#6c726e}.googlesitekit-plugin .googlesitekit-display-block{display:block}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-desktop-display-none{display:none}}@media(max-width: 960px){.googlesitekit-plugin .googlesitekit-non-desktop-display-none{display:none}}.googlesitekit-plugin .googlesitekit-font-weight-bold{font-weight:700 !important}.googlesitekit-plugin .googlesitekit-margin-top-0{margin-top:0 !important}.googlesitekit-plugin .googlesitekit-margin-top-1{margin-top:1rem !important}.googlesitekit-plugin .googlesitekit-margin-bottom-0{margin-bottom:0 !important}.googlesitekit-plugin .googlesitekit-margin-left-1rem{margin-left:1rem}.googlesitekit-plugin .googlesitekit-margin-left-auto{margin-left:auto}.googlesitekit-plugin .googlesitekit-margin-right-0{margin-right:0}.googlesitekit-plugin .googlesitekit-overflow-auto{overflow:auto}.googlesitekit-plugin .googlesitekit-overflow-hidden{overflow:hidden}.googlesitekit-plugin .googlesitekit-overflow-wrap-break-word{overflow-wrap:break-word}.googlesitekit-plugin .googlesitekit-padding-top-0{padding-top:0}.googlesitekit-plugin .googlesitekit-padding-bottom-0{padding-bottom:0}.googlesitekit-plugin .googlesitekit-text-align-center{text-align:center}.googlesitekit-plugin .googlesitekit-width-auto{width:auto} dist/assets/css/googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css 0000604 00000006114 14717744000 0023652 0 ustar 00 .authorize-application-php{background-color:#fff}.authorize-application-php .wrap{margin:30px 0 0}.authorize-application-php .wrap h1{font-size:24px;line-height:32px;padding:0}.authorize-application-php .auth-app-card{border:none;margin:37px 0 0;padding:0}.authorize-application-php .auth-app-card p{font-size:14px;font-weight:500;line-height:20px;margin:19px 0 20px}.authorize-application-php .title{font-size:18px;font-weight:500;line-height:24px}.authorize-application-php strong{font-weight:500}.authorize-application-php .form-field{margin:20px 0 40px;max-width:512px}.authorize-application-php .form-field label{color:#1f1f1f;font-size:12px;font-weight:500;line-height:16px}.authorize-application-php .form-field input{border:1px solid #747775;border-radius:8px;color:#1f1f1f;font-size:14px;line-height:20px;margin:8px 0 0;padding:12px 16px;width:100%}.authorize-application-php .description{color:#1f1f1f;font-size:12px;line-height:16px}.authorize-application-php .description strong{display:block;margin:9px 0 0;max-width:512px}.authorize-application-php .description code{background-color:#ededed;border-radius:4px;color:#1f1f1f;display:inline-block;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;line-height:16px;padding:4px 9px}.authorize-application-php .googlesitekit-authorize-application__footer{display:none}@media(min-width: 783px){.authorize-application-php .googlesitekit-authorize-application__footer{bottom:0;display:block;left:0;line-height:32px;margin-left:36px;padding:0 47px;position:absolute}.authorize-application-php .googlesitekit-authorize-application__footer p{color:#1f1f1f;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:500;line-height:20px;margin:19px 0 20px}}@media(min-width: 961px){.authorize-application-php .googlesitekit-authorize-application__footer{margin-left:160px}}html[dir=rtl] .googlesitekit-authorize-application__footer{left:auto;margin-right:36px;right:0}@media(min-width: 961px){html[dir=rtl] .googlesitekit-authorize-application__footer{margin-right:160px}}#wpbody-content{padding-bottom:100px}@media(max-width: 782px){.auto-fold #wpcontent{padding:0 26px}}#wpcontent,#wpfooter{color:#1f1f1f;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif}@media(min-width: 783px){#wpcontent,#wpfooter{padding:0 47px}}#wpbody-content a,#wpfooter a{color:#1a73e8}#wpfooter{bottom:45px}#approve,#reject{border-radius:100px;font-size:14px;font-weight:500;line-height:20px;margin:0 0 15px;padding:10px 24px}#approve{background-color:#0b57d0;border:none;color:#fff}#approve:hover{box-shadow:0 0 0 1000px rgba(255,255,255,.08) inset}#approve:focus{box-shadow:0 0 0 1000px rgba(255,255,255,.12) inset}#reject{background-color:#fff;border:1px solid #747775;color:#0b57d0}#reject:hover{box-shadow:0 0 0 1000px rgba(11,87,208,.08) inset}#reject:focus{border:1px solid #0b57d0;box-shadow:0 0 0 1000px rgba(11,87,208,.12) inset}#description-approve{border-bottom:1px solid #c4c7c5;margin:0 0 33px;padding:0 0 31px}#description-reject{margin:0 0 8px}#footer-thankyou{font-size:12px;line-height:16px} dist/assets/css/googlesitekit-wp-dashboard-css-c5417a27cb905717f9fc.min.css 0000604 00000221735 14717744000 0021744 0 ustar 00 .mdc-button{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:2.25rem;font-weight:500;letter-spacing:.0892857143em;-webkit-text-decoration:none;text-decoration:none;text-transform:uppercase;padding:0 8px 0 8px;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;height:36px;border:none;outline:none;line-height:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:none;overflow:hidden;vertical-align:middle;border-radius:4px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{background-color:transparent;color:rgba(0,0,0,.37);cursor:default;pointer-events:none}.mdc-button.mdc-button--dense{border-radius:4px}.mdc-button:not(:disabled){background-color:transparent}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button:not(:disabled){color:#3c7251;color:var(--mdc-theme-primary, #3c7251)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-button--raised,.mdc-button--unelevated{padding:0 16px 0 16px}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.37)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-button--outlined{border-style:solid;padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:disabled{border-color:rgba(0,0,0,.37)}.mdc-button--outlined:not(:disabled){border-color:#3c7251;border-color:var(--mdc-theme-primary, #3c7251)}.mdc-button--dense{height:32px;font-size:.8125rem}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var: 1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-button{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-button::before,.mdc-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-button::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-button.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-button.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-button.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button::before,.mdc-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-button::before,.mdc-button::after{background-color:#3c7251}@supports not (-ms-ime-align: auto){.mdc-button::before,.mdc-button::after{background-color:var(--mdc-theme-primary, #3c7251)}}.mdc-button:hover::before{opacity:.04}.mdc-button:not(.mdc-ripple-upgraded):focus::before,.mdc-button.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.mdc-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.mdc-button--raised::before,.mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:#fff}@supports not (-ms-ime-align: auto){.mdc-button--raised::before,.mdc-button--raised::after,.mdc-button--unelevated::before,.mdc-button--unelevated::after{background-color:var(--mdc-theme-on-primary, #fff)}}.mdc-button--raised:hover::before,.mdc-button--unelevated:hover::before{opacity:.08}.mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.mdc-button--raised.mdc-ripple-upgraded--background-focused::before,.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,.mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.mdc-button--raised:not(.mdc-ripple-upgraded)::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-button--raised:not(.mdc-ripple-upgraded):active::after,.mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.mdc-button--raised.mdc-ripple-upgraded,.mdc-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button{box-shadow:none;text-transform:none}.googlesitekit-plugin .mdc-button:not(:disabled){color:#3c7251}@media(max-width: 960px){.googlesitekit-plugin .mdc-button{min-width:auto}}.googlesitekit-plugin .mdc-button .mdc-button__icon--image{border-radius:50%;display:block;height:18px;width:18px}.googlesitekit-plugin .mdc-button .mdc-button__trailing-icon{margin-left:8px}.googlesitekit-plugin .mdc-button--raised{border-radius:100px;box-shadow:none;font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;height:auto;letter-spacing:normal;min-height:40px;padding-bottom:8px;padding-top:8px;text-align:center}.googlesitekit-plugin .mdc-button--raised:not(:disabled){background-color:#3c7251}.googlesitekit-plugin .mdc-button--raised:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--raised::before,.googlesitekit-plugin .mdc-button--raised::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--raised:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--raised:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--raised.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--raised.mdc-button--dense{border-radius:100px}.googlesitekit-plugin .mdc-button--raised:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--raised:focus{outline:none}.googlesitekit-plugin .mdc-button--danger:not(:disabled){background-color:#ac4220}.googlesitekit-plugin .mdc-button--danger:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--danger::before,.googlesitekit-plugin .mdc-button--danger::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--danger:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--danger:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--danger.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--dropdown{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.6.6L12%202%206%208%200%202%201.4.6%206%205.2z%22%20fill%3D%22%23757575%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");background-position:calc(100% - 8px) center;background-repeat:no-repeat;background-size:9px 6px;letter-spacing:normal;padding-right:12px;text-transform:none}.googlesitekit-plugin .mdc-button--dropdown:not(:disabled){color:#161b18}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown{padding-right:25px}}.googlesitekit-plugin .mdc-button--dropdown:hover,.googlesitekit-plugin .mdc-button--dropdown:active,.googlesitekit-plugin .mdc-button--dropdown:focus{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){background-color:#ebeef0}.googlesitekit-plugin .mdc-button--dropdown:hover:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:active:not(:disabled),.googlesitekit-plugin .mdc-button--dropdown:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--dropdown:hover::before,.googlesitekit-plugin .mdc-button--dropdown:hover::after,.googlesitekit-plugin .mdc-button--dropdown:active::before,.googlesitekit-plugin .mdc-button--dropdown:active::after,.googlesitekit-plugin .mdc-button--dropdown:focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--dropdown:hover:hover::before,.googlesitekit-plugin .mdc-button--dropdown:active:hover::before,.googlesitekit-plugin .mdc-button--dropdown:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--dropdown:hover:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--dropdown:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--dropdown:hover.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--dropdown:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown{background-image:none}}@media(max-width: 599px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}}@media(min-width: 600px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(min-width: 960px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:300px}}@media(min-width: 1280px){.googlesitekit-plugin .mdc-button--dropdown .mdc-button__label{max-width:450px}}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){background-color:#161b18}.googlesitekit-plugin .mdc-button--inverse:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--inverse::before,.googlesitekit-plugin .mdc-button--inverse::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--inverse:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--inverse:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--inverse.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:40px;padding:8px 16px}.googlesitekit-plugin .mdc-button--tertiary:not(:disabled){color:#6c726e}.googlesitekit-plugin .mdc-button--tertiary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){background-color:rgba(22,27,24,.08)}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:hover::before,.googlesitekit-plugin .mdc-button--tertiary:hover::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:hover:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:hover:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--tertiary:active,.googlesitekit-plugin .mdc-button--tertiary:focus{outline:none}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){background-color:rgba(22,27,24,.26)}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:#fff}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--tertiary:active::before,.googlesitekit-plugin .mdc-button--tertiary:active::after,.googlesitekit-plugin .mdc-button--tertiary:focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus::after{background-color:var(--mdc-theme-text-primary-on-dark, white)}}.googlesitekit-plugin .mdc-button--tertiary:active:hover::before,.googlesitekit-plugin .mdc-button--tertiary:focus:hover::before{opacity:.08}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--tertiary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--tertiary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.24}.googlesitekit-plugin .mdc-button--tertiary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--tertiary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.24}.googlesitekit-plugin .mdc-button--tertiary:active:not(:disabled),.googlesitekit-plugin .mdc-button--tertiary:focus:not(:disabled){color:#161b18}.googlesitekit-plugin .mdc-button--callout{font-family:"Google Sans Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;height:auto;letter-spacing:normal;min-height:32px;padding:6px 16px}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){background-color:rgba(147,201,168,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:hover:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){background-color:#93c9a8}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:focus:not(:disabled){color:#265c3b}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-primary:disabled{color:rgba(38,92,59,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){background-color:rgba(225,177,85,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:hover:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){background-color:#e1b155}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:focus:not(:disabled){color:#4e3300}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-warning:disabled{color:rgba(78,51,0,.4)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover{-webkit-text-decoration:none;text-decoration:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){background-color:rgba(255,194,174,.6)}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:hover:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus{outline:none}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){background-color:#ffc2ae}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:rgba(0,0,0,.87)}@supports not (-ms-ime-align: auto){.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus::after{background-color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:hover::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:hover::before{opacity:.04}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded--background-focused::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):focus::before,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded)::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(.mdc-ripple-upgraded):active::after,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active.mdc-ripple-upgraded,.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: 0.12}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:active:not(:disabled),.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:focus:not(:disabled){color:#7a1e00}.googlesitekit-plugin .mdc-button--callout.mdc-button--callout-error:disabled{color:rgba(122,30,0,.4)}.googlesitekit-plugin .MuiCircularProgress-colorPrimary{color:#3c7251}.googlesitekit-plugin .MuiCircularProgress-colorSecondary{color:#108080}.googlesitekit-plugin .googlesitekit-analytics-cta{--cta-analytics-gap: 16px;--cta-analytics-gap-narrow: calc(var(--cta-analytics-gap) / 2);background-color:#ebeef0;display:flex;flex-direction:column;gap:var(--cta-analytics-gap);padding:var(--cta-analytics-gap)}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta{--cta-analytics-gap: 24px;flex-direction:row-reverse}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta--description{color:#161b18;font-size:14px;letter-spacing:.25px;margin:0}.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{margin-top:var(--cta-analytics-gap-narrow);width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{width:auto}}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .mdc-button{margin-top:var(--cta-analytics-gap)}}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-cta--activate-analytics,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs{display:flex;gap:var(--cta-analytics-gap)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph{background-color:#fff;border-radius:4px;display:flex;flex:1;flex-direction:column;padding:var(--cta-analytics-gap-narrow)}#dashboard-widgets .googlesitekit-plugin .googlesitekit-analytics-cta h3.googlesitekit-analytics-cta__preview-graph--title,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--title{color:#333935;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.2px;margin:0 0 auto;padding-bottom:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--icons{align-items:center;color:#cbd0d3;display:flex;gap:4px;padding-top:var(--cta-analytics-gap-narrow)}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--up-arrow{height:12px}.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graph--bar{background-color:#cbd0d3;border-radius:5px;height:8px;width:24px}@media(min-width: 1440px){.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__preview-graphs,.googlesitekit-plugin .googlesitekit-analytics-cta .googlesitekit-analytics-cta__details{flex:1}}.googlesitekit-plugin .googlesitekit-change-arrow{--color-up: #46732b;--color-down: #ac4220}.googlesitekit-plugin .googlesitekit-change-arrow--inverted-color{--color-up: #ac4220;--color-down: #46732b}.googlesitekit-plugin .googlesitekit-change-arrow--up{color:var(--color-up)}.googlesitekit-plugin .googlesitekit-change-arrow--down{color:var(--color-up);transform:rotate(180deg)}.googlesitekit-plugin .googlesitekit-change-arrow--down path{fill:var(--color-down)}.googlesitekit-plugin .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;border-radius:16px;font-size:14px;grid-column:span 3;grid-row:span 3;height:100%;letter-spacing:.25px;line-height:1.43;padding:16px;width:100%}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-cta,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:24px}}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta--error,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta--error{background-color:#fff}.googlesitekit-adminbar-modules .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-adminbar-modules #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{padding:16px}.googlesitekit-wp-dashboard .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{background-color:#ebeef0;box-sizing:border-box;height:auto;margin-top:12px;padding:12px}.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta .googlesitekit-plugin .googlesitekit-cta,.googlesitekit-wp-dashboard .googlesitekit-wp-dashboard-stats__cta #dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta{margin-top:0}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__title{color:#161b18;font-size:14px;font-weight:500;margin:0 0 5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-adminbar-modules .googlesitekit-cta__title{font-weight:700;letter-spacing:.5px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description{color:#161b18;margin:0 0 20px}.googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta .googlesitekit-cta__description p:first-child{margin-top:0}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error{background-color:#ffded3}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error a,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__title{color:#7a1e00}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .googlesitekit-cta__description{color:#7a1e00;word-break:break-word}.googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled),#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta.googlesitekit-cta--error .mdc-button:not(:disabled){background-color:#ac4220;color:#fff}.googlesitekit-plugin .googlesitekit-cta *:last-child,#dashboard-widgets .inside .googlesitekit-plugin .googlesitekit-cta *:last-child{margin-bottom:0}.googlesitekit-wp-dashboard .googlesitekit-cta--error{margin-top:12px}.googlesitekit-cta-link{align-items:center;cursor:pointer;display:inline-flex;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-align:left;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link svg{fill:currentColor}.googlesitekit-cta-link:hover svg{fill:currentColor}.googlesitekit-page .googlesitekit-cta-link{color:#108080}.googlesitekit-page .googlesitekit-cta-link:hover{color:#108080;-webkit-text-decoration:underline;text-decoration:underline}.googlesitekit-cta-link.googlesitekit-cta-link--secondary{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover{color:#108080}.googlesitekit-cta-link.googlesitekit-cta-link--secondary:hover svg{fill:currentColor}.googlesitekit-cta-link.googlesitekit-cta-link--caps{text-transform:uppercase}.googlesitekit-cta-link.googlesitekit-cta-link--danger{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--small{font-size:12px;letter-spacing:.2px}.googlesitekit-cta-link.googlesitekit-cta-link--standalone{display:flex}.googlesitekit-cta-link.googlesitekit-cta-link--inverse{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--inverse:hover{color:#fff}.googlesitekit-cta-link.googlesitekit-cta-link--disabled{color:#b8bdb9;cursor:default}.googlesitekit-cta-link.googlesitekit-cta-link--danger:hover{color:#ac4220}.googlesitekit-cta-link.googlesitekit-cta-link--disabled:hover{color:#b8bdb9;-webkit-text-decoration:none;text-decoration:none}.googlesitekit-cta-link.googlesitekit-cta-link--no-flex{display:inline}button.googlesitekit-cta-link{color:#3c7251}button.googlesitekit-cta-link svg{fill:currentColor}button.googlesitekit-cta-link:hover{color:#2e5f41}button.googlesitekit-cta-link:hover svg{fill:currentColor}button.googlesitekit-cta-link--link-button{padding:2px 10px}button.googlesitekit-cta-link--link-button:focus{background-color:rgba(60,114,81,.08);outline:none}button.googlesitekit-cta-link--link-button.googlesitekit-cta-link--secondary:focus{background-color:rgba(16,128,128,.08)}.googlesitekit-data-block{--color-up: #46732b;--color-down: #ac4220;position:relative;text-align:left}.post-php .googlesitekit-data-block{min-width:150px}.googlesitekit-wp-dashboard .googlesitekit-data-block{padding-top:12px}.googlesitekit-data-block .googlesitekit-data-block__title{align-items:flex-start;color:#6c726e;display:flex;flex:1;flex-direction:column;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;justify-content:flex-start;line-height:1.14;margin:0 0 12px;row-gap:8px}.googlesitekit-data-block .googlesitekit-data-block__title .googlesitekit-new-badge{margin-left:0}.googlesitekit-data-block.googlesitekit-data-block--button .googlesitekit-data-block__title{align-items:center}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__title{font-size:16px;font-weight:700;letter-spacing:.5px;margin-bottom:5px}#dashboard-widgets .googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__title{font-size:12px;letter-spacing:.2px}.googlesitekit-data-block .googlesitekit-data-block__title-inner{align-items:center;display:flex;flex:1}.googlesitekit-data-block .googlesitekit-data-block__title-datapoint-wrapper{display:flex;flex:1;flex-flow:column}.googlesitekit-data-block .googlesitekit-data-block__datapoint{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:46px;font-weight:500;line-height:1.13;margin:0}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__datapoint{display:inline-block;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:38px;line-height:1.158;margin-right:5px}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__datapoint{font-size:32px}.googlesitekit-data-block .googlesitekit-data-block__change{color:#6c726e;font-size:12px;letter-spacing:.2px;line-height:1;margin-top:16px;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__change{display:inline-block;font-size:16px;letter-spacing:.5px;margin-top:0}.googlesitekit-wp-dashboard .googlesitekit-data-block .googlesitekit-data-block__change{margin-top:10px}.googlesitekit-data-block .googlesitekit-data-block__change--no-change{visibility:hidden}.googlesitekit-data-block .googlesitekit-data-block__sparkline{margin-top:8px;max-width:150px}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__sparkline{display:none}.googlesitekit-data-block .googlesitekit-data-block__arrow{display:inline-block;line-height:1;margin-right:2px;vertical-align:baseline}.googlesitekit-data-block .googlesitekit-data-block__arrow--reverse{transform:rotate(180deg)}#wpadminbar .googlesitekit-data-block .googlesitekit-data-block__arrow .svg{height:9px;width:9px}.googlesitekit-data-block .googlesitekit-data-block__suffix{margin-left:4px}.googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-data-block .googlesitekit-data-block__suffix{color:#6c726e;display:inline-block;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1.33;text-transform:none}.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__value,.googlesitekit-adminbar .googlesitekit-data-block .googlesitekit-data-block__suffix{font-size:16px;font-weight:400;letter-spacing:.5px}.googlesitekit-data-block .googlesitekit-data-block__value--up,.googlesitekit-data-block .googlesitekit-data-block__suffix--up{color:var(--color-up)}.googlesitekit-data-block .googlesitekit-data-block__value--down,.googlesitekit-data-block .googlesitekit-data-block__suffix--down{color:var(--color-down)}.googlesitekit-data-block .googlesitekit-data-block__source{font-size:12px;letter-spacing:.2px;margin-top:8px}@media(min-width: 960px){.googlesitekit-data-block .googlesitekit-data-block__source{margin-top:12px}}.googlesitekit-data-block--button .googlesitekit-data-block__sparkline{margin:8px auto 0 auto}.googlesitekit-data-block--button{cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:flex-end;padding-bottom:16px;padding-top:20px;text-align:center;transition:background-color .2s ease-in-out}@media(min-width: 960px){.googlesitekit-data-block--button{padding-bottom:24px;padding-top:28px}}.googlesitekit-data-block--button::before{content:"";height:4px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.googlesitekit-data-block--selected::before{opacity:1}.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-1:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(99,128,184,.1)}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-1.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-1::before{background-color:#6380b8}.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-2:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(75,187,187,.1)}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-2.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-2::before{background-color:#4bbbbb}.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-3:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(92,146,113,.1)}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-3.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-3::before{background-color:#5c9271}.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):hover,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):focus,.googlesitekit-data-block--button-4:not(.googlesitekit-data-block--is-gathering-data):active{background-color:rgba(110,72,171,.1)}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data::before{background-color:#999f9b}.googlesitekit-data-block--button-4.googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before{opacity:.6}.googlesitekit-data-block--button-4::before{background-color:#6e48ab}.googlesitekit-plugin .googlesitekit-data-block__loading{align-items:center;display:flex;flex-direction:row}.googlesitekit-plugin .googlesitekit-data-block--is-gathering-data{cursor:auto}.googlesitekit-error-text{color:#ac4220;font-weight:500}.googlesitekit-error-retry-text{color:#ac4220;margin-left:1rem}.googlesitekit-report-error-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.googlesitekit-plugin .googlesitekit-gathering-data-notice{text-transform:lowercase}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small span{font-size:12px;letter-spacing:.2px;line-height:1.33;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default{position:relative;text-align:inherit}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-default span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-small-overlay span{font-size:18px;line-height:1.33;max-width:80px;padding:0;text-align:center}.googlesitekit-plugin .googlesitekit-gathering-data-notice.googlesitekit-gathering-data-notice--has-style-large span{color:#6c726e;display:block;font-size:28px;line-height:1.286;padding:0}#wpadminbar .googlesitekit-plugin .googlesitekit-gathering-data-notice span{color:#999f9b;font-size:12px;letter-spacing:.2px;line-height:1.33;text-transform:lowercase}.googlesitekit-plugin .googlesitekit-generic-error-handler-actions{align-items:flex-start;display:flex;flex-direction:column;gap:16px;margin-block-start:16px}.googlesitekit-plugin .googlesitekit-icon-wrapper{align-items:center;display:inline-flex}.googlesitekit-logo{color:#5f6561;line-height:0}.googlesitekit-logo .googlesitekit-logo__logo-g,.googlesitekit-logo .googlesitekit-svg-logo-g{height:24px;vertical-align:middle;width:23px}@media(min-width: 600px){.googlesitekit-logo .googlesitekit-logo__logo-g,.googlesitekit-logo .googlesitekit-svg-logo-g{height:34px;width:32px}}.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{fill:currentColor;height:16px;margin-left:8px;vertical-align:middle;width:61px}@media(min-width: 600px){.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{height:26px;margin-left:16px;width:99px}}@media(max-width: 449px){.googlesitekit-logo .googlesitekit-logo__logo-sitekit,.googlesitekit-logo .googlesitekit-svg-logo-sitekit{display:none}}.googlesitekit-logo--mini .googlesitekit-logo__logo-g,.googlesitekit-logo--mini .googlesitekit-svg-logo-g{height:19px;width:19px}.googlesitekit-logo--mini .googlesitekit-logo__logo-sitekit,.googlesitekit-logo--mini .googlesitekit-svg-logo-sitekit{height:17px;margin-left:4px;width:78px}.googlesitekit-preview-block{display:flex;flex-direction:column}.googlesitekit-preview-block--padding{padding:16px}.googlesitekit-preview-block--padding+.googlesitekit-preview-block--padding{padding-top:0}@media(min-width: 960px){.googlesitekit-preview-block--padding{padding:24px}}.googlesitekit-preview-block__wrapper{animation:googlesitekit-pulse 1s infinite ease-in-out;animation-direction:alternate;flex:1 1 auto}@media(prefers-reduced-motion: reduce){.googlesitekit-preview-block__wrapper{animation:none;background-image:linear-gradient(150deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15))}}.googlesitekit-preview-block__wrapper--circle{border-radius:50%}@keyframes googlesitekit-pulse{0%{background-color:#ebeef0}100%{background-color:#cbd0d3}}.googlesitekit-preview-table{width:100%}.googlesitekit-preview-table .googlesitekit-preview-table__row{margin:0 0 9px}.googlesitekit-preview-table .googlesitekit-preview-table__row:last-child{margin-bottom:0}.googlesitekit-preview-table--padding{padding:16px}.googlesitekit-preview-table--padding+.googlesitekit-preview-table--padding{padding-top:0}@media(min-width: 960px){.googlesitekit-preview-table--padding{padding:24px}}.googlesitekit-source-link{color:#6c726e;font-size:12px;font-weight:500;letter-spacing:.2px;line-height:1}.googlesitekit-table{counter-reset:table;font-size:14px;letter-spacing:.25px;padding:16px;position:relative}@media(min-width: 960px){.googlesitekit-table{padding:24px}}.googlesitekit-alltraffic-widget .googlesitekit-table,.googlesitekit-wp-dashboard .googlesitekit-table{padding:0}.googlesitekit-table .googlesitekit-table__wrapper{border-collapse:collapse;table-layout:fixed;width:100%}@media(max-width: 599px){.googlesitekit-table .googlesitekit-table__wrapper.googlesitekit-table__wrapper--mobile-2-col .googlesitekit-table__head-item--primary{width:75%}}.googlesitekit-table .googlesitekit-table__head-row{border-bottom:1px solid #ebeef0}.googlesitekit-table .googlesitekit-table__head-item{color:#161b18;font-family:"Google Sans Display","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;hyphens:auto;line-height:1.25;outline:0;padding:0 4px 8px 4px;position:relative;text-align:right;-webkit-text-decoration:none;text-decoration:none;white-space:normal}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__head-item{padding:0 8px 8px 8px}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item{padding:0 12px 12px 12px}}.googlesitekit-table .googlesitekit-table__head-item:first-child{padding-left:0;text-align:left}.googlesitekit-table .googlesitekit-table__head-item:last-child{padding-right:0}.googlesitekit-widget--with-header .googlesitekit-table .googlesitekit-table__head-item{font-size:14px;line-height:1.14}.googlesitekit-table-overflow .googlesitekit-table .googlesitekit-table__head-item:last-child{padding-right:0}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item[data-tooltip]::before{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;content:attr(data-tooltip);display:none;font-size:12px;letter-spacing:.2px;max-width:250px;opacity:0;padding:calc(16px / 2) 24px;pointer-events:none;position:absolute;right:0;text-align:center;top:100%;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__head-item:first-child[data-tooltip]::before{left:0}}.googlesitekit-table .googlesitekit-table__head-item--primary{width:50%}.googlesitekit-table .googlesitekit-table__wrapper--2-col .googlesitekit-table__head-item--primary{width:75%}.googlesitekit-table .googlesitekit-table__body{color:#161b18;font-weight:400}.googlesitekit-table .googlesitekit-table__body-row{border-bottom:1px solid #ebeef0}.googlesitekit-table .googlesitekit-table__body-row--no-data td{white-space:normal}.googlesitekit-table .googlesitekit-table__body-item{padding:8px 4px;text-align:right}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__body-item{padding:8px}}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__body-item{padding:12px}}.googlesitekit-table .googlesitekit-table__body-item:first-child{padding-left:0;text-align:left}.googlesitekit-table .googlesitekit-table__body-item:last-child{padding-right:0}.googlesitekit-table .googlesitekit-table__body-item .googlesitekit-mini-chart{display:none}@media(min-width: 600px){.googlesitekit-table .googlesitekit-table__body-item .googlesitekit-mini-chart{display:block}}.googlesitekit-table-overflow .googlesitekit-table .googlesitekit-table__body-item:last-child{padding-right:0}@media(max-width: 600px){.googlesitekit-table .googlesitekit-table__body-item-content .googlesitekit-cta-link,.googlesitekit-table .googlesitekit-table__body-item-content>span{display:block;overflow:hidden;text-overflow:ellipsis}}.googlesitekit-wp-dashboard .googlesitekit-table .googlesitekit-table__body-item-link{background-image:none}.googlesitekit-table .googlesitekit-table__body-item-url{background-image:none;display:block;font-size:12px;letter-spacing:.2px;word-break:break-word}.googlesitekit-table .googlesitekit-table__body-item-chart-wrap{align-items:center;display:flex;justify-content:flex-end}.googlesitekit-table .googlesitekit-table__source{margin-top:16px}@media(min-width: 960px){.googlesitekit-table .googlesitekit-table__source{margin-top:24px}}.googlesitekit-table--with-list .googlesitekit-table__body-row{transition:background-color .2s ease-in-out}.googlesitekit-table--with-list .googlesitekit-table__body-row:last-child{border-bottom:0}.googlesitekit-table--with-list .googlesitekit-table__body-row:hover{background-color:rgba(51,57,53,.05)}.googlesitekit-table--with-list .googlesitekit-table__body-row--no-data:hover{background-color:transparent}.googlesitekit-table--with-list .googlesitekit-table__body-item:first-child .googlesitekit-table__body-item-content{margin-left:24px;position:relative}.googlesitekit-table--with-list .googlesitekit-table__body-item:first-child .googlesitekit-table__body-item-content::before{content:counter(table) ".";counter-increment:table;left:-24px;position:absolute}.googlesitekit-table--gathering-data{padding-bottom:0}.googlesitekit-table-overflow{position:relative}@media(max-width: 600px){.googlesitekit-table-overflow::after{background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 85%, white 100%);bottom:0;content:"";display:block;pointer-events:none;position:absolute;right:0;top:0;transition:all .2s ease-in-out;width:0}}.googlesitekit-table-overflow .googlesitekit-table-overflow__container{overflow-x:auto;white-space:nowrap}@media(min-width: 600px){.googlesitekit-table-overflow .googlesitekit-table-overflow__container{overflow-x:visible;white-space:normal}}@media(max-width: 600px){.googlesitekit-table-overflow--gradient::after{width:15%}}.googlesitekit-chart{position:relative}.googlesitekit-chart .googlesitekit-chart__source{font-size:12px;letter-spacing:.2px;margin-top:16px}.googlesitekit-chart .googlesitekit-chart__date-marker-line{border-left:1px dashed #131418;height:100%;left:0;margin-left:.5px;opacity:0;position:absolute;top:0;transition:opacity 180ms ease-in;width:0}.googlesitekit-chart .googlesitekit-chart__date-marker-tooltip{color:#108080;height:18px;left:0;opacity:0;position:absolute;top:0;transition:opacity 180ms ease-in;width:18px}.googlesitekit-chart--LineChart div.google-visualization-tooltip{height:-moz-fit-content !important;height:fit-content !important;width:-moz-fit-content !important;width:fit-content !important}.googlesitekit-chart--LineChart div.google-visualization-tooltip .google-visualization-tooltip-item-list{margin:.5em 0}.googlesitekit-chart--LineChart div.google-visualization-tooltip .google-visualization-tooltip-item{margin:0}.googlesitekit-chart--PieChart svg{overflow:visible !important}.googlesitekit-chart--PieChart svg>g>g{pointer-events:none}.googlesitekit-chart--PieChart svg>g:last-child>g:last-child{pointer-events:none}.googlesitekit-chart--PieChart div.google-visualization-tooltip{pointer-events:none;z-index:8}.googlesitekit-chart-loading__forced{height:100%;width:100%}#google_dashboard_widget .googlesitekit-search-console-widget{padding-top:12px}#google_dashboard_widget .googlesitekit-search-console-widget .googlesitekit-table__body-row:hover{background:transparent}#google_dashboard_widget .googlesitekit-search-console-widget .googlesitekit-cta-link{-webkit-text-decoration:none;text-decoration:none}#google_dashboard_widget .googlesitekit-unique-visitors-chart-widget{display:grid;padding-top:20px;width:100%}#google_dashboard_widget h2.hndle{line-height:1}#google_dashboard_widget .googlesitekit-wp-dashboard .googlesitekit-wp-dashboard__cta{border-bottom:1px solid #ebeef0;margin:0 -12px;padding:0 12px 12px}#google_dashboard_widget .googlesitekit-data-block .googlesitekit-data-block__datapoint,#google_dashboard_widget .googlesitekit-data-block .googlesitekit-data-block__title,#google_dashboard_widget .googlesitekit-table .googlesitekit-table__head-item{font-family:inherit}#google_dashboard_widget .googlesitekit-table .googlesitekit-table__head-item{font-size:inherit}#google_dashboard_widget .mdc-button.googlesitekit-button-icon--spinner__running svg circle{stroke:#fff}#google_dashboard_widget .mdc-button.googlesitekit-button-icon--spinner__running.googlesitekit-button-icon--spinner__before .mdc-button__label{margin-inline-start:8px}#google_dashboard_widget .mdc-button.googlesitekit-button-icon--spinner__running.googlesitekit-button-icon--spinner__after .mdc-button__label{margin-inline-end:8px}#google_dashboard_widget .googlesitekit-wp-dashboard-stats{box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between}#google_dashboard_widget .googlesitekit-wp-dashboard-stats *{box-sizing:border-box}#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__data-table{align-self:stretch;width:48%}@media(min-width: 600px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__data-table{width:auto}}@media(min-width: 800px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__data-table{width:48%}}@media(min-width: 1300px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__data-table{width:auto}}#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__cta{padding-top:12px;width:100%}@media(min-width: 600px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__cta{width:50%}}@media(min-width: 800px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__cta{width:100%}}@media(min-width: 1300px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-wp-dashboard-stats__cta{width:50%}}@media(min-width: 600px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>:where(.googlesitekit-wp-dashboard-stats__cta)+.googlesitekit-wp-dashboard-stats__cta{margin-left:1px;margin-right:-1px}}@media(min-width: 1300px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats>:where(.googlesitekit-wp-dashboard-stats__cta)+.googlesitekit-wp-dashboard-stats__cta{margin-left:1px;margin-right:-1px}}#google_dashboard_widget .googlesitekit-wp-dashboard-stats :where(.googlesitekit-cta)+.googlesitekit-wp-dashboard-stats__cta{width:100%}#google_dashboard_widget .googlesitekit-wp-dashboard-stats>.googlesitekit-data-block--is-gathering-data{margin-bottom:16px}@media(min-width: 600px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--fourup>.googlesitekit-wp-dashboard-stats__data-table{width:auto}}@media(min-width: 800px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--fourup>.googlesitekit-wp-dashboard-stats__data-table{width:48%}}@media(min-width: 1300px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--fourup>.googlesitekit-wp-dashboard-stats__data-table{width:auto}}@media(min-width: 1500px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--fourup>.googlesitekit-wp-dashboard-stats__data-table{width:48%}}@media(min-width: 2200px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--fourup>.googlesitekit-wp-dashboard-stats__data-table{width:auto}}#google_dashboard_widget .googlesitekit-wp-dashboard-stats--twoup>.googlesitekit-wp-dashboard-stats__data-table{width:48%}#google_dashboard_widget .googlesitekit-wp-dashboard-stats--twoup>.googlesitekit-wp-dashboard-stats__cta{width:100%}#google_dashboard_widget .googlesitekit-wp-dashboard-stats--twoup>.googlesitekit-wp-dashboard-stats__cta .mdc-button{-webkit-text-decoration:none;text-decoration:none}@media(min-width: 1440px){#google_dashboard_widget .googlesitekit-wp-dashboard-stats--twoup>.googlesitekit-wp-dashboard-stats__cta .googlesitekit-analytics-cta{--cta-analytics-gap: 16px;flex-direction:column}}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__chart-zero-data{align-items:center;display:flex;justify-content:center;min-height:368px}.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__chart-zero-data>svg{color:#cbd0d3;height:300px;width:300px}.googlesitekit-plugin .googlesitekit-adsense-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-analytics-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-search-console-site-stats .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .google-visualization-tooltip,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .google-visualization-tooltip{border-color:#b8bdb9;border-radius:8px;box-shadow:none;height:auto !important;width:auto !important;z-index:8}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip{padding:0 1em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip em{font-style:normal;font-weight:700}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip strong,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip strong{color:#000;margin:0 .25em 0 1em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip p,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip p{font-size:14px;letter-spacing:.25px}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip svg,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip svg{margin-right:.25em}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip--up em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip--up em{color:#46732b}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip--down em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip--down em{color:#ac4220}.googlesitekit-plugin .googlesitekit-adsense-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-analytics-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-search-console-site-stats .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-unique-visitors-chart-widget .googlesitekit-visualization-tooltip-others em,.googlesitekit-plugin .googlesitekit-widget--analyticsAllTraffic__dimensions-chart .googlesitekit-visualization-tooltip-others em{display:none}.googlesitekit-plugin .googlesitekit-display-block{display:block}@media(min-width: 960px){.googlesitekit-plugin .googlesitekit-desktop-display-none{display:none}}@media(max-width: 960px){.googlesitekit-plugin .googlesitekit-non-desktop-display-none{display:none}}.googlesitekit-plugin .googlesitekit-overflow-wrap-break-word{overflow-wrap:break-word} dist/assets/js/32-c575110f859c19f2398f.js 0000604 00000017646 14717744000 0012723 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[32],{1158:function(e,t,l){"use strict";l.r(t);var r=l(0);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M63 281c34.794 0 63-4.702 63-10.5 0-5.799-28.206-10.5-63-10.5s-63 4.701-63 10.5c0 5.798 28.206 10.5 63 10.5z",fill:"#F1F3F4"}),i=r.createElement("path",{d:"M119.47 249.471c14.62 0 26.471-4.346 26.471-9.706v-3.53H93v3.53c0 5.36 11.851 9.706 26.47 9.706z",fill:"#F9AB00"}),h=r.createElement("ellipse",{cx:119.47,cy:236.235,rx:26.471,ry:9.706,fill:"#FDD663"}),n=r.createElement("path",{d:"M119.471 242.411c14.619 0 26.47-4.345 26.47-9.706v-3.529h-52.94v3.529c0 5.361 11.85 9.706 26.47 9.706z",fill:"#F9AB00"}),d=r.createElement("ellipse",{cx:119.471,cy:229.176,rx:26.471,ry:9.706,fill:"#FDD663"}),f=r.createElement("path",{d:"M119.47 235.352c14.62 0 26.471-4.345 26.471-9.706v-3.529H93v3.529c0 5.361 11.851 9.706 26.47 9.706z",fill:"#F9AB00"}),o=r.createElement("ellipse",{cx:119.47,cy:222.117,rx:26.471,ry:9.706,fill:"#FDD663"}),s=r.createElement("path",{d:"M119.471 228.294c14.619 0 26.47-4.346 26.47-9.706v-3.529h-52.94v3.529c0 5.36 11.85 9.706 26.47 9.706z",fill:"#F9AB00"}),m=r.createElement("ellipse",{cx:119.471,cy:215.059,rx:26.471,ry:9.706,fill:"#FDD663"}),E=r.createElement("path",{d:"M119.471 221.234c14.619 0 26.47-4.346 26.47-9.706v-3.529h-52.94v3.529c0 5.36 11.85 9.706 26.47 9.706z",fill:"#F9AB00"}),p=r.createElement("ellipse",{cx:119.471,cy:207.999,rx:26.471,ry:9.706,fill:"#FDD663"}),v=r.createElement("path",{d:"M119.47 214.176c14.62 0 26.471-4.345 26.471-9.705v-3.53H93v3.53c0 5.36 11.851 9.705 26.47 9.705z",fill:"#F9AB00"}),k=r.createElement("ellipse",{cx:119.471,cy:200.941,rx:26.471,ry:9.706,fill:"#FDD663"}),M=r.createElement("path",{d:"M118.669 204v-.591a5.576 5.576 0 01-1.11-.19 3.601 3.601 0 01-.948-.421 1.753 1.753 0 01-.611-.658l1.172-.258c.1.199.283.378.549.536.275.159.591.26.948.306v-1.507l-.037-.014c-.665-.135-1.214-.312-1.647-.529-.432-.222-.648-.505-.648-.848 0-.204.091-.396.274-.577.191-.181.462-.331.811-.448a4.403 4.403 0 011.247-.218V198h.998v.597c.433.036.794.106 1.086.21.299.1.532.215.698.347.175.131.295.255.362.373l-1.148.271a1.077 1.077 0 00-.349-.298c-.158-.1-.374-.174-.649-.224v1.425c.449.1.849.211 1.198.333.349.117.624.26.823.427a.748.748 0 01.312.611c0 .267-.112.493-.337.679-.216.185-.503.332-.861.441a5.092 5.092 0 01-1.135.21V204h-.998zm-1.047-4.174c0 .144.087.267.262.366.182.095.444.188.785.278v-1.221a2.213 2.213 0 00-.761.21c-.191.104-.286.226-.286.367zm3.081 2.253c0-.154-.092-.278-.275-.373a3.459 3.459 0 00-.761-.272v1.283c.3-.041.545-.115.736-.224.2-.109.3-.247.3-.414z",fill:"#F29900"}),F=r.createElement("path",{d:"M141.412 200.941c0 .675-.393 1.463-1.436 2.317-1.036.848-2.595 1.656-4.611 2.353-4.021 1.392-9.64 2.271-15.894 2.271-6.255 0-11.874-.879-15.895-2.271-2.015-.697-3.575-1.505-4.61-2.353-1.043-.854-1.437-1.642-1.437-2.317 0-.675.394-1.464 1.437-2.317 1.035-.848 2.595-1.656 4.61-2.353 4.021-1.392 9.64-2.271 15.895-2.271 6.254 0 11.873.879 15.894 2.271 2.016.697 3.575 1.505 4.611 2.353 1.043.853 1.436 1.642 1.436 2.317z",stroke:"#F9AB00",strokeWidth:2}),x=r.createElement("rect",{x:123,y:51.824,width:292.941,height:200.008,rx:8,fill:"#F1F3F4"}),y=r.createElement("path",{fill:"#fff",d:"M138.883 92.23h88.892v143.44h-88.892z"}),D=r.createElement("circle",{cx:163.126,cy:116.473,r:12.122,fill:"#D9DBDF"}),z=r.createElement("path",{d:"M164.438 150.312L146.964 169h72.73l-26.448-28.284-18.89 20.202-9.918-10.606z",fill:"#D9DBDF"}),B=r.createElement("rect",{x:167.166,y:211.426,width:32.325,height:16.162,rx:8.081,fill:"#639AF8"}),A=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M219.694 190.457h-72.73v-10.589h72.73v10.589zm0 12.632h-72.73v-3.53h72.73v3.53z",fill:"#E7E9EC"}),W=r.createElement("path",{d:"M123 59.824a8 8 0 018-8h276.941a8 8 0 018 8v16.243H123V59.824z",fill:"#3C4043"}),u=r.createElement("rect",{x:135.122,y:59.904,width:8.081,height:8.081,rx:4.041,fill:"#fff"}),g=r.createElement("rect",{x:147.244,y:59.904,width:8.081,height:8.081,rx:4.041,fill:"#fff"}),w=r.createElement("rect",{x:159,y:59.904,width:8.081,height:8.081,rx:4.041,fill:"#fff"}),H=r.createElement("path",{fill:"#fff",d:"M251.824 92.23h142.43v48.487h-142.43z"}),C=r.createElement("path",{fill:"#E6E8EB",d:"M251.824 156.879h105.055v16.162H251.824zm0 24.242h123.237v4.041H251.824zm0 12.123h105.055v4.041H251.824zm0 12.121h142.43v4.041h-142.43z"}),L=r.createElement("path",{d:"M62.118 214.177L60.38 221.5l-5.308 22.368-5.307 22.367H33",stroke:"#C5221F",strokeWidth:4}),_=r.createElement("path",{d:"M62.118 214.176L60.38 221.5",stroke:"#B31412",strokeWidth:4}),b=r.createElement("path",{d:"M81.53 214.177l6.176 15-10.588 37.058h15",stroke:"#C5221F",strokeWidth:4}),j=r.createElement("path",{d:"M81.53 214.176l3.088 7.5",stroke:"#B31412",strokeWidth:4}),V=r.createElement("path",{d:"M111.412 184.576c7.157.828 36.234 7.419 28.459-18.151l6.835-1.66",stroke:"#E94235",strokeWidth:4,strokeLinejoin:"round"}),O=r.createElement("path",{d:"M37.662 185.927c.868 11.581 1.05 24.942-2.262 36.106",stroke:"#E94235",strokeWidth:4,strokeMiterlimit:10}),J=r.createElement("circle",{cx:73.588,cy:178.882,r:38.824,fill:"#D93025"}),R=r.createElement("path",{d:"M85.941 193c-5.771 7.852-16.52 10.425-24.706 1.069",stroke:"#fff",strokeWidth:4,strokeMiterlimit:10}),P=r.createElement("path",{d:"M424.765 258.293c14.619 0 26.47-4.345 26.47-9.706v-3.529h-52.941v3.529c0 5.361 11.851 9.706 26.471 9.706z",fill:"#F9AB00"}),S=r.createElement("ellipse",{cx:424.765,cy:245.058,rx:26.471,ry:9.706,fill:"#FDD663"}),q=r.createElement("path",{d:"M428.294 249.471c14.619 0 26.471-4.346 26.471-9.706v-3.53h-52.941v3.53c0 5.36 11.851 9.706 26.47 9.706z",fill:"#F9AB00"}),G=r.createElement("ellipse",{cx:428.294,cy:236.235,rx:26.471,ry:9.706,fill:"#FDD663"}),I=r.createElement("path",{d:"M423 242.411c14.619 0 26.471-4.345 26.471-9.705v-3.53H396.53v3.53c0 5.36 11.851 9.705 26.47 9.705z",fill:"#F9AB00"}),K=r.createElement("ellipse",{cx:423,cy:229.176,rx:26.471,ry:9.706,fill:"#FDD663"}),N=r.createElement("path",{d:"M444.941 229.177c0 .674-.393 1.463-1.436 2.317-1.036.847-2.595 1.655-4.61 2.353-4.021 1.392-9.641 2.271-15.895 2.271s-11.874-.879-15.895-2.271c-2.015-.698-3.574-1.506-4.61-2.353-1.043-.854-1.436-1.643-1.436-2.317 0-.675.393-1.464 1.436-2.318 1.036-.847 2.595-1.655 4.61-2.353 4.021-1.392 9.641-2.271 15.895-2.271s11.874.879 15.895 2.271c2.015.698 3.574 1.506 4.61 2.353 1.043.854 1.436 1.643 1.436 2.318z",stroke:"#F9AB00",strokeWidth:2}),Q=r.createElement("path",{d:"M190.059 51.824l6.301 7.088a3 3 0 01.758 1.993V80.06h10.588",stroke:"#1967D2",strokeWidth:4}),T=r.createElement("path",{d:"M190.059 51.824L195 57.499",stroke:"#185ABC",strokeWidth:4}),U=r.createElement("path",{d:"M207.706 49.058l6.048 6.805a4 4 0 011.011 2.657v18.773h10.588",stroke:"#1967D2",strokeWidth:4}),X=r.createElement("path",{d:"M207.706 49.058l3.529 3.97",stroke:"#185ABC",strokeWidth:4}),Y=r.createElement("path",{d:"M230.647 26.458c15.346 3.878 28.408-9.969 26.233-25.117-.032-.232-.07-.464-.114-.694",stroke:"#4285F4",strokeWidth:4,strokeMiterlimit:10}),Z=r.createElement("path",{d:"M130.059 32.7l.549-.13a6.333 6.333 0 013.775.299c1.189.481 2.177 1.313 2.811 2.367 3.157 5.17 7.698 8.75 14.807 9.43 5.087.487 11.596-.803 15.117-4.53",stroke:"#4285F4",strokeWidth:4,strokeLinejoin:"round"}),$=r.createElement("path",{d:"M204.078 51.725c20.711-5.55 33.002-26.838 27.453-47.55l-75.002 20.097c5.55 20.711 26.838 33.002 47.549 27.453z",fill:"#1A73E8"}),ee=r.createElement("path",{d:"M206.515 33.52a20.239 20.239 0 01-2.436 1.853 17.86 17.86 0 01-3.224 1.662 16.883 16.883 0 01-7.035 1.148 18.474 18.474 0 01-2.589-.314",stroke:"#fff",strokeWidth:4,strokeMiterlimit:10});t.default=function SvgAdsenseConnect0(e){return r.createElement("svg",c({viewBox:"0 0 455 281",fill:"none"},e),a,i,h,n,d,f,o,s,m,E,p,v,k,M,F,x,y,D,z,B,A,W,u,g,w,H,C,L,_,b,j,V,O,J,R,P,S,q,G,I,K,N,Q,T,U,X,Y,Z,$,ee)}}}]); dist/assets/js/33-ff73ade792d652311e35.js 0000604 00000014164 14717744000 0013040 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[33],{1159:function(e,t,l){"use strict";l.r(t);var a=l(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var c=a.createElement("path",{d:"M209 300c82.843 0 150-67.157 150-150S291.843 0 209 0 59 67.157 59 150s67.157 150 150 150z",fill:"#F1F3F4"}),n=a.createElement("g",{clipPath:"url(#adsense-connect-1_svg__a)"},a.createElement("rect",{x:279.244,y:58,width:143,height:120,rx:8,transform:"rotate(15 279.244 58)",fill:"#E8EAED"}),a.createElement("circle",{cx:290.557,cy:77.596,r:8,transform:"rotate(15 290.557 77.596)",fill:"#BDC1C6"}),a.createElement("path",{fill:"#BDC1C6",d:"M270.96 88.91l138.128 37.011-15.529 57.956-138.127-37.011z"}),a.createElement("rect",{x:133,y:62,width:151,height:111,rx:10,fill:"#000",fillOpacity:.04}),a.createElement("g",{clipPath:"url(#adsense-connect-1_svg__b)"},a.createElement("path",{d:"M308.107 138.168l-.776 2.898a1.999 1.999 0 001.414 2.45l40.569 10.87a2 2 0 002.449-1.414l.777-2.898-44.433-11.906z",fill:"#fff"}),a.createElement("path",{d:"M352.092 141.701l-7.041-5.021-10.935-13.283-4.153-1.113-.393.309s-3.54 2.778-7.887 1.614c-4.346-1.165-6.023-5.341-6.023-5.341l-.186-.464-.966-.259a1 1 0 00-1.225.707l-5.176 19.318 44.433 11.906 1.093-4.081a4 4 0 00-1.541-4.292z",fill:"#9AA0A6"}),a.createElement("path",{d:"M334.117 123.397l-4.154-1.113-.393.309s-1.329 1.093-3.423 1.567l-1.559.411 8 8.611c.129.138.293.236.474.285l11.893 3.187-10.838-13.257z",fill:"#5F6368"}),a.createElement("path",{d:"M335.827 125.512l-2.817 1.626a.967.967 0 00-.362 1.352c.141.245.405.42.599.471.193.052.508.033.753-.108l3.185-1.839-1.358-1.502zm.559 7.189c.289.078.508.033.753-.108l3.062-1.768-1.235-1.573-2.817 1.626a.967.967 0 00-.362 1.352c.142.245.405.419.599.471z",fill:"#fff"}))),i=a.createElement("g",{clipPath:"url(#adsense-connect-1_svg__c)"},a.createElement("rect",{y:95.011,width:143,height:120,rx:8,transform:"rotate(-15 0 95.01)",fill:"#E8EAED"}),a.createElement("circle",{cx:19.596,cy:106.324,r:8,transform:"rotate(-15 19.596 106.324)",fill:"#BDC1C6"}),a.createElement("path",{fill:"#BDC1C6",d:"M8.282 125.92l138.127-37.01 15.53 57.955L23.81 183.876z"}),a.createElement("rect",{x:133,y:62,width:151,height:111,rx:10,fill:"#000",fillOpacity:.04}),a.createElement("g",{clipPath:"url(#adsense-connect-1_svg__d)"},a.createElement("path",{d:"M87.582 121.975a5.84 5.84 0 00-4.012-4.102 5.846 5.846 0 00-3.62 11.109l1.353 5.05 6.453-1.729-1.353-5.05a5.832 5.832 0 001.179-5.278z",fill:"#fff"}),a.createElement("path",{d:"M85.178 135.587a10.02 10.02 0 1012.272 7.085 10.03 10.03 0 00-12.272-7.085zm4.538 16.938a7.511 7.511 0 01-7.907-2.684 7.52 7.52 0 01-.546-8.333 7.518 7.518 0 0113.768 1.813 7.522 7.522 0 01-5.315 9.204z",fill:"#9AA0A6"}),a.createElement("path",{d:"M97.334 135.787l-22.584 6.052a.835.835 0 01-1.022-.591l-1.297-4.839a.836.836 0 01.59-1.023l22.584-6.051a.83.83 0 011.023.59l1.297 4.84a.832.832 0 01-.59 1.022z",fill:"#5F6368"}))),s=a.createElement("rect",{x:137,y:49,width:143,height:120,rx:8,fill:"#fff"}),f=a.createElement("circle",{cx:153,cy:65,r:8,fill:"#639AF8"}),h=a.createElement("path",{fill:"#BDC1C6",d:"M167 63h98v4h-98zm-22 86h127v4H145zm0 8h60v4h-60z"}),m=a.createElement("path",{fill:"#639AF8",d:"M137 81h143v60H137z"}),o=a.createElement("path",{d:"M201.999 105a1 1 0 01-.969-.757l-2-8a1 1 0 111.94-.486l2 8a1 1 0 01-.971 1.243z",fill:"#F1F3F4"}),d=a.createElement("path",{d:"M223 127c-5.514 0-10-4.486-10-10s4.486-10 10-10 10 4.486 10 10-4.486 10-10 10zm0-18c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zm-28 18c-5.514 0-10-4.486-10-10s4.486-10 10-10 10 4.486 10 10-4.486 10-10 10zm0-18c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zm9-12h-7a1 1 0 110-2h7a1 1 0 110 2z",fill:"#3C4043"}),E=a.createElement("path",{d:"M222.999 118a1 1 0 01-.961-.726l-6-21a1 1 0 011.924-.549l6 21.001a1 1 0 01-.963 1.274z",fill:"#1A73E8"}),p=a.createElement("path",{d:"M207 118h-12a.999.999 0 01-.881-1.474l7-13c.154-.285.436-.478.757-.518l16-2a.99.99 0 01.986.486 1 1 0 01-.055 1.097l-11 15.001A1.002 1.002 0 01207 118zm-10.326-2h9.819l9.328-12.72-13.185 1.648L196.674 116z",fill:"#1A73E8"}),_=a.createElement("path",{d:"M224 97h-7a1 1 0 110-2h7a1 1 0 110 2z",fill:"#F1F3F4"}),g=a.createElement("path",{d:"M209 300c82.843 0 150-67.157 150-150S291.843 0 209 0 59 67.157 59 150s67.157 150 150 150z",fill:"#F1F3F4"}),z=a.createElement("g",{mask:"url(#adsense-connect-1_svg__a)"},a.createElement("path",{d:"M258.62 132.984L273 122.283m-25.501-2.164L251.145 104m-20.556 21.226l-6.832-16.572",stroke:"#fff",strokeWidth:4,strokeMiterlimit:10}),a.createElement("path",{d:"M60.003 241.137c15.963 10.802 40.713 10.518 61.838 3.924 21.125-6.593 39.544-18.571 57.603-30.242 8.538-5.513 17.31-11.108 27.325-14.135 10.015-3.026 21.683-3.038 29.185 2.108 4.31 2.96 6.616 7.529 6.813 12.333",stroke:"#34A853",strokeWidth:12,strokeLinejoin:"round"}),a.createElement("path",{d:"M243.565 133.87l-24.368 91.183",stroke:"#fff",strokeWidth:12,strokeMiterlimit:10,strokeLinecap:"round"}),a.createElement("path",{d:"M241.207 142.517L216.839 233.7",stroke:"#5F6368",strokeWidth:12,strokeMiterlimit:10})),M=a.createElement("defs",null,a.createElement("clipPath",{id:"adsense-connect-1_svg__a"},a.createElement("rect",{x:279.244,y:58,width:143,height:120,rx:8,transform:"rotate(15 279.244 58)",fill:"#fff"})),a.createElement("clipPath",{id:"adsense-connect-1_svg__b"},a.createElement("path",{fill:"#fff",transform:"rotate(15 -248.661 1251.438)",d:"M0 0h48v48H0z"})),a.createElement("clipPath",{id:"adsense-connect-1_svg__c"},a.createElement("rect",{y:95.011,width:143,height:120,rx:8,transform:"rotate(-15 0 95.01)",fill:"#fff"})),a.createElement("clipPath",{id:"adsense-connect-1_svg__d"},a.createElement("path",{fill:"#fff",transform:"rotate(-15 494.609 -169.986)",d:"M0 0h40.081v40.081H0z"})));t.default=function SvgAdsenseConnect1(e){return a.createElement("svg",r({viewBox:"0 0 418 300",fill:"none"},e),c,n,i,s,f,h,m,o,d,E,p,_,a.createElement("mask",{id:"adsense-connect-1_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:59,y:0,width:300,height:300},g),z,M)}}}]); dist/assets/js/34-9f62e70ac6c29d10e762.js 0000604 00000023573 14717744000 0013044 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[34],{1160:function(e,t,a){"use strict";a.r(t);var l=a(0);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}var r=l.createElement("path",{fill:"#fff",d:"M0 0h562v300H0z"}),n=l.createElement("path",{d:"M31.732 32.46a114.418 114.418 0 0112.105-8.655C84.456-1.486 132.833-2.465 179.294 2.151c31.409 3.12 59.072 22.42 91.702 16.47 21.378-3.895 41.767-11.49 63.802-12.25 43.962-1.522 86.976 12.803 126.127 30.846 31.609 14.569 79.302 33.038 94.88 65.751 26.704 56.072-37.725 156.99-101.575 161.749-46.266 3.449-84.449-37.223-131.147-27.803-28.767 5.803-45.83 30.146-68.023 46.211-25.894 18.743-64.587 21.026-94.907 11.023-28.894-9.532-53.324-31.866-62.76-59.689-7.185-21.188-6.464-42.412-23.716-59.009-24.34-23.42-62.629-36.345-71.876-71.463-7.257-27.625 8.358-53.83 29.93-71.528z",fill:"#F1F3F4"}),h=l.createElement("circle",{cx:281,cy:150,r:80,fill:"#fff"}),i=l.createElement("rect",{x:197,y:92,width:40,height:28,rx:4,fill:"#BDC1C6"}),f=l.createElement("rect",{x:24,y:24,width:102,height:74,rx:12,fill:"#464B48"}),E=l.createElement("g",{clipPath:"url(#adsense-connect-2_svg__a)"},l.createElement("rect",{x:28,y:28,width:94,height:66,rx:8,fill:"#E8F0FE"}),l.createElement("path",{d:"M89 69a10.011 10.011 0 01-10-10 1 1 0 011-1 10.011 10.011 0 0110 10 1 1 0 01-1 1zm26 0a10.012 10.012 0 0010-10 .998.998 0 00-1-1 10.012 10.012 0 00-10 10 .998.998 0 001 1z",fill:"#81C995"}),l.createElement("path",{d:"M88.159 60a14 14 0 1027.682 0H88.159z",fill:"#81C995"}),l.createElement("path",{d:"M102 71a1 1 0 01-1-1v-8a.998.998 0 011-1 1 1 0 011 1v8a.998.998 0 01-1 1z",fill:"#4D760B"}),l.createElement("path",{d:"M90 66a8.009 8.009 0 008-8v-5a1 1 0 00-1-1 7.985 7.985 0 00-6.078 2.8A12.564 12.564 0 0083 52a1 1 0 00-1 1v5a8.009 8.009 0 008 8z",fill:"#E94235"}),l.createElement("path",{d:"M90.922 54.8h.006A7.96 7.96 0 0089 60a1 1 0 01-2 0 9.952 9.952 0 012.263-6.326c.582.331 1.136.708 1.659 1.126zM98 58v-5a1 1 0 00-1-1c-1.82 0-3.585.625-5 1.769V55a9.984 9.984 0 004.159 8.1A7.962 7.962 0 0098 58z",fill:"#B31412"}),l.createElement("path",{d:"M114 66a8.009 8.009 0 01-8-8v-5a.998.998 0 011-1 7.99 7.99 0 016.078 2.8A12.563 12.563 0 01121 52a1 1 0 011 1v5a8.006 8.006 0 01-8 8z",fill:"#E94235"}),l.createElement("path",{d:"M113.078 54.8h-.006A7.964 7.964 0 01115 60a.998.998 0 001.707.707A.998.998 0 00117 60a9.95 9.95 0 00-2.263-6.326 12.65 12.65 0 00-1.659 1.126zM106 58v-5a.998.998 0 011-1c1.82 0 3.585.625 5 1.769V55a9.981 9.981 0 01-4.159 8.1A7.964 7.964 0 01106 58z",fill:"#B31412"}),l.createElement("path",{d:"M108 95H96a1 1 0 01-.892-1.453L98 87.857v-1.5L84.326 69.632a1 1 0 01.068-1.34 4.42 4.42 0 016.242 0 2.422 2.422 0 003.415 0 4.42 4.42 0 016.242 0 2.417 2.417 0 003.414 0 4.419 4.419 0 016.242 0 2.423 2.423 0 003.415 0 4.417 4.417 0 016.242 0 1.004 1.004 0 01.068 1.34L106 86.377v1.387l2.9 5.79a1.004 1.004 0 01-.411 1.322A1 1 0 01108 95z",fill:"#fff"}),l.createElement("path",{d:"M85.026 70.49l.782-.783a2.593 2.593 0 013.416 0 4.425 4.425 0 006.241 0 2.418 2.418 0 013.413 0 4.42 4.42 0 006.243 0 2.417 2.417 0 013.415 0 4.425 4.425 0 006.242 0 2.48 2.48 0 013.414 0l.783.782.7-.856a.997.997 0 00-.068-1.34 4.417 4.417 0 00-6.242 0 2.423 2.423 0 01-3.415 0 4.419 4.419 0 00-6.242 0 2.417 2.417 0 01-3.414 0 4.42 4.42 0 00-6.242 0 2.422 2.422 0 01-3.415 0 4.42 4.42 0 00-6.242 0 1 1 0 00-.068 1.34l.7.856zM102 83a1 1 0 011 1v3h-2v-3a.998.998 0 011-1z",fill:"#BDC1C6"}),l.createElement("path",{d:"M106 86h-8a1 1 0 100 2h8a1 1 0 000-2z",fill:"#BDC1C6"}),l.createElement("path",{d:"M102 63a8.009 8.009 0 01-8-8v-5a1 1 0 011-1 7.985 7.985 0 016.078 2.8A12.563 12.563 0 01109 49a1 1 0 011 1v5a8.006 8.006 0 01-8 8z",fill:"#E94235"}),l.createElement("path",{d:"M101.078 51.8h-.006A7.964 7.964 0 01103 57a.998.998 0 001.707.707A.998.998 0 00105 57a9.95 9.95 0 00-2.263-6.326 12.65 12.65 0 00-1.659 1.126z",fill:"#B31412"}),l.createElement("path",{d:"M45.016 65.974a1 1 0 01-.858-1.513 5.812 5.812 0 00-.865-7.1 7.836 7.836 0 010-11.071 1 1 0 011.414 1.414 5.829 5.829 0 000 8.243 7.809 7.809 0 011.168 9.536 1 1 0 01-.86.491zm18.95.026a1 1 0 01-1-.934 5.775 5.775 0 00-1.662-3.7A7.838 7.838 0 0161.3 50.3a1 1 0 011.416 1.412 5.836 5.836 0 000 8.237 7.777 7.777 0 012.244 4.984A1 1 0 0164.033 66h-.067z",fill:"#fff"}),l.createElement("path",{d:"M44 48a.993.993 0 01-.581-.187c-.59-.419-14.42-10.395-14.42-18.813a8.965 8.965 0 0115-6.665A8.965 8.965 0 0159 29c0 8.418-13.83 18.394-14.418 18.813A.993.993 0 0144 48z",fill:"#B31412"}),l.createElement("path",{d:"M62 52a1 1 0 01-.555-.168C60.937 51.493 49 43.444 49 35.545a7.54 7.54 0 0113-5.207 7.542 7.542 0 0113 5.207c0 7.9-11.938 15.948-12.445 16.287A1 1 0 0162 52z",fill:"#E94235"}),l.createElement("path",{d:"M38 24a5.006 5.006 0 00-5 5 1 1 0 01-2 0 7.009 7.009 0 017-7 1 1 0 010 2zm18.5 8a3.5 3.5 0 00-3.5 3.5 1 1 0 01-2 0 5.507 5.507 0 015.5-5.5 1 1 0 010 2z",fill:"#fff"})),m=l.createElement("rect",{x:290,y:208,width:28,height:18,rx:4,transform:"rotate(90 290 208)",fill:"#BDC1C6"}),d=l.createElement("rect",{x:156,y:220,width:56,height:36,rx:8,transform:"rotate(90 156 220)",fill:"#464B48"}),p=l.createElement("g",{clipPath:"url(#adsense-connect-2_svg__b)"},l.createElement("rect",{x:124,y:224,width:28,height:48,rx:4,fill:"#fff"}),l.createElement("path",{d:"M149 271c-12.682 0-23-10.317-23-23s10.318-23 23-23 23 10.317 23 23-10.318 23-23 23z",fill:"#E94235"}),l.createElement("path",{d:"M150 225h-2v46h2v-46z",fill:"#B31412"}),l.createElement("path",{d:"M172 247h-46v2h46v-2z",fill:"#B31412"}),l.createElement("path",{d:"M140 248c0-6.468-2.688-12.317-7-16.5-.48.466-.939.952-1.377 1.458C135.549 236.776 138 242.104 138 248c0 5.896-2.451 11.224-6.377 15.042.438.506.897.992 1.377 1.458 4.312-4.183 7-10.032 7-16.5z",fill:"#B31412"})),z=l.createElement("path",{d:"M330 136a4 4 0 014-4h44a4 4 0 014 4v29h-52v-29zm-3 29h58v2a2 2 0 01-2 2h-54a2 2 0 01-2-2v-2z",fill:"#BDC1C6"}),v=l.createElement("path",{d:"M420 54a8 8 0 018-8h96a8 8 0 018 8v64H420V54z",fill:"#464B48"}),M=l.createElement("g",{clipPath:"url(#adsense-connect-2_svg__c)"},l.createElement("path",{d:"M424 54a4 4 0 014-4h96a4 4 0 014 4v64H424V54z",fill:"#FEEFC3"}),l.createElement("path",{d:"M495.188 111.979l1.981-1.981a16.143 16.143 0 0022.829-22.829l1.981-1.981a.747.747 0 01.53-.214.727.727 0 01.521.233 19.695 19.695 0 013.901 20.521 19.689 19.689 0 01-18.348 12.543 19.61 19.61 0 01-13.376-5.241.735.735 0 01-.18-.808.722.722 0 01.161-.243z",fill:"#81C995"}),l.createElement("path",{d:"M508.458 114.625c-4.225 0-8.28-1.662-11.289-4.627l22.829-22.83a16.147 16.147 0 013.366 17.569 16.14 16.14 0 01-14.906 9.888z",fill:"#E94235"}),l.createElement("path",{d:"M515.191 105.921a.734.734 0 00.675-.45.726.726 0 00-.159-.796l-2.165-2.164a.732.732 0 00-1.01.021.73.73 0 00-.021 1.01l2.164 2.164a.732.732 0 00.516.215zm-6.608 2.737a.729.729 0 00.729-.73v-3.062a.728.728 0 10-1.458 0v3.062a.729.729 0 00.729.73zm6.284-9.345h3.063a.729.729 0 000-1.459h-3.063a.727.727 0 00-.729.73.728.728 0 00.729.729z",fill:"#B31412"}),l.createElement("path",{d:"M485.834 81.424a.886.886 0 00-.743-.424h-18.182a.886.886 0 00-.743.424c-.17.266-.213.607-.113.913l7.379 22.672c.392 1.21 1.401 1.991 2.568 1.991s2.176-.781 2.568-1.99l7.379-22.673c.1-.306.057-.647-.113-.913z",fill:"#fff"}),l.createElement("path",{d:"M487.838 71.059C486.908 65.267 481.961 61 476 61c-5.961 0-10.908 4.267-11.838 10.059A6.01 6.01 0 00459 77c0 3.309 2.691 6 6 6h11v5.5a1.5 1.5 0 003 0V83h8c3.309 0 6-2.691 6-6a6.01 6.01 0 00-5.162-5.941z",fill:"#4285F4"}),l.createElement("path",{d:"M449.7 102.558l-.445.77a3.115 3.115 0 01-4.255 1.14l.445-.77a3.114 3.114 0 014.255-1.14z",fill:"#5BB974"}),l.createElement("path",{d:"M440.5 118a7.5 7.5 0 100-15 7.5 7.5 0 000 15z",fill:"#FBBC04"}),l.createElement("path",{d:"M438.028 113.753a.445.445 0 10.445-.77.445.445 0 00-.445.77zm-1.837-2.602a.667.667 0 10.667-1.155.667.667 0 00-.667 1.155z",fill:"#D37E44"}),l.createElement("path",{d:"M436.854 97v.958a3.354 3.354 0 01-3.354 3.354v-.958A3.355 3.355 0 01436.854 97z",fill:"#81C995"}),l.createElement("path",{d:"M433.5 118a8.5 8.5 0 008.5-8.5 8.5 8.5 0 00-8.5-8.5 8.5 8.5 0 100 17z",fill:"#FDD663"}),l.createElement("path",{d:"M433.5 114.167a.48.48 0 100-.958.48.48 0 000 .958zm-3.115-1.438a.72.72 0 100-1.438.72.72 0 000 1.438zm6.23 0a.718.718 0 100-1.437.718.718 0 000 1.437z",fill:"#F9AB00"})),s=l.createElement("path",{d:"M414 118h124v4a4 4 0 01-4 4H418a4 4 0 01-4-4v-4z",fill:"#5F6561"}),o=l.createElement("path",{d:"M281 137a12.928 12.928 0 018.346 3.047l6.54-6.228a21.974 21.974 0 00-34.593 6.417l7.373 5.683A13.016 13.016 0 01281 137z",fill:"#D94F3D"}),g=l.createElement("path",{d:"M268 150c.002-1.387.227-2.765.666-4.081l-7.373-5.683a21.938 21.938 0 000 19.528l7.373-5.683A12.956 12.956 0 01268 150z",fill:"#F2C042"}),A=l.createElement("path",{d:"M302.1 146h-21v9H293a10.727 10.727 0 01-4.555 6.162l7.316 5.64c4.675-4.196 7.422-11.019 6.339-20.802z",fill:"#5085ED"}),B=l.createElement("path",{d:"M288.442 161.162A13.98 13.98 0 01281 163a13.014 13.014 0 01-12.334-8.919l-7.373 5.683A22.022 22.022 0 00281 172a21.87 21.87 0 0014.758-5.2l-7.316-5.638z",fill:"#57A75C"}),_=l.createElement("path",{d:"M210.062 80.407c-11.993-24.671-45.098-35.662-67.438-35.17M261 236c-24.099 19.674-68.28 19.9-95 12.564M458 140c-13.952 19.674-39.531 19.9-55 12.564",stroke:"#161B18",strokeWidth:4,strokeLinejoin:"round"}),C=l.createElement("defs",null,l.createElement("clipPath",{id:"adsense-connect-2_svg__a"},l.createElement("rect",{x:28,y:28,width:94,height:66,rx:8,fill:"#fff"})),l.createElement("clipPath",{id:"adsense-connect-2_svg__b"},l.createElement("rect",{x:124,y:224,width:28,height:48,rx:4,fill:"#fff"})),l.createElement("clipPath",{id:"adsense-connect-2_svg__c"},l.createElement("path",{d:"M424 54a4 4 0 014-4h96a4 4 0 014 4v64H424V54z",fill:"#fff"})));t.default=function SvgAdsenseConnect2(e){return l.createElement("svg",c({viewBox:"0 0 562 300",fill:"none"},e),r,n,h,i,f,E,m,d,p,z,v,M,s,o,g,A,B,_,C)}}}]); dist/assets/js/35-29930b76b6e19e059cbb.js 0000604 00000003770 14717744000 0013045 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[35],{1161:function(e,t,r){"use strict";r.r(t);var l=r(0);function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var i=l.createElement("g",{filter:"url(#ghost-card-green_svg__filter0_d_4824_80823)"},l.createElement("rect",{width:165,height:90,rx:11,fill:"#fff"}),l.createElement("rect",{x:.5,y:.5,width:164,height:89,rx:10.5,stroke:"#EBEEF0"})),a=l.createElement("rect",{x:16,y:16,width:64,height:8,rx:4,fill:"#EBEEF0"}),o=l.createElement("path",{d:"M16 43c0-5.523 4.477-10 10-10h30c5.523 0 10 4.477 10 10s-4.477 10-10 10H26c-5.523 0-10-4.477-10-10z",fill:"#B8E6CA"}),c=l.createElement("rect",{x:16,y:68,width:133,height:8,rx:4,fill:"#EBEEF0"}),f=l.createElement("path",{d:"M25 46.667l6.593-6.594m0 0L26.392 40m5.201.073l.074 5.202",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h=l.createElement("rect",{x:38,y:40,width:20,height:6,rx:2,fill:"#fff"}),s=l.createElement("defs",null,l.createElement("filter",{id:"ghost-card-green_svg__filter0_d_4824_80823",x:0,y:0,width:169,height:95,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dx:4,dy:5}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4824_80823"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4824_80823",result:"shape"})));t.default=function SvgGhostCardGreen(e){return l.createElement("svg",n({viewBox:"0 0 169 95",fill:"none"},e),i,a,o,c,f,h,s)}}}]); dist/assets/js/36-5fb9dce594ff4f760056.js 0000604 00000003660 14717744000 0013137 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[36],{1162:function(e,t,r){"use strict";r.r(t);var l=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var n=l.createElement("g",{filter:"url(#ghost-card-red_svg__filter0_d_4824_80809)"},l.createElement("rect",{width:165,height:90,rx:11,fill:"#fff"}),l.createElement("rect",{x:.5,y:.5,width:164,height:89,rx:10.5,stroke:"#EBEEF0"})),a=l.createElement("rect",{x:16,y:16,width:25,height:8,rx:4,fill:"#EBEEF0"}),o=l.createElement("rect",{x:16,y:33,width:50,height:20,rx:10,fill:"#FFDED3"}),c=l.createElement("rect",{x:16,y:68,width:133,height:8,rx:4,fill:"#EBEEF0"}),f=l.createElement("path",{d:"M24.997 40l6.594 6.593m0 0l.073-5.201m-.073 5.201l-5.202.074",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h=l.createElement("rect",{x:38,y:40,width:20,height:6,rx:2,fill:"#fff"}),d=l.createElement("defs",null,l.createElement("filter",{id:"ghost-card-red_svg__filter0_d_4824_80809",x:0,y:0,width:169,height:95,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dx:4,dy:5}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4824_80809"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4824_80809",result:"shape"})));t.default=function SvgGhostCardRed(e){return l.createElement("svg",i({viewBox:"0 0 169 95",fill:"none"},e),n,a,o,c,f,h,d)}}}]); dist/assets/js/37-cdd8ca353b480da27d6e.js 0000604 00000016214 14717744000 0013252 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[37],{793:function(e,t,r){"use strict";r.r(t);var l=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var a=l.createElement("path",{d:"M533.99 214.243c-25.708 53.735-94.402 54.313-132.547 46.128-49.764-10.678-82.795-49.737-126.242-52.211-43.446-2.475-67.668 20.128-114.486 25.776-46.819 5.649-104.24.514-134.022-57.511C-3.089 118.401 17.45 56.976 70.34 26.192c52.89-30.784 84.978.156 137.193 0 52.215-.156 73.322-46.783 121.899-50.562 24.113-1.876 48.411 3.084 72.53 19.778 23.855 16.511 27.351 46.73 86.738 74.847 59.387 28.117 70.998 90.253 45.29 143.988z",fill:"#B8E6CA"}),n=l.createElement("g",{filter:"url(#key-metrics-setup-cta-desktop_svg__filter0_d_2575_27038)"},l.createElement("rect",{x:267,y:56.876,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),o=l.createElement("rect",{x:280.2,y:70.075,width:20.625,height:6.6,rx:3.3,fill:"#EBEEF0"}),c=l.createElement("rect",{x:280.2,y:84.101,width:41.249,height:16.5,rx:8.25,fill:"#FFDED3"}),f=l.createElement("rect",{x:280.2,y:112.975,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),s=l.createElement("path",{d:"M287.622 89.875l5.44 5.44m0 0l.06-4.292m-.06 4.291l-4.291.06",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),d=l.createElement("rect",{x:298.35,y:89.875,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),h=l.createElement("g",{filter:"url(#key-metrics-setup-cta-desktop_svg__filter1_d_2575_27038)"},l.createElement("rect",{x:117,y:143,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),E=l.createElement("rect",{x:130,y:156,width:54,height:7,rx:3.3,fill:"#EBEEF0"}),m=l.createElement("rect",{x:130.2,y:170.225,width:41.249,height:16.5,rx:8.25,fill:"#FFDED3"}),u=l.createElement("rect",{x:130.2,y:199.099,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),p=l.createElement("path",{d:"M137.622 175.999l5.44 5.439m0 0l.06-4.291m-.06 4.291l-4.291.061",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),_=l.createElement("rect",{x:148.35,y:175.999,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),g=l.createElement("g",{filter:"url(#key-metrics-setup-cta-desktop_svg__filter2_d_2575_27038)"},l.createElement("rect",{x:117,y:56.876,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),x=l.createElement("rect",{x:130.199,y:70.075,width:86.623,height:6.6,rx:3.3,fill:"#EBEEF0"}),k=l.createElement("rect",{x:130.199,y:84.101,width:41.249,height:16.5,rx:8.25,fill:"#B8E6CA"}),y=l.createElement("rect",{x:130.199,y:112.975,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),w=l.createElement("path",{d:"M137.625 95.375l5.439-5.44m0 0l-4.291-.06m4.291.06l.061 4.292",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),B=l.createElement("rect",{x:148.35,y:89.875,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),v=l.createElement("g",{filter:"url(#key-metrics-setup-cta-desktop_svg__filter3_d_2575_27038)"},l.createElement("rect",{x:267,y:143,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),F=l.createElement("rect",{x:280.199,y:156.199,width:52.799,height:6.6,rx:3.3,fill:"#EBEEF0"}),S=l.createElement("path",{d:"M280.199 178.474a8.25 8.25 0 018.25-8.249h24.75a8.249 8.249 0 018.249 8.249 8.249 8.249 0 01-8.249 8.25h-24.75a8.25 8.25 0 01-8.25-8.25z",fill:"#B8E6CA"}),C=l.createElement("rect",{x:280.199,y:199.099,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),A=l.createElement("path",{d:"M287.624 181.499l5.439-5.44m0 0l-4.291-.06m4.291.06l.061 4.292",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),M=l.createElement("rect",{x:298.35,y:175.999,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),O=l.createElement("defs",null,l.createElement("filter",{id:"key-metrics-setup-cta-desktop_svg__filter0_d_2575_27038",x:253.8,y:46.976,width:162.522,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_27038"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_27038",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-desktop_svg__filter1_d_2575_27038",x:103.8,y:133.1,width:162.522,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_27038"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_27038",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-desktop_svg__filter2_d_2575_27038",x:103.8,y:46.976,width:162.522,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_27038"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_27038",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-desktop_svg__filter3_d_2575_27038",x:253.8,y:133.1,width:162.522,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_27038"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_27038",result:"shape"})));t.default=function SvgKeyMetricsSetupCtaDesktop(e){return l.createElement("svg",i({viewBox:"0 0 468 277",fill:"none"},e),a,n,o,c,f,s,d,h,E,m,u,p,_,g,x,k,y,w,B,v,F,S,C,A,M,O)}}}]); dist/assets/js/38-0f9440bdb99c29af3303.js 0000604 00000011615 14717744000 0013035 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[38],{796:function(e,t,r){"use strict";r.r(t);var l=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var a=l.createElement("path",{d:"M316.679 112.924c-13.382 27.644-53.749 32.912-75.619 29.209-28.531-4.831-47.649-28.409-72.532-29.683-24.883-1.273-39.062 16.765-65.7 16.9-26.639.135-59.728-7.365-74.038-36.023-14.31-28.657-12.945-64.424 18.813-80.78 31.758-16.356 51.507 11.135 81.4 11.32 29.893.185 41.798-19.762 69.595-21.152 13.797-.69 27.19.23 41.599 8.854 14.408 8.624 15.837 20.225 49.944 32.601 34.107 12.376 39.919 41.11 26.538 68.754z",fill:"#B8E6CA"}),c=l.createElement("path",{d:"M316.662 112.923c-13.381 27.644-53.747 32.912-75.616 29.209-28.53-4.831-47.648-28.409-72.531-29.682-24.882-1.274-39.061 16.765-65.698 16.9-26.638.135-59.745-14.131-74.036-36.023-14.29-21.89-12.944-64.423 18.813-80.78C79.351-3.809 99.1 23.682 128.992 23.867c29.892.185 41.797-19.762 69.593-21.153 13.797-.69 27.726 1.56 41.598 8.854 13.72 7.215 15.836 20.225 49.942 32.601 34.106 12.376 39.918 41.11 26.537 68.754z",fill:"#B8E6CA"}),n=l.createElement("g",{mask:"url(#key-metrics-setup-cta-mobile_svg__a)"},l.createElement("g",{filter:"url(#key-metrics-setup-cta-mobile_svg__filter0_d_8382_14139)"},l.createElement("rect",{x:176.84,y:37.755,width:115.627,height:63.069,rx:7.708,fill:"#fff"})),l.createElement("rect",{x:188.053,y:48.968,width:17.519,height:5.606,rx:2.803,fill:"#EBEEF0"}),l.createElement("rect",{x:188.053,y:60.88,width:35.038,height:14.015,rx:7.008,fill:"#FFDED3"}),l.createElement("rect",{x:188.053,y:85.406,width:93.202,height:5.606,rx:2.803,fill:"#EBEEF0"}),l.createElement("path",{d:"M194.357 65.785l4.62 4.62m0 0l.051-3.644m-.051 3.645l-3.645.05",stroke:"#fff",strokeWidth:1.051,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("rect",{x:203.469,y:65.785,width:14.015,height:4.205,rx:1.402,fill:"#fff"}),l.createElement("g",{filter:"url(#key-metrics-setup-cta-mobile_svg__filter1_d_8382_14139)"},l.createElement("rect",{x:50,y:37.755,width:115.627,height:63.069,rx:7.708,fill:"#fff"})),l.createElement("rect",{x:61.213,y:48.968,width:73.581,height:5.606,rx:2.803,fill:"#EBEEF0"}),l.createElement("rect",{x:61.213,y:60.88,width:35.038,height:14.015,rx:7.008,fill:"#B8E6CA"}),l.createElement("rect",{x:61.213,y:85.406,width:93.202,height:5.606,rx:2.803,fill:"#EBEEF0"}),l.createElement("path",{d:"M67.519 70.457l4.62-4.62m0 0l-3.645-.052m3.645.052l.051 3.644",stroke:"#fff",strokeWidth:1.051,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("rect",{x:76.629,y:65.785,width:14.015,height:4.205,rx:1.402,fill:"#fff"})),o=l.createElement("defs",null,l.createElement("filter",{id:"key-metrics-setup-cta-mobile_svg__filter0_d_8382_14139",x:165.628,y:29.346,width:138.051,height:85.494,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:2.803}),l.createElement("feGaussianBlur",{stdDeviation:5.606}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_8382_14139"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_8382_14139",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-mobile_svg__filter1_d_8382_14139",x:38.788,y:29.346,width:138.051,height:85.494,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:2.803}),l.createElement("feGaussianBlur",{stdDeviation:5.606}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_8382_14139"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_8382_14139",result:"shape"})),l.createElement("clipPath",{id:"key-metrics-setup-cta-mobile_svg__clip0_8382_14139"},l.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})));t.default=function SvgKeyMetricsSetupCtaMobile(e){return l.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),l.createElement("g",{clipPath:"url(#key-metrics-setup-cta-mobile_svg__clip0_8382_14139)"},a,l.createElement("mask",{id:"key-metrics-setup-cta-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:20,y:2,width:304,height:142},c),n),o)}}}]); dist/assets/js/39-212f225e7283b84d39ee.js 0000604 00000016325 14717744000 0012767 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[39],{794:function(e,t,r){"use strict";r.r(t);var l=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var i=l.createElement("path",{d:"M533.99 245.243c-25.708 53.735-94.402 54.313-132.547 46.128-49.764-10.678-82.795-49.737-126.242-52.211-43.446-2.475-67.668 20.128-114.486 25.776-46.819 5.649-104.24.514-134.022-57.511C-3.089 149.401 17.45 87.976 70.34 57.192c52.89-30.784 84.978.156 137.193 0 52.215-.156 73.322-46.783 121.899-50.562 24.113-1.876 48.411 3.084 72.53 19.778 23.855 16.511 27.351 46.73 86.738 74.847 59.387 28.117 70.998 90.253 45.29 143.988z",fill:"#B8E6CA"}),n=l.createElement("g",{filter:"url(#key-metrics-setup-cta-small-desktop_svg__filter0_d_2575_26799)"},l.createElement("rect",{x:267,y:87.876,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),o=l.createElement("rect",{x:280.199,y:101.075,width:20.625,height:6.6,rx:3.3,fill:"#EBEEF0"}),c=l.createElement("rect",{x:280.199,y:115.101,width:41.249,height:16.5,rx:8.25,fill:"#FFDED3"}),f=l.createElement("rect",{x:280.199,y:143.975,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),s=l.createElement("path",{d:"M287.623 120.875l5.44 5.439m0 0l.06-4.291m-.06 4.291l-4.292.061",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),d=l.createElement("rect",{x:298.35,y:120.875,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),h=l.createElement("g",{filter:"url(#key-metrics-setup-cta-small-desktop_svg__filter1_d_2575_26799)"},l.createElement("rect",{x:117,y:174,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),m=l.createElement("rect",{x:130,y:187,width:54,height:7,rx:3.3,fill:"#EBEEF0"}),E=l.createElement("rect",{x:130.199,y:201.225,width:41.249,height:16.5,rx:8.25,fill:"#FFDED3"}),u=l.createElement("rect",{x:130.199,y:230.099,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),p=l.createElement("path",{d:"M137.623 206.999l5.44 5.439m0 0l.06-4.291m-.06 4.291l-4.292.061",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),_=l.createElement("rect",{x:148.35,y:206.999,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),g=l.createElement("g",{filter:"url(#key-metrics-setup-cta-small-desktop_svg__filter2_d_2575_26799)"},l.createElement("rect",{x:117,y:87.876,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),x=l.createElement("rect",{x:130.199,y:101.075,width:86.623,height:6.6,rx:3.3,fill:"#EBEEF0"}),k=l.createElement("rect",{x:130.199,y:115.101,width:41.249,height:16.5,rx:8.25,fill:"#B8E6CA"}),y=l.createElement("rect",{x:130.199,y:143.975,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),w=l.createElement("path",{d:"M137.625 126.375l5.439-5.44m0 0l-4.291-.06m4.291.06l.061 4.292",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),B=l.createElement("rect",{x:148.35,y:120.875,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),v=l.createElement("g",{filter:"url(#key-metrics-setup-cta-small-desktop_svg__filter3_d_2575_26799)"},l.createElement("rect",{x:267,y:174,width:136.122,height:74.248,rx:9.075,fill:"#fff"})),F=l.createElement("rect",{x:280.199,y:187.199,width:52.799,height:6.6,rx:3.3,fill:"#EBEEF0"}),S=l.createElement("path",{d:"M280.199 209.474a8.25 8.25 0 018.25-8.249h24.75a8.249 8.249 0 018.249 8.249 8.249 8.249 0 01-8.249 8.25h-24.75a8.25 8.25 0 01-8.25-8.25z",fill:"#B8E6CA"}),C=l.createElement("rect",{x:280.199,y:230.099,width:109.723,height:6.6,rx:3.3,fill:"#EBEEF0"}),A=l.createElement("path",{d:"M287.625 212.499l5.439-5.44m0 0l-4.291-.06m4.291.06l.061 4.292",stroke:"#fff",strokeWidth:1.237,strokeLinecap:"round",strokeLinejoin:"round"}),M=l.createElement("rect",{x:298.35,y:206.999,width:16.5,height:4.95,rx:1.65,fill:"#fff"}),O=l.createElement("defs",null,l.createElement("filter",{id:"key-metrics-setup-cta-small-desktop_svg__filter0_d_2575_26799",x:253.8,y:77.976,width:162.521,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_26799"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_26799",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-small-desktop_svg__filter1_d_2575_26799",x:103.8,y:164.1,width:162.521,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_26799"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_26799",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-small-desktop_svg__filter2_d_2575_26799",x:103.8,y:77.976,width:162.521,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_26799"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_26799",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-small-desktop_svg__filter3_d_2575_26799",x:253.8,y:164.1,width:162.521,height:100.647,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.3}),l.createElement("feGaussianBlur",{stdDeviation:6.6}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2575_26799"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2575_26799",result:"shape"})));t.default=function SvgKeyMetricsSetupCtaSmallDesktop(e){return l.createElement("svg",a({viewBox:"0 0 350 308",fill:"none"},e),i,n,o,c,f,s,d,h,m,E,u,p,_,g,x,k,y,w,B,v,F,S,C,A,M,O)}}}]); dist/assets/js/40-74d735dbdabc81c4411c.js 0000604 00000015004 14717744000 0013152 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[40],{795:function(e,t,r){"use strict";r.r(t);var l=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}var i=l.createElement("path",{d:"M494.29 174.998c-20.539 44.122-81.454 37.119-114.368 31.526-42.939-7.298-71.44-44.52-108.928-46.211-37.488-1.691-59.102 27.172-99.254 27.743-40.153.572-89.865-21.663-111.113-56.269C39.38 97.181 41.98 45.471 90.067 19.047c48.086-26.425 77.485 17.01 122.539 16.903 45.054-.106 63.266-31.973 105.181-34.556 20.806-1.282 41.771 2.108 62.583 13.518 20.583 11.284 23.599 31.937 74.842 51.153 51.242 19.216 59.618 64.811 39.078 108.933z",fill:"#B8E6CA"}),c=l.createElement("path",{d:"M494.29 174.999c-20.539 44.122-81.454 37.119-114.368 31.526-42.939-7.298-71.44-44.52-108.928-46.211-37.488-1.691-59.102 27.171-99.254 27.743-40.153.572-89.865-21.663-111.113-56.269C39.38 97.182 41.98 45.472 90.067 19.048c48.086-26.425 77.485 17.01 122.539 16.903 45.054-.106 63.266-31.973 105.181-34.556 20.806-1.282 41.771 2.108 62.583 13.518 20.583 11.284 23.599 31.937 74.842 51.153 51.242 19.215 59.618 64.811 39.078 108.933z",fill:"#B8E6CA"}),n=l.createElement("g",{mask:"url(#key-metrics-setup-cta-tablet_svg__a)"},l.createElement("g",{filter:"url(#key-metrics-setup-cta-tablet_svg__filter0_d_8382_13781)"},l.createElement("rect",{x:344.269,y:48.565,width:124.631,height:67.98,rx:8.309,fill:"#fff"})),l.createElement("rect",{x:356.354,y:60.65,width:18.883,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("rect",{x:356.354,y:73.491,width:37.767,height:15.107,rx:7.553,fill:"#FFDED3"}),l.createElement("rect",{x:356.354,y:99.929,width:100.46,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("path",{d:"M363.15 78.78l4.98 4.98m0 0l.056-3.93m-.056 3.93l-3.929.055",stroke:"#fff",strokeWidth:1.133,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("rect",{x:372.972,y:78.779,width:15.107,height:4.532,rx:1.511,fill:"#fff"}),l.createElement("g",{filter:"url(#key-metrics-setup-cta-tablet_svg__filter1_d_8382_13781)"},l.createElement("rect",{x:207.553,y:48.565,width:124.631,height:67.98,rx:8.309,fill:"#fff"})),l.createElement("rect",{x:219.638,y:60.65,width:79.31,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("rect",{x:219.638,y:73.491,width:37.767,height:15.107,rx:7.553,fill:"#B8E6CA"}),l.createElement("rect",{x:219.638,y:99.929,width:100.46,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("path",{d:"M226.437 83.815l4.98-4.98m0 0l-3.929-.056m3.929.056l.055 3.928",stroke:"#fff",strokeWidth:1.133,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("rect",{x:236.256,y:78.779,width:15.107,height:4.532,rx:1.511,fill:"#fff"}),l.createElement("g",{filter:"url(#key-metrics-setup-cta-tablet_svg__filter2_d_8382_13781)"},l.createElement("rect",{x:70.837,y:48.565,width:124.631,height:67.98,rx:8.309,fill:"#fff"})),l.createElement("rect",{x:82.922,y:60.65,width:48.342,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("path",{d:"M82.922 81.045a7.553 7.553 0 017.553-7.554h22.66a7.554 7.554 0 110 15.107h-22.66a7.553 7.553 0 01-7.553-7.553z",fill:"#B8E6CA"}),l.createElement("rect",{x:82.922,y:99.929,width:100.46,height:6.043,rx:3.021,fill:"#EBEEF0"}),l.createElement("path",{d:"M89.72 83.815l4.98-4.98m0 0l-3.928-.056m3.929.056l.055 3.928",stroke:"#fff",strokeWidth:1.133,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("rect",{x:99.54,y:78.779,width:15.107,height:4.532,rx:1.511,fill:"#fff"})),o=l.createElement("defs",null,l.createElement("filter",{id:"key-metrics-setup-cta-tablet_svg__filter0_d_8382_13781",x:332.183,y:39.501,width:148.802,height:92.151,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.021}),l.createElement("feGaussianBlur",{stdDeviation:6.043}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_8382_13781"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_8382_13781",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-tablet_svg__filter1_d_8382_13781",x:195.467,y:39.501,width:148.802,height:92.151,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.021}),l.createElement("feGaussianBlur",{stdDeviation:6.043}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_8382_13781"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_8382_13781",result:"shape"})),l.createElement("filter",{id:"key-metrics-setup-cta-tablet_svg__filter2_d_8382_13781",x:58.752,y:39.501,width:148.802,height:92.151,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),l.createElement("feOffset",{dy:3.021}),l.createElement("feGaussianBlur",{stdDeviation:6.043}),l.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),l.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),l.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_8382_13781"}),l.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_8382_13781",result:"shape"})),l.createElement("clipPath",{id:"key-metrics-setup-cta-tablet_svg__clip0_8382_13781"},l.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.default=function SvgKeyMetricsSetupCtaTablet(e){return l.createElement("svg",a({viewBox:"0 0 553 140",fill:"none"},e),l.createElement("g",{clipPath:"url(#key-metrics-setup-cta-tablet_svg__clip0_8382_13781)"},i,l.createElement("mask",{id:"key-metrics-setup-cta-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:47,y:1,width:458,height:210},c),n),o)}}}]); dist/assets/js/41-f89f29d47308b14e0c29.js 0000604 00000012562 14717744000 0012766 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[41],{1242:function(e,t,l){"use strict";l.r(t);var r=l(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M161.312 213.435c21.143 1.184 37.692 26.264 85.404 28.514 47.711 2.251 90.4-14.403 102.174-56.713 11.773-42.311-12.603-59.865-36.459-89.572S282.56 5.634 235.463.692c-72.917-7.652-58.964 50.412-113.877 64.815C66.673 79.91 27.963 76.76 6.358 128.972c-21.605 52.213 15.744 95.437 54.913 100.824 35.694 4.909 79.016-17.538 100.041-16.361z",fill:"#B8E5CA"}),n=r.createElement("g",{filter:"url(#sign-in-with-google-setup_svg__filter0_d_600_1592)"},r.createElement("path",{d:"M99.08 31.536c0-6.843 5.547-12.39 12.39-12.39h150.762c6.843 0 12.39 5.547 12.39 12.39V233.61c0 6.843-5.547 12.39-12.391 12.39H111.47c-6.843 0-12.39-5.547-12.39-12.39V31.536z",fill:"#fff"})),c=r.createElement("path",{d:"M112.583 47.108c0-1.99 1.613-3.601 3.601-3.601h141.334a3.6 3.6 0 013.601 3.6v34.209a3.6 3.6 0 01-3.601 3.6H116.184a3.601 3.601 0 01-3.601-3.6V47.107zM112.583 217.248a3.601 3.601 0 013.601-3.601h141.334a3.6 3.6 0 013.601 3.601v4.501a3.6 3.6 0 01-3.601 3.601H116.184a3.601 3.601 0 01-3.601-3.601v-4.501z",fill:"#EBEEF0"}),h=r.createElement("rect",{x:176.499,y:169.537,width:48.612,height:12.603,rx:6.301,fill:"#EBEEF0"}),o=r.createElement("rect",{x:176.499,y:189.341,width:84.62,height:4.501,rx:2.251,fill:"#EBEEF0"}),E=r.createElement("rect",{x:112.583,y:189.341,width:53.113,height:4.501,rx:2.251,fill:"#EBEEF0"}),f=r.createElement("rect",{x:112.583,y:179.439,width:53.113,height:4.501,rx:2.251,fill:"#EBEEF0"}),s=r.createElement("rect",{x:112.583,y:199.244,width:53.113,height:4.501,rx:2.251,fill:"#EBEEF0"}),d=r.createElement("rect",{x:112.583,y:169.537,width:53.113,height:4.501,rx:2.251,fill:"#EBEEF0"}),g=r.createElement("rect",{x:176.499,y:199.244,width:84.62,height:4.501,rx:2.251,fill:"#EBEEF0"}),p=r.createElement("g",{filter:"url(#sign-in-with-google-setup_svg__filter1_d_600_1592)"},r.createElement("rect",{x:69.373,y:65.957,width:235.856,height:115.227,rx:7.202,fill:"#fff"})),m=r.createElement("rect",{x:135.989,y:113.668,width:103.525,height:10.803,rx:5.401,fill:"#EBEEF0"}),_=r.createElement("rect",{x:135.989,y:83.961,width:103.525,height:23.406,rx:11.703,fill:"#EBEEF0"}),u=r.createElement("rect",{x:163,y:92,width:63,height:7,rx:3.5,fill:"#CBD0D3"}),x=r.createElement("g",{clipPath:"url(#sign-in-with-google-setup_svg__clip0_600_1592)"},r.createElement("path",{d:"M147.084 96.979l-.439 1.638-1.603.033a6.264 6.264 0 01-.751-2.986c0-1.045.254-2.03.704-2.898l1.428.262.625 1.419a3.742 3.742 0 00.036 2.532z",fill:"#FBBB00"}),r.createElement("path",{d:"M156.783 94.487a6.337 6.337 0 01-.027 2.493 6.302 6.302 0 01-2.219 3.598l-1.798-.092-.255-1.588a3.753 3.753 0 001.616-1.918h-3.37v-2.493h6.053z",fill:"#518EF8"}),r.createElement("path",{d:"M154.537 100.578a6.3 6.3 0 01-9.495-1.928l2.042-1.671a3.746 3.746 0 005.4 1.919l2.053 1.68z",fill:"#28B446"}),r.createElement("path",{d:"M154.614 90.813l-2.041 1.672a3.748 3.748 0 00-5.525 1.962l-2.053-1.68a6.301 6.301 0 019.619-1.954z",fill:"#F14336"})),w=r.createElement("rect",{x:135.989,y:128.972,width:103.525,height:10.803,rx:5.401,fill:"#EBEEF0"}),B=r.createElement("rect",{x:175.598,y:152.378,width:24.306,height:13.503,rx:6.752,fill:"#B8E5CA"}),v=r.createElement("defs",null,r.createElement("filter",{id:"sign-in-with-google-setup_svg__filter0_d_600_1592",x:84.677,y:8.343,width:204.349,height:255.661,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.601}),r.createElement("feGaussianBlur",{stdDeviation:7.202}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_600_1592"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_600_1592",result:"shape"})),r.createElement("filter",{id:"sign-in-with-google-setup_svg__filter1_d_600_1592",x:54.97,y:55.154,width:264.663,height:144.034,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.601}),r.createElement("feGaussianBlur",{stdDeviation:7.202}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_600_1592"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_600_1592",result:"shape"})),r.createElement("clipPath",{id:"sign-in-with-google-setup_svg__clip0_600_1592"},r.createElement("path",{fill:"#fff",transform:"translate(144.291 89.363)",d:"M0 0h12.603v12.603H0z"})));t.default=function SvgSignInWithGoogleSetup(e){return r.createElement("svg",i({viewBox:"0 0 352 264",fill:"none"},e),a,n,c,h,o,E,f,s,d,g,p,m,_,u,x,w,B,v)}}}]); dist/assets/js/42-da1d41341299db23d42e.js 0000604 00000022647 14717744000 0013025 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[42],{1243:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=r(e);n;)n=r(e=n.ownerDocument);return e}(),e=[],n=null,o=null;IntersectionObserver.prototype.THROTTLE_TIMEOUT=100,IntersectionObserver.prototype.POLL_INTERVAL=null,IntersectionObserver.prototype.USE_MUTATION_OBSERVER=!0,IntersectionObserver._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?u(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},IntersectionObserver._resetCrossOriginUpdater=function(){n=null,o=null},IntersectionObserver.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},IntersectionObserver.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},IntersectionObserver.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},IntersectionObserver.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},IntersectionObserver.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},IntersectionObserver.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,h=null,c=null;this.POLL_INTERVAL?h=n.setInterval(o,this.POLL_INTERVAL):(i(n,"resize",o,!0),i(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(c=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(h&&t.clearInterval(h),s(t,"resize",o,!0)),s(e,"scroll",o,!0),c&&c.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=u){var a=r(e);a&&this._monitorIntersections(a.ownerDocument)}}},IntersectionObserver.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},IntersectionObserver.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},IntersectionObserver.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,i=h(r),s=this._rootContainsTarget(r),c=o.entry,u=t&&s&&this._computeTargetAndRootIntersection(r,i,e),a=null;this._rootContainsTarget(r)?n&&!this.root||(a=e):a={top:0,bottom:0,left:0,right:0,width:0,height:0};var l=o.entry=new IntersectionObserverEntry({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:i,rootBounds:a,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,l)&&this._queuedEntries.push(l):c&&c.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},IntersectionObserver.prototype._computeTargetAndRootIntersection=function(e,r,i){if("none"!=window.getComputedStyle(e).display){for(var s,c,a,f,p,d,g,v,b=r,m=l(e),_=!1;!_&&m;){var w=null,I=1==m.nodeType?window.getComputedStyle(m):{};if("none"==I.display)return null;if(m==this.root||9==m.nodeType)if(_=!0,m==this.root||m==t)n&&!this.root?!o||0==o.width&&0==o.height?(m=null,w=null,b=null):w=o:w=i;else{var y=l(m),O=y&&h(y),E=y&&this._computeTargetAndRootIntersection(y,O,i);O&&E?(m=y,w=u(O,E)):(m=null,b=null)}else{var T=m.ownerDocument;m!=T.body&&m!=T.documentElement&&"visible"!=I.overflow&&(w=h(m))}if(w&&(s=w,c=b,a=void 0,f=void 0,p=void 0,d=void 0,g=void 0,v=void 0,a=Math.max(s.top,c.top),f=Math.min(s.bottom,c.bottom),p=Math.max(s.left,c.left),d=Math.min(s.right,c.right),v=f-a,b=(g=d-p)>=0&&v>=0&&{top:a,bottom:f,left:p,right:d,width:g,height:v}||null),!b)break;m=m&&l(m)}return b}},IntersectionObserver.prototype._getRootRect=function(){var e;if(this.root&&!f(this.root))e=h(this.root);else{var n=f(this.root)?this.root:t,o=n.documentElement,r=n.body;e={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},IntersectionObserver.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},IntersectionObserver.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},IntersectionObserver.prototype._rootIsInDom=function(){return!this.root||a(t,this.root)},IntersectionObserver.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return a(n,e)&&(!this.root||n==e.ownerDocument)},IntersectionObserver.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},IntersectionObserver.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=IntersectionObserver,window.IntersectionObserverEntry=IntersectionObserverEntry}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function IntersectionObserverEntry(t){this.time=t.time,this.target=t.target,this.rootBounds=c(t.rootBounds),this.boundingClientRect=c(t.boundingClientRect),this.intersectionRect=c(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function IntersectionObserver(t,e){var n,o,r,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){n(),r=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function s(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function h(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function u(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function a(t,e){for(var n=e;n;){if(n==t)return!0;n=l(n)}return!1}function l(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function f(t){return t&&9===t.nodeType}}()}}]); dist/assets/js/analytics-advanced-tracking-ea84b2c367b69f5c094b.js 0000604 00000003641 14717744000 0020225 0 ustar 00 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}({1:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},11:function(t,e,n){"use strict";n.r(e);var r=n(4);const o=window._googlesitekitAnalyticsTrackingData||[];Array.isArray(o)&&Object(r.a)(o,(function(t,e){window.gtag("event",t,e||void 0)}))},4:function(t,e,n){"use strict";(function(t){function r(e,n){const r=[];return e.forEach(e=>{const c=t=>{("DOMContentLoaded"===e.on||o(t.target,e.selector)||o(t.target,e.selector.concat(" *")))&&n(e.action,e.metadata)};t.document.addEventListener(e.on,c,!0),r.push([e.on,c,!0])}),()=>{r.forEach(t=>{document.removeEventListener.apply(document,t)})}}function o(t,e){const n=t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||function(t){const e=(this.document||this.ownerDocument).querySelectorAll(t);let n=e.length;for(;--n>=0&&e.item(n)!==this;);return n>-1};return!!n&&n.call(t,e)}n.d(e,"a",(function(){return r}))}).call(this,n(1))}}); dist/assets/js/googlesitekit-activation-86e820f351b221f65654.js 0000604 00000241521 14717744000 0017400 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[2],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var d=n.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var i=Object(u.a)(t);return function(){var t=s()(a.a.mark((function t(o,c,s,u){var l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(a),e()};i("event",c,d(d({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var a=n(124);n.d(t,"c",(function(){return a.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},1040:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationApp}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),u=n(0),l=n(2),d=n(3),f=n(10),g=n(261),p=n(17),m=n(8),v=n(14),b=n(6),h=n(32),y=n(18);function ActivationApp(){var t=Object(d.useDispatch)(h.a).navigateTo,n=Object(y.a)(),r=Object(d.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-dashboard")})),i=Object(d.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-splash")})),c=Object(d.useSelect)((function(e){return e(b.a).hasCapability(b.O)})),O=Object(u.useState)(!1),k=s()(O,2),E=k[0],w=k[1],_=c?r:i,j=c?Object(l.__)("Go to Dashboard","google-site-kit"):Object(l.__)("Start setup","google-site-kit");Object(u.useEffect)((function(){!E&&_&&(Object(m.J)(n,"view_notification"),w(!0))}),[n,_,E]);var S=Object(u.useCallback)(function(){var e=o()(a.a.mark((function e(r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.preventDefault(),i=c?"dashboard":"splash",e.next=4,Object(m.J)(n,"confirm_notification",i);case 4:t(_);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[_,c,t,n]);return _?e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{size:12},e.createElement(g.a,null),e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-activation__title"},Object(l.__)("Congratulations, the Site Kit plugin is now activated","google-site-kit")),e.createElement(f.Button,{id:"start-setup-link",className:"googlesitekit-start-setup",onClick:S},j)))):null}}).call(this,n(4))},105:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),u=n(12),l=n.n(u);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:l()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var a=n(7),i=n.n(a),o=n(91),c=n(31),s=n(1),u=n.n(s),l=n(2),d=n(3),f=n(24),g=n(6),p=n(36),m=n(130),v=n(18);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},y={back:Object(l.__)("Back","google-site-kit"),close:Object(l.__)("Close","google-site-kit"),last:Object(l.__)("Got it","google-site-kit"),next:Object(l.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},k="feature_tooltip_view",E="feature_tooltip_advance",w="feature_tooltip_return",_="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,a=t.tourID,s=t.gaEventCategory,u=t.callback,l="".concat(a,"-step"),S="".concat(a,"-run"),N=Object(d.useDispatch)(f.b).setValue,T=Object(d.useDispatch)(g.a).dismissTour,x=Object(d.useRegistry)(),D=Object(v.a)(),L=Object(d.useSelect)((function(e){return e(f.b).getValue(l)})),A=Object(d.useSelect)((function(e){return e(f.b).getValue(S)&&!1===e(g.a).isTourDismissed(a)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),N(S,!0)}));var R=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,a=e.size,i=e.status,o=e.type,u=t+1,l="function"==typeof s?s(D):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(l,k,u):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(l,_,u):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&a===u&&Object(p.b)(l,j,u),r===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(l,w,u),n===c.a.NEXT&&Object(p.b)(l,E,u))}(t);var n=t.action,r=t.index,i=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(i),v=f&&d===c.b.STEP_AFTER,b=m||v;if(c.b.STEP_BEFORE===d){var h,y,O=o.target;"string"==typeof o.target&&(O=e.document.querySelector(o.target)),null===(h=O)||void 0===h||null===(y=h.scrollIntoView)||void 0===y||y.call(h,{block:"center"})}g?function(e,t){N(l,e+(t===c.a.PREV?-1:1))}(r,n):b&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),T(a)),u&&u(t,x)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:y,run:A,showProgress:!0,stepIndex:L,steps:R,styles:h,tooltipComponent:m.a})}TourTooltips.propTypes={steps:u.a.arrayOf(u.a.object).isRequired,tourID:u.a.string.isRequired,gaEventCategory:u.a.oneOfType([u.a.string,u.a.func]).isRequired,callback:u.a.func}}).call(this,n(26),n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,a=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=i(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),a&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var a=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},114:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(200),s=n(38),u=n(2),l=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,a=t.dialogActive,i=void 0!==a&&a,f=t.handleDialog,g=void 0===f?null:f,p=t.onOpen,m=void 0===p?null:p,v=t.onClose,b=void 0===v?null:v,h=t.title,y=void 0===h?null:h,O=t.provides,k=t.handleConfirm,E=t.subtitle,w=t.confirmButton,_=void 0===w?null:w,j=t.dependentModules,S=t.danger,N=void 0!==S&&S,T=t.inProgress,x=void 0!==T&&T,D=t.small,L=void 0!==D&&D,A=t.medium,R=void 0!==A&&A,C=t.buttonLink,P=void 0===C?null:C,I=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(I),B=!(!O||!O.length);return e.createElement(l.Dialog,{open:i,onOpen:m,onClose:b,"aria-describedby":B?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":L,"googlesitekit-dialog-md":R})},e.createElement(l.DialogTitle,null,N&&e.createElement(d.a,{width:28,height:28}),y),E?e.createElement("p",{className:"mdc-dialog__lead"},E):[],e.createElement(l.DialogContent,null,B&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(u.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(u.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(l.DialogFooter,null,e.createElement(l.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:x},Object(u.__)("Cancel","google-site-kit")),P?e.createElement(l.Button,{href:P,onClick:k,target:"_blank",danger:N},_):e.createElement(l.SpinnerButton,{onClick:k,danger:N,disabled:x,isSaving:x},_||Object(u.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:a.a.string,dialogActive:a.a.bool,handleDialog:a.a.func,handleConfirm:a.a.func.isRequired,onOpen:a.a.func,onClose:a.a.func,title:a.a.string,confirmButton:a.a.string,danger:a.a.bool,small:a.a.bool,medium:a.a.bool,buttonLink:a.a.string},t.a=ModalDialog}).call(this,n(4))},119:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),a=function(e){return Object(r.isFinite)(e)?e:0}},1221:function(e,t,n){"use strict";n.r(t),function(e){var t=n(335),r=n(137),a=n(1040),i=n(22),o=n(235);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-activation");t&&(Object(r.render)(e.createElement(o.a,{viewContext:i.h},e.createElement(a.a,null)),t),t.classList.remove("googlesitekit-activation--loading"))}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(23),s=n.n(c),u=n(1),l=n.n(u),d=n(12),f=n.n(d);function Cell(t){var n,r=t.className,i=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,v=t.smSize,b=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,k=t.mdOrder,E=t.lgSize,w=t.lgStart,_=t.lgOrder,j=t.size,S=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},N,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(w,"-desktop"),12>=w&&w>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(k,"-tablet"),8>=k&&k>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),S)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:n,className:l()("mdc-layout-grid__inner",r)},c),i)}));f.displayName="Row",f.propTypes={className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,i=t.fill,c=t.className,s=t.children,u=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":i})},d,{ref:n}),s)}));f.displayName="Grid",f.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),a=n.n(r),i=n(166),o=n.n(i),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(10),f=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,u=t.primaryProps,l=t.size,p=t.step,m=t.tooltipProps,v=l>1?Object(f.a)(l):[],b=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",a()({className:s()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},v.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:b(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,u.title&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},u),u.title))),e.createElement(d.Button,a()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:l.a.object.isRequired,closeProps:l.a.object.isRequired,index:l.a.number.isRequired,isLastStep:l.a.bool.isRequired,primaryProps:l.a.object.isRequired,size:l.a.number.isRequired,step:l.a.shape({content:l.a.node,title:l.a.node.isRequired,cta:l.a.oneOfType([l.a.element,l.a.bool]),className:l.a.string}).isRequired,tooltipProps:l.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),u=n(11),l=n.n(u),d=n(3),f=n.n(d),g=n(41),p=n(8),m=function(e){var t;l()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().restoreSnapshot()})))}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},143:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",a({viewBox:"0 0 43 44"},e),i)}},154:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)(!1);t.a=a},158:function(e,t,n){"use strict";var r=n(0),a=n(44),i=Object(r.createContext)(a.a);t.a=i},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),a=n.n(r),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:a.a.string,componentStack:a.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),a=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var a=n(309);n.d(t,"f",(function(){return a.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),u=n.n(s);n.d(t,"b",(function(){return u.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var l=n(104);n.d(t,"a",(function(){return l.a})),n.d(t,"e",(function(){return l.b})),n.d(t,"k",(function(){return l.c}))},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),u=n(3),l=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,i=o()(t,["slug","size"]),c=Object(u.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return c?e.createElement(c,a()({width:r,height:r},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},188:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",a({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(186),o=n.n(i),c=n(1),s=n.n(c),u=n(0),l=n(2),d=n(254),f=n(412),g=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,i=Object(u.useState)(!1),c=a()(i,2),s=c[0],m=c[1];return e.createElement(p.Button,{"aria-label":s?Object(l.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),m(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?f.a:g.a})},s?Object(l.__)("Copied to clipboard","google-site-kit"):Object(l.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var a=n(91),i=n(0),o=n(3),c=n(6),s=n(18),u=n(106);function FeatureTours(){var t=Object(s.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(a.a)((function(){n(t)}));var l=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(l){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[l]),l?r.createElement(u.a,{tourID:l.slug,steps:l.steps,gaEventCategory:l.gaEventCategory,callback:l.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),s=n(17),u=Object(c.forwardRef)((function(t,n){var r=t.id,a=t.className,i=t.children,u=t.secondaryPane;return e.createElement("section",{id:r,className:o()(a,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,i)),u&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},u)))))}));u.displayName="Banner",u.propTypes={id:a.a.string,className:a.a.string,secondaryPane:a.a.node},t.a=u}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),u=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,l=t.smallWinImageSVGWidth,d=void 0===l?75:l,f=t.smallWinImageSVGHeight,g=void 0===f?75:f;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(u.a,{label:r})),i&&e.createElement("div",{className:s()(a()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),u=n(1),l=n.n(u),d=n(221),f=n(0),g=n(3),p=n(10),m=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,u=t.ctaCallback,l=t.dismissLabel,v=t.dismissCallback,b=Object(f.useState)(!1),h=s()(b,2),y=h[0],O=h[1],k=Object(d.a)(),E=Object(g.useSelect)((function(e){return!!n&&e(m.a).isNavigatingTo(n)})),w=function(){var e=o()(a.a.mark((function e(){var t,n,r,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(O(!0),t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];return e.next=4,null==u?void 0:u.apply(void 0,n);case 4:k()&&O(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||l||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:w,disabled:y||E,isSaving:y||E},r),l&&e.createElement(p.Button,{tertiary:n||i,onClick:v,disabled:y||E},l)):null}BannerActions.propTypes={ctaLink:l.a.string,ctaLabel:l.a.string,ctaComponent:l.a.element,ctaTarget:l.a.string,ctaCallback:l.a.func,dismissLabel:l.a.string,dismissCallback:l.a.func}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(140),f=n(0),g=n(2),p=n(126),m=n(127),v=n(128),b=n(80),h=n(77),y=Object(f.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,f=void 0!==l&&l,y=t.back,O=void 0!==y&&y,k=t.caps,E=void 0!==k&&k,w=t.children,_=t.className,j=void 0===_?"":_,S=t.danger,N=void 0!==S&&S,T=t.disabled,x=void 0!==T&&T,D=t.external,L=void 0!==D&&D,A=t.hideExternalIndicator,R=void 0!==A&&A,C=t.href,P=void 0===C?"":C,I=t.inverse,M=void 0!==I&&I,B=t.noFlex,z=void 0!==B&&B,V=t.onClick,H=t.small,F=void 0!==H&&H,W=t.standalone,G=void 0!==W&&W,U=t.linkButton,q=void 0!==U&&U,K=t.to,J=t.leadingIcon,$=t.trailingIcon,X=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Q=P||K||!V?K?"ROUTER_LINK":L?"EXTERNAL_LINK":"LINK":x?"BUTTON_DISABLED":"BUTTON",Y="BUTTON"===Q||"BUTTON_DISABLED"===Q?"button":"ROUTER_LINK"===Q?d.b:"a",Z=("EXTERNAL_LINK"===Q&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Q&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof w?"".concat(w," ").concat(r):void 0:i),ee=J,te=$;return O&&(ee=e.createElement(v.a,{width:14,height:14})),L&&!R&&(te=e.createElement(b.a,{width:14,height:14})),f&&!M&&(te=e.createElement(p.a,{width:14,height:14})),f&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Y,a()({"aria-label":Z,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":F,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":x,"googlesitekit-cta-link--standalone":G,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!z}),disabled:x,href:"LINK"!==Q&&"EXTERNAL_LINK"!==Q||x?void 0:P,onClick:V,rel:"EXTERNAL_LINK"===Q?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Q?"_blank":void 0,to:K},X),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},w),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),a=n.n(r),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:a.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),a=n.n(r),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:a.a.string,moduleName:a.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),a=n.n(r),i=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,a=t.learnMoreURL,u=t.learnMoreTarget,l=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var f;return r&&(f=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:a,external:u===s.a.EXTERNAL},r),l)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,f&&e.createElement("p",null,f)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",f))}BannerDescription.propTypes={description:a.a.node,learnMoreURL:a.a.string,learnMoreDescription:a.a.string,learnMoreLabel:a.a.string,learnMoreTarget:a.a.oneOf(Object.values(s.a)),onLearnMoreClick:a.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),a=(r.a.Consumer,r.a.Provider);t.a=a},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return a})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return k})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return w}));var r="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",u="splash",l="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",v="moduleSetup",b="key-metrics",h="traffic",y="content",O="speed",k="monetization",E=[r,a,i,o,c,u,f,v],w=[i,o,d,m]},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(505),s=n(536),u=n(0),l=n(3),d=n.n(l),f=n(236),g=n(237),p=n(44),m=n(238),v=n(240),b=n(241),h=n(63),y=n(204),O=n(169);function Root(t){var n=t.children,r=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,k=Object(u.useState)({key:"Root",value:!0}),E=a()(k,1)[0];return e.createElement(u.StrictMode,null,e.createElement(y.a,{value:E},e.createElement(l.RegistryProvider,{value:r},e.createElement(g.a,{value:p.a},e.createElement(h.a,{value:o},e.createElement(s.a,{theme:d()},e.createElement(f.a,null,e.createElement(v.a,null,n,o&&e.createElement(b.a,null)),Object(O.a)(o)&&e.createElement(m.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),s=n(69),u=n.n(s),l=n(70),d=n.n(l),f=n(49),g=n.n(f),p=n(1),m=n.n(p),v=n(0),b=n(2),h=n(168),y=n(63),O=n(65),k=n(8);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var w=function(t){u()(ErrorHandler,t);var n=E(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(k.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement(O.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(b.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(h.a,{message:n.message,componentStack:a.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,a.componentStack)):e}}]),ErrorHandler}(v.Component);w.contextType=y.b,w.propTypes={children:m.a.node.isRequired},t.a=w}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),a=(r.a.Consumer,r.a.Provider);t.a=a},238:function(e,t,n){"use strict";(function(e){var r=n(3),a=n(239),i=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(2),u=n(0),l=n(3),d=n(114),f=n(28),g=n(32),p=n(6),m=n(133),v=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,a,o,b=Object(l.useRegistry)(),h=Object(l.useSelect)((function(e){return e(p.a).getPermissionScopeError()})),y=Object(l.useSelect)((function(e){return e(p.a).getUnsatisfiedScopes()})),O=Object(l.useSelect)((function(t){var n,r,a;return t(p.a).getConnectURL({additionalScopes:null==h||null===(n=h.data)||void 0===n?void 0:n.scopes,redirectURL:(null==h||null===(r=h.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==h||null===(a=h.data)||void 0===a?void 0:a.errorRedirectURL})})),k=Object(l.useDispatch)(p.a).clearPermissionScopeError,E=Object(l.useDispatch)(g.a).navigateTo,w=Object(l.useDispatch)(f.a).setValues,_=Object(u.useCallback)((function(){k()}),[k]),j=Object(u.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(p.d,{permissionsError:h}),e.next=3,Object(m.c)(b);case 3:E(O);case 4:case"end":return e.stop()}}),e)}))),[b,O,E,h,w]);return Object(u.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==h||null===(t=h.data)||void 0===t?void 0:t.skipModal)||!(null==h||null===(n=h.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,j();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[j,h]),h?(null==h||null===(t=h.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==h||null===(a=h.data)||void 0===a?void 0:a.skipModal)||y&&(null==h||null===(o=h.data)||void 0===o?void 0:o.scopes.every((function(e){return y.includes(e)})))?null:r.createElement(v.a,null,r.createElement(d.a,{title:Object(s.__)("Additional Permissions Required","google-site-kit"),subtitle:h.message,confirmButton:Object(s.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:j,handleDialog:_,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",h),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),u=n(0),l=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(l.useRegistry)(),r=Object(u.useState)(!1),i=s()(r,2),c=i[0],f=i[1];return Object(u.useEffect)((function(){c||o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:f(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),a=n.n(r),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},261:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(143),i=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},262:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,u=a.trackingID,l=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},p=Object(r.a)(g),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():v()}c&&s&&b()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function(){return E}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l,d="googlesitekit_",f="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),m=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function v(){return b.apply(this,arguments)}function b(){return(b=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=s(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(f).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(n,r){var i,o,s,u,l,d,g,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,s=void 0===o?c.b:o,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,d=i.isError,g=void 0!==d&&d,t.next=3,v();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(f).concat(n),JSON.stringify({timestamp:l,ttl:s,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(f).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),E=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!e.sent){e.next=25;break}return e.next=6,k();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,O(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return w})),n.d(t,"q",(function(){return _})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return S})),n.d(t,"t",(function(){return N})),n.d(t,"w",(function(){return T})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return D})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return A})),n.d(t,"A",(function(){return R})),n.d(t,"B",(function(){return C})),n.d(t,"C",(function(){return P})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return B})),n.d(t,"z",(function(){return z})),n.d(t,"G",(function(){return V})),n.d(t,"E",(function(){return H})),n.d(t,"i",(function(){return F})),n.d(t,"p",(function(){return W})),n.d(t,"Q",(function(){return G})),n.d(t,"P",(function(){return U}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",v="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",k="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",w="kmAnalyticsReturningVisitors",_="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",S="kmAnalyticsTopCitiesDrivingAddToCart",N="kmAnalyticsTopCitiesDrivingPurchases",T="kmAnalyticsTopDeviceDrivingPurchases",x="kmAnalyticsTopConvertingTrafficSource",D="kmAnalyticsTopCountries",L="kmAnalyticsTopPagesDrivingLeads",A="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",C="kmAnalyticsTopTrafficSourceDrivingAddToCart",P="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",B="kmAnalyticsVisitLength",z="kmAnalyticsTopReturningVisitorPages",V="kmSearchConsolePopularKeywords",H="kmAnalyticsVisitsPerVisitor",F="kmAnalyticsMostEngagingPages",W="kmAnalyticsTopCategories",G=[v,b,h,y,O,k,E,w,W,_,j,S,N,T,x,D,A,R,C,M,B,z,H,F,W],U=[].concat(G,[V])},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),u=n(16),l=n.n(u),d=n(15),f=n.n(d),g=n(1),p=n.n(g),m=n(12),v=n.n(m),b=n(221),h=n(222),y=n(91),O=n(79),k=n(0),E=n(109),w=n(3),_=n(17),j=n(89),S=n(41),N=n(25),T=n(195),x=n(196),D=n(197),L=n(201),A=n(202),R=n(74),C=n(113),P=n(121),I=n(32),M=n(203);function BannerNotification(t){var n,r=t.badgeLabel,i=t.children,c=t.className,u=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,m=t.description,B=t.dismiss,z=t.dismissExpires,V=void 0===z?0:z,H=t.format,F=void 0===H?"":H,W=t.id,G=t.isDismissible,U=void 0===G||G,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,$=t.learnMoreTarget,X=void 0===$?R.a.EXTERNAL:$,Q=t.logo,Y=t.module,Z=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ae=t.showOnce,ie=void 0!==ae&&ae,oe=t.SmallImageSVG,ce=t.title,se=t.type,ue=t.WinImageSVG,le=t.showSmallWinImage,de=void 0===le||le,fe=t.smallWinImageSVGWidth,ge=void 0===fe?75:fe,pe=t.smallWinImageSVGHeight,me=void 0===pe?75:pe,ve=t.mediumWinImageSVGWidth,be=void 0===ve?105:ve,he=t.mediumWinImageSVGHeight,ye=void 0===he?105:he,Oe=t.rounded,ke=void 0!==Oe&&Oe,Ee=t.footer,we=t.secondaryPane,_e=t.ctaComponent,je=Object(k.useState)(!1),Se=f()(je,2),Ne=Se[0],Te=Se[1],xe=Object(k.useState)(!1),De=f()(xe,2),Le=De[0],Ae=De[1],Re="notification::dismissed::".concat(W),Ce=function(){return Object(S.f)(Re,new Date,{ttl:null})},Pe=Object(O.a)(),Ie=Object(N.e)(),Me=Object(b.a)(),Be=Object(k.useState)(!1),ze=f()(Be,2),Ve=ze[0],He=ze[1],Fe=Object(k.useRef)(),We=Object(h.a)(Fe,{rootMargin:"".concat(-Object(P.a)(Object(j.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(k.useEffect)((function(){!Ve&&(null==We?void 0:We.isIntersecting)&&("function"==typeof te&&te(),He(!0))}),[W,te,Ve,We]);var Ge=Pe>=600;Object(y.a)(l()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(V>0)){e.next=3;break}return e.next=3,Qe();case 3:if(!U){e.next=9;break}return e.next=6,Object(S.d)(Re);case 6:t=e.sent,n=t.cacheHit,Ae(n);case 9:if(!ie){e.next=12;break}return e.next=12,Ce();case 12:case"end":return e.stop()}}),e)}))));var Ue=function(){var e=l()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(E.a)(g)&&"_blank"!==p,Ke=function(){return qe||Te(!0),new Promise((function(e){setTimeout(l()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce();case 2:Me()&&Ae(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(w.useSelect)((function(e){return!!g&&e(I.a).isNavigatingTo(g)})),$e=Object(w.useDispatch)(I.a).navigateTo,Xe=function(){var e=l()(s.a.mark((function e(t){var n,r,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,a=r.dismissOnCTAClick,n=void 0===a||a;case 12:if(!U||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&$e(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qe=function(){var e=l()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.d)(Re);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(V,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(S.c)(Re);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&U&&(void 0===Le||Le))return null;var Ye=!Je&&Ne?"is-closed":"is-open",Ze=Object(C.d)(F),et=Object(C.c)(F),tt=Object(C.a)(F),nt=Object(C.b)({format:F,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!ue});return e.createElement(T.a,{id:W,className:v()(u,(n={},o()(n,"googlesitekit-publisher-win--".concat(F),F),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat(Ye),Ye),o()(n,"googlesitekit-publisher-win--rounded",ke),n)),secondaryPane:we,ref:Fe},Q&&e.createElement(A.a,{module:Y,moduleName:Z}),oe&&e.createElement(_.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(_.a,a()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(x.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:me,smallWinImageSVGWidth:ge,winImageFormat:F,WinImageSVG:!Ge&&de?ue:void 0}),e.createElement(M.a,{description:m,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:X,learnMoreDescription:q,onLearnMoreClick:re}),i,e.createElement(D.a,{ctaLink:g,ctaLabel:d,ctaComponent:_e,ctaTarget:p,ctaCallback:Xe,dismissLabel:U?B:void 0,dismissCallback:Ue}),Ee&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},Ee)),ue&&(Ge||!de)&&e.createElement(_.a,a()({},Ze,et,{alignBottom:"larger"===F,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},e.createElement(ue,{style:{maxWidth:be,maxHeight:ye}}))),e.createElement(L.a,{type:se}))}n.d(t,"a",(function(){return R.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(R.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},71:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",a({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(271),o=n(1),c=n.n(o),s=n(0),u=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(u.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return x})),n.d(t,"o",(function(){return D})),n.d(t,"x",(function(){return L})),n.d(t,"q",(function(){return A})),n.d(t,"H",(function(){return R})),n.d(t,"t",(function(){return C})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return B.b})),n.d(t,"r",(function(){return B.a})),n.d(t,"B",(function(){return B.c})),n.d(t,"y",(function(){return z})),n.d(t,"v",(function(){return V})),n.d(t,"F",(function(){return W})),n.d(t,"E",(function(){return G.a})),n.d(t,"h",(function(){return U})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var d=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var v=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),k=n.n(O),E=n(2),w="Invalid dateString parameter, it must be a string.",_='Invalid date range, it must be a string with the format "last-x-days".',j=60,S=60*j,N=24*S,T=7*N,x=30*N;function D(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._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 L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function A(e){k()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function R(e){k()(L(e),w);var t=e.split("-"),n=y()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function C(e,t){return A(I(e,t*N))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){k()(L(e)||Object(r.isDate)(e)&&!isNaN(e),w);var n=L(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),B=n(83);function z(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function V(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var H=n(27),F=n.n(H),W=function(e){return Array.isArray(e)?F()(e).sort():e},G=n(88);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return S})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return T}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),s=n.n(c),u=n(23),l=n.n(u),d=n(13),f=n(57),g=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=v(v({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?S(i,v(v({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?S(i,v(v({},o),{},{unit:"second"})):"",a?S(a,v(v({},o),{},{unit:"minute"})):"",r?S(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),a),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},k=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),S(k(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(k(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(k(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})};function w(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=v({},e)),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=w(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?E(e):"duration"===a?b(e,n):"durationISO"===a?h(e):S(e,n)}var j=g()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,i=l()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),p=g[0],m=g[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),a=n(121);function i(t,n){var r=document.querySelector(t);if(!r)return 0;var a=r.getBoundingClientRect().top,i=o(n);return a+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(a.a)(n))<0?0:n}}).call(this,n(26))},93:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.label,i=t.className,c=t.hasLeftSpacing,u=void 0!==c&&c,l=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:n},l,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":u})}),r)}));f.displayName="Badge",f.propTypes={label:l.a.string.isRequired,hasLeftSpacing:l.a.bool},t.a=f}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=u(u({},l),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(a,n),d=Object(c.a)(a,n,s,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(i.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1221,1,0]]]); dist/assets/js/googlesitekit-ad-blocking-recovery-35406f6b97f89119cba2.js 0000604 00000641176 14717744000 0021426 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[3],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:m||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var i=Object(l.a)(t);return function(){var t=s()(a.a.mark((function t(o,c,s,l){var u;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(a),e()};i("event",c,d(d({},u),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var a=n(124);n.d(t,"c",(function(){return a.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var a=n(7),i=n.n(a),o=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),d=n(3),g=n(24),f=n(6),m=n(36),p=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},_={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},E="feature_tooltip_view",k="feature_tooltip_advance",y="feature_tooltip_return",S="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,a=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(a,"-step"),w="".concat(a,"-run"),N=Object(d.useDispatch)(g.b).setValue,A=Object(d.useDispatch)(f.a).dismissTour,C=Object(d.useRegistry)(),T=Object(b.a)(),x=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(a)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),N(w,!0)}));var L=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,a=e.size,i=e.status,o=e.type,l=t+1,u="function"==typeof s?s(T):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(m.b)(u,E,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(m.b)(u,S,l):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&a===l&&Object(m.b)(u,j,l),r===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,y,l),n===c.a.NEXT&&Object(m.b)(u,k,l))}(t);var n=t.action,r=t.index,i=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(i),b=g&&d===c.b.STEP_AFTER,v=p||b;if(c.b.STEP_BEFORE===d){var h,_,O=o.target;"string"==typeof o.target&&(O=e.document.querySelector(o.target)),null===(h=O)||void 0===h||null===(_=h.scrollIntoView)||void 0===_||_.call(h,{block:"center"})}f?function(e,t){N(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),A(a)),l&&l(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:_,run:R,showProgress:!0,stepIndex:x,steps:L,styles:h,tooltipComponent:p.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,a=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=i(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),a&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var a=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},114:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(200),s=n(38),l=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,a=t.dialogActive,i=void 0!==a&&a,g=t.handleDialog,f=void 0===g?null:g,m=t.onOpen,p=void 0===m?null:m,b=t.onClose,v=void 0===b?null:b,h=t.title,_=void 0===h?null:h,O=t.provides,E=t.handleConfirm,k=t.subtitle,y=t.confirmButton,S=void 0===y?null:y,j=t.dependentModules,w=t.danger,N=void 0!==w&&w,A=t.inProgress,C=void 0!==A&&A,T=t.small,x=void 0!==T&&T,R=t.medium,L=void 0!==R&&R,D=t.buttonLink,M=void 0===D?null:D,I=Object(c.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(I),B=!(!O||!O.length);return e.createElement(u.Dialog,{open:i,onOpen:p,onClose:v,"aria-describedby":B?P:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":x,"googlesitekit-dialog-md":L})},e.createElement(u.DialogTitle,null,N&&e.createElement(d.a,{width:28,height:28}),_),k?e.createElement("p",{className:"mdc-dialog__lead"},k):[],e.createElement(u.DialogContent,null,B&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(l.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(l.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:C},Object(l.__)("Cancel","google-site-kit")),M?e.createElement(u.Button,{href:M,onClick:E,target:"_blank",danger:N},S):e.createElement(u.SpinnerButton,{onClick:E,danger:N,disabled:C,isSaving:C},S||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:a.a.string,dialogActive:a.a.bool,handleDialog:a.a.func,handleConfirm:a.a.func.isRequired,onOpen:a.a.func,onClose:a.a.func,title:a.a.string,confirmButton:a.a.string,danger:a.a.bool,small:a.a.bool,medium:a.a.bool,buttonLink:a.a.string},t.a=ModalDialog}).call(this,n(4))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(3),s=n(10),l=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,a=t.hasButton,d=void 0!==a&&a,g=t.storeName,f=t.message,m=void 0===f?r.message:f,p=t.noPrefix,b=void 0!==p&&p,v=t.Icon,h=Object(c.useDispatch)(),_=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),O=Object(i.useCallback)((function(){h(_.storeName).invalidateResolution(_.name,_.args)}),[h,_]);if(!r||Object(l.f)(r))return null;var E=d&&Object(l.d)(r,_);return d||(m=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),m)),e.createElement(i.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:m,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),E&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:a.a.shape({message:a.a.string}),hasButton:a.a.bool,storeName:a.a.string,message:a.a.string,noPrefix:a.a.bool,Icon:a.a.elementType}}).call(this,n(4))},119:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(18),i=n(8);function o(e){var t=Object(a.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),a=function(e){return Object(r.isFinite)(e)?e:0}},1211:function(e,t,n){"use strict";n.r(t),function(e){var t=n(335),r=n(137),a=n(22),i=n(646),o=n(235);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-ad-blocking-recovery");t&&Object(r.render)(e.createElement(o.a,{viewContext:a.k},e.createElement(i.a,null)),t)}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,i=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,_=t.mdSize,O=t.mdStart,E=t.mdOrder,k=t.lgSize,y=t.lgStart,S=t.lgOrder,j=t.size,w=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},N,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),i)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":i})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},129:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(401),a=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),a=n.n(r),i=n(166),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,b=u>1?Object(g.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",a()({className:s()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,l.title&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,a()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},132:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"j",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return g})),n.d(t,"i",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"n",(function(){return p})),n.d(t,"r",(function(){return b})),n.d(t,"m",(function(){return v})),n.d(t,"p",(function(){return h})),n.d(t,"q",(function(){return _})),n.d(t,"o",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"s",(function(){return k}));var r="disapproved",a="graylisted",i="pending",o="approved",c="needs-attention",s="ready",l="client-requires-review",u="client-getting-ready",d="none",g="multiple",f="no-client",m="added",p="needs-attention",b="requires-review",v="getting-ready",h="ready",_="ready-no-auto-ads",O="none",E=[r,a,i,o],k=function(e){return e===a||e===i}},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),g=n.n(d),f=n(41),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:i})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},139:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),b=n(0),v=n(2),h=n(67);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var O=function(t){l()(MediaErrorHandler,t);var n=_(MediaErrorHandler);function MediaErrorHandler(e){var t;return i()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?r.createElement(h.a,{message:n}):t}}]),MediaErrorHandler}(b.Component);O.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},O.propTypes={children:p.a.node.isRequired,errorMessage:p.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},143:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",a({viewBox:"0 0 43 44"},e),i)}},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),a=n.n(r),i=n(3),o=n(116),c=n(19),s=n(34),l=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,a=t.moduleSlug,u=t.storeName,d=Object(i.useSelect)((function(e){return e(u).getErrors()})),g=Object(i.useSelect)((function(e){return e(c.a).getModule(a)})),f=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||f.includes(e.message))&&(f.push(e.message),!0)})).map((function(t,n){var a=t.message;return Object(s.e)(t)&&(a=Object(l.a)(a,g)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:u,message:a})}))}StoreErrorNotices.propTypes={hasButton:a.a.bool,storeName:a.a.string.isRequired,moduleSlug:a.a.string}}).call(this,n(4))},148:function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var a=n(68);n.d(t,"b",(function(){return a.c})),n.d(t,"a",(function(){return a.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},a=n.slug,i=void 0===a?"":a,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},152:function(e,t,n){"use strict";var r=n(633);n.d(t,"a",(function(){return r.a}));var a=n(634);n.d(t,"b",(function(){return a.a}));var i=n(635);n.d(t,"d",(function(){return i.a}));var o=n(636);n.d(t,"f",(function(){return o.a}));var c=n(637);n.d(t,"e",(function(){return c.a}));n(577);var s=n(388);n.d(t,"c",(function(){return s.c}));n(578)},154:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)(!1);t.a=a},158:function(e,t,n){"use strict";var r=n(0),a=n(44),i=Object(r.createContext)(a.a);t.a=i},159:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(2),s=n(3),l=n(198),u=n(211),d=n(68),g=n(6),f=n(10),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,i=t.children,o=t.type,m=t.dismiss,p=void 0===m?"":m,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,_=t.Icon,O=void 0===_?Object(d.d)(o):_,E=t.OuterCTA,k=Object(s.useDispatch)(g.a).dismissItem,y=Object(s.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&y)return null;var S=i?u.a:l.a;return e.createElement("div",{ref:n,className:a()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!i,"googlesitekit-settings-notice--multi-row":i})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(S,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){k(p),b()}},h)),E&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(E,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,i=t.hash,c=o()(t,["path","query","hash"]),s=Object(l.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:r,hash:i})}));return e.createElement(d.a,a()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),a=n.n(r),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:a.a.string,componentStack:a.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),a=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var a=n(309);n.d(t,"f",(function(){return a.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),a=n(24),i=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(r.useSelect)((function(t){return!!t(a.b).getValue(i(e))}),[e])}o.getKey=i},174:function(e,t,n){"use strict";(function(e){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,i=t.gaEventLabel,c=Object(g.a)(),s=Object(l.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",i);case 3:case"end":return e.stop()}}),e)}))),[i,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(4))},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,i=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,a()({width:r,height:r},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,a=o()(t,["loading","children"]);return n?e.createElement(l.a,a):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},l.a.propTypes)}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},180:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(3),s=n(18),l=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,i=Object(s.a)(),o=Object(c.useSelect)((function(e){return e(l.a).getQueuedNotifications(i)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var g=o[0],f=g.id,m=g.Component,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(f));return e.createElement(m,p)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},182:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},185:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(12),b=n.n(p),v=n(0),h=n(347),_=n(348);function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){s()(Layout,t);var n=O(Layout);function Layout(){return a()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,a=t.children,i=t.title,o=t.badge,c=t.headerCTALabel,s=t.headerCTALink,l=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,g=t.className,f=t.fill,m=t.relative,p=t.rounded,v=void 0!==p&&p,O=t.transparent,E=void 0!==O&&O;return e.createElement("div",{className:b()("googlesitekit-layout",g,{"googlesitekit-layout--fill":f,"googlesitekit-layout--relative":m,"googlesitekit-layout--rounded":v,"googlesitekit-layout--transparent":E})},n&&e.createElement(h.a,{title:i,badge:o,ctaLabel:c,ctaLink:s}),a,r&&e.createElement(_.a,{ctaLabel:l,ctaLink:u,footerContent:d}))}}]),Layout}(v.Component);E.propTypes={header:m.a.bool,footer:m.a.bool,children:m.a.node.isRequired,title:m.a.string,badge:m.a.node,headerCTALabel:m.a.string,headerCTALink:m.a.string,footerCTALabel:m.a.string,footerCTALink:m.a.string,footerContent:m.a.node,className:m.a.string,fill:m.a.bool,relative:m.a.bool,rounded:m.a.bool,transparent:m.a.bool},E.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=E}).call(this,n(4))},188:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",a({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(186),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(254),g=n(412),f=n(413),m=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,i=Object(l.useState)(!1),c=a()(i,2),s=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?g.a:f.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var a=n(91),i=n(0),o=n(3),c=n(6),s=n(18),l=n(106);function FeatureTours(){var t=Object(s.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(a.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(l.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),s=n(17),l=Object(c.forwardRef)((function(t,n){var r=t.id,a=t.className,i=t.children,l=t.secondaryPane;return e.createElement("section",{id:r,className:o()(a,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,i)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:a.a.string,className:a.a.string,secondaryPane:a.a.node},t.a=l}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(l.a,{label:r})),i&&e.createElement("div",{className:s()(a()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(221),g=n(0),f=n(3),m=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,b=t.dismissCallback,v=Object(g.useState)(!1),h=s()(v,2),_=h[0],O=h[1],E=Object(d.a)(),k=Object(f.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),y=function(){var e=o()(a.a.mark((function e(){var t,n,r,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(O(!0),t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:E()&&O(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:y,disabled:_||k,isSaving:_||k},r),u&&e.createElement(m.Button,{tertiary:n||i,onClick:b,disabled:_||k},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(140),g=n(0),f=n(2),m=n(126),p=n(127),b=n(128),v=n(80),h=n(77),_=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,_=t.back,O=void 0!==_&&_,E=t.caps,k=void 0!==E&&E,y=t.children,S=t.className,j=void 0===S?"":S,w=t.danger,N=void 0!==w&&w,A=t.disabled,C=void 0!==A&&A,T=t.external,x=void 0!==T&&T,R=t.hideExternalIndicator,L=void 0!==R&&R,D=t.href,M=void 0===D?"":D,I=t.inverse,P=void 0!==I&&I,B=t.noFlex,z=void 0!==B&&B,H=t.onClick,F=t.small,V=void 0!==F&&F,U=t.standalone,W=void 0!==U&&U,G=t.linkButton,q=void 0!==G&&G,K=t.to,J=t.leadingIcon,X=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=M||K||!H?K?"ROUTER_LINK":x?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof y?"".concat(y," ").concat(r):void 0:i),ee=J,te=X;return O&&(ee=e.createElement(b.a,{width:14,height:14})),x&&!L&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(m.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Z,a()({"aria-label":Q,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":V,"googlesitekit-cta-link--caps":k,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":W,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!z}),disabled:C,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||C?void 0:M,onClick:H,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},Y),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},y),!!te&&e.createElement(h.a,{marginLeft:5},te))}));_.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=_}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),a=n.n(r),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:a.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),a=n.n(r),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:a.a.string,moduleName:a.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),a=n.n(r),i=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,a=t.learnMoreURL,l=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:a,external:l===s.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:a.a.node,learnMoreURL:a.a.string,learnMoreDescription:a.a.string,learnMoreLabel:a.a.string,learnMoreTarget:a.a.oneOf(Object.values(s.a)),onLearnMoreClick:a.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),a=(r.a.Consumer,r.a.Provider);t.a=a},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA,o=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:a.a.node.isRequired,notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},212:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),a=n.n(r),i=n(1),o=n.n(i);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:a()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},218:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=n(38),f=n(2),m=n(3),p=n(10),b=n(6),v=n(36),h=n(20),_=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,i=t.name,c=void 0===i?"optIn":i,s=t.className,l=t.trackEventCategory,O=t.alignLeftCheckbox,E=void 0!==O&&O,k=Object(m.useSelect)((function(e){return e(b.a).isTrackingEnabled()})),y=Object(m.useSelect)((function(e){return e(b.a).isSavingTrackingEnabled()})),S=Object(m.useSelect)((function(e){return e(b.a).getErrorForAction("setTrackingEnabled",[!k])})),j=Object(m.useDispatch)(b.a).setTrackingEnabled,w=Object(_.a)(),N=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(l||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[j,l,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",s)},e.createElement(p.Checkbox,{id:r,name:c,value:"1",checked:k,disabled:y,onChange:N,loading:void 0===k,alignLeft:E},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(h.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==S?void 0:S.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==S?void 0:S.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string,trackEventCategory:s.a.string,alignLeftCheckbox:s.a.bool}}).call(this,n(4))},219:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var r=n(1),a=n.n(r),i=n(3),o=n(14),c=n(19),s=n(374);function AdBlockerWarning(t){var n=t.moduleSlug,r=t.className,a=Object(i.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),l=Object(i.useSelect)((function(e){var t;return null===(t=e(a))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),u=Object(i.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(s.a,{className:r,getHelpLink:u,warningMessage:l})}AdBlockerWarning.propTypes={className:a.a.string,moduleSlug:a.a.string.isRequired}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return a})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return y}));var r="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",_="content",O="speed",E="monetization",k=[r,a,i,o,c,l,g,b],y=[i,o,d,p]},234:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),a=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:a.a.node,label:a.a.string}}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(505),s=n(536),l=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),m=n(44),p=n(238),b=n(240),v=n(241),h=n(63),_=n(204),O=n(169);function Root(t){var n=t.children,r=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,E=Object(l.useState)({key:"Root",value:!0}),k=a()(E,1)[0];return e.createElement(l.StrictMode,null,e.createElement(_.a,{value:k},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:m.a},e.createElement(h.a,{value:o},e.createElement(s.a,{theme:d()},e.createElement(g.a,null,e.createElement(b.a,null,n,o&&e.createElement(v.a,null)),Object(O.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),b=n(0),v=n(2),h=n(168),_=n(63),O=n(65),E=n(8);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var y=function(t){l()(ErrorHandler,t);var n=k(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(E.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement(O.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(h.a,{message:n.message,componentStack:a.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,a.componentStack)):e}}]),ErrorHandler}(b.Component);y.contextType=_.b,y.propTypes={children:p.a.node.isRequired},t.a=y}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),a=(r.a.Consumer,r.a.Provider);t.a=a},238:function(e,t,n){"use strict";(function(e){var r=n(3),a=n(239),i=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(2),l=n(0),u=n(3),d=n(114),g=n(28),f=n(32),m=n(6),p=n(133),b=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,a,o,v=Object(u.useRegistry)(),h=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),_=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),O=Object(u.useSelect)((function(t){var n,r,a;return t(m.a).getConnectURL({additionalScopes:null==h||null===(n=h.data)||void 0===n?void 0:n.scopes,redirectURL:(null==h||null===(r=h.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==h||null===(a=h.data)||void 0===a?void 0:a.errorRedirectURL})})),E=Object(u.useDispatch)(m.a).clearPermissionScopeError,k=Object(u.useDispatch)(f.a).navigateTo,y=Object(u.useDispatch)(g.a).setValues,S=Object(l.useCallback)((function(){E()}),[E]),j=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(m.d,{permissionsError:h}),e.next=3,Object(p.c)(v);case 3:k(O);case 4:case"end":return e.stop()}}),e)}))),[v,O,k,h,y]);return Object(l.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==h||null===(t=h.data)||void 0===t?void 0:t.skipModal)||!(null==h||null===(n=h.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,j();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[j,h]),h?(null==h||null===(t=h.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==h||null===(a=h.data)||void 0===a?void 0:a.skipModal)||_&&(null==h||null===(o=h.data)||void 0===o?void 0:o.scopes.every((function(e){return _.includes(e)})))?null:r.createElement(b.a,null,r.createElement(d.a,{title:Object(s.__)("Additional Permissions Required","google-site-kit"),subtitle:h.message,confirmButton:Object(s.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:j,handleDialog:S,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",h),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(l.useState)(!1),i=s()(r,2),c=i[0],g=i[1];return Object(l.useEffect)((function(){c||o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),a=n.n(r),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},242:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(594),u=n(2),d=n(0),g=n(3),f=n(261),m=n(278),p=n(282),b=n(6),v=n(17),h=n(288),_=n(295),O=n(297),E=n(303),k=n(35),y=n(52),S=n(20),j=n(304),w=n(14),N=n(305);function Header(t){var n,r=t.children,i=t.subHeader,o=t.showNavigation,c=!!Object(y.c)(),A=Object(k.a)();Object(N.a)();var C=Object(g.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),T=Object(g.useSelect)((function(e){return e(b.a).isAuthenticated()})),x=Object(l.a)({childList:!0}),R=a()(x,2),L=R[0],D=!!(null===(n=R[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:s()("googlesitekit-header",{"googlesitekit-header--has-subheader":D,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(S.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:C},e.createElement(f.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!T&&c&&A&&e.createElement(O.a,null),T&&!A&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:L},e.createElement(p.a,null),e.createElement(E.a,null),i),o&&e.createElement(h.a,null),c&&e.createElement(j.a,null),e.createElement(_.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},243:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(217),s=n(0),l=n(56),u=n(2),d=n(3),g=n(10),f=n(306),m=n(129),p=n(8),b=n(174),v=n(19),h=n(18),_=n(14);function HelpMenu(t){var n=t.children,r=Object(s.useState)(!1),i=a()(r,2),o=i[0],O=i[1],E=Object(s.useRef)(),k=Object(h.a)();Object(c.a)(E,(function(){return O(!1)})),Object(m.a)([l.c,l.f],E,(function(){return O(!1)}));var y=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),S=Object(s.useCallback)((function(){o||Object(p.J)("".concat(k,"_headerbar"),"open_helpmenu"),O(!o)}),[o,k]),j=Object(s.useCallback)((function(){O(!1)}),[]),w=Object(d.useSelect)((function(e){return e(_.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:E,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:S,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:j},n,e.createElement(b.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(b.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(b.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),y&&e.createElement(b.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},252:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(0);t.a=function(t,n){var r=Object(i.useState)(null),o=a()(r,2),c=o[0],s=o[1];return Object(i.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){s(e[e.length-1])}),n);return r.observe(t.current),function(){s(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},261:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(143),i=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},262:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},269:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPCOMING:"upcoming",ACTIVE:"active",COMPLETED:"completed"}},278:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(217),d=n(0),g=n(2),f=n(56),m=n(3),p=n(10),b=n(114),v=n(8),h=n(41),_=n(76),O=n(279),E=n(234),k=n(280),y=n(281),S=n(28),j=n(14),w=n(6),N=n(32),A=n(9),C=n(129),T=n(18);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(j.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),a=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),s=Object(m.useSelect)((function(e){return e(j.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),x=Object(m.useSelect)((function(e){return e(S.a).getValue(A.d,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),L=l()(R,2),D=L[0],M=L[1],I=Object(d.useState)(!1),P=l()(I,2),B=P[0],z=P[1],H=Object(d.useRef)(),F=Object(d.useRef)(),V=Object(T.a)(),U=Object(m.useDispatch)(N.a).navigateTo;Object(u.a)(H,(function(){return z(!1)})),Object(C.a)([f.c,f.f],H,(function(){var e;z(!1),null===(e=F.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(M(!1),z(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var W,G=Object(d.useCallback)((function(){B||Object(v.J)("".concat(V,"_headerbar"),"open_usermenu"),z(!B)}),[B,V]),q=Object(d.useCallback)((function(){M(!D),z(!1)}),[D]),K=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(n,r){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=r.detail.item,e.t0=null==a?void 0:a.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(V,"_headerbar_usermenu"),"manage_sites");case 7:U(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:G();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,G,q,U,V]),J=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!1),e.next=3,Object(h.b)();case 3:return e.next=5,Object(v.J)("".concat(V,"_headerbar_usermenu"),"disconnect_user");case 5:U(s);case 6:case"end":return e.stop()}}),e)}))),[s,U,V]);return n?(o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:H,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:x,ref:F,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:G,icon:!!a&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:a,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":B,"aria-controls":"user-menu","aria-label":x?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:x?null:r.createElement("span",{"aria-label":W},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:B,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(O.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(E.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(E.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(_.a,null,r.createElement(b.a,{dialogActive:D,handleConfirm:J,handleDialog:q,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),a=n(3),i=n(6);function Details(){var t=Object(a.useSelect)((function(e){return e(i.a).getPicture()})),n=Object(a.useSelect)((function(e){return e(i.a).getFullName()})),o=Object(a.useSelect)((function(e){return e(i.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},280:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",a({viewBox:"0 0 22 22",fill:"none"},e),i)}},281:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",a({viewBox:"0 0 22 18",fill:"none"},e),i)}},282:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var a=n(0),i=n(2),o=n(3),c=n(283),s=n(284),l=n(6),u=n(14),d=n(28),g=n(65),f=n(180),m=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(l.a).isAuthenticated()})),p=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),b=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(o.useSelect)((function(e){return e(d.a).getValue(l.d,"permissionsError")})),h=Object(o.useSelect)((function(t){var r,a;return(null==v?void 0:v.data)?t(l.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(a=v.data)||void 0===a?void 0:a.redirectURL)||e.location.href}):"access_denied"===p&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),_=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),O=Object(i.__)("Error connecting Site Kit","google-site-kit"),E=Object(i.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(O=Object(i.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?E=Object(i.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(E=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(a.Fragment,null,r.createElement(s.a,null),r.createElement(c.a,null),b&&r.createElement(g.b,{id:"setup_error",type:"win-error",title:O,description:b,isDismissible:!1,ctaLink:h,ctaLabel:E,learnMoreLabel:Object(i.__)("Get help","google-site-kit"),learnMoreURL:_}),r.createElement(f.a,{areaSlug:m.b.ERRORS}))}}).call(this,n(26),n(4))},283:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),a=n(3),i=n(6),o=n(65);function AuthError(){var t=Object(a.useSelect)((function(e){return e(i.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},284:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),a=n(14),i=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(i.b,t):null}}).call(this,n(4))},285:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r=n(21),a=n.n(r),i=n(57),o=n.n(i),c=n(286),s=o()((function(e){return{id:e,Notification:l(e)(c.a)}}));function l(t){return function(n){function WithNotificationID(r){return e.createElement(n,a()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(0),s=n(287),l=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,i=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),g=Object(l.a)(n),f=Object(u.a)(n),m=Object(c.useState)(!1),p=a()(m,2),b=p[0],v=p[1];return Object(c.useEffect)((function(){!b&&g&&(f.view(null==i?void 0:i.label,null==i?void 0:i.value),v(!0))}),[g,f,b,i]),e.createElement("section",{id:n,ref:d,className:r},o,!g&&e.createElement(s.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(24),s=n(252),l=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,a=Object(s.a)(n,{threshold:r}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==a?void 0:a.isIntersecting),g=Object(l.a)(t);return Object(i.useEffect)((function(){!g&&d&&u(l.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:a.a.string,observeRef:a.a.object,threshold:a.a.number}},288:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),a=n(6),i=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(i.a)(),n=Object(r.useSelect)((function(e){return t?e(a.a).getViewableModules():null})),s=Object(r.useSelect)((function(e){return e(a.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===s,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},289:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(27),i=n.n(a),o=n(15),c=n.n(o),s=n(12),l=n.n(s),u=n(13),d=n(91),g=n(156),f=n(0),m=n(2),p=n(3),b=n(290),v=n(291),h=n(292),_=n(293),O=n(294),E=n(22),k=n(6),y=n(46),S=n(24),j=n(73),w=n(52),N=n(25),A=n(89),C=n(8),T=n(18),x=n(35);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),a=Object(f.useRef)(),o=Object(N.e)(),s=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),L=Object(f.useState)(s),D=c()(L,2),M=D[0],I=D[1],P=Object(f.useState)(s||void 0),B=c()(P,2),z=B[0],H=B[1],F=Object(f.useState)(!1),V=c()(F,2),U=V[0],W=V[1],G=Object(T.a)(),q=Object(x.a)(),K=Object(p.useDispatch)(S.b).setValue,J=Object(p.useSelect)((function(e){return q?e(k.a).getViewableModules():null})),X=Object(p.useSelect)((function(e){return e(k.a).isKeyMetricsWidgetHidden()})),Y={modules:J||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==X&&e(y.a).isWidgetContextActive(j.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,Y)})),Z=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_TRAFFIC:j.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Q=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_CONTENT:j.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),ee=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_SPEED:j.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),te=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_MONETIZATION:j.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ne=Object(f.useCallback)((function(){return $?E.b:q?Z?E.e:Q?E.a:ee?E.d:te?E.c:"":E.e}),[$,Z,Q,ee,te,q]),re=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),a=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(a)),H(a),Object(C.J)("".concat(G,"_navigation"),"tab_select",a),e.scrollTo({top:a!==ne()?Object(A.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){K(S.a,a)}),50)}),[o,G,K,ne]);return Object(d.a)((function(){var t=ne();if(!s)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=s;(function(e){return!(!$||e!==E.b)||(!(!Z||e!==E.e)||(!(!Q||e!==E.a)||(!(!ee||e!==E.d)||!(!te||e!==E.c))))})(n)||(n=t),K(S.a,n),I(n),setTimeout((function(){var r=n!==t?Object(A.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(S.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(S.a,void 0),I(e),H(void 0)},n=Object(u.throttle)((function(n){var r,o,c,s,l=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(i()($?[E.b]:[]),i()(Z?[E.e]:[]),i()(Q?[E.a]:[]),i()(ee?[E.d]:[]),i()(te?[E.c]:[])),p=ne();if(0===l)W(!1);else{var b,v=null===(b=document.querySelector(".googlesitekit-header"))||void 0===b?void 0:b.getBoundingClientRect().bottom;W(f===v)}var h,_=R(m);try{for(_.s();!(h=_.n()).done;){var O=h.value,k=document.getElementById(O);if(k){var y=k.getBoundingClientRect().top-20-(u||g||0);y<0&&(void 0===s||s<y)&&(s=y,p=O)}}}catch(e){_.e(e)}finally{_.f()}if(z)z===p&&t(p);else{var S=e.location.hash;p!==(null==S?void 0:S.substring(1))&&(n&&Object(C.J)("".concat(G,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[z,$,Z,Q,ee,te,G,K,ne]),r.createElement("nav",{className:l()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":U}),ref:a},$&&r.createElement(g.Chip,{id:E.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:re,selected:M===E.b,"data-context-id":E.b}),Z&&r.createElement(g.Chip,{id:E.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:M===E.e,"data-context-id":E.e}),Q&&r.createElement(g.Chip,{id:E.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"18"}),onClick:re,selected:M===E.a,"data-context-id":E.a}),ee&&r.createElement(g.Chip,{id:E.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"20",height:"16"}),onClick:re,selected:M===E.d,"data-context-id":E.d}),te&&r.createElement(g.Chip,{id:E.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"16"}),onClick:re,selected:M===E.c,"data-context-id":E.c}))}}).call(this,n(26),n(4))},29:function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"j",(function(){return a})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p}));var r="modules/adsense",a=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY",l="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",g="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",f="ad-blocking-recovery-notification",m={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},290:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),s=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",a({viewBox:"0 0 13 12",fill:"none"},e),i,o,c,s)}},291:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},292:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},293:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},294:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},295:function(e,t,n){"use strict";(function(e,r){var a=n(15),i=n.n(a),o=n(13),c=n(2),s=n(0),l=n(3),u=n(10),d=n(14),g=n(296),f=n(32),m=n(20),p=n(83),b=n(8),v=n(52),h=n(18);t.a=function EntityHeader(){var t=Object(h.a)(),n=Object(v.c)(),a=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),_=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),O=Object(s.useRef)(),E=Object(s.useState)(_),k=i()(E,2),y=k[0],S=k[1];Object(s.useEffect)((function(){var t=function(){if(O.current){var t=O.current.clientWidth-40,n=e.getComputedStyle(O.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(p.d)(_,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[_,O,S]);var j=Object(l.useDispatch)(f.a).navigateTo,w=Object(l.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),N=Object(s.useCallback)((function(){Object(b.J)("".concat(t,"_navigation"),"return_to_dashboard"),j(w)}),[w,j,t]);return v.a!==n||null===_||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(g.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:N,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:O,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(m.a,{secondary:!0,href:_,"aria-label":_,external:!0},y)))}}).call(this,n(26),n(4))},296:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),a=n.n(r),i=n(217),o=n(12),c=n.n(o),s=n(0),l=n(2),u=n(56),d=n(10),g=n(18),f=n(129),m=n(8),p=n(298),b=n(299),v=n(300),h=n(302),_=n(3),O=n(6);function ViewOnlyMenu(){var t=Object(s.useState)(!1),n=a()(t,2),r=n[0],o=n[1],E=Object(s.useRef)(),k=Object(g.a)();Object(i.a)(E,(function(){return o(!1)})),Object(f.a)([u.c,u.f],E,(function(){return o(!1)}));var y=Object(s.useCallback)((function(){r||Object(m.J)("".concat(k,"_headerbar"),"open_viewonly"),o(!r)}),[r,k]),S=Object(_.useSelect)((function(e){return e(O.a).hasCapability(O.H)}));return e.createElement("div",{ref:E,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":S})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:y,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(l.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(l.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:y,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(h.a,null)))}}).call(this,n(4))},298:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),g=n(32),f=n(14),m=n(6),p=n(8),b=n(20),v=n(18),h=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.H)})),r=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),i=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),_=Object(u.useDispatch)(g.a).navigateTo,O=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(h.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:_(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,_,t]),E=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),k=n?Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:i,external:!0,onClick:E,"aria-label":Object(l.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,k),n&&e.createElement(d.Button,{onClick:O},Object(l.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},300:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),a=n(3),i=n(6),o=n(301);function SharedServices(){var t=Object(a.useSelect)((function(e){return e(i.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),a=n.n(r),i=n(38),o=n(2),c=n(3),s=n(19),l=n(6);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(l.a).hasCapability(l.H)})),a=Object(c.useSelect)((function(e){return e(s.a).getModule(n)||{}})),u=a.name,d=a.owner,g=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(4))},302:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),a=n(2),i=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},303:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),a=n(3),i=n(65),o=n(14),c=n(28),s=n(6);function SetupErrorNotification(){var t=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),l=Object(a.useSelect)((function(e){return e(c.a).getValue(s.d,"permissionsError")||{}})).data;return!t||(null==l?void 0:l.skipDefaultErrorNotifications)?null:e.createElement(i.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},304:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),a=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:a.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},305:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(18),d=n(41),g=n(8),f=function(){var e=Object(u.a)(),t=Object(s.useSelect)((function(e){return e(l.c).isUsingProxy()})),n=Object(s.useSelect)((function(e){return e(l.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(a.a.mark((function n(){var r,i;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(i=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!i.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},306:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},331:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},332:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},333:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(0);function a(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,a=!1,i=function(){r=e.setTimeout((function(){a=!0}),n)},o=function(){e.clearTimeout(r),a&&(a=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",i),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",i),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),a="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===a}function s(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},347:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(0),b=n(17),v=n(20);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){s()(LayoutHeader,t);var n=h(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,a=t.ctaLabel,i=t.ctaLink,o=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(b.e,null,e.createElement(b.k,null,n&&e.createElement(b.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),i&&e.createElement(b.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:i,external:!0},a)))))}}]),LayoutHeader}(p.Component);_.propTypes={title:m.a.string,badge:m.a.node,ctaLabel:m.a.string,ctaLink:m.a.string},_.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=_}).call(this,n(4))},348:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(0),b=n(17),v=n(134);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){s()(LayoutFooter,t);var n=h(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);_.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=_}).call(this,n(4))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),a=n(18);function i(){var e=Object(a.a)();return r.g.includes(e)}},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSiteUI}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(10),s=n(32),l=n(152),u=n(389),d=n(29);function SetupAccountSiteUI(t){var n=t.heading,r=t.description,a=t.primaryButton,g=t.secondaryButton,f=Object(o.useSelect)((function(e){return e(d.m).isDoingSubmitChanges()||e(s.a).isNavigating()}));return e.createElement(i.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},n),e.createElement(l.d,null),e.createElement("p",null,r),e.createElement(u.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.SpinnerButton,{onClick:a.onClick,href:a.href,disabled:f,isSaving:f},a.label),g&&e.createElement("div",{className:"googlesitekit-setup-module__sub-action"},e.createElement(c.Button,{tertiary:!0,onClick:g.onClick},g.label))))}SetupAccountSiteUI.propTypes={heading:a.a.string.isRequired,description:a.a.string.isRequired,primaryButton:a.a.shape({label:a.a.string,href:a.a.string,onClick:a.a.func}).isRequired,secondaryButton:a.a.shape({label:a.a.string,onClick:a.a.func})}}).call(this,n(4))},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return _}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},m=Object(r.a)(f),p=m.enableTracking,b=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),h=m.trackEvent,_=m.trackEventOnce;function O(e){e?p():b()}c&&s&&v()}).call(this,n(26))},363:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(533);function a(e){if(Object(r.b)(e))return e.match(/pub-\d+$/)[0]}function i(e){if(Object(r.a)(e))return e.match(/pub-\d+$/)[0]}},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},374:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var r=n(1),a=n.n(r),i=n(2),o=n(38),c=n(20),s=n(212),l=n(375);function AdBlockerWarningMessage(t){var n=t.className,r=void 0===n?"":n,a=t.getHelpLink,u=void 0===a?"":a,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:r},Object(o.a)(Object(i.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(i.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(i.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(l.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:a.a.string,getHelpLink:a.a.string,warningMessage:a.a.string}}).call(this,n(4))},375:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return r.createElement("svg",a({viewBox:"0 0 13 14",fill:"none"},e),i)}},383:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(17),s=n(331),l=n(332),u=n(77);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,d=t.statusText,g=t.fullWidth,f=t.children,m=g?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(f);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,m,r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(s.a,{width:10,height:8}):e.createElement(l.a,{width:2,height:12}))),f))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},388:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var r,a=n(7),i=n.n(a),o=n(0),c=n(2),s=n(3),l=n(10),u=n(29),d="loggedinUsers",g="contentCreators",f=(r={},i()(r,d,Object(c.__)("All logged-in users","google-site-kit")),i()(r,g,Object(c.__)("Users who can write posts","google-site-kit")),r);function AutoAdExclusionSwitches(){var t,n=Object(s.useSelect)((function(e){return e(u.m).getAutoAdsDisabled()})),r=Object(s.useDispatch)(u.m).setAutoAdsDisabled;t=n&&n.includes(d)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(g)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var a=Object(o.useCallback)((function(e,t){var a=t?n.concat(e):n.filter((function(t){return t!==e}));r(a)}),[n,r]),i=Object(o.useCallback)((function(e){var t=e.target.checked;a(g,t)}),[a]),m=Object(o.useCallback)((function(e){var t=e.target.checked;a(d,t)}),[a]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:f[d],checked:n.includes(d),onClick:m,hideLabel:!1})),!n.includes(d)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:f[g],checked:n.includes(g),onClick:i,hideLabel:!1}))),e.createElement("p",null,t)):null}}).call(this,n(4))},389:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var r=n(0),a=n(2),i=n(3),o=n(29),c=n(363),s=n(152);function SetupUseSnippetSwitch(){var t,n,l=Object(i.useSelect)((function(e){return e(o.m).getOriginalUseSnippet()})),u=Object(i.useSelect)((function(e){return e(o.m).getExistingTag()})),d=Object(i.useSelect)((function(e){return e(o.m).getClientID()})),g=Object(i.useDispatch)(o.m),f=g.setUseSnippet,m=g.saveSettings,p=Boolean(u);if(Object(r.useEffect)((function(){p&&(f(!1),m())}),[p,m,f]),l&&!u||void 0===u||void 0===l)return null;var b=Object(a.__)("Make sure to remove the existing AdSense code to avoid conflicts with the code placed by Site Kit","google-site-kit");return u===d?(n=Object(a.__)("You’ve already got an AdSense code on your site for this account. We recommend you use Site Kit to place the code to get the most out of AdSense.","google-site-kit"),t="".concat(n," ").concat(b)):u?(n=Object(a.sprintf)( /* translators: 1: existing account ID, 2: current account ID */ Object(a.__)("Site Kit detected AdSense code for a different account %1$s on your site. In order to configure AdSense for your current account %2$s, we recommend you use Site Kit to place the code instead.","google-site-kit"),Object(c.a)(u),Object(c.a)(d)),t="".concat(n," ").concat(b)):t=b,e.createElement(s.e,{checkedMessage:t,uncheckedMessage:n,saveOnChange:!0})}}).call(this,n(4))},40:function(e,t,n){"use strict";(function(e){var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,r,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),_={width:(n={},a()(n,l.b,g),a()(n,l.c,m),a()(n,l.a,b),a()(n,l.d,b),n),height:(r={},a()(r,l.b,f),a()(r,l.c,p),a()(r,l.a,v),a()(r,l.d,b),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:_.width[h]||o,height:_.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return E})),n.d(t,"b",(function(){return k}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(n,r){var i,o,s,l,u,d,f,m,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,s=void 0===o?c.b:o,l=i.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,b();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),k=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,E();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,O(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},498:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M107.91 41.72c7.73-13.22 3.14-30.12-10.24-37.75C84.29-3.66 67.18.87 59.45 14.09c-.35.59-.66 1.2-.96 1.81l-26.1 44.66a27.172 27.172 0 00-1.6 2.75L3.67 110.1l48.45 27.16 26.98-46.4c.29-.44.57-.89.84-1.35.27-.46.52-.93.76-1.39l26.11-44.67c.38-.57.76-1.14 1.1-1.73z",fill:"#FBBC04"}),r.createElement("path",{d:"M52.34 137.11c-7.68 13.43-25 18.38-38.31 10.62-13.31-7.76-18.02-24.57-10.34-38s24.86-18.39 38.16-10.64c13.3 7.75 18.18 24.59 10.49 38.02z",fill:"#34A853"}),r.createElement("path",{d:"M158.79 51.86c-13.23-7.62-30.15-3.1-37.79 10.1l-27.66 47.8c-7.64 13.2-3.11 30.08 10.13 37.7 13.23 7.62 30.15 3.1 37.79-10.1l27.66-47.8c7.63-13.2 3.1-30.08-10.13-37.7z",fill:"#4285F4"}));t.a=function SvgAdsense(e){return r.createElement("svg",a({viewBox:"0 0 173 152"},e),i)}},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),a=n(18),i=r.n,o=r.l;function c(){var e=Object(a.a)();return e===r.n||e===r.o?i:e===r.l||e===r.m?o:null}},523:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccount}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(10),s=n(29),l=n(132),u=n(524),d=n(525),g=n(526),f=n(527);function SetupAccount(t){var n=t.account,r=t.finishSetup,a=n._id,m=n.state,p=Object(o.useSelect)((function(e){return e(s.m).getClientID()})),b=Object(o.useSelect)((function(e){return e(s.m).getCurrentSite(a)})),v=Object(o.useSelect)((function(e){return e(s.m).getAFCClient(a)})),h=Object(o.useDispatch)(s.m),_=h.setClientID,O=h.setAccountStatus,E=h.setSiteStatus;return Object(i.useEffect)((function(){(null==v?void 0:v._id)&&p!==v._id?_(v._id):null===v&&p&&_("")}),[v,p,_]),Object(i.useEffect)((function(){null===b&&E(l.o)}),[E,b]),Object(i.useEffect)((function(){void 0!==b&&(p?m===s.f?O(l.g):(null==v?void 0:v.state)===s.h?O(l.c):(null==v?void 0:v.state)===s.e?O(l.b):O(l.k):O(l.i))}),[m,v,p,O,b]),void 0===b?e.createElement(c.ProgressBar,null):p?null===b?e.createElement(g.a,null):m===s.f||(null==v?void 0:v.state)===s.h||(null==v?void 0:v.state)===s.e?e.createElement(f.a,null):e.createElement(u.a,{site:b,finishSetup:r}):e.createElement(d.a,null)}SetupAccount.propTypes={account:a.a.shape({_id:a.a.string,state:a.a.string}),finishSetup:a.a.func}}).call(this,n(4))},524:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSite}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(3),s=n(29),l=n(132),u=n(656),d=n(657),g=n(658),f=n(659),m=n(67);function SetupAccountSite(t){var n=t.site,r=t.finishSetup,a=n.autoAdsEnabled,p=n.state,b=Object(c.useDispatch)(s.m).setSiteStatus;switch(Object(i.useEffect)((function(){var e;switch(p){case s.f:e=l.n;break;case s.h:e=l.r;break;case s.e:e=l.m;break;case s.g:e=a?l.p:l.q}e&&b(e)}),[a,b,p]),p){case s.f:return e.createElement(u.a,null);case s.h:return e.createElement(g.a,null);case s.e:return e.createElement(d.a,null);case s.g:return e.createElement(f.a,{site:n,finishSetup:r});default:return e.createElement(m.a,{message:Object(o.sprintf)( /* translators: %s: invalid site state identifier */ Object(o.__)("Invalid site state %s","google-site-kit"),p)})}}SetupAccountSite.propTypes={site:a.a.shape({autoAdsEnabled:a.a.bool,state:a.a.string}).isRequired,finishSetup:a.a.func}}).call(this,n(4))},525:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountNoClient}));var r=n(0),a=n(38),i=n(2),o=n(10),c=n(162),s=n(152),l=n(8),u=n(18);function SetupAccountNoClient(){var t=Object(u.a)(),n=Object(r.useCallback)((function(){Object(l.J)("".concat(t,"_adsense"),"apply_afc")}),[t]);return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Looks like you need to upgrade your AdSense account","google-site-kit")),e.createElement(s.d,null),e.createElement("p",null,Object(a.a)(Object(i.__)("To start using AdSense on your website, you need to upgrade your account to add “AdSense for content”. <a>Learn more</a>","google-site-kit"),{a:e.createElement(c.a,{path:"/adsense/answer/6023158",external:!0,"aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{href:"https://www.google.com/adsense",target:"_blank","aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit"),onClick:n},Object(i.__)("Apply now","google-site-kit"))))}}).call(this,n(4))},526:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupAccountCreateSite}));var a=n(0),i=n(2),o=n(3),c=n(10),s=n(29),l=n(152),u=n(8),d=n(18);function SetupAccountCreateSite(){var t=Object(d.a)(),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSiteURL()})),g=Object(a.useCallback)((function(r){r.preventDefault(),Object(u.J)("".concat(t,"_adsense"),"create_site"),e.open(n,"_blank")}),[n,t]);return r.createElement(a.Fragment,null,r.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Add this site to your AdSense account","google-site-kit")),r.createElement(l.d,null),r.createElement("p",null,Object(i.__)("We’ve detected that you haven’t added this site to your AdSense account yet","google-site-kit")),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(c.Button,{onClick:g,href:n},Object(i.__)("Add site to AdSense","google-site-kit"))))}}).call(this,n(26),n(4))},527:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPendingTasks}));var r=n(0),a=n(2),i=n(3),o=n(10),c=n(389),s=n(29),l=n(152),u=n(8),d=n(18);function SetupAccountPendingTasks(){var t=Object(d.a)(),n=Object(r.useCallback)((function(){Object(u.J)("".concat(t,"_adsense"),"review_tasks")}),[t]),g=Object(i.useSelect)((function(e){return e(s.m).getServiceAccountURL()}));return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(a.__)("Your account isn’t ready to show ads yet","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(a.__)("You need to fix some things before we can connect Site Kit to your AdSense account","google-site-kit")),e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{onClick:n,href:g},Object(a.__)("Review AdSense account","google-site-kit"))))}}).call(this,n(4))},528:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupCreateAccount}));var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(0),l=n(38),u=n(2),d=n(3),g=n(10),f=n(162),m=n(8),p=n(363),b=n(29),v=n(6),h=n(152),_=n(18);function SetupCreateAccount(){var t=Object(_.a)(),n="".concat(t,"_adsense"),a=Object(d.useSelect)((function(e){return e(v.a).getEmail()})),o=Object(d.useSelect)((function(e){return e(b.m).getExistingTag()})),O=Object(d.useSelect)((function(e){return e(b.m).getServiceCreateAccountURL()})),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(r){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),t.next=3,Object(m.J)(n,"create_account");case 3:e.open(O,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[O,n]);return r.createElement(s.Fragment,null,r.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(u.__)("Create your AdSense account","google-site-kit")),r.createElement(h.d,null),r.createElement("p",null,Object(u.__)("Once you create your account, Site Kit will place AdSense code on every page across your site. This means your site will be automatically optimized to help you earn money from your content.","google-site-kit")),r.createElement(h.f,null),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(g.Button,{onClick:E,href:O},Object(u.__)("Create AdSense account","google-site-kit"))),r.createElement("p",{className:"googlesitekit-setup-module__footer-text"},o&&Object(u.sprintf)( /* translators: 1: client ID, 2: user email address, 3: account ID */ Object(u.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),o,a,Object(p.a)(o)),!o&&Object(l.a)(Object(u.sprintf)( /* translators: %s: user email address */ Object(u.__)("Already use AdSense? Add %s as a user to an existing AdSense account. <a>Learn more</a>","google-site-kit"),a),{a:r.createElement(f.a,{path:"/adsense/answer/2659101",external:!0,"aria-label":Object(u.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")})})))}}).call(this,n(26),n(4))},529:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSelectAccount}));var r=n(0),a=n(2),i=n(152);function SetupSelectAccount(){return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(a.__)("Select your AdSense account","google-site-kit")),e.createElement(i.d,null),e.createElement("p",null,Object(a.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(i.a,null)))}}).call(this,n(4))},533:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&/^pub-\d+$/.test(e)}function a(e){return"string"==typeof e&&/^ca-pub-\d+$/.test(e)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}))},547:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M1 3.838L4.106 7 10 1",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgTick(e){return r.createElement("svg",a({viewBox:"0 0 11 9",fill:"none"},e),i)}},577:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebStoriesAdUnitSelect}));var r=n(0),a=n(2),i=n(10),o=n(3),c=n(29);function WebStoriesAdUnitSelect(){var t=Object(o.useSelect)((function(e){return e(c.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(c.m).getClientID()})),s=Object(o.useSelect)((function(e){return e(c.m).getWebStoriesAdUnit()})),l=Object(o.useSelect)((function(e){return e(c.m).getAdUnits(t,n)})),u=Object(o.useSelect)((function(e){return e(c.m).hasFinishedResolution("getAdUnits",[t,n])})),d=Object(o.useDispatch)(c.m).setWebStoriesAdUnit,g=Object(r.useCallback)((function(e,t){var n=t.dataset.value;s!==n&&d(n)}),[s,d]);return u?e.createElement(i.Select,{className:"googlesitekit-adsense__select-field",label:Object(a.__)("Web Stories Ad Unit","google-site-kit"),value:s,onEnhancedChange:g,enhanced:!0,outlined:!0},e.createElement(i.Option,{value:""},Object(a.__)("Select ad unit","google-site-kit")),(l||[]).map((function(t){var n=t._id,r=t.displayName;return e.createElement(i.Option,{key:n,value:n},r)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},578:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseConnectCTA}));var r=n(21),a=n.n(r),i=n(5),o=n.n(i),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(222),g=n(1),f=n.n(g),m=n(2),p=n(0),b=n(38),v=n(3),h=n(10),_=n(29),O=n(17),E=n(14),k=n(19),y=n(32),S=n(8),j=n(653),w=n(162),N=n(18);function AdSenseConnectCTA(t){var n=t.onDismissModule,r=Object(v.useDispatch)(y.a).navigateTo,i=Object(v.useDispatch)(k.a).activateModule,c=Object(v.useDispatch)(E.c).setInternalServerError,l=Object(N.a)(),g=Object(p.useRef)(),f=Object(p.useState)(!1),A=u()(f,2),C=A[0],T=A[1],x=Object(d.a)(g,{threshold:.25}),R=!!(null==x?void 0:x.intersectionRatio);Object(p.useEffect)((function(){R&&!C&&(Object(S.J)("".concat(l,"_adsense-cta-widget"),"widget_view"),T(!0))}),[R,l,C]);var L=Object(v.useSelect)((function(e){return e(_.m).getAdminReauthURL()})),D=Object(v.useSelect)((function(e){return e(k.a).isModuleActive("adsense")})),M=Object(v.useSelect)((function(e){return e(k.a).isModuleConnected("adsense")})),I=Object(v.useSelect)((function(e){return!!e(k.a).isFetchingSetModuleActivation("adsense",!0)||!!L&&e(y.a).isNavigatingTo(L)})),P=Object(p.useCallback)(s()(o.a.mark((function e(){var t,n,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i("adsense");case 2:if(t=e.sent,n=t.response,!(a=t.error)){e.next=8;break}return c({id:"setup-module-error",description:a.message}),e.abrupt("return",null);case 8:return e.next=10,Object(S.J)("".concat(l,"_adsense-cta-widget"),"activate_module","adsense");case 10:r(n.moduleReauthURL);case 11:case"end":return e.stop()}}),e)}))),[i,r,c,l]),B=Object(p.useCallback)((function(){return r(L)}),[L,r]),z=Object(p.useCallback)((function(){Object(S.J)("".concat(l,"_adsense-cta-widget"),"dismiss_widget"),n()}),[n,l]),H={smSize:4,mdSize:4,lgSize:6};return e.createElement("section",{ref:g,className:"googlesitekit-setup__wrapper googlesitekit-setup__wrapper--adsense-connect"},e.createElement(O.e,null,e.createElement(j.a,{hasBeenInView:C}),e.createElement(O.k,null,e.createElement(O.a,H,e.createElement("div",{className:"googlesitekit-setup-module__action"},!D&&e.createElement(h.SpinnerButton,{onClick:P,isSaving:I},Object(m.__)("Connect now","google-site-kit")),D&&!M&&e.createElement(h.SpinnerButton,{onClick:B,isSaving:I},Object(m.__)("Complete setup","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:z},Object(m.__)("Maybe later","google-site-kit")))),e.createElement(O.a,a()({},H,{className:"googlesitekit-setup-module__footer-text"}),e.createElement("p",null,Object(b.a)(Object(m.__)("AdSense accounts are <a>subject to review and approval</a> by the Google AdSense team","google-site-kit"),{a:e.createElement(w.a,{path:"/adsense/answer/9724",external:!0,hideExternalIndicator:!0})}))))))}AdSenseConnectCTA.propTypes={onDismissModule:f.a.func.isRequired}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},581:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Step}));var r=n(1),a=n.n(r),i=n(269);function Step(t){var n=t.children,r=t.title,a=t.stepStatus;return e.createElement("div",{className:"googlesitekit-stepper__step-info"},e.createElement("h2",{className:"googlesitekit-stepper__step-title"},r),e.createElement("div",{className:"googlesitekit-stepper__step-content-container"},a===i.a.ACTIVE&&e.createElement("div",{className:"googlesitekit-stepper__step-content"},n)))}Step.propTypes={children:a.a.node.isRequired,title:a.a.string.isRequired,stepStatus:a.a.oneOf(Object.values(i.a))}}).call(this,n(4))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return _})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return y})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return N})),n.d(t,"w",(function(){return A})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return T})),n.d(t,"x",(function(){return x})),n.d(t,"y",(function(){return R})),n.d(t,"A",(function(){return L})),n.d(t,"B",(function(){return D})),n.d(t,"C",(function(){return M})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return B})),n.d(t,"z",(function(){return z})),n.d(t,"G",(function(){return H})),n.d(t,"E",(function(){return F})),n.d(t,"i",(function(){return V})),n.d(t,"p",(function(){return U})),n.d(t,"Q",(function(){return W})),n.d(t,"P",(function(){return G}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",_="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",k="kmAnalyticsPopularProducts",y="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",N="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",T="kmAnalyticsTopCountries",x="kmAnalyticsTopPagesDrivingLeads",R="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",D="kmAnalyticsTopTrafficSourceDrivingAddToCart",M="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",B="kmAnalyticsVisitLength",z="kmAnalyticsTopReturningVisitorPages",H="kmSearchConsolePopularKeywords",F="kmAnalyticsVisitsPerVisitor",V="kmAnalyticsMostEngagingPages",U="kmAnalyticsTopCategories",W=[b,v,h,_,O,E,k,y,U,S,j,w,N,A,C,T,R,L,D,P,B,z,F,V,U],G=[].concat(W,[H])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=n(22),a="core/notifications",i={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},632:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryApp}));var r=n(0),a=n(242),i=n(243),o=n(17),c=n(647);function AdBlockingRecoveryApp(){return e.createElement(r.Fragment,null,e.createElement(a.a,null,e.createElement(i.a,null)),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery googlesitekit-module-page"},e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(c.a,null))))))}}).call(this,n(4))},633:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var r=n(0),a=n(2),i=n(10),o=n(3),c=n(8),s=n(29),l=n(18);function AccountSelect(){var t=Object(l.a)(),n="".concat(t,"_adsense"),u=Object(o.useSelect)((function(e){return e(s.m).getAccountID()})),d=Object(o.useSelect)((function(e){return e(s.m).getAccounts()})),g=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getAccounts")})),f=Object(o.useDispatch)(s.m).setAccountID,m=Object(r.useCallback)((function(e,t){var r=t.dataset.value;u!==r&&(f(r),Object(c.J)(n,"change_account"))}),[u,n,f]);return g?e.createElement(i.Select,{className:"googlesitekit-adsense__select-account",label:Object(a.__)("Account","google-site-kit"),value:u,onEnhancedChange:m,enhanced:!0,outlined:!0},(d||[]).map((function(t,n){var r=t._id,a=t.displayName;return e.createElement(i.Option,{key:n,value:r},a)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},634:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var r=n(2),a=n(3),i=n(85),o=n(14);function AdSenseLinkCTA(t){var n=t.onClick,c=void 0===n?function(){}:n,s=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(i.a,{title:Object(r.__)("Link Analytics and AdSense","google-site-kit"),description:Object(r.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:s,ctaLabel:Object(r.__)("Learn more","google-site-kit"),ctaLinkExternal:!0,onClick:c})}}).call(this,n(4))},635:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotices}));var r=n(29),a=n(144),i=n(1),o=n.n(i);function ErrorNotices(t){var n=t.hasButton,i=void 0!==n&&n;return e.createElement(a.a,{hasButton:i,moduleSlug:"adsense",storeName:r.m})}ErrorNotices.propTypes={hasButton:o.a.bool}}).call(this,n(4))},636:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserProfile}));var r=n(3),a=n(10),i=n(6);function UserProfile(){var t=Object(r.useSelect)((function(e){return e(i.a).getEmail()})),n=Object(r.useSelect)((function(e){return e(i.a).getPicture()}));return Object(r.useSelect)((function(e){return e(i.a).hasFinishedResolution("getUser")}))?e.createElement("p",{className:"googlesitekit-setup-module__user"},e.createElement("img",{className:"googlesitekit-setup-module__user-image",src:n,alt:""}),e.createElement("span",{className:"googlesitekit-setup-module__user-email"},t)):e.createElement(a.ProgressBar,{small:!0})}}).call(this,n(4))},637:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(521),u=n(0),d=n(2),g=n(3),f=n(10),m=n(148),p=n(8),b=n(29),v=n(18),h=n(93);function UseSnippetSwitch(t){var n=t.label,r=void 0===n?Object(d.__)("Let Site Kit place AdSense code on your site","google-site-kit"):n,i=t.checkedMessage,c=t.uncheckedMessage,s=t.saveOnChange,_=Object(v.a)(),O="".concat(_,"_adsense"),E=Object(g.useSelect)((function(e){return e(b.m).getUseSnippet()})),k=Object(g.useSelect)((function(e){return e(b.m).isDoingSubmitChanges()})),y=Object(g.useDispatch)(b.m),S=y.setUseSnippet,j=y.saveSettings,w=Object(u.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(S(!E),!s){e.next=4;break}return e.next=4,j();case 4:case"end":return e.stop()}}),e)}))),[E,s,S,j]);return Object(l.a)((function(){Object(p.J)(O,E?"enable_tag":"disable_tag")}),[O,E]),void 0===E?null:e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__switch"},e.createElement(f.Switch,{label:r,onClick:w,checked:E,disabled:k,hideLabel:!1})," ",e.createElement(h.a,{className:"googlesitekit-badge--primary",label:Object(d.__)("Recommended","google-site-kit")})),E&&i&&e.createElement(m.c,{notice:i}),!E&&c&&e.createElement(m.c,{notice:c}))}UseSnippetSwitch.propTypes={label:s.a.string,checkedMessage:s.a.string,uncheckedMessage:s.a.string,saveOnChange:s.a.bool},UseSnippetSwitch.defaultProps={saveOnChange:!1}}).call(this,n(4))},638:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(521),u=n(1),d=n.n(u),g=n(2),f=n(0),m=n(3),p=n(10),b=n(498),v=n(523),h=n(528),_=n(529),O=n(8),E=n(152),k=n(219),y=n(29),S=n(6),j=n(14),w=n(132),N=n(18),A=n(333),C=n(24);function SetupMain(t){var n=t.finishSetup,r=Object(N.a)(),i="".concat(r,"_adsense"),c=Object(m.useDispatch)(y.m),u=c.resetAccounts,d=c.resetClients,T=c.resetSites,x=c.setAccountID,R=c.setAccountStatus,L=c.submitChanges,D=Object(f.useState)(!1),M=s()(D,2),I=M[0],P=M[1],B=Object(f.useState)(!1),z=s()(B,2),H=z[0],F=z[1],V=Object(m.useSelect)((function(e){return!!e(C.b).getValue(y.i)})),U=Object(m.useSelect)((function(e){return e(S.a).isAdBlockerActive()})),W=Object(m.useSelect)((function(e){return e(y.m).getAccounts()})),G=Object(m.useSelect)((function(e){return e(y.m).getAccountID()})),q=Object(m.useSelect)((function(e){return e(y.m).hasSettingChanged("accountID")})),K=Object(m.useSelect)((function(e){return e(y.m).hasSettingChanged("clientID")})),J=Object(m.useSelect)((function(e){return e(y.m).canSubmitChanges()})),X=Object(m.useSelect)((function(e){return e(y.m).getClientID()})),Y=Object(m.useSelect)((function(e){return e(y.m).getAccountStatus()})),$=Object(m.useSelect)((function(e){return e(y.m).hasSettingChanged("accountStatus")})),Z=Object(m.useSelect)((function(e){return e(y.m).getSiteStatus()})),Q=Object(m.useSelect)((function(e){return e(y.m).hasSettingChanged("siteStatus")})),ee=Object(m.useSelect)((function(e){return e(y.m).hasErrors()})),te=Object(m.useSelect)((function(e){return e(y.m).hasFinishedResolution("getAccounts")})),ne=Object(m.useSelect)((function(e){return e(S.a).getEmail()})),re=Object(m.useSelect)((function(e){return e(j.c).getReferenceSiteURL()})),ae=Object(m.useSelect)((function(e){return e(y.m).getExistingTag()})),ie=null==W?void 0:W.find((function(e){return e._id===G}));Object(l.a)((function(){(q&&void 0!==G||K&&void 0!==X||$&&void 0!==Y||Q&&void 0!==Z)&&P(!0)}),[G,q,X,K,Y,$,Z,Q]),Object(f.useEffect)((function(){var e;Array.isArray(W)&&(1!==W.length||G&&W[0]._id===G?0===W.length&&G&&(e=""):e=W[0]._id,void 0!==e&&(x(e),P(!0)))}),[W,G,x]),Object(f.useEffect)((function(){0===(null==W?void 0:W.length)?R(w.h):(null==W?void 0:W.length)>1&&!G&&R(w.f)}),[R,G,W]),Object(f.useEffect)((function(){I&&!H&&J&&!V&&(P(!1),o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!0),e.next=3,L();case 3:F(!1);case 4:case"end":return e.stop()}}),e)})))())}),[I,H,J,L,V]);var oe,ce=Object(f.useCallback)((function(){void 0!==Y&&w.k!==Y&&(u(),d(),T())}),[Y,u,d,T]);return Object(A.a)(ce,15e3),Object(f.useEffect)((function(){void 0!==Y&&Object(O.J)(i,"receive_account_state",Y)}),[i,Y]),Object(f.useEffect)((function(){void 0!==Z&&Object(O.J)(i,"receive_site_state",Z)}),[i,Z]),oe=te&&void 0!==G&&void 0!==ne&&void 0!==re&&void 0!==ae?ee?e.createElement(E.d,{hasButton:!0}):(null==W?void 0:W.length)?G?e.createElement(v.a,{account:ie,finishSetup:n}):e.createElement(_.a,null):e.createElement(h.a,null):e.createElement(p.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(b.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("AdSense","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(k.a,{moduleSlug:"adsense"}),!U&&oe))}SetupMain.propTypes={finishSetup:d.a.func}}).call(this,n(4))},646:function(e,t,n){"use strict";var r=n(632);n.d(t,"a",(function(){return r.a}));n(389);var a=n(638);n.d(t,"b",(function(){return a.a}));n(523),n(528),n(529),n(525),n(526),n(527),n(524)},647:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(7),u=n.n(l),d=n(157),g=n(0),f=n(2),m=n(3),p=n(10),b=n(20),v=n(383),h=n(648),_=n(581),O=n(185),E=n(32),k=n(14),y=n(24),S=n(18),j=n(17),w=n(8),N=n(29),A=n(649),C=n(651),T=n(652);function SetupMain(){var t=Object(S.a)(),n=Object(m.useSelect)((function(e){return e(k.c).getAdminURL("googlesitekit-settings")})),r="".concat(n,"#/connected-services/adsense"),i=Object(m.useSelect)((function(e){return!!e(y.b).getValue(N.c)})),c=Object(m.useSelect)((function(e){return e(k.c).getAdminURL("googlesitekit-dashboard")})),l=Object(m.useSelect)((function(e){var t,n=(t={},u()(t,N.k.TAG_PLACED,N.l.CREATE_MESSAGE),u()(t,N.k.SETUP_CONFIRMED,N.l.COMPLETE),t),r=e(N.m).getAdBlockingRecoverySetupStatus();if(void 0!==r)return n[r]||N.l.PLACE_TAGS})),x=Object(d.a)(c,{notification:"ad_blocking_recovery_setup_success"}),R=Object(m.useSelect)((function(e){return e(N.m).getAccountID()})),L=Object(m.useSelect)((function(e){return e(N.m).getServiceURL({path:"/".concat(R,"/privacymessaging/ad_blocking")})})),D=Object(m.useDispatch)(N.m),M=D.saveSettings,I=D.setAdBlockingRecoverySetupStatus,P=D.setUseAdBlockingRecoverySnippet,B=D.setUseAdBlockingRecoveryErrorSnippet,z=Object(m.useDispatch)(E.a).navigateTo,H=Object(g.useState)(l),F=s()(H,2),V=F[0],U=F[1],W=Object(g.useCallback)(o()(a.a.mark((function e(){var o,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==V){e.next=6;break}return e.next=3,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_place_tag_step");case 3:if(!document.referrer.includes(n)){e.next=5;break}return e.abrupt("return",z(r));case 5:return e.abrupt("return",z(c));case 6:if(!i){e.next=10;break}return e.next=9,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_final_step");case 9:return e.abrupt("return",z(r));case 10:return I(""),P(!1),B(!1),e.next=15,M();case 15:return o=e.sent,s=o.error,e.next=19,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_create_message_step");case 19:s||(document.referrer.includes(n)?z(r):z(c));case 20:case"end":return e.stop()}}),e)}))),[V,r,i,c,z,M,I,B,P,n,t]);return Object(g.useEffect)((function(){void 0===V&&void 0!==l&&U(l)}),[V,l]),e.createElement(O.a,{rounded:!0},e.createElement(j.e,null,e.createElement(j.k,null,e.createElement(j.a,{lgSize:6,mdSize:8,smSize:4},e.createElement(v.a,{className:"googlesitekit-heading-3 googlesitekit-ad-blocking-recovery__heading",title:Object(f.__)("Ad Blocking Recovery","google-site-kit"),fullWidth:!0})))),e.createElement(A.a,null,e.createElement(h.a,{activeStep:V,className:"googlesitekit-ad-blocking-recovery__steps"},e.createElement(_.a,{title:Object(f.__)("Enable ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-place-tags"},e.createElement(T.a,{setActiveStep:U})),e.createElement(_.a,{title:Object(f.__)("Create your site’s ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-create-message"},e.createElement(C.a,null))),N.l.COMPLETE===V&&e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-content"},e.createElement("p",null,Object(f.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(f.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")))),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer googlesitekit-ad-blocking-recovery__buttons"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer-cancel"},N.l.COMPLETE===V?e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-actions"},e.createElement(p.SpinnerButton,{href:x},Object(f.__)("My message is ready","google-site-kit")),e.createElement(b.a,{href:L,external:!0,hideExternalIndicator:!0},Object(f.__)("Create message","google-site-kit"))):e.createElement(b.a,{onClick:W},Object(f.__)("Cancel","google-site-kit")))))}}).call(this,n(4))},648:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stepper}));var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),s=n(2),l=n(547),u=n(269);function Stepper(t){var n=t.children,r=t.activeStep,a=t.className,i=c.Children.count(n);function d(e,t){switch(t){case u.a.UPCOMING:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (upcoming).","google-site-kit"),e,i);case u.a.ACTIVE:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (active).","google-site-kit"),e,i);case u.a.COMPLETED:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (completed).","google-site-kit"),e,i)}}return e.createElement("ol",{className:o()("googlesitekit-stepper",a)},c.Children.map(n,(function(t,n){var a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return e<r?u.a.COMPLETED:e===r?u.a.ACTIVE:u.a.UPCOMING}(n,r),s=n+1;return e.createElement("li",{className:o()("googlesitekit-stepper__step","googlesitekit-stepper__step--".concat(a),t.props.className)},e.createElement("div",{className:"googlesitekit-stepper__step-progress"},e.createElement("span",{className:"googlesitekit-stepper__step-number",title:d(s,a)},a===u.a.COMPLETED?e.createElement(l.a,null):s),s<i&&e.createElement("div",{className:"googlesitekit-stepper__step-progress-line"})),Object(c.cloneElement)(t,{stepStatus:a}))})))}Stepper.propTypes={children:a.a.node.isRequired,activeStep:a.a.number,className:a.a.string}}).call(this,n(4))},649:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Content}));var r=n(1),a=n.n(r),i=n(17),o=n(650),c=n(25);function Content(t){var n=t.children,r=Object(c.e)(),a=![c.c,c.b].includes(r);return e.createElement(i.e,{className:"googlesitekit-ad-blocking-recovery__content"},e.createElement(i.k,null,e.createElement(i.a,{mdSize:8,lgSize:8},n),a&&e.createElement(i.a,{className:"googlesitekit-ad-blocking-recovery__hero-graphic",lgSize:4},e.createElement(o.a,null))))}Content.propTypes={children:a.a.node}}).call(this,n(4))},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),g=n.n(d),f=n(1),m=n.n(f),p=n(12),b=n.n(p),v=n(221),h=n(222),_=n(91),O=n(79),E=n(0),k=n(109),y=n(3),S=n(17),j=n(89),w=n(41),N=n(25),A=n(195),C=n(196),T=n(197),x=n(201),R=n(202),L=n(74),D=n(113),M=n(121),I=n(32),P=n(203);function BannerNotification(t){var n,r=t.badgeLabel,i=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,f=t.ctaLink,m=t.ctaTarget,p=t.description,B=t.dismiss,z=t.dismissExpires,H=void 0===z?0:z,F=t.format,V=void 0===F?"":F,U=t.id,W=t.isDismissible,G=void 0===W||W,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,X=t.learnMoreTarget,Y=void 0===X?L.a.EXTERNAL:X,$=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ae=t.showOnce,ie=void 0!==ae&&ae,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,_e=void 0===he?105:he,Oe=t.rounded,Ee=void 0!==Oe&&Oe,ke=t.footer,ye=t.secondaryPane,Se=t.ctaComponent,je=Object(E.useState)(!1),we=g()(je,2),Ne=we[0],Ae=we[1],Ce=Object(E.useState)(!1),Te=g()(Ce,2),xe=Te[0],Re=Te[1],Le="notification::dismissed::".concat(U),De=function(){return Object(w.f)(Le,new Date,{ttl:null})},Me=Object(O.a)(),Ie=Object(N.e)(),Pe=Object(v.a)(),Be=Object(E.useState)(!1),ze=g()(Be,2),He=ze[0],Fe=ze[1],Ve=Object(E.useRef)(),Ue=Object(h.a)(Ve,{rootMargin:"".concat(-Object(M.a)(Object(j.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(E.useEffect)((function(){!He&&(null==Ue?void 0:Ue.isIntersecting)&&("function"==typeof te&&te(),Fe(!0))}),[U,te,He,Ue]);var We=Me>=600;Object(_.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(H>0)){e.next=3;break}return e.next=3,$e();case 3:if(!G){e.next=9;break}return e.next=6,Object(w.d)(Le);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ie){e.next=12;break}return e.next=12,De();case 12:case"end":return e.stop()}}),e)}))));var Ge=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(k.a)(f)&&"_blank"!==m,Ke=function(){return qe||Ae(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,De();case 2:Pe()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(y.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Xe=Object(y.useDispatch)(I.a).navigateTo,Ye=function(){var e=u()(s.a.mark((function e(t){var n,r,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,a=r.dismissOnCTAClick,n=void 0===a||a;case 12:if(!G||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Xe(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Le);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(H,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Le);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&G&&(void 0===xe||xe))return null;var Ze=!Je&&Ne?"is-closed":"is-open",Qe=Object(D.d)(V),et=Object(D.c)(V),tt=Object(D.a)(V),nt=Object(D.b)({format:V,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!le});return e.createElement(A.a,{id:U,className:b()(l,(n={},o()(n,"googlesitekit-publisher-win--".concat(V),V),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",Ee),n)),secondaryPane:ye,ref:Ve},$&&e.createElement(R.a,{module:Z,moduleName:Q}),oe&&e.createElement(S.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(S.a,a()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(C.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:fe,winImageFormat:V,WinImageSVG:!We&&de?le:void 0}),e.createElement(P.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:Y,learnMoreDescription:q,onLearnMoreClick:re}),i,e.createElement(T.a,{ctaLink:f,ctaLabel:d,ctaComponent:Se,ctaTarget:m,ctaCallback:Ye,dismissLabel:G?B:void 0,dismissCallback:Ge}),ke&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ke)),le&&(We||!de)&&e.createElement(S.a,a()({},Qe,et,{alignBottom:"larger"===V,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(V)},e.createElement(le,{style:{maxWidth:ve,maxHeight:_e}}))),e.createElement(x.a,{type:se}))}n.d(t,"a",(function(){return L.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(L.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},650:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M22.56 28.885a85.319 85.319 0 018.606-7.899C60.044-2.097 83.903-2.06 116.934 2.153 139.265 5 158.642 18.5 182.13 17.185 205.617 15.871 238.088 7.743 264 9.5c29.5 2 37 5.5 63.227 19.385 24.273 12.85 46.312 35.426 57.388 65.284 18.985 51.177-14.865 143.285-60.259 147.628-32.893 3.148-60.039-33.973-93.239-25.376-20.452 5.297-32.583 27.515-48.362 42.177-18.409 17.107-48.199 16.032-69.755 6.902-20.542-8.699-35.63-25.926-42.338-51.32-5.107-19.338-4.595-38.709-16.86-53.857C36.497 138.947 9.432 134 1.281 94.168c-5.16-25.213 5.942-49.13 21.279-65.283z",fill:"#F3F5F7"}),o=r.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter0_d_149_3117)"},r.createElement("rect",{x:50.837,y:42.913,width:257.906,height:176.087,rx:14.086,fill:"#fff"}),r.createElement("rect",{x:50.139,y:42.214,width:259.302,height:177.484,rx:14.785,stroke:"#CBD0D3",strokeWidth:1.396})),c=r.createElement("rect",{x:65,y:78.486,width:78,height:126.285,rx:5.282,fill:"#EE92DA"}),s=r.createElement("circle",{cx:104.5,cy:139.528,r:11,stroke:"#fff",strokeWidth:3}),l=r.createElement("path",{d:"M112 132.028l-15.5 15.5",stroke:"#fff",strokeWidth:3}),u=r.createElement("path",{d:"M50.837 56.999c0-7.78 6.307-14.086 14.087-14.086h229.733c7.78 0 14.086 6.306 14.086 14.086v7.258H50.837v-7.258z",fill:"#EBEEF0"}),d=r.createElement("rect",{x:61.509,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),g=r.createElement("rect",{x:72.181,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),f=r.createElement("rect",{x:164,y:78.486,width:125.396,height:42.688,rx:5.585,fill:"#EBEEF0"}),m=r.createElement("rect",{x:164,y:129,width:92.49,height:14.229,rx:7.115,fill:"#EBEEF0"}),p=r.createElement("rect",{x:164,y:151,width:108.498,height:5.585,rx:2.793,fill:"#EBEEF0"}),b=r.createElement("rect",{x:164,y:165,width:92.49,height:5.585,rx:2.793,fill:"#EBEEF0"}),v=r.createElement("rect",{x:164,y:179,width:125.396,height:5.585,rx:2.793,fill:"#EBEEF0"}),h=r.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter1_d_149_3117)"},r.createElement("path",{d:"M199 163c0-6.075 4.925-11 11-11h126c6.075 0 11 4.925 11 11v83.038c0 6.076-4.925 11-11 11H210c-6.075 0-11-4.924-11-11V163z",fill:"#fff"}),r.createElement("path",{d:"M199.5 163c0-5.799 4.701-10.5 10.5-10.5h126c5.799 0 10.5 4.701 10.5 10.5v83.038c0 5.799-4.701 10.5-10.5 10.5H210c-5.799 0-10.5-4.701-10.5-10.5V163z",stroke:"#CBD0D3"})),_=r.createElement("rect",{x:224.247,y:192.918,width:96.635,height:5.224,rx:2.612,fill:"#EBEEF0"}),O=r.createElement("rect",{x:246.882,y:222.518,width:53.106,height:22.635,rx:11.318,fill:"#77AD8C"}),E=r.createElement("circle",{cx:273,cy:172.023,r:9.576,fill:"#EBEEF0"}),k=r.createElement("path",{d:"M266.906 233.539l5.003 5.003 9.495-9.495",stroke:"#fff",strokeWidth:3}),y=r.createElement("rect",{x:222.506,y:205.106,width:98.376,height:5.224,rx:2.612,fill:"#EBEEF0"}),S=r.createElement("defs",null,r.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter0_d_149_3117",x:49.441,y:41.516,width:264.699,height:183.88,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:4,dy:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})),r.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter1_d_149_3117",x:199,y:152,width:152,height:110.038,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:4,dy:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})));t.a=function SvgAdBlockingRecoverySetup(e){return r.createElement("svg",a({viewBox:"0 0 390 273",fill:"none"},e),i,o,c,s,l,u,d,g,f,m,p,b,v,h,_,O,E,k,y,S)}},651:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateMessageStep}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(91),s=n(0),l=n(2),u=n(157),d=n(10),g=n(3),f=n(116),m=n(20),p=n(32),b=n(14),v=n(24),h=n(18),_=n(8),O=n(29);function CreateMessageStep(){var t=Object(h.a)(),n=Object(g.useSelect)((function(e){return e(O.m).getAccountID()})),r=Object(g.useSelect)((function(e){return e(O.m).getServiceURL({path:"/".concat(n,"/privacymessaging/ad_blocking")})})),i=Object(g.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),E=Object(u.a)(i,{notification:"ad_blocking_recovery_setup_success"}),k=Object(g.useSelect)((function(e){return e(O.m).isDoingSaveSettings()||e(p.a).isNavigatingTo(E)})),y=Object(g.useSelect)((function(e){return!!e(v.b).getValue(O.c)})),S=Object(g.useSelect)((function(e){return e(O.m).getErrorForAction("saveSettings")})),j=Object(g.useDispatch)(O.m),w=j.saveSettings,N=j.setAdBlockingRecoverySetupStatus,A=Object(g.useDispatch)(p.a).navigateTo,C=Object(g.useDispatch)(v.b).setValue,T=Object(s.useCallback)(o()(a.a.mark((function e(){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y){e.next=5;break}return e.next=3,Object(_.J)("".concat(t,"_adsense-abr"),"create_message","primary_cta");case 3:return C(O.c,!0),e.abrupt("return");case 5:return N(O.k.SETUP_CONFIRMED),e.next=8,w();case 8:if(n=e.sent,n.error){e.next=14;break}return e.next=13,Object(_.J)("".concat(t,"_adsense-abr"),"confirm_message_ready");case 13:A(E);case 14:case"end":return e.stop()}}),e)}))),[y,A,w,N,C,E,t]),x=Object(s.useCallback)(o()(a.a.mark((function e(){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(O.k.SETUP_CONFIRMED),e.next=3,w();case 3:if(n=e.sent,n.error){e.next=9;break}return e.next=8,Object(_.J)("".concat(t,"_adsense-abr"),"confirm_message_ready_secondary_cta");case 8:A(E);case 9:case"end":return e.stop()}}),e)}))),[N,w,A,E,t]);Object(c.a)((function(){Object(_.J)("".concat(t,"_adsense-abr"),"setup_create_message")})),Object(s.useEffect)((function(){y&&Object(_.J)("".concat(t,"_adsense-abr"),"setup_final_step")}),[y,t]);return e.createElement(s.Fragment,null,e.createElement("p",null,Object(l.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(l.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")),S&&e.createElement(f.a,{error:S}),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-actions"},y?e.createElement(s.Fragment,null,e.createElement(d.SpinnerButton,{onClick:T,isSaving:k,disabled:k},Object(l.__)("My message is ready","google-site-kit")),e.createElement(m.a,{onClick:function(){Object(_.J)("".concat(t,"_adsense-abr"),"create_message","secondary_cta")},href:r,external:!0,hideExternalIndicator:!0},Object(l.__)("Create message","google-site-kit"))):e.createElement(s.Fragment,null,e.createElement(d.Button,{href:r,target:"_blank",onClick:T},Object(l.__)("Create message","google-site-kit")),e.createElement(m.a,{onClick:x,disabled:k},Object(l.__)("I published my message","google-site-kit")))),y&&e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-note"},Object(l.__)("Ad blocking recovery only works if you’ve created and published your message in AdSense","google-site-kit"))))}}).call(this,n(4))},652:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceTagsStep}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(91),u=n(0),d=n(38),g=n(2),f=n(10),m=n(3),p=n(116),b=n(20),v=n(14),h=n(18),_=n(8),O=n(29);function PlaceTagsStep(t){var n=t.setActiveStep,r=Object(h.a)(),i=Object(m.useSelect)((function(e){return e(O.m).getUseAdBlockingRecoveryErrorSnippet()})),c=Object(m.useSelect)((function(e){return e(O.m).isDoingSaveSettings()||e(O.m).isFetchingSyncAdBlockingRecoveryTags()})),s=Object(m.useSelect)((function(e){return e(O.m).getErrorForAction("syncAdBlockingRecoveryTags")||e(O.m).getErrorForAction("saveSettings")})),E=Object(m.useSelect)((function(e){return e(v.c).getDocumentationLinkURL("ad-blocking-recovery")})),k=Object(m.useDispatch)(O.m),y=k.saveSettings,S=k.setAdBlockingRecoverySetupStatus,j=k.setUseAdBlockingRecoverySnippet,w=k.setUseAdBlockingRecoveryErrorSnippet,N=k.syncAdBlockingRecoveryTags,A=Object(u.useCallback)((function(e){var t=!!e.target.checked;w(t),Object(_.J)("".concat(r,"_adsense-abr"),t?"check_box":"uncheck_box")}),[w,r]),C=Object(u.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N();case 2:if(t=e.sent,!t.error){e.next=6;break}return e.abrupt("return");case 6:return S(O.k.TAG_PLACED),j(!0),e.next=10,y();case 10:if(i=e.sent,!i.error){e.next=14;break}return e.abrupt("return");case 14:return e.next=16,Object(_.J)("".concat(r,"_adsense-abr"),"setup_enable_tag");case 16:n(O.l.CREATE_MESSAGE);case 17:case"end":return e.stop()}}),e)}))),[y,n,S,j,N,r]);return Object(l.a)((function(){i||w(!0),Object(_.J)("".concat(r,"_adsense-abr"),"setup_place_tag")})),e.createElement(u.Fragment,null,e.createElement("p",null,Object(g.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense.","google-site-kit")),e.createElement(f.Checkbox,{checked:i,id:"ad-blocking-recovery-error-protection-tag-checkbox",name:"ad-blocking-recovery-error-protection-tag-checkbox",value:"1",onChange:A,alignLeft:!0},Object(g.__)("Enable error protection code (optional)","google-site-kit")),e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__error-protection-tag-info"},Object(d.a)(Object(g.__)("If a site visitor’s ad blocker browser extension blocks the message you create in AdSense, a default, non-customizable ad blocking recovery message will display instead. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:E,external:!0})})),s&&e.createElement(p.a,{error:s}),e.createElement(f.SpinnerButton,{onClick:C,isSaving:c,disabled:c},Object(g.__)("Enable message","google-site-kit")))}PlaceTagsStep.propTypes={setActiveStep:s.a.func}}).call(this,n(4))},653:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentAutoUpdate}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(0),s=n(654);function ContentAutoUpdate(t){var n=t.hasBeenInView,r=Object(c.useState)({stage:0,mode:"static"}),i=a()(r,2),o=i[0],l=o.stage,u=o.mode,d=i[1];return Object(c.useEffect)((function(){if(n){var e=setTimeout((function(){d({stage:0,mode:"leave"})}),7e3);return function(){clearTimeout(e)}}}),[n]),e.createElement(s.a,{stage:l,mode:u,onAnimationEnd:function(){"enter"===u?d({stage:l,mode:"leave"}):"leave"===u&&d({stage:2===l?0:l+1,mode:"enter"})}})}ContentAutoUpdate.propTypes={hasBeenInView:o.a.bool.isRequired}}).call(this,n(4))},654:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=n(0),f=n(17),m=n(655),p=n(498),b=Object(g.forwardRef)((function(t,n){var r=t.stage,i=t.mode,c=t.onAnimationEnd,s=[{title:Object(d.__)("Earn money from your site","google-site-kit"),description:Object(d.__)("Focus on writing good content and let AdSense help you make it profitable","google-site-kit")},{title:Object(d.__)("Save time with automated ads","google-site-kit"),description:Object(d.__)("Auto ads automatically place and optimize your ads for you so you don't have to spend time doing it yourself","google-site-kit")},{title:Object(d.__)("You’re in control","google-site-kit"),description:Object(d.__)("Block ads you don't like, customize where ads appear, and choose which types fit your site best","google-site-kit")}],l={smSize:4,mdSize:4,lgSize:6};return e.createElement(g.Fragment,null,e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(p.a,{width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("AdSense","Service name","google-site-kit"))))),e.createElement(f.k,{ref:n},e.createElement(f.a,a()({},l,{smOrder:2,mdOrder:1,className:"googlesitekit-setup-module--adsense__stage-captions"}),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-caption-container"},s.map((function(t,n){var a=t.title,c=t.description;return e.createElement("li",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-caption",o()({},"googlesitekit-setup-module--adsense__stage-caption--current--".concat(i),r===n))},e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-caption-indicator"}),e.createElement("div",null,e.createElement("h4",null,a),e.createElement("p",null,c)))}))),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-indicator"},s.map((function(t,n){return e.createElement("li",{key:n,className:u()(o()({},"googlesitekit-setup-module--adsense__stage-indicator--current--".concat(i),r===n))})})))),e.createElement(f.a,a()({},l,{smOrder:1,mdOrder:2,className:"googlesitekit-setup-module--adsense__stage-images"}),e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-image-container"},s.map((function(t,n){return e.createElement("div",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-image",o()({},"googlesitekit-setup-module--adsense__stage-image--current--".concat(i),r===n)),onAnimationEnd:r===n?c:void 0},e.createElement(m.a,{stage:n}))}))))))}));b.propTypes={stage:s.a.oneOf([0,1,2]),mode:s.a.oneOf(["static","enter","leave"]),onAnimationEnd:s.a.func},t.a=b}).call(this,n(4))},655:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentSVG}));var r=n(1),a=n(0),i=n(2),o=n(40),c=n(139),s=Object(a.lazy)((function(){return n.e(32).then(n.bind(null,1158))})),l=Object(a.lazy)((function(){return n.e(33).then(n.bind(null,1159))})),u=Object(a.lazy)((function(){return n.e(34).then(n.bind(null,1160))}));function LazyContentSVG(t){var n=t.stage,r={0:e.createElement(s,null),1:e.createElement(l,null),2:e.createElement(u,null)};return r[n]?e.createElement(c.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},r[n]):null}function ContentSVG(t){var n=t.stage;return e.createElement(a.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"100%"})},e.createElement(LazyContentSVG,{stage:n}))}ContentSVG.propTypes={stage:r.PropTypes.oneOf([0,1,2]).isRequired}}).call(this,n(4))},656:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return NeedsAttention}));var a=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function NeedsAttention(){var t=Object(a.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(a.useCallback)((function(r){r.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","needs_attention"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site isn’t ready to show ads yet","google-site-kit"),f=Object(i.__)("You need to fix some things with this site before we can connect Site Kit to your AdSense account","google-site-kit"),m={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:g,description:f,primaryButton:m})}}).call(this,n(26),n(4))},657:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return GettingReady}));var a=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function GettingReady(){var t=Object(a.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(a.useCallback)((function(r){r.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","getting_ready"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site is getting ready","google-site-kit"),f=Object(i.__)("This usually takes a few days, but in some cases can take a few weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.","google-site-kit"),m={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:g,description:f,primaryButton:m})}}).call(this,n(26),n(4))},658:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RequiresReview}));var a=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function RequiresReview(){var t=Object(a.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(a.useCallback)((function(r){r.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","requires_review"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site requires review","google-site-kit"),f=Object(i.__)("To start serving ads, your site needs to be approved first. Go to AdSense to request the review.","google-site-kit"),m={label:Object(i.__)("Request review in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:g,description:f,primaryButton:m})}}).call(this,n(26),n(4))},659:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Ready}));var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(0),d=n(2),g=n(3),f=n(63),m=n(8),p=n(29),b=n(24),v=n(350);function Ready(t){var n=t.site,a=t.finishSetup,o=Object(u.useState)(!1),s=l()(o,2),h=s[0],_=s[1],O=Object(u.useContext)(f.b),E=Object(g.useSelect)((function(e){return e(p.m).getExistingTag()})),k=Object(g.useSelect)((function(e){return e(p.m).getServiceAccountSiteAdsPreviewURL()})),y=Object(g.useSelect)((function(e){return e(p.m).isDoingSubmitChanges()})),S=Object(g.useDispatch)(p.m),j=S.completeSiteSetup,w=S.completeAccountSetup,N=Object(g.useDispatch)(b.b).setValue,A=Object(u.useCallback)((function(t){t.preventDefault(),Object(m.J)("".concat(O,"_adsense"),"enable_auto_ads"),e.open(k,"_blank")}),[k,O]),C=Object(u.useCallback)((function(e){e.preventDefault(),Object(m.J)("".concat(O,"_adsense"),"disable_auto_ads"),_(!0)}),[O]),T=Object(u.useCallback)(c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!y){e.next=2;break}return e.abrupt("return");case 2:return N(p.i,!0),e.next=5,j();case 5:return t=e.sent,e.next=8,w();case 8:n=e.sent,N(p.i,!1),t&&n&&"function"==typeof a&&a();case 11:case"end":return e.stop()}}),e)}))),[y,N,j,w,a]),x={};return n.autoAdsEnabled||h?(x.heading=E?Object(d.__)("Your AdSense account is ready to connect to Site Kit","google-site-kit"):Object(d.__)("Your site is ready to use AdSense","google-site-kit"),x.description=E?Object(d.__)("Connect your AdSense account to see stats on your overall earnings, page CTR, and top earning pages","google-site-kit"):Object(d.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads","google-site-kit"),x.primaryButton={label:Object(d.__)("Complete setup","google-site-kit"),onClick:T}):(x.heading=Object(d.__)("Enable auto ads for your site","google-site-kit"),x.description=Object(d.__)("To start serving ads via Site Kit, you need to activate auto ads first. Go to AdSense and enable auto ads for your site.","google-site-kit"),x.primaryButton={label:Object(d.__)("Enable auto ads","google-site-kit"),href:k,onClick:A},E&&(x.description=Object(d.__)("Site Kit recommends enabling auto ads. If your existing AdSense setup relies on individual ad units, you can proceed without enabling auto ads.","google-site-kit"),x.secondaryButton={label:Object(d.__)("Proceed without enabling auto ads","google-site-kit"),onClick:C})),r.createElement(v.a,x)}}).call(this,n(26),n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,a=t.noPrefix;if(!n)return null;var s=n;void 0!==a&&a||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(i.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:a.a.string.isRequired,reconnectURL:a.a.string,noPrefix:a.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return _}));var r=n(7),a=n.n(r),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return i.createElement("svg",l({viewBox:"0 0 2 11"},e),u)},f=n(182),m=n(92),p="warning",b="info",v="suggestion",h=(d={},a()(d,b,s),a()(d,p,f.a),a()(d,v,g),d),_=function(e){return h[e]||m.a}},71:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",a({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",a="mainDashboardTraffic",i="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",s="entityDashboardTraffic",l="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:a,CONTEXT_MAIN_DASHBOARD_CONTENT:i,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:s,CONTEXT_ENTITY_DASHBOARD_CONTENT:l,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(271),o=n(1),c=n.n(o),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return T})),n.d(t,"x",(function(){return x})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return L})),n.d(t,"t",(function(){return D})),n.d(t,"w",(function(){return M})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return B.b})),n.d(t,"r",(function(){return B.a})),n.d(t,"B",(function(){return B.c})),n.d(t,"y",(function(){return z})),n.d(t,"v",(function(){return H})),n.d(t,"F",(function(){return U})),n.d(t,"E",(function(){return W.a})),n.d(t,"h",(function(){return G})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[g,f,m];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),_=n.n(h),O=n(11),E=n.n(O),k=n(2),y="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,w=60*j,N=24*w,A=7*N,C=30*N;function T(){var e=function(e){return Object(k.sprintf)( /* translators: %s: number of days */ Object(k._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 x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function R(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function L(e){E()(x(e),y);var t=e.split("-"),n=_()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function D(e,t){return R(I(e,t*N))}function M(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){E()(x(e)||Object(r.isDate)(e)&&!isNaN(e),y);var n=x(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),B=n(83);function z(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function H(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var F=n(27),V=n.n(F),U=function(e){return Array.isArray(e)?V()(e).sort():e},W=n(88);function G(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return A}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),s=n.n(c),l=n(23),u=n.n(l),d=n(13),g=n(57),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=_(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},_=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,b(b({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?w(i,b(b({},o),{},{unit:"second"})):"",a?w(a,b(b({},o),{},{unit:"minute"})):"",r?w(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),a),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},k=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(E(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(E(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(E(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function y(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=y(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?k(e):"duration"===a?v(e,n):"durationISO"===a?h(e):w(e,n)}var j=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(i);d<g.length;d++){var f=a()(g[d],2),m=f[0],p=f[1];c[m]&&p===c[m]||(s.includes(m)||(l[m]=p))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(m.__)(", ","google-site-kit");return e.join(l)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},85:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,a=t.headerContent,i=t.description,l=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||a)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),a),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:l,onClick:m},u),u&&"link"===g&&e.createElement(s.a,{href:l,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:a.a.string.isRequired,headerText:a.a.string,description:a.a.oneOfType([a.a.string,a.a.node]),ctaLink:a.a.string,ctaLinkExternal:a.a.bool,ctaLabel:a.a.string,ctaType:a.a.string,"aria-label":a.a.string,error:a.a.bool,onClick:a.a.func,children:a.a.node,headerContent:a.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),a=n(121);function i(t,n){var r=document.querySelector(t);if(!r)return 0;var a=r.getBoundingClientRect().top,i=o(n);return a+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(a.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return _})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"e",(function(){return k})),n.d(t,"r",(function(){return y})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",a="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",_="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",E="dashboardAllTrafficWidgetLoaded",k={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},y={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,i=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:n},u,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":l})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},u),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(a,n),d=Object(c.a)(a,n,s,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(i.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1211,1,0]]]); dist/assets/js/googlesitekit-adminbar-2aa4217dc92c2c92519c.js 0000604 00000376564 14717744000 0017242 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var i=Object(l.a)(t);return function(){var t=s()(a.a.mark((function t(o,c,s,l){var u;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(a),e()};i("event",c,d(d({},u),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var a=n(124);n.d(t,"c",(function(){return a.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},1041:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarApp}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(3),u=n(20),d=n(17),g=n(14),f=n(6),p=n(8),m=n(1042),b=n(18);function AdminBarApp(){var t=Object(b.a)(),n=Object(l.useSelect)((function(e){return e(g.c).getCurrentEntityURL()})),r=Object(l.useSelect)((function(e){return e(g.c).getCurrentEntityTitle()})),i=Object(l.useSelect)((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard",{permaLink:n})})),v=Object(l.useSelect)((function(e){return e(f.a).getDateRangeNumberOfDays()})),h=Object(c.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.J)(t,"open_urldetails");case 2:document.location.assign(i);case 3:case"end":return e.stop()}}),e)}))),[i,t]);return i&&n?e.createElement(c.Fragment,null,e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{alignMiddle:!0,size:3},e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(s.__)("Stats for","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__title"},r?Object(p.m)(r):n,e.createElement("p",{className:"googlesitekit-adminbar__title--date-range"},Object(s.sprintf)( /* translators: %s: number of days */ Object(s._n)("over the last %s day","over the last %s days",v,"google-site-kit"),v)))),e.createElement(d.a,{alignMiddle:!0,mdSize:8,lgSize:7},e.createElement(m.a,null)),e.createElement(d.a,{alignMiddle:!0,size:2},e.createElement(u.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:h},Object(s.__)("More details","google-site-kit"))))),e.createElement(u.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:h},Object(s.__)("More details","google-site-kit"))):null}}).call(this,n(4))},1042:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarWidgets}));var r=n(0),a=n(3),i=n(1043),o=n(1044),c=n(1045),s=n(1046),l=n(1047),u=n(19),d=n(6),g=n(17),f=n(207),p=Object(f.c)("adminBarImpressions")(i.a),m=Object(f.c)("adminBarClicks")(o.a),b=Object(f.c)("adminBarUniqueVisitors")(c.a),v=Object(f.c)("adminBarSessions")(s.a);function AdminBarWidgets(){var t=Object(a.useSelect)((function(e){return e(u.a).isModuleAvailable("analytics-4")})),n=Object(a.useSelect)((function(e){return e(u.a).isModuleConnected("analytics-4")})),i=Object(a.useSelect)((function(e){return e(u.a).isModuleActive("analytics-4")})),o=Object(a.useSelect)((function(e){return e(d.a).hasAccessToShareableModule("analytics-4")})),c=Object(a.useSelect)((function(e){return e(d.a).hasAccessToShareableModule("search-console")})),s=o?{lg:3,md:2}:{lg:6,md:4},f=c?{lg:3,md:2}:{lg:6,md:4};return e.createElement(r.Fragment,null,e.createElement(g.k,null,c&&e.createElement(r.Fragment,null,e.createElement(g.a,{lgSize:s.lg,mdSize:s.md},e.createElement(p,null)),e.createElement(g.a,{lgSize:s.lg,mdSize:s.md},e.createElement(m,null))),n&&i&&o&&e.createElement(r.Fragment,null,e.createElement(r.Fragment,null,e.createElement(g.a,{lgSize:f.lg,mdSize:f.md},e.createElement(b,null)),e.createElement(g.a,{lgSize:f.lg,mdSize:f.md},e.createElement(v,null)))),t&&(!n||!i)&&e.createElement(g.a,{lgSize:6,mdSize:4},e.createElement(l.a,null))))}}).call(this,n(4))},1043:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(2),o=n(3),c=n(214),s=n(40),l=n(112),u=n(6),d=n(14),g=n(64),f=n(8),p=n(398),m=n(88);t.a=function AdminBarImpressions(t){var n=t.WidgetReportError,r=Object(o.useSelect)((function(e){return e(g.b).isGatheringData()})),b=Object(o.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),v=Object(o.useSelect)((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:g.a})})),h=v.compareStartDate,O=v.endDate,y=Object(o.useSelect)((function(e){return e(u.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:O,dimensions:"date",url:b},E=Object(o.useSelect)((function(e){return e(g.b).getReport(k)})),j=Object(o.useSelect)((function(e){return e(g.b).hasFinishedResolution("getReport",[k])})),_=Object(o.useSelect)((function(e){return e(g.b).getErrorForSelector("getReport",[k])}));if(!j||void 0===r)return e.createElement(s.a,{width:"auto",height:"59px"});if(_)return e.createElement(n,{moduleSlug:"search-console",error:_});var S=Object(m.a)(E,{dateRangeLength:y}),w=S.compareRange,N=S.currentRange,D=Object(p.a)(N,"impressions"),T=Object(p.a)(w,"impressions"),R=Object(f.h)(T,D),C={gatheringData:r,gatheringDataNoticeStyle:l.a.SMALL};return e.createElement(c.a,a()({className:"overview-total-impressions",title:Object(i.__)("Total Impressions","google-site-kit"),datapoint:D,change:R,changeDataUnit:"%"},C))}}).call(this,n(4))},1044:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(2),o=n(3),c=n(6),s=n(14),l=n(64),u=n(8),d=n(40),g=n(214),f=n(112),p=n(398),m=n(88);t.a=function AdminBarClicks(t){var n=t.WidgetReportError,r=Object(o.useSelect)((function(e){return e(l.b).isGatheringData()})),b=Object(o.useSelect)((function(e){return e(s.c).getCurrentEntityURL()})),v=Object(o.useSelect)((function(e){return e(c.a).getDateRangeDates({compare:!0,offsetDays:l.a})})),h=v.compareStartDate,O=v.endDate,y=Object(o.useSelect)((function(e){return e(c.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:O,dimensions:"date",url:b},E=Object(o.useSelect)((function(e){return e(l.b).getReport(k)})),j=Object(o.useSelect)((function(e){return e(l.b).hasFinishedResolution("getReport",[k])})),_=Object(o.useSelect)((function(e){return e(l.b).getErrorForSelector("getReport",[k])}));if(!j||void 0===r)return e.createElement(d.a,{width:"auto",height:"59px"});if(_)return e.createElement(n,{moduleSlug:"search-console",error:_});var S=Object(m.a)(E,{dateRangeLength:y}),w=S.compareRange,N=S.currentRange,D=Object(p.a)(N,"clicks"),T=Object(p.a)(w,"clicks"),R=Object(u.h)(T,D),C={gatheringData:r,gatheringDataNoticeStyle:f.a.SMALL};return e.createElement(g.a,a()({className:"overview-total-clicks",title:Object(i.__)("Total Clicks","google-site-kit"),datapoint:D,change:R,changeDataUnit:"%"},C))}}).call(this,n(4))},1045:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(2),s=n(214),l=n(3),u=n(40),d=n(112),g=n(6),f=n(14),p=n(8),m=n(9);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function AdminBarUniqueVisitorsGA4(t){var n,r,i,o,b,h,O,y,k=t.WidgetReportError,E=Object(l.useSelect)((function(e){return e(m.p).isGatheringData()})),j=Object(l.useSelect)((function(e){return e(f.c).getCurrentEntityURL()})),_=v(v({},Object(l.useSelect)((function(e){return e(g.a).getDateRangeDates({compare:!0,offsetDays:m.f})}))),{},{metrics:[{name:"totalUsers"}],url:j}),S=Object(l.useSelect)((function(e){return e(m.p).getReport(_)})),w=Object(l.useSelect)((function(e){return e(m.p).hasFinishedResolution("getReport",[_])})),N=Object(l.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[_])}));if(!w||void 0===E)return e.createElement(u.a,{width:"auto",height:"59px"});if(N)return e.createElement(k,{moduleSlug:"analytics-4",error:N});var D=null==S||null===(n=S.totals)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.value,T=null==S||null===(b=S.totals)||void 0===b||null===(h=b[1])||void 0===h||null===(O=h.metricValues)||void 0===O||null===(y=O[0])||void 0===y?void 0:y.value,R={gatheringData:E,gatheringDataNoticeStyle:d.a.SMALL};return e.createElement(s.a,a()({className:"overview-total-users",title:Object(c.__)("Total Users","google-site-kit"),datapoint:D,change:Object(p.h)(T,D),changeDataUnit:"%"},R))}}).call(this,n(4))},1046:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(2),s=n(3),l=n(214),u=n(40),d=n(112),g=n(6),f=n(14),p=n(8),m=n(9);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function AdminBarSessionsGA4(t){var n,r,i,o,b,h,O=t.WidgetReportError,y=Object(s.useSelect)((function(e){return e(m.p).isGatheringData()})),k=Object(s.useSelect)((function(e){return e(f.c).getCurrentEntityURL()})),E=v(v({},Object(s.useSelect)((function(e){return e(g.a).getDateRangeDates({compare:!0,offsetDays:m.f})}))),{},{dimensions:[{name:"date"}],limit:10,metrics:[{name:"sessions"}],url:k}),j=Object(s.useSelect)((function(e){return e(m.p).getReport(E)})),_=Object(s.useSelect)((function(e){return e(m.p).hasFinishedResolution("getReport",[E])})),S=Object(s.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[E])})),w={gatheringData:y,gatheringDataNoticeStyle:d.a.SMALL};if(!_||void 0===y)return e.createElement(u.a,{width:"auto",height:"59px"});if(S)return e.createElement(O,{moduleSlug:"analytics-4",error:S});var N=j.totals,D=null==N||null===(n=N[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value,T=null==N||null===(o=N[1])||void 0===o||null===(b=o.metricValues)||void 0===b||null===(h=b[0])||void 0===h?void 0:h.value,R=D,C=Object(p.h)(T,D);return e.createElement(l.a,a()({className:"overview-total-sessions",title:Object(c.__)("Total Sessions","google-site-kit"),datapoint:R,change:C,changeDataUnit:"%"},w))}}).call(this,n(4))},1047:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarActivateAnalyticsCTA}));var r=n(2),a=n(673),i=n(670),o=n(561),c=n(396);function AdminBarActivateAnalyticsCTA(){return e.createElement(o.a,null,e.createElement(c.a,{title:Object(r.__)("Traffic","google-site-kit"),GraphSVG:a.a,showIcons:!1}),e.createElement(c.a,{title:Object(r.__)("Unique visitors from Search","google-site-kit"),GraphSVG:i.a}))}}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return TourTooltips}));var a=n(7),i=n.n(a),o=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),d=n(3),g=n(24),f=n(6),p=n(36),m=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},O={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},y={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},k="feature_tooltip_view",E="feature_tooltip_advance",j="feature_tooltip_return",_="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,a=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(a,"-step"),w="".concat(a,"-run"),N=Object(d.useDispatch)(g.b).setValue,D=Object(d.useDispatch)(f.a).dismissTour,T=Object(d.useRegistry)(),R=Object(b.a)(),C=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),P=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(a)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),N(w,!0)}));var L=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,a=e.size,i=e.status,o=e.type,l=t+1,u="function"==typeof s?s(R):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,k,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,_,l):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&a===l&&Object(p.b)(u,S,l),r===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,j,l),n===c.a.NEXT&&Object(p.b)(u,E,l))}(t);var n=t.action,r=t.index,i=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(i),b=g&&d===c.b.STEP_AFTER,v=m||b;if(c.b.STEP_BEFORE===d){var h,O,y=o.target;"string"==typeof o.target&&(y=e.document.querySelector(o.target)),null===(h=y)||void 0===h||null===(O=h.scrollIntoView)||void 0===O||O.call(h,{block:"center"})}f?function(e,t){N(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),D(a)),l&&l(t,T)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:y,locale:O,run:P,showProgress:!0,stepIndex:C,steps:L,styles:h,tooltipComponent:m.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},112:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,a=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=i(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),a&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var a=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},114:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(200),s=n(38),l=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,a=t.dialogActive,i=void 0!==a&&a,g=t.handleDialog,f=void 0===g?null:g,p=t.onOpen,m=void 0===p?null:p,b=t.onClose,v=void 0===b?null:b,h=t.title,O=void 0===h?null:h,y=t.provides,k=t.handleConfirm,E=t.subtitle,j=t.confirmButton,_=void 0===j?null:j,S=t.dependentModules,w=t.danger,N=void 0!==w&&w,D=t.inProgress,T=void 0!==D&&D,R=t.small,C=void 0!==R&&R,P=t.medium,L=void 0!==P&&P,x=t.buttonLink,A=void 0===x?null:x,I=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(I),B=!(!y||!y.length);return e.createElement(u.Dialog,{open:i,onOpen:m,onClose:v,"aria-describedby":B?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":C,"googlesitekit-dialog-md":L})},e.createElement(u.DialogTitle,null,N&&e.createElement(d.a,{width:28,height:28}),O),E?e.createElement("p",{className:"mdc-dialog__lead"},E):[],e.createElement(u.DialogContent,null,B&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},y.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(l.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(l.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:T},Object(l.__)("Cancel","google-site-kit")),A?e.createElement(u.Button,{href:A,onClick:k,target:"_blank",danger:N},_):e.createElement(u.SpinnerButton,{onClick:k,danger:N,disabled:T,isSaving:T},_||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:a.a.string,dialogActive:a.a.bool,handleDialog:a.a.func,handleConfirm:a.a.func.isRequired,onOpen:a.a.func,onClose:a.a.func,title:a.a.string,confirmButton:a.a.string,danger:a.a.bool,small:a.a.bool,medium:a.a.bool,buttonLink:a.a.string},t.a=ModalDialog}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),g=n(14),f=n(19),p=n(34),m=n(35),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,a=t.GetHelpLink,i=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,O=t.onRequestAccess,y=t.getHelpClassName,k=t.RequestAccessButton,E=t.RetryButton,j=Object(m.a)(),_=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(_))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(_).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],N=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(_))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:r})}))})),D=null==N?void 0:N.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),T=!!D.length,R=Object(u.useSelect)((function(e){var t=h({},T?D[0]:w[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),C=Object(u.useDispatch)(),P=w.some((function(e){return Object(p.e)(e)})),L=Object(c.useCallback)((function(){D.forEach((function(e){var t=e.selectorData;C(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[C,D,v]),x=S&&P&&!j;return e.createElement("div",{className:"googlesitekit-report-error-actions"},x&&("function"==typeof k?e.createElement(k,{requestAccessURL:S}):e.createElement(d.Button,{onClick:O,href:S,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Request access","google-site-kit"))),T&&e.createElement(c.Fragment,null,"function"==typeof E?e.createElement(E,{handleRetry:L}):e.createElement(d.Button,{onClick:L,danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Retry","google-site-kit")),!i&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:R,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!T&&!i&&e.createElement("div",{className:y},"function"==typeof a?e.createElement(a,{linkURL:R}):e.createElement(b.a,{href:R,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(3),i=n(46);function o(e,t,n){var o=Object(a.useDispatch)(i.a),c=o.setWidgetState,s=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){s(e,t,n)}}),[e,t,n,c,s])}},119:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),a=function(e){return Object(r.isFinite)(e)?e:0}},1222:function(e,t,n){"use strict";n.r(t),function(e){var t=n(13),r=n(335),a=n(137),i=n(8),o=n(235),c=n(1041),s=n(22),l=Object(t.once)((function(){var t=document.getElementById("js-googlesitekit-adminbar-modules");if(t){var n=t.dataset.viewOnly?s.j:s.i;Object(a.render)(e.createElement(o.a,{viewContext:n},e.createElement(c.a,null)),t),Object(i.J)(n,"view_urlsummary")}}));Object(r.a)((function(){var e=document.getElementById("wp-admin-bar-google-site-kit");e&&(e.addEventListener("mouseover",l,{once:!0}),e.addEventListener("focusin",l,{once:!0}))}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,i=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,O=t.mdSize,y=t.mdStart,k=t.mdOrder,E=t.lgSize,j=t.lgStart,_=t.lgOrder,S=t.size,w=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},N,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--start-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--order-".concat(k,"-tablet"),8>=k&&k>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),i)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":i})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),a=n.n(r),i=n(166),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,p=t.step,m=t.tooltipProps,b=u>1?Object(g.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",a()({className:s()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,l.title&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,a()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),g=n.n(d),f=n(41),p=n(8),m=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:i})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(19),s=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var a=1===r.length?Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(i.sprintf)( /* translators: %s: List of module names */ Object(i.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(i._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(s.a,{title:Object(i.__)("Data Unavailable","google-site-kit"),description:a})}RecoverableModules.propTypes={moduleSlugs:a.a.arrayOf(a.a.string).isRequired}}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},141:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(13),s=n(0),l=n(2),u=n(3),d=n(19),g=n(34),f=n(150),p=n(81),m=n(67),b=n(85),v=n(117),h=n(35);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,a=t.error,i=Object(h.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),O=Array.isArray(a)?a:[a],k=function(e){return Object(g.e)(e)?i?(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(f.a)(e.message,o)):Object(g.b)(e)},E=Object(c.uniqWith)(O.map((function(e){var t;return y(y({},e),{},{message:k(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),j=O.some((function(e){return Object(g.e)(e)}));j||1!==E.length?!j&&E.length>1&&(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var _=e.createElement(s.Fragment,null,E.map((function(t){var n,r=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(m.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},p.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(b.a,{title:n,description:_,error:!0},e.createElement(v.a,{moduleSlug:r,error:a}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},142:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(19),s=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(s.a,{title:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:a.a.string.isRequired}}).call(this,n(4))},143:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",a({viewBox:"0 0 43 44"},e),i)}},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},a=n.slug,i=void 0===a?"":a,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},154:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)(!1);t.a=a},158:function(e,t,n){"use strict";var r=n(0),a=n(44),i=Object(r.createContext)(a.a);t.a=i},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),a=n(13),i=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),a=n.n(r),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:a.a.string,componentStack:a.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),a=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var a=n(309);n.d(t,"f",(function(){return a.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(6),d=n(19),g=n(32),f=n(36),p=n(18);function m(e){var t=Object(p.a)(),n=Object(s.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(s.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),i=Object(s.useDispatch)(d.a).activateModule,m=Object(s.useDispatch)(g.a).navigateTo,b=Object(s.useDispatch)(l.c).setInternalServerError,v=Object(c.useCallback)(o()(a.a.mark((function n(){var r,o,c;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:m(c.moduleReauthURL),n.next=12;break;case 11:b({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[i,e,m,b,t]);return(null==n?void 0:n.name)&&r?v:null}},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,i=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,a()({width:r,height:r},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},188:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",a({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(186),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(254),g=n(412),f=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,i=Object(l.useState)(!1),c=a()(i,2),s=c[0],m=c[1];return e.createElement(p.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),m(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?g.a:f.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var a=n(91),i=n(0),o=n(3),c=n(6),s=n(18),l=n(106);function FeatureTours(){var t=Object(s.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(a.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(l.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),s=n(17),l=Object(c.forwardRef)((function(t,n){var r=t.id,a=t.className,i=t.children,l=t.secondaryPane;return e.createElement("section",{id:r,className:o()(a,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,i)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:a.a.string,className:a.a.string,secondaryPane:a.a.node},t.a=l}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(l.a,{label:r})),i&&e.createElement("div",{className:s()(a()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(221),g=n(0),f=n(3),p=n(10),m=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,b=t.dismissCallback,v=Object(g.useState)(!1),h=s()(v,2),O=h[0],y=h[1],k=Object(d.a)(),E=Object(f.useSelect)((function(e){return!!n&&e(m.a).isNavigatingTo(n)})),j=function(){var e=o()(a.a.mark((function e(){var t,n,r,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(y(!0),t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:k()&&y(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:j,disabled:O||E,isSaving:O||E},r),u&&e.createElement(p.Button,{tertiary:n||i,onClick:b,disabled:O||E},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(118),s=n(92);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,s.a,u),e.createElement(s.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(140),g=n(0),f=n(2),p=n(126),m=n(127),b=n(128),v=n(80),h=n(77),O=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,O=t.back,y=void 0!==O&&O,k=t.caps,E=void 0!==k&&k,j=t.children,_=t.className,S=void 0===_?"":_,w=t.danger,N=void 0!==w&&w,D=t.disabled,T=void 0!==D&&D,R=t.external,C=void 0!==R&&R,P=t.hideExternalIndicator,L=void 0!==P&&P,x=t.href,A=void 0===x?"":x,I=t.inverse,M=void 0!==I&&I,B=t.noFlex,F=void 0!==B&&B,W=t.onClick,z=t.small,V=void 0!==z&&z,U=t.standalone,G=void 0!==U&&U,H=t.linkButton,q=void 0!==H&&H,K=t.to,X=t.leadingIcon,J=t.trailingIcon,$=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Y=A||K||!W?K?"ROUTER_LINK":C?"EXTERNAL_LINK":"LINK":T?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===Y||"BUTTON_DISABLED"===Y?"button":"ROUTER_LINK"===Y?d.b:"a",Q=("EXTERNAL_LINK"===Y&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Y&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof j?"".concat(j," ").concat(r):void 0:i),ee=X,te=J;return y&&(ee=e.createElement(b.a,{width:14,height:14})),C&&!L&&(te=e.createElement(v.a,{width:14,height:14})),g&&!M&&(te=e.createElement(p.a,{width:14,height:14})),g&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Z,a()({"aria-label":Q,className:s()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":V,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":T,"googlesitekit-cta-link--standalone":G,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!F}),disabled:T,href:"LINK"!==Y&&"EXTERNAL_LINK"!==Y||T?void 0:A,onClick:W,rel:"EXTERNAL_LINK"===Y?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Y?"_blank":void 0,to:K},$),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},j),!!te&&e.createElement(h.a,{marginLeft:5},te))}));O.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=O}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),a=n.n(r),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:a.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),a=n.n(r),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:a.a.string,moduleName:a.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),a=n.n(r),i=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,a=t.learnMoreURL,l=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:a,external:l===s.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:a.a.node,learnMoreURL:a.a.string,learnMoreDescription:a.a.string,learnMoreLabel:a.a.string,learnMoreTarget:a.a.oneOf(Object.values(s.a)),onLearnMoreClick:a.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),a=(r.a.Consumer,r.a.Provider);t.a=a},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(21),a=n.n(r),i=n(57),o=n.n(i),c=n(229),s=n(258),l=n(259),u=n(199),d=n(230),g=n(260),f=n(0),p=o()((function(e){return{widgetSlug:e,Widget:m(e)(c.a),WidgetRecoverableModules:m(e)(d.a),WidgetReportZero:m(e)(s.a),WidgetReportError:m(e)(l.a),WidgetNull:m(e)(u.a)}}));function m(t){return function(n){var r=Object(f.forwardRef)((function(r,i){return e.createElement(n,a()({},r,{ref:i,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var b=function(t){var n=p(t);return function(t){function DecoratedComponent(r){return e.createElement(t,a()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,a()({},r,{WPDashboardReportError:m(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},214:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),s=n(112),l=n(8),u=n(384),d=n(93),g=n(385),f=n(134);function DataBlock(t){var n=t.stat,r=void 0===n?null:n,a=t.className,i=void 0===a?"":a,p=t.title,m=void 0===p?"":p,b=t.datapoint,v=void 0===b?null:b,h=t.datapointUnit,O=void 0===h?"":h,y=t.change,k=void 0===y?null:y,E=t.changeDataUnit,j=void 0===E?"":E,_=t.context,S=void 0===_?"default":_,w=t.period,N=void 0===w?"":w,D=t.selected,T=void 0!==D&&D,R=t.source,C=t.sparkline,P=t.handleStatSelection,L=void 0===P?null:P,x=t.invertChangeColor,A=void 0!==x&&x,I=t.gatheringData,M=void 0!==I&&I,B=t.gatheringDataNoticeStyle,F=void 0===B?s.a.DEFAULT:B,W=t.badge,z=Object(c.useCallback)((function(){!M&&L&&L(r)}),[M,L,r]),V=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),z())}),[z]),U=void 0===v?v:Object(l.C)(v,O),G="button"===S,H=G?"button":"";return e.createElement("div",{className:o()("googlesitekit-data-block",i,"googlesitekit-data-block--".concat(S),{"googlesitekit-data-block--selected":T,"googlesitekit-data-block--is-gathering-data":M}),tabIndex:G&&!M?"0":"-1",role:L&&H,onClick:z,onKeyDown:V,"aria-disabled":M||void 0,"aria-label":L&&m,"aria-pressed":L&&T},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===W?e.createElement(d.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):W,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},m)),!M&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},U)),!M&&C&&e.createElement(u.a,{sparkline:C,invertChangeColor:A}),!M&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(g.a,{change:k,changeDataUnit:j,period:N,invertChangeColor:A}),R&&e.createElement(f.a,{className:"googlesitekit-data-block__source",name:R.name,href:R.link,external:null==R?void 0:R.external})),M&&e.createElement(s.b,{style:F}))}DataBlock.propTypes={stat:a.a.number,className:a.a.string,title:a.a.string,datapoint:a.a.oneOfType([a.a.string,a.a.number]),datapointUnit:a.a.string,change:a.a.oneOfType([a.a.string,a.a.number]),changeDataUnit:a.a.oneOfType([a.a.string,a.a.bool]),context:a.a.string,period:a.a.string,selected:a.a.bool,handleStatSelection:a.a.func,invertChangeColor:a.a.bool,gatheringData:a.a.bool,gatheringDataNoticeStyle:a.a.oneOf(Object.values(s.a)),badge:a.a.oneOfType([a.a.bool,a.a.node])},t.a=DataBlock}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return a})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return k})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return j}));var r="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",O="content",y="speed",k="monetization",E=[r,a,i,o,c,l,g,b],j=[i,o,d,m]},229:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(0),s=Object(c.forwardRef)((function(t,n){var r=t.children,i=t.className,o=t.widgetSlug,c=t.noPadding,s=t.Header,l=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":s},i),ref:n},s&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(s,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))}));s.defaultProps={children:void 0,noPadding:!1},s.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=s}).call(this,n(4))},230:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),a=n.n(r),i=n(21),o=n.n(i),c=n(27),s=n.n(c),l=n(23),u=n.n(l),d=n(1),g=n.n(d),f=n(0),p=n(118),m=n(136);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(f.useMemo)((function(){return{moduleSlug:s()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(p.a)(n,m.a,i),e.createElement(m.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},m.a.propTypes)}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(505),s=n(536),l=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),p=n(44),m=n(238),b=n(240),v=n(241),h=n(63),O=n(204),y=n(169);function Root(t){var n=t.children,r=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,k=Object(l.useState)({key:"Root",value:!0}),E=a()(k,1)[0];return e.createElement(l.StrictMode,null,e.createElement(O.a,{value:E},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:p.a},e.createElement(h.a,{value:o},e.createElement(s.a,{theme:d()},e.createElement(g.a,null,e.createElement(b.a,null,n,o&&e.createElement(v.a,null)),Object(y.a)(o)&&e.createElement(m.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),g=n(49),f=n.n(g),p=n(1),m=n.n(p),b=n(0),v=n(2),h=n(168),O=n(63),y=n(65),k=n(8);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var j=function(t){l()(ErrorHandler,t);var n=E(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(k.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement(y.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(h.a,{message:n.message,componentStack:a.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,a.componentStack)):e}}]),ErrorHandler}(b.Component);j.contextType=O.b,j.propTypes={children:m.a.node.isRequired},t.a=j}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),a=(r.a.Consumer,r.a.Provider);t.a=a},238:function(e,t,n){"use strict";(function(e){var r=n(3),a=n(239),i=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),s=n(2),l=n(0),u=n(3),d=n(114),g=n(28),f=n(32),p=n(6),m=n(133),b=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,a,o,v=Object(u.useRegistry)(),h=Object(u.useSelect)((function(e){return e(p.a).getPermissionScopeError()})),O=Object(u.useSelect)((function(e){return e(p.a).getUnsatisfiedScopes()})),y=Object(u.useSelect)((function(t){var n,r,a;return t(p.a).getConnectURL({additionalScopes:null==h||null===(n=h.data)||void 0===n?void 0:n.scopes,redirectURL:(null==h||null===(r=h.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==h||null===(a=h.data)||void 0===a?void 0:a.errorRedirectURL})})),k=Object(u.useDispatch)(p.a).clearPermissionScopeError,E=Object(u.useDispatch)(f.a).navigateTo,j=Object(u.useDispatch)(g.a).setValues,_=Object(l.useCallback)((function(){k()}),[k]),S=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(p.d,{permissionsError:h}),e.next=3,Object(m.c)(v);case 3:E(y);case 4:case"end":return e.stop()}}),e)}))),[v,y,E,h,j]);return Object(l.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==h||null===(t=h.data)||void 0===t?void 0:t.skipModal)||!(null==h||null===(n=h.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,h]),h?(null==h||null===(t=h.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==h||null===(a=h.data)||void 0===a?void 0:a.skipModal)||O&&(null==h||null===(o=h.data)||void 0===o?void 0:o.scopes.every((function(e){return O.includes(e)})))?null:r.createElement(b.a,null,r.createElement(d.a,{title:Object(s.__)("Additional Permissions Required","google-site-kit"),subtitle:h.message,confirmButton:Object(s.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:_,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",h),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(l.useState)(!1),i=s()(r,2),c=i[0],g=i[1];return Object(l.useEffect)((function(){c||o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),a=n.n(r),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},258:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),a=n.n(r),i=n(21),o=n.n(i),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=n(118),f=n(142);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=s()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(g.a)(n,f.a,i),e.createElement(f.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},259:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(l.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:s.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},260:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),a=n.n(r),i=n(520),o=n(200),c=n(3),s=n(24),l=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,a=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(s.b).setValue,d=r.message,g=Object(c.useSelect)((function(e){return e(s.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(i.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),a)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==a?null:e.createElement(l.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),a="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===a}function s(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),a=n(18);function i(){var e=Object(a.a)();return r.g.includes(e)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,O=p.trackEventOnce;function y(e){e?m():b()}c&&s&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},379:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(3),i=n(6),o=n(19),c=n(32);function s(e){var t=Object(a.useSelect)((function(e){return e(i.a).hasCapability(i.K)})),n=Object(a.useSelect)((function(t){return t(o.a).getModuleStoreName(e)})),s=Object(a.useSelect)((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),l=Object(a.useDispatch)(c.a).navigateTo,u=Object(r.useCallback)((function(){return l(s)}),[s,l]);return s&&t?u:null}},384:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(0);function Sparkline(t){var n=t.sparkline,r=t.invertChangeColor,a=n;return a&&r&&(a=Object(i.cloneElement)(n,{invertChangeColor:r})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},a)}Sparkline.propTypes={sparkline:a.a.element,invertChangeColor:a.a.bool},t.a=Sparkline}).call(this,n(4))},385:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(2),s=n(8),l=n(86);function Change(t){var n=t.change,r=t.changeDataUnit,a=t.period,i=t.invertChangeColor,u=n;return r&&(u="%"===r?Object(s.C)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(s.C)(n,r)),a&&(u=Object(c.sprintf)(a,u)),e.createElement("div",{className:o()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(l.a,{direction:0<parseFloat(n)?"up":"down",invertColor:i})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))}Change.propTypes={change:a.a.oneOfType([a.a.string,a.a.number]),changeDataUnit:a.a.oneOfType([a.a.string,a.a.bool]),period:a.a.string,invertChangeColor:a.a.bool},t.a=Change}).call(this,n(4))},396:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PreviewGraph}));var r=n(1),a=n.n(r),i=n(562);function PreviewGraph(t){var n=t.title,r=t.GraphSVG,a=t.showIcons;return e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph"},e.createElement("h3",{className:"googlesitekit-analytics-cta__preview-graph--title"},n),e.createElement("div",null,e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph--icons"},e.createElement(i.a,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),e.createElement("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})))}PreviewGraph.propTypes={title:a.a.string.isRequired,GraphSVG:a.a.elementType.isRequired,showIcons:a.a.bool},PreviewGraph.defaultProps={showIcons:!0}}).call(this,n(4))},398:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13);function a(e,t){return Object(r.sumBy)(e,t)||0}},40:function(e,t,n){"use strict";(function(e){var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,r,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),O={width:(n={},a()(n,l.b,g),a()(n,l.c,p),a()(n,l.a,b),a()(n,l.d,b),n),height:(r={},a()(r,l.b,f),a()(r,l.c,m),a()(r,l.a,v),a()(r,l.d,b),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:O.width[h]||o,height:O.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return O})),n.d(t,"c",(function(){return y})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function(){return E}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],p=[].concat(f),m=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(n,r){var i,o,s,l,u,d,f,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,s=void 0===o?c.b:o,l=i.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),E=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,k();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,y(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},561:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(0),s=n(2),l=n(10),u=n(3),d=n(19),g=n(9),f=n(32),p=n(176),m=n(379),b=n(161);function ActivateAnalyticsCTA(t){var n=t.children,r=Object(p.a)("analytics-4"),i=Object(m.a)("analytics-4"),o=Object(u.useSelect)((function(e){return e(d.a).isModuleActive("analytics-4")})),v=Object(u.useSelect)((function(e){return e(d.a).isModuleAvailable("analytics-4")})),h=Object(c.useState)(!1),O=a()(h,2),y=O[0],k=O[1],E=Object(u.useSelect)((function(e){if(!v)return!1;var t=e(g.p).getAdminReauthURL();return!!t&&e(f.a).isNavigatingTo(t)})),j=Object(u.useSelect)((function(e){return!!v&&e(d.a).isFetchingSetModuleActivation("analytics-4",!0)})),_=Object(b.a)(k,3e3);Object(c.useEffect)((function(){j||E?k(!0):_(!1)}),[j,E,_]);var S=o?i:r;return v&&S?e.createElement("div",{className:"googlesitekit-analytics-cta"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},n),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(s.__)("See how many people visit your site from Search and track how you’re achieving your goals","google-site-kit")),e.createElement(l.SpinnerButton,{onClick:S,isSaving:y},o?Object(s.__)("Complete setup","google-site-kit"):Object(s.__)("Set up Google Analytics","google-site-kit")))):null}ActivateAnalyticsCTA.propTypes={children:o.a.node.isRequired}}).call(this,n(4))},562:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 3.01l.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811 0 3.009z",fill:"currentColor"});t.a=function SvgArrowUp(e){return r.createElement("svg",a({viewBox:"0 0 6 6",fill:"none"},e),i)}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return O})),n.d(t,"l",(function(){return y})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return j})),n.d(t,"q",(function(){return _})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return N})),n.d(t,"w",(function(){return D})),n.d(t,"u",(function(){return T})),n.d(t,"v",(function(){return R})),n.d(t,"x",(function(){return C})),n.d(t,"y",(function(){return P})),n.d(t,"A",(function(){return L})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return A})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return B})),n.d(t,"z",(function(){return F})),n.d(t,"G",(function(){return W})),n.d(t,"E",(function(){return z})),n.d(t,"i",(function(){return V})),n.d(t,"p",(function(){return U})),n.d(t,"Q",(function(){return G})),n.d(t,"P",(function(){return H}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",O="kmAnalyticsNewVisitors",y="kmAnalyticsPopularAuthors",k="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",_="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",N="kmAnalyticsTopCitiesDrivingPurchases",D="kmAnalyticsTopDeviceDrivingPurchases",T="kmAnalyticsTopConvertingTrafficSource",R="kmAnalyticsTopCountries",C="kmAnalyticsTopPagesDrivingLeads",P="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",A="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",B="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",W="kmSearchConsolePopularKeywords",z="kmAnalyticsVisitsPerVisitor",V="kmAnalyticsMostEngagingPages",U="kmAnalyticsTopCategories",G=[b,v,h,O,y,k,E,j,U,_,S,w,N,D,T,R,P,L,x,M,B,F,z,V,U],H=[].concat(G,[W])},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/search-console",a=1},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),g=n.n(d),f=n(1),p=n.n(f),m=n(12),b=n.n(m),v=n(221),h=n(222),O=n(91),y=n(79),k=n(0),E=n(109),j=n(3),_=n(17),S=n(89),w=n(41),N=n(25),D=n(195),T=n(196),R=n(197),C=n(201),P=n(202),L=n(74),x=n(113),A=n(121),I=n(32),M=n(203);function BannerNotification(t){var n,r=t.badgeLabel,i=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,f=t.ctaLink,p=t.ctaTarget,m=t.description,B=t.dismiss,F=t.dismissExpires,W=void 0===F?0:F,z=t.format,V=void 0===z?"":z,U=t.id,G=t.isDismissible,H=void 0===G||G,q=t.learnMoreDescription,K=t.learnMoreLabel,X=t.learnMoreURL,J=t.learnMoreTarget,$=void 0===J?L.a.EXTERNAL:J,Y=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ae=t.showOnce,ie=void 0!==ae&&ae,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,pe=t.smallWinImageSVGHeight,me=void 0===pe?75:pe,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,Oe=void 0===he?105:he,ye=t.rounded,ke=void 0!==ye&&ye,Ee=t.footer,je=t.secondaryPane,_e=t.ctaComponent,Se=Object(k.useState)(!1),we=g()(Se,2),Ne=we[0],De=we[1],Te=Object(k.useState)(!1),Re=g()(Te,2),Ce=Re[0],Pe=Re[1],Le="notification::dismissed::".concat(U),xe=function(){return Object(w.f)(Le,new Date,{ttl:null})},Ae=Object(y.a)(),Ie=Object(N.e)(),Me=Object(v.a)(),Be=Object(k.useState)(!1),Fe=g()(Be,2),We=Fe[0],ze=Fe[1],Ve=Object(k.useRef)(),Ue=Object(h.a)(Ve,{rootMargin:"".concat(-Object(A.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(k.useEffect)((function(){!We&&(null==Ue?void 0:Ue.isIntersecting)&&("function"==typeof te&&te(),ze(!0))}),[U,te,We,Ue]);var Ge=Ae>=600;Object(O.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(W>0)){e.next=3;break}return e.next=3,Ye();case 3:if(!H){e.next=9;break}return e.next=6,Object(w.d)(Le);case 6:t=e.sent,n=t.cacheHit,Pe(n);case 9:if(!ie){e.next=12;break}return e.next=12,xe();case 12:case"end":return e.stop()}}),e)}))));var He=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(E.a)(f)&&"_blank"!==p,Ke=function(){return qe||De(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xe();case 2:Me()&&Pe(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Xe=Object(j.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Je=Object(j.useDispatch)(I.a).navigateTo,$e=function(){var e=u()(s.a.mark((function e(t){var n,r,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,a=r.dismissOnCTAClick,n=void 0===a||a;case 12:if(!H||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Je(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ye=function(){var e=u()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Le);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(W,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Le);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Xe&&H&&(void 0===Ce||Ce))return null;var Ze=!Xe&&Ne?"is-closed":"is-open",Qe=Object(x.d)(V),et=Object(x.c)(V),tt=Object(x.a)(V),nt=Object(x.b)({format:V,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!le});return e.createElement(D.a,{id:U,className:b()(l,(n={},o()(n,"googlesitekit-publisher-win--".concat(V),V),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",ke),n)),secondaryPane:je,ref:Ve},Y&&e.createElement(P.a,{module:Z,moduleName:Q}),oe&&e.createElement(_.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(_.a,a()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(T.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:me,smallWinImageSVGWidth:fe,winImageFormat:V,WinImageSVG:!Ge&&de?le:void 0}),e.createElement(M.a,{description:m,learnMoreURL:X,learnMoreLabel:K,learnMoreTarget:$,learnMoreDescription:q,onLearnMoreClick:re}),i,e.createElement(R.a,{ctaLink:f,ctaLabel:d,ctaComponent:_e,ctaTarget:p,ctaCallback:$e,dismissLabel:H?B:void 0,dismissCallback:He}),Ee&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},Ee)),le&&(Ge||!de)&&e.createElement(_.a,a()({},Qe,et,{alignBottom:"larger"===V,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(V)},e.createElement(le,{style:{maxWidth:ve,maxHeight:Oe}}))),e.createElement(C.a,{type:se}))}n.d(t,"a",(function(){return L.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(L.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,a=t.noPrefix;if(!n)return null;var s=n;void 0!==a&&a||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(i.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:a.a.string.isRequired,reconnectURL:a.a.string,noPrefix:a.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},670:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M1 24.053l5-4.825 4 2.193 5.333-2.193 7.334 6.579 6-1.754 3-4.825 4.666 6.579 3.334-1.754L47.333 28 55 19.228l4.333 2.193 5.334-3.509 2 1.316h6L81.333 3 84 9.579l2.333-1.754L89 13.088l12-5.263",stroke:"#CCC",strokeWidth:2});t.a=function SvgCtaGraphVisitors(e){return r.createElement("svg",a({viewBox:"0 0 102 30",fill:"none"},e),i)}},673:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M86.66 6.101a22.375 22.375 0 016.226-1.09l.215 7.871a14.544 14.544 0 00-4.046.709L86.66 6.1z",fill:"#DEDEDE"}),o=r.createElement("path",{d:"M75.423 14.275a22.544 22.544 0 0110.57-7.945l2.628 7.41a14.655 14.655 0 00-6.871 5.164l-6.327-4.63z",fill:"#C6C6C6"}),c=r.createElement("path",{d:"M75.317 40.725a22.482 22.482 0 01-4.226-12.872 22.637 22.637 0 013.925-13l6.47 4.426a14.714 14.714 0 00-2.552 8.45c.035 3.01.995 5.932 2.747 8.367l-6.364 4.63z",fill:"#F1F1F1"}),s=r.createElement("path",{d:"M106.601 45.702a22.401 22.401 0 01-16.346 4.074 22.282 22.282 0 01-14.517-8.485l6.217-4.827a14.483 14.483 0 009.436 5.515 14.562 14.562 0 0010.625-2.648l4.585 6.371z",fill:"#959595"}),l=r.createElement("path",{d:"M93.59 5c4.673 0 9.223 1.466 13.013 4.194a22.369 22.369 0 018.129 11.018 22.624 22.624 0 01-7.567 25.067l-4.783-6.223a14.703 14.703 0 004.919-16.293 14.538 14.538 0 00-5.284-7.162 14.477 14.477 0 00-8.458-2.726L93.59 5z",fill:"#C7C7C7"}),u=r.createElement("circle",{cx:83.5,cy:56.899,r:1.5,fill:"#959595"}),d=r.createElement("circle",{cx:90.5,cy:56.899,r:1.5,fill:"#C7C7C7"}),g=r.createElement("circle",{cx:97.5,cy:56.899,r:1.5,fill:"#DEDEDE"}),f=r.createElement("circle",{cx:104.5,cy:56.899,r:1.5,fill:"#F1F1F1"}),p=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.937,strokeLinecap:"round",d:"M.468 58.531h55.064"}),m=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.468,strokeLinecap:"round",d:"M.234 44.765h55.532M.234 30.765h55.532M.234 16.766h55.532"}),b=r.createElement("path",{opacity:.08,d:"M25.531 47.668c-4.138-1.288-5.95-4.746-9.87-5.24-4.053-.51-7.2 12.53-15.661 13.777V59h56V35.07c-2.25-.486-4.367-17.89-9.25-16.601-4.882 1.288-8.475 20.892-12.365 14.578-3.89-6.313-4.716 15.91-8.854 14.622z",fill:"url(#cta-graph-traffic_svg__paint0_linear_435_1677)"}),v=r.createElement("path",{d:"M2.766 1.116L.883 6.3h-.77L2.281.612h.496l-.011.504zM4.344 6.3L2.457 1.116 2.445.612h.496L5.117 6.3h-.773zm-.098-2.106v.618H1.051v-.618h3.195zM6.555.3v6h-.727v-6h.727zM8.5.3v6h-.727v-6H8.5zm5.73 5.023v-3.25h.727V6.3h-.691l-.036-.977zm.137-.89l.301-.008c0 .281-.03.541-.09.781a1.678 1.678 0 01-.281.617c-.13.175-.3.311-.512.41a1.845 1.845 0 01-.77.145c-.205 0-.394-.03-.566-.09a1.132 1.132 0 01-.437-.277 1.262 1.262 0 01-.285-.489 2.355 2.355 0 01-.098-.722V2.073h.723v2.735c0 .19.02.347.062.472.044.123.103.22.176.293.075.07.159.12.25.149.094.028.19.043.289.043.307 0 .55-.059.73-.176.18-.12.309-.28.387-.48.08-.204.121-.429.121-.676zm4.152.746c0-.104-.023-.2-.07-.29-.044-.09-.137-.173-.277-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.304-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.722a.62.62 0 00-.106-.34.779.779 0 00-.3-.277.971.971 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.877.877 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.31-.215.498.498 0 00.105-.312zm3.426 1.199a2.08 2.08 0 01-.8-.149 1.817 1.817 0 01-.614-.425c-.169-.183-.3-.399-.39-.649a2.38 2.38 0 01-.137-.82v-.164c0-.344.05-.65.152-.918.102-.27.24-.5.414-.688.175-.187.373-.329.594-.425.221-.097.45-.145.688-.145.302 0 .562.052.78.156.222.105.403.25.544.438.14.185.245.404.312.656.068.25.102.524.102.82v.325h-3.156V3.8h2.433v-.055c-.01-.187-.05-.37-.117-.547a.983.983 0 00-.313-.437c-.143-.115-.338-.172-.585-.172a.984.984 0 00-.809.41c-.099.135-.176.3-.23.496-.055.195-.082.42-.082.676v.164c0 .2.027.39.081.566.058.175.14.328.247.461.109.133.24.237.394.313.156.075.334.113.531.113.256 0 .472-.052.649-.156.177-.104.332-.244.465-.418l.437.348c-.091.138-.207.269-.348.394-.14.125-.313.227-.519.305a2.012 2.012 0 01-.723.117zm3.211-3.64V6.3h-.722V2.073h.703l.02.664zm1.32-.688l-.003.672a1.827 1.827 0 00-.352-.031c-.167 0-.314.025-.441.078a.914.914 0 00-.325.218 1.052 1.052 0 00-.21.336c-.05.128-.082.268-.098.422l-.203.117c0-.255.024-.494.074-.718.052-.224.131-.422.238-.594.107-.175.242-.31.407-.406a1.142 1.142 0 01.914-.094zm3.13 3.129a.61.61 0 00-.07-.29c-.045-.09-.138-.173-.278-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.303-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.723a.62.62 0 00-.105-.34.778.778 0 00-.3-.277.97.97 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.876.876 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.309-.215.498.498 0 00.105-.312z",fill:"#B8B8B8"}),h=r.createElement("defs",null,r.createElement("linearGradient",{id:"cta-graph-traffic_svg__paint0_linear_435_1677",x1:19.094,y1:18.399,x2:19.094,y2:66.554,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgCtaGraphTraffic(e){return r.createElement("svg",a({viewBox:"0 0 116 59",fill:"none"},e),i,o,c,s,l,u,d,g,f,p,m,b,v,h)}},71:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",a({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(271),o=n(1),c=n.n(o),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return D})),n.d(t,"f",(function(){return T})),n.d(t,"o",(function(){return R})),n.d(t,"x",(function(){return C})),n.d(t,"q",(function(){return P})),n.d(t,"H",(function(){return L})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return A})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return B.b})),n.d(t,"r",(function(){return B.a})),n.d(t,"B",(function(){return B.c})),n.d(t,"y",(function(){return F})),n.d(t,"v",(function(){return W})),n.d(t,"F",(function(){return U})),n.d(t,"E",(function(){return G.a})),n.d(t,"h",(function(){return H})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[g,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),O=n.n(h),y=n(11),k=n.n(y),E=n(2),j="Invalid dateString parameter, it must be a string.",_='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,N=24*w,D=7*N,T=30*N;function R(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._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 C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function P(e){k()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function L(e){k()(C(e),j);var t=e.split("-"),n=O()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function x(e,t){return P(I(e,t*N))}function A(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){k()(C(e)||Object(r.isDate)(e)&&!isNaN(e),j);var n=C(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),B=n(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function W(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var z=n(27),V=n.n(z),U=function(e){return Array.isArray(e)?V()(e).sort():e},G=n(88);function H(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return j})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return D}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),s=n.n(c),l=n(23),u=n.n(l),d=n(13),g=n(57),f=n.n(g),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=O(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},O=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?w(i,b(b({},o),{},{unit:"second"})):"",a?w(a,b(b({},o),{},{unit:"minute"})):"",r?w(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),a),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},k=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(k(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(k(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(k(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function j(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=j(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?E(e):"duration"===a?v(e,n):"durationISO"===a?h(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?D():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(i);d<g.length;d++){var f=a()(g[d],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(l[p]=m))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?D():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(p.__)(", ","google-site-kit");return e.join(l)},D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},85:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,a=t.headerContent,i=t.description,l=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,p=t.onClick,m=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||a)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),a),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===g&&e.createElement(c.Button,{"aria-label":m,href:l,onClick:p},u),u&&"link"===g&&e.createElement(s.a,{href:l,onClick:p,"aria-label":m,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:a.a.string.isRequired,headerText:a.a.string,description:a.a.oneOfType([a.a.string,a.a.node]),ctaLink:a.a.string,ctaLinkExternal:a.a.bool,ctaLabel:a.a.string,ctaType:a.a.string,"aria-label":a.a.string,error:a.a.bool,onClick:a.a.func,children:a.a.node,headerContent:a.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),a=n(121);function i(t,n){var r=document.querySelector(t);if(!r)return 0;var a=r.getBoundingClientRect().top,i=o(n);return a+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(a.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return O})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return k})),n.d(t,"e",(function(){return E})),n.d(t,"r",(function(){return j})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",a="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",O="dashboardAllTrafficWidgetDimensionValue",y="dashboardAllTrafficWidgetActiveRowIndex",k="dashboardAllTrafficWidgetLoaded",E={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},j={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},_="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,i=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:n},u,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":l})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},u),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(a,n),d=Object(c.a)(a,n,s,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(i.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1222,1,0]]]); dist/assets/js/googlesitekit-api-63e0255bae8c37401ba1.js 0000604 00000101613 14717744000 0016202 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[5],{100:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return o}));var r=e(58),i=e(37),a=e(44);function o(n,e){var o,c=Object(r.a)(e),u=n.activeModules,s=n.referenceSiteURL,f=n.userIDHash,l=n.userRoles,d=void 0===l?[]:l,g=n.isAuthenticated,p=n.pluginVersion;return function(){var e=t.document;if(void 0===o&&(o=!!e.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==d?void 0:d.length)?d.join(","):"";c("js",new Date),c("config",n.trackingID,{groups:"site_kit",send_page_view:n.isSiteKitScreen,domain:s,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:u.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:f}});var l=e.createElement("script");return l.setAttribute(i.b,""),l.async=!0,l.src="https://www.googletagmanager.com/gtag/js?id=".concat(n.trackingID,"&l=").concat(i.a),e.head.appendChild(l),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(n.trackingID,"&l=").concat(i.a)}}}}}).call(this,e(26))},101:function(t,n,e){"use strict";e.d(n,"a",(function(){return d}));var r=e(5),i=e.n(r),a=e(7),o=e.n(a),c=e(16),u=e.n(c),s=e(58);function f(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?f(Object(e),!0).forEach((function(n){o()(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function d(t,n,e,r){var a=Object(s.a)(n);return function(){var n=u()(i.a.mark((function n(o,c,u,s){var f;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.trackingEnabled){n.next=3;break}return n.abrupt("return");case 3:return e(),f={send_to:"site_kit",event_category:o,event_label:u,value:s},n.abrupt("return",new Promise((function(t){var n,e,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),t()}),1e3),u=function(){clearTimeout(i),t()};a("event",c,l(l({},f),{},{event_callback:u})),(null===(n=r._gaUserPrefs)||void 0===n||null===(e=n.ioo)||void 0===e?void 0:e.call(n))&&u()})));case 6:case"end":return n.stop()}}),n)})));return function(t,e,r,i){return n.apply(this,arguments)}}()}},1163:function(t,n,e){"use strict";e.r(n),function(t){var r=e(801);void 0===t.googlesitekit&&(t.googlesitekit={}),void 0===t.googlesitekit.api&&(t.googlesitekit.api=r.a),n.default=r.a}.call(this,e(26))},2:function(t,n){t.exports=googlesitekit.i18n},256:function(t,n,e){"use strict";(function(t){var r=e(53),i=e.n(r),a=e(257),o=t._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,f=o.rootURL;i.a.nonceEndpoint=u,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(f),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),n.default=i.a}).call(this,e(26))},257:function(t,n,e){"use strict";var r=e(248);n.a=function(t){var n=Object.keys(t).reduce((function(n,e){return n[Object(r.getStablePath)(e)]=t[e],n}),{}),e=!1;return function(t,i){if(e)return i(t);setTimeout((function(){e=!0}),1e3);var a=t.parse,o=void 0===a||a,c=t.path;if("string"==typeof t.path){var u,s=(null===(u=t.method)||void 0===u?void 0:u.toUpperCase())||"GET",f=Object(r.getStablePath)(c);if(o&&"GET"===s&&n[f]){var l=Promise.resolve(n[f].body);return delete n[f],l}if("OPTIONS"===s&&n[s]&&n[s][f]){var d=Promise.resolve(n[s][f]);return delete n[s][f],d}}return i(t)}}},34:function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"f",(function(){return c})),e.d(n,"e",(function(){return u})),e.d(n,"c",(function(){return s})),e.d(n,"d",(function(){return f})),e.d(n,"b",(function(){return l}));e(13);var r=e(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(t){return(null==t?void 0:t.code)===i}function u(t){var n;return[a,o].includes(null==t||null===(n=t.data)||void 0===n?void 0:n.reason)}function s(t){var n;return!!(null==t||null===(n=t.data)||void 0===n?void 0:n.reconnectURL)}function f(t,n){return!(!(null==n?void 0:n.storeName)||u(t)||c(t)||s(t))}function l(t){return"internal_server_error"===(null==t?void 0:t.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==t?void 0:t.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==t?void 0:t.message}},36:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return k})),e.d(n,"b",(function(){return m})),e.d(n,"c",(function(){return y}));var r=e(99),i=t._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,u=i.trackingEnabled,s=i.trackingID,f=i.referenceSiteURL,l=i.userIDHash,d=i.isAuthenticated,g={activeModules:o,trackingEnabled:u,trackingID:s,referenceSiteURL:f,userIDHash:l,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(r.a)(g),v=p.enableTracking,b=p.disableTracking,h=(p.isTrackingEnabled,p.initializeSnippet),m=p.trackEvent,y=p.trackEventOnce;function k(t){t?v():b()}c&&u&&h()}).call(this,e(26))},37:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},41:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return l})),e.d(n,"d",(function(){return m})),e.d(n,"f",(function(){return y})),e.d(n,"c",(function(){return k})),e.d(n,"e",(function(){return w})),e.d(n,"b",(function(){return O}));var r=e(5),i=e.n(r),a=e(16),o=e.n(a),c=(e(27),e(8));function u(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(!t)return;if("string"==typeof t)return s(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,n)}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){c=!0,a=t},f:function(){try{o||null==e.return||e.return()}finally{if(c)throw a}}}}function s(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var f,l="googlesitekit_",d="".concat(l).concat("1.140.0","_").concat(t._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),v=function(){var n=o()(i.a.mark((function n(e){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t[e]){n.next=3;break}return n.abrupt("return",!1);case 3:return n.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),n.abrupt("return",!0);case 10:return n.prev=10,n.t0=n.catch(3),n.abrupt("return",n.t0 instanceof DOMException&&(22===n.t0.code||1014===n.t0.code||"QuotaExceededError"===n.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===n.t0.name)&&0!==r.length);case 13:case"end":return n.stop()}}),n,null,[[3,10]])})));return function(t){return n.apply(this,arguments)}}();function b(){return h.apply(this,arguments)}function h(){return(h=o()(i.a.mark((function n(){var e,r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(void 0===f){n.next=2;break}return n.abrupt("return",f);case 2:e=u(p),n.prev=3,e.s();case 5:if((r=e.n()).done){n.next=15;break}if(a=r.value,!f){n.next=9;break}return n.abrupt("continue",13);case 9:return n.next=11,v(a);case 11:if(!n.sent){n.next=13;break}f=t[a];case 13:n.next=5;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n.catch(3),e.e(n.t0);case 20:return n.prev=20,e.f(),n.finish(20);case 23:return void 0===f&&(f=null),n.abrupt("return",f);case 25:case"end":return n.stop()}}),n,null,[[3,17,20,23]])})))).apply(this,arguments)}var m=function(){var t=o()(i.a.mark((function t(n){var e,r,a,o,c,u,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(e=t.sent)){t.next=10;break}if(!(r=e.getItem("".concat(d).concat(n)))){t.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),y=function(){var n=o()(i.a.mark((function n(e,r){var a,o,u,s,f,l,g,p,v=arguments;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=v.length>2&&void 0!==v[2]?v[2]:{},o=a.ttl,u=void 0===o?c.b:o,s=a.timestamp,f=void 0===s?Math.round(Date.now()/1e3):s,l=a.isError,g=void 0!==l&&l,n.next=3,b();case 3:if(!(p=n.sent)){n.next=14;break}return n.prev=5,p.setItem("".concat(d).concat(e),JSON.stringify({timestamp:f,ttl:u,value:r,isError:g})),n.abrupt("return",!0);case 10:return n.prev=10,n.t0=n.catch(5),t.console.warn("Encountered an unexpected storage error:",n.t0),n.abrupt("return",!1);case 14:return n.abrupt("return",!1);case 15:case"end":return n.stop()}}),n,null,[[5,10]])})));return function(t,e){return n.apply(this,arguments)}}(),k=function(){var n=o()(i.a.mark((function n(e){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,b();case 2:if(!(r=n.sent)){n.next=14;break}return n.prev=4,a=e.startsWith(l)?e:"".concat(d).concat(e),r.removeItem(a),n.abrupt("return",!0);case 10:return n.prev=10,n.t0=n.catch(4),t.console.warn("Encountered an unexpected storage error:",n.t0),n.abrupt("return",!1);case 14:return n.abrupt("return",!1);case 15:case"end":return n.stop()}}),n,null,[[4,10]])})));return function(t){return n.apply(this,arguments)}}(),w=function(){var n=o()(i.a.mark((function n(){var e,r,a,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,b();case 2:if(!(e=n.sent)){n.next=14;break}for(n.prev=4,r=[],a=0;a<e.length;a++)0===(o=e.key(a)).indexOf(l)&&r.push(o);return n.abrupt("return",r);case 10:return n.prev=10,n.t0=n.catch(4),t.console.warn("Encountered an unexpected storage error:",n.t0),n.abrupt("return",[]);case 14:return n.abrupt("return",[]);case 15:case"end":return n.stop()}}),n,null,[[4,10]])})));return function(){return n.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(){var n,e,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!t.sent){t.next=25;break}return t.next=6,w();case 6:n=t.sent,e=u(n),t.prev=8,e.s();case 10:if((r=e.n()).done){t.next=16;break}return a=r.value,t.next=14,k(a);case 14:t.next=10;break;case 16:t.next=21;break;case 18:t.prev=18,t.t0=t.catch(8),e.e(t.t0);case 21:return t.prev=21,e.f(),t.finish(21);case 24:return t.abrupt("return",!0);case 25:return t.abrupt("return",!1);case 26:case"end":return t.stop()}}),t,null,[[8,18,21,24]])})));return function(){return t.apply(this,arguments)}}()}).call(this,e(26))},44:function(t,n,e){"use strict";(function(t){var r,i;e.d(n,"a",(function(){return a})),e.d(n,"b",(function(){return o}));var a=new Set((null===(r=t)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return n instanceof Set&&n.has(t)}}).call(this,e(26))},58:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(37);function i(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},6:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i})),e.d(n,"e",(function(){return a})),e.d(n,"d",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"H",(function(){return u})),e.d(n,"M",(function(){return s})),e.d(n,"O",(function(){return f})),e.d(n,"K",(function(){return l})),e.d(n,"L",(function(){return d})),e.d(n,"J",(function(){return g})),e.d(n,"I",(function(){return p})),e.d(n,"N",(function(){return v})),e.d(n,"f",(function(){return b})),e.d(n,"g",(function(){return h})),e.d(n,"h",(function(){return m})),e.d(n,"j",(function(){return y})),e.d(n,"l",(function(){return k})),e.d(n,"m",(function(){return w})),e.d(n,"n",(function(){return O})),e.d(n,"o",(function(){return j})),e.d(n,"q",(function(){return _})),e.d(n,"s",(function(){return x})),e.d(n,"r",(function(){return D})),e.d(n,"t",(function(){return S})),e.d(n,"w",(function(){return P})),e.d(n,"u",(function(){return A})),e.d(n,"v",(function(){return T})),e.d(n,"x",(function(){return E})),e.d(n,"y",(function(){return N})),e.d(n,"A",(function(){return L})),e.d(n,"B",(function(){return I})),e.d(n,"C",(function(){return C})),e.d(n,"D",(function(){return M})),e.d(n,"k",(function(){return R})),e.d(n,"F",(function(){return U})),e.d(n,"z",(function(){return F})),e.d(n,"G",(function(){return q})),e.d(n,"E",(function(){return J})),e.d(n,"i",(function(){return $})),e.d(n,"p",(function(){return H})),e.d(n,"Q",(function(){return K})),e.d(n,"P",(function(){return V}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",u="googlesitekit_authenticate",s="googlesitekit_setup",f="googlesitekit_view_dashboard",l="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",h="kmAnalyticsEngagedTrafficSource",m="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",k="kmAnalyticsPopularAuthors",w="kmAnalyticsPopularContent",O="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",_="kmAnalyticsTopCities",x="kmAnalyticsTopCitiesDrivingLeads",D="kmAnalyticsTopCitiesDrivingAddToCart",S="kmAnalyticsTopCitiesDrivingPurchases",P="kmAnalyticsTopDeviceDrivingPurchases",A="kmAnalyticsTopConvertingTrafficSource",T="kmAnalyticsTopCountries",E="kmAnalyticsTopPagesDrivingLeads",N="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",I="kmAnalyticsTopTrafficSourceDrivingAddToCart",C="kmAnalyticsTopTrafficSourceDrivingLeads",M="kmAnalyticsTopTrafficSourceDrivingPurchases",R="kmAnalyticsPagesPerVisit",U="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",q="kmSearchConsolePopularKeywords",J="kmAnalyticsVisitsPerVisitor",$="kmAnalyticsMostEngagingPages",H="kmAnalyticsTopCategories",K=[b,h,m,y,k,w,O,j,H,_,x,D,S,P,A,T,N,L,I,R,U,F,J,$,H],V=[].concat(K,[q])},72:function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return c}));var r=e(33),i=e.n(r),a=e(81),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,n)}};function c(t){var n,e="object"===i()(t)?t.toString():t;return null==e||null===(n=e.replace)||void 0===n?void 0:n.call(e,/\/+$/,"")}},8:function(t,n,e){"use strict";e.d(n,"J",(function(){return i.b})),e.d(n,"K",(function(){return i.c})),e.d(n,"G",(function(){return a.a})),e.d(n,"L",(function(){return a.b})),e.d(n,"I",(function(){return f})),e.d(n,"n",(function(){return l.a})),e.d(n,"C",(function(){return l.d})),e.d(n,"D",(function(){return l.e})),e.d(n,"z",(function(){return l.c})),e.d(n,"s",(function(){return l.b})),e.d(n,"A",(function(){return v})),e.d(n,"k",(function(){return b})),e.d(n,"j",(function(){return h})),e.d(n,"d",(function(){return j})),e.d(n,"c",(function(){return _})),e.d(n,"e",(function(){return x})),e.d(n,"b",(function(){return D})),e.d(n,"a",(function(){return S})),e.d(n,"g",(function(){return P})),e.d(n,"f",(function(){return A})),e.d(n,"o",(function(){return T})),e.d(n,"x",(function(){return E})),e.d(n,"q",(function(){return N})),e.d(n,"H",(function(){return L})),e.d(n,"t",(function(){return I})),e.d(n,"w",(function(){return C})),e.d(n,"l",(function(){return M})),e.d(n,"p",(function(){return R.b})),e.d(n,"i",(function(){return R.a})),e.d(n,"u",(function(){return U.b})),e.d(n,"r",(function(){return U.a})),e.d(n,"B",(function(){return U.c})),e.d(n,"y",(function(){return F})),e.d(n,"v",(function(){return q})),e.d(n,"F",(function(){return H})),e.d(n,"E",(function(){return K.a})),e.d(n,"h",(function(){return V})),e.d(n,"M",(function(){return G})),e.d(n,"m",(function(){return z}));var r=e(13),i=e(36),a=e(72),o=e(33),c=e.n(o),u=e(94),s=e.n(u),f=function(t){return s()(JSON.stringify(function t(n){var e={};return Object.keys(n).sort().forEach((function(r){var i=n[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=t(i)),e[r]=i})),e}(t)))};e(97);var l=e(82);function d(t){return t.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(t){return t.replace(/\n/gi,"<br>")}function v(t){for(var n=t,e=0,r=[d,g,p];e<r.length;e++){n=(0,r[e])(n)}return n}var b=function(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)]},h=function(t){var n=t&&!Number.isInteger(t)?new Date(t).getTime():t;return isNaN(n)||!n?0:n},m=e(15),y=e.n(m),k=e(11),w=e.n(k),O=e(2),j="Invalid dateString parameter, it must be a string.",_='Invalid date range, it must be a string with the format "last-x-days".',x=60,D=60*x,S=24*D,P=7*S,A=30*S;function T(){var t=function(t){return Object(O.sprintf)( /* translators: %s: number of days */ Object(O._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 E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(t))return!1;var n=t.split("-");if(3!==n.length)return!1;var e=new Date(t);return Object(r.isDate)(e)&&!isNaN(e)}function N(t){w()(Object(r.isDate)(t)&&!isNaN(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),e="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,e.length<2?"0".concat(e):e].join("-")}function L(t){w()(E(t),j);var n=t.split("-"),e=y()(n,3),r=e[0],i=e[1],a=e[2];return new Date(r,i-1,a)}function I(t,n){return N(M(t,n*S))}function C(t){var n=t.split("-");return 3===n.length&&"last"===n[0]&&!Number.isNaN(n[1])&&!Number.isNaN(parseFloat(n[1]))&&"days"===n[2]}function M(t,n){w()(E(t)||Object(r.isDate)(t)&&!isNaN(t),j);var e=E(t)?Date.parse(t):t.getTime();return new Date(e-1e3*n)}var R=e(98),U=e(83);function F(t){var n=parseFloat(t)||0;return!!Number.isInteger(n)&&n>0}function q(t){if("number"==typeof t)return!0;var n=(t||"").toString();return!!n&&!isNaN(n)}var J=e(27),$=e.n(J),H=function(t){return Array.isArray(t)?$()(t).sort():t},K=e(88);function V(t,n){var e=function(t){return"0"===t||0===t};if(e(t)&&e(n))return 0;if(e(t)||Number.isNaN(t))return null;var r=(n-t)/t;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var G=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},z=function(t){if(!t)return"";var n=t.replace(/&#(\d+);/g,(function(t,n){return String.fromCharCode(n)})).replace(/(\\)/g,"");return Object(r.unescape)(n)}},801:function(t,n,e){"use strict";(function(t){var r=e(5),i=e.n(r),a=e(16),o=e.n(a),c=e(11),u=e.n(c),s=e(256),f=e(157),l=e(41),d=e(8),g=e(34),p=e(916),v=e(6),b=!0,h=function(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=[t,n,e].filter((function(t){return!!t&&t.length}));return 3===i.length&&r&&r.constructor===Object&&Object.keys(r).length&&i.push(Object(d.I)(r)),i.join("::")},m=function(n){var e,r,i,a=null===(e=t.googlesitekit)||void 0===e||null===(r=e.data)||void 0===r||null===(i=r.dispatch)||void 0===i?void 0:i.call(r,v.a);a&&(Object(g.f)(n)?a.setPermissionScopeError(n):Object(g.c)(n)&&a.setAuthError(n))},y=function(){var n=o()(i.a.mark((function n(e,r,a){var o,c,g,v,b,y,k,O,j,_,x,D,S,P,A,T,E,N=arguments;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=N.length>3&&void 0!==N[3]?N[3]:{},c=o.bodyParams,g=o.cacheTTL,v=void 0===g?d.b:g,b=o.method,y=void 0===b?"GET":b,k=o.queryParams,O=o.useCache,j=void 0===O?void 0:O,_=o.signal,u()(e,"`type` argument for requests is required."),u()(r,"`identifier` argument for requests is required."),u()(a,"`datapoint` argument for requests is required."),x="GET"===y&&(void 0!==j?j:w()),D=h(e,r,a,k),!x){n.next=18;break}return n.next=9,Object(l.d)(D);case 9:if(S=n.sent,P=S.cacheHit,A=S.value,!S.isError){n.next=16;break}throw m(A),A;case 16:if(!P){n.next=18;break}return n.abrupt("return",A);case 18:return n.prev=18,n.next=21,Object(s.default)({data:c,method:y,signal:_,path:Object(f.a)("/google-site-kit/v1/".concat(e,"/").concat(r,"/data/").concat(a),k)});case 21:if(T=n.sent,!x){n.next=25;break}return n.next=25,Object(l.f)(D,T,{ttl:v});case 25:return n.abrupt("return",T);case 28:if(n.prev=28,n.t0=n.catch(18),!(null==_?void 0:_.aborted)){n.next=32;break}throw n.t0;case 32:if(!(null===n.t0||void 0===n.t0||null===(E=n.t0.data)||void 0===E?void 0:E.cacheTTL)){n.next=35;break}return n.next=35,Object(l.f)(D,n.t0,{ttl:n.t0.data.cacheTTL,isError:!0});case 35:throw Object(p.a)({method:y,datapoint:a,type:e,identifier:r,error:n.t0}),m(n.t0),t.console.error("Google Site Kit API Error","method:".concat(y),"datapoint:".concat(a),"type:".concat(e),"identifier:".concat(r),'error:"'.concat(n.t0.message,'"')),n.t0;case 39:case"end":return n.stop()}}),n,null,[[18,28]])})));return function(t,e,r){return n.apply(this,arguments)}}(),k=function(){var t=o()(i.a.mark((function t(n,e,r,a){var o,c,u,s,f,l,d,g=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=g.length>4&&void 0!==g[4]?g[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,f=void 0===s?{}:s,l=o.signal,t.next=3,y(n,e,r,{bodyParams:{data:a},method:u,queryParams:f,useCache:!1,signal:l});case 3:return d=t.sent,t.next=6,O(n,e,r);case 6:return t.abrupt("return",d);case 7:case"end":return t.stop()}}),t)})));return function(n,e,r,i){return t.apply(this,arguments)}}(),w=function(){return b},O=function(){var t=o()(i.a.mark((function t(n,e,r){var a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=h(n,e,r),t.next=3,Object(l.e)();case 3:t.sent.forEach((function(t){new RegExp("^".concat(l.a,"([^_]+_){2}").concat(a)).test(t)&&Object(l.c)(t)}));case 5:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),j={invalidateCache:O,get:function(t,n,e,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=i.cacheTTL,o=void 0===a?d.b:a,c=i.useCache,u=void 0===c?void 0:c,s=i.signal;return y(t,n,e,{cacheTTL:o,queryParams:r,useCache:u,signal:s})},set:k,setUsingCache:function(t){return b=!!t},usingCache:w};n.a=j}).call(this,e(26))},81:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return i}));var r=e(145),i=e.n(r)()(t)}).call(this,e(26))},82:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return j})),e.d(n,"d",(function(){return _})),e.d(n,"e",(function(){return D})),e.d(n,"c",(function(){return S})),e.d(n,"b",(function(){return P}));var r=e(15),i=e.n(r),a=e(33),o=e.n(a),c=e(7),u=e.n(c),s=e(23),f=e.n(s),l=e(13),d=e(57),g=e.n(d),p=e(2);function v(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function b(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?v(Object(e),!0).forEach((function(n){u()(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var h=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=k(t,n),r=e.formatUnit,i=e.formatDecimal;try{return r()}catch(t){return i()}},m=function(t){var n=y(t),e=n.hours,r=n.minutes,i=n.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(e=("0"+e).slice(-2))?"".concat(r,":").concat(i):"".concat(e,":").concat(r,":").concat(i)},y=function(t){return t=parseInt(t,10),Number.isNaN(t)&&(t=0),{hours:Math.floor(t/60/60),minutes:Math.floor(t/60%60),seconds:Math.floor(t%60)}},k=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=y(t),r=e.hours,i=e.minutes,a=e.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var e=n.unitDisplay,o=b(b({unitDisplay:void 0===e?"short":e},f()(n,["unitDisplay"])),{},{style:"unit"});return 0===t?D(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?D(a,b(b({},o),{},{unit:"second"})):"",i?D(i,b(b({},o),{},{unit:"minute"})):"",r?D(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var n=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===t)return n;var e=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?n:"",i?e:"",r?o:"").trim()}}},w=function(t){return 1e6<=t?Math.round(t/1e5)/10:1e4<=t?Math.round(t/1e3):1e3<=t?Math.round(t/100)/10:t},O=function(t){var n={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),D(w(t),t%10==0?{}:n)):1e4<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),D(w(t))):1e3<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),D(w(t),t%10==0?{}:n)):D(t,{signDisplay:"never",maximumFractionDigits:1})};function j(t){var n={};return"%"===t?n={style:"percent",maximumFractionDigits:2}:"s"===t?n={style:"duration",unitDisplay:"narrow"}:t&&"string"==typeof t?n={style:"currency",currency:t}:Object(l.isPlainObject)(t)&&(n=b({},t)),n}function _(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(l.isFinite)(t)?t:Number(t),Object(l.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var e=j(n),r=e.style,i=void 0===r?"metric":r;return"metric"===i?O(t):"duration"===i?h(t,e):"durationISO"===i?m(t):D(t,e)}var x=g()(console.warn),D=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.locale,r=void 0===e?P():e,a=f()(n,["locale"]);try{return new Intl.NumberFormat(r,a).format(t)}catch(n){x("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(t)," )"),n.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},l=0,d=Object.entries(a);l<d.length;l++){var g=i()(d[l],2),p=g[0],v=g[1];c[p]&&v===c[p]||(u.includes(p)||(s[p]=v))}try{return new Intl.NumberFormat(r,s).format(t)}catch(n){return new Intl.NumberFormat(r).format(t)}},S=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.locale,r=void 0===e?P():e,i=n.style,a=void 0===i?"long":i,o=n.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(r,{style:a,type:c});return u.format(t)} /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},P=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(l.get)(n,["_googlesitekitLegacyData","locale"]);if(e){var r=e.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return n.navigator.language}}).call(this,e(26))},83:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"a",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return c}));var r=e(109);function i(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,n){try{return new URL(n,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof n?n:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t,n){if(!Object(r.a)(t))return t;if(t.length<=n)return t;var e=new URL(t),i=t.replace(e.origin,"");if(i.length<n)return i;var a=i.length-Math.floor(n)+1;return"…"+i.substr(a)}},86:function(t,n,e){"use strict";(function(t){var r=e(1),i=e.n(r),a=e(12),o=e.n(a);function ChangeArrow(n){var e=n.direction,r=n.invertColor,i=n.width,a=n.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},n.a=ChangeArrow}).call(this,e(4))},88:function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(11),i=e.n(r),a=function(t,n){var e=n.dateRangeLength;i()(Array.isArray(t),"report must be an array to partition."),i()(Number.isInteger(e)&&e>0,"dateRangeLength must be a positive integer.");var r=-1*e;return{currentRange:t.slice(r),compareRange:t.slice(2*r,r)}}},916:function(t,n,e){"use strict";e.d(n,"a",(function(){return f}));var r=e(5),i=e.n(r),a=e(16),o=e.n(a),c=e(8),u=["fetch_error"],s=[];function f(t){return l.apply(this,arguments)}function l(){return(l=o()(i.a.mark((function t(n){var e,r,a,o,f,l,d,g,p;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=n.method,o=n.type,f=n.identifier,l=n.datapoint,d=n.error,g="".concat(o,"/").concat(f,"/data/").concat(l),!s.includes(g)){t.next=4;break}return t.abrupt("return");case 4:if(d&&!u.includes(null==d?void 0:d.code)){t.next=6;break}return t.abrupt("return");case 6:return p="code: ".concat(d.code),(null===(e=d.data)||void 0===e?void 0:e.reason)&&(p+=", reason: ".concat(d.data.reason)),t.next=10,Object(c.J)("api_error","".concat(a,":").concat(o,"/").concat(f,"/data/").concat(l),"".concat(d.message," (").concat(p,")"),(null===(r=d.data)||void 0===r?void 0:r.status)||d.code);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},97:function(t,n,e){"use strict";(function(t){e(50),e(51)}).call(this,e(26))},98:function(t,n,e){"use strict";(function(t){e.d(n,"b",(function(){return a})),e.d(n,"a",(function(){return o}));var r=e(220),i=e(86),a=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(n)))return"";var a=e.invertColor,o=void 0!==a&&a;return Object(r.a)(t.createElement(i.a,{direction:n>0?"up":"down",invertColor:o}))},o=function(t,n){return t>0&&n>0?t/n-1:t>0?1:n>0?-1:0}}).call(this,e(4))},99:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return l}));var r=e(7),i=e.n(r),a=e(13),o=e(100),c=e(101);function u(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function s(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?u(Object(e),!0).forEach((function(n){i()(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var f={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function l(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=s(s({},f),n);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var u=Object(o.a)(i,e),l=Object(c.a)(i,e,u,r),d={},g=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r=JSON.stringify(n);d[r]||(d[r]=Object(a.once)(l)),d[r].apply(d,n)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:u,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:l,trackEventOnce:g}}}).call(this,e(26))}},[[1163,1,0]]]); dist/assets/js/googlesitekit-components-gm2-888e11c2f889b3818fac.js 0000604 00000051755 14717744000 0020357 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[6],{1031:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Checkbox}));var a=t(12),i=t.n(a),r=t(1),l=t.n(r),o=t(0),c=t(495);function Checkbox(n){var t=n.onChange,a=n.id,r=n.name,l=n.value,s=n.checked,d=n.disabled,u=n.children,m=n.tabIndex,g=n.onKeyDown,p=n.loading,b=n.alignLeft,f=n.description,h=n.badge,v=h?e.createElement("div",{className:"mdc-checkbox__label-wrapper"},e.createElement("label",{htmlFor:a},u),h):e.createElement("label",{htmlFor:a},u);return e.createElement("div",{className:"mdc-form-field"},e.createElement("div",{className:i()("mdc-checkbox",{"mdc-checkbox--disabled":d,"mdc-checkbox--align-left":b})},p?e.createElement(c.a,{isSaving:!0,style:{margin:"0"}}):e.createElement(o.Fragment,null,e.createElement("input",{className:"mdc-checkbox__native-control",type:"checkbox",id:a,name:r,value:l,checked:s,disabled:d,onChange:t,tabIndex:m,onKeyDown:g}),e.createElement("div",{className:"mdc-checkbox__background"},e.createElement("svg",{className:"mdc-checkbox__checkmark",viewBox:"0 0 24 24"},e.createElement("path",{className:"mdc-checkbox__checkmark-path",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})),e.createElement("div",{className:"mdc-checkbox__mixedmark"})))),!f&&v,f&&e.createElement("div",{className:"mdc-checkbox__content"},v,e.createElement("div",{className:"mdc-checkbox__description"},f)))}Checkbox.propTypes={onChange:l.a.func.isRequired,onKeyDown:l.a.func,id:l.a.string.isRequired,name:l.a.string.isRequired,value:l.a.string.isRequired,checked:l.a.bool,disabled:l.a.bool,children:l.a.node.isRequired,tabIndex:l.a.oneOfType([l.a.number,l.a.string]),loading:l.a.bool,alignLeft:l.a.bool,description:l.a.node,badge:l.a.node},Checkbox.defaultProps={checked:!1,disabled:!1,tabIndex:void 0,onKeyDown:null,loading:!1,alignLeft:!1,description:""}}).call(this,t(4))},1032:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Chip}));var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(156),c=t(12),s=t.n(c),d=t(1),u=t.n(d);function Chip(n){var t=n.id,a=n.label,r=n.onClick,c=n.selected,d=n.className,u=l()(n,["id","label","onClick","selected","className"]);return e.createElement(o.Chip,i()({chipCheckmark:e.createElement(o.ChipCheckmark,null),"data-chip-id":t,id:t,label:a,onClick:r,selected:c,className:s()("googlesitekit-chip",d)},u))}Chip.propTypes={id:u.a.string.isRequired,label:u.a.string.isRequired,onClick:u.a.func,selected:u.a.bool,className:u.a.string}}).call(this,t(4))},1033:function(e,n,t){"use strict";(function(e){var a=t(15),i=t.n(a),r=t(12),l=t.n(r),o=t(1),c=t.n(o),s=t(387),d=t(0),u=t(17),m=Object(d.forwardRef)((function(n,t){var a=n.children,r=n.className,o=n.menuOpen,c=n.menuItems,m=n.onSelected,g=n.nonInteractive,p=n.id,b=Object(d.useState)(null),f=i()(b,2),h=f[0],v=f[1],_=Object(d.useRef)(null),y=Object(s.a)(t,_),k=Object(d.useCallback)((function(e){var n=e.detail.index;m(n,e)}),[m]);return Object(d.useEffect)((function(){if(null==_?void 0:_.current){var e=new u.g(_.current);return e.listen("MDCMenu:selected",k),e.quickOpen=!0,v(e),function(){e.unlisten("MDCMenu:selected",k),e.destroy()}}}),[_,k,g]),Object(d.useEffect)((function(){h&&(h.open=o,h.setDefaultFocusState(1))}),[h,o]),e.createElement("div",{className:l()("mdc-menu","mdc-menu-surface",r),ref:y},e.createElement("ul",{"aria-hidden":!o,"aria-orientation":"vertical",className:l()("mdc-list",{"mdc-list--non-interactive":g}),id:p,role:"menu",tabIndex:"-1"},!a&&c.map((function(n,t){return e.createElement("li",{key:t,className:"mdc-list-item",role:"menuitem"},e.createElement("span",{className:"mdc-list-item__text"},n))})),a))}));m.displayName="Menu",m.propTypes={className:c.a.string,children:c.a.node,menuOpen:c.a.bool.isRequired,menuItems:c.a.array,id:c.a.string.isRequired,onSelected:c.a.func,nonInteractive:c.a.bool},m.defaultProps={onSelected:function(){},nonInteractive:!1},n.a=m}).call(this,t(4))},1034:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return ProgressBar}));var a=t(1),i=t.n(a),r=t(12),l=t.n(r),o=t(25),c=t(11),s=t.n(c);function ProgressBar(n){var t,a=n.className,i=n.small,r=n.compress,c=n.indeterminate,d=n.height,u=n.smallHeight,m=n.tabletHeight,g=n.desktopHeight,p=n.progress,b=Object(o.e)(),f=d;o.b===b&&void 0!==u?f=u:o.c===b&&void 0!==m?f=m:o.d!==b&&o.a!==b||void 0===g||(f=g),void 0!==f&&(s()(f>=4,"height must be >= 4."),t=Math.round((f-4)/2));var h=p?"scaleX(".concat(p,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:t,marginBottom:t},className:l()("mdc-linear-progress",a,{"mdc-linear-progress--indeterminate":c,"mdc-linear-progress--small":i,"mdc-linear-progress--compress":r})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:h}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:i.a.string,small:i.a.bool,compress:i.a.bool,indeterminate:i.a.bool,progress:i.a.number,height:i.a.number,smallHeight:i.a.number,tabletHeight:i.a.number,desktopHeight:i.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,t(4))},1035:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Radio}));var a=t(1),i=t.n(a),r=t(12),l=t.n(r),o=t(0),c=t(17);function Radio(n){var t=n.id,a=n.name,i=n.value,r=n.checked,s=void 0!==r&&r,d=n.disabled,u=void 0!==d&&d,m=n.children,g=n.tabIndex,p=n.onKeyDown,b=void 0===p?null:p,f=n.onClick,h=void 0===f?null:f,v=n.onChange,_=void 0===v?null:v,y=n.alignLeft,k=void 0!==y&&y,N=n.description,O=Object(o.useCallback)((function(e){if(null!==e){var n=new c.f(e),t=e.querySelector(".mdc-radio");t&&(n.input=new c.h(t))}}),[]);return e.createElement("div",{className:"mdc-form-field",ref:O},e.createElement("div",{className:l()("mdc-radio",{"mdc-radio--disabled":u,"mdc-radio--align-left":k})},e.createElement("input",{className:"mdc-radio__native-control",onClick:h,onKeyDown:b,type:"radio",id:t,name:a,value:i,checked:s,disabled:u,tabIndex:g,onChange:_,readOnly:!0}),e.createElement("div",{className:"mdc-radio__background"},e.createElement("div",{className:"mdc-radio__outer-circle"}),e.createElement("div",{className:"mdc-radio__inner-circle"}))),!N&&e.createElement("label",{htmlFor:t},m),N&&e.createElement("div",{className:"mdc-radio__content"},e.createElement("label",{htmlFor:t},m),e.createElement("div",{className:"mdc-radio__description"},N)))}Radio.propTypes={onClick:i.a.func,onKeyDown:i.a.func,onChange:i.a.func,id:i.a.string.isRequired,name:i.a.string.isRequired,value:i.a.string.isRequired,checked:i.a.bool,disabled:i.a.bool,children:i.a.string.isRequired,tabIndex:i.a.oneOfType([i.a.number,i.a.string]),description:i.a.node}}).call(this,t(4))},1036:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Select}));var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(770),c=t.n(o),s=t(200);function Select(n){var t=n.id,a=l()(n,["id"]),r=Object(s.a)(Select,"googlesitekit-select");return e.createElement(c.a,i()({id:t||r},a))}}).call(this,t(4))},1037:function(e,n,t){"use strict";(function(e){var a=t(1),i=t.n(a),r=t(12),l=t.n(r),o=t(200),c=t(0),s=t(56),d=t(17);function Switch(n){var t=n.onClick,a=n.label,i=n.checked,r=n.disabled,u=n.hideLabel,m=Object(o.a)(Switch),g=Object(c.useCallback)((function(e){null!==e&&d.j.attachTo(e)}),[]),p=Object(c.useCallback)((function(e){"function"==typeof t&&s.b===e.keyCode&&t(e)}),[t]),b="googlesitekit-switch-".concat(m);return e.createElement(c.Fragment,null,e.createElement("div",{"aria-checked":i?"true":"false",className:l()("mdc-switch",{"mdc-switch--checked":i,"mdc-switch--disabled":r}),onClick:t,onKeyDown:p,role:"switch",ref:g,tabIndex:0},e.createElement("div",{className:"mdc-switch__track"}," "),e.createElement("div",{className:"mdc-switch__thumb-underlay"},e.createElement("div",{className:"mdc-switch__thumb"},e.createElement("input",{type:"checkbox",id:b,className:"mdc-switch__native-control",role:"switch",checked:i,disabled:r,readOnly:!0})))),e.createElement("label",{className:l()({"screen-reader-only":u}),htmlFor:b},a))}Switch.propTypes={id:i.a.string,onClick:i.a.func,label:i.a.node.isRequired,checked:i.a.bool,disabled:i.a.bool,hideLabel:i.a.bool},Switch.defaultProps={checked:!1,disabled:!1,hideLabel:!0},n.a=Switch}).call(this,t(4))},104:function(e,n,t){"use strict";var a=t(123);t.d(n,"a",(function(){return a.a}));var i=t(124);t.d(n,"c",(function(){return i.a}));var r=t(125);t.d(n,"b",(function(){return r.a}))},1213:function(e,n,t){"use strict";t.r(n),function(e){t.d(n,"Button",(function(){return i})),t.d(n,"Checkbox",(function(){return r})),t.d(n,"Chip",(function(){return l})),t.d(n,"CircularProgress",(function(){return o})),t.d(n,"Dialog",(function(){return c})),t.d(n,"DialogTitle",(function(){return s})),t.d(n,"DialogContent",(function(){return d})),t.d(n,"DialogFooter",(function(){return u})),t.d(n,"Menu",(function(){return m})),t.d(n,"Option",(function(){return g})),t.d(n,"ProgressBar",(function(){return p})),t.d(n,"Radio",(function(){return b})),t.d(n,"Select",(function(){return f})),t.d(n,"SpinnerButton",(function(){return h})),t.d(n,"Switch",(function(){return v})),t.d(n,"Tab",(function(){return _})),t.d(n,"TabBar",(function(){return y})),t.d(n,"TextField",(function(){return k})),t.d(n,"HelperText",(function(){return N})),t.d(n,"Tooltip",(function(){return O}));var a=t(273);void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.components=a.a;var i=a.a.Button,r=a.a.Checkbox,l=a.a.Chip,o=a.a.CircularProgress,c=a.a.Dialog,s=a.a.DialogTitle,d=a.a.DialogContent,u=a.a.DialogFooter,m=a.a.Menu,g=a.a.Option,p=a.a.ProgressBar,b=a.a.Radio,f=a.a.Select,h=a.a.SpinnerButton,v=a.a.Switch,_=a.a.Tab,y=a.a.TabBar,k=a.a.TextField,N=a.a.HelperText,O=a.a.Tooltip}.call(this,t(26))},123:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Cell}));var a=t(21),i=t.n(a),r=t(7),l=t.n(r),o=t(23),c=t.n(o),s=t(1),d=t.n(s),u=t(12),m=t.n(u);function Cell(n){var t,a=n.className,r=n.alignTop,o=n.alignMiddle,s=n.alignBottom,d=n.alignRight,u=n.alignLeft,g=n.smAlignRight,p=n.mdAlignRight,b=n.lgAlignRight,f=n.smSize,h=n.smStart,v=n.smOrder,_=n.mdSize,y=n.mdStart,k=n.mdOrder,N=n.lgSize,O=n.lgStart,E=n.lgOrder,T=n.size,C=n.children,S=c()(n,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},S,{className:m()(a,"mdc-layout-grid__cell",(t={"mdc-layout-grid__cell--align-top":r,"mdc-layout-grid__cell--align-middle":o,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":d,"mdc-layout-grid__cell--align-left":u,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":b},l()(t,"mdc-layout-grid__cell--span-".concat(T),12>=T&&T>0),l()(t,"mdc-layout-grid__cell--span-".concat(N,"-desktop"),12>=N&&N>0),l()(t,"mdc-layout-grid__cell--start-".concat(O,"-desktop"),12>=O&&O>0),l()(t,"mdc-layout-grid__cell--order-".concat(E,"-desktop"),12>=E&&E>0),l()(t,"mdc-layout-grid__cell--span-".concat(_,"-tablet"),8>=_&&_>0),l()(t,"mdc-layout-grid__cell--start-".concat(y,"-tablet"),8>=y&&y>0),l()(t,"mdc-layout-grid__cell--order-".concat(k,"-tablet"),8>=k&&k>0),l()(t,"mdc-layout-grid__cell--span-".concat(f,"-phone"),4>=f&&f>0),l()(t,"mdc-layout-grid__cell--start-".concat(h,"-phone"),4>=h&&h>0),l()(t,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),t))}),C)}Cell.propTypes={smSize:d.a.number,smStart:d.a.number,smOrder:d.a.number,mdSize:d.a.number,mdStart:d.a.number,mdOrder:d.a.number,lgSize:d.a.number,lgStart:d.a.number,lgOrder:d.a.number,size:d.a.number,alignTop:d.a.bool,alignMiddle:d.a.bool,alignBottom:d.a.bool,alignRight:d.a.bool,alignLeft:d.a.bool,smAlignRight:d.a.bool,mdAlignRight:d.a.bool,lgAlignRight:d.a.bool,className:d.a.string,children:d.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,t(4))},124:function(e,n,t){"use strict";(function(e){var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(1),c=t.n(o),s=t(12),d=t.n(s),u=t(0),m=Object(u.forwardRef)((function(n,t){var a=n.className,r=n.children,o=l()(n,["className","children"]);return e.createElement("div",i()({ref:t,className:d()("mdc-layout-grid__inner",a)},o),r)}));m.displayName="Row",m.propTypes={className:c.a.string,children:c.a.node},m.defaultProps={className:""},n.a=m}).call(this,t(4))},125:function(e,n,t){"use strict";(function(e){var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(1),c=t.n(o),s=t(12),d=t.n(s),u=t(0),m=Object(u.forwardRef)((function(n,t){var a=n.alignLeft,r=n.fill,o=n.className,c=n.children,s=n.collapsed,u=l()(n,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:d()("mdc-layout-grid",o,{"mdc-layout-grid--align-left":a,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":r})},u,{ref:t}),c)}));m.displayName="Grid",m.propTypes={alignLeft:c.a.bool,fill:c.a.bool,className:c.a.string,collapsed:c.a.bool,children:c.a.node},m.defaultProps={className:""},n.a=m}).call(this,t(4))},17:function(e,n,t){"use strict";var a=t(245);t.d(n,"i",(function(){return a.a}));var i=t(309);t.d(n,"f",(function(){return i.a}));var r=t(310);t.d(n,"h",(function(){return r.a}));var l=t(311);t.d(n,"j",(function(){return l.a}));var o=t(308);t.d(n,"g",(function(){return o.a}));var c=t(90),s=t.n(c);t.d(n,"b",(function(){return s.a})),t.d(n,"c",(function(){return c.DialogContent})),t.d(n,"d",(function(){return c.DialogFooter}));var d=t(104);t.d(n,"a",(function(){return d.a})),t.d(n,"e",(function(){return d.b})),t.d(n,"k",(function(){return d.c}))},2:function(e,n){e.exports=googlesitekit.i18n},246:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return SpinnerButton}));var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(1),c=t.n(o),s=t(12),d=t.n(s),u=t(313),m=t(247),g={BEFORE:"before",AFTER:"after"};function SpinnerButton(n){var t=n.className,a=n.onClick,r=void 0===a?function(){}:a,o=n.isSaving,c=void 0!==o&&o,s=n.spinnerPosition,p=void 0===s?g.AFTER:s,b=l()(n,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(u.a,i()({className:d()(t,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":c,"googlesitekit-button-icon--spinner__before":p===g.BEFORE,"googlesitekit-button-icon--spinner__after":p===g.AFTER}),icon:c&&p===g.BEFORE?e.createElement(m.a,{size:14}):void 0,trailingIcon:c&&p===g.AFTER?e.createElement(m.a,{size:14}):void 0,onClick:r},b))}SpinnerButton.propTypes={className:c.a.string,onClick:c.a.func,isSaving:c.a.bool,spinnerPosition:c.a.oneOf(Object.values(g))}}).call(this,t(4))},247:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return CircularProgress}));var a=t(627);function CircularProgress(n){return e.createElement(a.a,n)}}).call(this,t(4))},25:function(e,n,t){"use strict";t.d(n,"d",(function(){return i})),t.d(n,"a",(function(){return r})),t.d(n,"c",(function(){return l})),t.d(n,"b",(function(){return o})),t.d(n,"e",(function(){return c}));var a=t(79),i="xlarge",r="desktop",l="tablet",o="small";function c(){var e=Object(a.a)();return e>1280?i:e>960?r:e>600?l:o}},273:function(e,n,t){"use strict";var a=t(90),i=t.n(a),r=t(770),l=t(800),o=t.n(l),c=t(1030),s=t.n(c),d=t(313),u=t(1031),m=t(1032),g=t(247),p=t(1033),b=t(1034),f=t(1035),h=t(1036),v=t(246),_=t(1037),y=t(809),k=t(314),N={Button:d.a,Checkbox:u.a,Chip:m.a,CircularProgress:g.a,Dialog:i.a,DialogTitle:a.DialogTitle,DialogContent:a.DialogContent,DialogFooter:a.DialogFooter,HelperText:y.a,Menu:p.a,Option:r.Option,ProgressBar:b.a,Radio:f.a,Select:h.a,SpinnerButton:v.b,SPINNER_POSITION:v.a,Switch:_.a,Tab:o.a,TabBar:s.a,TextField:y.b,Tooltip:k.a};n.a=N},313:function(e,n,t){"use strict";(function(e){var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(12),c=t.n(o),s=t(1),d=t.n(s),u=t(387),m=t(0),g=t(2),p=t(17),b=t(314),f=Object(m.forwardRef)((function(n,t){var a=n.children,r=n.href,o=n.text,s=n.className,d=n.danger,f=n.disabled,h=n.target,v=n.icon,_=n.trailingIcon,y=n["aria-label"],k=n.title,N=n.customizedTooltip,O=n.tooltip,E=n.inverse,T=n.hideTooltipTitle,C=void 0!==T&&T,S=n.tooltipEnterDelayInMS,x=void 0===S?100:S,w=n.tertiary,R=void 0!==w&&w,D=n.callout,j=n.calloutStyle,I=l()(n,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),P=Object(m.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),B=Object(u.a)(t,P),F=r&&!f?"a":"button",z=e.createElement(F,i()({className:c()("mdc-button",s,{"mdc-button--raised":!o&&!R&&!D,"mdc-button--danger":d,"mdc-button--inverse":E,"mdc-button--tertiary":R,"mdc-button--callout":D,"mdc-button--callout-primary":D||"primary"===j,"mdc-button--callout-warning":"warning"===j,"mdc-button--callout-error":"error"===j}),href:f?void 0:r,ref:B,disabled:!!f,"aria-label":function(){var e=y;if("_blank"!==h)return e;var n=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof a&&(e=e||a),e?"".concat(e," ").concat(n):n}(),target:h||"_self",role:"a"===F?"button":void 0},I),v,a&&e.createElement("span",{className:"mdc-button__label"},a),_),L=C?null:k||N||y;return!f&&(O&&L||v&&L&&void 0===a)?e.createElement(b.a,{title:L,enterDelay:x},z):z}));f.displayName="Button",f.propTypes={onClick:d.a.func,children:d.a.node,href:d.a.string,text:d.a.bool,className:d.a.string,danger:d.a.bool,disabled:d.a.bool,icon:d.a.element,trailingIcon:d.a.element,title:d.a.string,customizedTooltip:d.a.element,tooltip:d.a.bool,inverse:d.a.bool,hideTooltipTitle:d.a.bool,callout:d.a.bool,calloutStyle:d.a.oneOf(["primary","warning","error"])},f.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},n.a=f}).call(this,t(4))},314:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return Tooltip}));var a=t(21),i=t.n(a),r=t(23),l=t.n(r),o=t(1),c=t.n(o),s=t(12),d=t.n(s),u=t(628),m=t(0);function Tooltip(n){var t=n.children,a=n.popperClassName,r=n.tooltipClassName,o=n.onOpen,c=n.onClose,s=l()(n,["children","popperClassName","tooltipClassName","onOpen","onClose"]),g=Object(m.useRef)(!1),p=o?function(){g.current||(g.current=!0,null==o||o())}:void 0,b=o?function(){g.current=!1,null==c||c()}:c;return e.createElement(u.a,i()({classes:{popper:d()("googlesitekit-tooltip-popper",a),tooltip:d()("googlesitekit-tooltip",r)},arrow:!0,onOpen:p,onClose:b},s),t)}Tooltip.propTypes={children:c.a.node,popperClassName:c.a.string,tooltipClassName:c.a.string,onOpen:c.a.func,onClose:c.a.func}}).call(this,t(4))},495:function(e,n,t){"use strict";(function(e){var a=t(7),i=t.n(a),r=t(1),l=t.n(r);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){i()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Spinner(n){var t=n.isSaving,a=n.style,i=void 0===a?{}:a;return e.createElement("span",{className:"spinner",style:c({display:t?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:l.a.bool,style:l.a.object},n.a=Spinner}).call(this,t(4))},809:function(e,n,t){"use strict";(function(e){var a=t(1),i=t.n(a),r=t(711),l=t.n(r);t.d(n,"a",(function(){return r.HelperText}));var o=t(200);function TextField(n){var t=n.className,a=n.name,i=n.label,c=n.noLabel,s=n.outlined,d=n.textarea,u=n.leadingIcon,m=n.trailingIcon,g=n.helperText,p=n.id,b=n.inputType,f=n.value,h=n.size,v=n.maxLength,_=n.tabIndex,y=n.disabled,k=n.onChange,N=n.onKeyDown,O=Object(o.a)(TextField,"googlesitekit-textfield");return e.createElement(l.a,{className:t,name:a,label:i,noLabel:c,outlined:s,textarea:d,leadingIcon:u,trailingIcon:m,helperText:g&&e.createElement(r.HelperText,{persistent:!0},g)},e.createElement(r.Input,{id:p||O,inputType:b,value:f,size:h,maxLength:v,tabIndex:_,disabled:y,onChange:k,onKeyDown:N}))}TextField.propTypes={className:i.a.string,name:i.a.string,label:i.a.string,noLabel:i.a.bool,outlined:i.a.bool,textarea:i.a.bool,leadingIcon:i.a.element,trailingIcon:i.a.oneOfType([i.a.bool,i.a.element]),helperText:i.a.oneOfType([i.a.bool,i.a.string]),id:i.a.string,inputType:i.a.string,value:i.a.oneOfType([i.a.string,i.a.number]),size:i.a.number,maxLength:i.a.number,tabIndex:i.a.oneOfType([i.a.number,i.a.string]),disabled:i.a.bool,onChange:i.a.func,onKeyDown:i.a.func},n.b=TextField}).call(this,t(4))}},[[1213,1,0]]]); dist/assets/js/googlesitekit-components-gm3-6f888313ed0d8623cf0e.js 0000604 00000127404 14717744000 0020341 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[7],{1038:function(e,r,t){"use strict";(function(e){t.d(r,"a",(function(){return Checkbox}));var o=t(1148),n=t(1151),a=t(1),c=t.n(a),i=t(12),s=t.n(i),l=t(0),d=t(4),u=t(1039),h=t(495),p=l.useCallback,v=l.useEffect,f=l.useRef,b=Object(n.a)({tagName:"md-checkbox",elementClass:o.a,react:d,events:{onKeyDown:"keydown",onChange:"change"}});function Checkbox(r){var t=r.onChange,o=r.id,n=r.name,a=r.value,c=r.checked,i=r.disabled,l=r.children,d=r.tabIndex,m=r.onKeyDown,y=r.loading,k=r.alignLeft,_=r.description,g=f(null),x=p((function(){var e=g.current;if(e){e.checked=c;var r=e.shadowRoot.querySelector("input");r&&(r.checked=c)}}),[c]);v((function(){x()}),[x]);var w="".concat(o,"-label");return e.createElement("div",{className:s()("googlesitekit-component-gm3_checkbox",{"googlesitekit-component-gm3_checkbox--align-left":k})},y&&e.createElement("div",{className:"googlesitekit-component-gm3_checkbox--loading"},e.createElement(h.a,{isSaving:!0})),!y&&e.createElement(b,{id:o,ref:g,"aria-label":Object(u.a)(l),"aria-labelledby":w,checked:c||null,disabled:i||null,name:n,value:a,tabIndex:d,onChange:function(e){null==t||t(e),x()},onKeyDown:m}),!_&&e.createElement("label",{id:w,htmlFor:o},l),_&&e.createElement("div",{className:"googlesitekit-component-gm3_checkbox__content"},e.createElement("label",{id:w,htmlFor:o},l),e.createElement("div",{className:"googlesitekit-component-gm3_checkbox__description"},_)))}Checkbox.propTypes={onChange:c.a.func.isRequired,onKeyDown:c.a.func,id:c.a.string.isRequired,name:c.a.string.isRequired,value:c.a.string.isRequired,checked:c.a.bool,disabled:c.a.bool,children:c.a.node.isRequired,tabIndex:c.a.oneOfType([c.a.number,c.a.string]),loading:c.a.bool,alignLeft:c.a.bool,description:c.a.node},Checkbox.defaultProps={checked:!1,disabled:!1,tabIndex:void 0,onKeyDown:null,loading:!1,alignLeft:!1,description:""}}).call(this,t(4))},1039:function(e,r,t){"use strict";t.d(r,"a",(function(){return c}));var o=t(27),n=t.n(o),a=t(0);function c(e){return function e(r){var t=[];return a.Children.map(r,(function(r){r&&(Object(a.isValidElement)(r)?t.push.apply(t,n()(e(r.props.children))):t.push(r.toString()))})),t}(e).map((function(e){return e.trim()})).filter((function(e){return e.length})).join(" ")}},1148:function(e,r,t){"use strict";t.d(r,"a",(function(){return ue}));var o=t(50),n=t.n(o),a=t(69),c=t.n(a),i=t(70),s=t.n(i),l=t(49),d=t.n(l),u=t(33),h=t.n(u);function __decorate(e,r,t,o){var n,a=arguments.length,c=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"===("undefined"==typeof Reflect?"undefined":h()(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,r,t,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(a<3?n(c):a>3?n(r,t,c):n(r,t))||c);return a>3&&c&&Object.defineProperty(r,t,c),c}Object.create;Object.create;var p=t(216),v=t(266),f=t.n(v),b=t(587),m=t.n(b),y=t(51),k=t.n(y),_=t(267);function g(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var x=function(e){c()(FocusRing,e);var r=g(FocusRing);function FocusRing(){var e;return n()(this,FocusRing),(e=r.apply(this,arguments)).visible=!1,e.inward=!1,e.htmlFor=null,e.currentControl=null,e}return k()(FocusRing,[{key:"attach",value:function(e){e!==this.currentControl&&(this.setCurrentControl(e),this.removeAttribute("for"))}},{key:"detach",value:function(){this.setCurrentControl(null),this.setAttribute("for","")}},{key:"connectedCallback",value:function(){m()(d()(FocusRing.prototype),"connectedCallback",this).call(this),this.setCurrentControl(this.control)}},{key:"disconnectedCallback",value:function(){m()(d()(FocusRing.prototype),"disconnectedCallback",this).call(this),this.setCurrentControl(null)}},{key:"updated",value:function(e){if(e.has("htmlFor")){var r=this.control;r&&this.setCurrentControl(r)}}},{key:"handleEvent",value:function(e){var r,t;if(!e[w]){switch(e.type){default:return;case"focusin":this.visible=null!==(r=null===(t=this.control)||void 0===t?void 0:t.matches(":focus-visible"))&&void 0!==r&&r;break;case"focusout":case"pointerdown":this.visible=!1}e[w]=!0}}},{key:"setCurrentControl",value:function(e){for(var r=0,t=["focusin","focusout","pointerdown"];r<t.length;r++){var o,n=t[r];null===(o=this.currentControl)||void 0===o||o.removeEventListener(n,this),null==e||e.addEventListener(n,this)}this.currentControl=e}},{key:"control",get:function(){return this.hasAttribute("for")?this.htmlFor?this.getRootNode().querySelector("#".concat(this.htmlFor)):null:this.currentControl||this.parentElement}}]),FocusRing}(_.a);__decorate([Object(p.b)({type:Boolean,reflect:!0})],x.prototype,"visible",void 0),__decorate([Object(p.b)({type:Boolean,reflect:!0})],x.prototype,"inward",void 0),__decorate([Object(p.b)({attribute:"for",reflect:!0})],x.prototype,"htmlFor",void 0);var w=Symbol("handledByFocusRing");function C(){var e=f()([":host{--_active-width: var(--md-focus-ring-active-width, 8px);--_color: var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));--_duration: var(--md-focus-ring-duration, 600ms);--_inward-offset: var(--md-focus-ring-inward-offset, 0px);--_outward-offset: var(--md-focus-ring-outward-offset, 2px);--_shape: var(--md-focus-ring-shape, 9999px);--_width: var(--md-focus-ring-width, 3px);--_shape-start-start: var(--md-focus-ring-shape-start-start, var(--_shape));--_shape-start-end: var(--md-focus-ring-shape-start-end, var(--_shape));--_shape-end-end: var(--md-focus-ring-shape-end-end, var(--_shape));--_shape-end-start: var(--md-focus-ring-shape-end-start, var(--_shape));animation-delay:0s,calc(var(--_duration)*.25);animation-duration:calc(var(--_duration)*.25),calc(var(--_duration)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--_color);display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--_shape-end-end) + var(--_outward-offset));border-end-start-radius:calc(var(--_shape-end-start) + var(--_outward-offset));border-start-end-radius:calc(var(--_shape-start-end) + var(--_outward-offset));border-start-start-radius:calc(var(--_shape-start-start) + var(--_outward-offset));inset:calc(-1*(var(--_outward-offset)));outline:var(--_width) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--_shape-end-end) - var(--_inward-offset));border-end-start-radius:calc(var(--_shape-end-start) - var(--_inward-offset));border-start-end-radius:calc(var(--_shape-start-end) - var(--_inward-offset));border-start-start-radius:calc(var(--_shape-start-start) - var(--_inward-offset));border:var(--_width) solid currentColor;inset:var(--_inward-offset)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--_active-width)}}@keyframes outward-shrink{from{outline-width:var(--_active-width)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--_active-width)}}@keyframes inward-shrink{from{border-width:var(--_active-width)}}@media(prefers-reduced-motion){:host{animation:none}}/*# sourceMappingURL=focus-ring-styles.css.map */\n"]);return C=function(){return e},e}var R=Object(_.b)(C());function O(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var T=function(e){c()(MdFocusRing,e);var r=O(MdFocusRing);function MdFocusRing(){return n()(this,MdFocusRing),r.apply(this,arguments)}return MdFocusRing}(x);T.styles=[R],T=__decorate([Object(p.a)("md-focus-ring")],T);var P=t(5),E=t.n(P),S=t(16),j=t.n(S),I=t(775),D="cubic-bezier(0.2, 0, 0, 1)";function A(){var e=f()(['<div class="surface ','"></div>']);return A=function(){return e},e}function B(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var z;!function(e){e[e.INACTIVE=0]="INACTIVE",e[e.TOUCH_DELAY=1]="TOUCH_DELAY",e[e.HOLDING=2]="HOLDING",e[e.WAITING_FOR_CLICK=3]="WAITING_FOR_CLICK"}(z||(z={}));var M=function(e){c()(Ripple,e);var r,t,o=B(Ripple);function Ripple(){var e;return n()(this,Ripple),(e=o.apply(this,arguments)).unbounded=!1,e.disabled=!1,e.hovered=!1,e.focused=!1,e.pressed=!1,e.rippleSize="",e.rippleScale="",e.initialSize=0,e.state=z.INACTIVE,e.checkBoundsAfterContextMenu=!1,e}return k()(Ripple,[{key:"handlePointerenter",value:function(e){this.shouldReactToEvent(e)&&(this.hovered=!0)}},{key:"handlePointerleave",value:function(e){this.shouldReactToEvent(e)&&(this.hovered=!1,this.state!==z.INACTIVE&&this.endPressAnimation())}},{key:"handleFocusin",value:function(){this.focused=!0}},{key:"handleFocusout",value:function(){this.focused=!1}},{key:"handlePointerup",value:function(e){if(this.shouldReactToEvent(e)){if(this.state!==z.HOLDING)return this.state===z.TOUCH_DELAY?(this.state=z.WAITING_FOR_CLICK,void this.startPressAnimation(this.rippleStartEvent)):void 0;this.state=z.WAITING_FOR_CLICK}}},{key:"handlePointerdown",value:(t=j()(E.a.mark((function e(r){return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.shouldReactToEvent(r)){e.next=2;break}return e.abrupt("return");case 2:if(this.rippleStartEvent=r,this.isTouch(r)){e.next=7;break}return this.state=z.WAITING_FOR_CLICK,this.startPressAnimation(r),e.abrupt("return");case 7:if(!this.checkBoundsAfterContextMenu||this.inBounds(r)){e.next=9;break}return e.abrupt("return");case 9:return this.checkBoundsAfterContextMenu=!1,this.state=z.TOUCH_DELAY,e.next=13,new Promise((function(e){setTimeout(e,150)}));case 13:if(this.state===z.TOUCH_DELAY){e.next=15;break}return e.abrupt("return");case 15:this.state=z.HOLDING,this.startPressAnimation(r);case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"handleClick",value:function(){this.disabled||(this.state!==z.WAITING_FOR_CLICK?this.state===z.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation()):this.endPressAnimation())}},{key:"handlePointercancel",value:function(e){this.shouldReactToEvent(e)&&this.endPressAnimation()}},{key:"handleContextmenu",value:function(){this.disabled||(this.checkBoundsAfterContextMenu=!0,this.endPressAnimation())}},{key:"render",value:function(){var e={hovered:this.hovered,focused:this.focused,pressed:this.pressed,unbounded:this.unbounded};return Object(_.c)(A(),Object(I.a)(e))}},{key:"update",value:function(e){e.has("disabled")&&this.disabled&&(this.hovered=!1,this.focused=!1,this.pressed=!1),m()(d()(Ripple.prototype),"update",this).call(this,e)}},{key:"getDimensions",value:function(){var e;return(null!==(e=this.parentElement)&&void 0!==e?e:this).getBoundingClientRect()}},{key:"determineRippleSize",value:function(){var e,r=this.getDimensions(),t=r.height,o=r.width,n=Math.max(t,o),a=Math.max(.35*n,75),c=Math.floor(.2*n);e=Math.sqrt(Math.pow(o,2)+Math.pow(t,2))+10,this.unbounded&&(c-=c%2),this.initialSize=c,this.rippleScale="".concat((e+a)/c),this.rippleSize="".concat(this.initialSize,"px")}},{key:"getNormalizedPointerEventCoords",value:function(e){var r=window,t=r.scrollX,o=r.scrollY,n=this.getDimensions(),a=t+n.left,c=o+n.top;return{x:e.pageX-a,y:e.pageY-c}}},{key:"getTranslationCoordinates",value:function(e){var r,t=this.getDimensions(),o=t.height,n=t.width,a={x:(n-this.initialSize)/2,y:(o-this.initialSize)/2};return{startPoint:r={x:(r=e instanceof PointerEvent?this.getNormalizedPointerEventCoords(e):{x:n/2,y:o/2}).x-this.initialSize/2,y:r.y-this.initialSize/2},endPoint:a}}},{key:"startPressAnimation",value:function(e){var r;if(this.mdRoot){this.pressed=!0,null===(r=this.growAnimation)||void 0===r||r.cancel(),this.determineRippleSize();var t=this.getTranslationCoordinates(e),o=t.startPoint,n=t.endPoint,a="".concat(o.x,"px, ").concat(o.y,"px"),c="".concat(n.x,"px, ").concat(n.y,"px");this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:["translate(".concat(a,") scale(1)"),"translate(".concat(c,") scale(").concat(this.rippleScale,")")]},{pseudoElement:"::after",duration:450,easing:D,fill:"forwards"})}}},{key:"endPressAnimation",value:(r=j()(E.a.mark((function e(){var r,t,o;return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=z.INACTIVE,t=this.growAnimation,!((o=null!==(r=null==t?void 0:t.currentTime)&&void 0!==r?r:1/0)>=225)){e.next=6;break}return this.pressed=!1,e.abrupt("return");case 6:return e.next=8,new Promise((function(e){setTimeout(e,225-o)}));case 8:if(this.growAnimation===t){e.next=10;break}return e.abrupt("return");case 10:this.pressed=!1;case 11:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"shouldReactToEvent",value:function(e){if(this.disabled||!e.isPrimary)return!1;if(this.rippleStartEvent&&this.rippleStartEvent.pointerId!==e.pointerId)return!1;if("pointerenter"===e.type||"pointerleave"===e.type)return!this.isTouch(e);var r=1===e.buttons;return this.isTouch(e)||r}},{key:"inBounds",value:function(e){var r=e.x,t=e.y,o=this.getBoundingClientRect(),n=o.top,a=o.left,c=o.bottom,i=o.right;return r>=a&&r<=i&&t>=n&&t<=c}},{key:"isTouch",value:function(e){return"touch"===e.pointerType}}]),Ripple}(_.a);function L(){var e=f()([':host{--_focus-color: var(--md-ripple-focus-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-opacity: var(--md-ripple-focus-opacity, 0.12);--_hover-color: var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-opacity: var(--md-ripple-hover-opacity, 0.08);--_pressed-color: var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20));--_pressed-opacity: var(--md-ripple-pressed-opacity, 0.12);display:flex}:host([disabled]){opacity:0}:host,.surface{border-radius:inherit;position:absolute;inset:0;pointer-events:none;overflow:hidden}.surface{outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{position:absolute;opacity:0;pointer-events:none;content:""}.surface::before{background-color:var(--_hover-color);transition:opacity 15ms linear,background-color 15ms linear;inset:0}.surface::after{background:radial-gradient(closest-side, var(--_pressed-color) max(100% - 70px, 65%), transparent 100%);transition:opacity 375ms linear;transform-origin:center center}.hovered::before{background-color:var(--_hover-color);opacity:var(--_hover-opacity)}.focused::before{background-color:var(--_focus-color);opacity:var(--_focus-opacity);transition-duration:75ms}.pressed::after{opacity:var(--_pressed-opacity);transition-duration:105ms}@media screen and (forced-colors: active){:host{display:none}}/*# sourceMappingURL=ripple-styles.css.map */\n']);return L=function(){return e},e}__decorate([Object(p.b)({type:Boolean,reflect:!0})],M.prototype,"unbounded",void 0),__decorate([Object(p.b)({type:Boolean,reflect:!0})],M.prototype,"disabled",void 0),__decorate([Object(p.e)()],M.prototype,"hovered",void 0),__decorate([Object(p.e)()],M.prototype,"focused",void 0),__decorate([Object(p.e)()],M.prototype,"pressed",void 0),__decorate([Object(p.c)(".surface")],M.prototype,"mdRoot",void 0);var F=Object(_.b)(L());function N(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var G=function(e){c()(MdRipple,e);var r=N(MdRipple);function MdRipple(){return n()(this,MdRipple),r.apply(this,arguments)}return MdRipple}(M);G.styles=[F],G=__decorate([Object(p.a)("md-ripple")],G);var H=t(1152),K=["ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText"];K.map(V);function V(e){return e.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}function U(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return q(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return q(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){i=!0,a=e},f:function(){try{c||null==t.return||t.return()}finally{if(i)throw a}}}}function q(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function Y(e){return e.currentTarget===e.target&&(e.composedPath()[0]===e.target&&(!e.target.disabled&&!function(e){var r=W;r&&(e.preventDefault(),e.stopImmediatePropagation());return function(){J.apply(this,arguments)}(),r}(e)))}var W=!1;function J(){return(J=j()(E.a.mark((function e(){return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W=!0,e.next=3,null;case 3:W=!1;case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var X=t(15),$=t.n(X),Q=t(784);function Z(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var ee=function(e){c()(RippleDirective,e);var r,t=Z(RippleDirective);function RippleDirective(e){var r;if(n()(this,RippleDirective),(r=t.call(this,e)).rippleGetter=j()(E.a.mark((function e(){return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)}))),e.type!==Q.b.ELEMENT)throw new Error("The `ripple` directive must be used on an element");return r}return k()(RippleDirective,[{key:"render",value:function(e){return _.e}},{key:"handleEvent",value:(r=j()(E.a.mark((function e(r){var t;return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.rippleGetter();case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:e.t0=r.type,e.next="click"===e.t0?8:"contextmenu"===e.t0?10:"pointercancel"===e.t0?12:"pointerdown"===e.t0?14:"pointerenter"===e.t0?17:"pointerleave"===e.t0?19:"pointerup"===e.t0?21:23;break;case 8:return t.handleClick(),e.abrupt("break",24);case 10:return t.handleContextmenu(),e.abrupt("break",24);case 12:return t.handlePointercancel(r),e.abrupt("break",24);case 14:return e.next=16,t.handlePointerdown(r);case 16:return e.abrupt("break",24);case 17:return t.handlePointerenter(r),e.abrupt("break",24);case 19:return t.handlePointerleave(r),e.abrupt("break",24);case 21:return t.handlePointerup(r),e.abrupt("break",24);case 23:return e.abrupt("break",24);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"update",value:function(e,r){var t=$()(r,1)[0];return this.element||(this.element=e.element,this.element.addEventListener("click",this),this.element.addEventListener("contextmenu",this),this.element.addEventListener("pointercancel",this),this.element.addEventListener("pointerdown",this),this.element.addEventListener("pointerenter",this),this.element.addEventListener("pointerleave",this),this.element.addEventListener("pointerup",this)),this.rippleGetter="function"==typeof t?t:function(){return t},_.e}}]),RippleDirective}(Q.a),re=Object(Q.c)(ee);function te(){var e=f()(['\n <div class="container ','">\n <div class="outline"></div>\n <div class="background"></div>\n <md-focus-ring for="input"></md-focus-ring>\n ','\n <svg class="icon" viewBox="0 0 18 18">\n <rect class="mark short" />\n <rect class="mark long" />\n </svg>\n </div>\n <input type="checkbox"\n id="input"\n aria-checked=',"\n aria-label=","\n ?disabled=","\n .indeterminate=","\n .checked=","\n @change=","\n ","\n >\n "]);return te=function(){return e},e}function oe(){var e=f()(["<md-ripple ?disabled="," unbounded></md-ripple>"]);return oe=function(){return e},e}function ne(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var ae=function(e){c()(Checkbox,e);var r=ne(Checkbox);function Checkbox(){var e;return n()(this,Checkbox),(e=r.call(this)).checked=!1,e.disabled=!1,e.error=!1,e.indeterminate=!1,e.value="on",e.prevChecked=!1,e.prevDisabled=!1,e.prevIndeterminate=!1,e.showRipple=!1,e.internals=e.attachInternals(),e.getRipple=function(){return e.showRipple=!0,e.ripple},e.renderRipple=function(){return Object(_.c)(oe(),e.disabled)},_.d||e.addEventListener("click",(function(r){Y(r)&&(e.focus(),function(e){var r=new MouseEvent("click",{bubbles:!0});e.dispatchEvent(r)}(e.input))})),e}return k()(Checkbox,[{key:"name",get:function(){var e;return null!==(e=this.getAttribute("name"))&&void 0!==e?e:""},set:function(e){this.setAttribute("name",e)}},{key:"form",get:function(){return this.internals.form}},{key:"labels",get:function(){return this.internals.labels}}],[{key:"formAssociated",get:function(){return!0}}]),k()(Checkbox,[{key:"focus",value:function(){var e;null===(e=this.input)||void 0===e||e.focus()}},{key:"update",value:function(e){var r,t,o;(e.has("checked")||e.has("disabled")||e.has("indeterminate"))&&(this.prevChecked=null!==(r=e.get("checked"))&&void 0!==r?r:this.checked,this.prevDisabled=null!==(t=e.get("disabled"))&&void 0!==t?t:this.disabled,this.prevIndeterminate=null!==(o=e.get("indeterminate"))&&void 0!==o?o:this.indeterminate);var n=this.checked&&!this.indeterminate,a=String(this.checked);this.internals.setFormValue(n?this.value:null,a),m()(d()(Checkbox.prototype),"update",this).call(this,e)}},{key:"render",value:function(){var e=!this.prevChecked&&!this.prevIndeterminate,r=this.prevChecked&&!this.prevIndeterminate,t=this.prevIndeterminate,o=this.checked&&!this.indeterminate,n=this.indeterminate,a=Object(I.a)({selected:o||n,unselected:!o&&!n,checked:o,indeterminate:n,error:this.error&&!this.disabled,"prev-unselected":e,"prev-checked":r,"prev-indeterminate":t,"prev-disabled":this.prevDisabled}),c=this.ariaLabel;return Object(_.c)(te(),a,Object(H.a)(this.showRipple,this.renderRipple),n?"mixed":_.f,c||_.f,this.disabled,this.indeterminate,this.checked,this.handleChange,re(this.getRipple))}},{key:"handleChange",value:function(e){var r=e.target;this.checked=r.checked,this.indeterminate=r.indeterminate,function(e,r){!r.bubbles||e.shadowRoot&&!r.composed||r.stopPropagation();var t=Reflect.construct(r.constructor,[r.type,r]),o=e.dispatchEvent(t);o||r.preventDefault()}(this,e)}},{key:"formResetCallback",value:function(){this.checked=this.hasAttribute("checked")}},{key:"formStateRestoreCallback",value:function(e){this.checked="true"===e}}]),Checkbox}(_.a);function ce(){var e=f()([":host{--_container-shape: var(--md-checkbox-container-shape, 2px);--_container-size: var(--md-checkbox-container-size, 18px);--_error-focus-state-layer-color: var(--md-checkbox-error-focus-state-layer-color, var(--md-sys-color-error, #b3261e));--_error-focus-state-layer-opacity: var(--md-checkbox-error-focus-state-layer-opacity, 0.12);--_error-hover-state-layer-color: var(--md-checkbox-error-hover-state-layer-color, var(--md-sys-color-error, #b3261e));--_error-hover-state-layer-opacity: var(--md-checkbox-error-hover-state-layer-opacity, 0.08);--_error-pressed-state-layer-color: var(--md-checkbox-error-pressed-state-layer-color, var(--md-sys-color-error, #b3261e));--_error-pressed-state-layer-opacity: var(--md-checkbox-error-pressed-state-layer-opacity, 0.12);--_icon-size: var(--md-checkbox-icon-size, 18px);--_selected-container-color: var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4));--_selected-disabled-container-color: var(--md-checkbox-selected-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_selected-disabled-container-opacity: var(--md-checkbox-selected-disabled-container-opacity, 0.38);--_selected-disabled-icon-color: var(--md-checkbox-selected-disabled-icon-color, var(--md-sys-color-surface, #fef7ff));--_selected-error-container-color: var(--md-checkbox-selected-error-container-color, var(--md-sys-color-error, #b3261e));--_selected-error-focus-container-color: var(--md-checkbox-selected-error-focus-container-color, var(--md-sys-color-error, #b3261e));--_selected-error-focus-icon-color: var(--md-checkbox-selected-error-focus-icon-color, var(--md-sys-color-on-error, #fff));--_selected-error-hover-container-color: var(--md-checkbox-selected-error-hover-container-color, var(--md-sys-color-error, #b3261e));--_selected-error-hover-icon-color: var(--md-checkbox-selected-error-hover-icon-color, var(--md-sys-color-on-error, #fff));--_selected-error-icon-color: var(--md-checkbox-selected-error-icon-color, var(--md-sys-color-on-error, #fff));--_selected-error-pressed-container-color: var(--md-checkbox-selected-error-pressed-container-color, var(--md-sys-color-error, #b3261e));--_selected-error-pressed-icon-color: var(--md-checkbox-selected-error-pressed-icon-color, var(--md-sys-color-on-error, #fff));--_selected-focus-container-color: var(--md-checkbox-selected-focus-container-color, var(--md-sys-color-primary, #6750a4));--_selected-focus-icon-color: var(--md-checkbox-selected-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_selected-focus-state-layer-color: var(--md-checkbox-selected-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-focus-state-layer-opacity: var(--md-checkbox-selected-focus-state-layer-opacity, 0.12);--_selected-hover-container-color: var(--md-checkbox-selected-hover-container-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-checkbox-selected-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_selected-hover-state-layer-color: var(--md-checkbox-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-checkbox-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-checkbox-selected-icon-color, var(--md-sys-color-on-primary, #fff));--_selected-pressed-container-color: var(--md-checkbox-selected-pressed-container-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-checkbox-selected-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_selected-pressed-state-layer-color: var(--md-checkbox-selected-pressed-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_selected-pressed-state-layer-opacity: var(--md-checkbox-selected-pressed-state-layer-opacity, 0.12);--_state-layer-shape: var(--md-checkbox-state-layer-shape, 9999px);--_state-layer-size: var(--md-checkbox-state-layer-size, 40px);--_unselected-disabled-container-opacity: var(--md-checkbox-unselected-disabled-container-opacity, 0.38);--_unselected-disabled-outline-color: var(--md-checkbox-unselected-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-disabled-outline-width: var(--md-checkbox-unselected-disabled-outline-width, 2px);--_unselected-error-focus-outline-color: var(--md-checkbox-unselected-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_unselected-error-hover-outline-color: var(--md-checkbox-unselected-error-hover-outline-color, var(--md-sys-color-error, #b3261e));--_unselected-error-outline-color: var(--md-checkbox-unselected-error-outline-color, var(--md-sys-color-error, #b3261e));--_unselected-error-pressed-outline-color: var(--md-checkbox-unselected-error-pressed-outline-color, var(--md-sys-color-error, #b3261e));--_unselected-focus-outline-color: var(--md-checkbox-unselected-focus-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-focus-outline-width: var(--md-checkbox-unselected-focus-outline-width, 2px);--_unselected-focus-state-layer-color: var(--md-checkbox-unselected-focus-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-focus-state-layer-opacity: var(--md-checkbox-unselected-focus-state-layer-opacity, 0.12);--_unselected-hover-outline-color: var(--md-checkbox-unselected-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-hover-outline-width: var(--md-checkbox-unselected-hover-outline-width, 2px);--_unselected-hover-state-layer-color: var(--md-checkbox-unselected-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-hover-state-layer-opacity: var(--md-checkbox-unselected-hover-state-layer-opacity, 0.08);--_unselected-outline-color: var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface-variant, #49454f));--_unselected-outline-width: var(--md-checkbox-unselected-outline-width, 2px);--_unselected-pressed-outline-color: var(--md-checkbox-unselected-pressed-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_unselected-pressed-outline-width: var(--md-checkbox-unselected-pressed-outline-width, 2px);--_unselected-pressed-state-layer-color: var(--md-checkbox-unselected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_unselected-pressed-state-layer-opacity: var(--md-checkbox-unselected-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: var( --md-checkbox-container-shape-start-start, var(--_container-shape) );--_container-shape-start-end: var( --md-checkbox-container-shape-start-end, var(--_container-shape) );--_container-shape-end-end: var( --md-checkbox-container-shape-end-end, var(--_container-shape) );--_container-shape-end-start: var( --md-checkbox-container-shape-end-start, var(--_container-shape) );border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-end-radius:var(--_container-shape-end-end);border-end-start-radius:var(--_container-shape-end-start);display:inline-flex;height:48px;position:relative;vertical-align:top;width:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);--md-focus-ring-outward-offset: -2px}input{appearance:none;inset:0;margin:0;outline:none;position:absolute;opacity:0;block-size:100%;inline-size:100%}.container{border-radius:inherit;height:100%;position:relative;width:100%}.outline,.background,md-ripple,.icon{inset:0;margin:auto;position:absolute}.outline,.background{border-radius:inherit;height:var(--_container-size);width:var(--_container-size)}.outline{border-color:var(--_unselected-outline-color);border-style:solid;border-width:var(--_unselected-outline-width);box-sizing:border-box}.background{background-color:var(--_selected-container-color)}.background,.icon{opacity:0;transition-duration:150ms,50ms;transition-property:transform,opacity;transition-timing-function:cubic-bezier(0.3, 0, 0.8, 0.15),linear;transform:scale(0.6)}.selected .background,.selected .icon{opacity:1;transition-duration:350ms,50ms;transition-timing-function:cubic-bezier(0.05, 0.7, 0.1, 1),linear;transform:scale(1)}md-ripple{border-radius:var(--_state-layer-shape);height:var(--_state-layer-size);width:var(--_state-layer-size);--md-ripple-focus-color: var(--_unselected-focus-state-layer-color);--md-ripple-focus-opacity: var(--_unselected-focus-state-layer-opacity);--md-ripple-hover-color: var(--_unselected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_unselected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_unselected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_unselected-pressed-state-layer-opacity)}.selected md-ripple{--md-ripple-focus-color: var(--_selected-focus-state-layer-color);--md-ripple-focus-opacity: var(--_selected-focus-state-layer-opacity);--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}.error md-ripple{--md-ripple-focus-color: var(--_error-focus-state-layer-color);--md-ripple-focus-opacity: var(--_error-focus-state-layer-opacity);--md-ripple-hover-color: var(--_error-hover-state-layer-color);--md-ripple-hover-opacity: var(--_error-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_error-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_error-pressed-state-layer-opacity)}.icon{fill:var(--_selected-icon-color);height:var(--_icon-size);width:var(--_icon-size)}.mark.short{height:2px;transition-property:transform,height;width:2px}.mark.long{height:2px;transition-property:transform,width;width:10px}.mark{animation-duration:150ms;animation-timing-function:cubic-bezier(0.3, 0, 0.8, 0.15);transition-duration:150ms;transition-timing-function:cubic-bezier(0.3, 0, 0.8, 0.15)}.selected .mark{animation-duration:350ms;animation-timing-function:cubic-bezier(0.05, 0.7, 0.1, 1);transition-duration:350ms;transition-timing-function:cubic-bezier(0.05, 0.7, 0.1, 1)}.checked .mark,.prev-checked.unselected .mark{transform:scaleY(-1) translate(7px, -14px) rotate(45deg)}.checked .mark.short,.prev-checked.unselected .mark.short{height:5.6568542495px}.checked .mark.long,.prev-checked.unselected .mark.long{width:11.313708499px}.indeterminate .mark,.prev-indeterminate.unselected .mark{transform:scaleY(-1) translate(4px, -10px) rotate(0deg)}.prev-unselected .mark{transition-property:none}.prev-unselected.checked .mark.long{animation-name:prev-unselected-to-checked}@keyframes prev-unselected-to-checked{from{width:0}}.error .outline{border-color:var(--_unselected-error-outline-color)}.error .background{background:var(--_selected-error-container-color)}.error .icon{fill:var(--_selected-error-icon-color)}:host(:hover) .outline{border-color:var(--_unselected-hover-outline-color);border-width:var(--_unselected-hover-outline-width)}:host(:hover) .background{background:var(--_selected-hover-container-color)}:host(:hover) .icon{fill:var(--_selected-hover-icon-color)}:host(:hover) .error .outline{border-color:var(--_unselected-error-hover-outline-color)}:host(:hover) .error .background{background:var(--_selected-error-hover-container-color)}:host(:hover) .error .icon{fill:var(--_selected-error-hover-icon-color)}:host(:focus-within) .outline{border-color:var(--_unselected-focus-outline-color);border-width:var(--_unselected-focus-outline-width)}:host(:focus-within) .background{background:var(--_selected-focus-container-color)}:host(:focus-within) .icon{fill:var(--_selected-focus-icon-color)}:host(:focus-within) .error .outline{border-color:var(--_unselected-error-focus-outline-color)}:host(:focus-within) .error .background{background:var(--_selected-error-focus-container-color)}:host(:focus-within) .error .icon{fill:var(--_selected-error-focus-icon-color)}:host(:active) .outline{border-color:var(--_unselected-pressed-outline-color);border-width:var(--_unselected-pressed-outline-width)}:host(:active) .background{background:var(--_selected-pressed-container-color)}:host(:active) .icon{fill:var(--_selected-pressed-icon-color)}:host(:active) .error .outline{border-color:var(--_unselected-error-pressed-outline-color)}:host(:active) .error .background{background:var(--_selected-error-pressed-container-color)}:host(:active) .error .icon{fill:var(--_selected-error-pressed-icon-color)}:host([disabled]) .background,:host([disabled]) .icon,:host([disabled]) .mark,.prev-disabled .background,.prev-disabled .icon,.prev-disabled .mark{animation-duration:0s;transition-duration:0s}:host([disabled]) .outline{border-color:var(--_unselected-disabled-outline-color);border-width:var(--_unselected-disabled-outline-width);opacity:var(--_unselected-disabled-container-opacity)}:host([disabled]) .selected .outline{visibility:hidden}:host([disabled]) .selected .background{background:var(--_selected-disabled-container-color);opacity:var(--_selected-disabled-container-opacity)}:host([disabled]) .icon{fill:var(--_selected-disabled-icon-color)}/*# sourceMappingURL=checkbox-styles.css.map */\n"]);return ce=function(){return e},e}(function(e){var r,t=U(K);try{for(t.s();!(r=t.n()).done;){var o=r.value;e.createProperty(o,{attribute:V(o),reflect:!0})}}catch(e){t.e(e)}finally{t.f()}e.addInitializer((function(e){var r={hostConnected:function(){e.setAttribute("role","presentation")}};e.addController(r)}))})(ae),__decorate([Object(p.b)({type:Boolean})],ae.prototype,"checked",void 0),__decorate([Object(p.b)({type:Boolean,reflect:!0})],ae.prototype,"disabled",void 0),__decorate([Object(p.b)({type:Boolean})],ae.prototype,"error",void 0),__decorate([Object(p.b)({type:Boolean})],ae.prototype,"indeterminate",void 0),__decorate([Object(p.b)()],ae.prototype,"value",void 0),__decorate([Object(p.e)()],ae.prototype,"prevChecked",void 0),__decorate([Object(p.e)()],ae.prototype,"prevDisabled",void 0),__decorate([Object(p.e)()],ae.prototype,"prevIndeterminate",void 0),__decorate([Object(p.d)("md-ripple")],ae.prototype,"ripple",void 0),__decorate([Object(p.c)("input")],ae.prototype,"input",void 0),__decorate([Object(p.e)()],ae.prototype,"showRipple",void 0);var ie=Object(_.b)(ce());function se(){var e=f()(["@media(forced-colors: active){:host{--md-checkbox-selected-container-color: CanvasText;--md-checkbox-selected-disabled-container-color: GrayText;--md-checkbox-selected-disabled-container-opacity: 1;--md-checkbox-selected-disabled-icon-color: Canvas;--md-checkbox-selected-error-container-color: CanvasText;--md-checkbox-selected-error-focus-container-color: CanvasText;--md-checkbox-selected-error-focus-icon-color: Canvas;--md-checkbox-selected-error-hover-container-color: CanvasText;--md-checkbox-selected-error-hover-icon-color: Canvas;--md-checkbox-selected-error-icon-color: Canvas;--md-checkbox-selected-error-pressed-container-color: CanvasText;--md-checkbox-selected-error-pressed-icon-color: Canvas;--md-checkbox-selected-focus-container-color: CanvasText;--md-checkbox-selected-focus-icon-color: Canvas;--md-checkbox-selected-hover-container-color: CanvasText;--md-checkbox-selected-hover-icon-color: Canvas;--md-checkbox-selected-icon-color: Canvas;--md-checkbox-selected-pressed-container-color: CanvasText;--md-checkbox-selected-pressed-icon-color: Canvas;--md-checkbox-unselected-disabled-container-opacity: 1;--md-checkbox-unselected-disabled-outline-color: GrayText;--md-checkbox-unselected-error-focus-outline-color: CanvasText;--md-checkbox-unselected-error-hover-outline-color: CanvasText;--md-checkbox-unselected-error-outline-color: CanvasText;--md-checkbox-unselected-error-pressed-outline-color: CanvasText;--md-checkbox-unselected-focus-outline-color: CanvasText;--md-checkbox-unselected-hover-outline-color: CanvasText;--md-checkbox-unselected-outline-color: CanvasText;--md-checkbox-unselected-pressed-outline-color: CanvasText}}/*# sourceMappingURL=forced-colors-styles.css.map */\n"]);return se=function(){return e},e}var le=Object(_.b)(se());function de(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var ue=function(e){c()(MdCheckbox,e);var r=de(MdCheckbox);function MdCheckbox(){return n()(this,MdCheckbox),r.apply(this,arguments)}return MdCheckbox}(ae);ue.styles=[ie,le],ue=__decorate([Object(p.a)("md-checkbox")],ue)},1219:function(e,r,t){"use strict";t.r(r),function(e){t.d(r,"Button",(function(){return n})),t.d(r,"Checkbox",(function(){return a})),t.d(r,"Chip",(function(){return c})),t.d(r,"CircularProgress",(function(){return i})),t.d(r,"Dialog",(function(){return s})),t.d(r,"DialogTitle",(function(){return l})),t.d(r,"DialogContent",(function(){return d})),t.d(r,"DialogFooter",(function(){return u})),t.d(r,"Menu",(function(){return h})),t.d(r,"Option",(function(){return p})),t.d(r,"ProgressBar",(function(){return v})),t.d(r,"Radio",(function(){return f})),t.d(r,"Select",(function(){return b})),t.d(r,"SpinnerButton",(function(){return m})),t.d(r,"Switch",(function(){return y})),t.d(r,"Tab",(function(){return k})),t.d(r,"TabBar",(function(){return _})),t.d(r,"TextField",(function(){return g})),t.d(r,"Tooltip",(function(){return x}));var o=t(276);void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.components=o.a;var n=o.a.Button,a=o.a.Checkbox,c=o.a.Chip,i=o.a.CircularProgress,s=o.a.Dialog,l=o.a.DialogTitle,d=o.a.DialogContent,u=o.a.DialogFooter,h=o.a.Menu,p=o.a.Option,v=o.a.ProgressBar,f=o.a.Radio,b=o.a.Select,m=o.a.SpinnerButton,y=o.a.Switch,k=o.a.Tab,_=o.a.TabBar,g=o.a.TextField,x=o.a.Tooltip}.call(this,t(26))},276:function(e,r,t){"use strict";var o={Button:function Button(){return null},Checkbox:t(1038).a,Chip:function Chip(){return null},CircularProgress:function CircularProgress(){return null},Dialog:function Dialog(){return null},DialogTitle:function DialogTitle(){return null},DialogContent:function DialogContent(){return null},DialogFooter:function DialogFooter(){return null},HelperText:function HelperText(){return null},Menu:function Menu(){return null},Option:function Option(){return null},ProgressBar:function ProgressBar(){return null},Radio:function Radio(){return null},Select:function Select(){return null},SpinnerButton:function SpinnerButton(){return null},Switch:function Switch(){return null},Tab:function Tab(){return null},TabBar:function TabBar(){return null},TextField:function TextField(){return null},Tooltip:function Tooltip(){return null}};r.a=o},495:function(e,r,t){"use strict";(function(e){var o=t(7),n=t.n(o),a=t(1),c=t.n(a);function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function s(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){n()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Spinner(r){var t=r.isSaving,o=r.style,n=void 0===o?{}:o;return e.createElement("span",{className:"spinner",style:s({display:t?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},n)})}Spinner.propTypes={isSaving:c.a.bool,style:c.a.object},r.a=Spinner}).call(this,t(4))}},[[1219,1,0]]]); dist/assets/js/googlesitekit-consent-mode-3d6495dceaebc28bcca3.js 0000604 00000221767 14717744000 0020435 0 ustar 00 !function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=2)}([function(n,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},function(n,t,r){(function(n,r){(function(){var e="Expected a function",u="__lodash_placeholder__",i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],o="[object Arguments]",f="[object Array]",a="[object Boolean]",c="[object Date]",l="[object Error]",s="[object Function]",v="[object GeneratorFunction]",h="[object Map]",p="[object Number]",d="[object Object]",_="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",w="[object WeakMap]",m="[object ArrayBuffer]",x="[object DataView]",j="[object Float32Array]",A="[object Float64Array]",O="[object Int8Array]",k="[object Int16Array]",E="[object Int32Array]",I="[object Uint8Array]",R="[object Uint16Array]",S="[object Uint32Array]",z=/\b__p \+= '';/g,C=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,T=RegExp(W.source),B=RegExp(U.source),M=/<%-([\s\S]+?)%>/g,D=/<%([\s\S]+?)%>/g,P=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,Z=RegExp(q.source),K=/^\s+/,V=/\s/,G=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,H=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Y=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Q=/[()=,{}\[\]\/\s]/,X=/\\(\\)?/g,nn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tn=/\w*$/,rn=/^[-+]0x[0-9a-f]+$/i,en=/^0b[01]+$/i,un=/^\[object .+?Constructor\]$/,on=/^0o[0-7]+$/i,fn=/^(?:0|[1-9]\d*)$/,an=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cn=/($^)/,ln=/['\n\r\u2028\u2029\\]/g,sn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",vn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hn="[\\ud800-\\udfff]",pn="["+vn+"]",dn="["+sn+"]",_n="\\d+",gn="[\\u2700-\\u27bf]",yn="[a-z\\xdf-\\xf6\\xf8-\\xff]",bn="[^\\ud800-\\udfff"+vn+_n+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wn="\\ud83c[\\udffb-\\udfff]",mn="[^\\ud800-\\udfff]",xn="(?:\\ud83c[\\udde6-\\uddff]){2}",jn="[\\ud800-\\udbff][\\udc00-\\udfff]",An="[A-Z\\xc0-\\xd6\\xd8-\\xde]",On="(?:"+yn+"|"+bn+")",kn="(?:"+An+"|"+bn+")",En="(?:"+dn+"|"+wn+")"+"?",In="[\\ufe0e\\ufe0f]?"+En+("(?:\\u200d(?:"+[mn,xn,jn].join("|")+")[\\ufe0e\\ufe0f]?"+En+")*"),Rn="(?:"+[gn,xn,jn].join("|")+")"+In,Sn="(?:"+[mn+dn+"?",dn,xn,jn,hn].join("|")+")",zn=RegExp("['’]","g"),Cn=RegExp(dn,"g"),Ln=RegExp(wn+"(?="+wn+")|"+Sn+In,"g"),Wn=RegExp([An+"?"+yn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[pn,An,"$"].join("|")+")",kn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[pn,An+On,"$"].join("|")+")",An+"?"+On+"+(?:['’](?:d|ll|m|re|s|t|ve))?",An+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_n,Rn].join("|"),"g"),Un=RegExp("[\\u200d\\ud800-\\udfff"+sn+"\\ufe0e\\ufe0f]"),Tn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mn=-1,Dn={};Dn[j]=Dn[A]=Dn[O]=Dn[k]=Dn[E]=Dn[I]=Dn["[object Uint8ClampedArray]"]=Dn[R]=Dn[S]=!0,Dn[o]=Dn[f]=Dn[m]=Dn[a]=Dn[x]=Dn[c]=Dn[l]=Dn[s]=Dn[h]=Dn[p]=Dn[d]=Dn[_]=Dn[g]=Dn[y]=Dn[w]=!1;var Pn={};Pn[o]=Pn[f]=Pn[m]=Pn[x]=Pn[a]=Pn[c]=Pn[j]=Pn[A]=Pn[O]=Pn[k]=Pn[E]=Pn[h]=Pn[p]=Pn[d]=Pn[_]=Pn[g]=Pn[y]=Pn[b]=Pn[I]=Pn["[object Uint8ClampedArray]"]=Pn[R]=Pn[S]=!0,Pn[l]=Pn[s]=Pn[w]=!1;var $n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nn=parseFloat,Fn=parseInt,qn="object"==typeof n&&n&&n.Object===Object&&n,Zn="object"==typeof self&&self&&self.Object===Object&&self,Kn=qn||Zn||Function("return this")(),Vn=t&&!t.nodeType&&t,Gn=Vn&&"object"==typeof r&&r&&!r.nodeType&&r,Hn=Gn&&Gn.exports===Vn,Jn=Hn&&qn.process,Yn=function(){try{var n=Gn&&Gn.require&&Gn.require("util").types;return n||Jn&&Jn.binding&&Jn.binding("util")}catch(n){}}(),Qn=Yn&&Yn.isArrayBuffer,Xn=Yn&&Yn.isDate,nt=Yn&&Yn.isMap,tt=Yn&&Yn.isRegExp,rt=Yn&&Yn.isSet,et=Yn&&Yn.isTypedArray;function ut(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function it(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function ot(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function ft(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function at(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function ct(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function lt(n,t){return!!(null==n?0:n.length)&&wt(n,t,0)>-1}function st(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function vt(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function ht(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function pt(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function dt(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function _t(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var gt=At("length");function yt(n,t,r){var e;return r(n,(function(n,r,u){if(t(n,r,u))return e=r,!1})),e}function bt(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function wt(n,t,r){return t==t?function(n,t,r){var e=r-1,u=n.length;for(;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):bt(n,xt,r)}function mt(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function xt(n){return n!=n}function jt(n,t){var r=null==n?0:n.length;return r?Et(n,t)/r:NaN}function At(n){return function(t){return null==t?void 0:t[n]}}function Ot(n){return function(t){return null==n?void 0:n[t]}}function kt(n,t,r,e,u){return u(n,(function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)})),r}function Et(n,t){for(var r,e=-1,u=n.length;++e<u;){var i=t(n[e]);void 0!==i&&(r=void 0===r?i:r+i)}return r}function It(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function Rt(n){return n?n.slice(0,Vt(n)+1).replace(K,""):n}function St(n){return function(t){return n(t)}}function zt(n,t){return vt(t,(function(t){return n[t]}))}function Ct(n,t){return n.has(t)}function Lt(n,t){for(var r=-1,e=n.length;++r<e&&wt(t,n[r],0)>-1;);return r}function Wt(n,t){for(var r=n.length;r--&&wt(t,n[r],0)>-1;);return r}function Ut(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var Tt=Ot({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Bt=Ot({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mt(n){return"\\"+$n[n]}function Dt(n){return Un.test(n)}function Pt(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function $t(n,t){return function(r){return n(t(r))}}function Nt(n,t){for(var r=-1,e=n.length,i=0,o=[];++r<e;){var f=n[r];f!==t&&f!==u||(n[r]=u,o[i++]=r)}return o}function Ft(n){var t=-1,r=Array(n.size);return n.forEach((function(n){r[++t]=n})),r}function qt(n){var t=-1,r=Array(n.size);return n.forEach((function(n){r[++t]=[n,n]})),r}function Zt(n){return Dt(n)?function(n){var t=Ln.lastIndex=0;for(;Ln.test(n);)++t;return t}(n):gt(n)}function Kt(n){return Dt(n)?function(n){return n.match(Ln)||[]}(n):function(n){return n.split("")}(n)}function Vt(n){for(var t=n.length;t--&&V.test(n.charAt(t)););return t}var Gt=Ot({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Ht=function n(t){var r,V=(t=null==t?Kn:Ht.defaults(Kn.Object(),t,Ht.pick(Kn,Bn))).Array,sn=t.Date,vn=t.Error,hn=t.Function,pn=t.Math,dn=t.Object,_n=t.RegExp,gn=t.String,yn=t.TypeError,bn=V.prototype,wn=hn.prototype,mn=dn.prototype,xn=t["__core-js_shared__"],jn=wn.toString,An=mn.hasOwnProperty,On=0,kn=(r=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",En=mn.toString,In=jn.call(dn),Rn=Kn._,Sn=_n("^"+jn.call(An).replace(q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ln=Hn?t.Buffer:void 0,Un=t.Symbol,$n=t.Uint8Array,qn=Ln?Ln.allocUnsafe:void 0,Zn=$t(dn.getPrototypeOf,dn),Vn=dn.create,Gn=mn.propertyIsEnumerable,Jn=bn.splice,Yn=Un?Un.isConcatSpreadable:void 0,gt=Un?Un.iterator:void 0,Ot=Un?Un.toStringTag:void 0,Jt=function(){try{var n=ni(dn,"defineProperty");return n({},"",{}),n}catch(n){}}(),Yt=t.clearTimeout!==Kn.clearTimeout&&t.clearTimeout,Qt=sn&&sn.now!==Kn.Date.now&&sn.now,Xt=t.setTimeout!==Kn.setTimeout&&t.setTimeout,nr=pn.ceil,tr=pn.floor,rr=dn.getOwnPropertySymbols,er=Ln?Ln.isBuffer:void 0,ur=t.isFinite,ir=bn.join,or=$t(dn.keys,dn),fr=pn.max,ar=pn.min,cr=sn.now,lr=t.parseInt,sr=pn.random,vr=bn.reverse,hr=ni(t,"DataView"),pr=ni(t,"Map"),dr=ni(t,"Promise"),_r=ni(t,"Set"),gr=ni(t,"WeakMap"),yr=ni(dn,"create"),br=gr&&new gr,wr={},mr=Ei(hr),xr=Ei(pr),jr=Ei(dr),Ar=Ei(_r),Or=Ei(gr),kr=Un?Un.prototype:void 0,Er=kr?kr.valueOf:void 0,Ir=kr?kr.toString:void 0;function Rr(n){if(Zo(n)&&!Wo(n)&&!(n instanceof Lr)){if(n instanceof Cr)return n;if(An.call(n,"__wrapped__"))return Ii(n)}return new Cr(n)}var Sr=function(){function n(){}return function(t){if(!qo(t))return{};if(Vn)return Vn(t);n.prototype=t;var r=new n;return n.prototype=void 0,r}}();function zr(){}function Cr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Lr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Wr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Ur(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Tr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Br(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new Tr;++t<r;)this.add(n[t])}function Mr(n){var t=this.__data__=new Ur(n);this.size=t.size}function Dr(n,t){var r=Wo(n),e=!r&&Lo(n),u=!r&&!e&&Mo(n),i=!r&&!e&&!u&&Xo(n),o=r||e||u||i,f=o?It(n.length,gn):[],a=f.length;for(var c in n)!t&&!An.call(n,c)||o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fi(c,a))||f.push(c);return f}function Pr(n){var t=n.length;return t?n[Be(0,t-1)]:void 0}function $r(n,t){return Ai(yu(n),Jr(t,0,n.length))}function Nr(n){return Ai(yu(n))}function Fr(n,t,r){(void 0!==r&&!So(n[t],r)||void 0===r&&!(t in n))&&Gr(n,t,r)}function qr(n,t,r){var e=n[t];An.call(n,t)&&So(e,r)&&(void 0!==r||t in n)||Gr(n,t,r)}function Zr(n,t){for(var r=n.length;r--;)if(So(n[r][0],t))return r;return-1}function Kr(n,t,r,e){return te(n,(function(n,u,i){t(e,n,r(n),i)})),e}function Vr(n,t){return n&&bu(t,xf(t),n)}function Gr(n,t,r){"__proto__"==t&&Jt?Jt(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function Hr(n,t){for(var r=-1,e=t.length,u=V(e),i=null==n;++r<e;)u[r]=i?void 0:gf(n,t[r]);return u}function Jr(n,t,r){return n==n&&(void 0!==r&&(n=n<=r?n:r),void 0!==t&&(n=n>=t?n:t)),n}function Yr(n,t,r,e,u,i){var f,l=1&t,w=2&t,z=4&t;if(r&&(f=u?r(n,e,u,i):r(n)),void 0!==f)return f;if(!qo(n))return n;var C=Wo(n);if(C){if(f=function(n){var t=n.length,r=new n.constructor(t);t&&"string"==typeof n[0]&&An.call(n,"index")&&(r.index=n.index,r.input=n.input);return r}(n),!l)return yu(n,f)}else{var L=ei(n),W=L==s||L==v;if(Mo(n))return vu(n,l);if(L==d||L==o||W&&!u){if(f=w||W?{}:ii(n),!l)return w?function(n,t){return bu(n,ri(n),t)}(n,function(n,t){return n&&bu(t,jf(t),n)}(f,n)):function(n,t){return bu(n,ti(n),t)}(n,Vr(f,n))}else{if(!Pn[L])return u?n:{};f=function(n,t,r){var e=n.constructor;switch(t){case m:return hu(n);case a:case c:return new e(+n);case x:return function(n,t){var r=t?hu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case j:case A:case O:case k:case E:case I:case"[object Uint8ClampedArray]":case R:case S:return pu(n,r);case h:return new e;case p:case y:return new e(n);case _:return function(n){var t=new n.constructor(n.source,tn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case g:return new e;case b:return u=n,Er?dn(Er.call(u)):{}}var u}(n,L,l)}}i||(i=new Mr);var U=i.get(n);if(U)return U;i.set(n,f),Jo(n)?n.forEach((function(e){f.add(Yr(e,t,r,e,n,i))})):Ko(n)&&n.forEach((function(e,u){f.set(u,Yr(e,t,r,u,n,i))}));var T=C?void 0:(z?w?Vu:Ku:w?jf:xf)(n);return ot(T||n,(function(e,u){T&&(e=n[u=e]),qr(f,u,Yr(e,t,r,u,n,i))})),f}function Qr(n,t,r){var e=r.length;if(null==n)return!e;for(n=dn(n);e--;){var u=r[e],i=t[u],o=n[u];if(void 0===o&&!(u in n)||!i(o))return!1}return!0}function Xr(n,t,r){if("function"!=typeof n)throw new yn(e);return wi((function(){n.apply(void 0,r)}),t)}function ne(n,t,r,e){var u=-1,i=lt,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=vt(t,St(r))),e?(i=st,o=!1):t.length>=200&&(i=Ct,o=!1,t=new Br(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l);if(l=e||0!==l?l:0,o&&s==s){for(var v=c;v--;)if(t[v]===s)continue n;a.push(l)}else i(t,s,e)||a.push(l)}return a}Rr.templateSettings={escape:M,evaluate:D,interpolate:P,variable:"",imports:{_:Rr}},Rr.prototype=zr.prototype,Rr.prototype.constructor=Rr,Cr.prototype=Sr(zr.prototype),Cr.prototype.constructor=Cr,Lr.prototype=Sr(zr.prototype),Lr.prototype.constructor=Lr,Wr.prototype.clear=function(){this.__data__=yr?yr(null):{},this.size=0},Wr.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},Wr.prototype.get=function(n){var t=this.__data__;if(yr){var r=t[n];return"__lodash_hash_undefined__"===r?void 0:r}return An.call(t,n)?t[n]:void 0},Wr.prototype.has=function(n){var t=this.__data__;return yr?void 0!==t[n]:An.call(t,n)},Wr.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=yr&&void 0===t?"__lodash_hash_undefined__":t,this},Ur.prototype.clear=function(){this.__data__=[],this.size=0},Ur.prototype.delete=function(n){var t=this.__data__,r=Zr(t,n);return!(r<0)&&(r==t.length-1?t.pop():Jn.call(t,r,1),--this.size,!0)},Ur.prototype.get=function(n){var t=this.__data__,r=Zr(t,n);return r<0?void 0:t[r][1]},Ur.prototype.has=function(n){return Zr(this.__data__,n)>-1},Ur.prototype.set=function(n,t){var r=this.__data__,e=Zr(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Tr.prototype.clear=function(){this.size=0,this.__data__={hash:new Wr,map:new(pr||Ur),string:new Wr}},Tr.prototype.delete=function(n){var t=Qu(this,n).delete(n);return this.size-=t?1:0,t},Tr.prototype.get=function(n){return Qu(this,n).get(n)},Tr.prototype.has=function(n){return Qu(this,n).has(n)},Tr.prototype.set=function(n,t){var r=Qu(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Br.prototype.add=Br.prototype.push=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},Br.prototype.has=function(n){return this.__data__.has(n)},Mr.prototype.clear=function(){this.__data__=new Ur,this.size=0},Mr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Mr.prototype.get=function(n){return this.__data__.get(n)},Mr.prototype.has=function(n){return this.__data__.has(n)},Mr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Ur){var e=r.__data__;if(!pr||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Tr(e)}return r.set(n,t),this.size=r.size,this};var te=xu(ce),re=xu(le,!0);function ee(n,t){var r=!0;return te(n,(function(n,e,u){return r=!!t(n,e,u)})),r}function ue(n,t,r){for(var e=-1,u=n.length;++e<u;){var i=n[e],o=t(i);if(null!=o&&(void 0===f?o==o&&!Qo(o):r(o,f)))var f=o,a=i}return a}function ie(n,t){var r=[];return te(n,(function(n,e,u){t(n,e,u)&&r.push(n)})),r}function oe(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=oi),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?oe(f,t-1,r,e,u):ht(u,f):e||(u[u.length]=f)}return u}var fe=ju(),ae=ju(!0);function ce(n,t){return n&&fe(n,t,xf)}function le(n,t){return n&&ae(n,t,xf)}function se(n,t){return ct(t,(function(t){return $o(n[t])}))}function ve(n,t){for(var r=0,e=(t=au(t,n)).length;null!=n&&r<e;)n=n[ki(t[r++])];return r&&r==e?n:void 0}function he(n,t,r){var e=t(n);return Wo(n)?e:ht(e,r(n))}function pe(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":Ot&&Ot in dn(n)?function(n){var t=An.call(n,Ot),r=n[Ot];try{n[Ot]=void 0;var e=!0}catch(n){}var u=En.call(n);e&&(t?n[Ot]=r:delete n[Ot]);return u}(n):function(n){return En.call(n)}(n)}function de(n,t){return n>t}function _e(n,t){return null!=n&&An.call(n,t)}function ge(n,t){return null!=n&&t in dn(n)}function ye(n,t,r){for(var e=r?st:lt,u=n[0].length,i=n.length,o=i,f=V(i),a=1/0,c=[];o--;){var l=n[o];o&&t&&(l=vt(l,St(t))),a=ar(l.length,a),f[o]=!r&&(t||u>=120&&l.length>=120)?new Br(o&&l):void 0}l=n[0];var s=-1,v=f[0];n:for(;++s<u&&c.length<a;){var h=l[s],p=t?t(h):h;if(h=r||0!==h?h:0,!(v?Ct(v,p):e(c,p,r))){for(o=i;--o;){var d=f[o];if(!(d?Ct(d,p):e(n[o],p,r)))continue n}v&&v.push(p),c.push(h)}}return c}function be(n,t,r){var e=null==(n=_i(n,t=au(t,n)))?n:n[ki(Di(t))];return null==e?void 0:ut(e,n,r)}function we(n){return Zo(n)&&pe(n)==o}function me(n,t,r,e,u){return n===t||(null==n||null==t||!Zo(n)&&!Zo(t)?n!=n&&t!=t:function(n,t,r,e,u,i){var s=Wo(n),v=Wo(t),w=s?f:ei(n),j=v?f:ei(t),A=(w=w==o?d:w)==d,O=(j=j==o?d:j)==d,k=w==j;if(k&&Mo(n)){if(!Mo(t))return!1;s=!0,A=!1}if(k&&!A)return i||(i=new Mr),s||Xo(n)?qu(n,t,r,e,u,i):function(n,t,r,e,u,i,o){switch(r){case x:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case m:return!(n.byteLength!=t.byteLength||!i(new $n(n),new $n(t)));case a:case c:case p:return So(+n,+t);case l:return n.name==t.name&&n.message==t.message;case _:case y:return n==t+"";case h:var f=Pt;case g:var s=1&e;if(f||(f=Ft),n.size!=t.size&&!s)return!1;var v=o.get(n);if(v)return v==t;e|=2,o.set(n,t);var d=qu(f(n),f(t),e,u,i,o);return o.delete(n),d;case b:if(Er)return Er.call(n)==Er.call(t)}return!1}(n,t,w,r,e,u,i);if(!(1&r)){var E=A&&An.call(n,"__wrapped__"),I=O&&An.call(t,"__wrapped__");if(E||I){var R=E?n.value():n,S=I?t.value():t;return i||(i=new Mr),u(R,S,r,e,i)}}if(!k)return!1;return i||(i=new Mr),function(n,t,r,e,u,i){var o=1&r,f=Ku(n),a=f.length,c=Ku(t).length;if(a!=c&&!o)return!1;var l=a;for(;l--;){var s=f[l];if(!(o?s in t:An.call(t,s)))return!1}var v=i.get(n),h=i.get(t);if(v&&h)return v==t&&h==n;var p=!0;i.set(n,t),i.set(t,n);var d=o;for(;++l<a;){s=f[l];var _=n[s],g=t[s];if(e)var y=o?e(g,_,s,t,n,i):e(_,g,s,n,t,i);if(!(void 0===y?_===g||u(_,g,r,e,i):y)){p=!1;break}d||(d="constructor"==s)}if(p&&!d){var b=n.constructor,w=t.constructor;b==w||!("constructor"in n)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(p=!1)}return i.delete(n),i.delete(t),p}(n,t,r,e,u,i)}(n,t,r,e,me,u))}function xe(n,t,r,e){var u=r.length,i=u,o=!e;if(null==n)return!i;for(n=dn(n);u--;){var f=r[u];if(o&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<i;){var a=(f=r[u])[0],c=n[a],l=f[1];if(o&&f[2]){if(void 0===c&&!(a in n))return!1}else{var s=new Mr;if(e)var v=e(c,l,a,n,t,s);if(!(void 0===v?me(l,c,3,e,s):v))return!1}}return!0}function je(n){return!(!qo(n)||(t=n,kn&&kn in t))&&($o(n)?Sn:un).test(Ei(n));var t}function Ae(n){return"function"==typeof n?n:null==n?Gf:"object"==typeof n?Wo(n)?Se(n[0],n[1]):Re(n):ea(n)}function Oe(n){if(!vi(n))return or(n);var t=[];for(var r in dn(n))An.call(n,r)&&"constructor"!=r&&t.push(r);return t}function ke(n){if(!qo(n))return function(n){var t=[];if(null!=n)for(var r in dn(n))t.push(r);return t}(n);var t=vi(n),r=[];for(var e in n)("constructor"!=e||!t&&An.call(n,e))&&r.push(e);return r}function Ee(n,t){return n<t}function Ie(n,t){var r=-1,e=To(n)?V(n.length):[];return te(n,(function(n,u,i){e[++r]=t(n,u,i)})),e}function Re(n){var t=Xu(n);return 1==t.length&&t[0][2]?pi(t[0][0],t[0][1]):function(r){return r===n||xe(r,n,t)}}function Se(n,t){return ci(n)&&hi(t)?pi(ki(n),t):function(r){var e=gf(r,n);return void 0===e&&e===t?yf(r,n):me(t,e,3)}}function ze(n,t,r,e,u){n!==t&&fe(t,(function(i,o){if(u||(u=new Mr),qo(i))!function(n,t,r,e,u,i,o){var f=yi(n,r),a=yi(t,r),c=o.get(a);if(c)return void Fr(n,r,c);var l=i?i(f,a,r+"",n,t,o):void 0,s=void 0===l;if(s){var v=Wo(a),h=!v&&Mo(a),p=!v&&!h&&Xo(a);l=a,v||h||p?Wo(f)?l=f:Bo(f)?l=yu(f):h?(s=!1,l=vu(a,!0)):p?(s=!1,l=pu(a,!0)):l=[]:Go(a)||Lo(a)?(l=f,Lo(f)?l=af(f):qo(f)&&!$o(f)||(l=ii(a))):s=!1}s&&(o.set(a,l),u(l,a,e,i,o),o.delete(a));Fr(n,r,l)}(n,t,o,r,ze,e,u);else{var f=e?e(yi(n,o),i,o+"",n,t,u):void 0;void 0===f&&(f=i),Fr(n,o,f)}}),jf)}function Ce(n,t){var r=n.length;if(r)return fi(t+=t<0?r:0,r)?n[t]:void 0}function Le(n,t,r){t=t.length?vt(t,(function(n){return Wo(n)?function(t){return ve(t,1===n.length?n[0]:n)}:n})):[Gf];var e=-1;return t=vt(t,St(Yu())),function(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].value;return n}(Ie(n,(function(n,r,u){return{criteria:vt(t,(function(t){return t(n)})),index:++e,value:n}})),(function(n,t){return function(n,t,r){var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;for(;++e<o;){var a=du(u[e],i[e]);if(a){if(e>=f)return a;var c=r[e];return a*("desc"==c?-1:1)}}return n.index-t.index}(n,t,r)}))}function We(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=ve(n,o);r(f,o)&&Ne(i,au(o,n),f)}return i}function Ue(n,t,r,e){var u=e?mt:wt,i=-1,o=t.length,f=n;for(n===t&&(t=yu(t)),r&&(f=vt(n,St(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&Jn.call(f,a,1),Jn.call(n,a,1);return n}function Te(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;fi(u)?Jn.call(n,u,1):nu(n,u)}}return n}function Be(n,t){return n+tr(sr()*(t-n+1))}function Me(n,t){var r="";if(!n||t<1||t>9007199254740991)return r;do{t%2&&(r+=n),(t=tr(t/2))&&(n+=n)}while(t);return r}function De(n,t){return mi(di(n,t,Gf),n+"")}function Pe(n){return Pr(zf(n))}function $e(n,t){var r=zf(n);return Ai(r,Jr(t,0,r.length))}function Ne(n,t,r,e){if(!qo(n))return n;for(var u=-1,i=(t=au(t,n)).length,o=i-1,f=n;null!=f&&++u<i;){var a=ki(t[u]),c=r;if("__proto__"===a||"constructor"===a||"prototype"===a)return n;if(u!=o){var l=f[a];void 0===(c=e?e(l,a,f):void 0)&&(c=qo(l)?l:fi(t[u+1])?[]:{})}qr(f,a,c),f=f[a]}return n}var Fe=br?function(n,t){return br.set(n,t),n}:Gf,qe=Jt?function(n,t){return Jt(n,"toString",{configurable:!0,enumerable:!1,value:Zf(t),writable:!0})}:Gf;function Ze(n){return Ai(zf(n))}function Ke(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=V(u);++e<u;)i[e]=n[e+t];return i}function Ve(n,t){var r;return te(n,(function(n,e,u){return!(r=t(n,e,u))})),!!r}function Ge(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!Qo(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return He(n,t,Gf,r)}function He(n,t,r,e){var u=0,i=null==n?0:n.length;if(0===i)return 0;for(var o=(t=r(t))!=t,f=null===t,a=Qo(t),c=void 0===t;u<i;){var l=tr((u+i)/2),s=r(n[l]),v=void 0!==s,h=null===s,p=s==s,d=Qo(s);if(o)var _=e||p;else _=c?p&&(e||v):f?p&&v&&(e||!h):a?p&&v&&!h&&(e||!d):!h&&!d&&(e?s<=t:s<t);_?u=l+1:i=l}return ar(i,4294967294)}function Je(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!So(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function Ye(n){return"number"==typeof n?n:Qo(n)?NaN:+n}function Qe(n){if("string"==typeof n)return n;if(Wo(n))return vt(n,Qe)+"";if(Qo(n))return Ir?Ir.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function Xe(n,t,r){var e=-1,u=lt,i=n.length,o=!0,f=[],a=f;if(r)o=!1,u=st;else if(i>=200){var c=t?null:Mu(n);if(c)return Ft(c);o=!1,u=Ct,a=new Br}else a=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l;if(l=r||0!==l?l:0,o&&s==s){for(var v=a.length;v--;)if(a[v]===s)continue n;t&&a.push(s),f.push(l)}else u(a,s,r)||(a!==f&&a.push(s),f.push(l))}return f}function nu(n,t){return null==(n=_i(n,t=au(t,n)))||delete n[ki(Di(t))]}function tu(n,t,r,e){return Ne(n,t,r(ve(n,t)),e)}function ru(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?Ke(n,e?0:i,e?i+1:u):Ke(n,e?i+1:0,e?u:i)}function eu(n,t){var r=n;return r instanceof Lr&&(r=r.value()),pt(t,(function(n,t){return t.func.apply(t.thisArg,ht([n],t.args))}),r)}function uu(n,t,r){var e=n.length;if(e<2)return e?Xe(n[0]):[];for(var u=-1,i=V(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=ne(i[u]||o,n[f],t,r));return Xe(oe(i,1),t,r)}function iu(n,t,r){for(var e=-1,u=n.length,i=t.length,o={};++e<u;){var f=e<i?t[e]:void 0;r(o,n[e],f)}return o}function ou(n){return Bo(n)?n:[]}function fu(n){return"function"==typeof n?n:Gf}function au(n,t){return Wo(n)?n:ci(n,t)?[n]:Oi(cf(n))}var cu=De;function lu(n,t,r){var e=n.length;return r=void 0===r?e:r,!t&&r>=e?n:Ke(n,t,r)}var su=Yt||function(n){return Kn.clearTimeout(n)};function vu(n,t){if(t)return n.slice();var r=n.length,e=qn?qn(r):new n.constructor(r);return n.copy(e),e}function hu(n){var t=new n.constructor(n.byteLength);return new $n(t).set(new $n(n)),t}function pu(n,t){var r=t?hu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function du(n,t){if(n!==t){var r=void 0!==n,e=null===n,u=n==n,i=Qo(n),o=void 0!==t,f=null===t,a=t==t,c=Qo(t);if(!f&&!c&&!i&&n>t||i&&o&&a&&!f&&!c||e&&o&&a||!r&&a||!u)return 1;if(!e&&!i&&!c&&n<t||c&&r&&u&&!e&&!i||f&&r&&u||!o&&u||!a)return-1}return 0}function _u(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=fr(i-o,0),l=V(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function gu(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=fr(i-f,0),s=V(l+c),v=!e;++u<l;)s[u]=n[u];for(var h=u;++a<c;)s[h+a]=t[a];for(;++o<f;)(v||u<i)&&(s[h+r[o]]=n[u++]);return s}function yu(n,t){var r=-1,e=n.length;for(t||(t=V(e));++r<e;)t[r]=n[r];return t}function bu(n,t,r,e){var u=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var f=t[i],a=e?e(r[f],n[f],f,r,n):void 0;void 0===a&&(a=n[f]),u?Gr(r,f,a):qr(r,f,a)}return r}function wu(n,t){return function(r,e){var u=Wo(r)?it:Kr,i=t?t():{};return u(r,n,Yu(e,2),i)}}function mu(n){return De((function(t,r){var e=-1,u=r.length,i=u>1?r[u-1]:void 0,o=u>2?r[2]:void 0;for(i=n.length>3&&"function"==typeof i?(u--,i):void 0,o&&ai(r[0],r[1],o)&&(i=u<3?void 0:i,u=1),t=dn(t);++e<u;){var f=r[e];f&&n(t,f,e,i)}return t}))}function xu(n,t){return function(r,e){if(null==r)return r;if(!To(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=dn(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function ju(n){return function(t,r,e){for(var u=-1,i=dn(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function Au(n){return function(t){var r=Dt(t=cf(t))?Kt(t):void 0,e=r?r[0]:t.charAt(0),u=r?lu(r,1).join(""):t.slice(1);return e[n]()+u}}function Ou(n){return function(t){return pt(Nf(Wf(t).replace(zn,"")),n,"")}}function ku(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Sr(n.prototype),e=n.apply(r,t);return qo(e)?e:r}}function Eu(n){return function(t,r,e){var u=dn(t);if(!To(t)){var i=Yu(r,3);t=xf(t),r=function(n){return i(u[n],n,u)}}var o=n(t,r,e);return o>-1?u[i?t[o]:o]:void 0}}function Iu(n){return Zu((function(t){var r=t.length,u=r,i=Cr.prototype.thru;for(n&&t.reverse();u--;){var o=t[u];if("function"!=typeof o)throw new yn(e);if(i&&!f&&"wrapper"==Hu(o))var f=new Cr([],!0)}for(u=f?u:r;++u<r;){var a=Hu(o=t[u]),c="wrapper"==a?Gu(o):void 0;f=c&&li(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?f[Hu(c[0])].apply(f,c[3]):1==o.length&&li(o)?f[a]():f.thru(o)}return function(){var n=arguments,e=n[0];if(f&&1==n.length&&Wo(e))return f.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}}))}function Ru(n,t,r,e,u,i,o,f,a,c){var l=128&t,s=1&t,v=2&t,h=24&t,p=512&t,d=v?void 0:ku(n);return function _(){for(var g=arguments.length,y=V(g),b=g;b--;)y[b]=arguments[b];if(h)var w=Ju(_),m=Ut(y,w);if(e&&(y=_u(y,e,u,h)),i&&(y=gu(y,i,o,h)),g-=m,h&&g<c){var x=Nt(y,w);return Tu(n,t,Ru,_.placeholder,r,y,x,f,a,c-g)}var j=s?r:this,A=v?j[n]:n;return g=y.length,f?y=gi(y,f):p&&g>1&&y.reverse(),l&&a<g&&(y.length=a),this&&this!==Kn&&this instanceof _&&(A=d||ku(A)),A.apply(j,y)}}function Su(n,t){return function(r,e){return function(n,t,r,e){return ce(n,(function(n,u,i){t(e,r(n),u,i)})),e}(r,n,t(e),{})}}function zu(n,t){return function(r,e){var u;if(void 0===r&&void 0===e)return t;if(void 0!==r&&(u=r),void 0!==e){if(void 0===u)return e;"string"==typeof r||"string"==typeof e?(r=Qe(r),e=Qe(e)):(r=Ye(r),e=Ye(e)),u=n(r,e)}return u}}function Cu(n){return Zu((function(t){return t=vt(t,St(Yu())),De((function(r){var e=this;return n(t,(function(n){return ut(n,e,r)}))}))}))}function Lu(n,t){var r=(t=void 0===t?" ":Qe(t)).length;if(r<2)return r?Me(t,n):t;var e=Me(t,nr(n/Zt(t)));return Dt(t)?lu(Kt(e),0,n).join(""):e.slice(0,n)}function Wu(n){return function(t,r,e){return e&&"number"!=typeof e&&ai(t,r,e)&&(r=e=void 0),t=ef(t),void 0===r?(r=t,t=0):r=ef(r),function(n,t,r,e){for(var u=-1,i=fr(nr((t-n)/(r||1)),0),o=V(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,r,e=void 0===e?t<r?1:-1:ef(e),n)}}function Uu(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=ff(t),r=ff(r)),n(t,r)}}function Tu(n,t,r,e,u,i,o,f,a,c){var l=8&t;t|=l?32:64,4&(t&=~(l?64:32))||(t&=-4);var s=[n,t,u,l?i:void 0,l?o:void 0,l?void 0:i,l?void 0:o,f,a,c],v=r.apply(void 0,s);return li(n)&&bi(v,s),v.placeholder=e,xi(v,n,t)}function Bu(n){var t=pn[n];return function(n,r){if(n=ff(n),(r=null==r?0:ar(uf(r),292))&&ur(n)){var e=(cf(n)+"e").split("e");return+((e=(cf(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}var Mu=_r&&1/Ft(new _r([,-0]))[1]==1/0?function(n){return new _r(n)}:Xf;function Du(n){return function(t){var r=ei(t);return r==h?Pt(t):r==g?qt(t):function(n,t){return vt(t,(function(t){return[t,n[t]]}))}(t,n(t))}}function Pu(n,t,r,i,o,f,a,c){var l=2&t;if(!l&&"function"!=typeof n)throw new yn(e);var s=i?i.length:0;if(s||(t&=-97,i=o=void 0),a=void 0===a?a:fr(uf(a),0),c=void 0===c?c:uf(c),s-=o?o.length:0,64&t){var v=i,h=o;i=o=void 0}var p=l?void 0:Gu(n),d=[n,t,r,i,o,v,h,f,a,c];if(p&&function(n,t){var r=n[1],e=t[1],i=r|e,o=i<131,f=128==e&&8==r||128==e&&256==r&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(!o&&!f)return n;1&e&&(n[2]=t[2],i|=1&r?0:4);var a=t[3];if(a){var c=n[3];n[3]=c?_u(c,a,t[4]):a,n[4]=c?Nt(n[3],u):t[4]}(a=t[5])&&(c=n[5],n[5]=c?gu(c,a,t[6]):a,n[6]=c?Nt(n[5],u):t[6]);(a=t[7])&&(n[7]=a);128&e&&(n[8]=null==n[8]?t[8]:ar(n[8],t[8]));null==n[9]&&(n[9]=t[9]);n[0]=t[0],n[1]=i}(d,p),n=d[0],t=d[1],r=d[2],i=d[3],o=d[4],!(c=d[9]=void 0===d[9]?l?0:n.length:fr(d[9]-s,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(n,t,r){var e=ku(n);return function u(){for(var i=arguments.length,o=V(i),f=i,a=Ju(u);f--;)o[f]=arguments[f];var c=i<3&&o[0]!==a&&o[i-1]!==a?[]:Nt(o,a);if((i-=c.length)<r)return Tu(n,t,Ru,u.placeholder,void 0,o,c,void 0,void 0,r-i);var l=this&&this!==Kn&&this instanceof u?e:n;return ut(l,this,o)}}(n,t,c):32!=t&&33!=t||o.length?Ru.apply(void 0,d):function(n,t,r,e){var u=1&t,i=ku(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=V(c+f),s=this&&this!==Kn&&this instanceof t?i:n;++a<c;)l[a]=e[a];for(;f--;)l[a++]=arguments[++o];return ut(s,u?r:this,l)}}(n,t,r,i);else var _=function(n,t,r){var e=1&t,u=ku(n);return function t(){var i=this&&this!==Kn&&this instanceof t?u:n;return i.apply(e?r:this,arguments)}}(n,t,r);return xi((p?Fe:bi)(_,d),n,t)}function $u(n,t,r,e){return void 0===n||So(n,mn[r])&&!An.call(e,r)?t:n}function Nu(n,t,r,e,u,i){return qo(n)&&qo(t)&&(i.set(t,n),ze(n,t,void 0,Nu,i),i.delete(t)),n}function Fu(n){return Go(n)?void 0:n}function qu(n,t,r,e,u,i){var o=1&r,f=n.length,a=t.length;if(f!=a&&!(o&&a>f))return!1;var c=i.get(n),l=i.get(t);if(c&&l)return c==t&&l==n;var s=-1,v=!0,h=2&r?new Br:void 0;for(i.set(n,t),i.set(t,n);++s<f;){var p=n[s],d=t[s];if(e)var _=o?e(d,p,s,t,n,i):e(p,d,s,n,t,i);if(void 0!==_){if(_)continue;v=!1;break}if(h){if(!_t(t,(function(n,t){if(!Ct(h,t)&&(p===n||u(p,n,r,e,i)))return h.push(t)}))){v=!1;break}}else if(p!==d&&!u(p,d,r,e,i)){v=!1;break}}return i.delete(n),i.delete(t),v}function Zu(n){return mi(di(n,void 0,Wi),n+"")}function Ku(n){return he(n,xf,ti)}function Vu(n){return he(n,jf,ri)}var Gu=br?function(n){return br.get(n)}:Xf;function Hu(n){for(var t=n.name+"",r=wr[t],e=An.call(wr,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function Ju(n){return(An.call(Rr,"placeholder")?Rr:n).placeholder}function Yu(){var n=Rr.iteratee||Hf;return n=n===Hf?Ae:n,arguments.length?n(arguments[0],arguments[1]):n}function Qu(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function Xu(n){for(var t=xf(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,hi(u)]}return t}function ni(n,t){var r=function(n,t){return null==n?void 0:n[t]}(n,t);return je(r)?r:void 0}var ti=rr?function(n){return null==n?[]:(n=dn(n),ct(rr(n),(function(t){return Gn.call(n,t)})))}:oa,ri=rr?function(n){for(var t=[];n;)ht(t,ti(n)),n=Zn(n);return t}:oa,ei=pe;function ui(n,t,r){for(var e=-1,u=(t=au(t,n)).length,i=!1;++e<u;){var o=ki(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Fo(u)&&fi(o,u)&&(Wo(n)||Lo(n))}function ii(n){return"function"!=typeof n.constructor||vi(n)?{}:Sr(Zn(n))}function oi(n){return Wo(n)||Lo(n)||!!(Yn&&n&&n[Yn])}function fi(n,t){var r=typeof n;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&fn.test(n))&&n>-1&&n%1==0&&n<t}function ai(n,t,r){if(!qo(r))return!1;var e=typeof t;return!!("number"==e?To(r)&&fi(t,r.length):"string"==e&&t in r)&&So(r[t],n)}function ci(n,t){if(Wo(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!Qo(n))||(N.test(n)||!$.test(n)||null!=t&&n in dn(t))}function li(n){var t=Hu(n),r=Rr[t];if("function"!=typeof r||!(t in Lr.prototype))return!1;if(n===r)return!0;var e=Gu(r);return!!e&&n===e[0]}(hr&&ei(new hr(new ArrayBuffer(1)))!=x||pr&&ei(new pr)!=h||dr&&"[object Promise]"!=ei(dr.resolve())||_r&&ei(new _r)!=g||gr&&ei(new gr)!=w)&&(ei=function(n){var t=pe(n),r=t==d?n.constructor:void 0,e=r?Ei(r):"";if(e)switch(e){case mr:return x;case xr:return h;case jr:return"[object Promise]";case Ar:return g;case Or:return w}return t});var si=xn?$o:fa;function vi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||mn)}function hi(n){return n==n&&!qo(n)}function pi(n,t){return function(r){return null!=r&&(r[n]===t&&(void 0!==t||n in dn(r)))}}function di(n,t,r){return t=fr(void 0===t?n.length-1:t,0),function(){for(var e=arguments,u=-1,i=fr(e.length-t,0),o=V(i);++u<i;)o[u]=e[t+u];u=-1;for(var f=V(t+1);++u<t;)f[u]=e[u];return f[t]=r(o),ut(n,this,f)}}function _i(n,t){return t.length<2?n:ve(n,Ke(t,0,-1))}function gi(n,t){for(var r=n.length,e=ar(t.length,r),u=yu(n);e--;){var i=t[e];n[e]=fi(i,r)?u[i]:void 0}return n}function yi(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var bi=ji(Fe),wi=Xt||function(n,t){return Kn.setTimeout(n,t)},mi=ji(qe);function xi(n,t,r){var e=t+"";return mi(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(G,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return ot(i,(function(r){var e="_."+r[0];t&r[1]&&!lt(n,e)&&n.push(e)})),n.sort()}(function(n){var t=n.match(H);return t?t[1].split(J):[]}(e),r)))}function ji(n){var t=0,r=0;return function(){var e=cr(),u=16-(e-r);if(r=e,u>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}function Ai(n,t){var r=-1,e=n.length,u=e-1;for(t=void 0===t?e:t;++r<t;){var i=Be(r,u),o=n[i];n[i]=n[r],n[r]=o}return n.length=t,n}var Oi=function(n){var t=Ao(n,(function(n){return 500===r.size&&r.clear(),n})),r=t.cache;return t}((function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(F,(function(n,r,e,u){t.push(e?u.replace(X,"$1"):r||n)})),t}));function ki(n){if("string"==typeof n||Qo(n))return n;var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function Ei(n){if(null!=n){try{return jn.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Ii(n){if(n instanceof Lr)return n.clone();var t=new Cr(n.__wrapped__,n.__chain__);return t.__actions__=yu(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var Ri=De((function(n,t){return Bo(n)?ne(n,oe(t,1,Bo,!0)):[]})),Si=De((function(n,t){var r=Di(t);return Bo(r)&&(r=void 0),Bo(n)?ne(n,oe(t,1,Bo,!0),Yu(r,2)):[]})),zi=De((function(n,t){var r=Di(t);return Bo(r)&&(r=void 0),Bo(n)?ne(n,oe(t,1,Bo,!0),void 0,r):[]}));function Ci(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:uf(r);return u<0&&(u=fr(e+u,0)),bt(n,Yu(t,3),u)}function Li(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return void 0!==r&&(u=uf(r),u=r<0?fr(e+u,0):ar(u,e-1)),bt(n,Yu(t,3),u,!0)}function Wi(n){return(null==n?0:n.length)?oe(n,1):[]}function Ui(n){return n&&n.length?n[0]:void 0}var Ti=De((function(n){var t=vt(n,ou);return t.length&&t[0]===n[0]?ye(t):[]})),Bi=De((function(n){var t=Di(n),r=vt(n,ou);return t===Di(r)?t=void 0:r.pop(),r.length&&r[0]===n[0]?ye(r,Yu(t,2)):[]})),Mi=De((function(n){var t=Di(n),r=vt(n,ou);return(t="function"==typeof t?t:void 0)&&r.pop(),r.length&&r[0]===n[0]?ye(r,void 0,t):[]}));function Di(n){var t=null==n?0:n.length;return t?n[t-1]:void 0}var Pi=De($i);function $i(n,t){return n&&n.length&&t&&t.length?Ue(n,t):n}var Ni=Zu((function(n,t){var r=null==n?0:n.length,e=Hr(n,t);return Te(n,vt(t,(function(n){return fi(n,r)?+n:n})).sort(du)),e}));function Fi(n){return null==n?n:vr.call(n)}var qi=De((function(n){return Xe(oe(n,1,Bo,!0))})),Zi=De((function(n){var t=Di(n);return Bo(t)&&(t=void 0),Xe(oe(n,1,Bo,!0),Yu(t,2))})),Ki=De((function(n){var t=Di(n);return t="function"==typeof t?t:void 0,Xe(oe(n,1,Bo,!0),void 0,t)}));function Vi(n){if(!n||!n.length)return[];var t=0;return n=ct(n,(function(n){if(Bo(n))return t=fr(n.length,t),!0})),It(t,(function(t){return vt(n,At(t))}))}function Gi(n,t){if(!n||!n.length)return[];var r=Vi(n);return null==t?r:vt(r,(function(n){return ut(t,void 0,n)}))}var Hi=De((function(n,t){return Bo(n)?ne(n,t):[]})),Ji=De((function(n){return uu(ct(n,Bo))})),Yi=De((function(n){var t=Di(n);return Bo(t)&&(t=void 0),uu(ct(n,Bo),Yu(t,2))})),Qi=De((function(n){var t=Di(n);return t="function"==typeof t?t:void 0,uu(ct(n,Bo),void 0,t)})),Xi=De(Vi);var no=De((function(n){var t=n.length,r=t>1?n[t-1]:void 0;return r="function"==typeof r?(n.pop(),r):void 0,Gi(n,r)}));function to(n){var t=Rr(n);return t.__chain__=!0,t}function ro(n,t){return t(n)}var eo=Zu((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return Hr(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Lr&&fi(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:ro,args:[u],thisArg:void 0}),new Cr(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(void 0),n}))):this.thru(u)}));var uo=wu((function(n,t,r){An.call(n,r)?++n[r]:Gr(n,r,1)}));var io=Eu(Ci),oo=Eu(Li);function fo(n,t){return(Wo(n)?ot:te)(n,Yu(t,3))}function ao(n,t){return(Wo(n)?ft:re)(n,Yu(t,3))}var co=wu((function(n,t,r){An.call(n,r)?n[r].push(t):Gr(n,r,[t])}));var lo=De((function(n,t,r){var e=-1,u="function"==typeof t,i=To(n)?V(n.length):[];return te(n,(function(n){i[++e]=u?ut(t,n,r):be(n,t,r)})),i})),so=wu((function(n,t,r){Gr(n,r,t)}));function vo(n,t){return(Wo(n)?vt:Ie)(n,Yu(t,3))}var ho=wu((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]}));var po=De((function(n,t){if(null==n)return[];var r=t.length;return r>1&&ai(n,t[0],t[1])?t=[]:r>2&&ai(t[0],t[1],t[2])&&(t=[t[0]]),Le(n,oe(t,1),[])})),_o=Qt||function(){return Kn.Date.now()};function go(n,t,r){return t=r?void 0:t,Pu(n,128,void 0,void 0,void 0,void 0,t=n&&null==t?n.length:t)}function yo(n,t){var r;if("function"!=typeof t)throw new yn(e);return n=uf(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=void 0),r}}var bo=De((function(n,t,r){var e=1;if(r.length){var u=Nt(r,Ju(bo));e|=32}return Pu(n,e,t,r,u)})),wo=De((function(n,t,r){var e=3;if(r.length){var u=Nt(r,Ju(wo));e|=32}return Pu(t,e,n,r,u)}));function mo(n,t,r){var u,i,o,f,a,c,l=0,s=!1,v=!1,h=!0;if("function"!=typeof n)throw new yn(e);function p(t){var r=u,e=i;return u=i=void 0,l=t,f=n.apply(e,r)}function d(n){return l=n,a=wi(g,t),s?p(n):f}function _(n){var r=n-c;return void 0===c||r>=t||r<0||v&&n-l>=o}function g(){var n=_o();if(_(n))return y(n);a=wi(g,function(n){var r=t-(n-c);return v?ar(r,o-(n-l)):r}(n))}function y(n){return a=void 0,h&&u?p(n):(u=i=void 0,f)}function b(){var n=_o(),r=_(n);if(u=arguments,i=this,c=n,r){if(void 0===a)return d(c);if(v)return su(a),a=wi(g,t),p(c)}return void 0===a&&(a=wi(g,t)),f}return t=ff(t)||0,qo(r)&&(s=!!r.leading,o=(v="maxWait"in r)?fr(ff(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==a&&su(a),l=0,u=c=i=a=void 0},b.flush=function(){return void 0===a?f:y(_o())},b}var xo=De((function(n,t){return Xr(n,1,t)})),jo=De((function(n,t,r){return Xr(n,ff(t)||0,r)}));function Ao(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new yn(e);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Ao.Cache||Tr),r}function Oo(n){if("function"!=typeof n)throw new yn(e);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Ao.Cache=Tr;var ko=cu((function(n,t){var r=(t=1==t.length&&Wo(t[0])?vt(t[0],St(Yu())):vt(oe(t,1),St(Yu()))).length;return De((function(e){for(var u=-1,i=ar(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return ut(n,this,e)}))})),Eo=De((function(n,t){return Pu(n,32,void 0,t,Nt(t,Ju(Eo)))})),Io=De((function(n,t){return Pu(n,64,void 0,t,Nt(t,Ju(Io)))})),Ro=Zu((function(n,t){return Pu(n,256,void 0,void 0,void 0,t)}));function So(n,t){return n===t||n!=n&&t!=t}var zo=Uu(de),Co=Uu((function(n,t){return n>=t})),Lo=we(function(){return arguments}())?we:function(n){return Zo(n)&&An.call(n,"callee")&&!Gn.call(n,"callee")},Wo=V.isArray,Uo=Qn?St(Qn):function(n){return Zo(n)&&pe(n)==m};function To(n){return null!=n&&Fo(n.length)&&!$o(n)}function Bo(n){return Zo(n)&&To(n)}var Mo=er||fa,Do=Xn?St(Xn):function(n){return Zo(n)&&pe(n)==c};function Po(n){if(!Zo(n))return!1;var t=pe(n);return t==l||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!Go(n)}function $o(n){if(!qo(n))return!1;var t=pe(n);return t==s||t==v||"[object AsyncFunction]"==t||"[object Proxy]"==t}function No(n){return"number"==typeof n&&n==uf(n)}function Fo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function qo(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function Zo(n){return null!=n&&"object"==typeof n}var Ko=nt?St(nt):function(n){return Zo(n)&&ei(n)==h};function Vo(n){return"number"==typeof n||Zo(n)&&pe(n)==p}function Go(n){if(!Zo(n)||pe(n)!=d)return!1;var t=Zn(n);if(null===t)return!0;var r=An.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&jn.call(r)==In}var Ho=tt?St(tt):function(n){return Zo(n)&&pe(n)==_};var Jo=rt?St(rt):function(n){return Zo(n)&&ei(n)==g};function Yo(n){return"string"==typeof n||!Wo(n)&&Zo(n)&&pe(n)==y}function Qo(n){return"symbol"==typeof n||Zo(n)&&pe(n)==b}var Xo=et?St(et):function(n){return Zo(n)&&Fo(n.length)&&!!Dn[pe(n)]};var nf=Uu(Ee),tf=Uu((function(n,t){return n<=t}));function rf(n){if(!n)return[];if(To(n))return Yo(n)?Kt(n):yu(n);if(gt&&n[gt])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[gt]());var t=ei(n);return(t==h?Pt:t==g?Ft:zf)(n)}function ef(n){return n?(n=ff(n))===1/0||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function uf(n){var t=ef(n),r=t%1;return t==t?r?t-r:t:0}function of(n){return n?Jr(uf(n),0,4294967295):0}function ff(n){if("number"==typeof n)return n;if(Qo(n))return NaN;if(qo(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=qo(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Rt(n);var r=en.test(n);return r||on.test(n)?Fn(n.slice(2),r?2:8):rn.test(n)?NaN:+n}function af(n){return bu(n,jf(n))}function cf(n){return null==n?"":Qe(n)}var lf=mu((function(n,t){if(vi(t)||To(t))bu(t,xf(t),n);else for(var r in t)An.call(t,r)&&qr(n,r,t[r])})),sf=mu((function(n,t){bu(t,jf(t),n)})),vf=mu((function(n,t,r,e){bu(t,jf(t),n,e)})),hf=mu((function(n,t,r,e){bu(t,xf(t),n,e)})),pf=Zu(Hr);var df=De((function(n,t){n=dn(n);var r=-1,e=t.length,u=e>2?t[2]:void 0;for(u&&ai(t[0],t[1],u)&&(e=1);++r<e;)for(var i=t[r],o=jf(i),f=-1,a=o.length;++f<a;){var c=o[f],l=n[c];(void 0===l||So(l,mn[c])&&!An.call(n,c))&&(n[c]=i[c])}return n})),_f=De((function(n){return n.push(void 0,Nu),ut(Of,void 0,n)}));function gf(n,t,r){var e=null==n?void 0:ve(n,t);return void 0===e?r:e}function yf(n,t){return null!=n&&ui(n,t,ge)}var bf=Su((function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=En.call(t)),n[t]=r}),Zf(Gf)),wf=Su((function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=En.call(t)),An.call(n,t)?n[t].push(r):n[t]=[r]}),Yu),mf=De(be);function xf(n){return To(n)?Dr(n):Oe(n)}function jf(n){return To(n)?Dr(n,!0):ke(n)}var Af=mu((function(n,t,r){ze(n,t,r)})),Of=mu((function(n,t,r,e){ze(n,t,r,e)})),kf=Zu((function(n,t){var r={};if(null==n)return r;var e=!1;t=vt(t,(function(t){return t=au(t,n),e||(e=t.length>1),t})),bu(n,Vu(n),r),e&&(r=Yr(r,7,Fu));for(var u=t.length;u--;)nu(r,t[u]);return r}));var Ef=Zu((function(n,t){return null==n?{}:function(n,t){return We(n,t,(function(t,r){return yf(n,r)}))}(n,t)}));function If(n,t){if(null==n)return{};var r=vt(Vu(n),(function(n){return[n]}));return t=Yu(t),We(n,r,(function(n,r){return t(n,r[0])}))}var Rf=Du(xf),Sf=Du(jf);function zf(n){return null==n?[]:zt(n,xf(n))}var Cf=Ou((function(n,t,r){return t=t.toLowerCase(),n+(r?Lf(t):t)}));function Lf(n){return $f(cf(n).toLowerCase())}function Wf(n){return(n=cf(n))&&n.replace(an,Tt).replace(Cn,"")}var Uf=Ou((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),Tf=Ou((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),Bf=Au("toLowerCase");var Mf=Ou((function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}));var Df=Ou((function(n,t,r){return n+(r?" ":"")+$f(t)}));var Pf=Ou((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),$f=Au("toUpperCase");function Nf(n,t,r){return n=cf(n),void 0===(t=r?void 0:t)?function(n){return Tn.test(n)}(n)?function(n){return n.match(Wn)||[]}(n):function(n){return n.match(Y)||[]}(n):n.match(t)||[]}var Ff=De((function(n,t){try{return ut(n,void 0,t)}catch(n){return Po(n)?n:new vn(n)}})),qf=Zu((function(n,t){return ot(t,(function(t){t=ki(t),Gr(n,t,bo(n[t],n))})),n}));function Zf(n){return function(){return n}}var Kf=Iu(),Vf=Iu(!0);function Gf(n){return n}function Hf(n){return Ae("function"==typeof n?n:Yr(n,1))}var Jf=De((function(n,t){return function(r){return be(r,n,t)}})),Yf=De((function(n,t){return function(r){return be(n,r,t)}}));function Qf(n,t,r){var e=xf(t),u=se(t,e);null!=r||qo(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=se(t,xf(t)));var i=!(qo(r)&&"chain"in r&&!r.chain),o=$o(n);return ot(u,(function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__),u=r.__actions__=yu(this.__actions__);return u.push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,ht([this.value()],arguments))})})),n}function Xf(){}var na=Cu(vt),ta=Cu(at),ra=Cu(_t);function ea(n){return ci(n)?At(ki(n)):function(n){return function(t){return ve(t,n)}}(n)}var ua=Wu(),ia=Wu(!0);function oa(){return[]}function fa(){return!1}var aa=zu((function(n,t){return n+t}),0),ca=Bu("ceil"),la=zu((function(n,t){return n/t}),1),sa=Bu("floor");var va,ha=zu((function(n,t){return n*t}),1),pa=Bu("round"),da=zu((function(n,t){return n-t}),0);return Rr.after=function(n,t){if("function"!=typeof t)throw new yn(e);return n=uf(n),function(){if(--n<1)return t.apply(this,arguments)}},Rr.ary=go,Rr.assign=lf,Rr.assignIn=sf,Rr.assignInWith=vf,Rr.assignWith=hf,Rr.at=pf,Rr.before=yo,Rr.bind=bo,Rr.bindAll=qf,Rr.bindKey=wo,Rr.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Wo(n)?n:[n]},Rr.chain=to,Rr.chunk=function(n,t,r){t=(r?ai(n,t,r):void 0===t)?1:fr(uf(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var u=0,i=0,o=V(nr(e/t));u<e;)o[i++]=Ke(n,u,u+=t);return o},Rr.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},Rr.concat=function(){var n=arguments.length;if(!n)return[];for(var t=V(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return ht(Wo(r)?yu(r):[r],oe(t,1))},Rr.cond=function(n){var t=null==n?0:n.length,r=Yu();return n=t?vt(n,(function(n){if("function"!=typeof n[1])throw new yn(e);return[r(n[0]),n[1]]})):[],De((function(r){for(var e=-1;++e<t;){var u=n[e];if(ut(u[0],this,r))return ut(u[1],this,r)}}))},Rr.conforms=function(n){return function(n){var t=xf(n);return function(r){return Qr(r,n,t)}}(Yr(n,1))},Rr.constant=Zf,Rr.countBy=uo,Rr.create=function(n,t){var r=Sr(n);return null==t?r:Vr(r,t)},Rr.curry=function n(t,r,e){var u=Pu(t,8,void 0,void 0,void 0,void 0,void 0,r=e?void 0:r);return u.placeholder=n.placeholder,u},Rr.curryRight=function n(t,r,e){var u=Pu(t,16,void 0,void 0,void 0,void 0,void 0,r=e?void 0:r);return u.placeholder=n.placeholder,u},Rr.debounce=mo,Rr.defaults=df,Rr.defaultsDeep=_f,Rr.defer=xo,Rr.delay=jo,Rr.difference=Ri,Rr.differenceBy=Si,Rr.differenceWith=zi,Rr.drop=function(n,t,r){var e=null==n?0:n.length;return e?Ke(n,(t=r||void 0===t?1:uf(t))<0?0:t,e):[]},Rr.dropRight=function(n,t,r){var e=null==n?0:n.length;return e?Ke(n,0,(t=e-(t=r||void 0===t?1:uf(t)))<0?0:t):[]},Rr.dropRightWhile=function(n,t){return n&&n.length?ru(n,Yu(t,3),!0,!0):[]},Rr.dropWhile=function(n,t){return n&&n.length?ru(n,Yu(t,3),!0):[]},Rr.fill=function(n,t,r,e){var u=null==n?0:n.length;return u?(r&&"number"!=typeof r&&ai(n,t,r)&&(r=0,e=u),function(n,t,r,e){var u=n.length;for((r=uf(r))<0&&(r=-r>u?0:u+r),(e=void 0===e||e>u?u:uf(e))<0&&(e+=u),e=r>e?0:of(e);r<e;)n[r++]=t;return n}(n,t,r,e)):[]},Rr.filter=function(n,t){return(Wo(n)?ct:ie)(n,Yu(t,3))},Rr.flatMap=function(n,t){return oe(vo(n,t),1)},Rr.flatMapDeep=function(n,t){return oe(vo(n,t),1/0)},Rr.flatMapDepth=function(n,t,r){return r=void 0===r?1:uf(r),oe(vo(n,t),r)},Rr.flatten=Wi,Rr.flattenDeep=function(n){return(null==n?0:n.length)?oe(n,1/0):[]},Rr.flattenDepth=function(n,t){return(null==n?0:n.length)?oe(n,t=void 0===t?1:uf(t)):[]},Rr.flip=function(n){return Pu(n,512)},Rr.flow=Kf,Rr.flowRight=Vf,Rr.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},Rr.functions=function(n){return null==n?[]:se(n,xf(n))},Rr.functionsIn=function(n){return null==n?[]:se(n,jf(n))},Rr.groupBy=co,Rr.initial=function(n){return(null==n?0:n.length)?Ke(n,0,-1):[]},Rr.intersection=Ti,Rr.intersectionBy=Bi,Rr.intersectionWith=Mi,Rr.invert=bf,Rr.invertBy=wf,Rr.invokeMap=lo,Rr.iteratee=Hf,Rr.keyBy=so,Rr.keys=xf,Rr.keysIn=jf,Rr.map=vo,Rr.mapKeys=function(n,t){var r={};return t=Yu(t,3),ce(n,(function(n,e,u){Gr(r,t(n,e,u),n)})),r},Rr.mapValues=function(n,t){var r={};return t=Yu(t,3),ce(n,(function(n,e,u){Gr(r,e,t(n,e,u))})),r},Rr.matches=function(n){return Re(Yr(n,1))},Rr.matchesProperty=function(n,t){return Se(n,Yr(t,1))},Rr.memoize=Ao,Rr.merge=Af,Rr.mergeWith=Of,Rr.method=Jf,Rr.methodOf=Yf,Rr.mixin=Qf,Rr.negate=Oo,Rr.nthArg=function(n){return n=uf(n),De((function(t){return Ce(t,n)}))},Rr.omit=kf,Rr.omitBy=function(n,t){return If(n,Oo(Yu(t)))},Rr.once=function(n){return yo(2,n)},Rr.orderBy=function(n,t,r,e){return null==n?[]:(Wo(t)||(t=null==t?[]:[t]),Wo(r=e?void 0:r)||(r=null==r?[]:[r]),Le(n,t,r))},Rr.over=na,Rr.overArgs=ko,Rr.overEvery=ta,Rr.overSome=ra,Rr.partial=Eo,Rr.partialRight=Io,Rr.partition=ho,Rr.pick=Ef,Rr.pickBy=If,Rr.property=ea,Rr.propertyOf=function(n){return function(t){return null==n?void 0:ve(n,t)}},Rr.pull=Pi,Rr.pullAll=$i,Rr.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Ue(n,t,Yu(r,2)):n},Rr.pullAllWith=function(n,t,r){return n&&n.length&&t&&t.length?Ue(n,t,void 0,r):n},Rr.pullAt=Ni,Rr.range=ua,Rr.rangeRight=ia,Rr.rearg=Ro,Rr.reject=function(n,t){return(Wo(n)?ct:ie)(n,Oo(Yu(t,3)))},Rr.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=Yu(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return Te(n,u),r},Rr.rest=function(n,t){if("function"!=typeof n)throw new yn(e);return De(n,t=void 0===t?t:uf(t))},Rr.reverse=Fi,Rr.sampleSize=function(n,t,r){return t=(r?ai(n,t,r):void 0===t)?1:uf(t),(Wo(n)?$r:$e)(n,t)},Rr.set=function(n,t,r){return null==n?n:Ne(n,t,r)},Rr.setWith=function(n,t,r,e){return e="function"==typeof e?e:void 0,null==n?n:Ne(n,t,r,e)},Rr.shuffle=function(n){return(Wo(n)?Nr:Ze)(n)},Rr.slice=function(n,t,r){var e=null==n?0:n.length;return e?(r&&"number"!=typeof r&&ai(n,t,r)?(t=0,r=e):(t=null==t?0:uf(t),r=void 0===r?e:uf(r)),Ke(n,t,r)):[]},Rr.sortBy=po,Rr.sortedUniq=function(n){return n&&n.length?Je(n):[]},Rr.sortedUniqBy=function(n,t){return n&&n.length?Je(n,Yu(t,2)):[]},Rr.split=function(n,t,r){return r&&"number"!=typeof r&&ai(n,t,r)&&(t=r=void 0),(r=void 0===r?4294967295:r>>>0)?(n=cf(n))&&("string"==typeof t||null!=t&&!Ho(t))&&!(t=Qe(t))&&Dt(n)?lu(Kt(n),0,r):n.split(t,r):[]},Rr.spread=function(n,t){if("function"!=typeof n)throw new yn(e);return t=null==t?0:fr(uf(t),0),De((function(r){var e=r[t],u=lu(r,0,t);return e&&ht(u,e),ut(n,this,u)}))},Rr.tail=function(n){var t=null==n?0:n.length;return t?Ke(n,1,t):[]},Rr.take=function(n,t,r){return n&&n.length?Ke(n,0,(t=r||void 0===t?1:uf(t))<0?0:t):[]},Rr.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?Ke(n,(t=e-(t=r||void 0===t?1:uf(t)))<0?0:t,e):[]},Rr.takeRightWhile=function(n,t){return n&&n.length?ru(n,Yu(t,3),!1,!0):[]},Rr.takeWhile=function(n,t){return n&&n.length?ru(n,Yu(t,3)):[]},Rr.tap=function(n,t){return t(n),n},Rr.throttle=function(n,t,r){var u=!0,i=!0;if("function"!=typeof n)throw new yn(e);return qo(r)&&(u="leading"in r?!!r.leading:u,i="trailing"in r?!!r.trailing:i),mo(n,t,{leading:u,maxWait:t,trailing:i})},Rr.thru=ro,Rr.toArray=rf,Rr.toPairs=Rf,Rr.toPairsIn=Sf,Rr.toPath=function(n){return Wo(n)?vt(n,ki):Qo(n)?[n]:yu(Oi(cf(n)))},Rr.toPlainObject=af,Rr.transform=function(n,t,r){var e=Wo(n),u=e||Mo(n)||Xo(n);if(t=Yu(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:qo(n)&&$o(i)?Sr(Zn(n)):{}}return(u?ot:ce)(n,(function(n,e,u){return t(r,n,e,u)})),r},Rr.unary=function(n){return go(n,1)},Rr.union=qi,Rr.unionBy=Zi,Rr.unionWith=Ki,Rr.uniq=function(n){return n&&n.length?Xe(n):[]},Rr.uniqBy=function(n,t){return n&&n.length?Xe(n,Yu(t,2)):[]},Rr.uniqWith=function(n,t){return t="function"==typeof t?t:void 0,n&&n.length?Xe(n,void 0,t):[]},Rr.unset=function(n,t){return null==n||nu(n,t)},Rr.unzip=Vi,Rr.unzipWith=Gi,Rr.update=function(n,t,r){return null==n?n:tu(n,t,fu(r))},Rr.updateWith=function(n,t,r,e){return e="function"==typeof e?e:void 0,null==n?n:tu(n,t,fu(r),e)},Rr.values=zf,Rr.valuesIn=function(n){return null==n?[]:zt(n,jf(n))},Rr.without=Hi,Rr.words=Nf,Rr.wrap=function(n,t){return Eo(fu(t),n)},Rr.xor=Ji,Rr.xorBy=Yi,Rr.xorWith=Qi,Rr.zip=Xi,Rr.zipObject=function(n,t){return iu(n||[],t||[],qr)},Rr.zipObjectDeep=function(n,t){return iu(n||[],t||[],Ne)},Rr.zipWith=no,Rr.entries=Rf,Rr.entriesIn=Sf,Rr.extend=sf,Rr.extendWith=vf,Qf(Rr,Rr),Rr.add=aa,Rr.attempt=Ff,Rr.camelCase=Cf,Rr.capitalize=Lf,Rr.ceil=ca,Rr.clamp=function(n,t,r){return void 0===r&&(r=t,t=void 0),void 0!==r&&(r=(r=ff(r))==r?r:0),void 0!==t&&(t=(t=ff(t))==t?t:0),Jr(ff(n),t,r)},Rr.clone=function(n){return Yr(n,4)},Rr.cloneDeep=function(n){return Yr(n,5)},Rr.cloneDeepWith=function(n,t){return Yr(n,5,t="function"==typeof t?t:void 0)},Rr.cloneWith=function(n,t){return Yr(n,4,t="function"==typeof t?t:void 0)},Rr.conformsTo=function(n,t){return null==t||Qr(n,t,xf(t))},Rr.deburr=Wf,Rr.defaultTo=function(n,t){return null==n||n!=n?t:n},Rr.divide=la,Rr.endsWith=function(n,t,r){n=cf(n),t=Qe(t);var e=n.length,u=r=void 0===r?e:Jr(uf(r),0,e);return(r-=t.length)>=0&&n.slice(r,u)==t},Rr.eq=So,Rr.escape=function(n){return(n=cf(n))&&B.test(n)?n.replace(U,Bt):n},Rr.escapeRegExp=function(n){return(n=cf(n))&&Z.test(n)?n.replace(q,"\\$&"):n},Rr.every=function(n,t,r){var e=Wo(n)?at:ee;return r&&ai(n,t,r)&&(t=void 0),e(n,Yu(t,3))},Rr.find=io,Rr.findIndex=Ci,Rr.findKey=function(n,t){return yt(n,Yu(t,3),ce)},Rr.findLast=oo,Rr.findLastIndex=Li,Rr.findLastKey=function(n,t){return yt(n,Yu(t,3),le)},Rr.floor=sa,Rr.forEach=fo,Rr.forEachRight=ao,Rr.forIn=function(n,t){return null==n?n:fe(n,Yu(t,3),jf)},Rr.forInRight=function(n,t){return null==n?n:ae(n,Yu(t,3),jf)},Rr.forOwn=function(n,t){return n&&ce(n,Yu(t,3))},Rr.forOwnRight=function(n,t){return n&&le(n,Yu(t,3))},Rr.get=gf,Rr.gt=zo,Rr.gte=Co,Rr.has=function(n,t){return null!=n&&ui(n,t,_e)},Rr.hasIn=yf,Rr.head=Ui,Rr.identity=Gf,Rr.includes=function(n,t,r,e){n=To(n)?n:zf(n),r=r&&!e?uf(r):0;var u=n.length;return r<0&&(r=fr(u+r,0)),Yo(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&wt(n,t,r)>-1},Rr.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:uf(r);return u<0&&(u=fr(e+u,0)),wt(n,t,u)},Rr.inRange=function(n,t,r){return t=ef(t),void 0===r?(r=t,t=0):r=ef(r),function(n,t,r){return n>=ar(t,r)&&n<fr(t,r)}(n=ff(n),t,r)},Rr.invoke=mf,Rr.isArguments=Lo,Rr.isArray=Wo,Rr.isArrayBuffer=Uo,Rr.isArrayLike=To,Rr.isArrayLikeObject=Bo,Rr.isBoolean=function(n){return!0===n||!1===n||Zo(n)&&pe(n)==a},Rr.isBuffer=Mo,Rr.isDate=Do,Rr.isElement=function(n){return Zo(n)&&1===n.nodeType&&!Go(n)},Rr.isEmpty=function(n){if(null==n)return!0;if(To(n)&&(Wo(n)||"string"==typeof n||"function"==typeof n.splice||Mo(n)||Xo(n)||Lo(n)))return!n.length;var t=ei(n);if(t==h||t==g)return!n.size;if(vi(n))return!Oe(n).length;for(var r in n)if(An.call(n,r))return!1;return!0},Rr.isEqual=function(n,t){return me(n,t)},Rr.isEqualWith=function(n,t,r){var e=(r="function"==typeof r?r:void 0)?r(n,t):void 0;return void 0===e?me(n,t,void 0,r):!!e},Rr.isError=Po,Rr.isFinite=function(n){return"number"==typeof n&&ur(n)},Rr.isFunction=$o,Rr.isInteger=No,Rr.isLength=Fo,Rr.isMap=Ko,Rr.isMatch=function(n,t){return n===t||xe(n,t,Xu(t))},Rr.isMatchWith=function(n,t,r){return r="function"==typeof r?r:void 0,xe(n,t,Xu(t),r)},Rr.isNaN=function(n){return Vo(n)&&n!=+n},Rr.isNative=function(n){if(si(n))throw new vn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return je(n)},Rr.isNil=function(n){return null==n},Rr.isNull=function(n){return null===n},Rr.isNumber=Vo,Rr.isObject=qo,Rr.isObjectLike=Zo,Rr.isPlainObject=Go,Rr.isRegExp=Ho,Rr.isSafeInteger=function(n){return No(n)&&n>=-9007199254740991&&n<=9007199254740991},Rr.isSet=Jo,Rr.isString=Yo,Rr.isSymbol=Qo,Rr.isTypedArray=Xo,Rr.isUndefined=function(n){return void 0===n},Rr.isWeakMap=function(n){return Zo(n)&&ei(n)==w},Rr.isWeakSet=function(n){return Zo(n)&&"[object WeakSet]"==pe(n)},Rr.join=function(n,t){return null==n?"":ir.call(n,t)},Rr.kebabCase=Uf,Rr.last=Di,Rr.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;return void 0!==r&&(u=(u=uf(r))<0?fr(e+u,0):ar(u,e-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,u):bt(n,xt,u,!0)},Rr.lowerCase=Tf,Rr.lowerFirst=Bf,Rr.lt=nf,Rr.lte=tf,Rr.max=function(n){return n&&n.length?ue(n,Gf,de):void 0},Rr.maxBy=function(n,t){return n&&n.length?ue(n,Yu(t,2),de):void 0},Rr.mean=function(n){return jt(n,Gf)},Rr.meanBy=function(n,t){return jt(n,Yu(t,2))},Rr.min=function(n){return n&&n.length?ue(n,Gf,Ee):void 0},Rr.minBy=function(n,t){return n&&n.length?ue(n,Yu(t,2),Ee):void 0},Rr.stubArray=oa,Rr.stubFalse=fa,Rr.stubObject=function(){return{}},Rr.stubString=function(){return""},Rr.stubTrue=function(){return!0},Rr.multiply=ha,Rr.nth=function(n,t){return n&&n.length?Ce(n,uf(t)):void 0},Rr.noConflict=function(){return Kn._===this&&(Kn._=Rn),this},Rr.noop=Xf,Rr.now=_o,Rr.pad=function(n,t,r){n=cf(n);var e=(t=uf(t))?Zt(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Lu(tr(u),r)+n+Lu(nr(u),r)},Rr.padEnd=function(n,t,r){n=cf(n);var e=(t=uf(t))?Zt(n):0;return t&&e<t?n+Lu(t-e,r):n},Rr.padStart=function(n,t,r){n=cf(n);var e=(t=uf(t))?Zt(n):0;return t&&e<t?Lu(t-e,r)+n:n},Rr.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),lr(cf(n).replace(K,""),t||0)},Rr.random=function(n,t,r){if(r&&"boolean"!=typeof r&&ai(n,t,r)&&(t=r=void 0),void 0===r&&("boolean"==typeof t?(r=t,t=void 0):"boolean"==typeof n&&(r=n,n=void 0)),void 0===n&&void 0===t?(n=0,t=1):(n=ef(n),void 0===t?(t=n,n=0):t=ef(t)),n>t){var e=n;n=t,t=e}if(r||n%1||t%1){var u=sr();return ar(n+u*(t-n+Nn("1e-"+((u+"").length-1))),t)}return Be(n,t)},Rr.reduce=function(n,t,r){var e=Wo(n)?pt:kt,u=arguments.length<3;return e(n,Yu(t,4),r,u,te)},Rr.reduceRight=function(n,t,r){var e=Wo(n)?dt:kt,u=arguments.length<3;return e(n,Yu(t,4),r,u,re)},Rr.repeat=function(n,t,r){return t=(r?ai(n,t,r):void 0===t)?1:uf(t),Me(cf(n),t)},Rr.replace=function(){var n=arguments,t=cf(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Rr.result=function(n,t,r){var e=-1,u=(t=au(t,n)).length;for(u||(u=1,n=void 0);++e<u;){var i=null==n?void 0:n[ki(t[e])];void 0===i&&(e=u,i=r),n=$o(i)?i.call(n):i}return n},Rr.round=pa,Rr.runInContext=n,Rr.sample=function(n){return(Wo(n)?Pr:Pe)(n)},Rr.size=function(n){if(null==n)return 0;if(To(n))return Yo(n)?Zt(n):n.length;var t=ei(n);return t==h||t==g?n.size:Oe(n).length},Rr.snakeCase=Mf,Rr.some=function(n,t,r){var e=Wo(n)?_t:Ve;return r&&ai(n,t,r)&&(t=void 0),e(n,Yu(t,3))},Rr.sortedIndex=function(n,t){return Ge(n,t)},Rr.sortedIndexBy=function(n,t,r){return He(n,t,Yu(r,2))},Rr.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=Ge(n,t);if(e<r&&So(n[e],t))return e}return-1},Rr.sortedLastIndex=function(n,t){return Ge(n,t,!0)},Rr.sortedLastIndexBy=function(n,t,r){return He(n,t,Yu(r,2),!0)},Rr.sortedLastIndexOf=function(n,t){if(null==n?0:n.length){var r=Ge(n,t,!0)-1;if(So(n[r],t))return r}return-1},Rr.startCase=Df,Rr.startsWith=function(n,t,r){return n=cf(n),r=null==r?0:Jr(uf(r),0,n.length),t=Qe(t),n.slice(r,r+t.length)==t},Rr.subtract=da,Rr.sum=function(n){return n&&n.length?Et(n,Gf):0},Rr.sumBy=function(n,t){return n&&n.length?Et(n,Yu(t,2)):0},Rr.template=function(n,t,r){var e=Rr.templateSettings;r&&ai(n,t,r)&&(t=void 0),n=cf(n),t=vf({},t,e,$u);var u,i,o=vf({},t.imports,e.imports,$u),f=xf(o),a=zt(o,f),c=0,l=t.interpolate||cn,s="__p += '",v=_n((t.escape||cn).source+"|"+l.source+"|"+(l===P?nn:cn).source+"|"+(t.evaluate||cn).source+"|$","g"),h="//# sourceURL="+(An.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mn+"]")+"\n";n.replace(v,(function(t,r,e,o,f,a){return e||(e=o),s+=n.slice(c,a).replace(ln,Mt),r&&(u=!0,s+="' +\n__e("+r+") +\n'"),f&&(i=!0,s+="';\n"+f+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),c=a+t.length,t})),s+="';\n";var p=An.call(t,"variable")&&t.variable;if(p){if(Q.test(p))throw new vn("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(z,""):s).replace(C,"$1").replace(L,"$1;"),s="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=Ff((function(){return hn(f,h+"return "+s).apply(void 0,a)}));if(d.source=s,Po(d))throw d;return d},Rr.times=function(n,t){if((n=uf(n))<1||n>9007199254740991)return[];var r=4294967295,e=ar(n,4294967295);n-=4294967295;for(var u=It(e,t=Yu(t));++r<n;)t(r);return u},Rr.toFinite=ef,Rr.toInteger=uf,Rr.toLength=of,Rr.toLower=function(n){return cf(n).toLowerCase()},Rr.toNumber=ff,Rr.toSafeInteger=function(n){return n?Jr(uf(n),-9007199254740991,9007199254740991):0===n?n:0},Rr.toString=cf,Rr.toUpper=function(n){return cf(n).toUpperCase()},Rr.trim=function(n,t,r){if((n=cf(n))&&(r||void 0===t))return Rt(n);if(!n||!(t=Qe(t)))return n;var e=Kt(n),u=Kt(t);return lu(e,Lt(e,u),Wt(e,u)+1).join("")},Rr.trimEnd=function(n,t,r){if((n=cf(n))&&(r||void 0===t))return n.slice(0,Vt(n)+1);if(!n||!(t=Qe(t)))return n;var e=Kt(n);return lu(e,0,Wt(e,Kt(t))+1).join("")},Rr.trimStart=function(n,t,r){if((n=cf(n))&&(r||void 0===t))return n.replace(K,"");if(!n||!(t=Qe(t)))return n;var e=Kt(n);return lu(e,Lt(e,Kt(t))).join("")},Rr.truncate=function(n,t){var r=30,e="...";if(qo(t)){var u="separator"in t?t.separator:u;r="length"in t?uf(t.length):r,e="omission"in t?Qe(t.omission):e}var i=(n=cf(n)).length;if(Dt(n)){var o=Kt(n);i=o.length}if(r>=i)return n;var f=r-Zt(e);if(f<1)return e;var a=o?lu(o,0,f).join(""):n.slice(0,f);if(void 0===u)return a+e;if(o&&(f+=a.length-f),Ho(u)){if(n.slice(f).search(u)){var c,l=a;for(u.global||(u=_n(u.source,cf(tn.exec(u))+"g")),u.lastIndex=0;c=u.exec(l);)var s=c.index;a=a.slice(0,void 0===s?f:s)}}else if(n.indexOf(Qe(u),f)!=f){var v=a.lastIndexOf(u);v>-1&&(a=a.slice(0,v))}return a+e},Rr.unescape=function(n){return(n=cf(n))&&T.test(n)?n.replace(W,Gt):n},Rr.uniqueId=function(n){var t=++On;return cf(n)+t},Rr.upperCase=Pf,Rr.upperFirst=$f,Rr.each=fo,Rr.eachRight=ao,Rr.first=Ui,Qf(Rr,(va={},ce(Rr,(function(n,t){An.call(Rr.prototype,t)||(va[t]=n)})),va),{chain:!1}),Rr.VERSION="4.17.21",ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Rr[n].placeholder=Rr})),ot(["drop","take"],(function(n,t){Lr.prototype[n]=function(r){r=void 0===r?1:fr(uf(r),0);var e=this.__filtered__&&!t?new Lr(this):this.clone();return e.__filtered__?e.__takeCount__=ar(r,e.__takeCount__):e.__views__.push({size:ar(r,4294967295),type:n+(e.__dir__<0?"Right":"")}),e},Lr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),ot(["filter","map","takeWhile"],(function(n,t){var r=t+1,e=1==r||3==r;Lr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Yu(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}})),ot(["head","last"],(function(n,t){var r="take"+(t?"Right":"");Lr.prototype[n]=function(){return this[r](1).value()[0]}})),ot(["initial","tail"],(function(n,t){var r="drop"+(t?"":"Right");Lr.prototype[n]=function(){return this.__filtered__?new Lr(this):this[r](1)}})),Lr.prototype.compact=function(){return this.filter(Gf)},Lr.prototype.find=function(n){return this.filter(n).head()},Lr.prototype.findLast=function(n){return this.reverse().find(n)},Lr.prototype.invokeMap=De((function(n,t){return"function"==typeof n?new Lr(this):this.map((function(r){return be(r,n,t)}))})),Lr.prototype.reject=function(n){return this.filter(Oo(Yu(n)))},Lr.prototype.slice=function(n,t){n=uf(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Lr(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),void 0!==t&&(r=(t=uf(t))<0?r.dropRight(-t):r.take(t-n)),r)},Lr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Lr.prototype.toArray=function(){return this.take(4294967295)},ce(Lr.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=Rr[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);u&&(Rr.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t instanceof Lr,a=o[0],c=f||Wo(t),l=function(n){var t=u.apply(Rr,ht([n],o));return e&&s?t[0]:t};c&&r&&"function"==typeof a&&1!=a.length&&(f=c=!1);var s=this.__chain__,v=!!this.__actions__.length,h=i&&!s,p=f&&!v;if(!i&&c){t=p?t:new Lr(this);var d=n.apply(t,o);return d.__actions__.push({func:ro,args:[l],thisArg:void 0}),new Cr(d,s)}return h&&p?n.apply(this,o):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),ot(["pop","push","shift","sort","splice","unshift"],(function(n){var t=bn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Rr.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Wo(u)?u:[],n)}return this[r]((function(r){return t.apply(Wo(r)?r:[],n)}))}})),ce(Lr.prototype,(function(n,t){var r=Rr[t];if(r){var e=r.name+"";An.call(wr,e)||(wr[e]=[]),wr[e].push({name:t,func:r})}})),wr[Ru(void 0,2).name]=[{name:"wrapper",func:void 0}],Lr.prototype.clone=function(){var n=new Lr(this.__wrapped__);return n.__actions__=yu(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=yu(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=yu(this.__views__),n},Lr.prototype.reverse=function(){if(this.__filtered__){var n=new Lr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Lr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Wo(n),e=t<0,u=r?n.length:0,i=function(n,t,r){var e=-1,u=r.length;for(;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=ar(t,n+o);break;case"takeRight":n=fr(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,v=0,h=ar(a,this.__takeCount__);if(!r||!e&&u==a&&h==a)return eu(n,this.__actions__);var p=[];n:for(;a--&&v<h;){for(var d=-1,_=n[c+=t];++d<s;){var g=l[d],y=g.iteratee,b=g.type,w=y(_);if(2==b)_=w;else if(!w){if(1==b)continue n;break n}}p[v++]=_}return p},Rr.prototype.at=eo,Rr.prototype.chain=function(){return to(this)},Rr.prototype.commit=function(){return new Cr(this.value(),this.__chain__)},Rr.prototype.next=function(){void 0===this.__values__&&(this.__values__=rf(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?void 0:this.__values__[this.__index__++]}},Rr.prototype.plant=function(n){for(var t,r=this;r instanceof zr;){var e=Ii(r);e.__index__=0,e.__values__=void 0,t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__}return u.__wrapped__=n,t},Rr.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Lr){var t=n;return this.__actions__.length&&(t=new Lr(this)),(t=t.reverse()).__actions__.push({func:ro,args:[Fi],thisArg:void 0}),new Cr(t,this.__chain__)}return this.thru(Fi)},Rr.prototype.toJSON=Rr.prototype.valueOf=Rr.prototype.value=function(){return eu(this.__wrapped__,this.__actions__)},Rr.prototype.first=Rr.prototype.head,gt&&(Rr.prototype[gt]=function(){return this}),Rr}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Kn._=Ht,define((function(){return Ht}))):Gn?((Gn.exports=Ht)._=Ht,Vn._=Ht):Kn._=Ht}).call(this)}).call(this,r(0),r(3)(n))},function(n,t,r){"use strict";r.r(t),function(n){var t=r(1);!function(){function r(){if(!n.wp_consent_type&&!n.wp_fallback_consent_type)return;const r={};let e=!1;Object.entries(n._googlesitekitConsentCategoryMap).forEach(([t,u])=>{n.wp_has_consent&&n.wp_has_consent(t)&&(u.forEach(n=>{r[n]="granted"}),e=e||!!u.length)}),e&&!Object(t.isEqual)(r,n._googlesitekitConsents)&&(n.gtag("consent","update",r),n._googlesitekitConsents=r)}n.document.addEventListener("wp_listen_for_consent_change",(function(t){if(t.detail){const r={};let e=!1;Object.keys(t.detail).forEach(u=>{if(n._googlesitekitConsentCategoryMap[u]){const i="allow"===t.detail[u]?"granted":"denied",o=n._googlesitekitConsentCategoryMap[u];o.forEach(n=>{r[n]=i}),e=!!o.length}}),e&&n.gtag("consent","update",r)}})),n.document.addEventListener("wp_consent_type_defined",r),n.document.addEventListener("DOMContentLoaded",(function(){n.waitfor_consent_hook||r()}))}()}.call(this,r(0))},function(n,t){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}}]); dist/assets/js/googlesitekit-data-9b04ce04845587d08ef9.js 0000604 00000016275 14717744000 0016333 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[8],{154:function(t,n,r){"use strict";var e=r(0),o=Object(e.createContext)(!1);n.a=o},164:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(355);function o(t){return Object(e.a)(t)}},24:function(t,n,r){"use strict";r.d(n,"b",(function(){return e})),r.d(n,"a",(function(){return o}));var e="core/ui",o="activeContextID"},390:function(t,n,r){"use strict";r.d(n,"a",(function(){return s}));var e=r(15),o=r.n(e),c=r(521),u=r(359),i=r(0),a=r(154),f=r(24),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.sticky,r=void 0!==n&&n,e=Object(i.useContext)(a.a),s=Object(i.useState)(!1),d=o()(s,2),l=d[0],p=d[1],v=Object(u.a)((function(t){return t(f.b).getInViewResetCount()})),b=Object(u.a)((function(t){return t(f.b).getValue("forceInView")}));return Object(i.useEffect)((function(){e.value&&!l&&p(!0)}),[l,e,p]),Object(i.useEffect)((function(){b&&p(!0)}),[b]),Object(c.a)((function(){p(!1)}),[v]),!(!r||!l)||!!e.value}},431:function(t,n,r){"use strict";(function(t){var e=r(788),o=r(603),c=r(111),u=r(359),i=r(748),a=r(510),f=r(772),s=r(774),d=r(618);r.d(n,"f",(function(){return o.b})),r.d(n,"h",(function(){return c.a})),r.d(n,"i",(function(){return c.b})),r.d(n,"n",(function(){return u.a})),r.d(n,"k",(function(){return i.a})),r.d(n,"m",(function(){return a.a})),r.d(n,"p",(function(){return f.a})),r.d(n,"o",(function(){return s.a})),r.d(n,"a",(function(){return d.b}));var l=r(530);r.d(n,"l",(function(){return l.a}));var p=r(59);r.d(n,"b",(function(){return p.a})),r.d(n,"c",(function(){return p.b})),r.d(n,"d",(function(){return p.c})),r.d(n,"e",(function(){return p.d}));var v,b=r(164);r.d(n,"g",(function(){return b.a}));var y=Object(e.a)({},null===(v=t.wp)||void 0===v?void 0:v.data);y.combineStores=p.a,y.commonActions=p.b,y.commonControls=p.c,y.commonStore=p.d,y.createReducer=b.a,y.useInViewSelect=l.a,y.controls=o.b,y.createRegistryControl=c.a,y.createRegistrySelector=c.b,y.useSelect=u.a,y.useDispatch=i.a,y.useRegistry=a.a,y.withSelect=f.a,y.withDispatch=s.a,y.RegistryProvider=d.b,n.j=y}).call(this,r(26))},530:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(359),o=r(0),c=r(390);function u(){}var i=function(t,n){var r=Object(c.a)({sticky:!0}),i=Object(o.useRef)(),a=Object(o.useCallback)(t,n),f=Object(e.a)(r?a:u);return r&&(i.current=f),i.current}},59:function(t,n,r){"use strict";r.d(n,"a",(function(){return A})),r.d(n,"b",(function(){return C})),r.d(n,"c",(function(){return P})),r.d(n,"d",(function(){return I})),r.d(n,"e",(function(){return E})),r.d(n,"g",(function(){return _})),r.d(n,"f",(function(){return G}));var e,o=r(5),c=r.n(o),u=r(27),i=r.n(u),a=r(7),f=r.n(a),s=r(11),d=r.n(s),l=r(57),p=r.n(l),v=r(13),b=r(111);function y(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function g(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){f()(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var O=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=n.reduce((function(t,n){return g(g({},t),n)}),{}),o=n.reduce((function(t,n){return[].concat(i()(t),i()(Object.keys(n)))}),[]),c=D(o);return d()(0===c.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(c.join(", "),". Check your data stores for duplicates.")),e},h=O,j=O,w=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e,o=[].concat(n);return"function"!=typeof o[0]&&(e=o.shift()),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(t,r){return r(t,n)}),t)}},m=O,S=O,k=O,R=function(t){return t},A=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=k.apply(void 0,i()(n.map((function(t){return t.initialState||{}}))));return{initialState:e,controls:j.apply(void 0,i()(n.map((function(t){return t.controls||{}})))),actions:h.apply(void 0,i()(n.map((function(t){return t.actions||{}})))),reducer:w.apply(void 0,[e].concat(i()(n.map((function(t){return t.reducer||R}))))),resolvers:m.apply(void 0,i()(n.map((function(t){return t.resolvers||{}})))),selectors:S.apply(void 0,i()(n.map((function(t){return t.selectors||{}}))))}},C={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:c.a.mark((function t(n){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{payload:{value:n},type:"AWAIT"});case 1:case"end":return t.stop()}}),t)}))},P=(e={},f()(e,"GET_REGISTRY",Object(b.a)((function(t){return function(){return t}}))),f()(e,"AWAIT",(function(t){return t.payload.value})),e),D=function(t){for(var n=[],r={},e=0;e<t.length;e++){var o=t[e];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&n.push(o)}return n},I={actions:C,controls:P,reducer:R},E=function(t){return function(n){return T(t(n))}},T=p()((function(t){return Object(v.mapValues)(t,(function(t,n){return function(){var r=t.apply(void 0,arguments);return d()(void 0!==r,"".concat(n,"(...) is not resolved")),r}}))}));function _(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.negate,e=void 0!==r&&r,o=Object(b.b)((function(n){return function(r){var o=!e,c=!!e;try{for(var u=arguments.length,i=new Array(u>1?u-1:0),a=1;a<u;a++)i[a-1]=arguments[a];return t.apply(void 0,[n,r].concat(i)),o}catch(t){return c}}})),c=Object(b.b)((function(n){return function(r){for(var e=arguments.length,o=new Array(e>1?e-1:0),c=1;c<e;c++)o[c-1]=arguments[c];t.apply(void 0,[n,r].concat(o))}}));return{safeSelector:o,dangerousSelector:c}}function G(t,n){return d()("function"==typeof t,"a validator function is required."),d()("function"==typeof n,"an action creator function is required."),d()("Generator"!==t[Symbol.toStringTag]&&"GeneratorFunction"!==t[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return t.apply(void 0,arguments),n.apply(void 0,arguments)}}},717:function(t,n,r){"use strict";r.r(n),function(t){var e=r(431);r.d(n,"combineStores",(function(){return e.b})),r.d(n,"commonActions",(function(){return e.c})),r.d(n,"commonControls",(function(){return e.d})),r.d(n,"commonStore",(function(){return e.e})),r.d(n,"controls",(function(){return e.f})),r.d(n,"createReducer",(function(){return e.g})),r.d(n,"useInViewSelect",(function(){return e.l})),r.d(n,"createRegistryControl",(function(){return e.h})),r.d(n,"createRegistrySelector",(function(){return e.i})),r.d(n,"useSelect",(function(){return e.n})),r.d(n,"useDispatch",(function(){return e.k})),r.d(n,"useRegistry",(function(){return e.m})),r.d(n,"withSelect",(function(){return e.p})),r.d(n,"withDispatch",(function(){return e.o})),r.d(n,"RegistryProvider",(function(){return e.a})),void 0===t.googlesitekit&&(t.googlesitekit={}),t.googlesitekit.data=e.j,n.default=e.j}.call(this,r(26))}},[[717,1,0]]]); dist/assets/js/googlesitekit-datastore-forms-f38e139a09c823fd80b9.js 0000604 00000075170 14717744000 0020605 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[9],{100:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return i}));var n=e(58),a=e(37),o=e(44);function i(t,e){var i,c=Object(n.a)(e),u=t.activeModules,s=t.referenceSiteURL,f=t.userIDHash,l=t.userRoles,p=void 0===l?[]:l,d=t.isAuthenticated,g=t.pluginVersion;return function(){var e=r.document;if(void 0===i&&(i=!!e.querySelector("script[".concat(a.b,"]"))),!i){i=!0;var n=(null==p?void 0:p.length)?p.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:g||"",enabled_features:Array.from(o.a).join(","),active_modules:u.join(","),authenticated:d?"1":"0",user_properties:{user_roles:n,user_identifier:f}});var l=e.createElement("script");return l.setAttribute(a.b,""),l.async=!0,l.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),e.head.appendChild(l),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,e(26))},101:function(r,t,e){"use strict";e.d(t,"a",(function(){return p}));var n=e(5),a=e.n(n),o=e(7),i=e.n(o),c=e(16),u=e.n(c),s=e(58);function f(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function l(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?f(Object(e),!0).forEach((function(t){i()(r,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}function p(r,t,e,n){var o=Object(s.a)(t);return function(){var t=u()(a.a.mark((function t(i,c,u,s){var f;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return e(),f={send_to:"site_kit",event_category:i,event_label:u,value:s},t.abrupt("return",new Promise((function(r){var t,e,a=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(i,'") took too long to fire.')),r()}),1e3),u=function(){clearTimeout(a),r()};o("event",c,l(l({},f),{},{event_callback:u})),(null===(t=n._gaUserPrefs)||void 0===t||null===(e=t.ioo)||void 0===e?void 0:e.call(t))&&u()})));case 6:case"end":return t.stop()}}),t)})));return function(r,e,n,a){return t.apply(this,arguments)}}()}},1237:function(r,t,e){"use strict";e.r(t);var n=e(3),a=e.n(n),o=e(62),i=e(133),c=e(7),u=e.n(c),s=e(11),f=e.n(s),l=e(13);function p(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function d(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?p(Object(e),!0).forEach((function(t){u()(r,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}var g={initialState:{},actions:{setValues:function(r,t){return f()(r&&"string"==typeof r,"a valid formName is required for setting values."),f()(Object(l.isPlainObject)(t),"formData must be an object."),{payload:{formName:r,formData:t},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(r,t){var e=t.type,n=t.payload;switch(e){case"SET_FORM_VALUES":var a=n.formName,o=n.formData;return d(d({},r),{},u()({},a,d(d({},r[a]||{}),o)));default:return r}},resolvers:{},selectors:{getValue:function(r,t,e){return(r[t]||{})[e]},hasForm:function(r,t){return!!r[t]}}},v=e(28),b=Object(n.combineStores)(n.commonStore,g,Object(i.a)(v.a),Object(o.b)(v.a));b.initialState,b.actions,b.controls,b.reducer,b.resolvers,b.selectors;a.a.registerStore(v.a,b)},133:function(r,t,e){"use strict";e.d(t,"a",(function(){return v})),e.d(t,"c",(function(){return h})),e.d(t,"b",(function(){return m}));var n=e(23),a=e.n(n),o=e(7),i=e.n(o),c=e(5),u=e.n(c),s=e(11),f=e.n(s),l=e(3),p=e.n(l),d=e(41),g=e(8),v=function(r){var t;f()(r,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function r(){var t;return u.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=r.sent,r.abrupt("return",t);case 4:case"end":return r.stop()}}),r)})),restoreSnapshot:u.a.mark((function r(){var t,e,n,a,o,i,c=arguments;return u.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},e=t.clearAfterRestore,n=void 0===e||e,r.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=r.sent,o=a.cacheHit,i=a.value,!o){r.next=13;break}return r.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){r.next=13;break}return r.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return r.abrupt("return",o);case 14:case"end":return r.stop()}}),r)})),createSnapshot:u.a.mark((function r(){var t;return u.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=r.sent,r.abrupt("return",t);case 4:case"end":return r.stop()}}),r)}))},o=(t={},i()(t,"DELETE_SNAPSHOT",(function(){return Object(d.c)("datastore::cache::".concat(r))})),i()(t,"CREATE_SNAPSHOT",Object(l.createRegistryControl)((function(t){return function(){return Object(d.f)("datastore::cache::".concat(r),t.stores[r].store.getState())}}))),i()(t,"RESTORE_SNAPSHOT",(function(){return Object(d.d)("datastore::cache::".concat(r),g.b)})),t);return{initialState:e,actions:n,controls:o,reducer:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,t=arguments.length>1?arguments[1]:void 0,n=t.type,o=t.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=o.snapshot,c=(i.error,a()(i,["error"]));return c;default:return r}}}},b=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a;return Object.values(r.stores).filter((function(r){return Object.keys(r.getActions()).includes("restoreSnapshot")}))},h=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a;return Promise.all(b(r).map((function(r){return r.getActions().createSnapshot()})))},m=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a;return Promise.all(b(r).map((function(r){return r.getActions().restoreSnapshot()})))}},2:function(r,t){r.exports=googlesitekit.i18n},28:function(r,t,e){"use strict";e.d(t,"a",(function(){return n}));var n="core/forms"},3:function(r,t){r.exports=googlesitekit.data},36:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return O})),e.d(t,"b",(function(){return m})),e.d(t,"c",(function(){return y}));var n=e(99),a=r._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s=a.trackingID,f=a.referenceSiteURL,l=a.userIDHash,p=a.isAuthenticated,d={activeModules:i,trackingEnabled:u,trackingID:s,referenceSiteURL:f,userIDHash:l,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:p,pluginVersion:"1.140.0"},g=Object(n.a)(d),v=g.enableTracking,b=g.disableTracking,h=(g.isTrackingEnabled,g.initializeSnippet),m=g.trackEvent,y=g.trackEventOnce;function O(r){r?v():b()}c&&u&&h()}).call(this,e(26))},37:function(r,t,e){"use strict";e.d(t,"a",(function(){return n})),e.d(t,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},41:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return l})),e.d(t,"d",(function(){return m})),e.d(t,"f",(function(){return y})),e.d(t,"c",(function(){return O})),e.d(t,"e",(function(){return j})),e.d(t,"b",(function(){return w}));var n=e(5),a=e.n(n),o=e(16),i=e.n(o),c=(e(27),e(8));function u(r,t){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=function(r,t){if(!r)return;if("string"==typeof r)return s(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(r,t)}(r))||t&&r&&"number"==typeof r.length){e&&(r=e);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return i=r.done,r},e:function(r){c=!0,o=r},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw o}}}}function s(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}var f,l="googlesitekit_",p="".concat(l).concat("1.140.0","_").concat(r._googlesitekitBaseData.storagePrefix,"_"),d=["sessionStorage","localStorage"],g=[].concat(d),v=function(){var t=i()(a.a.mark((function t(e){var n,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r[e]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(r){return t.apply(this,arguments)}}();function b(){return h.apply(this,arguments)}function h(){return(h=i()(a.a.mark((function t(){var e,n,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===f){t.next=2;break}return t.abrupt("return",f);case 2:e=u(g),t.prev=3,e.s();case 5:if((n=e.n()).done){t.next=15;break}if(o=n.value,!f){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,v(o);case 11:if(!t.sent){t.next=13;break}f=r[o];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),e.e(t.t0);case 20:return t.prev=20,e.f(),t.finish(20);case 23:return void 0===f&&(f=null),t.abrupt("return",f);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var m=function(){var r=i()(a.a.mark((function r(t){var e,n,o,i,c,u,s;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:if(!(e=r.sent)){r.next=10;break}if(!(n=e.getItem("".concat(p).concat(t)))){r.next=10;break}if(o=JSON.parse(n),i=o.timestamp,c=o.ttl,u=o.value,s=o.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){r.next=10;break}return r.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return r.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),y=function(){var t=i()(a.a.mark((function t(e,n){var o,i,u,s,f,l,d,g,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},i=o.ttl,u=void 0===i?c.b:i,s=o.timestamp,f=void 0===s?Math.round(Date.now()/1e3):s,l=o.isError,d=void 0!==l&&l,t.next=3,b();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(p).concat(e),JSON.stringify({timestamp:f,ttl:u,value:n,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),r.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(r,e){return t.apply(this,arguments)}}(),O=function(){var t=i()(a.a.mark((function t(e){var n,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}return t.prev=4,o=e.startsWith(l)?e:"".concat(p).concat(e),n.removeItem(o),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),r.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(r){return t.apply(this,arguments)}}(),j=function(){var t=i()(a.a.mark((function t(){var e,n,o,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(e=t.sent)){t.next=14;break}for(t.prev=4,n=[],o=0;o<e.length;o++)0===(i=e.key(o)).indexOf(l)&&n.push(i);return t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(4),r.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var r=i()(a.a.mark((function r(){var t,e,n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:if(!r.sent){r.next=25;break}return r.next=6,j();case 6:t=r.sent,e=u(t),r.prev=8,e.s();case 10:if((n=e.n()).done){r.next=16;break}return o=n.value,r.next=14,O(o);case 14:r.next=10;break;case 16:r.next=21;break;case 18:r.prev=18,r.t0=r.catch(8),e.e(r.t0);case 21:return r.prev=21,e.f(),r.finish(21);case 24:return r.abrupt("return",!0);case 25:return r.abrupt("return",!1);case 26:case"end":return r.stop()}}),r,null,[[8,18,21,24]])})));return function(){return r.apply(this,arguments)}}()}).call(this,e(26))},44:function(r,t,e){"use strict";(function(r){var n,a;e.d(t,"a",(function(){return o})),e.d(t,"b",(function(){return i}));var o=new Set((null===(n=r)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),i=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return t instanceof Set&&t.has(r)}}).call(this,e(26))},58:function(r,t,e){"use strict";e.d(t,"a",(function(){return a}));var n=e(37);function a(r){return function(){r[n.a]=r[n.a]||[],r[n.a].push(arguments)}}},62:function(r,t,e){"use strict";e.d(t,"a",(function(){return b})),e.d(t,"b",(function(){return h}));var n=e(7),a=e.n(n),o=e(33),i=e.n(o),c=e(111),u=e(11),s=e.n(u),f=e(94),l=e.n(f),p=e(8);function d(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function g(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?d(Object(e),!0).forEach((function(t){a()(r,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}function v(r,t){if(t&&Array.isArray(t)){var e=t.map((function(r){return"object"===i()(r)?Object(p.I)(r):r}));return"".concat(r,"::").concat(l()(JSON.stringify(e)))}return r}var b={receiveError:function(r,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(r,"error is required."),s()(t,"baseName is required."),s()(e&&Array.isArray(e),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:r,baseName:t,args:e}}},clearError:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return s()(r,"baseName is required."),s()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:r,args:t}}},clearErrors:function(r){return{type:"CLEAR_ERRORS",payload:{baseName:r}}}};function h(r){s()(r,"storeName must be defined.");var t={getErrorForSelector:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"actionName is required."),t.getError(r,e,n)},getError:function(r,t,e){var n=r.errors;return s()(t,"baseName is required."),n[v(t,e)]},getErrors:function(r){var t=new Set(Object.values(r.errors));return Array.from(t)},getMetaDataForError:function(r,t){var e=Object.keys(r.errors).find((function(e){return r.errors[e]===t}));return e?{baseName:e.substring(0,e.indexOf("::")),args:r.errorArgs[e]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(e,n){var a=t(r).getMetaDataForError(n);if(a){var o=a.baseName,i=a.args;if(!!t(r)[o])return{storeName:r,name:o,args:i}}return null}})),hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(r,t){var e=t.type,n=t.payload;switch(e){case"RECEIVE_ERROR":var o=n.baseName,i=n.args,c=n.error,u=v(o,i);return g(g({},r),{},{errors:g(g({},r.errors||{}),{},a()({},u,c)),errorArgs:g(g({},r.errorArgs||{}),{},a()({},u,i))});case"CLEAR_ERROR":var s=n.baseName,f=n.args,l=g({},r),p=v(s,f);return l.errors=g({},r.errors||{}),l.errorArgs=g({},r.errorArgs||{}),delete l.errors[p],delete l.errorArgs[p],l;case"CLEAR_ERRORS":var d=n.baseName,b=g({},r);if(d)for(var h in b.errors=g({},r.errors||{}),b.errorArgs=g({},r.errorArgs||{}),b.errors)(h===d||h.startsWith("".concat(d,"::")))&&(delete b.errors[h],delete b.errorArgs[h]);else b.errors={},b.errorArgs={};return b;default:return r}},resolvers:{},selectors:t}}},72:function(r,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return c}));var n=e(33),a=e.n(n),o=e(81),i=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(r,t)}};function c(r){var t,e="object"===a()(r)?r.toString():r;return null==e||null===(t=e.replace)||void 0===t?void 0:t.call(e,/\/+$/,"")}},8:function(r,t,e){"use strict";e.d(t,"J",(function(){return a.b})),e.d(t,"K",(function(){return a.c})),e.d(t,"G",(function(){return o.a})),e.d(t,"L",(function(){return o.b})),e.d(t,"I",(function(){return f})),e.d(t,"n",(function(){return l.a})),e.d(t,"C",(function(){return l.d})),e.d(t,"D",(function(){return l.e})),e.d(t,"z",(function(){return l.c})),e.d(t,"s",(function(){return l.b})),e.d(t,"A",(function(){return v})),e.d(t,"k",(function(){return b})),e.d(t,"j",(function(){return h})),e.d(t,"d",(function(){return S})),e.d(t,"c",(function(){return E})),e.d(t,"e",(function(){return k})),e.d(t,"b",(function(){return _})),e.d(t,"a",(function(){return N})),e.d(t,"g",(function(){return D})),e.d(t,"f",(function(){return A})),e.d(t,"o",(function(){return x})),e.d(t,"x",(function(){return R})),e.d(t,"q",(function(){return P})),e.d(t,"H",(function(){return T})),e.d(t,"t",(function(){return L})),e.d(t,"w",(function(){return I})),e.d(t,"l",(function(){return M})),e.d(t,"p",(function(){return F.b})),e.d(t,"i",(function(){return F.a})),e.d(t,"u",(function(){return C.b})),e.d(t,"r",(function(){return C.a})),e.d(t,"B",(function(){return C.c})),e.d(t,"y",(function(){return H})),e.d(t,"v",(function(){return U})),e.d(t,"F",(function(){return q})),e.d(t,"E",(function(){return V.a})),e.d(t,"h",(function(){return K})),e.d(t,"M",(function(){return z})),e.d(t,"m",(function(){return B}));var n=e(13),a=e(36),o=e(72),i=e(33),c=e.n(i),u=e(94),s=e.n(u),f=function(r){return s()(JSON.stringify(function r(t){var e={};return Object.keys(t).sort().forEach((function(n){var a=t[n];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=r(a)),e[n]=a})),e}(r)))};e(97);var l=e(82);function p(r){return r.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function d(r){return"<p>".concat(r.replace(/\n{2,}/g,"</p><p>"),"</p>")}function g(r){return r.replace(/\n/gi,"<br>")}function v(r){for(var t=r,e=0,n=[p,d,g];e<n.length;e++){t=(0,n[e])(t)}return t}var b=function(r){return r=parseFloat(r),isNaN(r)||0===r?[0,0,0,0]:[Math.floor(r/60/60),Math.floor(r/60%60),Math.floor(r%60),Math.floor(1e3*r)-1e3*Math.floor(r)]},h=function(r){var t=r&&!Number.isInteger(r)?new Date(r).getTime():r;return isNaN(t)||!t?0:t},m=e(15),y=e.n(m),O=e(11),j=e.n(O),w=e(2),S="Invalid dateString parameter, it must be a string.",E='Invalid date range, it must be a string with the format "last-x-days".',k=60,_=60*k,N=24*_,D=7*N,A=30*N;function x(){var r=function(r){return Object(w.sprintf)( /* translators: %s: number of days */ Object(w._n)("Last %s day","Last %s days",r,"google-site-kit"),r)};return{"last-7-days":{slug:"last-7-days",label:r(7),days:7},"last-14-days":{slug:"last-14-days",label:r(14),days:14},"last-28-days":{slug:"last-28-days",label:r(28),days:28},"last-90-days":{slug:"last-90-days",label:r(90),days:90}}}function R(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(r))return!1;var t=r.split("-");if(3!==t.length)return!1;var e=new Date(r);return Object(n.isDate)(e)&&!isNaN(e)}function P(r){j()(Object(n.isDate)(r)&&!isNaN(r),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(r.getMonth()+1),e="".concat(r.getDate());return[r.getFullYear(),t.length<2?"0".concat(t):t,e.length<2?"0".concat(e):e].join("-")}function T(r){j()(R(r),S);var t=r.split("-"),e=y()(t,3),n=e[0],a=e[1],o=e[2];return new Date(n,a-1,o)}function L(r,t){return P(M(r,t*N))}function I(r){var t=r.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function M(r,t){j()(R(r)||Object(n.isDate)(r)&&!isNaN(r),S);var e=R(r)?Date.parse(r):r.getTime();return new Date(e-1e3*t)}var F=e(98),C=e(83);function H(r){var t=parseFloat(r)||0;return!!Number.isInteger(t)&&t>0}function U(r){if("number"==typeof r)return!0;var t=(r||"").toString();return!!t&&!isNaN(t)}var $=e(27),J=e.n($),q=function(r){return Array.isArray(r)?J()(r).sort():r},V=e(88);function K(r,t){var e=function(r){return"0"===r||0===r};if(e(r)&&e(t))return 0;if(e(r)||Number.isNaN(r))return null;var n=(t-r)/r;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var z=function(r){try{return JSON.parse(r)&&!!r}catch(r){return!1}},B=function(r){if(!r)return"";var t=r.replace(/&#(\d+);/g,(function(r,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},81:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return a}));var n=e(145),a=e.n(n)()(r)}).call(this,e(26))},82:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return S})),e.d(t,"d",(function(){return E})),e.d(t,"e",(function(){return _})),e.d(t,"c",(function(){return N})),e.d(t,"b",(function(){return D}));var n=e(15),a=e.n(n),o=e(33),i=e.n(o),c=e(7),u=e.n(c),s=e(23),f=e.n(s),l=e(13),p=e(57),d=e.n(p),g=e(2);function v(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function b(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?v(Object(e),!0).forEach((function(t){u()(r,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}var h=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=O(r,t),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(r){return a()}},m=function(r){var t=y(r),e=t.hours,n=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),n=("0"+n).slice(-2),"00"===(e=("0"+e).slice(-2))?"".concat(n,":").concat(a):"".concat(e,":").concat(n,":").concat(a)},y=function(r){return r=parseInt(r,10),Number.isNaN(r)&&(r=0),{hours:Math.floor(r/60/60),minutes:Math.floor(r/60%60),seconds:Math.floor(r%60)}},O=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=y(r),n=e.hours,a=e.minutes,o=e.seconds;return{hours:n,minutes:a,seconds:o,formatUnit:function(){var e=t.unitDisplay,i=b(b({unitDisplay:void 0===e?"short":e},f()(t,["unitDisplay"])),{},{style:"unit"});return 0===r?_(o,b(b({},i),{},{unit:"second"})):Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?_(o,b(b({},i),{},{unit:"second"})):"",a?_(a,b(b({},i),{},{unit:"minute"})):"",n?_(n,b(b({},i),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(g.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(g.__)("%ds","google-site-kit"),o);if(0===r)return t;var e=Object(g.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(g.__)("%dm","google-site-kit"),a),i=Object(g.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(g.__)("%dh","google-site-kit"),n);return Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",a?e:"",n?i:"").trim()}}},j=function(r){return 1e6<=r?Math.round(r/1e5)/10:1e4<=r?Math.round(r/1e3):1e3<=r?Math.round(r/100)/10:r},w=function(r){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=r?Object(g.sprintf)(// translators: %s: an abbreviated number in millions. Object(g.__)("%sM","google-site-kit"),_(j(r),r%10==0?{}:t)):1e4<=r?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),_(j(r))):1e3<=r?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),_(j(r),r%10==0?{}:t)):_(r,{signDisplay:"never",maximumFractionDigits:1})};function S(r){var t={};return"%"===r?t={style:"percent",maximumFractionDigits:2}:"s"===r?t={style:"duration",unitDisplay:"narrow"}:r&&"string"==typeof r?t={style:"currency",currency:r}:Object(l.isPlainObject)(r)&&(t=b({},r)),t}function E(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r=Object(l.isFinite)(r)?r:Number(r),Object(l.isFinite)(r)||(console.warn("Invalid number",r,i()(r)),r=0);var e=S(t),n=e.style,a=void 0===n?"metric":n;return"metric"===a?w(r):"duration"===a?h(r,e):"durationISO"===a?m(r):_(r,e)}var k=d()(console.warn),_=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.locale,n=void 0===e?D():e,o=f()(t,["locale"]);try{return new Intl.NumberFormat(n,o).format(r)}catch(t){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(i()(r)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},l=0,p=Object.entries(o);l<p.length;l++){var d=a()(p[l],2),g=d[0],v=d[1];c[g]&&v===c[g]||(u.includes(g)||(s[g]=v))}try{return new Intl.NumberFormat(n,s).format(r)}catch(t){return new Intl.NumberFormat(n).format(r)}},N=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.locale,n=void 0===e?D():e,a=t.style,o=void 0===a?"long":a,i=t.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:o,type:c});return u.format(r)} /* translators: used between list items, there is a space after the comma. */var s=Object(g.__)(", ","google-site-kit");return r.join(s)},D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=Object(l.get)(t,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,e(26))},83:function(r,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"a",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"d",(function(){return c}));var n=e(109);function a(r){try{return new URL(r).pathname}catch(r){}return null}function o(r,t){try{return new URL(t,r).href}catch(r){}return("string"==typeof r?r:"")+("string"==typeof t?t:"")}function i(r){return"string"!=typeof r?r:r.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(r,t){if(!Object(n.a)(r))return r;if(r.length<=t)return r;var e=new URL(r),a=r.replace(e.origin,"");if(a.length<t)return a;var o=a.length-Math.floor(t)+1;return"…"+a.substr(o)}},86:function(r,t,e){"use strict";(function(r){var n=e(1),a=e.n(n),o=e(12),i=e.n(o);function ChangeArrow(t){var e=t.direction,n=t.invertColor,a=t.width,o=t.height;return r.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,e(4))},88:function(r,t,e){"use strict";e.d(t,"a",(function(){return o}));var n=e(11),a=e.n(n),o=function(r,t){var e=t.dateRangeLength;a()(Array.isArray(r),"report must be an array to partition."),a()(Number.isInteger(e)&&e>0,"dateRangeLength must be a positive integer.");var n=-1*e;return{currentRange:r.slice(n),compareRange:r.slice(2*n,n)}}},97:function(r,t,e){"use strict";(function(r){e(50),e(51)}).call(this,e(26))},98:function(r,t,e){"use strict";(function(r){e.d(t,"b",(function(){return o})),e.d(t,"a",(function(){return i}));var n=e(220),a=e(86),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var o=e.invertColor,i=void 0!==o&&o;return Object(n.a)(r.createElement(a.a,{direction:t>0?"up":"down",invertColor:i}))},i=function(r,t){return r>0&&t>0?r/t-1:r>0?1:t>0?-1:0}}).call(this,e(4))},99:function(r,t,e){"use strict";(function(r){e.d(t,"a",(function(){return l}));var n=e(7),a=e.n(n),o=e(13),i=e(100),c=e(101);function u(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function s(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?u(Object(e),!0).forEach((function(t){a()(r,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}var f={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,a=s(s({},f),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var u=Object(i.a)(a,e),l=Object(c.a)(a,e,u,n),p={},d=function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];var n=JSON.stringify(t);p[n]||(p[n]=Object(o.once)(l)),p[n].apply(p,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:u,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:l,trackEventOnce:d}}}).call(this,e(26))}},[[1237,1,0]]]); dist/assets/js/googlesitekit-datastore-location-1e7b4e4c0f10376ae735.js 0000604 00000014125 14717744000 0021241 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1239:function(t,n,r){"use strict";r.r(n);var e=r(3),o=r.n(e),c=r(32),a=r(944),i=Object(e.combineStores)(e.commonStore,a.a);i.initialState,i.actions,i.controls,i.reducer,i.resolvers,i.selectors;o.a.registerStore(c.a,i)},3:function(t,n){t.exports=googlesitekit.data},32:function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="core/location"},59:function(t,n,r){"use strict";r.d(n,"a",(function(){return P})),r.d(n,"b",(function(){return _})),r.d(n,"c",(function(){return E})),r.d(n,"d",(function(){return G})),r.d(n,"e",(function(){return I})),r.d(n,"g",(function(){return N})),r.d(n,"f",(function(){return R}));var e,o=r(5),c=r.n(o),a=r(27),i=r.n(a),u=r(7),s=r.n(u),f=r(11),l=r.n(f),p=r(57),v=r.n(p),g=r(13),d=r(111);function y(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function b(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){s()(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var O=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=n.reduce((function(t,n){return b(b({},t),n)}),{}),o=n.reduce((function(t,n){return[].concat(i()(t),i()(Object.keys(n)))}),[]),c=k(o);return l()(0===c.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(c.join(", "),". Check your data stores for duplicates.")),e},w=O,h=O,j=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e,o=[].concat(n);return"function"!=typeof o[0]&&(e=o.shift()),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(t,r){return r(t,n)}),t)}},T=O,m=O,S=O,A=function(t){return t},P=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=S.apply(void 0,i()(n.map((function(t){return t.initialState||{}}))));return{initialState:e,controls:h.apply(void 0,i()(n.map((function(t){return t.controls||{}})))),actions:w.apply(void 0,i()(n.map((function(t){return t.actions||{}})))),reducer:j.apply(void 0,[e].concat(i()(n.map((function(t){return t.reducer||A}))))),resolvers:T.apply(void 0,i()(n.map((function(t){return t.resolvers||{}})))),selectors:m.apply(void 0,i()(n.map((function(t){return t.selectors||{}}))))}},_={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:c.a.mark((function t(n){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{payload:{value:n},type:"AWAIT"});case 1:case"end":return t.stop()}}),t)}))},E=(e={},s()(e,"GET_REGISTRY",Object(d.a)((function(t){return function(){return t}}))),s()(e,"AWAIT",(function(t){return t.payload.value})),e),k=function(t){for(var n=[],r={},e=0;e<t.length;e++){var o=t[e];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&n.push(o)}return n},G={actions:_,controls:E,reducer:A},I=function(t){return function(n){return D(t(n))}},D=v()((function(t){return Object(g.mapValues)(t,(function(t,n){return function(){var r=t.apply(void 0,arguments);return l()(void 0!==r,"".concat(n,"(...) is not resolved")),r}}))}));function N(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.negate,e=void 0!==r&&r,o=Object(d.b)((function(n){return function(r){var o=!e,c=!!e;try{for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u<a;u++)i[u-1]=arguments[u];return t.apply(void 0,[n,r].concat(i)),o}catch(t){return c}}})),c=Object(d.b)((function(n){return function(r){for(var e=arguments.length,o=new Array(e>1?e-1:0),c=1;c<e;c++)o[c-1]=arguments[c];t.apply(void 0,[n,r].concat(o))}}));return{safeSelector:o,dangerousSelector:c}}function R(t,n){return l()("function"==typeof t,"a validator function is required."),l()("function"==typeof n,"an action creator function is required."),l()("Generator"!==t[Symbol.toStringTag]&&"GeneratorFunction"!==t[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return t.apply(void 0,arguments),n.apply(void 0,arguments)}}},944:function(t,n,r){"use strict";(function(t){var e=r(7),o=r.n(e),c=r(5),a=r.n(c),i=r(11),u=r.n(i),s=r(59);function f(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function l(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?f(Object(r),!0).forEach((function(n){o()(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var p={navigatingTo:void 0},v={navigateTo:Object(s.f)((function(t){var n=!1;try{n=new URL(t)}catch(t){}u()(!!n,"url must be a valid URI.")}),a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={url:n},t.next=3,{type:"SET_NAVIGATING_TO",payload:r};case 3:return t.next=5,{type:"DO_NAVIGATE_TO",payload:r};case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)})))},g=o()({},"DO_NAVIGATE_TO",(function(n){var r=n.payload;t.location.assign(r.url)}));var d={isNavigating:function(t){return!!t.navigatingTo},isNavigatingTo:function(t,n){var r=t.navigatingTo;return u()("string"==typeof n||n instanceof RegExp,"url must be either a string or a regular expression."),"string"==typeof n?r===n:n.test(r)},getNavigateURL:function(t){return t.navigatingTo||null}};n.a={initialState:p,actions:v,controls:g,reducer:function(t,n){var r=n.type,e=n.payload;switch(r){case"SET_NAVIGATING_TO":return l(l({},t),{},{navigatingTo:e.url});default:return t}},resolvers:{},selectors:d}}).call(this,r(26))}},[[1239,1,0]]]); dist/assets/js/googlesitekit-datastore-site-b48fcdc028f30543c49a.js 0000604 00000243450 14717744000 0020465 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[11],{100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(58),o=r(37),i=r(44);function a(t,r){var a,c=Object(n.a)(r),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,f=t.userRoles,p=void 0===f?[]:f,d=t.isAuthenticated,g=t.pluginVersion;return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(o.b,"]"))),!a){a=!0;var n=(null==p?void 0:p.length)?p.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:g||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:d?"1":"0",user_properties:{user_roles:n,user_identifier:l}});var f=r.createElement("script");return f.setAttribute(o.b,""),f.async=!0,f.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(f),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a)}}}}}).call(this,r(26))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(16),s=r.n(c),u=r(58);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r,n){var i=Object(u.a)(t);return function(){var t=s()(o.a.mark((function t(a,c,s,u){var l;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return r(),l={send_to:"site_kit",event_category:a,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,r,o=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(a,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(o),e()};i("event",c,f(f({},l),{},{event_callback:s})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,o){return t.apply(this,arguments)}}()}},1230:function(e,t,r){"use strict";r.r(t);var n,o=r(3),i=r.n(o),a=r(7),c=r.n(a),s=r(16),u=r.n(s),l=r(5),f=r.n(l),p=r(11),d=r.n(p),g=r(41),v={setCacheItem:f.a.mark((function e(t,r,n){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d()(t,"key is required"),d()(void 0!==r,"value is required"),e.next=4,{type:"CACHE_SET_ITEM",payload:{key:t,value:r,args:n}};case 4:case"end":return e.stop()}}),e)}))},b=c()({},"CACHE_SET_ITEM",(n=u()(f.a.mark((function e(t){var r,n,o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.key,o=r.value,i=r.args,e.next=4,Object(g.f)(n,o,i);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})),m=Object(o.combineStores)({initialState:{},actions:v,controls:b}),y=(m.initialState,m.actions,m.controls,m.reducer,m.resolvers,m.selectors,m),O=r(42),h=r.n(O),S=r(14),E=r(47);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=Object(E.a)({baseName:"getConnection",controlCallback:function(){return h.a.get("core","site","connection",void 0,{useCache:!1})},reducerCallback:function(e,t){return w(w({},e),{},{connection:t})}}),R={connection:void 0},P={getConnection:f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,t.select(S.c).getConnection()){e.next=7;break}return e.next=7,k.actions.fetchGetConnection();case 7:case"end":return e.stop()}}),e)}))},A={getConnection:function(e){return e.connection},getOwnerID:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConnection()||{}).ownerID}})),hasConnectedAdmins:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConnection()||{}).hasConnectedAdmins}})),isConnected:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.connected:t}})),isResettable:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.resettable:t}})),isSetupCompleted:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.setupCompleted:t}})),hasMultipleAdmins:Object(o.createRegistrySelector)((function(e){return function(){var t;return null===(t=e(S.c).getConnection())||void 0===t?void 0:t.hasMultipleAdmins}}))},_=Object(o.combineStores)(k,{initialState:R,resolvers:P,selectors:A}),C=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,_),T=r(920),N=r(13),L=r(164),x=o.commonActions.getRegistry,I=Object(L.a)((function(e,t){e.conversionTracking.settings=t,e.conversionTracking.savedSettings=t})),D=Object(E.a)({baseName:"getConversionTrackingSettings",controlCallback:function(){return h.a.get("core","site","conversion-tracking",null,{useCache:!1})},reducerCallback:I}),U=Object(E.a)({baseName:"saveConversionTrackingSettings",controlCallback:function(e){var t=e.settings;return h.a.set("core","site","conversion-tracking",{settings:t})},reducerCallback:I,argsToParams:function(e){return{settings:e}},validateParams:function(e){var t=e.settings;d()(Object(N.isPlainObject)(t),"settings must be a plain object.")}}),M={conversionTracking:{settings:void 0,savedSettings:void 0}},F={saveConversionTrackingSettings:f.a.mark((function e(){var t,r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:return t=e.sent,r=t.select,n=r(S.c).getConversionTrackingSettings(),e.next=7,U.actions.fetchSaveConversionTrackingSettings(n);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})),setConversionTrackingEnabled:function(e){return{type:"SET_CONVERSION_TRACKING_ENABLED",payload:{enabled:e}}},resetConversionTrackingSettings:function(){return{payload:{},type:"RESET_CONVERSION_TRACKING_SETTINGS"}}},B=Object(L.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_CONVERSION_TRACKING_ENABLED":e.conversionTracking.settings=e.conversionTracking.settings||{},e.conversionTracking.settings.enabled=!!n.enabled;break;case"RESET_CONVERSION_TRACKING_SETTINGS":e.conversionTracking.settings=e.conversionTracking.savedSettings}})),V={getConversionTrackingSettings:function(e){return e.conversionTracking.settings},isConversionTrackingEnabled:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConversionTrackingSettings()||{}).enabled}})),haveConversionTrackingSettingsChanged:function(e){var t=e.conversionTracking,r=t.settings,n=t.savedSettings;return!Object(N.isEqual)(r,n)}},G={getConversionTrackingSettings:f.a.mark((function e(){var t,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(t=e.sent,r=t.select,!r(S.c).getConversionTrackingSettings()){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,D.actions.fetchGetConversionTrackingSettings();case 9:case"end":return e.stop()}}),e)}))},K=Object(o.combineStores)(D,U,{initialState:M,actions:F,controls:{},reducer:B,resolvers:G,selectors:V}),H=(K.initialState,K.actions,K.controls,K.reducer,K.resolvers,K.selectors,K),W=r(23),q=r.n(W),z=r(2);function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Y,X={internalServerError:void 0},Z={setInternalServerError:function(e){d()(Object(N.isPlainObject)(e),"internalServerError must be a plain object.");var t=e.title,r=void 0===t?Object(z.__)("Internal Server Error","google-site-kit"):t,n=e.format,o=void 0===n?"small":n,i=e.type;return{type:"SET_SERVER_ERROR",payload:{internalServerError:J({title:r,format:o,type:void 0===i?"win-error":i},q()(e,["title","format","type"]))}}},clearInternalServerError:function(){return{type:"CLEAR_SERVER_ERROR"}}},Q=Object(o.combineStores)({initialState:X,actions:Z,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_SERVER_ERROR":return J(J({},e),{},{internalServerError:n.internalServerError});case"CLEAR_SERVER_ERROR":return J(J({},e),{},{internalServerError:void 0});default:return e}},resolvers:{},selectors:{getInternalServerError:function(e){return e.internalServerError}}}),ee=(Q.initialState,Q.actions,Q.controls,Q.reducer,Q.resolvers,Q.selectors,Q),te=r(109),re=r(157),ne=r(351);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae,ce=Object(E.a)({baseName:"getHTMLForURL",argsToParams:function(e){return{url:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url;d()(Object(te.a)(t),"a valid url is required to fetch HTML.")},controlCallback:(ae=u()(f.a.mark((function e(t){var r,n,o,i,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n={credentials:"omit"},o={tagverify:1,timestamp:Date.now()},e.next=5,fetch(Object(re.a)(r,o),n);case 5:return i=e.sent,e.prev=6,e.next=9,i.text();case 9:if(""!==(a=e.sent)&&void 0!==a){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",a);case 15:return e.prev=15,e.t0=e.catch(6),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,null,[[6,15]])}))),function(e){return ae.apply(this,arguments)}),reducerCallback:function(e,t,r){var n=r.url;return ie(ie({},e),{},{htmlForURL:ie(ie({},e.htmlForURL),{},c()({},n,t))})}}),se={resetHTMLForURL:f.a.mark((function e(t){var r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:return r=e.sent,n=r.dispatch,e.next=6,{payload:{url:t},type:"RESET_HTML_FOR_URL"};case 6:return e.abrupt("return",n(S.c).invalidateResolutionForStoreSelector("getHTMLForURL"));case 7:case"end":return e.stop()}}),e)})),checkForSetupTag:f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_FOR_SETUP_TAG"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),waitForHTMLForURL:f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{url:t},type:"WAIT_FOR_HTML_FOR_URL"};case 2:case"end":return e.stop()}}),e)}))},ue=(Y={},c()(Y,"WAIT_FOR_HTML_FOR_URL",Object(o.createRegistryControl)((function(e){return function(t){var r=t.payload.url;return e.resolveSelect(S.c).getHTMLForURL(r)}}))),c()(Y,"CHECK_FOR_SETUP_TAG",Object(o.createRegistryControl)((function(e){return u()(f.a.mark((function t(){var r,n,o,i,a,c,s,u;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=!1,t.prev=1,t.next=4,h.a.set("core","site","setup-tag");case 4:return a=t.sent,o=a.token,t.next=8,e.select(S.c).getHomeURL();case 8:return c=t.sent,t.next=11,e.dispatch(S.c).fetchGetHTMLForURL(c);case 11:s=t.sent,n=s.response,r=s.error,t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),r="check_fetch_failed";case 19:return r||(u=Object(ne.a)(n,[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]),(i=o===u)||(r="setup_token_mismatch")),t.abrupt("return",{response:i,error:r});case 21:case"end":return t.stop()}}),t,null,[[1,16]])})))}))),Y),le={getHTMLForURL:f.a.mark((function e(t){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(r=e.sent,void 0!==r.select(S.c).getHTMLForURL(t)){e.next=7;break}return e.next=7,ce.actions.fetchGetHTMLForURL(t);case 7:case"end":return e.stop()}}),e)}))},fe=Object(o.combineStores)(ce,{initialState:{htmlForURL:{}},actions:se,controls:ue,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_HTML_FOR_URL":var o=n.url;return ie(ie({},e),{},{htmlForURL:ie(ie({},e.htmlForURL),{},c()({},o,void 0))});default:return e}},resolvers:le,selectors:{getHTMLForURL:function(e,t){return e.htmlForURL[t]}}}),pe=(fe.initialState,fe.actions,fe.controls,fe.reducer,fe.resolvers,fe.selectors,fe),de=r(641),ge=Object(E.a)({baseName:"reset",controlCallback:function(){return h.a.set("core","site","reset")}}),ve={reset:f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ge.actions.fetchReset();case 2:case"end":return e.stop()}}),e)}))},be={isDoingReset:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).isFetchingReset()}}))},me=Object(o.combineStores)(ge,{initialState:{},actions:ve,selectors:be}),ye=(me.initialState,me.actions,me.controls,me.reducer,me.resolvers,me.selectors,me),Oe=r(921);function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee=Object(E.a)({baseName:"getAdminBarSettings",controlCallback:function(){return h.a.get("core","site","admin-bar-settings",void 0,{useCache:!1})},reducerCallback:function(e,t){return Se(Se({},e),{},{adminBarSettings:Se(Se({},e.adminBarSettings||{}),t)})}}),je=Object(E.a)({baseName:"setAdminBarSettings",controlCallback:function(e){var t=e.enabled;return h.a.set("core","site","admin-bar-settings",{enabled:t})},reducerCallback:function(e,t){return Se(Se({},e),{},{adminBarSettings:Se(Se({},e.adminBarSettings||{}),t)})},argsToParams:function(e){return{enabled:e.enabled}},validateParams:function(e){var t=e.enabled;d()("boolean"==typeof t,"enabled must be of boolean type")}}),we={adminBarSettings:void 0},ke={setShowAdminBar:f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,je.actions.fetchSetAdminBarSettings({enabled:t});case 2:return r=e.sent,n=r.response,o=r.error,e.abrupt("return",{response:n,error:o});case 6:case"end":return e.stop()}}),e)}))};var Re={getAdminBarSettings:f.a.mark((function e(){var t,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(S.c).getAdminBarSettings()){e.next=8;break}return e.next=8,Ee.actions.fetchGetAdminBarSettings();case 8:case"end":return e.stop()}}),e)}))},Pe={getAdminBarSettings:function(e){return e.adminBarSettings},getShowAdminBar:Object(o.createRegistrySelector)((function(e){return function(){var t;return null===(t=e(S.c).getAdminBarSettings())||void 0===t?void 0:t.enabled}}))},Ae=Object(o.combineStores)(Ee,je,{initialState:we,actions:ke,controls:{},reducer:function(e,t){return t.type,e},resolvers:Re,selectors:Pe}),_e=(Ae.initialState,Ae.actions,Ae.controls,Ae.reducer,Ae.resolvers,Ae.selectors,Ae),Ce=r(8);function Te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Te(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Le={selectors:{getGoogleLocaleAwareURL:function(e,t){var r,n=Object(Ce.s)(),o=t||{},i=o.website,a=o.path,c=o.query,s=o.hash,u=o.locale,l=void 0===u?(null===(r=n.match(/^([a-zA-Z]+[-_]?[a-zA-Z]*)/))||void 0===r?void 0:r[0])||n:u;if(!a)return null;var f=new URL(i);f.pathname=a,f.hash=s||"";var p=Ne(Ne({},c),{},{hl:l});for(var d in p)f.searchParams.set(d,p[d]);return f.toString()},getGoogleSupportURL:Object(o.createRegistrySelector)((function(e){return function(t,r){return e(S.c).getGoogleLocaleAwareURL(Ne(Ne({},r),{},{website:"https://support.google.com"}))}})),getGooglePrivacyPolicyURL:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).getGoogleLocaleAwareURL({website:"https://myaccount.google.com",path:"/privacypolicy"})}})),getDocumentationLinkURL:Object(o.createRegistrySelector)((function(e){return function(t,r){d()(r,"A slug is required.");var n=e(S.c).getProxySupportLinkURL();return"".concat(n,"?doc=").concat(encodeURIComponent(r))}})),getErrorTroubleshootingLinkURL:Object(o.createRegistrySelector)((function(e){return function(t,r){d()(r,"An error is required.");var n=e(S.c).getProxySupportLinkURL();return r.id&&!Object(Ce.v)(r.id)?"".concat(n,"?error_id=").concat(encodeURIComponent(r.id)):r.code&&!Object(Ce.v)(r.code)?"".concat(n,"?error_id=").concat(encodeURIComponent(r.code)):"".concat(n,"?error=").concat(encodeURIComponent(r.message))}})),getGoogleTermsURL:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).getGoogleLocaleAwareURL({website:"https://policies.google.com",path:"/terms"})}}))}};function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var De=Object(E.a)({baseName:"getDeveloperPluginState",controlCallback:function(){return h.a.get("core","site","developer-plugin",void 0,{useCache:!1})},reducerCallback:function(e,t){return Ie(Ie({},e),{},{developerPluginState:t})}}),Ue={developerPluginState:void 0},Me={getDeveloperPluginState:f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,t.select(S.c).getDeveloperPluginState()){e.next=7;break}return e.next=7,De.actions.fetchGetDeveloperPluginState();case 7:case"end":return e.stop()}}),e)}))},Fe=Object(o.combineStores)(De,{initialState:Ue,resolvers:Me,selectors:{getDeveloperPluginState:function(e){return e.developerPluginState}}}),Be=(Fe.initialState,Fe.actions,Fe.controls,Fe.reducer,Fe.resolvers,Fe.selectors,Fe),Ve=r(545),Ge=r(59),Ke=r(62),He="accepted",We="dismissed",qe=function(e){return"string"==typeof e},ze=Object(E.a)({baseName:"markNotification",controlCallback:function(e){var t=e.notificationID,r=e.notificationState;return h.a.set("core","site","mark-notification",{notificationID:t,notificationState:r})},argsToParams:function(e){return{notificationID:e.notificationID,notificationState:e.notificationState}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.notificationID,r=e.notificationState;d()([He,We].includes(r),"notificationState must be accepted or dismissed."),d()(qe(t),"a valid notification ID is required to mark a notification.")}}),$e={acceptNotification:Object(Ge.f)((function(e){d()(qe(e),"a valid notification ID is required to accept a notification.")}),f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ze.actions.fetchMarkNotification({notificationID:t,notificationState:He});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,Ke.a.receiveError(o,"acceptNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)}))),dismissNotification:Object(Ge.f)((function(e){d()(qe(e),"a valid notification ID is required to dismiss a notification.")}),f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ze.actions.fetchMarkNotification({notificationID:t,notificationState:We});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,Ke.a.receiveError(o,"dismissNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)})))},Je=Object(o.combineStores)(Object(Ve.a)("core","site","notifications",{storeName:S.c}),ze,{actions:$e}),Ye=Object(o.combineStores)(o.commonStore,C,T.a,H,ee,pe,de.b,Be,ye,Oe.a,_e,Le,Je,y,Object(Ke.b)(S.c));Ye.initialState,Ye.actions,Ye.controls,Ye.reducer,Ye.resolvers,Ye.selectors;i.a.registerStore(S.c,Ye)},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n="core/site",o="primary",i="secondary"},164:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(355);function o(e){return Object(n.a)(e)}},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/modules",o="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},256:function(e,t,r){"use strict";(function(e){var n=r(53),o=r.n(n),i=r(257),a=e._googlesitekitAPIFetchData||{},c=a.nonce,s=a.nonceEndpoint,u=a.preloadedData,l=a.rootURL;o.a.nonceEndpoint=s,o.a.nonceMiddleware=o.a.createNonceMiddleware(c),o.a.rootURLMiddleware=o.a.createRootURLMiddleware(l),o.a.preloadingMiddleware=Object(i.a)(u),o.a.use(o.a.nonceMiddleware),o.a.use(o.a.mediaUploadMiddleware),o.a.use(o.a.rootURLMiddleware),o.a.use(o.a.preloadingMiddleware),t.default=o.a}).call(this,r(26))},257:function(e,t,r){"use strict";var n=r(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,o){if(r)return o(e);setTimeout((function(){r=!0}),1e3);var i=e.parse,a=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(a&&"GET"===u&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===u&&t[u]&&t[u][l]){var p=Promise.resolve(t[u][l]);return delete t[u][l],p}}return o(e)}}},3:function(e,t){e.exports=googlesitekit.data},351:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return v}));var n=r(5),o=r.n(n),i=r(16),a=r.n(i),c=r(11),s=r.n(c),u=r(13),l=r(256),f=r(109),p=r(157),d=r(14),g=function(e,t){var r=t.find((function(t){return t.test(e)}));return!!r&&r.exec(e)[1]},v=Object(u.memoize)(function(){var e=a()(o.a.mark((function e(t){var r,n,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.homeURL,n=t.ampMode,s()(Object(f.a)(r),"homeURL must be valid URL"),i=[r],d.b!==n){e.next=14;break}return e.prev=4,e.next=7,Object(l.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(p.a)(e.link,{amp:1})})).pop()}));case 7:(a=e.sent)&&i.push(a),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return O}));var n=r(99),o=e._googlesitekitTrackingData||{},i=o.activeModules,a=void 0===i?[]:i,c=o.isSiteKitScreen,s=o.trackingEnabled,u=o.trackingID,l=o.referenceSiteURL,f=o.userIDHash,p=o.isAuthenticated,d={activeModules:a,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:c,userRoles:o.userRoles,isAuthenticated:p,pluginVersion:"1.140.0"},g=Object(n.a)(d),v=g.enableTracking,b=g.disableTracking,m=(g.isTrackingEnabled,g.initializeSnippet),y=g.trackEvent,O=g.trackEventOnce;function h(e){e?v():b()}c&&s&&m()}).call(this,r(26))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},41:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f})),r.d(t,"d",(function(){return y})),r.d(t,"f",(function(){return O})),r.d(t,"c",(function(){return h})),r.d(t,"e",(function(){return S})),r.d(t,"b",(function(){return E}));var n=r(5),o=r.n(n),i=r(16),a=r.n(i),c=(r(27),r(8));function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l,f="googlesitekit_",p="".concat(f).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),d=["sessionStorage","localStorage"],g=[].concat(d),v=function(){var t=a()(o.a.mark((function t(r){var n,i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",n.setItem(i,i),n.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return m.apply(this,arguments)}function m(){return(m=a()(o.a.mark((function t(){var r,n,i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:r=s(g),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(i=n.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,v(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var y=function(){var e=a()(o.a.mark((function e(t){var r,n,i,a,c,s,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(p).concat(t)))){e.next=10;break}if(i=JSON.parse(n),a=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!a||c&&!(Math.round(Date.now()/1e3)-a<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var t=a()(o.a.mark((function t(r,n){var i,a,s,u,l,f,d,g,v=arguments;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},a=i.ttl,s=void 0===a?c.b:a,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,t.next=3,b();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(p).concat(r),JSON.stringify({timestamp:l,ttl:s,value:n,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),h=function(){var t=a()(o.a.mark((function t(r){var n,i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}return t.prev=4,i=r.startsWith(f)?r:"".concat(p).concat(r),n.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=a()(o.a.mark((function t(){var r,n,i,a;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],i=0;i<r.length;i++)0===(a=r.key(i)).indexOf(f)&&n.push(a);return t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),E=function(){var e=a()(o.a.mark((function e(){var t,r,n,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,S();case 6:t=e.sent,r=s(t),e.prev=8,r.s();case 10:if((n=r.n()).done){e.next=16;break}return i=n.value,e.next=14,h(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),r.e(e.t0);case 21:return e.prev=21,r.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(26))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,r){"use strict";(function(e){var n,o;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var i=new Set((null===(n=e)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,r(26))},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(11),s=r.n(c),u=r(13),l=r(62),f=r(78),p=r(8);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(e){return e},b=function(){return{}},m=function(){},y=l.a.clearError,O=l.a.receiveError,h=function(e){var t,r,n=o.a.mark(I),i=e.baseName,c=e.controlCallback,l=e.reducerCallback,d=void 0===l?v:l,h=e.argsToParams,S=void 0===h?b:h,E=e.validateParams,j=void 0===E?m:E;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof S,"argsToParams must be a function."),s()("function"==typeof j,"validateParams must be a function.");try{j(S()),r=!1}catch(e){r=!0}var w=Object(f.b)(i),k=Object(f.a)(i),R="FETCH_".concat(k),P="START_".concat(R),A="FINISH_".concat(R),_="CATCH_".concat(R),C="RECEIVE_".concat(k),T="fetch".concat(w),N="receive".concat(w),L="isFetching".concat(w),x=a()({},L,{});function I(e,t){var r,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:P};case 2:return n.next=4,y(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:R};case 7:return r=n.sent,n.next=10,D[N](r,e);case 10:return n.next=12,{payload:{params:e},type:A};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),a=n.t0,n.next=19,O(a,i,t);case 19:return n.next=21,{payload:{params:e},type:_};case 21:return n.abrupt("return",{response:r,error:a});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var D=(t={},a()(t,T,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return j(n),I(n,t)})),a()(t,N,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(Object(u.isPlainObject)(t),"params is required."),j(t)):t={},{payload:{response:e,params:t},type:C}})),t),U=a()({},R,(function(e){var t=e.payload;return c(t.params)})),M=a()({},L,(function(e){if(void 0===e[L])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t=S.apply(void 0,n),j(t)}catch(e){return!1}return!!e[L][Object(p.I)(t)]}));return{initialState:x,actions:D,controls:U,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case P:var o=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(o),!0))));case C:var i=n.response,c=n.params;return d(e,i,c);case A:var s=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(s),!1))));case _:var u=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(u),!1))));default:return e}},resolvers:{},selectors:M}}},500:function(e,t,r){"use strict";function n(e){if(void 0!==e)return!e}r.d(t,"a",(function(){return n}))},545:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(11),s=r.n(c),u=r(42),l=r.n(u),f=r(3),p=r(47);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,u=void 0===c||c,d=i.server,v=void 0===d||d,b=i.storeName,m=void 0===b?void 0:b;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var y=m||"".concat(t,"/").concat(r),O={serverNotifications:v?void 0:{},clientNotifications:u?void 0:{}},h=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return g(g({},e),{},{serverNotifications:t.reduce((function(e,t){return g(g({},e),{},a()({},t.id,t))}),{})})}}),S={addNotification:function(e){return s()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return s()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,r=arguments.length>1?arguments[1]:void 0,n=r.type,o=r.payload;switch(n){case"ADD_NOTIFICATION":var i=o.notification;return g(g({},t),{},{clientNotifications:g(g({},t.clientNotifications||{}),{},a()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=o.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var s=g({},t.clientNotifications);return delete s[c],g(g({},t),{},{clientNotifications:s});default:return t}},w={getNotifications:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:if(t=e.sent,t.select(y).getNotifications()){e.next=7;break}return e.next=7,h.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};v||delete w.getNotifications;var k={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(g(g({},t||{}),r||{}))}},R=Object(f.combineStores)(h,{initialState:O,actions:S,controls:E,reducer:j,resolvers:w,selectors:k});return g(g({},R),{},{STORE_NAME:y})}}).call(this,r(26))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(37);function o(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return R})),r.d(t,"b",(function(){return P})),r.d(t,"c",(function(){return A})),r.d(t,"d",(function(){return C})),r.d(t,"e",(function(){return T})),r.d(t,"g",(function(){return L})),r.d(t,"f",(function(){return x}));var n,o=r(5),i=r.n(o),a=r(27),c=r.n(a),s=r(7),u=r.n(s),l=r(11),f=r.n(l),p=r(57),d=r.n(p),g=r(13),v=r(111);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},O=y,h=y,S=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},E=y,j=y,w=y,k=function(e){return e},R=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=w.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:h.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:j.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},P={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},A=(n={},u()(n,"GET_REGISTRY",Object(v.a)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},C={actions:P,controls:A,reducer:k},T=function(e){return function(t){return N(e(t))}},N=d()((function(e){return Object(g.mapValues)(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,o=Object(v.b)((function(t){return function(r){var o=!n,i=!!n;try{for(var a=arguments.length,c=new Array(a>1?a-1:0),s=1;s<a;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,r].concat(c)),o}catch(e){return i}}})),i=Object(v.b)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}));return{safeSelector:o,dangerousSelector:i}}function x(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o})),r.d(t,"e",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"H",(function(){return s})),r.d(t,"M",(function(){return u})),r.d(t,"O",(function(){return l})),r.d(t,"K",(function(){return f})),r.d(t,"L",(function(){return p})),r.d(t,"J",(function(){return d})),r.d(t,"I",(function(){return g})),r.d(t,"N",(function(){return v})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return m})),r.d(t,"h",(function(){return y})),r.d(t,"j",(function(){return O})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return S})),r.d(t,"n",(function(){return E})),r.d(t,"o",(function(){return j})),r.d(t,"q",(function(){return w})),r.d(t,"s",(function(){return k})),r.d(t,"r",(function(){return R})),r.d(t,"t",(function(){return P})),r.d(t,"w",(function(){return A})),r.d(t,"u",(function(){return _})),r.d(t,"v",(function(){return C})),r.d(t,"x",(function(){return T})),r.d(t,"y",(function(){return N})),r.d(t,"A",(function(){return L})),r.d(t,"B",(function(){return x})),r.d(t,"C",(function(){return I})),r.d(t,"D",(function(){return D})),r.d(t,"k",(function(){return U})),r.d(t,"F",(function(){return M})),r.d(t,"z",(function(){return F})),r.d(t,"G",(function(){return B})),r.d(t,"E",(function(){return V})),r.d(t,"i",(function(){return G})),r.d(t,"p",(function(){return K})),r.d(t,"Q",(function(){return H})),r.d(t,"P",(function(){return W}));var n="core/user",o="connected_url_mismatch",i="__global",a="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",f="googlesitekit_manage_options",p="googlesitekit_read_shared_module_data",d="googlesitekit_manage_module_sharing_options",g="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",m="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",O="kmAnalyticsNewVisitors",h="kmAnalyticsPopularAuthors",S="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",w="kmAnalyticsTopCities",k="kmAnalyticsTopCitiesDrivingLeads",R="kmAnalyticsTopCitiesDrivingAddToCart",P="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",_="kmAnalyticsTopConvertingTrafficSource",C="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",N="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",I="kmAnalyticsTopTrafficSourceDrivingLeads",D="kmAnalyticsTopTrafficSourceDrivingPurchases",U="kmAnalyticsPagesPerVisit",M="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",B="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",G="kmAnalyticsMostEngagingPages",K="kmAnalyticsTopCategories",H=[b,m,y,O,h,S,E,j,K,w,k,R,P,A,_,C,N,L,x,U,M,F,V,G,K],W=[].concat(H,[B])},62:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return m}));var n=r(7),o=r.n(n),i=r(33),a=r.n(i),c=r(111),s=r(11),u=r.n(s),l=r(94),f=r.n(l),p=r(8);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===a()(e)?Object(p.I)(e):e}));return"".concat(e,"::").concat(f()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(r&&Array.isArray(r),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function m(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.errors;return u()(t,"baseName is required."),n[v(t,r)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var r=Object.keys(e.errors).find((function(r){return e.errors[r]===t}));return r?{baseName:r.substring(0,r.indexOf("::")),args:e.errorArgs[r]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(r,n){var o=t(e).getMetaDataForError(n);if(o){var i=o.baseName,a=o.args;if(!!t(e)[i])return{storeName:e,name:i,args:a}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,a=n.args,c=n.error,s=v(i,a);return g(g({},e),{},{errors:g(g({},e.errors||{}),{},o()({},s,c)),errorArgs:g(g({},e.errorArgs||{}),{},o()({},s,a))});case"CLEAR_ERROR":var u=n.baseName,l=n.args,f=g({},e),p=v(u,l);return f.errors=g({},e.errors||{}),f.errorArgs=g({},e.errorArgs||{}),delete f.errors[p],delete f.errorArgs[p],f;case"CLEAR_ERRORS":var d=n.baseName,b=g({},e);if(d)for(var m in b.errors=g({},e.errors||{}),b.errorArgs=g({},e.errorArgs||{}),b.errors)(m===d||m.startsWith("".concat(d,"::")))&&(delete b.errors[m],delete b.errorArgs[m]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},641:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return R}));var n=r(15),o=r.n(n),i=r(23),a=r.n(i),c=r(5),s=r.n(c),u=r(7),l=r.n(u),f=r(11),p=r.n(f),d=r(750),g=r.n(d),v=r(157),b=r(519),m=r(3),y=r(14),O=r(8),h=r(500);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function j(e){return Object(m.createRegistrySelector)((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var w={siteInfo:void 0,permaLink:!1},k={receiveSiteInfo:function(e){return p()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return p()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}},setSiteKitAutoUpdatesEnabled:function(e){return p()("boolean"==typeof e,"siteKitAutoUpdatesEnabled must be a boolean."),{payload:{siteKitAutoUpdatesEnabled:e},type:"SET_SITE_KIT_AUTO_UPDATES_ENABLED"}},setKeyMetricsSetupCompletedBy:function(e){return p()("number"==typeof e,"keyMetricsSetupCompletedBy must be a number."),{payload:{keyMetricsSetupCompletedBy:e},type:"SET_KEY_METRICS_SETUP_COMPLETED_BY"}},setSetupErrorCode:function(e){return p()("string"==typeof e||null===e,"setupErrorCode must be a string or null."),{payload:{setupErrorCode:e},type:"SET_SETUP_ERROR_CODE"}}},R={},P={getSiteInfo:s.a.mark((function t(){var r,n,o,i,a,c,u,l,f,p,d,g,v,b,O,h,S,E,j,w,R,P,A,_,C,T,N,L,x,I,D;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,a=r.proxyPermissionsURL,c=r.proxySetupURL,u=r.referenceSiteURL,l=r.setupErrorCode,f=r.setupErrorMessage,p=r.setupErrorRedoURL,d=r.siteName,g=r.timezone,v=r.usingProxy,b=r.webStoriesActive,O=r.proxySupportLinkURL,h=r.widgetsAdminURL,S=r.postTypes,E=r.wpVersion,j=r.updateCoreURL,w=r.changePluginAutoUpdatesCapacity,R=r.siteKitAutoUpdatesEnabled,P=r.pluginBasename,A=r.productPostType,_=r.keyMetricsSetupCompletedBy,C=r.keyMetricsSetupNew,T=r.consentModeRegions,N=e._googlesitekitEntityData,L=N.currentEntityID,x=N.currentEntityTitle,I=N.currentEntityType,D=N.currentEntityURL,t.next=12,k.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:L,currentEntityTitle:x,currentEntityType:I,currentEntityURL:D,homeURL:i,proxyPermissionsURL:a,proxySetupURL:c,referenceSiteURL:u,setupErrorCode:l,setupErrorMessage:f,setupErrorRedoURL:p,siteName:d,timezone:g,postTypes:S,usingProxy:!!v,webStoriesActive:b,proxySupportLinkURL:O,widgetsAdminURL:h,wpVersion:E,updateCoreURL:j,changePluginAutoUpdatesCapacity:w,siteKitAutoUpdatesEnabled:R,pluginBasename:P,productPostType:A,keyMetricsSetupCompletedBy:_,keyMetricsSetupNew:C,consentModeRegions:T});case 12:case"end":return t.stop()}}),t)}))},A={getSiteInfo:function(e){return e.siteInfo},getAdminURL:Object(m.createRegistrySelector)((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e(y.c).getSiteInfo()||{},i=o.adminURL;if(void 0===i||void 0===r)return i;var c="/"===i[i.length-1]?i:"".concat(i,"/"),s=r,u="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(s=g.a.parse(l.pop()).page))return i;u=l.shift()}n.page;var f=a()(n,["page"]);return Object(v.a)("".concat(c).concat(u),E({page:s},f))}})),getAMPMode:j("ampMode"),getCurrentEntityID:j("currentEntityID"),getCurrentEntityTitle:j("currentEntityTitle"),getCurrentEntityType:j("currentEntityType"),getCurrentEntityURL:j("currentEntityURL"),getHomeURL:j("homeURL"),getReferenceSiteURL:j("referenceSiteURL"),getProxySetupURL:j("proxySetupURL"),getProxyPermissionsURL:j("proxyPermissionsURL"),getCurrentReferenceURL:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:j("timezone"),isUsingProxy:j("usingProxy"),getSiteName:j("siteName"),getSetupErrorCode:j("setupErrorCode"),getSetupErrorMessage:j("setupErrorMessage"),getSetupErrorRedoURL:j("setupErrorRedoURL"),getProxySupportLinkURL:j("proxySupportLinkURL"),getWidgetsAdminURL:j("widgetsAdminURL"),getPostTypes:j("postTypes"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(b.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:j("webStoriesActive"),isSiteURLMatch:Object(m.createRegistrySelector)((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(O.B)(n)===Object(O.B)(r)}})),getSiteURLPermutations:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(O.L)(n)),n.protocol="https",r.push(Object(O.L)(n)),n.hostname="www."+n.hostname,r.push(Object(O.L)(n)),n.protocol="http",r.push(Object(O.L)(n)),r}})),getWPVersion:j("wpVersion"),getUpdateCoreURL:j("updateCoreURL"),hasChangePluginAutoUpdatesCapacity:j("changePluginAutoUpdatesCapacity"),getSiteKitAutoUpdatesEnabled:j("siteKitAutoUpdatesEnabled"),getPluginBasename:j("pluginBasename"),getKeyMetricsSetupCompletedBy:j("keyMetricsSetupCompletedBy"),getKeyMetricsSetupNew:j("keyMetricsSetupNew"),hasMinimumWordPressVersion:Object(m.createRegistrySelector)((function(e){return function(t,r){p()(r,"minimumWPVersion is required.");var n=e(y.c).getWPVersion()||{},i=n.major,a=n.minor;if(void 0!==i&&void 0!==a){var c=r.split(".").map((function(e){return parseInt(e,10)})),s=o()(c,2),u=s[0],l=s[1];return u<i||u===i&&(void 0===l?0:l)<=a}}})),getProductPostType:j("productPostType"),isKeyMetricsSetupCompleted:function(e){return Object(h.a)(Object(h.a)(A.getKeyMetricsSetupCompletedBy(e)))},getConsentModeRegions:j("consentModeRegions")};t.b={initialState:w,actions:k,controls:R,reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,s=n.currentEntityType,u=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,g=n.setupErrorCode,v=n.setupErrorMessage,b=n.setupErrorRedoURL,m=n.siteName,y=n.timezone,O=n.usingProxy,h=n.webStoriesActive,S=n.proxySupportLinkURL,j=n.widgetsAdminURL,w=n.postTypes,k=n.wpVersion,R=n.updateCoreURL,P=n.changePluginAutoUpdatesCapacity,A=n.siteKitAutoUpdatesEnabled,_=n.pluginBasename,C=n.productPostType,T=n.keyMetricsSetupCompletedBy,N=n.keyMetricsSetupNew,L=n.consentModeRegions;return E(E({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:s,currentEntityURL:u,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,setupErrorCode:g,setupErrorMessage:v,setupErrorRedoURL:b,siteName:m,timezone:y,usingProxy:O,webStoriesActive:h,proxySupportLinkURL:S,widgetsAdminURL:j,postTypes:w,wpVersion:k,updateCoreURL:R,changePluginAutoUpdatesCapacity:P,siteKitAutoUpdatesEnabled:A,pluginBasename:_,productPostType:C,keyMetricsSetupCompletedBy:T,keyMetricsSetupNew:N,consentModeRegions:L}});case"RECEIVE_PERMALINK_PARAM":var x=r.permaLink;return E(E({},e),{},{permaLink:x});case"SET_SITE_KIT_AUTO_UPDATES_ENABLED":var I=r.siteKitAutoUpdatesEnabled;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{siteKitAutoUpdatesEnabled:I})});case"SET_KEY_METRICS_SETUP_COMPLETED_BY":var D=r.keyMetricsSetupCompletedBy;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{keyMetricsSetupCompletedBy:D})});case"SET_SETUP_ERROR_CODE":var U=r.setupErrorCode;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{setupErrorCode:U})});default:return e}},resolvers:P,selectors:A}}).call(this,r(26))},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return c}));var n=r(33),o=r.n(n),i=r(81),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,r="object"===o()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return o.b})),r.d(t,"K",(function(){return o.c})),r.d(t,"G",(function(){return i.a})),r.d(t,"L",(function(){return i.b})),r.d(t,"I",(function(){return l})),r.d(t,"n",(function(){return f.a})),r.d(t,"C",(function(){return f.d})),r.d(t,"D",(function(){return f.e})),r.d(t,"z",(function(){return f.c})),r.d(t,"s",(function(){return f.b})),r.d(t,"A",(function(){return v})),r.d(t,"k",(function(){return b})),r.d(t,"j",(function(){return m})),r.d(t,"d",(function(){return j})),r.d(t,"c",(function(){return w})),r.d(t,"e",(function(){return k})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"g",(function(){return A})),r.d(t,"f",(function(){return _})),r.d(t,"o",(function(){return C})),r.d(t,"x",(function(){return T})),r.d(t,"q",(function(){return N})),r.d(t,"H",(function(){return L})),r.d(t,"t",(function(){return x})),r.d(t,"w",(function(){return I})),r.d(t,"l",(function(){return D})),r.d(t,"p",(function(){return U.b})),r.d(t,"i",(function(){return U.a})),r.d(t,"u",(function(){return M.b})),r.d(t,"r",(function(){return M.a})),r.d(t,"B",(function(){return M.c})),r.d(t,"y",(function(){return F})),r.d(t,"v",(function(){return B})),r.d(t,"F",(function(){return K})),r.d(t,"E",(function(){return H.a})),r.d(t,"h",(function(){return W})),r.d(t,"M",(function(){return q})),r.d(t,"m",(function(){return z}));var n=r(13),o=r(36),i=r(72),a=r(33),c=r.n(a),s=r(94),u=r.n(s),l=function(e){return u()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===c()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};r(97);var f=r(82);function p(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function d(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function g(e){return e.replace(/\n/gi,"<br>")}function v(e){for(var t=e,r=0,n=[p,d,g];r<n.length;r++){t=(0,n[r])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},m=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},y=r(15),O=r.n(y),h=r(11),S=r.n(h),E=r(2),j="Invalid dateString parameter, it must be a string.",w='Invalid date range, it must be a string with the format "last-x-days".',k=60,R=60*k,P=24*R,A=7*P,_=30*P;function C(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var r=new Date(e);return Object(n.isDate)(r)&&!isNaN(r)}function N(e){S()(Object(n.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,r.length<2?"0".concat(r):r].join("-")}function L(e){S()(T(e),j);var t=e.split("-"),r=O()(t,3),n=r[0],o=r[1],i=r[2];return new Date(n,o-1,i)}function x(e,t){return N(D(e,t*P))}function I(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function D(e,t){S()(T(e)||Object(n.isDate)(e)&&!isNaN(e),j);var r=T(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var U=r(98),M=r(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=r(27),G=r.n(V),K=function(e){return Array.isArray(e)?G()(e).sort():e},H=r(88);function W(e,t){var r=function(e){return"0"===e||0===e};if(r(e)&&r(t))return 0;if(r(e)||Number.isNaN(e))return null;var n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},z=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=r(145),o=r.n(n)()(e)}).call(this,r(26))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return j})),r.d(t,"d",(function(){return w})),r.d(t,"e",(function(){return R})),r.d(t,"c",(function(){return P})),r.d(t,"b",(function(){return A}));var n=r(15),o=r.n(n),i=r(33),a=r.n(i),c=r(7),s=r.n(c),u=r(23),l=r.n(u),f=r(13),p=r(57),d=r.n(p),g=r(2);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t),n=r.formatUnit,o=r.formatDecimal;try{return n()}catch(e){return o()}},y=function(e){var t=O(e),r=t.hours,n=t.minutes,o=t.seconds;return o=("0"+o).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(o):"".concat(r,":").concat(n,":").concat(o)},O=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e),n=r.hours,o=r.minutes,i=r.seconds;return{hours:n,minutes:o,seconds:i,formatUnit:function(){var r=t.unitDisplay,a=b(b({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?R(i,b(b({},a),{},{unit:"second"})):Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?R(i,b(b({},a),{},{unit:"second"})):"",o?R(o,b(b({},a),{},{unit:"minute"})):"",n?R(n,b(b({},a),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(g.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(g.__)("%ds","google-site-kit"),i);if(0===e)return t;var r=Object(g.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(g.__)("%dm","google-site-kit"),o),a=Object(g.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(g.__)("%dh","google-site-kit"),n);return Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",o?r:"",n?a:"").trim()}}},S=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in millions. Object(g.__)("%sM","google-site-kit"),R(S(e),e%10==0?{}:t)):1e4<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),R(S(e))):1e3<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),R(S(e),e%10==0?{}:t)):R(e,{signDisplay:"never",maximumFractionDigits:1})};function j(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(t=b({},e)),t}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r=j(t),n=r.style,o=void 0===n?"metric":n;return"metric"===o?E(e):"duration"===o?m(e,r):"durationISO"===o?y(e):R(e,r)}var k=d()(console.warn),R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),g=d[0],v=d[1];c[g]&&v===c[g]||(s.includes(g)||(u[g]=v))}try{return new Intl.NumberFormat(n,u).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var s=new Intl.ListFormat(n,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(g.__)(", ","google-site-kit");return e.join(u)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(26))},83:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return c}));var n=r(109);function o(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),o=e.replace(r.origin,"");if(o.length<t)return o;var i=o.length-Math.floor(t)+1;return"…"+o.substr(i)}},86:function(e,t,r){"use strict";(function(e){var n=r(1),o=r.n(n),i=r(12),a=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,o=t.width,i=t.height;return e.createElement("svg",{className:a()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(11),o=r.n(n),i=function(e,t){var r=t.dateRangeLength;o()(Array.isArray(e),"report must be an array to partition."),o()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:e.slice(n),compareRange:e.slice(2*n,n)}}},9:function(e,t,r){"use strict";r.d(t,"p",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"q",(function(){return i})),r.d(t,"x",(function(){return a})),r.d(t,"m",(function(){return c})),r.d(t,"o",(function(){return s})),r.d(t,"f",(function(){return u})),r.d(t,"n",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"h",(function(){return p})),r.d(t,"j",(function(){return d})),r.d(t,"k",(function(){return g})),r.d(t,"l",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"v",(function(){return m})),r.d(t,"u",(function(){return y})),r.d(t,"w",(function(){return O})),r.d(t,"s",(function(){return h})),r.d(t,"t",(function(){return S})),r.d(t,"e",(function(){return E})),r.d(t,"r",(function(){return j})),r.d(t,"c",(function(){return w})),r.d(t,"d",(function(){return k})),r.d(t,"b",(function(){return R}));var n="modules/analytics-4",o="account_create",i="property_create",a="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",f="enhanced-measurement-form",p="enhanced-measurement-enabled",d="enhanced-measurement-should-dismiss-activation-banner",g="analyticsAccountCreate",v="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",m="dashboardAllTrafficWidgetDimensionName",y="dashboardAllTrafficWidgetDimensionColor",O="dashboardAllTrafficWidgetDimensionValue",h="dashboardAllTrafficWidgetActiveRowIndex",S="dashboardAllTrafficWidgetLoaded",E={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},j={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},w="audiencePermissionsSetup",k="audienceTileCustomDimensionCreate",R="audience-selection-panel-expirable-new-badge-"},920:function(e,t,r){"use strict";(function(e){var n,o=r(5),i=r.n(o),a=r(16),c=r.n(a),s=r(11),u=r.n(s),l=r(13),f=r(42),p=r.n(f),d=r(3),g=r(47),v=r(164),b=r(19),m=r(14),y=r(6),O=r(9),h=r(62),S=h.a.clearError,E=h.a.receiveError,j=d.commonActions.getRegistry,w=Object(v.a)((function(e,t){e.consentMode.settings=t})),k=Object(g.a)({baseName:"getConsentModeSettings",controlCallback:function(){return p.a.get("core","site","consent-mode",null,{useCache:!1})},reducerCallback:w}),R=Object(g.a)({baseName:"saveConsentModeSettings",controlCallback:function(e){var t=e.settings;return p.a.set("core","site","consent-mode",{settings:t})},reducerCallback:w,argsToParams:function(e){return{settings:e}},validateParams:function(e){var t=e.settings;u()(Object(l.isPlainObject)(t),"settings must be a plain object.")}}),P=Object(g.a)({baseName:"getConsentAPIInfo",controlCallback:function(){return p.a.get("core","site","consent-api-info",null,{useCache:!1})},reducerCallback:Object(v.a)((function(e,t){e.consentMode.apiInfo=t}))}),A=Object(g.a)({baseName:"installActivateWPConsentAPI",controlCallback:(n=c()(i.a.mark((function t(r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.nonce,(o=new FormData).append("action","install_activate_wp_consent_api"),o.append("_ajax_nonce",n),t.next=6,fetch(e.ajaxurl,{method:"POST",credentials:"same-origin",body:o});case 6:return a=t.sent,t.abrupt("return",a.json());case 8:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)}),argsToParams:function(e){return{nonce:e.nonce}},validateParams:function(e){var t=e.nonce;u()("string"==typeof t,"nonce must be a string.")}}),_=Object(g.a)({baseName:"activateConsentAPI",controlCallback:function(){return p.a.set("core","site","consent-api-activate",null,{useCache:!1})}}),C={consentMode:{settings:void 0,apiInfo:void 0,apiInstallResponse:void 0,isApiFetching:void 0}},T={saveConsentModeSettings:i.a.mark((function e(){var t,r,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:return t=e.sent,r=t.select,n=r(m.c).getConsentModeSettings(),e.next=7,R.actions.fetchSaveConsentModeSettings(n);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})),setConsentModeEnabled:function(e){return{type:"SET_CONSENT_MODE_ENABLED",payload:{enabled:e}}},installActivateWPConsentAPI:i.a.mark((function e(){var t,r,n,o,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:return t=e.sent,e.next=5,S("installActivateWPConsentAPI",[]);case 5:return e.next=7,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!0};case 7:return e.next=9,d.commonActions.await(t.resolveSelect(y.a).getNonces());case 9:if(void 0!==(r=t.select(y.a).getNonce("updates"))){e.next=18;break}return n=t.select(y.a).getErrorForSelector("getNonces"),e.next=14,E(n,"installActivateWPConsentAPI",[]);case 14:return e.next=16,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!1};case 16:return t.dispatch(y.a).invalidateResolution("getNonces",[]),e.abrupt("return");case 18:return e.next=20,A.actions.fetchInstallActivateWPConsentAPI({nonce:r});case 20:return o=e.sent,a=o.response,e.next=24,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE",payload:a};case 24:return e.next=26,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!1};case 26:return e.next=28,P.actions.fetchGetConsentAPIInfo();case 28:case"end":return e.stop()}}),e)})),activateConsentAPI:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.actions.fetchActivateConsentAPI();case 2:return t=e.sent,e.next=5,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE",payload:t};case 5:return e.next=7,P.actions.fetchGetConsentAPIInfo();case 7:case"end":return e.stop()}}),e)}))},N=Object(v.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_CONSENT_MODE_ENABLED":e.consentMode.settings=e.consentMode.settings||{},e.consentMode.settings.enabled=!!n.enabled;break;case"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE":e.consentMode.apiInstallResponse=n;break;case"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING":e.consentMode.isApiFetching=n}})),L={getConsentModeSettings:function(e){return e.consentMode.settings},isConsentModeEnabled:Object(d.createRegistrySelector)((function(e){return function(){return(e(m.c).getConsentModeSettings()||{}).enabled}})),getConsentAPIInfo:function(e){return e.consentMode.apiInfo},getApiInstallResponse:function(e){return e.consentMode.apiInstallResponse},isApiFetching:function(e){return e.consentMode.isApiFetching},isAdsConnected:Object(d.createRegistrySelector)((function(e){return function(){var t=e(b.a).isModuleConnected;if(t("ads"))return!0;if(t("analytics-4")){var r=e(O.p),n=r.getAdsLinked,o=r.getGoogleTagContainerDestinationIDs,i=n(),a=o();if([i,a].includes(void 0))return;return!(!Array.isArray(a)||!a.some((function(e){return e.startsWith("AW-")})))||!!i}return!1}}))},x={getConsentModeSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:if(t=e.sent,!(0,t.select)(m.c).getConsentModeSettings()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,k.actions.fetchGetConsentModeSettings();case 8:case"end":return e.stop()}}),e)})),getConsentAPIInfo:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:if(t=e.sent,!(0,t.select)(m.c).getConsentAPIInfo()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,P.actions.fetchGetConsentAPIInfo();case 8:case"end":return e.stop()}}),e)}))},I=Object(d.combineStores)(k,R,P,A,_,{initialState:C,actions:T,controls:{},reducer:N,resolvers:x,selectors:L});I.initialState,I.actions,I.controls,I.reducer,I.resolvers,I.selectors;t.a=I}).call(this,r(26))},921:function(e,t,r){"use strict";(function(e){var n,o=r(5),i=r.n(o),a=r(16),c=r.n(a),s=r(11),u=r.n(s),l=r(3),f=r(14),p=r(47),d=r(62),g=r(6),v=d.a.receiveError,b=d.a.clearError,m=Object(p.a)({baseName:"enableAutoUpdate",controlCallback:(n=c()(i.a.mark((function t(r){var n,o,a,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.nonce,o=r.pluginBasename,(a=new FormData).append("action","toggle-auto-updates"),a.append("_ajax_nonce",n),a.append("state","enable"),a.append("type","plugin"),a.append("asset",o),t.next=9,fetch(e.ajaxurl,{method:"POST",credentials:"same-origin",body:a});case 9:return c=t.sent,t.abrupt("return",c.json());case 11:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)}),argsToParams:function(e){return{nonce:e.nonce,pluginBasename:e.pluginBasename}},validateParams:function(e){var t=e.nonce,r=e.pluginBasename;u()("string"==typeof t,"nonce must be a string."),u()("string"==typeof r,"pluginBasename must be a string.")}}),y={enableAutoUpdate:i.a.mark((function e(){var t,r,n,o,a,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b("enableAutoUpdate",[]);case 2:return e.next=4,l.commonActions.getRegistry();case 4:return t=e.sent,e.next=7,l.commonActions.await(t.resolveSelect(g.a).getNonces());case 7:return e.next=9,l.commonActions.await(t.resolveSelect(f.c).getSiteInfo());case 9:return r=t.select(g.a).getNonce("updates"),n=t.select(f.c).getPluginBasename(),e.next=13,m.actions.fetchEnableAutoUpdate({nonce:r,pluginBasename:n});case 13:if(o=e.sent,a=o.response,c=o.error,(null==a?void 0:a.success)&&t.dispatch(f.c).setSiteKitAutoUpdatesEnabled(!0),!c){e.next=20;break}return e.next=20,v(c,"enableAutoUpdate",[]);case 20:case"end":return e.stop()}}),e)}))},O={isDoingEnableAutoUpdate:Object(l.createRegistrySelector)((function(e){return function(){var t=e(g.a).getNonce("updates"),r=e(f.c).getPluginBasename();return void 0!==t&&void 0!==r&&e(f.c).isFetchingEnableAutoUpdate({nonce:t,pluginBasename:r})}}))},h=Object(l.combineStores)(m,{initialState:{},actions:y,selectors:O});h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;t.a=h}).call(this,r(26))},97:function(e,t,r){"use strict";(function(e){r(50),r(51)}).call(this,r(26))},98:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a}));var n=r(220),o=r(86),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(4))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f}));var n=r(7),o=r.n(n),i=r(13),a=r(100),c=r(101);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=u(u({},l),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(a.a)(o,r),f=Object(c.a)(o,r,s,n),p={},d=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);p[n]||(p[n]=Object(i.once)(f)),p[n].apply(p,t)};return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:f,trackEventOnce:d}}}).call(this,r(26))}},[[1230,1,0]]]); dist/assets/js/googlesitekit-datastore-ui-fbeb338baf423fe10a9a.js 0000604 00000106353 14717744000 0020346 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[12],{100:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return o}));var n=e(58),a=e(37),i=e(44);function o(r,e){var o,c=Object(n.a)(e),u=r.activeModules,s=r.referenceSiteURL,f=r.userIDHash,l=r.userRoles,d=void 0===l?[]:l,g=r.isAuthenticated,p=r.pluginVersion;return function(){var e=t.document;if(void 0===o&&(o=!!e.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var n=(null==d?void 0:d.length)?d.join(","):"";c("js",new Date),c("config",r.trackingID,{groups:"site_kit",send_page_view:r.isSiteKitScreen,domain:s,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:u.join(","),authenticated:g?"1":"0",user_properties:{user_roles:n,user_identifier:f}});var l=e.createElement("script");return l.setAttribute(a.b,""),l.async=!0,l.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(a.a),e.head.appendChild(l),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(a.a)}}}}}).call(this,e(26))},101:function(t,r,e){"use strict";e.d(r,"a",(function(){return d}));var n=e(5),a=e.n(n),i=e(7),o=e.n(i),c=e(16),u=e.n(c),s=e(58);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function d(t,r,e,n){var i=Object(s.a)(r);return function(){var r=u()(a.a.mark((function r(o,c,u,s){var f;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.trackingEnabled){r.next=3;break}return r.abrupt("return");case 3:return e(),f={send_to:"site_kit",event_category:o,event_label:u,value:s},r.abrupt("return",new Promise((function(t){var r,e,a=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),t()}),1e3),u=function(){clearTimeout(a),t()};i("event",c,l(l({},f),{},{event_callback:u})),(null===(r=n._gaUserPrefs)||void 0===r||null===(e=r.ioo)||void 0===e?void 0:e.call(r))&&u()})));case 6:case"end":return r.stop()}}),r)})));return function(t,e,n,a){return r.apply(this,arguments)}}()}},1238:function(t,r,e){"use strict";e.r(r);var n=e(3),a=e.n(n),i=e(62),o=e(133),c=e(7),u=e.n(c),s=e(5),f=e.n(s),l=e(11),d=e.n(l),g=e(13),p=e(24),v=e(6);function b(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function m(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?b(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var y={resetInViewHook:f.a.mark((function t(){var r,e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.commonActions.getRegistry();case 2:return r=t.sent,e=r.select(p.b).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",e+1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})),setIsOnline:function(t){return d()(Object(g.isBoolean)(t),"value must be boolean."),y.setValue("isOnline",t)},setOverlayNotificationToShow:f.a.mark((function t(r){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d()(r,"overlayNotification is required."),t.next=3,n.commonActions.getRegistry();case 3:if(e=t.sent,!e.select(p.b).getValue("activeOverlayNotification")){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,y.setValue("activeOverlayNotification",r);case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)})),dismissOverlayNotification:f.a.mark((function t(r){var e,a;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d()(r,"overlayNotification is required."),t.next=3,n.commonActions.getRegistry();case 3:return e=t.sent,a=e.select(p.b).getValue("activeOverlayNotification"),t.next=7,n.commonActions.await(e.dispatch(v.a).dismissItem(r));case 7:if(!a||r!==a){t.next=11;break}return t.next=10,y.setValues({activeOverlayNotification:void 0});case 10:return t.abrupt("return",t.sent);case 11:case"end":return t.stop()}}),t)})),setValues:function(t){return d()(Object(g.isPlainObject)(t),"values must be an object."),{payload:{values:t},type:"SET_VALUES"}},setValue:function(t,r){return d()(t,"key is required."),{payload:{key:t,value:r},type:"SET_VALUE"}}},h={initialState:{useInViewResetCount:0,isOnline:!0},actions:y,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"SET_VALUES":var a=n.values;return m(m({},t),a);case"SET_VALUE":var i=n.key,o=n.value;return m(m({},t),{},u()({},i,o));default:return t}},resolvers:{},selectors:{getValue:function(t,r){return t[r]},getInViewResetCount:function(t){return t.useInViewResetCount},getIsOnline:function(t){return t.isOnline},isShowingOverlayNotification:function(t,r){return t.activeOverlayNotification===r}}},O=Object(n.combineStores)(n.commonStore,h,Object(o.a)(p.b),Object(i.b)(p.b));O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(p.b,O)},133:function(t,r,e){"use strict";e.d(r,"a",(function(){return v})),e.d(r,"c",(function(){return m})),e.d(r,"b",(function(){return y}));var n=e(23),a=e.n(n),i=e(7),o=e.n(i),c=e(5),u=e.n(c),s=e(11),f=e.n(s),l=e(3),d=e.n(l),g=e(41),p=e(8),v=function(t){var r;f()(t,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var r,e,n,a,i,o,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=t.sent,i=a.cacheHit,o=a.value,!i){t.next=13;break}return t.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",i);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},i=(r={},o()(r,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(t))})),o()(r,"CREATE_SNAPSHOT",Object(l.createRegistryControl)((function(r){return function(){return Object(g.f)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),o()(r,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(t),p.b)})),r);return{initialState:e,actions:n,controls:i,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}},2:function(t,r){t.exports=googlesitekit.i18n},24:function(t,r,e){"use strict";e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return a}));var n="core/ui",a="activeContextID"},3:function(t,r){t.exports=googlesitekit.data},36:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return O})),e.d(r,"b",(function(){return y})),e.d(r,"c",(function(){return h}));var n=e(99),a=t._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,u=a.trackingEnabled,s=a.trackingID,f=a.referenceSiteURL,l=a.userIDHash,d=a.isAuthenticated,g={activeModules:o,trackingEnabled:u,trackingID:s,referenceSiteURL:f,userIDHash:l,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(n.a)(g),v=p.enableTracking,b=p.disableTracking,m=(p.isTrackingEnabled,p.initializeSnippet),y=p.trackEvent,h=p.trackEventOnce;function O(t){t?v():b()}c&&u&&m()}).call(this,e(26))},37:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},41:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l})),e.d(r,"d",(function(){return y})),e.d(r,"f",(function(){return h})),e.d(r,"c",(function(){return O})),e.d(r,"e",(function(){return k})),e.d(r,"b",(function(){return w}));var n=e(5),a=e.n(n),i=e(16),o=e.n(i),c=(e(27),e(8));function u(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return s(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(c)throw i}}}}function s(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var f,l="googlesitekit_",d="".concat(l).concat("1.140.0","_").concat(t._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),v=function(){var r=o()(a.a.mark((function r(e){var n,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t[e]){r.next=3;break}return r.abrupt("return",!1);case 3:return r.prev=3,i="__storage_test__",n.setItem(i,i),n.removeItem(i),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(3),r.abrupt("return",r.t0 instanceof DOMException&&(22===r.t0.code||1014===r.t0.code||"QuotaExceededError"===r.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===r.t0.name)&&0!==n.length);case 13:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(t){return r.apply(this,arguments)}}();function b(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function r(){var e,n,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===f){r.next=2;break}return r.abrupt("return",f);case 2:e=u(p),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(i=n.value,!f){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,v(i);case 11:if(!r.sent){r.next=13;break}f=t[i];case 13:r.next=5;break;case 15:r.next=20;break;case 17:r.prev=17,r.t0=r.catch(3),e.e(r.t0);case 20:return r.prev=20,e.f(),r.finish(20);case 23:return void 0===f&&(f=null),r.abrupt("return",f);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var y=function(){var t=o()(a.a.mark((function t(r){var e,n,i,o,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(d).concat(r)))){t.next=10;break}if(i=JSON.parse(n),o=i.timestamp,c=i.ttl,u=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}(),h=function(){var r=o()(a.a.mark((function r(e,n){var i,o,u,s,f,l,g,p,v=arguments;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,u=void 0===o?c.b:o,s=i.timestamp,f=void 0===s?Math.round(Date.now()/1e3):s,l=i.isError,g=void 0!==l&&l,r.next=3,b();case 3:if(!(p=r.sent)){r.next=14;break}return r.prev=5,p.setItem("".concat(d).concat(e),JSON.stringify({timestamp:f,ttl:u,value:n,isError:g})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),O=function(){var r=o()(a.a.mark((function r(e){var n,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:if(!(n=r.sent)){r.next=14;break}return r.prev=4,i=e.startsWith(l)?e:"".concat(d).concat(e),n.removeItem(i),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(t){return r.apply(this,arguments)}}(),k=function(){var r=o()(a.a.mark((function r(){var e,n,i,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,b();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],i=0;i<e.length;i++)0===(o=e.key(i)).indexOf(l)&&n.push(o);return r.abrupt("return",n);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",[]);case 14:return r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(){return r.apply(this,arguments)}}(),w=function(){var t=o()(a.a.mark((function t(){var r,e,n,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!t.sent){t.next=25;break}return t.next=6,k();case 6:r=t.sent,e=u(r),t.prev=8,e.s();case 10:if((n=e.n()).done){t.next=16;break}return i=n.value,t.next=14,O(i);case 14:t.next=10;break;case 16:t.next=21;break;case 18:t.prev=18,t.t0=t.catch(8),e.e(t.t0);case 21:return t.prev=21,e.f(),t.finish(21);case 24:return t.abrupt("return",!0);case 25:return t.abrupt("return",!1);case 26:case"end":return t.stop()}}),t,null,[[8,18,21,24]])})));return function(){return t.apply(this,arguments)}}()}).call(this,e(26))},44:function(t,r,e){"use strict";(function(t){var n,a;e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return o}));var i=new Set((null===(n=t)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return r instanceof Set&&r.has(t)}}).call(this,e(26))},58:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(37);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},6:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a})),e.d(r,"e",(function(){return i})),e.d(r,"d",(function(){return o})),e.d(r,"c",(function(){return c})),e.d(r,"H",(function(){return u})),e.d(r,"M",(function(){return s})),e.d(r,"O",(function(){return f})),e.d(r,"K",(function(){return l})),e.d(r,"L",(function(){return d})),e.d(r,"J",(function(){return g})),e.d(r,"I",(function(){return p})),e.d(r,"N",(function(){return v})),e.d(r,"f",(function(){return b})),e.d(r,"g",(function(){return m})),e.d(r,"h",(function(){return y})),e.d(r,"j",(function(){return h})),e.d(r,"l",(function(){return O})),e.d(r,"m",(function(){return k})),e.d(r,"n",(function(){return w})),e.d(r,"o",(function(){return j})),e.d(r,"q",(function(){return S})),e.d(r,"s",(function(){return _})),e.d(r,"r",(function(){return E})),e.d(r,"t",(function(){return A})),e.d(r,"w",(function(){return N})),e.d(r,"u",(function(){return D})),e.d(r,"v",(function(){return x})),e.d(r,"x",(function(){return P})),e.d(r,"y",(function(){return R})),e.d(r,"A",(function(){return T})),e.d(r,"B",(function(){return I})),e.d(r,"C",(function(){return L})),e.d(r,"D",(function(){return C})),e.d(r,"k",(function(){return M})),e.d(r,"F",(function(){return V})),e.d(r,"z",(function(){return F})),e.d(r,"G",(function(){return H})),e.d(r,"E",(function(){return U})),e.d(r,"i",(function(){return q})),e.d(r,"p",(function(){return J})),e.d(r,"Q",(function(){return $})),e.d(r,"P",(function(){return K}));var n="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",u="googlesitekit_authenticate",s="googlesitekit_setup",f="googlesitekit_view_dashboard",l="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",m="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",h="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",k="kmAnalyticsPopularContent",w="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",_="kmAnalyticsTopCitiesDrivingLeads",E="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",N="kmAnalyticsTopDeviceDrivingPurchases",D="kmAnalyticsTopConvertingTrafficSource",x="kmAnalyticsTopCountries",P="kmAnalyticsTopPagesDrivingLeads",R="kmAnalyticsTopRecentTrendingPages",T="kmAnalyticsTopTrafficSource",I="kmAnalyticsTopTrafficSourceDrivingAddToCart",L="kmAnalyticsTopTrafficSourceDrivingLeads",C="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",V="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",H="kmSearchConsolePopularKeywords",U="kmAnalyticsVisitsPerVisitor",q="kmAnalyticsMostEngagingPages",J="kmAnalyticsTopCategories",$=[b,m,y,h,O,k,w,j,J,S,_,E,A,N,D,x,R,T,I,M,V,F,U,q,J],K=[].concat($,[H])},62:function(t,r,e){"use strict";e.d(r,"a",(function(){return b})),e.d(r,"b",(function(){return m}));var n=e(7),a=e.n(n),i=e(33),o=e.n(i),c=e(111),u=e(11),s=e.n(u),f=e(94),l=e.n(f),d=e(8);function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){a()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function v(t,r){if(r&&Array.isArray(r)){var e=r.map((function(t){return"object"===o()(t)?Object(d.I)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var b={receiveError:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(t,"error is required."),s()(r,"baseName is required."),s()(e&&Array.isArray(e),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:r,args:e}}},clearError:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return s()(t,"baseName is required."),s()(r&&Array.isArray(r),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function m(t){s()(t,"storeName must be defined.");var r={getErrorForSelector:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"selectorName is required."),r.getError(t,e,n)},getErrorForAction:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"actionName is required."),r.getError(t,e,n)},getError:function(t,r,e){var n=t.errors;return s()(r,"baseName is required."),n[v(r,e)]},getErrors:function(t){var r=new Set(Object.values(t.errors));return Array.from(r)},getMetaDataForError:function(t,r){var e=Object.keys(t.errors).find((function(e){return t.errors[e]===r}));return e?{baseName:e.substring(0,e.indexOf("::")),args:t.errorArgs[e]}:null},getSelectorDataForError:Object(c.b)((function(r){return function(e,n){var a=r(t).getMetaDataForError(n);if(a){var i=a.baseName,o=a.args;if(!!r(t)[i])return{storeName:t,name:i,args:o}}return null}})),hasErrors:function(t){return r.getErrors(t).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var i=n.baseName,o=n.args,c=n.error,u=v(i,o);return p(p({},t),{},{errors:p(p({},t.errors||{}),{},a()({},u,c)),errorArgs:p(p({},t.errorArgs||{}),{},a()({},u,o))});case"CLEAR_ERROR":var s=n.baseName,f=n.args,l=p({},t),d=v(s,f);return l.errors=p({},t.errors||{}),l.errorArgs=p({},t.errorArgs||{}),delete l.errors[d],delete l.errorArgs[d],l;case"CLEAR_ERRORS":var g=n.baseName,b=p({},t);if(g)for(var m in b.errors=p({},t.errors||{}),b.errorArgs=p({},t.errorArgs||{}),b.errors)(m===g||m.startsWith("".concat(g,"::")))&&(delete b.errors[m],delete b.errorArgs[m]);else b.errors={},b.errorArgs={};return b;default:return t}},resolvers:{},selectors:r}}},72:function(t,r,e){"use strict";e.d(r,"a",(function(){return o})),e.d(r,"b",(function(){return c}));var n=e(33),a=e.n(n),i=e(81),o=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,r)}};function c(t){var r,e="object"===a()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},8:function(t,r,e){"use strict";e.d(r,"J",(function(){return a.b})),e.d(r,"K",(function(){return a.c})),e.d(r,"G",(function(){return i.a})),e.d(r,"L",(function(){return i.b})),e.d(r,"I",(function(){return f})),e.d(r,"n",(function(){return l.a})),e.d(r,"C",(function(){return l.d})),e.d(r,"D",(function(){return l.e})),e.d(r,"z",(function(){return l.c})),e.d(r,"s",(function(){return l.b})),e.d(r,"A",(function(){return v})),e.d(r,"k",(function(){return b})),e.d(r,"j",(function(){return m})),e.d(r,"d",(function(){return j})),e.d(r,"c",(function(){return S})),e.d(r,"e",(function(){return _})),e.d(r,"b",(function(){return E})),e.d(r,"a",(function(){return A})),e.d(r,"g",(function(){return N})),e.d(r,"f",(function(){return D})),e.d(r,"o",(function(){return x})),e.d(r,"x",(function(){return P})),e.d(r,"q",(function(){return R})),e.d(r,"H",(function(){return T})),e.d(r,"t",(function(){return I})),e.d(r,"w",(function(){return L})),e.d(r,"l",(function(){return C})),e.d(r,"p",(function(){return M.b})),e.d(r,"i",(function(){return M.a})),e.d(r,"u",(function(){return V.b})),e.d(r,"r",(function(){return V.a})),e.d(r,"B",(function(){return V.c})),e.d(r,"y",(function(){return F})),e.d(r,"v",(function(){return H})),e.d(r,"F",(function(){return J})),e.d(r,"E",(function(){return $.a})),e.d(r,"h",(function(){return K})),e.d(r,"M",(function(){return B})),e.d(r,"m",(function(){return z}));var n=e(13),a=e(36),i=e(72),o=e(33),c=e.n(o),u=e(94),s=e.n(u),f=function(t){return s()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var a=r[n];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))};e(97);var l=e(82);function d(t){return t.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(t){return t.replace(/\n/gi,"<br>")}function v(t){for(var r=t,e=0,n=[d,g,p];e<n.length;e++){r=(0,n[e])(r)}return r}var b=function(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)]},m=function(t){var r=t&&!Number.isInteger(t)?new Date(t).getTime():t;return isNaN(r)||!r?0:r},y=e(15),h=e.n(y),O=e(11),k=e.n(O),w=e(2),j="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',_=60,E=60*_,A=24*E,N=7*A,D=30*A;function x(){var t=function(t){return Object(w.sprintf)( /* translators: %s: number of days */ Object(w._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 P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(t))return!1;var r=t.split("-");if(3!==r.length)return!1;var e=new Date(t);return Object(n.isDate)(e)&&!isNaN(e)}function R(t){k()(Object(n.isDate)(t)&&!isNaN(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(t.getMonth()+1),e="".concat(t.getDate());return[t.getFullYear(),r.length<2?"0".concat(r):r,e.length<2?"0".concat(e):e].join("-")}function T(t){k()(P(t),j);var r=t.split("-"),e=h()(r,3),n=e[0],a=e[1],i=e[2];return new Date(n,a-1,i)}function I(t,r){return R(C(t,r*A))}function L(t){var r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]}function C(t,r){k()(P(t)||Object(n.isDate)(t)&&!isNaN(t),j);var e=P(t)?Date.parse(t):t.getTime();return new Date(e-1e3*r)}var M=e(98),V=e(83);function F(t){var r=parseFloat(t)||0;return!!Number.isInteger(r)&&r>0}function H(t){if("number"==typeof t)return!0;var r=(t||"").toString();return!!r&&!isNaN(r)}var U=e(27),q=e.n(U),J=function(t){return Array.isArray(t)?q()(t).sort():t},$=e(88);function K(t,r){var e=function(t){return"0"===t||0===t};if(e(t)&&e(r))return 0;if(e(t)||Number.isNaN(t))return null;var n=(r-t)/t;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var B=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},z=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return Object(n.unescape)(r)}},81:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(145),a=e.n(n)()(t)}).call(this,e(26))},82:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return j})),e.d(r,"d",(function(){return S})),e.d(r,"e",(function(){return E})),e.d(r,"c",(function(){return A})),e.d(r,"b",(function(){return N}));var n=e(15),a=e.n(n),i=e(33),o=e.n(i),c=e(7),u=e.n(c),s=e(23),f=e.n(s),l=e(13),d=e(57),g=e.n(d),p=e(2);function v(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?v(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=O(t,r),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(t){return a()}},y=function(t){var r=h(t),e=r.hours,n=r.minutes,a=r.seconds;return a=("0"+a).slice(-2),n=("0"+n).slice(-2),"00"===(e=("0"+e).slice(-2))?"".concat(n,":").concat(a):"".concat(e,":").concat(n,":").concat(a)},h=function(t){return t=parseInt(t,10),Number.isNaN(t)&&(t=0),{hours:Math.floor(t/60/60),minutes:Math.floor(t/60%60),seconds:Math.floor(t%60)}},O=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=h(t),n=e.hours,a=e.minutes,i=e.seconds;return{hours:n,minutes:a,seconds:i,formatUnit:function(){var e=r.unitDisplay,o=b(b({unitDisplay:void 0===e?"short":e},f()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?E(i,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?E(i,b(b({},o),{},{unit:"second"})):"",a?E(a,b(b({},o),{},{unit:"minute"})):"",n?E(n,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var r=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===t)return r;var e=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),a),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),n);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?r:"",a?e:"",n?o:"").trim()}}},k=function(t){return 1e6<=t?Math.round(t/1e5)/10:1e4<=t?Math.round(t/1e3):1e3<=t?Math.round(t/100)/10:t},w=function(t){var r={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),E(k(t),t%10==0?{}:r)):1e4<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),E(k(t))):1e3<=t?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),E(k(t),t%10==0?{}:r)):E(t,{signDisplay:"never",maximumFractionDigits:1})};function j(t){var r={};return"%"===t?r={style:"percent",maximumFractionDigits:2}:"s"===t?r={style:"duration",unitDisplay:"narrow"}:t&&"string"==typeof t?r={style:"currency",currency:t}:Object(l.isPlainObject)(t)&&(r=b({},t)),r}function S(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(l.isFinite)(t)?t:Number(t),Object(l.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var e=j(r),n=e.style,a=void 0===n?"metric":n;return"metric"===a?w(t):"duration"===a?m(t,e):"durationISO"===a?y(t):E(t,e)}var _=g()(console.warn),E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?N():e,i=f()(r,["locale"]);try{return new Intl.NumberFormat(n,i).format(t)}catch(r){_("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(t)," )"),r.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},l=0,d=Object.entries(i);l<d.length;l++){var g=a()(d[l],2),p=g[0],v=g[1];c[p]&&v===c[p]||(u.includes(p)||(s[p]=v))}try{return new Intl.NumberFormat(n,s).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},A=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?N():e,a=r.style,i=void 0===a?"long":a,o=r.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:i,type:c});return u.format(t)} /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},N=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(l.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(26))},83:function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"a",(function(){return i})),e.d(r,"c",(function(){return o})),e.d(r,"d",(function(){return c}));var n=e(109);function a(t){try{return new URL(t).pathname}catch(t){}return null}function i(t,r){try{return new URL(r,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof r?r:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t,r){if(!Object(n.a)(t))return t;if(t.length<=r)return t;var e=new URL(t),a=t.replace(e.origin,"");if(a.length<r)return a;var i=a.length-Math.floor(r)+1;return"…"+a.substr(i)}},86:function(t,r,e){"use strict";(function(t){var n=e(1),a=e.n(n),i=e(12),o=e.n(i);function ChangeArrow(r){var e=r.direction,n=r.invertColor,a=r.width,i=r.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(4))},88:function(t,r,e){"use strict";e.d(r,"a",(function(){return i}));var n=e(11),a=e.n(n),i=function(t,r){var e=r.dateRangeLength;a()(Array.isArray(t),"report must be an array to partition."),a()(Number.isInteger(e)&&e>0,"dateRangeLength must be a positive integer.");var n=-1*e;return{currentRange:t.slice(n),compareRange:t.slice(2*n,n)}}},97:function(t,r,e){"use strict";(function(t){e(50),e(51)}).call(this,e(26))},98:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return i})),e.d(r,"a",(function(){return o}));var n=e(220),a=e(86),i=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var i=e.invertColor,o=void 0!==i&&i;return Object(n.a)(t.createElement(a.a,{direction:r>0?"up":"down",invertColor:o}))},o=function(t,r){return t>0&&r>0?t/r-1:t>0?1:r>0?-1:0}}).call(this,e(4))},99:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(7),a=e.n(n),i=e(13),o=e(100),c=e(101);function u(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function s(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?u(Object(e),!0).forEach((function(r){a()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var f={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function l(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=s(s({},f),r);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var u=Object(o.a)(a,e),l=Object(c.a)(a,e,u,n),d={},g=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];var n=JSON.stringify(r);d[n]||(d[n]=Object(i.once)(l)),d[n].apply(d,r)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:u,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:l,trackEventOnce:g}}}).call(this,e(26))}},[[1238,1,0]]]); dist/assets/js/googlesitekit-datastore-user-8525155abe6c24a6b6e4.js 0000604 00000373526 14717744000 0020427 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(58),i=r(37),o=r(44);function s(t,r){var s,a=Object(n.a)(r),c=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,f=t.userRoles,d=void 0===f?[]:f,g=t.isAuthenticated,p=t.pluginVersion;return function(){var r=e.document;if(void 0===s&&(s=!!r.querySelector("script[".concat(i.b,"]"))),!s){s=!0;var n=(null==d?void 0:d.length)?d.join(","):"";a("js",new Date),a("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(o.a).join(","),active_modules:c.join(","),authenticated:g?"1":"0",user_properties:{user_roles:n,user_identifier:l}});var f=r.createElement("script");return f.setAttribute(i.b,""),f.async=!0,f.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(f),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,r(26))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(16),c=r.n(a),u=r(58);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r,n){var o=Object(u.a)(t);return function(){var t=c()(i.a.mark((function t(s,a,c,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return r(),l={send_to:"site_kit",event_category:s,event_label:c,value:u},t.abrupt("return",new Promise((function(e){var t,r,i=setTimeout((function(){n.console.warn('Tracking event "'.concat(a,'" (category "').concat(s,'") took too long to fire.')),e()}),1e3),c=function(){clearTimeout(i),e()};o("event",a,f(f({},l),{},{event_callback:c})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&c()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,i){return t.apply(this,arguments)}}()}},1150:function(e,t,r){"use strict";var n,i,o=r(16),s=r.n(o),a=r(5),c=r.n(a),u=r(7),l=r.n(u),f=r(931),d=r.n(f),g=r(11),p=r.n(g),v=r(13),b=r(42),m=r.n(b),y=r(3),h=r(47),O=r(14),S=r(6),j=r(27),_=r.n(j),k=r(2),E=r(31),w=r(22),A=r(531),I=r(24),T=r(147),D=[{slug:"dashboardSharing",contexts:[w.n],version:"1.85.0",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:[{target:".googlesitekit-sharing-settings__button",title:Object(k.__)("New! Dashboard sharing","google-site-kit"),content:Object(k.__)("Share a view-only version of your dashboard with other WordPress roles","google-site-kit"),placement:"bottom-start"}].concat(_()(A.a.steps)),callback:function(e,t){var r=t.select,i=t.dispatch,o=e.action,s=e.index,a=e.size,c=e.type,u=e.status,l=r(I.b).getValue(T.c);E.a.NEXT===o&&0===s&&i(I.b).setValue(T.c,!0),(E.a.STOP===o||E.a.CLOSE===o||0===s&&l||o===E.a.NEXT&&u===E.d.FINISHED)&&i(I.b).setValue(T.c,!1),s+1!==a||E.b.TOOLTIP!==c||n||(n=!0,i(S.a).dismissTour(A.a.slug))}}],x=r(41),P=r(59);function C(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var L=y.commonActions.getRegistry,M=Object(h.a)({baseName:"getDismissedTours",controlCallback:function(){return m.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return U(U({},e),{},{dismissedTourSlugs:t})}}),G=Object(h.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return m.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return U(U({},e),{},{dismissedTourSlugs:t})},argsToParams:function(e){return{slug:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug;p()(t,"slug is required.")}}),V={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:D,currentTour:void 0,shownTour:void 0},F={dismissTour:Object(P.f)((function(e){p()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:if(r=e.sent,!(n=r.select)(S.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(S.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,H.setLastDismissedAt(Date.now());case 11:return e.next=13,G.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveCurrentTour:function(e){return p()(Object(v.isPlainObject)(e)||Object(v.isNull)(e),"tour must be a plain object or null."),{payload:{tour:e},type:"RECEIVE_CURRENT_TOUR"}},receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return p()(Array.isArray(e),"viewTours must be an array."),p()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return p()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return p()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(P.f)((function(e){p()(e,"A timestamp is required.")}),c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:return e.sent.dispatch(O.c).setCacheItem("feature_tour_last_dismissed_at",t,{ttl:7200}),e.next=6,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 6:case"end":return e.stop()}}),e)}))),triggerTour:c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:if(r=e.sent,(0,r.select)(S.a).getCurrentTour()){e.next=7;break}return e.next=7,F.receiveCurrentTour(t);case 7:case"end":return e.stop()}}),e)})),triggerOnDemandTour:c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{tour:t},type:"CHECK_ON_DEMAND_TOUR_REQUIREMENTS"};case 2:if(!e.sent){e.next=6;break}return e.next=6,F.triggerTour(t);case 6:case"end":return e.stop()}}),e)})),triggerTourForView:c.a.mark((function e(t){var r,n,i,o,s,a,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:return r=e.sent,n=r.select,i=r.resolveSelect,e.next=7,y.commonActions.await(i(S.a).getLastDismissedAt());case 7:if(!n(S.a).areFeatureToursOnCooldown()){e.next=9;break}return e.abrupt("return",{});case 9:o=n(S.a).getAllFeatureTours(),s=C(o),e.prev=11,s.s();case 13:if((a=s.n()).done){e.next=24;break}return u=a.value,e.next=17,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 17:if(!e.sent){e.next=22;break}return e.next=21,F.triggerTour(u);case 21:return e.abrupt("return",u);case 22:e.next=13;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(11),s.e(e.t0);case 29:return e.prev=29,s.f(),e.finish(29);case 32:return e.next=34,F.triggerTour(null);case 34:return e.abrupt("return",null);case 35:case"end":return e.stop()}}),e,null,[[11,26,29,32]])}))},q=(i={},l()(i,"CHECK_TOUR_REQUIREMENTS",Object(y.createRegistryControl)((function(e){return function(){var t=s()(c.a.mark((function t(r){var n,i,o,s;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,o=n.viewContext,i.contexts.includes(o)){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,e.resolveSelect(S.a).getInitialSiteKitVersion();case 6:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(!d.a.compare(s,i.version,">=")){t.next=13;break}return t.abrupt("return",!1);case 13:return t.next=15,e.resolveSelect(S.a).getDismissedFeatureTourSlugs();case 15:if(!e.select(S.a).isTourDismissed(i.slug)){t.next=17;break}return t.abrupt("return",!1);case 17:if(!i.checkRequirements){t.next=21;break}return t.next=20,i.checkRequirements(e);case 20:return t.abrupt("return",!!t.sent);case 21:return t.abrupt("return",!0);case 22:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),l()(i,"CHECK_ON_DEMAND_TOUR_REQUIREMENTS",Object(y.createRegistryControl)((function(e){return function(){var t=s()(c.a.mark((function t(r){var n,i;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.tour,t.next=4,e.resolveSelect(S.a).getDismissedFeatureTourSlugs();case 4:if(!e.select(S.a).isTourDismissed(i.slug)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!i.checkRequirements){t.next=10;break}return t.next=9,i.checkRequirements(e);case 9:return t.abrupt("return",!!t.sent);case 10:return t.abrupt("return",!0);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),i),K={getDismissedFeatureTourSlugs:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:if(t=e.sent,r=t.select,void 0!==r(S.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,M.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),getLastDismissedAt:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.commonActions.await(Object(x.d)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,H.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},B={getCurrentTour:function(e){return e.currentTour},getShownTour:function(e){return e.shownTour},getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getAllFeatureTours:function(e){return e.tours},isTourDismissed:Object(y.createRegistrySelector)((function(e){return function(t,r){var n=e(S.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:Object(y.createRegistrySelector)((function(e){return function(){var t=e(S.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},W=Object(y.combineStores)({initialState:V,actions:F,controls:q,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i,o=n.slug,s=e.dismissedTourSlugs,a=void 0===s?[]:s;return a.includes(o)?e:U(U({},e),{},{currentTour:(null===(i=e.currentTour)||void 0===i?void 0:i.slug)===o?null:e.currentTour,dismissedTourSlugs:a.concat(o)});case"RECEIVE_CURRENT_TOUR":return U(U({},e),{},{currentTour:n.tour,shownTour:n.tour});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return U(U({},e),{},{viewTours:U(U({},e.viewTours),{},l()({},c,u))});case"RECEIVE_TOURS":return U(U({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return U(U({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:K,selectors:B},G,M),H=W.actions,$=W.controls,J=W.initialState,z=W.reducer,Q=W.resolvers,Y=W.selectors;t.a={actions:H,controls:$,initialState:J,reducer:z,resolvers:Q,selectors:Y}},1197:function(e,t,r){"use strict";r.r(t);var n=r(3),i=r.n(n),o=r(922);Object(o.a)(i.a)},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var n="core/site",i="primary",o="secondary"},147:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return o}));var n="editing-user-role-select-slug-key",i="dashboardSharingDialogOpen",o="resetSharingDialogOpen"},164:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(355);function i(e){return Object(n.a)(e)}},172:function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(7),i=r.n(n),o=r(2),s=r(6),a=r(14),c=r(9),u=r(44);function l(e,t,r){return!!Object(u.b)("conversionReporting")&&(e(c.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(s.a).isKeyMetricActive(r))}var f,d=r(30);function g(e,t){return!t||!(!t||!e(c.p).getAdSenseLinked())}function p(e,t){return!t||e(c.p).hasCustomDimensions(this.requiredCustomDimensions)}var v=(f={},i()(f,s.f,{title:Object(o.__)("Top earning pages","google-site-kit"),description:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:g,displayInList:g,metadata:{group:d.d.SLUG}}),i()(f,s.y,{title:Object(o.__)("Top recent trending pages","google-site-kit"),description:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.l,{title:Object(o.__)("Most popular authors by pageviews","google-site-kit"),description:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.p,{title:Object(o.__)("Top categories by pageviews","google-site-kit"),description:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.m,{title:Object(o.__)("Most popular content by pageviews","google-site-kit"),description:Object(o.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.n,{title:Object(o.__)("Most popular products by pageviews","google-site-kit"),description:Object(o.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(s.a).isKeyMetricActive(s.n)||e(a.c).getProductPostType()},displayInWidgetArea:p,metadata:{group:d.g.SLUG}}),i()(f,s.k,{title:Object(o.__)("Pages per visit","google-site-kit"),description:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.F,{title:Object(o.__)("Visit length","google-site-kit"),description:Object(o.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(o.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.E,{title:Object(o.__)("Visits per visitor","google-site-kit"),description:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.i,{title:Object(o.__)("Most engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.h,{title:Object(o.__)("Least engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(o.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.z,{title:Object(o.__)("Top pages by returning visitors","google-site-kit"),description:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.j,{title:Object(o.__)("New visitors","google-site-kit"),description:Object(o.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(o.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.o,{title:Object(o.__)("Returning visitors","google-site-kit"),description:Object(o.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(o.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.A,{title:Object(o.__)("Top traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.B,{title:Object(o.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.C,{title:Object(o.__)("Top traffic source driving leads","google-site-kit"),description:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),i()(f,s.D,{title:Object(o.__)("Top traffic source driving purchases","google-site-kit"),description:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.g,{title:Object(o.__)("Most engaged traffic source","google-site-kit"),description:Object(o.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.u,{title:Object(o.__)("Top converting traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.q,{title:Object(o.__)("Top cities driving traffic","google-site-kit"),description:Object(o.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.s,{title:Object(o.__)("Top cities driving leads","google-site-kit"),description:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),i()(f,s.r,{title:Object(o.__)("Top cities driving add to cart","google-site-kit"),description:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.t,{title:Object(o.__)("Top cities driving purchases","google-site-kit"),description:Object(o.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.w,{title:Object(o.__)("Top device driving purchases","google-site-kit"),description:Object(o.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.v,{title:Object(o.__)("Top countries driving traffic","google-site-kit"),description:Object(o.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.G,{title:Object(o.__)("Top performing keywords","google-site-kit"),description:Object(o.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(o.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.x,{title:Object(o.__)("Top pages driving leads","google-site-kit"),description:Object(o.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),f)},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},22:function(e,t,r){"use strict";r.d(t,"n",(function(){return n})),r.d(t,"l",(function(){return i})),r.d(t,"o",(function(){return o})),r.d(t,"m",(function(){return s})),r.d(t,"s",(function(){return a})),r.d(t,"h",(function(){return c})),r.d(t,"r",(function(){return u})),r.d(t,"i",(function(){return l})),r.d(t,"j",(function(){return f})),r.d(t,"q",(function(){return d})),r.d(t,"k",(function(){return g})),r.d(t,"t",(function(){return p})),r.d(t,"u",(function(){return v})),r.d(t,"p",(function(){return b})),r.d(t,"b",(function(){return m})),r.d(t,"e",(function(){return y})),r.d(t,"a",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"c",(function(){return S})),r.d(t,"f",(function(){return j})),r.d(t,"g",(function(){return _}));var n="mainDashboard",i="entityDashboard",o="mainDashboardViewOnly",s="entityDashboardViewOnly",a="userInput",c="activation",u="splash",l="adminBar",f="adminBarViewOnly",d="settings",g="adBlockingRecovery",p="wpDashboard",v="wpDashboardViewOnly",b="moduleSetup",m="key-metrics",y="traffic",h="content",O="speed",S="monetization",j=[n,i,o,s,a,u,d,b],_=[o,s,f,v]},24:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i}));var n="core/ui",i="activeContextID"},3:function(e,t){e.exports=googlesitekit.data},30:function(e,t,r){"use strict";r.d(t,"l",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"j",(function(){return a})),r.d(t,"i",(function(){return c})),r.d(t,"o",(function(){return u})),r.d(t,"m",(function(){return l})),r.d(t,"n",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"h",(function(){return g})),r.d(t,"e",(function(){return p})),r.d(t,"f",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"d",(function(){return m})),r.d(t,"c",(function(){return y}));var n=r(2),i="key-metrics-setup-cta-widget",o="key-metrics-acr-subtle-notification",s="googlesitekit-key-metrics-selection-panel-opened",a="key-metrics-selection-form",c="key-metrics-selected",u=2,l=4,f=8,d="current-selection",g={SLUG:"visitors",LABEL:Object(n.__)("Visitors","google-site-kit")},p={SLUG:"driving-traffic",LABEL:Object(n.__)("Driving traffic","google-site-kit")},v={SLUG:"generating-leads",LABEL:Object(n.__)("Generating leads","google-site-kit")},b={SLUG:"selling-products",LABEL:Object(n.__)("Selling products","google-site-kit")},m={SLUG:"content-performance",LABEL:Object(n.__)("Content performance","google-site-kit")},y=[g,p,v,b,m]},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return h}));var n=r(99),i=e._googlesitekitTrackingData||{},o=i.activeModules,s=void 0===o?[]:o,a=i.isSiteKitScreen,c=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,f=i.userIDHash,d=i.isAuthenticated,g={activeModules:s,trackingEnabled:c,trackingID:u,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:a,userRoles:i.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(n.a)(g),v=p.enableTracking,b=p.disableTracking,m=(p.isTrackingEnabled,p.initializeSnippet),y=p.trackEvent,h=p.trackEventOnce;function O(e){e?v():b()}a&&c&&m()}).call(this,r(26))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},404:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((function(e,t,n){return e+t+encodeURIComponent(r[n]||"")}),"")}r.d(t,"a",(function(){return n}))},41:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f})),r.d(t,"d",(function(){return y})),r.d(t,"f",(function(){return h})),r.d(t,"c",(function(){return O})),r.d(t,"e",(function(){return S})),r.d(t,"b",(function(){return j}));var n=r(5),i=r.n(n),o=r(16),s=r.n(o),a=(r(27),r(8));function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l,f="googlesitekit_",d="".concat(f).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),v=function(){var t=s()(i.a.mark((function t(r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return m.apply(this,arguments)}function m(){return(m=s()(i.a.mark((function t(){var r,n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:r=c(p),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(o=n.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,v(o);case 11:if(!t.sent){t.next=13;break}l=e[o];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var y=function(){var e=s()(i.a.mark((function e(t){var r,n,o,s,a,c,u;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(d).concat(t)))){e.next=10;break}if(o=JSON.parse(n),s=o.timestamp,a=o.ttl,c=o.value,u=o.isError,!s||a&&!(Math.round(Date.now()/1e3)-s<a)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:c,isError:u});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var t=s()(i.a.mark((function t(r,n){var o,s,c,u,l,f,g,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},s=o.ttl,c=void 0===s?a.b:s,u=o.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=o.isError,g=void 0!==f&&f,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(d).concat(r),JSON.stringify({timestamp:l,ttl:c,value:n,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),O=function(){var t=s()(i.a.mark((function t(r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}return t.prev=4,o=r.startsWith(f)?r:"".concat(d).concat(r),n.removeItem(o),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=s()(i.a.mark((function t(){var r,n,o,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],o=0;o<r.length;o++)0===(s=r.key(o)).indexOf(f)&&n.push(s);return t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),j=function(){var e=s()(i.a.mark((function e(){var t,r,n,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,S();case 6:t=e.sent,r=c(t),e.prev=8,r.s();case 10:if((n=r.n()).done){e.next=16;break}return o=n.value,e.next=14,O(o);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),r.e(e.t0);case 21:return e.prev=21,r.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(26))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));var o=new Set((null===(n=e)||void 0===n||null===(i=n._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return t instanceof Set&&t.has(e)}}).call(this,r(26))},46:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return o}));var n={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},o="core/widgets"},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(62),f=r(78),d=r(8);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(e){return e},b=function(){return{}},m=function(){},y=l.a.clearError,h=l.a.receiveError,O=function(e){var t,r,n=i.a.mark(N),o=e.baseName,a=e.controlCallback,l=e.reducerCallback,g=void 0===l?v:l,O=e.argsToParams,S=void 0===O?b:O,j=e.validateParams,_=void 0===j?m:j;c()(o,"baseName is required."),c()("function"==typeof a,"controlCallback is required and must be a function."),c()("function"==typeof g,"reducerCallback must be a function."),c()("function"==typeof S,"argsToParams must be a function."),c()("function"==typeof _,"validateParams must be a function.");try{_(S()),r=!1}catch(e){r=!0}var k=Object(f.b)(o),E=Object(f.a)(o),w="FETCH_".concat(E),A="START_".concat(w),I="FINISH_".concat(w),T="CATCH_".concat(w),D="RECEIVE_".concat(E),x="fetch".concat(k),P="receive".concat(k),C="isFetching".concat(k),R=s()({},C,{});function N(e,t){var r,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:A};case 2:return n.next=4,y(o,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:w};case 7:return r=n.sent,n.next=10,U[P](r,e);case 10:return n.next=12,{payload:{params:e},type:I};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),s=n.t0,n.next=19,h(s,o,t);case 19:return n.next=21,{payload:{params:e},type:T};case 21:return n.abrupt("return",{response:r,error:s});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},s()(t,x,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return _(n),N(n,t)})),s()(t,P,(function(e,t){return c()(void 0!==e,"response is required."),r?(c()(Object(u.isPlainObject)(t),"params is required."),_(t)):t={},{payload:{response:e,params:t},type:D}})),t),L=s()({},w,(function(e){var t=e.payload;return a(t.params)})),M=s()({},C,(function(e){if(void 0===e[C])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),_(t)}catch(e){return!1}return!!e[C][Object(d.I)(t)]}));return{initialState:R,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case A:var i=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(i),!0))));case D:var o=n.response,a=n.params;return g(e,o,a);case I:var c=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(c),!1))));case T:var u=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(u),!1))));default:return e}},resolvers:{},selectors:M}}},531:function(e,t,r){"use strict";(function(e){var n=r(31),i=r(2),o=r(6),s=(e._googlesitekitUserData||{}).hasMultipleAdmins,a=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(i.__)("Manage view access for other roles","google-site-kit"),content:Object(i.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];s&&a.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(i.__)("Share management with other admins","google-site-kit"),content:Object(i.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:a,callback:function(e,t){var r=e.type,i=t.select,s=t.dispatch;n.b.TOOLTIP===r&&!1===i(o.a).isTourDismissed("dashboardSharing")&&s(o.a).dismissTour("dashboardSharing")}}}).call(this,r(26))},545:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(47);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=o.client,u=void 0===a||a,g=o.server,v=void 0===g||g,b=o.storeName,m=void 0===b?void 0:b;c()(t,"type is required."),c()(r,"identifier is required."),c()(n,"datapoint is required.");var y=m||"".concat(t,"/").concat(r),h={serverNotifications:v?void 0:{},clientNotifications:u?void 0:{}},O=Object(d.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return p(p({},e),{},{serverNotifications:t.reduce((function(e,t){return p(p({},e),{},s()({},t.id,t))}),{})})}}),S={addNotification:function(e){return c()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return c()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},j={},_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var o=i.notification;return p(p({},t),{},{clientNotifications:p(p({},t.clientNotifications||{}),{},s()({},o.id,o))});case"REMOVE_NOTIFICATION":var a=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[a])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[a]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(a,'"; this may be changed in a future release.')),t;var c=p({},t.clientNotifications);return delete c[a],p(p({},t),{},{clientNotifications:c});default:return t}},k={getNotifications:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:if(t=e.sent,t.select(y).getNotifications()){e.next=7;break}return e.next=7,O.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};v||delete k.getNotifications;var E={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(p(p({},t||{}),r||{}))}},w=Object(f.combineStores)(O,{initialState:h,actions:S,controls:j,reducer:_,resolvers:k,selectors:E});return p(p({},w),{},{STORE_NAME:y})}}).call(this,r(26))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(37);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return w})),r.d(t,"b",(function(){return A})),r.d(t,"c",(function(){return I})),r.d(t,"d",(function(){return D})),r.d(t,"e",(function(){return x})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return R}));var n,i=r(5),o=r.n(i),s=r(27),a=r.n(s),c=r(7),u=r.n(c),l=r(11),f=r.n(l),d=r(57),g=r.n(d),p=r(13),v=r(111);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(a()(e),a()(Object.keys(t)))}),[]),o=T(i);return f()(0===o.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(o.join(", "),". Check your data stores for duplicates.")),n},h=y,O=y,S=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},j=y,_=y,k=y,E=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=k.apply(void 0,a()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:O.apply(void 0,a()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,a()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(a()(t.map((function(e){return e.reducer||E}))))),resolvers:j.apply(void 0,a()(t.map((function(e){return e.resolvers||{}})))),selectors:_.apply(void 0,a()(t.map((function(e){return e.selectors||{}}))))}},A={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},I=(n={},u()(n,"GET_REGISTRY",Object(v.a)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),T=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},D={actions:A,controls:I,reducer:E},x=function(e){return function(t){return P(e(t))}},P=g()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,i=Object(v.b)((function(t){return function(r){var i=!n,o=!!n;try{for(var s=arguments.length,a=new Array(s>1?s-1:0),c=1;c<s;c++)a[c-1]=arguments[c];return e.apply(void 0,[t,r].concat(a)),i}catch(e){return o}}})),o=Object(v.b)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e.apply(void 0,[t,r].concat(i))}}));return{safeSelector:i,dangerousSelector:o}}function R(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"c",(function(){return a})),r.d(t,"H",(function(){return c})),r.d(t,"M",(function(){return u})),r.d(t,"O",(function(){return l})),r.d(t,"K",(function(){return f})),r.d(t,"L",(function(){return d})),r.d(t,"J",(function(){return g})),r.d(t,"I",(function(){return p})),r.d(t,"N",(function(){return v})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return m})),r.d(t,"h",(function(){return y})),r.d(t,"j",(function(){return h})),r.d(t,"l",(function(){return O})),r.d(t,"m",(function(){return S})),r.d(t,"n",(function(){return j})),r.d(t,"o",(function(){return _})),r.d(t,"q",(function(){return k})),r.d(t,"s",(function(){return E})),r.d(t,"r",(function(){return w})),r.d(t,"t",(function(){return A})),r.d(t,"w",(function(){return I})),r.d(t,"u",(function(){return T})),r.d(t,"v",(function(){return D})),r.d(t,"x",(function(){return x})),r.d(t,"y",(function(){return P})),r.d(t,"A",(function(){return C})),r.d(t,"B",(function(){return R})),r.d(t,"C",(function(){return N})),r.d(t,"D",(function(){return U})),r.d(t,"k",(function(){return L})),r.d(t,"F",(function(){return M})),r.d(t,"z",(function(){return G})),r.d(t,"G",(function(){return V})),r.d(t,"E",(function(){return F})),r.d(t,"i",(function(){return q})),r.d(t,"p",(function(){return K})),r.d(t,"Q",(function(){return B})),r.d(t,"P",(function(){return W}));var n="core/user",i="connected_url_mismatch",o="__global",s="temporary_persist_permission_error",a="adblocker_active",c="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",f="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",m="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",h="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",S="kmAnalyticsPopularContent",j="kmAnalyticsPopularProducts",_="kmAnalyticsReturningVisitors",k="kmAnalyticsTopCities",E="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",I="kmAnalyticsTopDeviceDrivingPurchases",T="kmAnalyticsTopConvertingTrafficSource",D="kmAnalyticsTopCountries",x="kmAnalyticsTopPagesDrivingLeads",P="kmAnalyticsTopRecentTrendingPages",C="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",N="kmAnalyticsTopTrafficSourceDrivingLeads",U="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",M="kmAnalyticsVisitLength",G="kmAnalyticsTopReturningVisitorPages",V="kmSearchConsolePopularKeywords",F="kmAnalyticsVisitsPerVisitor",q="kmAnalyticsMostEngagingPages",K="kmAnalyticsTopCategories",B=[b,m,y,h,O,S,j,_,K,k,E,w,A,I,T,D,P,C,R,L,M,G,F,q,K],W=[].concat(B,[V])},62:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return m}));var n=r(7),i=r.n(n),o=r(33),s=r.n(o),a=r(111),c=r(11),u=r.n(c),l=r(94),f=r.n(l),d=r(8);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===s()(e)?Object(d.I)(e):e}));return"".concat(e,"::").concat(f()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(r&&Array.isArray(r),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function m(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.errors;return u()(t,"baseName is required."),n[v(t,r)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var r=Object.keys(e.errors).find((function(r){return e.errors[r]===t}));return r?{baseName:r.substring(0,r.indexOf("::")),args:e.errorArgs[r]}:null},getSelectorDataForError:Object(a.b)((function(t){return function(r,n){var i=t(e).getMetaDataForError(n);if(i){var o=i.baseName,s=i.args;if(!!t(e)[o])return{storeName:e,name:o,args:s}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,s=n.args,a=n.error,c=v(o,s);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},c,a)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},c,s))});case"CLEAR_ERROR":var u=n.baseName,l=n.args,f=p({},e),d=v(u,l);return f.errors=p({},e.errors||{}),f.errorArgs=p({},e.errorArgs||{}),delete f.errors[d],delete f.errorArgs[d],f;case"CLEAR_ERRORS":var g=n.baseName,b=p({},e);if(g)for(var m in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(m===g||m.startsWith("".concat(g,"::")))&&(delete b.errors[m],delete b.errorArgs[m]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return a}));var n=r(33),i=r.n(n),o=r(81),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(e,t)}};function a(e){var t,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function o(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return i.b})),r.d(t,"K",(function(){return i.c})),r.d(t,"G",(function(){return o.a})),r.d(t,"L",(function(){return o.b})),r.d(t,"I",(function(){return l})),r.d(t,"n",(function(){return f.a})),r.d(t,"C",(function(){return f.d})),r.d(t,"D",(function(){return f.e})),r.d(t,"z",(function(){return f.c})),r.d(t,"s",(function(){return f.b})),r.d(t,"A",(function(){return v})),r.d(t,"k",(function(){return b})),r.d(t,"j",(function(){return m})),r.d(t,"d",(function(){return _})),r.d(t,"c",(function(){return k})),r.d(t,"e",(function(){return E})),r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return A})),r.d(t,"g",(function(){return I})),r.d(t,"f",(function(){return T})),r.d(t,"o",(function(){return D})),r.d(t,"x",(function(){return x})),r.d(t,"q",(function(){return P})),r.d(t,"H",(function(){return C})),r.d(t,"t",(function(){return R})),r.d(t,"w",(function(){return N})),r.d(t,"l",(function(){return U})),r.d(t,"p",(function(){return L.b})),r.d(t,"i",(function(){return L.a})),r.d(t,"u",(function(){return M.b})),r.d(t,"r",(function(){return M.a})),r.d(t,"B",(function(){return M.c})),r.d(t,"y",(function(){return G})),r.d(t,"v",(function(){return V})),r.d(t,"F",(function(){return K})),r.d(t,"E",(function(){return B.a})),r.d(t,"h",(function(){return W})),r.d(t,"M",(function(){return H})),r.d(t,"m",(function(){return $}));var n=r(13),i=r(36),o=r(72),s=r(33),a=r.n(s),c=r(94),u=r.n(c),l=function(e){return u()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===a()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};r(97);var f=r(82);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function v(e){for(var t=e,r=0,n=[d,g,p];r<n.length;r++){t=(0,n[r])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},m=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},y=r(15),h=r.n(y),O=r(11),S=r.n(O),j=r(2),_="Invalid dateString parameter, it must be a string.",k='Invalid date range, it must be a string with the format "last-x-days".',E=60,w=60*E,A=24*w,I=7*A,T=30*A;function D(){var e=function(e){return Object(j.sprintf)( /* translators: %s: number of days */ Object(j._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 x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var r=new Date(e);return Object(n.isDate)(r)&&!isNaN(r)}function P(e){S()(Object(n.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,r.length<2?"0".concat(r):r].join("-")}function C(e){S()(x(e),_);var t=e.split("-"),r=h()(t,3),n=r[0],i=r[1],o=r[2];return new Date(n,i-1,o)}function R(e,t){return P(U(e,t*A))}function N(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function U(e,t){S()(x(e)||Object(n.isDate)(e)&&!isNaN(e),_);var r=x(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var L=r(98),M=r(83);function G(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function V(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var F=r(27),q=r.n(F),K=function(e){return Array.isArray(e)?q()(e).sort():e},B=r(88);function W(e,t){var r=function(e){return"0"===e||0===e};if(r(e)&&r(t))return 0;if(r(e)||Number.isNaN(e))return null;var n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},$=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(145),i=r.n(n)()(e)}).call(this,r(26))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return _})),r.d(t,"d",(function(){return k})),r.d(t,"e",(function(){return w})),r.d(t,"c",(function(){return A})),r.d(t,"b",(function(){return I}));var n=r(15),i=r.n(n),o=r(33),s=r.n(o),a=r(7),c=r.n(a),u=r(23),l=r.n(u),f=r(13),d=r(57),g=r.n(d),p=r(2);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},y=function(e){var t=h(e),r=t.hours,n=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(i):"".concat(r,":").concat(n,":").concat(i)},h=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e),n=r.hours,i=r.minutes,o=r.seconds;return{hours:n,minutes:i,seconds:o,formatUnit:function(){var r=t.unitDisplay,s=b(b({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(o,b(b({},s),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?w(o,b(b({},s),{},{unit:"second"})):"",i?w(i,b(b({},s),{},{unit:"minute"})):"",n?w(n,b(b({},s),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),o);if(0===e)return t;var r=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),s=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),n);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",i?r:"",n?s:"").trim()}}},S=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},j=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(S(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(S(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(S(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function _(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(t=b({},e)),t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,s()(e)),e=0);var r=_(t),n=r.style,i=void 0===n?"metric":n;return"metric"===i?j(e):"duration"===i?m(e,r):"durationISO"===i?y(e):w(e,r)}var E=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?I():r,o=l()(t,["locale"]);try{return new Intl.NumberFormat(n,o).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(s()(e)," )"),t.message)}for(var a={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},c=["signDisplay","compactDisplay"],u={},f=0,d=Object.entries(o);f<d.length;f++){var g=i()(d[f],2),p=g[0],v=g[1];a[p]&&v===a[p]||(c.includes(p)||(u[p]=v))}try{return new Intl.NumberFormat(n,u).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?I():r,i=t.style,o=void 0===i?"long":i,s=t.type,a=void 0===s?"conjunction":s;if(Intl.ListFormat){var c=new Intl.ListFormat(n,{style:o,type:a});return c.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(26))},83:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return a}));var n=r(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function o(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function s(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),i=e.replace(r.origin,"");if(i.length<t)return i;var o=i.length-Math.floor(t)+1;return"…"+i.substr(o)}},86:function(e,t,r){"use strict";(function(e){var n=r(1),i=r.n(n),o=r(12),s=r.n(o);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,o=t.height;return e.createElement("svg",{className:s()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:i,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(11),i=r.n(n),o=function(e,t){var r=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:e.slice(n),compareRange:e.slice(2*n,n)}}},9:function(e,t,r){"use strict";r.d(t,"p",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"q",(function(){return o})),r.d(t,"x",(function(){return s})),r.d(t,"m",(function(){return a})),r.d(t,"o",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"n",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"h",(function(){return d})),r.d(t,"j",(function(){return g})),r.d(t,"k",(function(){return p})),r.d(t,"l",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"v",(function(){return m})),r.d(t,"u",(function(){return y})),r.d(t,"w",(function(){return h})),r.d(t,"s",(function(){return O})),r.d(t,"t",(function(){return S})),r.d(t,"e",(function(){return j})),r.d(t,"r",(function(){return _})),r.d(t,"c",(function(){return k})),r.d(t,"d",(function(){return E})),r.d(t,"b",(function(){return w}));var n="modules/analytics-4",i="account_create",o="property_create",s="webdatastream_create",a="analyticsSetup",c=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",f="enhanced-measurement-form",d="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",v="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",m="dashboardAllTrafficWidgetDimensionName",y="dashboardAllTrafficWidgetDimensionColor",h="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",S="dashboardAllTrafficWidgetLoaded",j={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},_={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},k="audiencePermissionsSetup",E="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},922:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return k}));var n=r(3),i=r(62),o=r(923),s=r(925),a=r(926),c=r(6),u=r(927),l=r(928),f=r(929),d=r(930),g=r(1150),p=r(934),v=r(935),b=r(936),m=r(937),y=r(939),h=r(940),O=r(941),S=r(942),j=r(943),_=Object(n.combineStores)(n.commonStore,Object(i.b)(c.a),o.a,s.a,a.a,u.a,l.a,f.a,d.a,g.a,p.a,v.a,m.a,y.a,b.a,h.a,O.a,S.a,j.a),k=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,function(t){var r;t.registerStore(c.a,_),(null===(r=e._googlesitekitBaseData)||void 0===r?void 0:r.referenceDate)&&t.dispatch(c.a).setReferenceDate(e._googlesitekitBaseData.referenceDate)})}).call(this,r(26))},923:function(e,t,r){"use strict";var n=r(7),i=r.n(n),o=r(16),s=r.n(o),a=r(5),c=r.n(a),u=r(11),l=r.n(u),f=r(924),d=r(3),g=r(6);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b={isAdBlockerActive:void 0},m={checkAdBlocker:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_ADBLOCKER"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),receiveIsAdBlockerActive:function(e){return l()("boolean"==typeof e,"isAdBlockerActive must be boolean."),{payload:{isAdBlockerActive:e},type:"RECEIVE_IS_ADBLOCKER_ACTIVE"}}},y=i()({},"CHECK_ADBLOCKER",s()(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(f.detectAnyAdblocker)();case 2:if(!e.sent){e.next=4;break}return e.abrupt("return",!0);case 4:return e.prev=4,t=["google-site-kit=/adsense/pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","timestamp=".concat(Date.now())],e.next=8,fetch("/favicon.ico?".concat(t.join("&")),{credentials:"omit",redirect:"manual"});case 8:e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(4),e.abrupt("return",!0);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})))),h={isAdBlockerActive:c.a.mark((function(){var e,t,r;return c.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,d.commonActions.getRegistry();case 2:if(e=n.sent,t=e.select(g.a).isAdBlockerActive(),void 0===t){n.next=6;break}return n.abrupt("return");case 6:return n.next=8,m.checkAdBlocker();case 8:return r=n.sent,n.next=11,m.receiveIsAdBlockerActive(r);case 11:case"end":return n.stop()}}),t)}))};t.a={initialState:b,actions:m,controls:y,reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_IS_ADBLOCKER_ACTIVE":var n=r.isAdBlockerActive;return v(v({},e),{},{isAdBlockerActive:n});default:return e}},resolvers:h,selectors:{isAdBlockerActive:function(e){var t=e.isAdBlockerActive;return t}}}},925:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(27),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(13),d=r(42),g=r.n(d),p=r(3),v=r(9),b=r(47),m=r(59),y=r(164),h=r(62),O=r(6);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _=h.a.receiveError,k=h.a.clearError,E=Object(y.a)((function(e,t){e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=t,e.audienceSettings.savedSettings=t})),w=Object(b.a)({baseName:"getAudienceSettings",controlCallback:function(){return g.a.get("core","user","audience-settings",{},{useCache:!1})},reducerCallback:E}),A=Object(b.a)({baseName:"saveAudienceSettings",controlCallback:function(e){return g.a.set("core","user","audience-settings",{settings:e})},reducerCallback:E,argsToParams:function(e){return e},validateParams:function(e){l()(Object(f.isPlainObject)(e),"Audience settings should be an object."),l()(Array.isArray(e.configuredAudiences),"Configured audiences should be an array."),l()("boolean"==typeof e.isAudienceSegmentationWidgetHidden,"Audience segmentation widget visibility should be a boolean.")}}),I={audienceSettings:void 0},T={saveAudienceSettings:Object(m.f)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(Object(f.isPlainObject)(e),"audience settings should be an object to save.")}),i.a.mark((function e(){var t,r,n,o,a,c,u,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=d.length>0&&void 0!==d[0]?d[0]:{},e.next=3,k("saveAudienceSettings",[]);case 3:return e.next=5,p.commonActions.getRegistry();case 5:return r=e.sent,e.next=8,p.commonActions.await(r.resolveSelect(O.a).getAudienceSettings());case 8:return n=e.sent,o=j(j({},n),t),e.next=12,p.commonActions.await(r.resolveSelect(v.p).getAvailableAudiences());case 12:return a=e.sent,c=s()(o.configuredAudiences).sort((function(e,t){var r=a.findIndex((function(t){return t.name===e})),n=a.findIndex((function(e){return e.name===t}));return-1===r||-1===n?0:r-n})),o.configuredAudiences=c,e.next=17,A.actions.fetchSaveAudienceSettings(o);case 17:if(u=e.sent,l=u.response,!(f=u.error)){e.next=23;break}return e.next=23,_(f,"saveAudienceSettings",[]);case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))),resetAudienceSettings:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,r=t.dispatch,e.next=6,{payload:{},type:"RESET_AUDIENCE_SETTINGS"};case 6:return e.next=8,h.a.clearErrors("getAudienceSettings");case 8:return e.abrupt("return",r(O.a).invalidateResolutionForStoreSelector("getAudienceSettings"));case 9:case"end":return e.stop()}}),e)})),setConfiguredAudiences:function(e){return l()(Array.isArray(e),"Configured audiences should be an array."),{type:"SET_CONFIGURED_AUDIENCES",payload:{audienceResourceNames:e}}},setAudienceSegmentationWidgetHidden:function(e){return l()("boolean"==typeof e,"Audience segmentation widget visibility should be a boolean."),{type:"SET_AUDIENCE_SEGMENTATION_WIDGET_HIDDEN",payload:{isWidgetHidden:e}}}},D=Object(y.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_AUDIENCE_SETTINGS":e.audienceSettings=I.audienceSettings;break;case"SET_CONFIGURED_AUDIENCES":var i=n.audienceResourceNames;e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=j(j({},e.audienceSettings.settings),{},{configuredAudiences:i});break;case"SET_AUDIENCE_SEGMENTATION_WIDGET_HIDDEN":var o=n.isWidgetHidden;e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=j(j({},e.audienceSettings.settings),{},{isAudienceSegmentationWidgetHidden:o})}})),x={getAudienceSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==t.select(O.a).getAudienceSettings()){e.next=7;break}return e.next=7,w.actions.fetchGetAudienceSettings();case 7:case"end":return e.stop()}}),e)}))},P={getAudienceSettings:function(e){var t;return null===(t=e.audienceSettings)||void 0===t?void 0:t.settings},getConfiguredAudiences:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.configuredAudiences}})),isAudienceSegmentationWidgetHidden:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.isAudienceSegmentationWidgetHidden}})),didSetAudiences:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.didSetAudiences}})),haveConfiguredAudiencesChanged:function(e){var t=e.audienceSettings||{},r=t.settings,n=t.savedSettings;return!Object(f.isEqual)(null==r?void 0:r.configuredAudiences,null==n?void 0:n.configuredAudiences)},isSavingAudienceSettings:function(e){return Object.values(e.isFetchingSaveAudienceSettings).some(Boolean)}},C=Object(p.combineStores)(w,A,{initialState:I,actions:T,controls:{},reducer:D,resolvers:x,selectors:P});C.initialState,C.actions,C.controls,C.reducer,C.resolvers,C.selectors;t.a=C},926:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e){return Object(u.createRegistrySelector)((function(t){return function(){return(t(l.a).getAuthentication()||{})[e]}}))}var v=Object(f.a)({baseName:"getAuthentication",controlCallback:function(){return c.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return g(g({},e),{},{authentication:t})}}),b={authentication:void 0,authError:null},m={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},y={getAuthentication:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(l.a).getAuthentication()){e.next=7;break}return e.next=7,v.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},h={getAuthentication:function(e){return e.authentication},hasScope:Object(u.createRegistrySelector)((function(e){return function(t,r){var n=e(l.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:p("authenticated"),getGrantedScopes:p("grantedScopes"),getRequiredScopes:p("requiredScopes"),getUnsatisfiedScopes:p("unsatisfiedScopes"),needsReauthentication:p("needsReauthentication"),getDisconnectedReason:p("disconnectedReason"),getConnectedProxyURL:p("connectedProxyURL"),getPreviousConnectedProxyURL:p("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},O=Object(u.combineStores)(v,{initialState:b,actions:m,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return g(g({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return g(g({},e),{},{authError:null});default:return e}},resolvers:y,selectors:h});O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;t.a=O},927:function(e,t,r){"use strict";(function(e){var n=r(7),i=r.n(n),o=r(11),s=r.n(o),a=r(8);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={dateRange:"last-28-days",referenceDate:Object(a.q)(new Date)},f={setDateRange:function(e){return s()(e,"Date range slug is required."),s()(Object(a.w)(e),a.c),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return s()(e,"Date string is required."),s()(Object(a.x)(e),a.d),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}};var d={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.compare,i=void 0!==n&&n,o=r.offsetDays,s=r.referenceDate,c=void 0===s?t.referenceDate:s;void 0===o&&(e.console.warn("getDateRangeDates was called without offsetDays"),o=0);var u=d.getDateRange(t),l=Object(a.t)(c,o),f=u.match("-(.*)-"),g=Number(f?f[1]:28),p=Object(a.t)(l,g-1),v={startDate:p,endDate:l};if(i){var b=Object(a.t)(p,1),m=Object(a.t)(b,g-1);v.compareStartDate=m,v.compareEndDate=b}return v},getDateRangeNumberOfDays:function(e){var t=d.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}};t.a={initialState:l,actions:f,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return u(u({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return u(u({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:d}}).call(this,r(26))},928:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=Object(f.a)({baseName:"disconnect",controlCallback:function(){return c.a.set("core","user","disconnect")},reducerCallback:function(e,t){return g(g({},e),{},{disconnected:t})}}),v={disconnected:void 0},b={disconnect:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},m={isDoingDisconnect:Object(u.createRegistrySelector)((function(e){return function(){return e(l.a).isFetchingDisconnect()}}))},y=Object(u.combineStores)(p,{initialState:v,actions:b,selectors:m});y.initialState,y.actions,y.controls,y.reducer,y.resolvers,y.selectors;t.a=y},929:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(6),g=r(47),p=r(59);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=f.commonActions.getRegistry;function y(e,t){return b(b({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var h=Object(g.a)({baseName:"getDismissedItems",controlCallback:function(){return l.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:y}),O=Object(g.a)({baseName:"removeDismissedItems",controlCallback:function(e){var t=e.slugs;return l.a.set("core","user","dismissed-items",{slugs:t},{method:"DELETE"})},reducerCallback:y,argsToParams:function(e){return{slugs:e}},validateParams:function(e){var t=e.slugs;c()(Array.isArray(t),"slugs must be an array."),c()(t.every((function(e){return"string"==typeof e})),"All slugs must be strings.")}}),S=Object(g.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return l.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:y,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;c()(t,"slug is required."),c()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),j={dismissedItems:void 0},_={dismissItem:Object(p.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;c()(e,"A tour slug is required to dismiss a tour."),c()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),i.a.mark((function e(t){var r,n,o,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:{},n=r.expiresInSeconds,o=void 0===n?0:n,e.next=4,S.actions.fetchDismissItem(t,o);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),removeDismissedItems:Object(p.f)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];c()(t.length>0,"At least one slug must be provided."),c()(t.every((function(e){return"string"==typeof e})),"All slugs must be strings.")}),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return O.actions.fetchRemoveDismissedItems(t)}))},k={getDismissedItems:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,h.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},E={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:Object(f.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:Object(f.createRegistrySelector)((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},w=Object(f.combineStores)({initialState:j,actions:_,resolvers:k,selectors:E},S,h,O),A=w.actions,I=w.controls,T=w.initialState,D=w.reducer,x=w.resolvers,P=w.selectors;t.a={actions:A,controls:I,initialState:T,reducer:D,resolvers:x,selectors:P}},930:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(6),g=r(47),p=r(59);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=f.commonActions.getRegistry;function y(e,t){return b(b({},e),{},{expirableItems:t})}var h=Object(g.a)({baseName:"getExpirableItems",controlCallback:function(){return l.a.get("core","user","expirable-items",{},{useCache:!1})},reducerCallback:y}),O=Object(g.a)({baseName:"setExpirableItemTimers",controlCallback:function(e){return l.a.set("core","user","set-expirable-item-timers",e)},reducerCallback:y,argsToParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{slug:e.slug,expiration:e.expiresInSeconds}}))},validateParams:function(e){c()(Array.isArray(e),"items are required."),e.forEach((function(e){var t=e.slug,r=e.expiresInSeconds,n=void 0===r?0:r;c()(t,"slug is required."),c()(Number.isInteger(n),"expiresInSeconds must be an integer.")}))}}),S={expirableItems:void 0},j={setExpirableItemTimers:Object(p.f)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.slug,r=e.expiresInSeconds;c()(t,"An item slug is required."),c()(Number.isInteger(r),"expiresInSeconds must be an integer.")}))}),(function(e){return O.actions.fetchSetExpirableItemTimers(e)}))},_={getExpirableItems:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getExpirableItems()){e.next=8;break}return e.next=8,h.actions.fetchGetExpirableItems();case 8:case"end":return e.stop()}}),e)}))},k={getExpirableItems:function(e){return e.expirableItems},hasExpirableItem:Object(f.createRegistrySelector)((function(e){return function(t,r){var n=e(d.a).getExpirableItems();if(void 0!==n)return n.hasOwnProperty(r)}})),isExpirableItemActive:Object(f.createRegistrySelector)((function(e){return function(t,r){var n=e(d.a).getExpirableItems();if(void 0!==n){var i=n[r];return void 0!==i&&i>Math.floor(Date.now()/1e3)}}}))},E=Object(f.combineStores)({initialState:S,actions:j,resolvers:_,selectors:k},h,O),w=E.actions,A=E.controls,I=E.initialState,T=E.reducer,D=E.resolvers,x=E.selectors;t.a={actions:w,controls:A,initialState:I,reducer:T,resolvers:D,selectors:x}},934:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(14),v=r(19),b=r(46),m=r(47),y=r(62),h=r(172),O=r(44);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _=y.a.receiveError,k=y.a.clearError,E={keyMetricsSettings:void 0},w=Object(m.a)({baseName:"getKeyMetricsSettings",controlCallback:function(){return f.a.get("core","user","key-metrics",void 0,{useCache:!1})},reducerCallback:function(e,t){return j(j({},e),{},{keyMetricsSettings:t})}}),A=Object(m.a)({baseName:"saveKeyMetricsSettings",controlCallback:function(e){return f.a.set("core","user","key-metrics",{settings:e})},reducerCallback:function(e,t){return j(j({},e),{},{keyMetricsSettings:t})},argsToParams:function(e){return e},validateParams:function(e){c()(Object(u.isPlainObject)(e),"Settings should be an object.")}}),I={setKeyMetricsSetting:function(e,t){return{type:"SET_KEY_METRICS_SETTING",payload:{settingID:e,value:t}}},saveKeyMetricsSettings:i.a.mark((function e(){var t,r,n,o,s,a,l=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.length>0&&void 0!==l[0]?l[0]:{},c()(Object(u.isPlainObject)(t),"key metric settings should be an object to save."),e.next=4,k("saveKeyMetricsSettings",[]);case 4:return e.next=6,d.commonActions.getRegistry();case 6:return r=e.sent,n=r.select(g.a).getKeyMetricsSettings(),e.next=10,A.actions.fetchSaveKeyMetricsSettings(j(j({},n),t));case 10:if(o=e.sent,s=o.response,!(a=o.error)){e.next=18;break}return e.next=16,_(a,"saveKeyMetricsSettings",[]);case 16:e.next=19;break;case 18:(Object(u.isEmpty)(t)||t.widgetSlugs)&&r.dispatch(p.c).setKeyMetricsSetupCompletedBy(r.select(g.a).getID());case 19:return e.abrupt("return",{response:s,error:a});case 20:case"end":return e.stop()}}),e)}))},T={getKeyMetricsSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,!t.select(g.a).getKeyMetricsSettings()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,w.actions.fetchGetKeyMetricsSettings();case 8:case"end":return e.stop()}}),e)}))},D={getKeyMetrics:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a),r=t.getAnswerBasedMetrics,n=(0,t.getUserPickedMetrics)();if(void 0!==n){if(n.length)return n;var i=r();if(void 0!==i)return i.length?i:e(p.c).isKeyMetricsSetupCompleted()?[g.j,g.A,g.g,g.G]:[]}}})),getAnswerBasedMetrics:Object(d.createRegistrySelector)((function(e){return function(t,r){var n,i,o=e(g.a).getUserInputSettings();if(void 0!==o){var s=null!=r?r:null==o||null===(n=o.purpose)||void 0===n||null===(i=n.values)||void 0===i?void 0:i[0],a=e(g.a).showConversionTailoredMetrics();switch(s){case"publish_blog":return a?[g.p,g.u,g.z,g.G,g.y,g.A,g.x,g.C]:[g.o,g.j,g.A,g.g];case"publish_news":return a?[g.g,g.l,g.q,g.G,g.y,g.A,g.x,g.C]:[g.k,g.F,g.E,g.i];case"monetize_content":return a?[g.i,g.m,g.j,g.f,g.F,g.E,g.g,g.G]:[g.m,g.g,g.j,g.A];case"sell_products_or_service":return a?[g.n,g.t,g.w,g.B,g.D,g.f,g.u,g.G]:[e(p.c).getPostTypes().some((function(e){return"product"===e.slug}))?g.n:g.m,g.g,g.G,g.A];case"share_portfolio":return a?[g.s,g.u,g.z,g.l,g.x,g.C,g.m,g.G]:[g.j,g.A,g.g,g.G];default:return[]}}}})),getUserPickedMetrics:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getKeyMetricsSettings();if(void 0!==t){if(!Array.isArray(t.widgetSlugs))return[];var r=!e(g.a).isAuthenticated(),n=t.widgetSlugs.filter((function(t){var n=h.a[t];return!!n&&(!n.displayInWidgetArea||"function"!=typeof n.displayInWidgetArea||n.displayInWidgetArea(e,r,t))}));return 1===n.length?[]:n}}})),isKeyMetricActive:Object(d.createRegistrySelector)((function(e){return function(t,r){var n=e(g.a).getKeyMetrics();if(void 0!==n)return n.includes(r)}})),isKeyMetricsWidgetHidden:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getKeyMetricsSettings();if(void 0!==t)return t.isWidgetHidden}})),getKeyMetricsSettings:function(e){var t=e.keyMetricsSettings;if(t)return t},isSavingKeyMetricsSettings:function(e){return Object.values(e.isFetchingSaveKeyMetricsSettings).some(Boolean)},isKeyMetricAvailable:Object(d.createRegistrySelector)((function(e){return function(t,r){c()(r,"Key metric widget slug required.");var n=e(g.a).isAuthenticated();if(void 0!==n){var i=e(b.a).getWidget(r);if(!i)return!1;var o=e(v.a).getModule,s=e(g.a).canViewSharedModule;return i.modules.every((function(e){var t=o(e);return!!t&&!(!n&&(null==t?void 0:t.shareable)&&!s(e))}))}}})),showConversionTailoredMetrics:Object(d.createRegistrySelector)((function(e){return function(){if(!Object(O.b)("conversionReporting"))return!1;var t=e(g.a).getKeyMetricsSettings(),r=e(g.a).isUserInputCompleted();return(null==t?void 0:t.includeConversionTailoredMetrics)||r}}))},x=Object(d.combineStores)(w,A,{initialState:E,actions:I,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_KEY_METRICS_SETTING":return j(j({},e),{},{keyMetricsSettings:j(j({},e.keyMetricsSettings),{},s()({},n.settingID,n.value))});default:return e}},resolvers:T,selectors:D});x.initialState,x.actions,x.controls,x.reducer,x.resolvers,x.selectors;t.a=x},935:function(e,t,r){"use strict";var n=r(545),i=Object(n.a)("core","user","notifications",{server:!1});t.a=i},936:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=Object(f.a)({baseName:"getNonces",controlCallback:function(){return c.a.get("core","user","nonces",void 0,{useCache:!1})},reducerCallback:function(e,t){return g(g({},e),{},{nonces:t})}}),v={nonces:void 0},b={receiveNonces:function(e){return{type:"RECEIVE_NONCES",payload:{nonces:e}}}},m={getNonces:i.a.mark((function e(){var t,r,n,o,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,t.select(l.a).getNonces();case 5:if(!(r=e.sent)){e.next=8;break}return e.abrupt("return",r);case 8:return e.next=10,p.actions.fetchGetNonces();case 10:if(n=e.sent,o=n.error,s=n.response,o){e.next=16;break}return e.next=16,p.actions.receiveGetNonces(g({},s));case 16:case"end":return e.stop()}}),e)}))},y={getNonces:function(e){return e.nonces},getNonce:Object(u.createRegistrySelector)((function(e){return function(t,r){var n=e(l.a).getNonces();if(n)return n[r]}}))},h=Object(u.combineStores)(p,{initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_NONCES":var i=n.nonces;return g(g({},e),{},{nonces:i});default:return e}},resolvers:m,selectors:y});h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;t.a=h},937:function(e,t,r){"use strict";(function(e){var n=r(27),i=r.n(n),o=r(5),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(42),d=r.n(f),g=r(3),p=r(6),v=r(19),b=r(938),m=r(47);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=Object(m.a)({baseName:"getCapabilities",controlCallback:function(){return d.a.get("core","user","permissions",void 0,{useCache:!1})},reducerCallback:function(e,t){return h(h({},e),{},{capabilities:t})}}),S={permissionError:null,capabilities:void 0},j={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return l()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}},refreshCapabilities:s.a.mark((function e(){var t,r,n,i,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:return t=e.sent,r=t.dispatch,e.next=6,O.actions.fetchGetCapabilities();case 6:return n=e.sent,i=n.response,(o=n.error)&&r(p.a).setPermissionScopeError(o),e.abrupt("return",{response:i,error:o});case 11:case"end":return e.stop()}}),e)}))},_={getCapabilities:s.a.mark((function t(){var r,n,i,o;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.commonActions.getRegistry();case 2:if(!t.sent.select(p.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:if(!(o=null===(r=e._googlesitekitAPIFetchData)||void 0===r||null===(n=r.preloadedData)||void 0===n||null===(i=n["/google-site-kit/v1/core/user/data/permissions"])||void 0===i?void 0:i.body)){t.next=9;break}return t.next=9,O.actions.receiveGetCapabilities(h({},o));case 9:return t.next=11,O.actions.fetchGetCapabilities();case 11:case"end":return t.stop()}}),t)}))},k={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},getViewableModules:Object(g.createRegistrySelector)((function(e){return function(){var t=e(v.a).getModules();if(void 0!==t)return Object.values(t).reduce((function(t,r){var n=e(p.a).hasCapability(p.L,r.slug);return r.shareable&&n?[].concat(i()(t),[r.slug]):t}),[])}})),hasCapability:Object(g.createRegistrySelector)((function(e){return function(t,r){for(var n=e(p.a).getCapabilities(),i=arguments.length,o=new Array(i>2?i-2:0),s=2;s<i;s++)o[s-2]=arguments[s];if(o.length>0&&(r=b.a.apply(void 0,[r].concat(o))),n)return!!n[r]}})),canViewSharedModule:Object(g.createRegistrySelector)((function(e){return function(t,r){var n=e(v.a).getModule(r);if(void 0!==n)return!(null===n||!n.shareable)&&e(p.a).hasCapability(p.L,n.slug)}})),hasAccessToShareableModule:Object(g.createRegistrySelector)((function(e){return function(t,r){var n=e(v.a).isModuleAvailable(r);if(void 0!==n)return!1!==n&&(!!e(p.a).isAuthenticated()||e(p.a).canViewSharedModule(r))}}))},E=Object(g.combineStores)(O,{initialState:S,actions:j,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return h(h({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return h(h({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var o=n.capabilities;return h(h({},e),{},{capabilities:o});default:return e}},resolvers:_,selectors:k});E.initialState,E.actions,E.controls,E.reducer,E.resolvers,E.selectors;t.a=E}).call(this,r(26))},938:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"".concat(e,"::").concat(JSON.stringify(r))}r.d(t,"a",(function(){return n}))},939:function(e,t,r){"use strict";var n=r(15),i=r.n(n),o=r(5),s=r.n(o),a=r(33),c=r.n(a),u=r(7),l=r.n(u),f=r(11),d=r.n(f),g=r(42),p=r.n(g),v=r(3),b=r(6),m=r(47),y=r(59);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=v.commonActions.getRegistry;function j(e,t){return O(O({},e),{},{dismissedPrompts:"object"===c()(t)?t:{}})}var _=Object(m.a)({baseName:"getDismissedPrompts",controlCallback:function(){return p.a.get("core","user","dismissed-prompts",{},{useCache:!1})},reducerCallback:j}),k=Object(m.a)({baseName:"dismissPrompt",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return p.a.set("core","user","dismiss-prompt",{slug:t,expiration:r})},reducerCallback:j,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;d()(t,"slug is required."),d()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),E={dismissedPrompts:void 0},w={dismissPrompt:Object(y.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;d()(e,"A tour slug is required to dismiss a tour."),d()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),s.a.mark((function e(t){var r,n,i,o=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,k.actions.fetchDismissPrompt(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},A={getDismissedPrompts:s.a.mark((function e(){var t,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:if(t=e.sent,r=t.select,void 0!==r(b.a).getDismissedPrompts()){e.next=8;break}return e.next=8,_.actions.fetchGetDismissedPrompts();case 8:case"end":return e.stop()}}),e)}))},I={getDismissedPrompts:function(e){if(void 0!==e.dismissedPrompts){var t=Math.floor(Date.now()/1e3);return Object.entries(e.dismissedPrompts).reduce((function(e,r){var n=i()(r,2),o=n[0],s=n[1].expires;return(0===s||s>t)&&e.push(o),e}),[])}},getPromptDismissCount:Object(v.createRegistrySelector)((function(){return function(e,t){var r;if(e.dismissedPrompts)return(null===(r=e.dismissedPrompts[t])||void 0===r?void 0:r.count)||0}})),isPromptDismissed:Object(v.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=e(b.a).getDismissedPrompts())||void 0===n?void 0:n.includes(r)}})),isDismissingPrompt:Object(v.createRegistrySelector)((function(e){return function(t,r){return e(b.a).isFetchingDismissPrompt(r)}}))},T=Object(v.combineStores)({initialState:E,actions:w,resolvers:A,selectors:I},k,_),D=T.actions,x=T.controls,P=T.initialState,C=T.reducer,R=T.resolvers,N=T.selectors;t.a={actions:D,controls:x,initialState:P,reducer:C,resolvers:R,selectors:N}},940:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(47),v=r(59);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;c()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),h=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),O=Object(p.a)({baseName:"getSurveyTimeouts",controlCallback:function(){return f.a.get("core","user","survey-timeouts",{},{useCache:!1})},reducerCallback:function(e,t){return m(m({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})}}),S=Object(p.a)({baseName:"setSurveyTimeout",controlCallback:function(e){var t=e.slug,r=e.timeout;return f.a.set("core","user","survey-timeout",{slug:t,timeout:r})},reducerCallback:function(e,t){return m(m({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})},argsToParams:function(e,t){return{slug:e,timeout:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.timeout;c()(t,"slug is required."),c()(Number.isInteger(r),"timeout must be an integer.")}}),j=Object(p.a)({baseName:"getSurvey",controlCallback:function(){return f.a.get("core","user","survey",{})},reducerCallback:function(e,t){var r=t.survey,n=r||{},i=n.survey_payload,o=void 0===i?null:i,s=n.session,a=void 0===s?null:s;return m(m({},e),{},{currentSurvey:o,currentSurveySession:a})}}),_={currentSurvey:void 0,currentSurveySession:void 0,surveyTimeouts:void 0},k={setSurveyTimeout:Object(v.f)((function(e,t){c()("string"==typeof e&&e.length,"triggerID is required and must be a string"),c()("number"==typeof t,"timeout must be a number")}),i.a.mark((function e(t,r){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S.actions.fetchSetSurveyTimeout(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),triggerSurvey:Object(v.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;c()("string"==typeof e&&e.length,"triggerID is required and must be a string"),c()(Object(u.isPlainObject)(t),"options must be an object"),c()("number"==typeof n,"options.ttl must be a number")}),i.a.mark((function e(t){var r,n,o,s,a,c,u,l,f,p,v,b,m=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=m.length>1&&void 0!==m[1]?m[1]:{},n=r.ttl,o=void 0===n?0:n,e.next=4,d.commonActions.getRegistry();case 4:return s=e.sent,a=s.select,c=s.dispatch,u=s.resolveSelect,e.next=10,d.commonActions.await(u(g.a).getAuthentication());case 10:if(a(g.a).isAuthenticated()){e.next=12;break}return e.abrupt("return",{});case 12:return e.next=14,d.commonActions.await(u(g.a).getSurveyTimeouts());case 14:if(l=a(g.a).isSurveyTimedOut(t),f=a(g.a).isTimingOutSurvey(t,o),l||f){e.next=29;break}return e.next=19,y.actions.fetchTriggerSurvey(t);case 19:if(p=e.sent,v=p.response,!(b=p.error)){e.next=24;break}return e.abrupt("return",{response:v,error:b});case 24:if(!(o>0)){e.next=29;break}return e.next=27,new Promise((function(e){setTimeout(e,3e4)}));case 27:return e.next=29,d.commonActions.await(c(g.a).setSurveyTimeout(t,o));case 29:return e.abrupt("return",{response:{},error:!1});case 30:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(v.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c()("string"==typeof e&&e.length,"eventID is required and must be a string"),c()(Object(u.isPlainObject)(t),"eventData must be an object")}),i.a.mark((function e(t){var r,n,o,a,c,u,l,f,p=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=s()({},t,r),e.next=4,d.commonActions.getRegistry();case 4:if(o=e.sent,a=o.select,!(c=a(g.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,h.actions.fetchSendSurveyEvent(n,c);case 10:return u=e.sent,l=u.response,f=u.error,e.abrupt("return",{response:l,error:f});case 14:case"end":return e.stop()}}),e)})))},E={getCurrentSurvey:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(g.a).getCurrentSurvey()){e.next=8;break}return e.next=8,j.actions.fetchGetSurvey();case 8:case"end":return e.stop()}}),e)})),getSurveyTimeouts:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(g.a).getSurveyTimeouts()){e.next=8;break}return e.next=8,O.actions.fetchGetSurveyTimeouts();case 8:case"end":return e.stop()}}),e)}))},w={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}})),getSurveyTimeouts:function(e){return e.surveyTimeouts},isSurveyTimedOut:Object(d.createRegistrySelector)((function(e){return function(t,r){var n=e(g.a).getSurveyTimeouts();return void 0===n?void 0:n.includes(r)}})),isTimingOutSurvey:Object(d.createRegistrySelector)((function(e){return function(t,r,n){return e(g.a).isFetchingSetSurveyTimeout(r,n)}})),areSurveysOnCooldown:Object(d.createRegistrySelector)((function(e){return function(){return e(g.a).isSurveyTimedOut(g.e)}}))},A=Object(d.combineStores)(y,h,O,S,j,{initialState:_,actions:k,resolvers:E,selectors:w});A.initialState,A.actions,A.resolvers,A.selectors;t.a=A},941:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47),d=r(62);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=d.a.receiveError,b=d.a.clearError,m=function(e,t){return p(p({},e),{},{tracking:t})},y=Object(f.a)({baseName:"getTracking",controlCallback:function(){return c.a.get("core","user","tracking")},reducerCallback:m}),h=Object(f.a)({baseName:"setTracking",controlCallback:function(e){return c.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:m,argsToParams:function(e){return e}}),O={tracking:void 0,isSavingTrackingEnabled:!1},S={setTrackingEnabled:i.a.mark((function e(t){var r,n,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,h.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(o=r.error)){e.next=12;break}return e.next=12,v(o,"setTrackingEnabled",[t]);case 12:return e.next=14,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!1}};case 14:return e.abrupt("return",{response:n,error:o});case 15:case"end":return e.stop()}}),e)}))},j={isTrackingEnabled:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(l.a).isTrackingEnabled()){e.next=7;break}return e.next=7,y.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},_=Object(u.combineStores)(y,h,{initialState:O,actions:S,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return p(p({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:j,selectors:{isSavingTrackingEnabled:function(e){return!!(null==e?void 0:e.isSavingTrackingEnabled)},isTrackingEnabled:function(e){var t=e.tracking;return null==t?void 0:t.enabled}}});_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors;t.a=_},942:function(e,t,r){"use strict";(function(e){var n=r(266),i=r.n(n),o=r(5),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(157),d=r(3),g=r(6),p=r(404);function v(){var e=i()(["https://accounts.google.com/accountchooser?continue=","&Email=",""]);return v=function(){return e},e}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0,isUserInputCompleted:void 0},h={receiveConnectURL:function(e){return l()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return l()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return l()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return l()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveIsUserInputCompleted:function(e){return l()(void 0!==e,"The isUserInputCompleted param is required."),{payload:{isUserInputCompleted:e},type:"RECEIVE_IS_USER_INPUT_COMPLETED"}}},O={getConnectURL:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(g.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,h.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,h.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,h.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,h.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),isUserInputCompleted:s.a.mark((function(){var t,r;return s.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,d.commonActions.getRegistry();case 2:if(t=n.sent,void 0===(0,t.select)(g.a).isUserInputCompleted()){n.next=6;break}return n.abrupt("return");case 6:if(e._googlesitekitUserData){n.next=9;break}return e.console.error("Could not load core/user info."),n.abrupt("return");case 9:return r=e._googlesitekitUserData.isUserInputCompleted,n.next=12,h.receiveIsUserInputCompleted(r);case 12:case"end":return n.stop()}}),r)}))},S={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,o=void 0===i?void 0:i,s=t.errorRedirectURL,a=void 0===s?void 0:s,c=e.connectURL,u={redirect:o,errorRedirect:a};if(void 0!==c){if(null==n?void 0:n.length){var l=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(f.a)(c,m(m({},u),{},{additional_scopes:l}))}return Object(f.a)(c,u)}},getID:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.id:t}})),getName:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.name:t}})),getEmail:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.email:t}})),getPicture:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.picture:t}})),getFullName:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();if(void 0!==t)return t.full_name}})),getAccountChooserURL:Object(d.createRegistrySelector)((function(e){return function(t,r){l()(r,"destinationURL is required");var n=e(g.a).getEmail();if(void 0!==n)return Object(p.a)(v(),r,n)}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},isUserInputCompleted:function(e){var t=e.isUserInputCompleted;return t}};t.a={initialState:y,actions:h,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return m(m({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var o=n.user;return m(m({},e),{},{user:o});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var s=n.initialVersion;return m(m({},e),{},{initialVersion:s});case"RECEIVE_USER_IS_VERIFIED":var a=n.verified;return m(m({},e),{},{verified:a});case"RECEIVE_IS_USER_INPUT_COMPLETED":var c=n.isUserInputCompleted;return m(m({},e),{},{isUserInputCompleted:c});default:return e}},resolvers:O,selectors:S}}).call(this,r(26))},943:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(47),v=r(62);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=v.a.receiveError,h=v.a.clearError;function O(e,t){return m(m({},e),{},{inputSettings:t,savedInputSettings:t})}var S=Object(p.a)({baseName:"getUserInputSettings",controlCallback:function(){return f.a.get("core","user","user-input-settings",void 0,{useCache:!1})},reducerCallback:O}),j=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:O,argsToParams:function(e){return e},validateParams:function(e){c()(Object(u.isPlainObject)(e),"valid settings are required.")}}),_={inputSettings:void 0,isSavingInputSettings:!1,savedInputSettings:void 0},k={setUserInputSetting:function(e,t){return{type:"SET_USER_INPUT_SETTING",payload:{settingID:e,values:t.map((function(e){return e.trim()}))}}},saveUserInputSettings:i.a.mark((function e(){var t,r,n,o,a,c,u,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,h("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},o=t.select(g.a).getUserInputSettings(),a=Object.keys(o).reduce((function(e,t){var i;return m(m({},e),{},s()({},t,((null===(i=o[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,j.actions.fetchSaveUserInputSettings(a);case 13:if(c=e.sent,u=c.response,!(l=c.error)){e.next=19;break}return e.next=19,y(l,"saveUserInputSettings",[]);case 19:if(l){e.next=22;break}return e.next=22,k.maybeTriggerUserInputSurvey();case 22:return e.next=24,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 24:return e.abrupt("return",{response:u,error:l});case 25:case"end":return e.stop()}}),e)})),resetUserInputSettings:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{type:"RESET_USER_INPUT_SETTINGS",payload:{}});case 1:case"end":return e.stop()}}),e)})),maybeTriggerUserInputSurvey:i.a.mark((function e(){var t,r,n,o,s,a,c,u,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:return t=e.sent,r=t.resolveSelect,n=t.dispatch,e.next=7,d.commonActions.await(r(g.a).getUserInputSettings());case 7:if(o=e.sent,!(!(s=Object.keys(o).filter((function(e){return o[e].values.includes("other")}))).length>0)){e.next=11;break}return e.abrupt("return");case 11:return a="userInput_answered_other__".concat(s.join("_")),e.next=14,d.commonActions.await(n(g.a).triggerSurvey(a));case 14:return c=e.sent,u=c.response,l=c.error,e.abrupt("return",{response:u,error:l});case 18:case"end":return e.stop()}}),e)}))},E={getUserInputSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(g.a).getUserInputSettings()){e.next=7;break}return e.next=7,S.actions.fetchGetUserInputSettings();case 7:case"end":return e.stop()}}),e)}))},w={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:Object(d.createRegistrySelector)((function(e){return function(t,r){var n,i=null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:Object(d.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:Object(d.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}})),haveUserInputSettingsChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.inputSettings,n=e.savedInputSettings;return t?!Object(u.isEqual)(Object(u.pick)(r,t),Object(u.pick)(n,t)):!Object(u.isEqual)(r,n)},hasUserInputSettingChanged:function(e,t){return c()(t,"setting is required."),w.haveUserInputSettingsChanged(e,[t])}},A=Object(d.combineStores)(S,j,{initialState:_,actions:k,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return m(m({},e),{},{inputSettings:m(m({},e.inputSettings),{},s()({},n.settingID,m(m({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return m(m({},e),{},{isSavingInputSettings:n.isSaving});case"RESET_USER_INPUT_SETTINGS":return m(m({},e),{},{inputSettings:e.savedInputSettings});default:return e}},resolvers:E,selectors:w});A.initialState,A.actions,A.controls,A.reducer,A.resolvers,A.selectors;t.a=A},97:function(e,t,r){"use strict";(function(e){r(50),r(51)}).call(this,r(26))},98:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return s}));var n=r(220),i=r(86),o=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var o=r.invertColor,s=void 0!==o&&o;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:s}))},s=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(4))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f}));var n=r(7),i=r.n(n),o=r(13),s=r(100),a=r(101);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(s.a)(i,r),f=Object(a.a)(i,r,c,n),d={},g=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);d[n]||(d[n]=Object(o.once)(f)),d[n].apply(d,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:f,trackEventOnce:g}}}).call(this,r(26))}},[[1197,1,0]]]); dist/assets/js/googlesitekit-entity-dashboard-c2c8cb7c5a812c7ef92b.js 0000604 00001234173 14717744000 0021145 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(i.a).join(","),active_modules:l.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var i=Object(s.a)(t);return function(){var t=l()(a.a.mark((function t(o,c,l,s){var u;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(a),e()};i("event",c,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var a=n(124);n.d(t,"c",(function(){return a.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var a=n(7),i=n.n(a),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),f=n(24),g=n(6),m=n(36),p=n(130),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,a=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(a,"-step"),w="".concat(a,"-run"),x=Object(d.useDispatch)(f.b).setValue,C=Object(d.useDispatch)(g.a).dismissTour,N=Object(d.useRegistry)(),A=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(f.b).getValue(u)})),D=Object(d.useSelect)((function(e){return e(f.b).getValue(w)&&!1===e(g.a).isTourDismissed(a)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),x(w,!0)}));var R=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,a=e.size,i=e.status,o=e.type,s=t+1,u="function"==typeof l?l(A):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(m.b)(u,O,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(m.b)(u,j,s):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&a===s&&Object(m.b)(u,S,s),r===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,k,s),n===c.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,r=t.index,i=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(i),h=f&&d===c.b.STEP_AFTER,v=p||h;if(c.b.STEP_BEFORE===d){var b,E,_=o.target;"string"==typeof o.target&&(_=e.document.querySelector(o.target)),null===(b=_)||void 0===b||null===(E=b.scrollIntoView)||void 0===E||E.call(b,{block:"center"})}g?function(e,t){x(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),C(a)),s&&s(t,N)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:D,showProgress:!0,stepIndex:T,steps:R,styles:b,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},110:function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var a=n(160);n.d(t,"c",(function(){return a.a}));var i=n(225);n.d(t,"a",(function(){return i.a}))},1116:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(0),o=n(38),c=n(2),l=n(3),s=n(242),u=n(73),d=n(409),f=n(687),g=n(692),m=n(243),p=n(22),h=n(14),v=n(6),b=n(20),E=n(105),_=n(17),O=n(383),y=n(185),k=n(46),j=n(694),S=n(611),w=n(1117),x=n(675),C=n(35),N=n(612),A=n(705),T=n(698),D=n(613);t.a=function DashboardEntityApp(){var t=Object(C.a)(),n=Object(l.useSelect)((function(e){return t?e(v.a).getViewableModules():null})),r=Object(l.useSelect)((function(e){return e(h.c).getCurrentEntityURL()})),R=Object(l.useSelect)((function(e){return e(h.c).getPermaLinkParam()})),M=Object(l.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),B={modules:n||void 0},L=Object(l.useSelect)((function(e){return e(k.a).isWidgetContextActive(u.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,B)})),F=Object(l.useSelect)((function(e){return e(k.a).isWidgetContextActive(u.CONTEXT_ENTITY_DASHBOARD_CONTENT,B)})),I=Object(l.useSelect)((function(e){return e(k.a).isWidgetContextActive(u.CONTEXT_ENTITY_DASHBOARD_SPEED,B)})),P=Object(l.useSelect)((function(e){return e(k.a).isWidgetContextActive(u.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,B)})),z=Object(l.useSelect)((function(e){return e(h.c).getDocumentationLinkURL("url-not-part-of-this-site")}));Object(A.a)();var W=null;return P?W=p.c:I?W=p.d:F?W=p.a:L&&(W=p.e),null===r?e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-entity-dashboard"},e.createElement(S.a,null),e.createElement(D.a,null),e.createElement(_.e,null,e.createElement(_.k,null,e.createElement(_.a,{size:12},e.createElement(i.Fragment,null,e.createElement(b.a,{href:M,back:!0,small:!0},Object(c.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(O.a,{title:Object(c.__)("Detailed Page Stats","google-site-kit"),className:"googlesitekit-heading-2 googlesitekit-entity-dashboard__heading",fullWidth:!0}),e.createElement(y.a,{className:"googlesitekit-entity-dashboard__entity-header"},e.createElement(_.e,null,e.createElement(_.k,null,e.createElement(_.a,{size:12},e.createElement("p",null,Object(o.a)(Object(c.sprintf)( /* translators: %s: current entity URL. */ Object(c.__)("It looks like the URL %s is not part of this site or is not based on standard WordPress content types, therefore there is no data available to display. Visit our <link1>support forums</link1> or <link2><VisuallyHidden>Site Kit</VisuallyHidden> website</link2> for support or further information.","google-site-kit"),"<strong>".concat(R,"</strong>")),{strong:e.createElement("strong",null),link1:e.createElement(b.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0}),link2:e.createElement(b.a,{href:z,external:!0}),VisuallyHidden:e.createElement(E.a,null)})))))))))),e.createElement(N.a,null)):e.createElement(i.Fragment,null,e.createElement(S.a,null),e.createElement(D.a,null),e.createElement(s.a,{subHeader:e.createElement(w.a,null),showNavigation:!0},e.createElement(f.a,null),e.createElement(g.a,null),!t&&e.createElement(x.a,null),e.createElement(m.a,null)),!t&&e.createElement(j.a,null),e.createElement(T.a,null),e.createElement(d.a,{id:p.e,slug:u.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,className:a()({"googlesitekit-widget-context--last":W===p.e})}),e.createElement(d.a,{id:p.a,slug:u.CONTEXT_ENTITY_DASHBOARD_CONTENT,className:a()({"googlesitekit-widget-context--last":W===p.a})}),e.createElement(d.a,{id:p.d,slug:u.CONTEXT_ENTITY_DASHBOARD_SPEED,className:a()({"googlesitekit-widget-context--last":W===p.d})}),e.createElement(d.a,{id:p.c,slug:u.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,className:a()({"googlesitekit-widget-context--last":W===p.c})}),e.createElement(N.a,null))}}).call(this,n(4))},1117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EntityBannerNotifications}));var r=n(0),a=n(180),i=n(60);function EntityBannerNotifications(){return e.createElement(r.Fragment,null,e.createElement(a.a,{areaSlug:i.b.BANNERS_ABOVE_NAV}))}}).call(this,n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,a=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=i(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),a&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var a=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},114:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,a=t.dialogActive,i=void 0!==a&&a,f=t.handleDialog,g=void 0===f?null:f,m=t.onOpen,p=void 0===m?null:m,h=t.onClose,v=void 0===h?null:h,b=t.title,E=void 0===b?null:b,_=t.provides,O=t.handleConfirm,y=t.subtitle,k=t.confirmButton,j=void 0===k?null:k,S=t.dependentModules,w=t.danger,x=void 0!==w&&w,C=t.inProgress,N=void 0!==C&&C,A=t.small,T=void 0!==A&&A,D=t.medium,R=void 0!==D&&D,M=t.buttonLink,B=void 0===M?null:M,L=Object(c.a)(ModalDialog),F="googlesitekit-dialog-description-".concat(L),I=!(!_||!_.length);return e.createElement(u.Dialog,{open:i,onOpen:p,onClose:v,"aria-describedby":I?F:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":T,"googlesitekit-dialog-md":R})},e.createElement(u.DialogTitle,null,x&&e.createElement(d.a,{width:28,height:28}),E),y?e.createElement("p",{className:"mdc-dialog__lead"},y):[],e.createElement(u.DialogContent,null,I&&e.createElement("section",{id:F,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:N},Object(s.__)("Cancel","google-site-kit")),B?e.createElement(u.Button,{href:B,onClick:O,target:"_blank",danger:x},j):e.createElement(u.SpinnerButton,{onClick:O,danger:x,disabled:N,isSaving:N},j||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:a.a.string,dialogActive:a.a.bool,handleDialog:a.a.func,handleConfirm:a.a.func.isRequired,onOpen:a.a.func,onClose:a.a.func,title:a.a.string,confirmButton:a.a.string,danger:a.a.bool,small:a.a.bool,medium:a.a.bool,buttonLink:a.a.string},t.a=ModalDialog}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),f=n(14),g=n(19),m=n(34),p=n(35),h=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,a=t.GetHelpLink,i=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,E=t.onRequestAccess,_=t.getHelpClassName,O=t.RequestAccessButton,y=t.RetryButton,k=Object(p.a)(),j=Object(u.useSelect)((function(e){return e(g.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],x=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(j))||void 0===n?void 0:n.getSelectorDataForError(t);return b(b({},t),{},{selectorData:r})}))})),C=null==x?void 0:x.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),N=!!C.length,A=Object(u.useSelect)((function(e){var t=b({},N?C[0]:w[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(f.c).getErrorTroubleshootingLinkURL(t)})),T=Object(u.useDispatch)(),D=w.some((function(e){return Object(m.e)(e)})),R=Object(c.useCallback)((function(){C.forEach((function(e){var t=e.selectorData;T(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[T,C,v]),M=S&&D&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},M&&("function"==typeof O?e.createElement(O,{requestAccessURL:S}):e.createElement(d.Button,{onClick:E,href:S,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),N&&e.createElement(c.Fragment,null,"function"==typeof y?e.createElement(y,{handleRetry:R}):e.createElement(d.Button,{onClick:R,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!i&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:A,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!N&&!i&&e.createElement("div",{className:_},"function"==typeof a?e.createElement(a,{linkURL:A}):e.createElement(h.a,{href:A,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(3),i=n(46);function o(e,t,n){var o=Object(a.useDispatch)(i.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},119:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(18),i=n(8);function o(e){var t=Object(a.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),a=function(e){return Object(r.isFinite)(e)?e:0}},1225:function(e,t,n){"use strict";n.r(t),function(e){var t=n(335),r=n(137),a=n(1116),i=n(235),o=n(22);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-entity-dashboard");if(t){var n=t.dataset.viewOnly;Object(r.render)(e.createElement(i.a,{viewContext:n?o.m:o.l},e.createElement(a.a,null)),t)}}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),f=n.n(d);function Cell(t){var n,r=t.className,i=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,v=t.smStart,b=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,x=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},x,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),i)}));f.displayName="Row",f.propTypes={className:l.a.string,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,i=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":i})},d,{ref:n}),l)}));f.displayName="Grid",f.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},129:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(401),a=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),a=n.n(r),i=n(166),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),f=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(f.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",a()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,a()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(11),u=n.n(s),d=n(3),f=n.n(d),g=n(41),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:i})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var a=1===r.length?Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(i.sprintf)( /* translators: %s: List of module names */ Object(i.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(i._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(i.__)("Data Unavailable","google-site-kit"),description:a})}RecoverableModules.propTypes={moduleSlugs:a.a.arrayOf(a.a.string).isRequired}}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},141:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(13),l=n(0),s=n(2),u=n(3),d=n(19),f=n(34),g=n(150),m=n(81),p=n(67),h=n(85),v=n(117),b=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,a=t.error,i=Object(b.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),E=Array.isArray(a)?a:[a],O=function(e){return Object(f.e)(e)?i?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(g.a)(e.message,o)):Object(f.b)(e)},y=Object(c.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=E.some((function(e){return Object(f.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,r=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(v.a,{moduleSlug:r,error:a}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},142:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:a.a.string.isRequired}}).call(this,n(4))},143:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",a({viewBox:"0 0 43 44"},e),i)}},147:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i}));var r="editing-user-role-select-slug-key",a="dashboardSharingDialogOpen",i="resetSharingDialogOpen"},148:function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var a=n(68);n.d(t,"b",(function(){return a.c})),n.d(t,"a",(function(){return a.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},a=n.slug,i=void 0===a?"":a,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},151:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"none"},e),i)}},154:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)(!1);t.a=a},158:function(e,t,n){"use strict";var r=n(0),a=n(44),i=Object(r.createContext)(a.a);t.a=i},159:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(2),l=n(3),s=n(198),u=n(211),d=n(68),f=n(6),g=n(10),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,i=t.children,o=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,v=t.dismissLabel,b=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,E=t.Icon,_=void 0===E?Object(d.d)(o):E,O=t.OuterCTA,y=Object(l.useDispatch)(f.a).dismissItem,k=Object(l.useSelect)((function(e){return p?e(f.a).isItemDismissed(p):void 0}));if(p&&k)return null;var j=i?u.a:s.a;return e.createElement("div",{ref:n,className:a()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!i,"googlesitekit-settings-notice--multi-row":i})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(_,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{tertiary:!0,onClick:function(){y(p),h()}},b)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),a=n(24);function i(e){return Object(r.useSelect)((function(t){return t(a.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),a=n.n(r),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:a.a.string,componentStack:a.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),a=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var a=n(309);n.d(t,"f",(function(){return a.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),a=n(24),i=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(r.useSelect)((function(t){return!!t(a.b).getValue(i(e))}),[e])}o.getKey=i},174:function(e,t,n){"use strict";(function(e){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(0),u=n(20),d=n(8),f=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,i=t.gaEventLabel,c=Object(f.a)(),l=Object(s.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",i);case 3:case"end":return e.stop()}}),e)}))),[i,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(6),d=n(19),f=n(32),g=n(36),m=n(18);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),i=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(f.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,v=Object(c.useCallback)(o()(a.a.mark((function n(){var r,o,c;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(g.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[i,e,p,h,t]);return(null==n?void 0:n.name)&&r?v:null}},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,i=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,a()({width:r,height:r},i)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,a=o()(t,["loading","children"]);return n?e.createElement(s.a,a):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},180:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(3),l=n(18),s=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,i=Object(l.a)(),o=Object(c.useSelect)((function(e){return e(s.a).getQueuedNotifications(i)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var f=o[0],g=f.id,m=f.Component,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(g));return e.createElement(m,p)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},181:function(e,t,n){"use strict";n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var r=n(15),a=n.n(r),i=n(27),o=n.n(i),c=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function f(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var i=0,o=0,l=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void r.push(o);var h=d(i,m),v=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==v&&0!==d(h.sort(l)[0].counter,v).filter(g).length||h.some(g)&&(h=(h=h.sort(f)).filter(g));var b=h[0].width;if(r.push(o),(i+=c.c[b])>12){if(i-=c.c[b],r[p]++,9===i){var E=u(n,i),_=a()(E,2);n=_[0],i=_[1]}i=c.c[b],o++}else 12===i&&(i=0,o++);n.push(c.c[b])})),9===i){var m=u(n,i),p=a()(m,2);n=p[0],i=p[1]}return{columnWidths:n,rowIndexes:r}}var g=n(13);function m(e,t,n){var r=n.columnWidths,a=n.rowIndexes,i=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:i};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var a,i=e[r],o=null==t?void 0:t[i.slug],l=null==o?void 0:o.Component,s=null==o||null===(a=o.metadata)||void 0===a?void 0:a.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,h;if(i.push(null),s=t[n.slug],u=a[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,h=a[o+1],p===h&&Object(g.isEqual)(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var v=d.reduce((function(e,t){return e+t}),0);i[o]=s,l[o]=v,d=[]}})),{gridColumnWidths:l,overrideComponents:i}}var p=n(207);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},182:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},185:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),m=n.n(g),p=n(12),h=n.n(p),v=n(0),b=n(347),E=n(348);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var O=function(t){l()(Layout,t);var n=_(Layout);function Layout(){return a()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,a=t.children,i=t.title,o=t.badge,c=t.headerCTALabel,l=t.headerCTALink,s=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,f=t.className,g=t.fill,m=t.relative,p=t.rounded,v=void 0!==p&&p,_=t.transparent,O=void 0!==_&&_;return e.createElement("div",{className:h()("googlesitekit-layout",f,{"googlesitekit-layout--fill":g,"googlesitekit-layout--relative":m,"googlesitekit-layout--rounded":v,"googlesitekit-layout--transparent":O})},n&&e.createElement(b.a,{title:i,badge:o,ctaLabel:c,ctaLink:l}),a,r&&e.createElement(E.a,{ctaLabel:s,ctaLink:u,footerContent:d}))}}]),Layout}(v.Component);O.propTypes={header:m.a.bool,footer:m.a.bool,children:m.a.node.isRequired,title:m.a.string,badge:m.a.node,headerCTALabel:m.a.string,headerCTALink:m.a.string,footerCTALabel:m.a.string,footerCTALink:m.a.string,footerContent:m.a.node,className:m.a.string,fill:m.a.bool,relative:m.a.bool,rounded:m.a.bool,transparent:m.a.bool},O.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=O}).call(this,n(4))},188:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",a({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(186),o=n.n(i),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(254),f=n(412),g=n(413),m=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,i=Object(s.useState)(!1),c=a()(i,2),l=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?f.a:g.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(2),u=n(3),d=n(120),f=n(60),g=n(10);function Dismiss(t){var n=t.id,r=t.primary,i=void 0===r||r,c=t.dismissLabel,l=void 0===c?Object(s.__)("OK, Got it!","google-site-kit"):c,m=t.dismissExpires,p=void 0===m?0:m,h=t.disabled,v=t.onDismiss,b=void 0===v?function(){}:v,E=t.gaTrackingEventArgs,_=Object(d.a)(n),O=Object(u.useDispatch)(f.a).dismissNotification,y=function(){var e=o()(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==b?void 0:b(t);case 2:_.dismiss(null==E?void 0:E.label,null==E?void 0:E.value),O(n,{expiresInSeconds:p});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(g.Button,{tertiary:!i,onClick:y,disabled:h},l)}Dismiss.propTypes={id:l.a.string,primary:l.a.bool,dismissLabel:l.a.string,dismissExpires:l.a.number,disabled:l.a.bool,onDismiss:l.a.func,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){var r=n(7),a=n.n(r),i=n(15),o=n.n(i),c=n(0),l=n(519),s=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=Object(c.useState)(Object(l.a)(r.location.href,t)||n),u=o()(i,2),d=u[0],f=u[1],g=function(e){f(e);var n=Object(s.a)(r.location.href,a()({},t,e));r.history.replaceState(null,"",n)};return[d,g]}}).call(this,n(26))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var a=n(91),i=n(0),o=n(3),c=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(a.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n(17),s=Object(c.forwardRef)((function(t,n){var r=t.id,a=t.className,i=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:o()(a,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,i)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:a.a.string,className:a.a.string,secondaryPane:a.a.node},t.a=s}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,f=t.smallWinImageSVGHeight,g=void 0===f?75:f;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),i&&e.createElement("div",{className:l()(a()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(221),f=n(0),g=n(3),m=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,v=Object(f.useState)(!1),b=l()(v,2),E=b[0],_=b[1],O=Object(d.a)(),y=Object(g.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=o()(a.a.mark((function e(){var t,n,r,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:k,disabled:E||y,isSaving:E||y},r),u&&e.createElement(m.Button,{tertiary:n||i,onClick:h,disabled:E||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),f=n(0),g=n(2),m=n(126),p=n(127),h=n(128),v=n(80),b=n(77),E=Object(f.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,f=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,x=void 0!==w&&w,C=t.disabled,N=void 0!==C&&C,A=t.external,T=void 0!==A&&A,D=t.hideExternalIndicator,R=void 0!==D&&D,M=t.href,B=void 0===M?"":M,L=t.inverse,F=void 0!==L&&L,I=t.noFlex,P=void 0!==I&&I,z=t.onClick,W=t.small,H=void 0!==W&&W,G=t.standalone,V=void 0!==G&&G,U=t.linkButton,q=void 0!==U&&U,K=t.to,J=t.leadingIcon,X=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=B||K||!z?K?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":N?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:i),ee=J,te=X;return _&&(ee=e.createElement(h.a,{width:14,height:14})),T&&!R&&(te=e.createElement(v.a,{width:14,height:14})),f&&!F&&(te=e.createElement(m.a,{width:14,height:14})),f&&F&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Z,a()({"aria-label":Q,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":F,"googlesitekit-cta-link--small":H,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":x,"googlesitekit-cta-link--disabled":N,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!P}),disabled:N,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||N?void 0:B,onClick:z,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},Y),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(b.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),a=n.n(r),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:a.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),a=n.n(r),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:a.a.string,moduleName:a.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),a=n.n(r),i=n(0),o=n(72),c=n(20),l=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,a=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var f;return r&&(f=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:a,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,f&&e.createElement("p",null,f)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",f))}BannerDescription.propTypes={description:a.a.node,learnMoreURL:a.a.string,learnMoreDescription:a.a.string,learnMoreLabel:a.a.string,learnMoreTarget:a.a.oneOf(Object.values(l.a)),onLearnMoreClick:a.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),a=(r.a.Consumer,r.a.Provider);t.a=a},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return v}));var r=n(21),a=n.n(r),i=n(57),o=n.n(i),c=n(229),l=n(258),s=n(259),u=n(199),d=n(230),f=n(260),g=n(0),m=o()((function(e){return{widgetSlug:e,Widget:p(e)(c.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var r=Object(g.forwardRef)((function(r,i){return e.createElement(n,a()({},r,{ref:i,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(r){return e.createElement(t,a()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,a()({},r,{WPDashboardReportError:p(t)(f.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},208:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var a=n(7),i=n.n(a),o=n(15),c=n.n(o),l=n(1),s=n(31),u=n(506),d=n(0),f=n(130),g=n(76),m=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,a=t.content,i=t.dismissLabel,o=t.target,l=t.cta,p=void 0!==l&&l,v=t.className,b=t.styles,E=void 0===b?{}:b,_=t.slug,O=void 0===_?"":_,y=t.onDismiss,k=void 0===y?function(){}:y,j=t.onView,S=void 0===j?function(){}:j,w=t.onTourStart,x=void 0===w?function(){}:w,C=t.onTourEnd,N=void 0===C?function(){}:C,A=function(){return!!e.document.querySelector(o)},T=Object(d.useState)(A),D=c()(T,2),R=D[0],M=D[1];if(Object(u.a)((function(){A()&&M(!0)}),R?null:250),Object(d.useEffect)((function(){if(R&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,R]),!R)return null;var B=[{title:n,target:o,content:a,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:v}],L={last:i};return r.createElement(g.a,{slug:O},r.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:x(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:N(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:k();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:L,steps:B,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:f.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},209:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(151),l=n(71),s=n(17);function SubtleNotification(t){var n=t.className,r=t.title,a=t.description,i=t.dismissCTA,u=t.additionalCTA,d=t.type,f=void 0===d?"success":d,g=t.icon;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===f,"googlesitekit-subtle-notification--warning":"warning"===f})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},g,"success"===f&&!g&&e.createElement(c.a,{width:24,height:24}),"warning"===f&&!g&&e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},a)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},i,u))))}SubtleNotification.propTypes={className:a.a.string,title:a.a.string.isRequired,description:a.a.node,dismissCTA:a.a.node,additionalCTA:a.a.node,type:a.a.string,icon:a.a.object}}).call(this,n(4))},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(158),i=n(44),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA,o=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:a.a.node.isRequired,notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},212:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),a=n.n(r),i=n(1),o=n.n(i);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:a()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(574),a=n(12),i=n.n(a),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,a=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,f=t.notificationID,g=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(f)})),v=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(v(f),null==g||g())}),[h,f,g,v,m]),!m||!h)return null;var b=i()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:b},a,c&&e.createElement(c,null)):e.createElement(r.a,{direction:"up",in:h},e.createElement("div",{className:b},o&&e.createElement(o,null),a))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},218:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n(38),g=n(2),m=n(3),p=n(10),h=n(6),v=n(36),b=n(20),E=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,i=t.name,c=void 0===i?"optIn":i,l=t.className,s=t.trackEventCategory,_=t.alignLeftCheckbox,O=void 0!==_&&_,y=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),k=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(E.a)(),x=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:r,name:c,value:"1",checked:y,disabled:k,onChange:x,loading:void 0===y,alignLeft:O},Object(f.a)(Object(g.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(b.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return a})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var r="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",v="key-metrics",b="traffic",E="content",_="speed",O="monetization",y=[r,a,i,o,c,s,f,h],k=[i,o,d,p]},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),r=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(a.a.mark((function i(){var o,c,l,s;return a.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){a.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){a.next=7;break}return c.firstChild.click(),a.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:l});case 12:case"end":return a.stop()}}),i)}))),[n,r,t,e])}},225:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),a=n.n(r),i=n(21),o=n.n(i),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(23),f=n.n(d),g=n(0),m=n(1),p=n.n(m),h=n(3),v=n(208),b=n(24),E=n(160);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,a=f()(t,["onDismiss","tooltipStateKey"]),i=Object(h.useDispatch)(b.b).setValue,c=Object(E.a)(r),s=c.rehideAdminMenu,d=c.rehideAdminSubMenu,m=Object(g.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:i(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,i,r]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},a))}AdminMenuTooltip.propTypes=O(O({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},229:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(0),l=Object(c.forwardRef)((function(t,n){var r=t.children,i=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},i),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},230:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),a=n.n(r),i=n(21),o=n.n(i),c=n(27),l=n.n(c),s=n(23),u=n.n(s),d=n(1),f=n.n(d),g=n(0),m=n(118),p=n(136);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(g.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,i),e.createElement(p.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:f.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},234:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),a=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:a.a.node,label:a.a.string}}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),f=n(236),g=n(237),m=n(44),p=n(238),h=n(240),v=n(241),b=n(63),E=n(204),_=n(169);function Root(t){var n=t.children,r=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,O=Object(s.useState)({key:"Root",value:!0}),y=a()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(E.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(g.a,{value:m.a},e.createElement(b.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(f.a,null,e.createElement(h.a,null,n,o&&e.createElement(v.a,null)),Object(_.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),f=n(49),g=n.n(f),m=n(1),p=n.n(m),h=n(0),v=n(2),b=n(168),E=n(63),_=n(65),O=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var k=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(b.a,{message:n.message,componentStack:a.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,a.componentStack)):e}}]),ErrorHandler}(h.Component);k.contextType=E.b,k.propTypes={children:p.a.node.isRequired},t.a=k}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),a=(r.a.Consumer,r.a.Provider);t.a=a},238:function(e,t,n){"use strict";(function(e){var r=n(3),a=n(239),i=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(114),f=n(28),g=n(32),m=n(6),p=n(133),h=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,a,o,v=Object(u.useRegistry)(),b=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),E=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,r,a;return t(m.a).getConnectURL({additionalScopes:null==b||null===(n=b.data)||void 0===n?void 0:n.scopes,redirectURL:(null==b||null===(r=b.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==b||null===(a=b.data)||void 0===a?void 0:a.errorRedirectURL})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,y=Object(u.useDispatch)(g.a).navigateTo,k=Object(u.useDispatch)(f.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(m.d,{permissionsError:b}),e.next=3,Object(p.c)(v);case 3:y(_);case 4:case"end":return e.stop()}}),e)}))),[v,_,y,b,k]);return Object(s.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==b||null===(t=b.data)||void 0===t?void 0:t.skipModal)||!(null==b||null===(n=b.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,b]),b?(null==b||null===(t=b.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==b||null===(a=b.data)||void 0===a?void 0:a.skipModal)||E&&(null==b||null===(o=b.data)||void 0===o?void 0:o.scopes.every((function(e){return E.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:b.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",b),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),i=l()(r,2),c=i[0],f=i[1];return Object(s.useEffect)((function(){c||o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:f(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),a=n.n(r),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},242:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(594),u=n(2),d=n(0),f=n(3),g=n(261),m=n(278),p=n(282),h=n(6),v=n(17),b=n(288),E=n(295),_=n(297),O=n(303),y=n(35),k=n(52),j=n(20),S=n(304),w=n(14),x=n(305);function Header(t){var n,r=t.children,i=t.subHeader,o=t.showNavigation,c=!!Object(k.c)(),C=Object(y.a)();Object(x.a)();var N=Object(f.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),A=Object(f.useSelect)((function(e){return e(h.a).isAuthenticated()})),T=Object(s.a)({childList:!0}),D=a()(T,2),R=D[0],M=!!(null===(n=D[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":M,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:N},e.createElement(g.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!A&&c&&C&&e.createElement(_.a,null),A&&!C&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:R},e.createElement(p.a,null),e.createElement(O.a,null),i),o&&e.createElement(b.a,null),c&&e.createElement(S.a,null),e.createElement(E.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},243:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(217),l=n(0),s=n(56),u=n(2),d=n(3),f=n(10),g=n(306),m=n(129),p=n(8),h=n(174),v=n(19),b=n(18),E=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),i=a()(r,2),o=i[0],_=i[1],O=Object(l.useRef)(),y=Object(b.a)();Object(c.a)(O,(function(){return _(!1)})),Object(m.a)([s.c,s.f],O,(function(){return _(!1)}));var k=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){o||Object(p.J)("".concat(y,"_headerbar"),"open_helpmenu"),_(!o)}),[o,y]),S=Object(l.useCallback)((function(){_(!1)}),[]),w=Object(d.useSelect)((function(e){return e(E.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(g.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(f.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(79),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},252:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(0);t.a=function(t,n){var r=Object(i.useState)(null),o=a()(r,2),c=o[0],l=o[1];return Object(i.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){l(e[e.length-1])}),n);return r.observe(t.current),function(){l(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},256:function(e,t,n){"use strict";(function(e){var r=n(53),a=n.n(r),i=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,l=o.nonceEndpoint,s=o.preloadedData,u=o.rootURL;a.a.nonceEndpoint=l,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(u),a.a.preloadingMiddleware=Object(i.a)(s),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),t.default=a.a}).call(this,n(26))},257:function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,a){if(n)return a(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var l,s=(null===(l=e.method)||void 0===l?void 0:l.toUpperCase())||"GET",u=Object(r.getStablePath)(c);if(o&&"GET"===s&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===s&&t[s]&&t[s][u]){var f=Promise.resolve(t[s][u]);return delete t[s][u],f}}return a(e)}}},258:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),a=n.n(r),i=n(21),o=n.n(i),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(118),g=n(142);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(4))},259:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},260:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),a=n.n(r),i=n(520),o=n(200),c=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,a=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=r.message,f=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(i.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),a)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),f!==a?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(4))},261:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(143),i=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},262:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},263:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n(2),s=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,a=t.forceOpen,i=t.hasLeftSpacing,f=t.hasNoSpacing,g=t.onLearnMoreClick,m=void 0===g?function(){}:g,p=e.createElement(u.a,{className:o()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":f}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:i});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:r,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:a},p):p}NewBadge.propTypes={tooltipTitle:a.a.string,learnMoreLink:a.a.string,forceOpen:a.a.bool,onLearnMoreClick:a.a.func,hasLeftSpacing:a.a.bool,hasNoSpacing:a.a.bool},t.a=NewBadge}).call(this,n(4))},265:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,i=t.ctaLabel,c=t.onCTAClick,l=t.isCTALinkExternal,f=void 0!==l&&l,g=t.gaTrackingEventArgs,m=Object(s.a)(n),p=function(){var e=o()(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:m.confirm(null==g?void 0:g.label,null==g?void 0:g.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:p,target:f?"_blank":"_self",trailingIcon:f?e.createElement(d.a,{width:14,height:14}):void 0},i)}CTALinkSubtle.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,isCTALinkExternal:l.a.bool,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},270:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="consent-mode-setup-cta-widget"},278:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(217),d=n(0),f=n(2),g=n(56),m=n(3),p=n(10),h=n(114),v=n(8),b=n(41),E=n(76),_=n(279),O=n(234),y=n(280),k=n(281),j=n(28),S=n(14),w=n(6),x=n(32),C=n(9),N=n(129),A=n(18);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),a=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),T=Object(m.useSelect)((function(e){return e(j.a).getValue(C.d,"isAutoCreatingCustomDimensionsForAudience")})),D=Object(d.useState)(!1),R=s()(D,2),M=R[0],B=R[1],L=Object(d.useState)(!1),F=s()(L,2),I=F[0],P=F[1],z=Object(d.useRef)(),W=Object(d.useRef)(),H=Object(A.a)(),G=Object(m.useDispatch)(x.a).navigateTo;Object(u.a)(z,(function(){return P(!1)})),Object(N.a)([g.c,g.f],z,(function(){var e;P(!1),null===(e=W.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){g.c===e.keyCode&&(B(!1),P(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var V,U=Object(d.useCallback)((function(){I||Object(v.J)("".concat(H,"_headerbar"),"open_usermenu"),P(!I)}),[I,H]),q=Object(d.useCallback)((function(){B(!M),P(!1)}),[M]),K=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(n,r){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=r.detail.item,e.t0=null==a?void 0:a.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(H,"_headerbar_usermenu"),"manage_sites");case 7:G(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:U();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,U,q,G,H]),J=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return B(!1),e.next=3,Object(b.b)();case 3:return e.next=5,Object(v.J)("".concat(H,"_headerbar_usermenu"),"disconnect_user");case 5:G(l);case 6:case"end":return e.stop()}}),e)}))),[l,G,H]);return n?(o&&n&&(V=Object(f.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(f.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(V=Object(f.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(f.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(V=Object(f.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(f.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:z,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:T,ref:W,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:U,icon:!!a&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:a,alt:Object(f.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":I,"aria-controls":"user-menu","aria-label":T?void 0:Object(f.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":V},r.createElement("strong",null,Object(f.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:I,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(_.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(f.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(f.__)("Disconnect","google-site-kit")})))),r.createElement(E.a,null,r.createElement(h.a,{dialogActive:M,handleConfirm:J,handleDialog:q,title:Object(f.__)("Disconnect","google-site-kit"),subtitle:Object(f.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(f.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),a=n(3),i=n(6);function Details(){var t=Object(a.useSelect)((function(e){return e(i.a).getPicture()})),n=Object(a.useSelect)((function(e){return e(i.a).getFullName()})),o=Object(a.useSelect)((function(e){return e(i.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},280:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",a({viewBox:"0 0 22 22",fill:"none"},e),i)}},281:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",a({viewBox:"0 0 22 18",fill:"none"},e),i)}},282:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var a=n(0),i=n(2),o=n(3),c=n(283),l=n(284),s=n(6),u=n(14),d=n(28),f=n(65),g=n(180),m=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(s.a).isAuthenticated()})),p=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),h=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(o.useSelect)((function(e){return e(d.a).getValue(s.d,"permissionsError")})),b=Object(o.useSelect)((function(t){var r,a;return(null==v?void 0:v.data)?t(s.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(a=v.data)||void 0===a?void 0:a.redirectURL)||e.location.href}):"access_denied"===p&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),E=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),_=Object(i.__)("Error connecting Site Kit","google-site-kit"),O=Object(i.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(_=Object(i.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?O=Object(i.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(O=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(a.Fragment,null,r.createElement(l.a,null),r.createElement(c.a,null),h&&r.createElement(f.b,{id:"setup_error",type:"win-error",title:_,description:h,isDismissible:!1,ctaLink:b,ctaLabel:O,learnMoreLabel:Object(i.__)("Get help","google-site-kit"),learnMoreURL:E}),r.createElement(g.a,{areaSlug:m.b.ERRORS}))}}).call(this,n(26),n(4))},283:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),a=n(3),i=n(6),o=n(65);function AuthError(){var t=Object(a.useSelect)((function(e){return e(i.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},284:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),a=n(14),i=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(i.b,t):null}}).call(this,n(4))},285:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(21),a=n.n(r),i=n(57),o=n.n(i),c=n(286),l=o()((function(e){return{id:e,Notification:s(e)(c.a)}}));function s(t){return function(n){function WithNotificationID(r){return e.createElement(n,a()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(0),l=n(287),s=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,i=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),f=Object(s.a)(n),g=Object(u.a)(n),m=Object(c.useState)(!1),p=a()(m,2),h=p[0],v=p[1];return Object(c.useEffect)((function(){!h&&f&&(g.view(null==i?void 0:i.label,null==i?void 0:i.value),v(!0))}),[f,g,h,i]),e.createElement("section",{id:n,ref:d,className:r},o,!f&&e.createElement(l.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(24),l=n(252),s=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,a=Object(l.a)(n,{threshold:r}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==a?void 0:a.isIntersecting),f=Object(s.a)(t);return Object(i.useEffect)((function(){!f&&d&&u(s.a.getKey(t),!0)}),[f,d,u,t]),null}ViewedStateObserver.propTypes={id:a.a.string,observeRef:a.a.object,threshold:a.a.number}},288:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),a=n(6),i=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(i.a)(),n=Object(r.useSelect)((function(e){return t?e(a.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(a.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},289:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(27),i=n.n(a),o=n(15),c=n.n(o),l=n(12),s=n.n(l),u=n(13),d=n(91),f=n(156),g=n(0),m=n(2),p=n(3),h=n(290),v=n(291),b=n(292),E=n(293),_=n(294),O=n(22),y=n(6),k=n(46),j=n(24),S=n(73),w=n(52),x=n(25),C=n(89),N=n(8),A=n(18),T=n(35);function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),a=Object(g.useRef)(),o=Object(x.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),R=Object(g.useState)(l),M=c()(R,2),B=M[0],L=M[1],F=Object(g.useState)(l||void 0),I=c()(F,2),P=I[0],z=I[1],W=Object(g.useState)(!1),H=c()(W,2),G=H[0],V=H[1],U=Object(A.a)(),q=Object(T.a)(),K=Object(p.useDispatch)(j.b).setValue,J=Object(p.useSelect)((function(e){return q?e(y.a).getViewableModules():null})),X=Object(p.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),Y={modules:J||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==X&&e(k.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,Y)})),Z=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ne=Object(g.useCallback)((function(){return $?O.b:q?Z?O.e:Q?O.a:ee?O.d:te?O.c:"":O.e}),[$,Z,Q,ee,te,q]),re=Object(g.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),a=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(a)),z(a),Object(N.J)("".concat(U,"_navigation"),"tab_select",a),e.scrollTo({top:a!==ne()?Object(C.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){K(j.a,a)}),50)}),[o,U,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return L(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==O.b)||(!(!Z||e!==O.e)||(!(!Q||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),L(n),setTimeout((function(){var r=n!==t?Object(C.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(g.useEffect)((function(){var t=function(e){K(j.a,void 0),L(e),z(void 0)},n=Object(u.throttle)((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),f=d.bottom,g=d.top,m=[].concat(i()($?[O.b]:[]),i()(Z?[O.e]:[]),i()(Q?[O.a]:[]),i()(ee?[O.d]:[]),i()(te?[O.c]:[])),p=ne();if(0===s)V(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;V(g===v)}var b,E=D(m);try{for(E.s();!(b=E.n()).done;){var _=b.value,y=document.getElementById(_);if(y){var k=y.getBoundingClientRect().top-20-(u||f||0);k<0&&(void 0===l||l<k)&&(l=k,p=_)}}}catch(e){E.e(e)}finally{E.f()}if(P)P===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(N.J)("".concat(U,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[P,$,Z,Q,ee,te,U,K,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":G}),ref:a},$&&r.createElement(f.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:B===O.b,"data-context-id":O.b}),Z&&r.createElement(f.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:B===O.e,"data-context-id":O.e}),Q&&r.createElement(f.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:re,selected:B===O.a,"data-context-id":O.a}),ee&&r.createElement(f.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"20",height:"16"}),onClick:re,selected:B===O.d,"data-context-id":O.d}),te&&r.createElement(f.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:re,selected:B===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},29:function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"j",(function(){return a})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p}));var r="modules/adsense",a=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",l="GETTING_READY",s="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",f="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",g="ad-blocking-recovery-notification",m={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},290:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",a({viewBox:"0 0 13 12",fill:"none"},e),i,o,c,l)}},291:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},292:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},293:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},294:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},295:function(e,t,n){"use strict";(function(e,r){var a=n(15),i=n.n(a),o=n(13),c=n(2),l=n(0),s=n(3),u=n(10),d=n(14),f=n(296),g=n(32),m=n(20),p=n(83),h=n(8),v=n(52),b=n(18);t.a=function EntityHeader(){var t=Object(b.a)(),n=Object(v.c)(),a=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),E=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(l.useRef)(),O=Object(l.useState)(E),y=i()(O,2),k=y[0],j=y[1];Object(l.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(p.d)(E,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[E,_,j]);var S=Object(s.useDispatch)(g.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),x=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return v.a!==n||null===E||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(f.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(m.a,{secondary:!0,href:E,"aria-label":E,external:!0},k)))}}).call(this,n(26),n(4))},296:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),a=n.n(r),i=n(217),o=n(12),c=n.n(o),l=n(0),s=n(2),u=n(56),d=n(10),f=n(18),g=n(129),m=n(8),p=n(298),h=n(299),v=n(300),b=n(302),E=n(3),_=n(6);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],O=Object(l.useRef)(),y=Object(f.a)();Object(i.a)(O,(function(){return o(!1)})),Object(g.a)([u.c,u.f],O,(function(){return o(!1)}));var k=Object(l.useCallback)((function(){r||Object(m.J)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),j=Object(E.useSelect)((function(e){return e(_.a).hasCapability(_.H)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(b.a,null)))}}).call(this,n(4))},298:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),f=n(32),g=n(14),m=n(6),p=n(8),h=n(20),v=n(18),b=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.H)})),r=Object(u.useSelect)((function(e){return e(g.c).getProxySetupURL()})),i=Object(u.useSelect)((function(e){return e(g.c).getDocumentationLinkURL("dashboard-sharing")})),E=Object(u.useDispatch)(f.a).navigateTo,_=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(b.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:E(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,E,t]),O=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:i,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:_},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},300:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),a=n(3),i=n(6),o=n(301);function SharedServices(){var t=Object(a.useSelect)((function(e){return e(i.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),a=n.n(r),i=n(38),o=n(2),c=n(3),l=n(19),s=n(6);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(s.a).hasCapability(s.H)})),a=Object(c.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=a.name,d=a.owner,f=Object(c.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(f,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(4))},302:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),a=n(2),i=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},303:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),a=n(3),i=n(65),o=n(14),c=n(28),l=n(6);function SetupErrorNotification(){var t=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),s=Object(a.useSelect)((function(e){return e(c.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(i.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},304:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),a=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:a.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},305:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(18),d=n(41),f=n(8),g=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(a.a.mark((function n(){var r,i;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(i=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(f.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!i.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(f.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},306:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},331:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},332:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},333:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(0);function a(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,a=!1,i=function(){r=e.setTimeout((function(){a=!0}),n)},o=function(){e.clearTimeout(r),a&&(a=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",i),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",i),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),a="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===a}function l(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},347:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),m=n.n(g),p=n(0),h=n(17),v=n(20);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutHeader,t);var n=b(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,a=t.ctaLabel,i=t.ctaLink,o=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(h.e,null,e.createElement(h.k,null,n&&e.createElement(h.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),i&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:i,external:!0},a)))))}}]),LayoutHeader}(p.Component);E.propTypes={title:m.a.string,badge:m.a.node,ctaLabel:m.a.string,ctaLink:m.a.string},E.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=E}).call(this,n(4))},348:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),m=n.n(g),p=n(0),h=n(17),v=n(134);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutFooter,t);var n=b(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);E.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=E}).call(this,n(4))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),a=n(18);function i(){var e=Object(a.a)();return r.g.includes(e)}},353:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var a=n(2),i=n(10),o=n(3),c=n(380),l=n(381),s=n(213),u=n(89),d=n(25),f=n(24),g=n(6),m=n(19),p=n(18),h=n(35),v=n(8),b=n(9),E=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(p.a)(),n=Object(h.a)(),_=Object(d.e)(),O=Object(E.c)(),y=Object(o.useSelect)((function(e){return e(g.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),k=Object(o.useSelect)((function(e){var t=e(g.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),r=e(g.a).isAudienceSegmentationWidgetHidden(),a=e(m.a).isModuleActive("analytics-4"),i=!n||e(g.a).canViewSharedModule("analytics-4"),o=e(b.p).getAudienceSegmentationSetupCompletedBy(),c=e(g.a).getID();return E.b===O&&!1===t&&!1===r&&a&&i&&Number.isInteger(o)&&o!==c})),j=Object(o.useDispatch)(f.b).dismissOverlayNotification,S=function(){j("audienceSegmentationIntroductoryOverlayNotification")};return r.createElement(s.a,{shouldShowNotification:k,GraphicDesktop:c.a,GraphicMobile:l.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(a.__)("New! Visitor groups","google-site-kit")),r.createElement("p",null,Object(a.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(i.Button,{tertiary:!0,disabled:y,onClick:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){S()}))}},Object(a.__)("Got it","google-site-kit")),r.createElement(i.Button,{disabled:y,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",_),behavior:"smooth"})}),0),Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){S()}))}},Object(a.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return E}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},m=Object(r.a)(g),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}c&&l&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},372:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13);function a(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},380:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},r.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},r.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),o=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return r.createElement("svg",a({viewBox:"0 0 296 163",fill:"none"},e),i,o)}},381:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=r.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},r.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},r.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),l=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},r.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return r.createElement("svg",a({viewBox:"0 0 343 123",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},i,r.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},o),c),l)}},383:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(17),l=n(331),s=n(332),u=n(77);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,d=t.statusText,f=t.fullWidth,g=t.children,m=f?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(g);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,m,r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(l.a,{width:10,height:8}):e.createElement(s.a,{width:2,height:12}))),g))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},395:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},40:function(e,t,n){"use strict";(function(e){var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(25);function PreviewBlock(t){var n,r,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,f=t.smallWidth,g=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,v=t.desktopHeight,b=Object(s.e)(),E={width:(n={},a()(n,s.b,f),a()(n,s.c,m),a()(n,s.a,h),a()(n,s.d,h),n),height:(r={},a()(r,s.b,g),a()(r,s.c,p),a()(r,s.a,v),a()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[b]||o,height:E.height[b]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},409:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(3),l=n(682),s=n(6),u=n(46),d=n(17),f=n(35);function WidgetContextRenderer(t){var n=t.id,r=t.slug,a=t.className,i=t.Header,g=t.Footer,m=Object(f.a)(),p=Object(c.useSelect)((function(e){return m?e(s.a).getViewableModules():null})),h=Object(c.useSelect)((function(e){return r?e(u.a).getWidgetAreas(r):null})),v=Object(c.useSelect)((function(e){return!!r&&e(u.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!v},a)},i&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(i,null)))),h&&h.map((function(t){return e.createElement(l.a,{key:t.slug,slug:t.slug,contextID:n})})),g&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(g,null)))))}WidgetContextRenderer.propTypes={id:a.a.string,slug:a.a.string,className:a.a.string,Header:a.a.elementType,Footer:a.a.elementType},t.a=WidgetContextRenderer}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return y}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",f="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],m=[].concat(g),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(f).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,d,g,m,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,g=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(f).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(f).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,_(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g}));var r="non_https_site",a="modules/reader-revenue-manager",i="reader-revenue-manager",o={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},c="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="readerRevenueManagerNoticesForm",d="showPublicationCreate",f="resetPublications",g="syncPublication"},508:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(371),o=n(0),c=n(38),l=n(2),s=n(3),u=n(10),d=n(25),f=n(176),g=n(557),m=n(181),p=n(19),h=n(6),v=n(48),b=n(17),E=n(558),_=n(559),O=n(560),y=n(20),k=n(8),j=n(110),S=n(18);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,a=Object(S.a)(),i=Object(d.e)(),g=i===d.b,m=i===d.c,w=Object(f.a)(v.d),x=Object(o.useCallback)((function(){Object(k.J)("".concat(a,"_rrm-setup-notification"),"confirm_notification").finally((function(){w()}))}),[w,a]),C=Object(j.b)(v.f),N=Object(j.c)(v.f).isTooltipVisible,A=Object(s.useSelect)((function(e){return e(h.a).isPromptDismissed(v.f)})),T=Object(s.useSelect)((function(e){return e(h.a).getPromptDismissCount(v.f)})),D=Object(s.useSelect)((function(e){return e(h.a).hasFinishedResolution("getDismissedPrompts",[])})),R=Object(s.useDispatch)(h.a),M=R.dismissPrompt,B=R.triggerSurvey,L=Object(o.useCallback)((function(){Object(k.J)("".concat(a,"_rrm-setup-notification"),"dismiss_notification").finally((function(){var e=T<1?2*k.g:0;C(),M(v.f,{expiresInSeconds:e})}))}),[T,M,C,a]),F=Object(s.useSelect)((function(e){return e(p.a).canActivateModule(v.d)})),I=!1===A&&F&&!0===D;return Object(o.useEffect)((function(){I&&(Object(k.J)("".concat(a,"_rrm-setup-notification"),"view_notification"),B("view_reader_revenue_manager_cta"))}),[I,B,a]),N?e.createElement(o.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(l.__)("You can always enable Reader Revenue Manager from Settings later","google-site-kit"),dismissLabel:Object(l.__)("Got it","google-site-kit"),tooltipStateKey:v.f})):I?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(b.e,{className:"googlesitekit-widget-area"},e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(b.e,{collapsed:!0},e.createElement(b.k,null,e.createElement(b.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(c.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(y.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})}),e.createElement("br",null),e.createElement("br",null),Object(l.__)("* Support for subscriptions coming soon","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:x},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:L},T<1?Object(l.__)("Maybe later","google-site-kit"):Object(l.__)("Don’t show again","google-site-kit")))),!g&&!m&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(E.a,null)),m&&e.createElement(b.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(_.a,null)),g&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(O.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:a.a.elementType.isRequired,WidgetNull:a.a.elementType.isRequired},t.a=Object(i.a)(Object(g.a)({moduleName:v.d}),Object(m.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),a=n(18),i=r.n,o=r.l;function c(){var e=Object(a.a)();return e===r.n||e===r.o?i:e===r.l||e===r.m?o:null}},531:function(e,t,n){"use strict";(function(e){var r=n(31),a=n(2),i=n(6),o=(e._googlesitekitUserData||{}).hasMultipleAdmins,c=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(a.__)("Manage view access for other roles","google-site-kit"),content:Object(a.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];o&&c.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(a.__)("Share management with other admins","google-site-kit"),content:Object(a.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:c,callback:function(e,t){var n=e.type,a=t.select,o=t.dispatch;r.b.TOOLTIP===n&&!1===a(i.a).isTourDismissed("dashboardSharing")&&o(i.a).dismissTour("dashboardSharing")}}}).call(this,n(26))},543:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),a=n(213),i=n(555),o=n(556),c=n(35),l=n(18),s=n(52),u=n(80),d=n(8),f=n(10),g=n(3),m=n(6),p=n(24),h=n(22),v=n(48);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(c.a)(),b=Object(s.c)(),E=Object(g.useSelect)((function(e){return e(m.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),_=Object(g.useDispatch)(p.b).dismissOverlayNotification,O=Object(g.useSelect)((function(e){return e(v.b).getServiceURL()})),y=Object(g.useSelect)((function(e){return e(p.b).getValue(v.k)})),k=!1===E&&!0===y&&!n&&b===h.n,j=Object(g.useSelect)((function(e){return e(m.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){_("rrmPublicationApprovedOverlayNotification")};return e.createElement(a.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:i.a,GraphicMobile:o.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:k,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(f.Button,{tertiary:!0,disabled:j,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(f.Button,{disabled:j,href:O,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},544:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RRMSetupSuccessSubtleNotification}));var a=n(21),i=n.n(a),o=n(7),c=n.n(o),l=n(15),s=n.n(l),u=n(0),d=n(2),f=n(3),g=n(193),m=n(333),p=n(28),h=n(48),v=n(209),b=n(265),E=n(192),_=h.c.ONBOARDING_COMPLETE,O=h.c.PENDING_VERIFICATION,y=h.c.ONBOARDING_ACTION_REQUIRED;function RRMSetupSuccessSubtleNotification(t){var n=t.id,a=t.Notification,o=Object(g.a)("notification"),l=s()(o,2)[1],k=Object(g.a)("slug"),j=s()(k,2)[1],S=[O,y],w=Object(f.useSelect)((function(e){return e(h.b).getPublicationOnboardingState()})),x=Object(f.useSelect)((function(e){return e(h.b).getPublicationID()})),C=Object(f.useSelect)((function(e){return e(h.b).getServiceURL({path:"reader-revenue-manager",query:{publication:x}})})),N=Object(f.useSelect)((function(e){return e(p.a).getValue(h.e,h.j)&&S.includes(w)})),A=Object(f.useDispatch)(p.a).setValues,T=Object(f.useDispatch)(h.b).syncPublicationOnboardingState,D=function(){l(void 0),j(void 0)},R=function(t){t.preventDefault(),S.includes(w)&&A(h.e,c()({},h.j,!0)),e.open(C,"_blank")},M=Object(u.useCallback)((function(){N&&T()}),[N,T]);Object(m.a)(M,15e3);var B={gaTrackingEventArgs:{label:w}};return w===_?r.createElement(a,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),dismissCTA:r.createElement(E.a,i()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,i()({id:n,ctaLabel:Object(d.__)("Customize settings","google-site-kit"),ctaLink:C,onCTAClick:R,isCTALinkExternal:!0},B))})):w===O?r.createElement(a,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,i()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,i()({id:n,ctaLabel:Object(d.__)("Check publication status","google-site-kit"),ctaLink:C,onCTAClick:R,isCTALinkExternal:!0},B))})):w===y?r.createElement(a,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,i()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,i()({id:n,ctaLabel:Object(d.__)("Complete publication setup","google-site-kit"),ctaLink:C,onCTAClick:R,isCTALinkExternal:!0},B)),type:"warning"})):null}}).call(this,n(26),n(4))},554:function(e,t,n){"use strict";var r=n(543);n.d(t,"a",(function(){return r.a}));n(508);var a=n(544);n.d(t,"b",(function(){return a.a}))},555:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",a({viewBox:"0 0 348 163",fill:"none"},e),i,o)}},556:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",a({viewBox:"0 0 343 118",fill:"none"},e),i,o)}},557:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),a=n(19),i=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent;return function(t){function WhenInactiveComponent(i){var c=Object(r.useSelect)((function(e){return e(a.a).getModule(n)}),[n]);if(!c)return null;var l=o||i.WidgetNull||null;return!0===c.active?l&&e.createElement(l,i):e.createElement(t,i)}return WhenInactiveComponent.displayName="When".concat(Object(i.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},558:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",a({viewBox:"0 0 479 272",fill:"none"},e),i,o,c,l,s,u,d)}},559:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",a({viewBox:"0 0 553 140",fill:"none"},e),i,o)}},560:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",a({viewBox:"0 0 343 140",fill:"none"},e),i,o)}},564:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgCheck(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},588:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNewBadge}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(6),l=n(263),s=n(8),u=n(46);function WidgetNewBadge(t){var n=t.slug,r=Object(o.useSelect)((function(e){return e(u.a).getWidgetArea(n)})).hasNewBadge,a="widget-area-expirable-new-badge-".concat(n),d=Object(o.useSelect)((function(e){return e(c.a).hasExpirableItem(a)})),f=Object(o.useSelect)((function(e){return e(c.a).isExpirableItemActive(a)})),g=r&&(!1===d||f),m=Object(o.useDispatch)(c.a).setExpirableItemTimers;return Object(i.useEffect)((function(){void 0!==d&&void 0!==f&&r&&!d&&m([{slug:a,expiresInSeconds:4*s.g}])}),[r,a,d,f,m]),!!g&&e.createElement(l.a,null)}WidgetNewBadge.propTypes={slug:a.a.string.isRequired}}).call(this,n(4))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return A})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return R})),n.d(t,"B",(function(){return M})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return L})),n.d(t,"k",(function(){return F})),n.d(t,"F",(function(){return I})),n.d(t,"z",(function(){return P})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return W})),n.d(t,"i",(function(){return H})),n.d(t,"p",(function(){return G})),n.d(t,"Q",(function(){return V})),n.d(t,"P",(function(){return U}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",x="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",N="kmAnalyticsTopConvertingTrafficSource",A="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",M="kmAnalyticsTopTrafficSourceDrivingAddToCart",B="kmAnalyticsTopTrafficSourceDrivingLeads",L="kmAnalyticsTopTrafficSourceDrivingPurchases",F="kmAnalyticsPagesPerVisit",I="kmAnalyticsVisitLength",P="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",W="kmAnalyticsVisitsPerVisitor",H="kmAnalyticsMostEngagingPages",G="kmAnalyticsTopCategories",V=[h,v,b,E,_,O,y,k,G,j,S,w,x,C,N,A,D,R,M,F,I,P,W,H,G],U=[].concat(V,[z])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=n(22),a="core/notifications",i={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},611:function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(697);function ScrollEffect(){return Object(r.a)(),null}},612:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n(2),s=n(3),u=n(148),d=n(24),f=n(198),g=n(10);t.a=function OfflineNotification(){var t=Object(c.useState)(!1),n=a()(t,2),r=n[0],i=n[1],m=Object(s.useSelect)((function(e){return e(d.b).getIsOnline()}));return Object(c.useEffect)((function(){m&&r&&i(!1)}),[m,r]),e.createElement("div",{"aria-live":"polite"},!m&&!r&&e.createElement("div",{className:o()("googlesitekit-margin-top-0","googlesitekit-margin-bottom-0","googlesitekit-settings-notice-offline-notice","googlesitekit-settings-notice","googlesitekit-settings-notice--single-row","googlesitekit-settings-notice--".concat(u.b))},e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(f.a,{notice:Object(l.__)("You are currently offline. Some features may not be available.","google-site-kit")})),e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{onClick:function(){i(!0)}},Object(l.__)("OK, Got it!","google-site-kit")))))}}).call(this,n(4))},613:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleDashboardEffects}));var r,a=n(27),i=n.n(a),o=n(7),c=n.n(o),l=n(3),s=n(19),u=n(52),d=(r={},c()(r,u.b,"DashboardMainEffectComponent"),c()(r,u.a,"DashboardEntityEffectComponent"),r);function ModuleDashboardEffects(){var t=Object(u.c)(),n=Object(l.useSelect)((function(e){return e(s.a).getModules()}));if(!n)return null;var r=d[t];return Object.values(n).reduce((function(t,n){var a=n[r];return n.active&&a?[].concat(i()(t),[e.createElement(a,{key:n.slug})]):t}),[])}}).call(this,n(4))},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(15),f=n.n(d),g=n(1),m=n.n(g),p=n(12),h=n.n(p),v=n(221),b=n(222),E=n(91),_=n(79),O=n(0),y=n(109),k=n(3),j=n(17),S=n(89),w=n(41),x=n(25),C=n(195),N=n(196),A=n(197),T=n(201),D=n(202),R=n(74),M=n(113),B=n(121),L=n(32),F=n(203);function BannerNotification(t){var n,r=t.badgeLabel,i=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,p=t.description,I=t.dismiss,P=t.dismissExpires,z=void 0===P?0:P,W=t.format,H=void 0===W?"":W,G=t.id,V=t.isDismissible,U=void 0===V||V,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,X=t.learnMoreTarget,Y=void 0===X?R.a.EXTERNAL:X,$=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ae=t.showOnce,ie=void 0!==ae&&ae,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,fe=t.smallWinImageSVGWidth,ge=void 0===fe?75:fe,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,ve=void 0===he?105:he,be=t.mediumWinImageSVGHeight,Ee=void 0===be?105:be,_e=t.rounded,Oe=void 0!==_e&&_e,ye=t.footer,ke=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=f()(Se,2),xe=we[0],Ce=we[1],Ne=Object(O.useState)(!1),Ae=f()(Ne,2),Te=Ae[0],De=Ae[1],Re="notification::dismissed::".concat(G),Me=function(){return Object(w.f)(Re,new Date,{ttl:null})},Be=Object(_.a)(),Le=Object(x.e)(),Fe=Object(v.a)(),Ie=Object(O.useState)(!1),Pe=f()(Ie,2),ze=Pe[0],We=Pe[1],He=Object(O.useRef)(),Ge=Object(b.a)(He,{rootMargin:"".concat(-Object(B.a)(Object(S.c)(Le)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!ze&&(null==Ge?void 0:Ge.isIntersecting)&&("function"==typeof te&&te(),We(!0))}),[G,te,ze,Ge]);var Ve=Be>=600;Object(E.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(z>0)){e.next=3;break}return e.next=3,$e();case 3:if(!U){e.next=9;break}return e.next=6,Object(w.d)(Re);case 6:t=e.sent,n=t.cacheHit,De(n);case 9:if(!ie){e.next=12;break}return e.next=12,Me();case 12:case"end":return e.stop()}}),e)}))));var Ue=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(y.a)(g)&&"_blank"!==m,Ke=function(){return qe||Ce(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Me();case 2:Fe()&&De(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(k.useSelect)((function(e){return!!g&&e(L.a).isNavigatingTo(g)})),Xe=Object(k.useDispatch)(L.a).navigateTo,Ye=function(){var e=u()(l.a.mark((function e(t){var n,r,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,a=r.dismissOnCTAClick,n=void 0===a||a;case 12:if(!U||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Xe(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Re);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(z,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Re);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&U&&(void 0===Te||Te))return null;var Ze=!Je&&xe?"is-closed":"is-open",Qe=Object(M.d)(H),et=Object(M.c)(H),tt=Object(M.a)(H),nt=Object(M.b)({format:H,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(C.a,{id:G,className:h()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(H),H),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ke,ref:He},$&&e.createElement(D.a,{module:Z,moduleName:Q}),oe&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(j.a,a()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(N.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:ge,winImageFormat:H,WinImageSVG:!Ve&&de?se:void 0}),e.createElement(F.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:Y,learnMoreDescription:q,onLearnMoreClick:re}),i,e.createElement(A.a,{ctaLink:g,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:Ye,dismissLabel:U?I:void 0,dismissCallback:Ue}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ve||!de)&&e.createElement(j.a,a()({},Qe,et,{alignBottom:"larger"===H,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(H)},e.createElement(se,{style:{maxWidth:ve,maxHeight:Ee}}))),e.createElement(T.a,{type:le}))}n.d(t,"a",(function(){return R.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(R.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,a=t.noPrefix;if(!n)return null;var l=n;void 0!==a&&a||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(i.a)(r)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:a.a.string.isRequired,reconnectURL:a.a.string,noPrefix:a.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},675:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingSettingsButton}));var r=n(2),a=n(0),i=n(3),o=n(10),c=n(395),l=n(18),s=n(8),u=n(28),d=n(24),f=n(14),g=n(9),m=n(147),p=n(676);function DashboardSharingSettingsButton(){var t=Object(l.a)(),n=Object(i.useDispatch)(d.b).setValue,h=Object(i.useSelect)((function(e){return e(f.c).hasMultipleAdmins()})),v=Object(i.useSelect)((function(e){return e(u.a).getValue(g.d,"isAutoCreatingCustomDimensionsForAudience")})),b=Object(a.useCallback)((function(){Object(s.J)("".concat(t,"_headerbar"),"open_sharing",h?"advanced":"simple"),n(m.c,!0)}),[n,t,h]);return e.createElement(a.Fragment,null,e.createElement(o.Button,{"aria-label":Object(r.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:b,icon:e.createElement(c.a,{width:20,height:20}),tooltipEnterDelayInMS:500,disabled:v}),e.createElement(p.a,null))}}).call(this,n(4))},676:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingDialog}));var r=n(792),a=n(12),i=n.n(a),o=n(2),c=n(0),l=n(38),s=n(254),u=n(1156),d=n(3),f=n(10),g=n(24),m=n(6),p=n(14),h=n(19),v=n(147),b=n(25),E=n(531),_=n(76),O=n(17),y=n(395),k=n(20),j=n(677),S=n(680);function DashboardSharingDialog(){var t=Object(b.e)(),n=Object(r.a)().y,a=Object(d.useDispatch)(g.b).setValue,w=Object(d.useDispatch)(m.a).triggerOnDemandTour,x=Object(d.useDispatch)(h.a).rollbackSharingSettings,C=Object(d.useSelect)((function(e){return!!e(g.b).getValue(v.c)})),N=Object(d.useSelect)((function(e){return!!e(g.b).getValue(v.b)})),A=Object(d.useSelect)((function(e){return e(g.b).getValue(v.a)})),T=Object(d.useSelect)((function(e){return e(h.a).haveSharingSettingsChanged()})),D=Object(d.useSelect)((function(e){return e(p.c).getDocumentationLinkURL("dashboard-sharing")})),R=Object(c.useRef)(),M=Object(c.useCallback)((function(){R.current||(R.current=!0,w(E.a))}),[w]),B={};t===b.b&&(B.top="".concat(n<46?46-n:0,"px"),B.height="calc(100% - 46px + ".concat(n<46?n:46,"px)")),Object(c.useEffect)((function(){!C&&T&&x()}),[C,T,x]);var L=Object(c.useCallback)((function(){a(v.c,!0)}),[a]),F=Object(c.useCallback)((function(){a(v.c,!1),a(v.a,void 0)}),[a]),I=Object(c.useCallback)((function(){F(),a(v.b,!0)}),[F,a]),P=Object(c.useCallback)((function(){a(v.b,!1),L()}),[L,a]),z=Object(c.useCallback)((function(){if(N)return P(),null;F()}),[P,F,N]);return e.createElement(_.a,null,e.createElement(O.b,{open:C||N,onOpen:M,onClose:z,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:B,escapeKeyAction:void 0===A?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":t!==b.b},e.createElement(f.Button,{"aria-label":Object(o.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:z},e.createElement(s.a,{icon:u.a}))),e.createElement(O.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},C&&e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":t===b.b},e.createElement("span",null,e.createElement(y.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},C&&Object(o.__)("Dashboard sharing & permissions","google-site-kit"),N&&Object(o.__)("Reset Dashboard Sharing permissions","google-site-kit")),e.createElement("p",{className:i()("googlesitekit-dialog__subtitle",{"googlesitekit-dialog__subtitle--emphasis":N})},C&&Object(l.a)(Object(o.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(k.a,{"aria-label":Object(o.__)("Learn more about dashboard sharing","google-site-kit"),href:D,external:!0})}),N&&Object(o.__)("Warning: Resetting these permissions will remove view-only access for all users. Are you sure you want to reset all Dashboard Sharing permissions?","google-site-kit")))),C&&e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(j.a,null))),e.createElement(O.d,{className:"googlesitekit-dialog__footer"},e.createElement(S.a,{closeDialog:z,openResetDialog:I}))))}}).call(this,n(4))},677:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var a=n(12),i=n.n(a),o=n(2),c=n(3),l=n(678),s=n(19),u=n(14),d=n(6);function DashboardSharingSettings(){var t=Object(c.useSelect)((function(e){return e(s.a).hasRecoverableModules()})),n=Object(c.useSelect)((function(e){return e(u.c).hasMultipleAdmins()})),a=t||n,f=Object(c.useSelect)((function(t){for(var n=t(d.a).getID(),r=t(s.a).getShareableModules(),a=[],i=[],o=[],c=0,l=Object.values(r);c<l.length;c++){var u;(null===(u=(e=l[c]).owner)||void 0===u?void 0:u.id)===n?a.push(e):t(d.a).hasCapability(d.J,e.slug)?i.push(e):o.push(e)}return[].concat(a,i,o)}));return void 0===f?null:r.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":a})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),a&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},f.map((function(e){var t=e.slug,n=e.name,a=e.owner,i=e.recoverable;return r.createElement(l.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==a?void 0:a.login,recoverable:i})}))))}}).call(this,n(913)(e),n(4))},678:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(2),u=n(254),d=n(573),f=n(0),g=n(38),m=n(10),p=n(3),h=n(177),v=n(679),b=n(18),E=n(19),_=n(14),O=n(24),y=n(147),k=n(8),j=n(6),S=n(212),w=n(20),x=[{value:"owner",label:Object(s.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(s.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,i=t.ownerUsername,o=t.recoverable,c=Object(b.a)(),C=Object(f.useRef)(),N=Object(f.useState)(void 0),A=a()(N,2),T=A[0],D=A[1],R=Object(p.useSelect)((function(e){return e(E.a).hasRecoverableModules()})),M=Object(p.useSelect)((function(e){return e(_.c).hasMultipleAdmins()})),B=R||M,L=Object(p.useSelect)((function(e){var t;return null!==(t=e(E.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),F=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.I,n)})),I=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.J,n)})),P=Object(p.useSelect)((function(e){return e(E.a).getSharedOwnershipModules()})),z=Object(p.useSelect)((function(e){return e(O.b).getValue(y.a)})),W=Object(p.useSelect)((function(e){return e(E.a).isDoingSubmitSharingChanges()})),H=Object(p.useSelect)((function(e){return e(_.c).getDocumentationLinkURL("dashboard-sharing-module-recovery")})),G=Object(p.useDispatch)(E.a).setSharingManagement,V=P&&Object.keys(P).includes(n);Object(f.useEffect)((function(){D(V?"all_admins":L)}),[L,V]);var U=Object(p.useSelect)((function(e){return e(E.a).haveModuleSharingSettingsChanged(n,"management")}));Object(f.useEffect)((function(){U&&Object(k.J)("".concat(c,"_sharing"),"change_management_".concat(L),n)}),[U,L,n,c]);var q=Object(f.useCallback)((function(e){var t=e.target.value;D(t),G(n,t)}),[G,D,n]),K=n===z,J=!K&&void 0!==z||W;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":K,"googlesitekit-dashboard-sharing-settings__row--disabled":J}),ref:C},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(h.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},I&&e.createElement(v.a,{moduleSlug:n,isLocked:J,ref:C}),o&&e.createElement(S.a,null,Object(g.a)(Object(s.__)("Managing user required to manage view access. <Link>Learn more</Link>","google-site-kit"),{Link:e.createElement(w.a,{href:H,external:!0,hideExternalIndicator:!0})})),!I&&!o&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(s.__)("Contact managing user to manage view access","google-site-kit"))),B&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},V&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(s.__)("Any admin signed in with Google","google-site-kit")),e.createElement(m.Tooltip,{title:Object(s.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit")},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18})))),!V&&F&&e.createElement(m.Select,{className:"googlesitekit-dashboard-sharing-settings__select",value:T,options:x,onChange:q,onClick:q,outlined:!0}),!V&&!F&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(g.a)(Object(s.sprintf)( /* translators: %s: user who manages the module. */ Object(s.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(m.Tooltip,{title:I?Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("Contact %s to change who can manage view access for this module","google-site-kit"),i)},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(4))},679:function(e,t,n){"use strict";(function(e){var r=n(27),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(2),u=n(56),d=n(0),f=n(3),g=n(10),m=n(20),p=n(395),h=n(564),v=n(18),b=n(129),E=n(8),_=n(19),O=n(24),y=n(147),k=Object(s.__)("All","google-site-kit"),j=Object(d.forwardRef)((function(t,n){var r=t.moduleSlug,i=t.isLocked,o=void 0!==i&&i,c=Object(v.a)(),j=Object(d.useRef)(),S=Object(f.useDispatch)(_.a).setSharedRoles,w=Object(f.useDispatch)(O.b).setValue,x=Object(f.useSelect)((function(e){return e(_.a).getShareableRoles()})),C=Object(f.useSelect)((function(e){return e(_.a).getSharedRoles(r)})),N=Object(f.useSelect)((function(e){return e(O.b).getValue(y.a)}))===r;Object(b.a)([u.c],n,(function(){N&&w(y.a,void 0)}));var A=Object(f.useSelect)((function(e){return e(_.a).haveModuleSharingSettingsChanged(r,"sharedRoles")})),T=Object(d.useCallback)((function(){N?(w(y.a,void 0),A&&Object(E.J)("".concat(c,"_sharing"),"change_shared_roles",r)):w(y.a,r)}),[N,A,r,w,c]);Object(d.useEffect)((function(){j.current&&(N?j.current.firstChild.focus():j.current.focus())}),[N]);var D=Object(d.useCallback)((function(e){var t,n=e.type,i=e.target,o=e.keyCode;if("keydown"!==n||o===u.b){var c,l=i.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)c="all"===s?(null==C?void 0:C.length)===(null==x?void 0:x.length)?[]:x.map((function(e){return e.id})):null===C?[s]:C.includes(s)?C.filter((function(e){return e!==s})):[].concat(a()(C),[s]),S(r,c)}}),[r,S,C,x]);return x?e.createElement("div",{className:l()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":N})},!N&&e.createElement(g.Button,{"aria-label":Object(s.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(p.a,{width:23,height:23}),tabIndex:o?-1:void 0,ref:j}),!N&&(null==C?void 0:C.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==x?void 0:x.reduce((function(e,t){return C.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!N&&(!C||0===(null==C?void 0:C.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(m.a,{onClick:T,tabIndex:o?-1:void 0},Object(s.__)("Add roles","google-site-kit"))),N&&e.createElement(d.Fragment,null,e.createElement("div",{className:"googlesitekit-user-role-select__chipset",ref:j},e.createElement(g.Chip,{id:"all",label:k,onClick:D,onKeyDown:D,selected:(null==C?void 0:C.length)===(null==x?void 0:x.length),className:"googlesitekit-user-role-select__chip--all"}),x.map((function(t,n){var r=t.id,a=t.displayName;return e.createElement(g.Chip,{key:n,id:r,label:a,onClick:D,onKeyDown:D,selected:null==C?void 0:C.includes(r)})}))),e.createElement(g.Button,{"aria-label":Object(s.__)("Done editing roles","google-site-kit"),title:Object(s.__)("Done","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(h.a,{width:18,height:18}),tabIndex:o?-1:void 0}))):null}));j.propTypes={moduleSlug:o.a.string.isRequired,isLocked:o.a.bool},t.a=j}).call(this,n(4))},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return E}));var r=n(7),a=n.n(r),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,f=function SvgSuggestionIcon(e){return i.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},g=n(182),m=n(92),p="warning",h="info",v="suggestion",b=(d={},a()(d,h,l),a()(d,p,g.a),a()(d,v,f),d),E=function(e){return b[e]||m.a}},680:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(2),f=n(0),g=n(10),m=n(3),p=n(19),h=n(24),v=n(147),b=n(18),E=n(8),_=n(20),O=n(681),y=n(67);function Footer(t){var n=t.closeDialog,r=t.openResetDialog,i=Object(b.a)(),c=Object(f.useState)(null),s=l()(c,2),u=s[0],k=s[1],j=Object(f.useState)(!1),S=l()(j,2),w=S[0],x=S[1],C=Object(m.useSelect)((function(e){return e(p.a).canSubmitSharingChanges()})),N=Object(m.useSelect)((function(e){return e(p.a).isDoingSubmitSharingChanges()})),A=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("management")})),T=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("sharedRoles")})),D=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsUpdated()})),R=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.c)})),M=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.b)})),B=Object(m.useDispatch)(p.a),L=B.resetSharingSettings,F=B.saveSharingSettings,I=Object(m.useDispatch)(h.b).setValue,P=Object(f.useCallback)(o()(a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),e.next=3,F();case 3:if(t=e.sent,!(r=t.error)){e.next=8;break}return k(r.message),e.abrupt("return");case 8:Object(E.J)("".concat(i,"_sharing"),"settings_confirm"),I(v.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[i,F,I,n]),z=Object(f.useCallback)(o()(a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),x(!0),e.next=4,L();case 4:if(t=e.sent,!(r=t.error)){e.next=9;break}return k(r.message),e.abrupt("return");case 9:x(!1),n();case 11:case"end":return e.stop()}}),e)}))),[n,L]),W=Object(f.useCallback)((function(){Object(E.J)("".concat(i,"_sharing"),"settings_cancel"),n()}),[n,i]),H=u||A||T;return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},H&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(y.a,{message:u}),!u&&e.createElement(O.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},D&&R&&!H&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-left"},e.createElement(_.a,{onClick:r,danger:!0},Object(d.__)("Reset sharing permissions","google-site-kit"))),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-right"},e.createElement(g.Button,{tertiary:!0,onClick:W},Object(d.__)("Cancel","google-site-kit")),R&&e.createElement(g.SpinnerButton,{onClick:P,disabled:N||!C,isSaving:N},Object(d.__)("Apply","google-site-kit")),M&&e.createElement(g.SpinnerButton,{onClick:z,disabled:w,isSaving:w,danger:!0},Object(d.__)("Reset","google-site-kit")))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(4))},681:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(2),a=n(38),i=n(3),o=n(19);function Notice(){var t=Object(i.useSelect)((function(e){return e(o.a).canSubmitSharingChanges()})),n=Object(i.useSelect)((function(e){return e(o.a).haveSharingSettingsExpanded("management")})),c=Object(i.useSelect)((function(e){return e(o.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&c&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(4))},682:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(15),a=n.n(r),i=n(7),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(79),f=n(0),g=n(3),m=n(181),p=n(89),h=n(46),v=n(24),b=n(17),E=n(25),_=n(204),O=n(683),y=n(684),k=n(685),j=n(35),S=n(6),w=n(252),x=n(686);function C(e){var t,n=(t={},o()(t,E.d,48),o()(t,E.a,48),o()(t,E.c,32),o()(t,E.b,32),t)[e],r=Math.abs(Object(p.b)(e)+n);return"".concat(-r,"px ").concat(-n,"px ").concat(-n,"px ").concat(-n,"px")}function WidgetAreaRenderer(t){var n,r=t.slug,i=t.contextID,c=Object(j.a)(),l=Object(g.useSelect)((function(e){return c?e(S.a).getViewableModules():null})),s=Object(d.a)(),p=Object(E.e)(),N=Object(f.useRef)(),A=Object(w.a)(N,{rootMargin:C(p),threshold:0}),T=Object(g.useSelect)((function(e){return e(h.a).getWidgetArea(r)})),D=T.Icon,R=T.title,M=T.style,B=T.subtitle,L=T.CTA,F=T.Footer,I=Object(g.useSelect)((function(e){return e(h.a).getWidgets(r,{modules:l||void 0})})),P=Object(g.useSelect)((function(e){return e(h.a).getWidgetStates()})),z=Object(g.useSelect)((function(e){return e(h.a).isWidgetAreaActive(r,{modules:l||void 0})})),W=Object(g.useSelect)((function(e){return e(v.b).getValue(v.a)})),H=Object(f.useState)({key:"WidgetAreaRenderer-".concat(r),value:W?W===i:!!(null==A?void 0:A.intersectionRatio)}),G=a()(H,2),V=G[0],U=G[1];Object(f.useEffect)((function(){U({key:"WidgetAreaRenderer-".concat(r),value:W?W===i:!!(null==A?void 0:A.intersectionRatio)})}),[A,r,W,i]);var q=L&&s<=782;if(void 0===l)return null;var K=Object(m.d)(I,P),J=K.columnWidths,X=K.rowIndexes,Y=Object(m.b)(I,P,{columnWidths:J,rowIndexes:X}),$=Y.gridColumnWidths,Z=Y.overrideComponents,Q=I.map((function(t,n){return e.createElement(y.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:$[n]},e.createElement(k.a,{slug:t.slug},e.createElement(O.a,{OverrideComponent:Z[n]?function(){var t=Z[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug})))}));return e.createElement(_.a,{value:V},!!z&&e.createElement(b.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(M)),ref:N},e.createElement(b.k,null,e.createElement(b.a,{className:"googlesitekit-widget-area-header",size:12},e.createElement(x.a,{slug:r,Icon:D,title:R,subtitle:B,CTA:L}))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(b.k,null,M===h.b.BOXES&&Q,M===h.b.COMPOSITE&&e.createElement(b.a,{size:12},e.createElement(b.e,null,e.createElement(b.k,null,Q))))),e.createElement(b.k,null,q&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:4,smSize:2},e.createElement("div",{className:"googlesitekit-widget-area-footer__cta"},e.createElement(L,null))),F&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:q?4:8,smSize:q?2:4},e.createElement(F,null)))),!z&&e.createElement(b.e,{className:u()(m.a,"googlesitekit-widget-area",(n={},o()(n,"googlesitekit-widget-area--".concat(r),!!r),o()(n,"googlesitekit-widget-area--".concat(M),!!M),n)),ref:N},Q))}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(4))},683:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(13),o=n(0),c=n(3),l=n(46),s=n(19),u=n(229),d=n(230),f=n(181),g=n(96),m=n(35),p=n(25);function WidgetRenderer(t){var n,r=t.slug,a=t.OverrideComponent,h=Object(c.useSelect)((function(e){return e(l.a).getWidget(r)})),v=Object(p.e)(),b=Object(f.c)(r),E=b.Widget,_=b.WidgetNull,O=Object(c.useSelect)((function(e){return e(s.a).getRecoverableModules()})),y=Object(m.a)(),k=Object(o.useMemo)((function(){return h&&O&&Object(i.intersection)(h.modules,Object.keys(O))}),[O,h]),j=Object(c.useSelect)((function(e){return e(l.a).isWidgetPreloaded(r)}));if(!h||void 0===k||(null==h||null===(n=h.hideOnBreakpoints)||void 0===n?void 0:n.includes(v)))return e.createElement(_,null);var S=h.Component,w=h.wrapWidget,x=e.createElement(S,b);return y&&(null==k?void 0:k.length)&&(x=e.createElement(d.a,{widgetSlug:r,moduleSlugs:k})),a?x=e.createElement(o.Fragment,null,e.createElement(u.a,{widgetSlug:"overridden"},e.createElement(a,null)),e.createElement("div",{className:g.a},x)):w&&(x=e.createElement(E,null,x)),j?e.createElement("div",{className:g.a},x):x}WidgetRenderer.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=WidgetRenderer}).call(this,n(4))},684:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(96),o=n(17);function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)}WidgetCellWrapper.propTypes={gridColumnWidth:a.a.number.isRequired,children:a.a.element.isRequired},t.a=WidgetCellWrapper}).call(this,n(4))},685:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),l=n(215),s=n.n(l),u=n(69),d=n.n(u),f=n(70),g=n.n(f),m=n(49),p=n.n(m),h=n(186),v=n.n(h),b=n(1),E=n.n(b),_=n(0),O=n(2),y=n(85),k=n(168),j=n(63),S=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g()(this,n)}}var x=function(t){d()(WidgetErrorHandler,t);var n=w(WidgetErrorHandler);function WidgetErrorHandler(e){var t;return i()(this,WidgetErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(s()(t)),t}return c()(WidgetErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Widget error:",t,n),this.setState({error:t,info:n}),Object(S.J)("widget_error","handle_".concat(this.context||"unknown","_error"),"".concat(this.props.slug,"_").concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500-this.props.slug.length-1))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement("div",{className:"googlesitekit-widget-error-handler"},r.createElement(y.a,{description:r.createElement(_.Fragment,null,r.createElement("p",null,Object(O.__)("An error prevented this Widget from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),r.createElement(k.a,{message:n.message,componentStack:a.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(O.__)("Error in Widget","google-site-kit")})):e}}]),WidgetErrorHandler}(_.Component);x.contextType=j.b,x.propTypes={children:E.a.node.isRequired},t.a=x}).call(this,n(26),n(4))},686:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaHeader}));var r=n(1),a=n.n(r),i=n(79),o=n(0),c=n(588);function WidgetAreaHeader(t){var n=t.slug,r=t.Icon,a=void 0!==r&&r,l=t.title,s=void 0===l?"":l,u=t.subtitle,d=void 0===u?"":u,f=t.CTA,g=Object(i.a)(),m=f&&g>=783,p="function"==typeof d?d:void 0;return e.createElement(o.Fragment,null,a&&e.createElement(a,{width:33,height:33}),s&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},s,e.createElement(c.a,{slug:n})),(d||f)&&e.createElement("div",{className:"googlesitekit-widget-area-header__details"},d&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},p&&e.createElement(p,null),!p&&d,!s&&e.createElement(c.a,{slug:n})),m&&e.createElement("div",{className:"googlesitekit-widget-area-header__cta"},e.createElement(f,null))))}WidgetAreaHeader.propTypes={slug:a.a.string.isRequired,Icon:a.a.bool,title:a.a.oneOfType([a.a.string,a.a.element]),subtitle:a.a.oneOfType([a.a.string,a.a.elementType]),CTA:a.a.elementType}}).call(this,n(4))},687:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(91),o=n(521),c=n(200),l=n(0),s=n(2),u=n(3),d=n(10),f=n(105),g=n(688),m=n(689),p=n(690),h=n(14),v=n(32),b=n(8),E=n(52),_=n(18);t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),O=r[0],y=r[1],k=Object(l.useState)(!1),j=a()(k,2),S=j[0],w=j[1],x=Object(l.useState)(!1),C=a()(x,2),N=C[0],A=C[1],T=Object(_.a)(),D=Object(E.c)(),R=Object(l.useRef)(),M=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"open_urlsearch"),y(!0)}),[T]),B=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"close_urlsearch"),y(!1)}),[T]),L=Object(l.useState)({}),F=a()(L,2),I=F[0],P=F[1],z=Object(u.useSelect)((function(e){return(null==I?void 0:I.url)?e(h.c).getAdminURL("googlesitekit-dashboard",{permaLink:I.url}):null})),W=Object(u.useDispatch)(v.a).navigateTo;return Object(l.useEffect)((function(){z&&Object(b.J)("".concat(T,"_headerbar_urlsearch"),"open_urldetails").finally((function(){W(z)}))}),[z,W,T]),Object(i.a)((function(){D===E.a&&y(!0)})),Object(o.a)((function(){var e;O||(null==R||null===(e=R.current)||void 0===e||e.focus())}),[O]),O?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(f.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(p.a,{id:t,match:I,setIsActive:A,setMatch:P,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:S,setIsLoading:w,showDropdown:N,onClose:B,autoFocus:!0}),S&&N&&e.createElement(d.ProgressBar,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(d.Button,{onClick:B,trailingIcon:e.createElement(m.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0,tooltipEnterDelayInMS:500}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(d.Button,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:M,text:!0,ref:R,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(g.a,{width:"20",height:"20"}),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(4))},688:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},689:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},690:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(338),f=n(0),g=n(2),m=n(56),p=n(42),h=n.n(p),v=n(3),b=n(691),E=n(14),_=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,i=t.setMatch,c=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,O=void 0===p?_:p,y=t.setIsActive,k=void 0===y?_:y,j=t.autoFocus,S=t.setCanSubmit,w=void 0===S?_:S,x=t.onClose,C=void 0===x?_:x,N=t.placeholder,A=void 0===N?"":N,T=Object(f.useRef)(),D=Object(f.useState)(""),R=l()(D,2),M=R[0],B=R[1],L=null==r?void 0:r.title,F=Object(b.a)(M,M===L?0:200),I=Object(f.useState)([]),P=l()(I,2),z=P[0],W=P[1],H=Object(g.__)("No results found","google-site-kit"),G=Object(v.useSelect)((function(e){return e(E.c).getCurrentEntityTitle()})),V=Object(f.useRef)(null),U=Object(f.useCallback)((function(){k(!0)}),[k]),q=Object(f.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(k(!1),B(null!==(n=null!==(r=V.current)&&void 0!==r?r:G)&&void 0!==n?n:""))}),[G,k]),K=Object(f.useCallback)((function(e){if(Array.isArray(z)&&e!==H){var t=z.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(V.current=t.title,w(!0),i(t),B(t.title)):V.current=null}else V.current=null,w(!1)}),[z,w,i,H,B]),J=Object(f.useCallback)((function(e){w(!1),B(e.target.value)}),[w]);Object(f.useEffect)((function(){if(""!==F&&F!==G&&(null==F?void 0:F.toLowerCase())!==(null==L?void 0:L.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return O(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(F)},{useCache:!1,signal:null==e?void 0:e.signal}),T.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,W(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),W(null);case 13:return t.prev=13,n===T.current&&O(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[F,O,G,L]),Object(f.useEffect)((function(){M||W([])}),[M]),Object(f.useEffect)((function(){G&&B(G)}),[G]);var X=Object(f.useRef)(),Y=Object(f.useCallback)((function(e){var t=X.current;switch(e.keyCode){case m.d:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.a:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.c:return C();case m.b:return K(M)}}),[C,K,M]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:X,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:q,onChange:J,onFocus:U,placeholder:A,onKeyDown:Y,value:M,autoFocus:j}),!c&&u&&F!==G&&""!==F&&0===(null==z?void 0:z.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:H,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==F&&F!==G&&(null==z?void 0:z.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},z.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(4))},691:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(15),a=n.n(r),i=n(0);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},692:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(15),a=n.n(r),i=n(217),o=n(12),c=n.n(o),l=n(0),s=n(56),u=n(2),d=n(3),f=n(10),g=n(693),m=n(6),p=n(129),h=n(8),v=n(24),b=n(18);function DateRangeSelector(){var t,n=Object(h.o)(),r=Object(d.useSelect)((function(e){return e(m.a).getDateRange()})),o=Object(d.useDispatch)(m.a).setDateRange,E=Object(d.useDispatch)(v.b).resetInViewHook,_=Object(l.useState)(!1),O=a()(_,2),y=O[0],k=O[1],j=Object(l.useRef)(),S=Object(b.a)();Object(i.a)(j,(function(){return k(!1)})),Object(p.a)([s.c,s.f],j,(function(){return k(!1)}));var w=Object(l.useCallback)((function(){k(!y)}),[y]),x=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(h.J)("".concat(S,"_headerbar"),"change_daterange",t),E(),o(t),k(!1)}),[n,r,E,o,S]),C=null===(t=n[r])||void 0===t?void 0:t.label,N=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:j,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:w,icon:e.createElement(g.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":y,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},C),e.createElement(f.Menu,{menuOpen:y,menuItems:N,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(4))},693:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",a({viewBox:"0 0 18 20"},e),i)}},694:function(e,t,n){"use strict";(function(e){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(222),f=n(2),g=n(0),m=n(38),p=n(3),h=n(10),v=n(32),b=n(14),E=n(6),_=n(181),O=n(17),y=n(695),k=n(696),j=n(110),S=n(67),w=n(20),x=n(18),C=n(35),N=n(8),A=n(270),T=n(25);function ConsentModeSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(g.useState)(!1),c=l()(i,2),s=c[0],u=c[1],_=Object(g.useState)(null),D=l()(_,2),R=D[0],M=D[1],B=Object(T.e)(),L=Object(x.a)(),F=Object(C.a)(),I=Object(p.useSelect)((function(e){return e(b.c).isConsentModeEnabled()})),P=Object(p.useSelect)((function(e){return e(b.c).isAdsConnected()})),z=Object(p.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-settings")})),W=Object(p.useSelect)((function(e){return e(b.c).getDocumentationLinkURL("consent-mode")})),H=Object(j.b)(A.a),G=Object(j.c)(A.a).isTooltipVisible,V=Object(p.useSelect)((function(e){return e(E.a).isPromptDismissed(A.a)})),U=Object(p.useSelect)((function(e){return e(E.a).getPromptDismissCount(A.a)})),q=Object(p.useSelect)((function(e){return e(b.c).isUsingProxy()})),K=Object(p.useDispatch)(b.c),J=K.setConsentModeEnabled,X=K.saveConsentModeSettings,Y=Object(p.useDispatch)(E.a),$=Y.dismissPrompt,Z=Y.triggerSurvey,Q=Object(p.useDispatch)(v.a).navigateTo,ee=Object(g.useRef)(),te=Object(d.a)(ee,{threshold:.25}),ne=Object(g.useState)(!1),re=l()(ne,2),ae=re[0],ie=re[1],oe=!!(null==te?void 0:te.intersectionRatio),ce=!F&&(s||!1===V&&!1===I&&P);if(Object(g.useEffect)((function(){oe&&!ae&&ce&&(Object(N.J)("".concat(L,"_CoMo-ads-setup-notification"),"view_notification"),q&&Z("view_como_setup_cta",{ttl:N.a}),ie(!0))}),[ae,oe,ce,Z,q,L]),G)return e.createElement(g.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(f.__)("You can always enable consent mode from Settings later","google-site-kit"),dismissLabel:Object(f.__)("Got it","google-site-kit"),tooltipStateKey:A.a}));if(!ce)return e.createElement(r,null);var le=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(null),u(!0),J(!0),t=[X(),Object(N.J)("".concat(L,"_CoMo-ads-setup-notification"),"confirm_notification")],q&&t.push(Z("enable_como",{ttl:N.a})),e.next=7,Promise.all(t);case 7:if(n=e.sent,r=l()(n,1),!(i=r[0].error)){e.next=16;break}M(i),J(!1),u(!1),e.next=19;break;case 16:return e.next=18,$(A.a);case 18:Q("".concat(z,"#/admin-settings"));case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=o()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(N.J)("".concat(L,"_CoMo-ads-setup-notification"),"dismiss_notification"),H(),!(U<2)){e.next=8;break}return t=2*N.g,e.next=6,$(A.a,{expiresInSeconds:t});case 6:e.next=10;break;case 8:return e.next=10,$(A.a);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(O.e,{className:"googlesitekit-widget-area"},e.createElement(O.k,null,e.createElement(O.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-consent-mode-setup-cta-widget"},e.createElement("div",{ref:ee,className:"googlesitekit-setup-cta-banner__cells"},e.createElement("div",{className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h3",{className:"googlesitekit-setup-cta-banner__title"},Object(f.__)("Enable Consent Mode to preserve tracking for your Ads campaigns","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(m.a)(Object(f.__)("Consent mode interacts with your Consent Management Platform (CMP) or custom implementation for obtaining visitor consent, such as a cookie consent banner. <a>Learn more</a>","google-site-kit"),{a:e.createElement(w.a,{href:W,external:!0,"aria-label":Object(f.__)("Learn more about consent mode","google-site-kit")})}))),R&&e.createElement(S.a,{message:R.message}),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(g.Fragment,null,e.createElement(h.SpinnerButton,{onClick:le,isSaving:s},Object(f.__)("Enable consent mode","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:se},U<2?Object(f.__)("Maybe later","google-site-kit"):Object(f.__)("Don’t show again","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__svg-wrapper"},B!==T.b&&B!==T.d?e.createElement(k.a,null):e.createElement(y.a,null))))))))}ConsentModeSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(_.g)("consent-mode-setup-cta")(ConsentModeSetupCTAWidget)}).call(this,n(4))},695:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M457.125 293.876a100.692 100.692 0 01-10.24 9.22c-34.362 26.944-62.751 26.901-102.055 21.983-26.57-3.323-42.093-15.97-78.319-13.981-36.226 1.989-45.507 11.196-89.85 8.247-35.101-2.334-77.689-.546-108.896-16.753C38.883 287.593 7.271 257.447 1.287 187.48c-5.984-69.967 10.507-112.4 55.75-144 55.679-38.889 109.66-3.521 151.33-6.5C250.038 34 253.263 21.115 272.038 4c21.904-19.968 63.565-24.71 89.214-14.054 27.786 6.054 50.219 29.28 58.202 58.922 6.077 22.573 3.427 65.335 19.584 86.632 22 29 37.449 37.613 44.519 71.5 6.139 29.431-8.182 68.021-26.432 86.876z",fill:"#b8e6ca"}),o=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter0_d_162_2908)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865V216.39c0 7.658 6.208 13.865 13.865 13.865h226.126c7.657 0 13.865-6.207 13.865-13.865V112.838c-23.762-3.629-41.965-24.154-41.965-48.93a50 50 0 01.487-6.976z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865v7.144h213.908a49.502 49.502 0 01-2.017-14.033 50 50 0 01.487-6.976z",fill:"#ebeef0"}),r.createElement("rect",{x:101.72,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:112.224,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:105.318,y:92.19,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:131.477,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:170.764,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:94.204,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:133.492,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:172.779,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:109.315,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:148.602,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:187.889,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M330.969 108.441a49.72 49.72 0 01-18.992-16.251h-30.916a5.498 5.498 0 00-5.498 5.497v101.83a5.499 5.499 0 005.498 5.498h44.41a5.499 5.499 0 005.498-5.498z",fill:"#ebeef0"}),r.createElement("circle",{cx:352.606,cy:63.908,r:42.5,fill:"#fff"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#8e68cb"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#a983e6"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68z",fill:"#8e68cb"}),r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#462083"}),r.createElement("circle",{opacity:.5,cx:353.354,cy:62.869,r:13.068,stroke:"#6e48ab",strokeWidth:2}),r.createElement("mask",{id:"consent-mode-setup_svg__a",maskUnits:"userSpaceOnUse",x:343,y:52,width:21,height:22},r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#d9d9d9"})),r.createElement("g",{mask:"url(#consent-mode-setup_svg__a)",fill:"#fff"},r.createElement("circle",{cx:353.554,cy:58.874,r:4.387}),r.createElement("ellipse",{cx:353.553,cy:72.036,rx:9.75,ry:7.8}))),c=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter1_d_162_2908)"},r.createElement("rect",{x:133.078,y:190.932,width:170.133,height:60.256,rx:6.098,fill:"#8e68cb"}),r.createElement("rect",{x:179.156,y:202.746,width:77.978,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:166.16,y:213.38,width:103.97,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:220.507,y:227.557,width:36.626,height:12.996,rx:6.498,fill:"#fff"}),r.createElement("rect",{x:180.156,y:228.557,width:34.626,height:10.996,rx:5.498,stroke:"#fff",strokeWidth:2})),l=r.createElement("defs",{id:"consent-mode-setup_svg__defs2017"},r.createElement("filter",{id:"consent-mode-setup_svg__filter0_d_162_2908",x:75.216,y:9.408,width:335.891,height:240.846,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood1983"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix1985"}),r.createElement("feOffset",{dy:4,id:"consent-mode-setup_svg__feOffset1987"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur1989"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite1991"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0",id:"consent-mode-setup_svg__feColorMatrix1993"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend1995"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend1997"})),r.createElement("filter",{id:"consent-mode-setup_svg__filter1_d_162_2908",x:117.078,y:182.932,width:202.133,height:92.256,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood2000"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix2002"}),r.createElement("feOffset",{dy:8,id:"consent-mode-setup_svg__feOffset2004"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur2006"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite2008"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",id:"consent-mode-setup_svg__feColorMatrix2010"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend2012"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend2014"})));t.a=function SvgConsentModeSetup(e){return r.createElement("svg",a({viewBox:"0 -16 485 344",fill:"none"},e),i,o,c,l)}},696:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M83.98 159.764c-4.962-58.006 8.71-93.185 46.219-119.383 46.16-32.24 93.301 3 123.801 3S297.5 29.5 318.5 16.5s41.907-19.5 65-13c23.093 6.5 41.382 24.926 48 49.5 5.039 18.714 8.966 41.618 27 54.5 28 20 53 30.5 47 57l-421.52-4.736z",fill:"#B8E6CA"}),o=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M371.208 75.834C353.685 73.158 340.26 58.02 340.26 39.75c0-1.746.123-3.464.36-5.145H194.225c-5.647 0-10.225 4.578-10.225 10.225v107.368c0 5.647 4.578 10.225 10.225 10.225h166.758c5.647 0 10.225-4.578 10.225-10.225V75.834z",fill:"#fff"}),c=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M340.62 34.605H194.225c-5.647 0-10.225 4.578-10.225 10.225v5.268h157.748a36.832 36.832 0 01-1.128-15.493z",fill:"#EBEEF0"}),l=r.createElement("rect",{x:191.746,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),s=r.createElement("rect",{x:199.493,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),u=r.createElement("rect",{x:194.4,y:60.606,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),d=r.createElement("rect",{x:194.4,y:89.579,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),f=r.createElement("rect",{x:194.4,y:118.552,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),g=r.createElement("rect",{x:218.916,y:62.092,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),m=r.createElement("rect",{x:218.916,y:91.065,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),p=r.createElement("rect",{x:218.916,y:120.038,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),h=r.createElement("rect",{x:218.916,y:73.236,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),v=r.createElement("rect",{x:218.916,y:102.208,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),b=r.createElement("rect",{x:218.916,y:131.181,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M360.808 72.59a36.656 36.656 0 01-14.006-11.984h-22.799a4.054 4.054 0 00-4.054 4.055v75.095a4.054 4.054 0 004.054 4.054h32.75a4.055 4.055 0 004.055-4.054V72.591z",fill:"#EBEEF0"}),_=r.createElement("circle",{cx:376.764,cy:39.75,r:31.342,fill:"#fff"}),O=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#8E68CB"}),y=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#A983E6"}),k=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737v-36.31z",fill:"#8E68CB"}),j=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#462083"}),S=r.createElement("circle",{opacity:.5,cx:377.316,cy:38.984,r:9.637,stroke:"#6E48AB",strokeWidth:1.475}),w=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#D9D9D9"}),x=r.createElement("g",{mask:"url(#consent-mode-setup-tablet_svg__a)",fill:"#fff"},r.createElement("circle",{cx:377.464,cy:36.037,r:3.236}),r.createElement("ellipse",{cx:377.463,cy:45.744,rx:7.19,ry:5.752})),C=r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter1_d_630_6357)"},r.createElement("rect",{x:214.872,y:86.424,width:125.466,height:44.436,rx:4.497,fill:"#8E68CB"}),r.createElement("rect",{x:248.852,y:95.137,width:57.505,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:239.268,y:102.979,width:76.674,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:279.347,y:113.434,width:27.01,height:9.584,rx:4.792,fill:"#fff"}),r.createElement("rect",{x:249.59,y:114.172,width:25.535,height:8.109,rx:4.055,stroke:"#fff",strokeWidth:1.475})),N=r.createElement("defs",null,r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter0_d_630_6357",x:172.201,y:-.442,width:247.705,height:177.614,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.95}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter1_d_630_6357",x:203.072,y:80.525,width:149.065,height:68.035,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.9}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("clipPath",{id:"consent-mode-setup-tablet_svg__clip0_630_6357"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgConsentModeSetupTablet(e){return r.createElement("svg",a({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#consent-mode-setup-tablet_svg__clip0_630_6357)"},i,r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter0_d_630_6357)"},o,c,l,s,u,d,f,g,m,p,h,v,b,E,_,O,y,k,j,S,r.createElement("mask",{id:"consent-mode-setup-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:369,y:31,width:17,height:16},w),x),C),N)}},697:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(15),a=n.n(r),i=n(792),o=n(0),c=function(){var t=Object(i.a)().y,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[c]),t>0&&!c?l(!0):0===t&&c&&l(!1),c}}).call(this,n(26))},698:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotificationsRenderer}));var r=n(0),a=n(210),i=n(353),o=n(699),c=n(702),l=n(554);function OverlayNotificationsRenderer(){var t=Object(a.a)("audienceSegmentation"),n=Object(a.a)("rrmModule");return e.createElement(r.Fragment,null,e.createElement(c.a,null),e.createElement(o.a,null),t&&e.createElement(i.a,null),n&&e.createElement(l.a,null))}}).call(this,n(4))},699:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification}));var a=n(0),i=n(2),o=n(10),c=n(3),l=n(700),s=n(701),u=n(22),d=n(24),f=n(6),g=n(19),m=n(25),p=n(52),h=n(29),v=n(9),b=n(89),E=n(213),_=n(372),O=n(8),y=n(18);function AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification(){var t=Object(m.e)(),n=Object(p.c)()===p.b,k=Object(y.a)(),j=Object(c.useSelect)((function(e){return e(f.a).isItemDismissed("AnalyticsAndAdSenseLinkedOverlayNotification")})),S=Object(c.useSelect)((function(e){return e(f.a).isDismissingItem("AnalyticsAndAdSenseLinkedOverlayNotification")})),w=Object(c.useSelect)((function(e){return!n||j?null:e(g.a).isModuleConnected("analytics-4")})),x=Object(c.useSelect)((function(e){return!n||j?null:e(g.a).isModuleConnected("adsense")})),C=Object(c.useSelect)((function(e){return!n||j?null:e(f.a).hasAccessToShareableModule("analytics-4")})),N=Object(c.useSelect)((function(e){return!n||j?null:e(f.a).hasAccessToShareableModule("adsense")})),A=Object(c.useSelect)((function(e){return!n||j?null:e(v.p).getAdSenseLinked()})),T=Object(c.useSelect)((function(e){return x?e(h.m).getAccountID():null})),D=Object(c.useSelect)((function(e){return e(f.a).getDateRangeDates({offsetDays:v.f})})),R={startDate:D.startDate,endDate:D.endDate,dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(T,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:1},M=Object(c.useSelect)((function(e){return n&&!1===j&&A&&x&&w&&N&&C?e(v.p).getReport(R):null})),B=!1===Object(_.a)(M),L=n&&!1===j&&w&&x&&C&&N&&A&&B,F=Object(c.useDispatch)(d.b).dismissOverlayNotification,I=Object(a.useCallback)((function(){Object(O.J)("".concat(k,"_top-earning-pages-widget"),"view_overlay_CTA")}),[k]),P=function(){F("AnalyticsAndAdSenseLinkedOverlayNotification")};return r.createElement(E.a,{shouldShowNotification:L,GraphicDesktop:l.a,GraphicMobile:s.a,notificationID:"AnalyticsAndAdSenseLinkedOverlayNotification",onShow:I},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(i.__)("See your top earning content","google-site-kit")),r.createElement("p",null,Object(i.__)("Data is now available for the pages that earn the most AdSense revenue.","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(o.Button,{tertiary:!0,disabled:S,onClick:function(){P(),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"dismiss_overlay_CTA")}},Object(i.__)("Maybe later","google-site-kit")),r.createElement(o.Button,{disabled:S,onClick:function(n){!function(n){n.preventDefault(),P(),setTimeout((function(){e.history.replaceState({},"","#".concat(u.c)),e.scrollTo({top:Object(b.a)(".googlesitekit-widget--adsenseTopEarningPagesGA4",t),behavior:"smooth"})}),50)}(n),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"confirm_overlay_CTA")}},Object(i.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},700:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-desktop_svg__clip0_100_3563)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-desktop_svg__filter0_d_100_3563)"},r.createElement("rect",{x:24,y:23,width:248,height:174,rx:11,fill:"#fff"}),r.createElement("rect",{x:48,y:96,width:116,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:124,width:141,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:153,width:97,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("path",{d:"M222 103a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 131a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 159a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7z",fill:"#EBEEF0"}),r.createElement("rect",{x:48,y:44,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("rect",{x:46.672,y:162.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M272 72H24",stroke:"#EBEEF0",strokeWidth:2}))),o=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-desktop_svg__clip0_100_3563"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-linked-desktop_svg__filter0_d_100_3563",x:8,y:11,width:280,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_100_3563"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_100_3563",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedDesktop(e){return r.createElement("svg",a({viewBox:"0 0 296 163",fill:"none"},e),i,o)}},701:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-mobile_svg__clip0_413_2990)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-mobile_svg__filter0_d_413_2990)"},r.createElement("rect",{x:74.81,y:12.732,width:193.381,height:135.679,rx:8.577,fill:"#fff"}),r.createElement("rect",{x:93.524,y:69.655,width:90.452,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:91.488,width:109.946,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:114.101,width:75.637,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("path",{d:"M229.202 75.113a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.916h-9.358a5.458 5.458 0 01-5.458-5.458zM229.202 96.946a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.917h-9.358a5.459 5.459 0 01-5.458-5.459zM229.202 118.78a5.459 5.459 0 015.458-5.459h9.358a5.459 5.459 0 010 10.917h-9.358a5.458 5.458 0 01-5.458-5.458z",fill:"#EBEEF0"}),r.createElement("rect",{x:93.524,y:29.107,width:28.071,height:7.018,rx:3.509,fill:"#EBEEF0"}),r.createElement("rect",{x:92.488,y:121.631,width:43.459,height:7.42,rx:3.71,fill:"#EBEEF0"}),r.createElement("path",{d:"M268.19 50.94H74.81",stroke:"#EBEEF0",strokeWidth:1.56}))),o=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-mobile_svg__clip0_413_2990"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-linked-mobile_svg__filter0_d_413_2990",x:62.333,y:3.375,width:218.333,height:160.631,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.119}),r.createElement("feGaussianBlur",{stdDeviation:6.238}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2990"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2990",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedMobile(e){return r.createElement("svg",a({viewBox:"0 0 343 123",fill:"none"},e),i,o)}},702:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LinkAnalyticsAndAdSenseAccountsOverlayNotification}));var r=n(2),a=n(10),i=n(3),o=n(6),c=n(14),l=n(24),s=n(19),u=n(9),d=n(703),f=n(704),g=n(213),m=n(35),p=n(52);function LinkAnalyticsAndAdSenseAccountsOverlayNotification(){var t=Object(m.a)(),n=Object(p.c)()===p.b,h=Object(i.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})})),v=Object(i.useSelect)((function(e){return e(o.a).isItemDismissed("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),b=Object(i.useSelect)((function(e){return e(o.a).isDismissingItem("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),E=Object(i.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("analytics-4")})),_=Object(i.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("adsense")})),O=Object(i.useSelect)((function(e){return t||!n||v?null:e(u.p).getAdSenseLinked()})),y=!t&&n&&(E&&_)&&!1===O&&!1===v,k=Object(i.useDispatch)(l.b).dismissOverlayNotification,j=function(){k("LinkAnalyticsAndAdSenseAccountsOverlayNotification")};return e.createElement(g.a,{shouldShowNotification:y,GraphicDesktop:d.a,GraphicMobile:f.a,notificationID:"LinkAnalyticsAndAdSenseAccountsOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("See which content earns you the most","google-site-kit")),e.createElement("p",null,Object(r.__)("Link your Analytics and AdSense accounts to find out which content brings you the most revenue.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(a.Button,{tertiary:!0,disabled:b,onClick:j},Object(r.__)("Maybe later","google-site-kit")),e.createElement(a.Button,{disabled:b,href:h,target:"_blank",onClick:j,"aria-label":Object(r.__)("Learn how (opens in a new tab)","google-site-kit")},Object(r.__)("Learn how","google-site-kit"))))}}).call(this,n(4))},703:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-desktop_svg__clip0_50_9707)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-desktop_svg__filter0_d_50_9707)"},r.createElement("rect",{x:22,y:30,width:252,height:172.055,rx:13.764,fill:"#fff"}),r.createElement("rect",{x:36,y:65,width:224,height:47,rx:5.161,fill:"#DCE8FF"}),r.createElement("rect",{x:43,y:145,width:30,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("rect",{x:43,y:151,width:40,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("path",{d:"M168.539 90.857L188 112h-81l29.455-32 21.039 22.857 11.045-12z",fill:"#9BB8F0"}),r.createElement("path",{d:"M22 43.764C22 36.162 28.162 30 35.764 30h224.472C267.838 30 274 36.162 274 43.764v7.091H22v-7.091z",fill:"#EBEEF0"}),r.createElement("rect",{x:32.427,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:42.855,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:36,y:122,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:122,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:141,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:154,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.51 171.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:159.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 162.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 165.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:153.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 156.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 159.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:147.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 150.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 153.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:141.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 144.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 147.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:135.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 138.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 141.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:129.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 132.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M256.323 129.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}),r.createElement("ellipse",{cx:209.51,cy:166.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M209.51 172.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:160.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 163.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 166.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:154.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 157.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 160.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:148.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 151.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M227.323 148.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}))),o=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-desktop_svg__clip0_50_9707"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-connect-desktop_svg__filter0_d_50_9707",x:6,y:18,width:284,height:204.055,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_50_9707"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_50_9707",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectDesktop(e){return r.createElement("svg",a({viewBox:"0 0 296 163",fill:"none"},e),i,o)}},704:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-mobile_svg__clip0_413_2382)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-mobile_svg__filter0_d_413_2382)"},r.createElement("rect",{x:56,y:14,width:209.444,height:143,rx:11.44,fill:"#fff"}),r.createElement("rect",{x:67.635,y:43.09,width:186.173,height:39.063,rx:4.29,fill:"#DCE8FF"}),r.createElement("rect",{x:73.454,y:109.58,width:24.934,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("rect",{x:73.454,y:114.567,width:33.245,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("path",{d:"M177.792 64.58l16.175 17.573h-67.322l24.481-26.597 17.486 18.998 9.18-9.974z",fill:"#9BB8F0"}),r.createElement("path",{d:"M56 25.44C56 19.121 61.122 14 67.44 14h186.565c6.318 0 11.439 5.122 11.439 11.44v5.893H56V25.44z",fill:"#EBEEF0"}),r.createElement("rect",{x:64.666,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:73.333,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:67.635,y:90.464,width:49.037,height:45.712,rx:4.536,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:90.464,width:44.881,height:8.311,rx:4.156,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:106.255,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:117.06,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("path",{d:"M235.947 131.708c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:121.947,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 124.011v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.207v-1.017l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.736.736 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.303 2.303 0 00-.513-.184v.866c.202-.028.367-.078.496-.151.135-.073.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 126.722c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:116.96,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 119.024v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.748.748 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 121.735c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:111.973,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 114.037v-.398a3.846 3.846 0 01-.749-.129 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.508 4.508 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.393h.674v.403c.291.024.535.071.732.141.202.068.359.146.471.234a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.437-.152v.962c.303.067.572.142.808.225.235.079.42.175.555.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.817c0 .098.059.181.177.248.123.064.3.126.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.077.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 116.748c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:106.986,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 109.05v-.398a3.845 3.845 0 01-.749-.128 2.479 2.479 0 01-.64-.284 1.193 1.193 0 01-.412-.445l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.016l-.025-.01c-.449-.091-.819-.21-1.111-.357-.292-.149-.438-.34-.438-.572 0-.138.062-.267.185-.39.129-.122.312-.222.547-.302a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.071.732.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.228 1.228 0 00-.437-.151v.961c.303.068.572.142.808.225.235.079.42.175.555.288.14.11.21.248.21.413 0 .18-.075.332-.227.458a1.586 1.586 0 01-.581.297 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.071-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 111.761c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:102,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 104.063v-.398a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.206v-1.016l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.724.724 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.079.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.586 1.586 0 01-.581.297 3.416 3.416 0 01-.765.142v.403h-.674zm-.707-2.816c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 106.775c9.864 0 17.861-2.933 17.861-6.549v-2.382h-35.722v2.382c0 3.616 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:97.013,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 99.077v-.399a3.778 3.778 0 01-.749-.128 2.449 2.449 0 01-.64-.284 1.184 1.184 0 01-.412-.444l.791-.174c.067.134.191.255.37.362a1.7 1.7 0 00.64.206v-1.017l-.025-.01a4.511 4.511 0 01-1.111-.356c-.292-.15-.438-.34-.438-.573 0-.137.062-.267.185-.39.129-.121.312-.222.547-.301.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.886.886 0 01.244.252l-.774.183a.735.735 0 00-.236-.202 1.236 1.236 0 00-.437-.15v.96c.303.068.572.143.808.225.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.588 1.588 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.487 1.487 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.354 2.354 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M250.751 97.013c0 .455-.265.987-.969 1.563-.698.572-1.751 1.117-3.11 1.588-2.713.939-6.505 1.532-10.725 1.532s-8.012-.593-10.725-1.532c-1.36-.47-2.412-1.016-3.111-1.588-.704-.576-.969-1.108-.969-1.563 0-.456.265-.988.969-1.564.699-.572 1.751-1.117 3.111-1.587 2.713-.94 6.505-1.533 10.725-1.533s8.012.593 10.725 1.533c1.359.47 2.412 1.015 3.11 1.587.704.576.969 1.108.969 1.564z",stroke:"#E1B155",strokeWidth:1.349}),r.createElement("ellipse",{cx:211.845,cy:127.765,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("ellipse",{cx:211.845,cy:122.778,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 124.842v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.106.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.736.736 0 00-.236-.202 1.246 1.246 0 00-.438-.151v.962c.303.067.573.142.808.224.236.08.421.176.556.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 127.553c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:117.791,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 119.855v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.068.359.145.471.234a.884.884 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.226 1.226 0 00-.438-.152v.962c.303.067.573.142.808.225.236.079.421.175.556.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 122.566c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:112.804,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 114.868v-.398a3.772 3.772 0 01-.749-.129 2.413 2.413 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.017l-.025-.009c-.449-.091-.819-.21-1.111-.357-.292-.15-.438-.34-.438-.572 0-.138.062-.268.185-.39a1.47 1.47 0 01.547-.302c.236-.082.517-.131.842-.147v-.393h.673v.403c.292.024.536.071.733.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.438-.151v.961c.303.068.573.142.808.225.236.079.421.175.556.288.14.11.21.248.21.412a.57.57 0 01-.227.458 1.572 1.572 0 01-.581.298 3.471 3.471 0 01-.766.142v.403h-.673zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.866c.202-.028.368-.078.497-.152.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M226.649 112.804c0 .456-.265.988-.969 1.564-.698.572-1.751 1.117-3.11 1.587-2.713.94-6.505 1.533-10.725 1.533s-8.012-.593-10.725-1.533c-1.36-.47-2.412-1.015-3.111-1.587-.704-.576-.969-1.108-.969-1.564 0-.455.265-.987.969-1.563.699-.572 1.751-1.117 3.111-1.588 2.713-.939 6.505-1.532 10.725-1.532s8.012.593 10.725 1.532c1.359.471 2.412 1.016 3.11 1.588.704.576.969 1.108.969 1.563z",stroke:"#E1B155",strokeWidth:1.349}))),o=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-mobile_svg__clip0_413_2382"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-connect-mobile_svg__filter0_d_413_2382",x:42.702,y:4.026,width:236.04,height:169.596,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.325}),r.createElement("feGaussianBlur",{stdDeviation:6.649}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2382"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2382",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectMobile(e){return r.createElement("svg",a({viewBox:"0 0 343 123",fill:"none"},e),i,o)}},705:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(520),l=n(506),s=n(256),u=n(0),d=n(3),f=n(24);function g(){var t=Object(d.useDispatch)(f.b).setIsOnline,n=Object(d.useSelect)((function(e){return e(f.b).getIsOnline()})),r=Object(u.useCallback)(o()(a.a.mark((function e(){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator.onLine){e.next=3;break}return t(!1),e.abrupt("return");case 3:return e.prev=3,e.next=6,Object(s.default)({path:"/google-site-kit/v1/"});case 6:n=e.sent,t(!!n),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),t(!1);case 14:case"end":return e.stop()}}),e,null,[[3,11]])}))),[t]);Object(c.a)((function(){e.addEventListener("online",r),e.addEventListener("offline",r)}),(function(){e.removeEventListener("online",r),e.removeEventListener("offline",r)})),Object(l.a)(r,n?12e4:15e3)}}).call(this,n(26))},71:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",a({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",a="mainDashboardTraffic",i="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:a,CONTEXT_MAIN_DASHBOARD_CONTENT:i,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},a=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return N})),n.d(t,"o",(function(){return A})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return R})),n.d(t,"t",(function(){return M})),n.d(t,"w",(function(){return B})),n.d(t,"l",(function(){return L})),n.d(t,"p",(function(){return F.b})),n.d(t,"i",(function(){return F.a})),n.d(t,"u",(function(){return I.b})),n.d(t,"r",(function(){return I.a})),n.d(t,"B",(function(){return I.c})),n.d(t,"y",(function(){return P})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return G})),n.d(t,"E",(function(){return V.a})),n.d(t,"h",(function(){return U})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var d=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[f,g,m];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),E=n.n(b),_=n(11),O=n.n(_),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,x=24*w,C=7*x,N=30*x;function A(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function R(e){O()(T(e),k);var t=e.split("-"),n=E()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function M(e,t){return D(L(e,t*x))}function B(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function L(e,t){O()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var F=n(98),I=n(83);function P(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var W=n(27),H=n.n(W),G=function(e){return Array.isArray(e)?H()(e).sort():e},V=n(88);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return C}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),f=n(57),g=n.n(f),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},b=function(e){var t=E(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,h(h({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?w(i,h(h({},o),{},{unit:"second"})):"",a?w(a,h(h({},o),{},{unit:"minute"})):"",r?w(r,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),a),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?y(e):"duration"===a?v(e,n):"durationISO"===a?b(e):w(e,n)}var S=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},85:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(10),l=n(20);function CTA(t){var n=t.title,r=t.headerText,a=t.headerContent,i=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,f=t.ctaType,g=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":g})},(r||a)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),a),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===f&&e.createElement(c.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===f&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:a.a.string.isRequired,headerText:a.a.string,description:a.a.oneOfType([a.a.string,a.a.node]),ctaLink:a.a.string,ctaLinkExternal:a.a.bool,ctaLabel:a.a.string,ctaType:a.a.string,"aria-label":a.a.string,error:a.a.bool,onClick:a.a.func,children:a.a.node,headerContent:a.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),a=n(121);function i(t,n){var r=document.querySelector(t);if(!r)return 0;var a=r.getBoundingClientRect().top,i=o(n);return a+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(a.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return b})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",a="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",f="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.label,i=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:n},u,{className:l()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":s})}),r)}));f.displayName="Badge",f.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=f}).call(this,n(4))},96:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,a=n(7),i=n.n(a),o=n(46),c=n(142),l=n(136),s=(r={},i()(r,o.c.QUARTER,3),i()(r,o.c.HALF,6),i()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,l.a]},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=s(s({},u),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(a,n),d=Object(c.a)(a,n,l,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(i.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1225,1,0]]]); dist/assets/js/googlesitekit-events-provider-contact-form-7-21cf1c445673c649970d.js 0000604 00000002466 14717744000 0023220 0 ustar 00 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=4)}([function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,,,function(t,e,n){(function(t){t.document.addEventListener("wpcf7mailsent",e=>{var n,r;null===(n=t._googlesitekit)||void 0===n||null===(r=n.gtagEvent)||void 0===r||r.call(n,"contact",{event_category:e.detail.contactFormId,event_label:e.detail.unitTag})})}).call(this,n(0))}]); dist/assets/js/googlesitekit-events-provider-easy-digital-downloads-a3b438fc133106da6a33.js 0000604 00000002424 14717744000 0025125 0 ustar 00 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}({0:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},5:function(t,e,n){(function(t){(e=>{if(!e)return;e("body").on("edd_cart_item_added",(function(){var e,n;null===(e=t._googlesitekit)||void 0===e||null===(n=e.gtagEvent)||void 0===n||n.call(e,"add_to_cart")}))})(t.jQuery)}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-mailchimp-7920d200a07d3bcd60bb.js 0000604 00000002430 14717744000 0022575 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}({0:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},6:function(e,t,n){(function(e){var t;(t=e.mc4wp)&&t.forms.on("subscribed",()=>{var t,n;null===(t=e._googlesitekit)||void 0===t||null===(n=t.gtagEvent)||void 0===n||n.call(t,"submit_lead_form",{event_category:"mailchimp"})})}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-ninja-forms-ddd9645222a85c7954f3.js 0000604 00000002673 14717744000 0022771 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}({0:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},7:function(e,t,n){(function(e){(t=>{if(!t||!Marionette||!Backbone)return;const n=Marionette.Object.extend({initialize(){this.listenTo(Backbone.Radio.channel("forms"),"submit:response",this.actionSubmit)},actionSubmit(){var t,n;null===(t=e._googlesitekit)||void 0===t||null===(n=t.gtagEvent)||void 0===n||n.call(t,"submit_lead_form")}});t(document).ready((function(){new n}))})(e.jQuery)}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-optin-monster-2bb9e40daaa87763f38e.js 0000604 00000002546 14717744000 0023572 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}({0:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},8:function(e,t,n){(function(e){e.document.addEventListener("om.Analytics.track",({detail:t})=>{var n,r;"conversion"===t.Analytics.type&&(null===(n=e._googlesitekit)||void 0===n||null===(r=n.gtagEvent)||void 0===r||r.call(n,"submit_lead_form",{campaignID:t.Campaign.id,campaignType:t.Campaign.type}))})}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-popup-maker-e1863af0c352a2ce8748.js 0000604 00000002432 14717744000 0023043 0 ustar 00 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}({0:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e,n){(function(t){t.jQuery&&PUM&&PUM.hooks.addAction("pum.integration.form.success",(function(){var e,n;null===(e=t._googlesitekit)||void 0===e||null===(n=e.gtagEvent)||void 0===n||n.call(e,"submit_lead_form")}))}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-woocommerce-9043ca3351c215979b62.js 0000604 00000002647 14717744000 0022707 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}({0:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},10:function(e,t,n){(function(e){(t=>{if(!t)return;const n=t("body");n.on("added_to_cart",()=>{var t,n;null===(t=e._googlesitekit)||void 0===t||null===(n=t.gtagEvent)||void 0===n||n.call(t,"add_to_cart")}),n.on("checkout_place_order_success",()=>{var t,n;null===(t=e._googlesitekit)||void 0===t||null===(n=t.gtagEvent)||void 0===n||n.call(t,"purchase")})})(e.jQuery)}).call(this,n(0))}}); dist/assets/js/googlesitekit-events-provider-wpforms-b35450445f9cb0eeb855.js 0000604 00000002427 14717744000 0022305 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}({0:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},11:function(e,t,n){(function(e){var t;(t=e.jQuery)&&t(e.document.body).on("wpformsAjaxSubmitSuccess",()=>{var t,n;null===(t=e._googlesitekit)||void 0===t||null===(n=t.gtagEvent)||void 0===n||n.call(t,"submit_lead_form")})}).call(this,n(0))}}); dist/assets/js/googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js 0000604 00000025415 14717744000 0016526 0 ustar 00 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={sprintf:!0,setLocaleData:!0,__:!0,_x:!0,_n:!0,_nx:!0,isRTL:!0};Object.defineProperty(t,"sprintf",{enumerable:!0,get:function(){return i.sprintf}}),Object.defineProperty(t,"setLocaleData",{enumerable:!0,get:function(){return a.setLocaleData}}),Object.defineProperty(t,"__",{enumerable:!0,get:function(){return a.__}}),Object.defineProperty(t,"_x",{enumerable:!0,get:function(){return a._x}}),Object.defineProperty(t,"_n",{enumerable:!0,get:function(){return a._n}}),Object.defineProperty(t,"_nx",{enumerable:!0,get:function(){return a._nx}}),Object.defineProperty(t,"isRTL",{enumerable:!0,get:function(){return a.isRTL}});var i=n(6),o=n(3);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(10)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.createI18n=void 0;var i=r(n(9)),o=r(n(12));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={"":{plural_forms:function(e){return 1===e?0:1}}};t.createI18n=function(e,t){var n=new o.default({}),r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";n.data[t]=u({},s,{},n.data[t],{},e),n.data[t][""]=u({},s[""],{},n.data[t][""])},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return n.data[e]||r(void 0,e),n.dcnpgettext(e,t,i,o,a)},a=function(e,t,n){return i(n,t,e)};return e&&r(e,t),{setLocaleData:r,__:function(e,t){return i(t,void 0,e)},_x:a,_n:function(e,t,n,r){return i(r,void 0,e,t,n)},_nx:function(e,t,n,r,o){return i(o,r,e,t,n)},isRTL:function(){return"rtl"===a("ltr","text direction")}}}},,function(e,t,n){"use strict";n.r(t),function(e){var t=n(0);e.googlesitekit=e.googlesitekit||{},e.googlesitekit.i18n=e.googlesitekit.i18n||{sprintf:t.sprintf,setLocaleData:t.setLocaleData,__:t.__,_x:t._x,_n:t._n,_nx:t._nx,isRTL:t.isRTL}}.call(this,n(1))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.sprintf=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return o.default.sprintf.apply(o.default,[e].concat(n))}catch(t){return a("sprintf error: \n\n"+t.toString()),e}};var i=r(n(7)),o=r(n(8)),a=(0,i.default)(console.error)},function(e,t,n){e.exports=function(e,t){var n,r,i=0;function o(){var o,a,u=n,s=arguments.length;e:for(;u;){if(u.args.length===arguments.length){for(a=0;a<s;a++)if(u.args[a]!==arguments[a]){u=u.next;continue e}return u!==n&&(u===r&&(r=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=n,u.prev=null,n.prev=u,n=u),u.val}u=u.next}for(o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];return u={args:o,val:e.apply(null,o)},n?(n.prev=u,u.next=n):r=u,i===t.maxSize?(r=r.prev).next=null:i++,n=u,u.val}return t=t||{},o.clear=function(){n=null,r=null,i=0},o}},function(e,t,n){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return u(c(e),arguments)}function a(e,t){return o.apply(null,[e].concat(t||[]))}function u(e,t){var n,r,a,u,s,c,l,f,p,d=1,b=e.length,g="";for(r=0;r<b;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((u=e[r]).keys)for(n=t[d],a=0;a<u.keys.length;a++){if(null==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',u.keys[a],u.keys[a-1]));n=n[u.keys[a]]}else n=u.param_no?t[u.param_no]:t[d++];if(i.not_type.test(u.type)&&i.not_primitive.test(u.type)&&n instanceof Function&&(n=n()),i.numeric_arg.test(u.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(i.number.test(u.type)&&(f=n>=0),u.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,u.width?parseInt(u.width):0);break;case"e":n=u.precision?parseFloat(n).toExponential(u.precision):parseFloat(n).toExponential();break;case"f":n=u.precision?parseFloat(n).toFixed(u.precision):parseFloat(n);break;case"g":n=u.precision?String(Number(n.toPrecision(u.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=u.precision?n.substring(0,u.precision):n;break;case"t":n=String(!!n),n=u.precision?n.substring(0,u.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=u.precision?n.substring(0,u.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=u.precision?n.substring(0,u.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(u.type)?g+=n:(!i.number.test(u.type)||f&&!u.sign?p="":(p=f?"+":"-",n=n.toString().replace(i.sign,"")),c=u.pad_char?"0"===u.pad_char?"0":u.pad_char.charAt(1):" ",l=u.width-(p+n).length,s=u.width&&l>0?c.repeat(l):"",g+=u.align?p+n+s:"0"===c?p+s+n:s+p+n)}return g}var s=Object.create(null);function c(e){if(s[e])return s[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var a=[],u=t[2],c=[];if(null===(c=i.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(c[1]);""!==(u=u.substring(c[0].length));)if(null!==(c=i.key_access.exec(u)))a.push(c[1]);else{if(null===(c=i.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(c[1])}t[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return s[e]=r}t.sprintf=o,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(r=function(){return{sprintf:o,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRTL=t._nx=t._n=t._x=t.__=t.setLocaleData=void 0;var r=(0,n(3).createI18n)(),i=r.setLocaleData.bind(r);t.setLocaleData=i;var o=r.__.bind(r);t.__=o;var a=r._x.bind(r);t._x=a;var u=r._n.bind(r);t._n=u;var s=r._nx.bind(r);t._nx=s;var c=r.isRTL.bind(r);t.isRTL=c},,function(e,t,n){"use strict";var r,i,o,a;n.r(t),n.d(t,"default",(function(){return l})),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},a=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var u={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function s(e){var t=function(e){for(var t,n,u,s,c=[],l=[];t=e.match(a);){for(n=t[0],(u=e.substr(0,t.index).trim())&&c.push(u);s=l.pop();){if(o[n]){if(o[n][0]===s){n=o[n][1]||n;break}}else if(i.indexOf(s)>=0||r[s]<r[n]){l.push(s);break}c.push(s)}o[n]||l.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(l.reverse())}(e);return function(e){return function(e,t){var n,r,i,o,a,s,c=[];for(n=0;n<e.length;n++){if(a=e[n],o=u[a]){for(r=o.length,i=Array(r);r--;)i[r]=c.pop();try{s=o.apply(null,i)}catch(e){return e}}else s=t.hasOwnProperty(a)?t[a]:+a;c.push(s)}return c[0]}(t,e)}}var c={contextDelimiter:"",onMissingKey:null};function l(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},c)this.options[n]=void 0!==t&&n in t?t[n]:c[n]}l.prototype.getPluralForm=function(e,t){var n,r,i,o,a=this.pluralForms[e];return a||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=s(r),i=function(e){return+o({n:e})}),a=this.pluralForms[e]=i),a(t)},l.prototype.dcnpgettext=function(e,t,n,r,i){var o,a,u;return o=void 0===i?0:this.getPluralForm(e,i),a=n,t&&(a=t+this.options.contextDelimiter+n),(u=this.data[e][a])&&u[o]?u[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}}]); dist/assets/js/googlesitekit-main-dashboard-4a22bdd52eac618bdba0.js 0000604 00002373526 14717744000 0020615 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[15],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return A})),n.d(t,"v",(function(){return N})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return M})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return L})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return V})),n.d(t,"i",(function(){return W})),n.d(t,"p",(function(){return G})),n.d(t,"Q",(function(){return U})),n.d(t,"P",(function(){return H}));var r="core/user",i="connected_url_mismatch",a="__global",c="temporary_persist_permission_error",o="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",x="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",A="kmAnalyticsTopConvertingTrafficSource",N="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",M="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",B="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",L="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",G="kmAnalyticsTopCategories",U=[h,v,b,E,_,O,y,k,G,j,S,w,x,C,A,N,D,M,R,P,F,L,V,W,G],H=[].concat(U,[z])},,function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return A})),n.d(t,"o",(function(){return N})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return M})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return B})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return L})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return G})),n.d(t,"E",(function(){return U.a})),n.d(t,"h",(function(){return H})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),a=n(72),c=n(33),o=n.n(c),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===o()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[g,f,m];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),E=n.n(b),_=n(11),O=n.n(_),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,x=24*w,C=7*x,A=30*x;function N(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function M(e){O()(T(e),k);var t=e.split("-"),n=E()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function R(e,t){return D(I(e,t*x))}function B(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){O()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),F=n(83);function L(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=n(27),W=n.n(V),G=function(e){return Array.isArray(e)?W()(e).sort():e},U=n(88);function H(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return c})),n.d(t,"m",(function(){return o})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return b})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",i="account_create",a="property_create",c="webdatastream_create",o="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},,,function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var c=n(311);n.d(t,"j",(function(){return c.a}));var o=n(308);n.d(t,"g",(function(){return o.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(140),g=n(0),f=n(2),m=n(126),p=n(127),h=n(128),v=n(80),b=n(77),E=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],o=t.secondary,s=void 0!==o&&o,u=t.arrow,g=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,x=void 0!==w&&w,C=t.disabled,A=void 0!==C&&C,N=t.external,T=void 0!==N&&N,D=t.hideExternalIndicator,M=void 0!==D&&D,R=t.href,B=void 0===R?"":R,I=t.inverse,P=void 0!==I&&I,F=t.noFlex,L=void 0!==F&&F,z=t.onClick,V=t.small,W=void 0!==V&&V,G=t.standalone,U=void 0!==G&&G,H=t.linkButton,q=void 0!==H&&H,K=t.to,J=t.leadingIcon,Y=t.trailingIcon,X=c()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=B||K||!z?K?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":A?"BUTTON_DISABLED":"BUTTON",Q="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Z=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=J,te=Y;return _&&(ee=e.createElement(h.a,{width:14,height:14})),T&&!M&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(m.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Q,i()({"aria-label":Z,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":x,"googlesitekit-cta-link--disabled":A,"googlesitekit-cta-link--standalone":U,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!L}),disabled:A,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||A?void 0:B,onClick:z,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},X),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(b.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return c})),n.d(t,"s",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",c="entityDashboardViewOnly",o="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",v="key-metrics",b="traffic",E="content",_="speed",O="monetization",y=[r,i,a,c,o,s,g,h],k=[a,c,d,p]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return l}));var r=n(79),i="xlarge",a="desktop",c="tablet",o="small";function l(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?c:o}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"h",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p}));var r="modules/adsense",i=1,a="READY",c="NEEDS_ATTENTION",o="REQUIRES_REVIEW",l="GETTING_READY",s="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",g="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",f="ad-blocking-recovery-notification",m={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},function(e,t,n){"use strict";n.d(t,"l",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"k",(function(){return c})),n.d(t,"j",(function(){return o})),n.d(t,"i",(function(){return l})),n.d(t,"o",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return b}));var r=n(2),i="key-metrics-setup-cta-widget",a="key-metrics-acr-subtle-notification",c="googlesitekit-key-metrics-selection-panel-opened",o="key-metrics-selection-form",l="key-metrics-selected",s=2,u=4,d=8,g="current-selection",f={SLUG:"visitors",LABEL:Object(r.__)("Visitors","google-site-kit")},m={SLUG:"driving-traffic",LABEL:Object(r.__)("Driving traffic","google-site-kit")},p={SLUG:"generating-leads",LABEL:Object(r.__)("Generating leads","google-site-kit")},h={SLUG:"selling-products",LABEL:Object(r.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(r.__)("Content performance","google-site-kit")},b=[f,m,p,h,v]},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",c="forbidden";function o(e){return(null==e?void 0:e.code)===i}function l(e){var t;return[a,c].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||o(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return E}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,c=void 0===a?[]:a,o=i.isSiteKitScreen,l=i.trackingEnabled,s=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:c,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:o,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}o&&l&&v()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var r="audience-segmentation-add-group-notice",i="googlesitekit-audience-selection-panel-opened",a="audience-selection-form",c="audience-selected",o="audience-selection-changed",l="audience-segmentation-creation-notice",s="audience-segmentation-creation-success-notice",u=1,d=3,g="audience-creation-edit-scope-notice",f="audience-creation-form"},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(25);function PreviewBlock(t){var n,r,a=t.className,c=t.width,o=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,v=t.desktopHeight,b=Object(s.e)(),E={width:(n={},i()(n,s.b,g),i()(n,s.c,m),i()(n,s.a,h),i()(n,s.d,h),n),height:(r={},i()(r,s.b,f),i()(r,s.c,p),i()(r,s.a,v),i()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[b]||c,height:E.height[b]||o}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:c.a.string,width:c.a.string,height:c.a.string,shape:c.a.string,padding:c.a.bool,smallWidth:c.a.string,smallHeight:c.a.string,tabletWidth:c.a.string,tabletHeight:c.a.string,desktopWidth:c.a.string,desktopHeight:c.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return y}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=c()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return v.apply(this,arguments)}function v(){return(v=c()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=c()(i.a.mark((function e(t){var n,r,a,c,o,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(r),c=a.timestamp,o=a.ttl,l=a.value,s=a.isError,!c||o&&!(Math.round(Date.now()/1e3)-c<o)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var t=c()(i.a.mark((function t(n,r){var a,c,l,s,u,d,f,m,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},c=a.ttl,l=void 0===c?o.b:c,s=a.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=a.isError,f=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=c()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=c()(i.a.mark((function t(){var n,r,a,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(c=n.key(a)).indexOf(d)&&r.push(c);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=c()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},function(e,t){e.exports=googlesitekit.api},,function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"k",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f}));var r="non_https_site",i="modules/reader-revenue-manager",a="reader-revenue-manager",c={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},o="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="readerRevenueManagerNoticesForm",d="showPublicationCreate",g="resetPublications",f="syncPublication"},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return o}));var r=n(22),i=n(18),a=r.n,c=r.l;function o(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?c:null}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(3),i=n(19),a=n(78);function c(t){var n=t.moduleName,c=t.FallbackComponent,o=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!l)return null;var s=c||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=o||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},c=[r.n,r.l,r.o,r.m]},function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"h",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return y}));var r=n(11),i=n.n(r),a=n(13),c=n(9),o=n(8);n.d(t,"a",(function(){return o.y}));var l=n(146),s=n(228),u=n(95),d=n(272);function g(e){return e===c.a||Object(o.y)(e)}function f(e){return"string"==typeof e&&/^\d+$/.test(e)}function m(e){return e===c.q||f(e)}function p(e){return"string"==typeof e&&/^\d+$/.test(e)}function h(e){return e===c.x||p(e)}function v(e){return"string"==typeof e&&e.trim().length>0}function b(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function E(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function _(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 report must be an object."),i()(Object(l.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(s.a)(e),n=t.metrics,r=t.dimensions,c=t.dimensionFilters,o=t.metricFilters,d=t.orderby;i()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),i()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),c&&i()(Object(u.a)(c),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),o&&i()(Object(u.c)(o),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&i()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function O(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),i()(Object(l.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(s.a)(e),n=t.metrics,r=t.dimensions,c=t.dimensionFilters,o=t.metricFilters,g=t.pivots,f=t.orderby,m=t.limit;i()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),i()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),i()(Object(d.a)(g),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),f&&i()(Array.isArray(f),"orderby for an Analytics 4 pivot report must be passed within a pivot."),m&&i()("number"==typeof m,"limit for an Analytics 4 pivot report must be passed within a pivot."),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),c&&i()(Object(u.a)(c),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),o&&i()(Object(u.c)(o),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function y(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];i()(Object(a.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){i()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){i()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),i()(Object(a.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(7),c=n.n(a),o=n(5),l=n.n(o),s=n(16),u=n.n(s),d=n(15),g=n.n(d),f=n(1),m=n.n(f),p=n(12),h=n.n(p),v=n(221),b=n(222),E=n(91),_=n(79),O=n(0),y=n(109),k=n(3),j=n(17),S=n(89),w=n(41),x=n(25),C=n(195),A=n(196),N=n(197),T=n(201),D=n(202),M=n(74),R=n(113),B=n(121),I=n(32),P=n(203);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,o=t.className,s=void 0===o?"":o,d=t.ctaLabel,f=t.ctaLink,m=t.ctaTarget,p=t.description,F=t.dismiss,L=t.dismissExpires,z=void 0===L?0:L,V=t.format,W=void 0===V?"":V,G=t.id,U=t.isDismissible,H=void 0===U||U,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,Y=t.learnMoreTarget,X=void 0===Y?M.a.EXTERNAL:Y,$=t.logo,Q=t.module,Z=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,ce=t.SmallImageSVG,oe=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,ve=void 0===he?105:he,be=t.mediumWinImageSVGHeight,Ee=void 0===be?105:be,_e=t.rounded,Oe=void 0!==_e&&_e,ye=t.footer,ke=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=g()(Se,2),xe=we[0],Ce=we[1],Ae=Object(O.useState)(!1),Ne=g()(Ae,2),Te=Ne[0],De=Ne[1],Me="notification::dismissed::".concat(G),Re=function(){return Object(w.f)(Me,new Date,{ttl:null})},Be=Object(_.a)(),Ie=Object(x.e)(),Pe=Object(v.a)(),Fe=Object(O.useState)(!1),Le=g()(Fe,2),ze=Le[0],Ve=Le[1],We=Object(O.useRef)(),Ge=Object(b.a)(We,{rootMargin:"".concat(-Object(B.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!ze&&(null==Ge?void 0:Ge.isIntersecting)&&("function"==typeof te&&te(),Ve(!0))}),[G,te,ze,Ge]);var Ue=Be>=600;Object(E.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(z>0)){e.next=3;break}return e.next=3,$e();case 3:if(!H){e.next=9;break}return e.next=6,Object(w.d)(Me);case 6:t=e.sent,n=t.cacheHit,De(n);case 9:if(!ae){e.next=12;break}return e.next=12,Re();case 12:case"end":return e.stop()}}),e)}))));var He=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(y.a)(f)&&"_blank"!==m,Ke=function(){return qe||Ce(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Re();case 2:Pe()&&De(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(k.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Ye=Object(k.useDispatch)(I.a).navigateTo,Xe=function(){var e=u()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!H||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Ye(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Me);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(z,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Me);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&H&&(void 0===Te||Te))return null;var Qe=!Je&&xe?"is-closed":"is-open",Ze=Object(R.d)(W),et=Object(R.c)(W),tt=Object(R.a)(W),nt=Object(R.b)({format:W,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!ce,hasWinImageSVG:!!se});return e.createElement(C.a,{id:G,className:h()(s,(n={},c()(n,"googlesitekit-publisher-win--".concat(W),W),c()(n,"googlesitekit-publisher-win--".concat(le),le),c()(n,"googlesitekit-publisher-win--".concat(Qe),Qe),c()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ke,ref:We},$&&e.createElement(D.a,{module:Q,moduleName:Z}),ce&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(ce,null)),e.createElement(j.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(A.a,{title:oe,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:fe,winImageFormat:W,WinImageSVG:!Ue&&de?se:void 0}),e.createElement(P.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:X,learnMoreDescription:q,onLearnMoreClick:re}),a,e.createElement(N.a,{ctaLink:f,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:Xe,dismissLabel:H?F:void 0,dismissCallback:He}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ue||!de)&&e.createElement(j.a,i()({},Ze,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(se,{style:{maxWidth:ve,maxHeight:Ee}}))),e.createElement(T.a,{type:le}))}n.d(t,"a",(function(){return M.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(M.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),c=n(2),o=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var l=n;void 0!==i&&i||(l=Object(c.sprintf)( /* translators: %s: Error message */ Object(c.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(l=l+" "+Object(c.sprintf)( /* translators: %s: Reconnect URL */ Object(c.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(o.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return E}));var r=n(7),i=n.n(r),a=n(0);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return a.createElement("svg",c({viewBox:"0 0 20 20",fill:"currentColor"},e),o)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},f=n(182),m=n(92),p="warning",h="info",v="suggestion",b=(d={},i()(d,h,l),i()(d,p,f.a),i()(d,v,g),d),E=function(e){return b[e]||m.a}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),c=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var r=n(33),i=n.n(r),a=n(81),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function o(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return o})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",c="mainDashboardSpeed",o="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:c,CONTEXT_MAIN_DASHBOARD_MONETIZATION:o,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(271),c=n(1),o=n.n(c),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),c=i()(r,1)[0];return Object(a.a)((function(){n&&c.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(c),function(){return e.removeChild(c)}})),Object(s.createPortal)(t,c)}Portal.propTypes={slug:o.a.string,children:o.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return C}));var r=n(15),i=n.n(r),a=n(33),c=n.n(a),o=n(7),l=n.n(o),s=n(23),u=n.n(s),d=n(13),g=n(57),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},b=function(e){var t=E(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,c=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,h(h({},c),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},c),{},{unit:"second"})):"",i?w(i,h(h({},c),{},{unit:"minute"})):"",r?w(r,h(h({},c),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),i),c=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?c:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,c()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?y(e):"duration"===i?v(e,n):"durationISO"===i?b(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(c()(e)," )"),t.message)}for(var o={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),m=f[0],p=f[1];o[m]&&p===o[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=t.style,a=void 0===i?"long":i,c=t.type,o=void 0===c?"conjunction":c;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:o});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return o}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function c(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function o(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",c="mainDashboardContentPrimary",o="mainDashboardSpeedPrimary",l="mainDashboardMonetizationPrimary",s="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:c,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:o,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:l,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(10),l=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:c()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===g&&e.createElement(o.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===g&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:c()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return o}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=c(n);return i+e.scrollY-a}function c(e){var t=o(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function o(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},,,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,o=t.hasLeftSpacing,s=void 0!==o&&o,u=c()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),i=n.n(r),a=n(13),c=n(146);function o(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(c.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function l(e){return Object(c.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function s(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var c=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&c}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(7),a=n.n(i),c=n(46),o=n(142),l=n(136),s=(r={},a()(r,c.c.QUARTER,3),a()(r,c.c.HALF,6),a()(r,c.c.FULL,12),r),u="googlesitekit-hidden",d=[o.a,l.a]},function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,c=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:c}))},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),c=n(100),o=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(c.a)(i,n),d=Object(o.a)(i,n,l,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(58),i=n(37),a=n(44);function c(t,n){var c,o=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===c&&(c=!!n.querySelector("script[".concat(i.b,"]"))),!c){c=!0;var r=(null==g?void 0:g.length)?g.join(","):"";o("js",new Date),o("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(7),c=n.n(a),o=n(16),l=n.n(o),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(s.a)(t);return function(){var t=l()(i.a.mark((function t(c,o,l,s){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:c,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(o,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(i),e()};a("event",o,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},,,function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=c()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),a=n.n(i),c=n(91),o=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),g=n(24),f=n(6),m=n(36),p=n(130),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),x=Object(d.useDispatch)(g.b).setValue,C=Object(d.useDispatch)(f.a).dismissTour,A=Object(d.useRegistry)(),N=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),D=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(i)}));Object(c.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),x(w,!0)}));var M=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(o.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,c=e.type,s=t+1,u="function"==typeof l?l(N):l;c===o.b.TOOLTIP&&r===o.c.TOOLTIP?Object(m.b)(u,O,s):n===o.a.CLOSE&&r===o.c.COMPLETE?Object(m.b)(u,j,s):n===o.a.NEXT&&a===o.d.FINISHED&&c===o.b.TOUR_END&&i===s&&Object(m.b)(u,S,s),r===o.c.COMPLETE&&a!==o.d.FINISHED&&(n===o.a.PREV&&Object(m.b)(u,k,s),n===o.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,r=t.index,a=t.status,c=t.step,d=t.type,g=n===o.a.CLOSE,f=!g&&[o.b.STEP_AFTER,o.b.TARGET_NOT_FOUND].includes(d),p=[o.d.FINISHED,o.d.SKIPPED].includes(a),h=g&&d===o.b.STEP_AFTER,v=p||h;if(o.b.STEP_BEFORE===d){var b,E,_=c.target;"string"==typeof c.target&&(_=e.document.querySelector(c.target)),null===(b=_)||void 0===b||null===(E=b.scrollIntoView)||void 0===E||E.call(b,{block:"center"})}f?function(e,t){x(u,e+(t===o.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),C(i)),s&&s(t,A)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:D,showProgress:!0,stepIndex:T,steps:M,styles:b,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(15),l=n.n(o),s=n(23),u=n.n(s),d=n(222),g=n(1),f=n.n(g),m=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(t){function WithIntersectionObserverComponent(n){var r=n.onInView,i=u()(n,["onInView"]),a=Object(m.useRef)(),o=Object(d.a)(a,{root:null,threshold:.45}),s=Object(m.useState)(!1),g=l()(s,2),f=g[0],p=g[1],h=!!(null==o?void 0:o.isIntersecting)&&!!(null==o?void 0:o.intersectionRatio);return Object(m.useEffect)((function(){o&&h&&!f&&(r(),p(!0))}),[f,h,o,r]),e.createElement(t,c()({ref:a},i))}return WithIntersectionObserverComponent.displayName="WithIntersectionObserverComponent",(t.displayName||t.name)&&(WithIntersectionObserverComponent.displayName+="(".concat(t.displayName||t.name,")")),WithIntersectionObserverComponent.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onInView:f.a.func.isRequired},t.propTypes),WithIntersectionObserverComponent}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var i=n(160);n.d(t,"c",(function(){return i.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,c=e.hasWinImageSVG,o={smSize:4,mdSize:8,lgSize:12},l=a(n);return Object.keys(o).forEach((function(e){var t=o[e];r&&(t-=1),i&&(t-=1),c&&0<t-l[e]&&(t-=l[e]),o[e]=t})),o}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},c=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,m=t.onOpen,p=void 0===m?null:m,h=t.onClose,v=void 0===h?null:h,b=t.title,E=void 0===b?null:b,_=t.provides,O=t.handleConfirm,y=t.subtitle,k=t.confirmButton,j=void 0===k?null:k,S=t.dependentModules,w=t.danger,x=void 0!==w&&w,C=t.inProgress,A=void 0!==C&&C,N=t.small,T=void 0!==N&&N,D=t.medium,M=void 0!==D&&D,R=t.buttonLink,B=void 0===R?null:R,I=Object(o.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(I),F=!(!_||!_.length);return e.createElement(u.Dialog,{open:a,onOpen:p,onClose:v,"aria-describedby":F?P:void 0,tabIndex:"-1",className:c()(r,{"googlesitekit-dialog-sm":T,"googlesitekit-dialog-md":M})},e.createElement(u.DialogTitle,null,x&&e.createElement(d.a,{width:28,height:28}),E),y?e.createElement("p",{className:"mdc-dialog__lead"},y):[],e.createElement(u.DialogContent,null,F&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:A},Object(s.__)("Cancel","google-site-kit")),B?e.createElement(u.Button,{href:B,onClick:O,target:"_blank",danger:x},j):e.createElement(u.SpinnerButton,{onClick:O,danger:x,disabled:A,isSaving:A},j||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},function(e,t,n){"use strict";var r=n(343),i=n(339);n.d(t,"b",(function(){return i.a}));var a=n(340);n.d(t,"c",(function(){return a.a}));var c=n(341);n.d(t,"d",(function(){return c.a}));var o=n(342);n.d(t,"a",(function(){return o.a})),t.e=r.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,g=t.storeName,f=t.message,m=void 0===f?r.message:f,p=t.noPrefix,h=void 0!==p&&p,v=t.Icon,b=Object(o.useDispatch)(),E=Object(o.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),_=Object(a.useCallback)((function(){b(E.storeName).invalidateResolution(E.name,E.args)}),[b,E]);if(!r||Object(s.f)(r))return null;var O=d&&Object(s.d)(r,E);return d||(m=Object(c.sprintf)( /* translators: %s: Error message from Google API. */ Object(c.__)("%s. Please try again.","google-site-kit"),m)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:m,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:h}),O&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:_},Object(c.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(14),f=n(19),m=n(34),p=n(35),h=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,c=t.buttonVariant,v=t.onRetry,E=t.onRequestAccess,_=t.getHelpClassName,O=t.RequestAccessButton,y=t.RetryButton,k=Object(p.a)(),j=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],x=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(j))||void 0===n?void 0:n.getSelectorDataForError(t);return b(b({},t),{},{selectorData:r})}))})),C=null==x?void 0:x.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),A=!!C.length,N=Object(u.useSelect)((function(e){var t=b({},A?C[0]:w[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),T=Object(u.useDispatch)(),D=w.some((function(e){return Object(m.e)(e)})),M=Object(o.useCallback)((function(){C.forEach((function(e){var t=e.selectorData;T(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[T,C,v]),R=S&&D&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},R&&("function"==typeof O?e.createElement(O,{requestAccessURL:S}):e.createElement(d.Button,{onClick:E,href:S,target:"_blank",danger:"danger"===c,tertiary:"tertiary"===c},Object(s.__)("Request access","google-site-kit"))),A&&e.createElement(o.Fragment,null,"function"==typeof y?e.createElement(y,{handleRetry:M}):e.createElement(d.Button,{onClick:M,danger:"danger"===c,tertiary:"tertiary"===c},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!A&&!a&&e.createElement("div",{className:_},"function"==typeof i?e.createElement(i,{linkURL:N}):e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:c.a.string.isRequired,error:c.a.oneOfType([c.a.arrayOf(c.a.object),c.a.object]).isRequired,GetHelpLink:c.a.elementType,hideGetHelpLink:c.a.bool,buttonVariant:c.a.string,onRetry:c.a.func,onRequestAccess:c.a.func,getHelpClassName:c.a.string,RequestAccessButton:c.a.elementType,RetryButton:c.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(3),a=n(46);function c(e,t,n){var c=Object(i.useDispatch)(a.a),o=c.setWidgetState,l=c.unsetWidgetState;Object(r.useEffect)((function(){return o(e,t,n),function(){l(e,t,n)}}),[e,t,n,o,l])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(18),a=n(8);function c(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(10),l=n(277);function InfoTooltip(t){var n=t.onOpen,r=t.title,a=t.tooltipClassName;return r?e.createElement(o.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:i()("googlesitekit-info-tooltip__content",a),title:r,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(l.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:c.a.func,title:c.a.oneOfType([c.a.string,c.a.element]),tooltipClassName:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),c=n.n(a),o=n(23),l=n.n(o),s=n(1),u=n.n(s),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,o=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,v=t.smStart,b=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,x=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},x,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":o,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},c()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),c()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),c()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),c()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),c()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),c()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),c()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),c()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),c()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),c()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,o=c()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},o),a)}));g.displayName="Row",g.propTypes={className:l.a.string,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,o=t.className,l=t.children,s=t.collapsed,d=c()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",o,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));g.displayName="Grid",g.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(401),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(166),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,o=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(g.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===o})};return e.createElement("div",i()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(c.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==o&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(23),i=n.n(r),a=n(7),c=n.n(a),o=n(5),l=n.n(o),s=n(11),u=n.n(s),d=n(3),g=n.n(d),f=n(41),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,i,a,c,o=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,c=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:c},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},c()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),c()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),c()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var c=a.snapshot,o=(c.error,i()(c,["error"]));return o;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:c()("googlesitekit-source-link",i)},Object(o.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(c.useSelect)((function(e){var t=e(o.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(13),l=n(0),s=n(2),u=n(3),d=n(19),g=n(34),f=n(150),m=n(81),p=n(67),h=n(85),v=n(117),b=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(b.a)(),c=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),E=Array.isArray(i)?i:[i],O=function(e){return Object(g.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==c?void 0:c.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==c?void 0:c.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==c?void 0:c.name),Object(f.a)(e.message,c)):Object(g.b)(e)},y=Object(o.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=E.some((function(e){return Object(g.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==c?void 0:c.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==c?void 0:c.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(v.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:c.a.string.isRequired,error:c.a.oneOfType([c.a.arrayOf(c.a.object),c.a.object]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(c.useSelect)((function(e){return e(o.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return l}));var r=n(33),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function c(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function o(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function l(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a}));var r="editing-user-role-select-slug-key",i="dashboardSharingDialogOpen",a="resetSharingDialogOpen"},function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var i=n(68);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return g})),n.d(t,"d",(function(){return f}));var r=1,i=2,a=3,c="enhanced-measurement-activation-banner-tooltip-state",o="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",s="_r.explorerCard..seldim",u="_r..dataFilters",d="_r..nav",g="key-metrics-connect-ga4-cta-widget",f="ads-conversion-id-notice-dismissed-item"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,c=n.name,o=void 0===c?"":c,l=n.owner,s=void 0===l?{}:l;if(!a||!o)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),o)),s&&s.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c}));var r=n(2),i="audience-segmentation-info-notice-ui",a="audience-segmentation-info-notice",c=[{slug:"new-visitors",content:Object(r.__)("The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.","google-site-kit")},{slug:"compare-metrics",content:Object(r.__)("Select up to three visitor groups to display on the dashboard and easily compare metrics between them.","google-site-kit")},{slug:"custom-audiences",content:Object(r.__)("Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.","google-site-kit")},{slug:"purchasers",content:Object(r.__)("Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.","google-site-kit")},{slug:"returning-visitors",content:Object(r.__)("The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.","google-site-kit")},{slug:"compare-new-returning",content:Object(r.__)("Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.","google-site-kit")},{slug:"compare-cities",content:Object(r.__)("Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.","google-site-kit")}]},function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},,,,function(e,t,n){"use strict";var r=n(0),i=n(44),a=Object(r.createContext)(i.a);t.a=a},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(198),u=n(211),d=n(68),g=n(6),f=n(10),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,a=t.children,c=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,v=t.dismissLabel,b=void 0===v?Object(o.__)("OK, Got it!","google-site-kit"):v,E=t.Icon,_=void 0===E?Object(d.d)(c):E,O=t.OuterCTA,y=Object(l.useDispatch)(g.a).dismissItem,k=Object(l.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&k)return null;var j=a?u.a:s.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(c),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(_,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){y(p),h()}},b)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:c.a.string,children:c.a.node,notice:c.a.node.isRequired,type:c.a.oneOf([d.a,d.c,d.b]),Icon:c.a.elementType,LearnMore:c.a.elementType,CTA:c.a.elementType,OuterCTA:c.a.elementType,dismissLabel:c.a.string,dismissCallback:c.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(24);function a(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileLoading}));var r=n(40);function AudienceTileLoading(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-loading"},e.createElement(r.a,{width:"100%",height:"20px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}))}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),c=n(20),o=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(o.a,{message:n,componentStack:r}),e.createElement(c.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),i=function(e){return r.f.includes(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(3),i=n(24),a=function(e){return"notification/".concat(e,"/viewed")};function c(e){return Object(r.useSelect)((function(t){return!!t(i.b).getValue(a(e))}),[e])}c.getKey=a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(8);function ChangeBadge(t){var n=t.previousValue,r=t.currentValue,i=t.isAbsolute?r-n:Object(o.h)(n,r),a=i<0,l=0===i;return null===i?null:e.createElement("div",{className:c()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":a,"googlesitekit-change-badge--zero":l})},Object(o.C)(i,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:i.a.bool,previousValue:i.a.number.isRequired,currentValue:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(7),i=n.n(r),a=n(2),c=n(6),o=n(14),l=n(9),s=n(44);function u(e,t,n){return!!Object(s.b)("conversionReporting")&&(e(l.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(c.a).isKeyMetricActive(n))}var d,g=n(30);function f(e,t){return!t||!(!t||!e(l.p).getAdSenseLinked())}function m(e,t){return!t||e(l.p).hasCustomDimensions(this.requiredCustomDimensions)}var p=(d={},i()(d,c.f,{title:Object(a.__)("Top earning pages","google-site-kit"),description:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:f,displayInList:f,metadata:{group:g.d.SLUG}}),i()(d,c.y,{title:Object(a.__)("Top recent trending pages","google-site-kit"),description:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.l,{title:Object(a.__)("Most popular authors by pageviews","google-site-kit"),description:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.p,{title:Object(a.__)("Top categories by pageviews","google-site-kit"),description:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.m,{title:Object(a.__)("Most popular content by pageviews","google-site-kit"),description:Object(a.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.n,{title:Object(a.__)("Most popular products by pageviews","google-site-kit"),description:Object(a.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(c.a).isKeyMetricActive(c.n)||e(o.c).getProductPostType()},displayInWidgetArea:m,metadata:{group:g.g.SLUG}}),i()(d,c.k,{title:Object(a.__)("Pages per visit","google-site-kit"),description:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.F,{title:Object(a.__)("Visit length","google-site-kit"),description:Object(a.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(a.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.E,{title:Object(a.__)("Visits per visitor","google-site-kit"),description:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.i,{title:Object(a.__)("Most engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.h,{title:Object(a.__)("Least engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(a.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.z,{title:Object(a.__)("Top pages by returning visitors","google-site-kit"),description:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.j,{title:Object(a.__)("New visitors","google-site-kit"),description:Object(a.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(a.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.o,{title:Object(a.__)("Returning visitors","google-site-kit"),description:Object(a.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(a.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.A,{title:Object(a.__)("Top traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.B,{title:Object(a.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.C,{title:Object(a.__)("Top traffic source driving leads","google-site-kit"),description:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),i()(d,c.D,{title:Object(a.__)("Top traffic source driving purchases","google-site-kit"),description:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.g,{title:Object(a.__)("Most engaged traffic source","google-site-kit"),description:Object(a.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.u,{title:Object(a.__)("Top converting traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.q,{title:Object(a.__)("Top cities driving traffic","google-site-kit"),description:Object(a.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.s,{title:Object(a.__)("Top cities driving leads","google-site-kit"),description:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),i()(d,c.r,{title:Object(a.__)("Top cities driving add to cart","google-site-kit"),description:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.t,{title:Object(a.__)("Top cities driving purchases","google-site-kit"),description:Object(a.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.w,{title:Object(a.__)("Top device driving purchases","google-site-kit"),description:Object(a.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.v,{title:Object(a.__)("Top countries driving traffic","google-site-kit"),description:Object(a.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.G,{title:Object(a.__)("Top performing keywords","google-site-kit"),description:Object(a.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(a.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.x,{title:Object(a.__)("Top pages driving leads","google-site-kit"),description:Object(a.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),d)},,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,o=Object(g.a)(),l=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(o,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,o]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(6),d=n(19),g=n(32),f=n(36),m=n(18);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(g.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,v=Object(o.useCallback)(c()(i.a.mark((function n(){var r,c,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,c=r.error,o=r.response,c){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(o.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:c.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&r?v:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,a=c()(t,["slug","size"]),o=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return o?e.createElement(o,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=c()(t,["loading","children"]);return n?e.createElement(s.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(3),l=n(18),s=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,a=Object(l.a)(),c=Object(o.useSelect)((function(e){return e(s.a).getQueuedNotifications(a)}));if(void 0===(null==c?void 0:c[0])||(null==c||null===(n=c[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var g=c[0],f=g.id,m=g.Component,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(f));return e.createElement(m,p)}Notifications.propTypes={viewContext:c.a.string,areaSlug:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return o.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var r=n(15),i=n.n(r),a=n(27),c=n.n(a),o=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=c()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+o.c[t],width:t}}))}function g(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,c=0,l=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void r.push(c);var h=d(a,m),v=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==v&&0!==d(h.sort(l)[0].counter,v).filter(f).length||h.some(f)&&(h=(h=h.sort(g)).filter(f));var b=h[0].width;if(r.push(c),(a+=o.c[b])>12){if(a-=o.c[b],r[p]++,9===a){var E=u(n,a),_=i()(E,2);n=_[0],a=_[1]}a=o.c[b],c++}else 12===a&&(a=0,c++);n.push(o.c[b])})),9===a){var m=u(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(13);function m(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],l=c()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],c=null==t?void 0:t[a.slug],l=null==c?void 0:c.Component,s=null==c||null===(i=c.metadata)||void 0===i?void 0:i.moduleSlug,u=o.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(c()(g))}}return e.forEach((function(n,c){var o,g,m,p,h;if(a.push(null),s=t[n.slug],u=i[c],s)if(g=s,m=t[null===(o=e[c+1])||void 0===o?void 0:o.slug],p=u,h=i[c+1],p===h&&Object(f.isEqual)(g,m))d.push(r[c]),l[c]=0;else if(d.length>0){d.push(r[c]);var v=d.reduce((function(e,t){return e+t}),0);a[c]=s,l[c]=v,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(207);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},,function(e,t,n){"use strict";(function(e){var r=n(13),i=n(1),a=n.n(i),c=n(0),o=n(54),l=n(3),s=n(34),u=n(24),d=n(153),g=n(442),f=n(108),m=n(8),p=n(18),h=Object(f.a)(g.a);function AudienceSegmentationErrorWidget(t){var n=t.Widget,i=t.errors,a=t.onRetry,o=t.showRetryButton,g=Object(p.a)(),f=Object(l.useDispatch)(u.b).setValue,v=i?Object(r.castArray)(i):[],b=v.some(s.e);return Object(c.useEffect)((function(){f(d.b,!0)}),[f]),e.createElement(h,{Widget:n,errors:v,onRetry:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"data_loading_error_retry").finally((function(){f(d.b,!1),null==a||a()}))},onRequestAccess:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"insufficient_permissions_error_request_access")},showRetryButton:o,onInView:function(){var e=b?"insufficient_permissions_error":"data_loading_error";Object(m.J)("".concat(g,"_audiences-all-tiles"),e)}})}AudienceSegmentationErrorWidget.propTypes={Widget:a.a.elementType.isRequired,errors:a.a.oneOfType([a.a.object,a.a.arrayOf(a.a.object)]).isRequired,onRetry:a.a.func,showRetryButton:a.a.bool},t.a=Object(o.a)({moduleName:"analytics-4"})(AudienceSegmentationErrorWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(186),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(254),g=n(412),f=n(413),m=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(s.useState)(!1),o=i()(a,2),l=o[0],p=o[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){c()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?g.a:f.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(2),u=n(3),d=n(120),g=n(60),f=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,o=t.dismissLabel,l=void 0===o?Object(s.__)("OK, Got it!","google-site-kit"):o,m=t.dismissExpires,p=void 0===m?0:m,h=t.disabled,v=t.onDismiss,b=void 0===v?function(){}:v,E=t.gaTrackingEventArgs,_=Object(d.a)(n),O=Object(u.useDispatch)(g.a).dismissNotification,y=function(){var e=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==b?void 0:b(t);case 2:_.dismiss(null==E?void 0:E.label,null==E?void 0:E.value),O(n,{expiresInSeconds:p});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:y,disabled:h},l)}Dismiss.propTypes={id:l.a.string,primary:l.a.bool,dismissLabel:l.a.string,dismissExpires:l.a.number,disabled:l.a.bool,onDismiss:l.a.func,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(0),l=n(519),s=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(o.useState)(Object(l.a)(r.location.href,t)||n),u=c()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(s.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var i=n(91),a=n(0),c=n(3),o=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(c.useDispatch)(o.a).triggerTourForView;Object(i.a)((function(){n(t)}));var u=Object(c.useSelect)((function(e){return e(o.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(17),s=Object(o.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:c()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,a)),s&&e.createElement(o.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,c=t.winImageFormat,o=void 0===c?"":c,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),a&&e.createElement("div",{className:l()(i()({},"googlesitekit-publisher-win__image-".concat(o),o))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:c.a.string,badgeLabel:c.a.string,WinImageSVG:c.a.elementType,winImageFormat:c.a.string,smallWinImageSVGWidth:c.a.number,smallWinImageSVGHeight:c.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(221),g=n(0),f=n(3),m=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,o=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,v=Object(g.useState)(!1),b=l()(v,2),E=b[0],_=b[1],O=Object(d.a)(),y=Object(f.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=c()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:o,onClick:k,disabled:E||y,isSaving:E||y},r),u&&e.createElement(m.Button,{tertiary:n||a,onClick:h,disabled:E||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(o.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:c.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(71),c=n(188),o=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(c.a,{width:28});return e.createElement(o.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(17),c=n(143),o=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(o.a,{slug:n,size:19}),!n&&e.createElement(c.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),c=n(72),o=n(20),l=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(a.Fragment,null,e.createElement(o.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(c.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(l.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(154),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(0),i=n(1),a=n.n(i),c=n(3),o=n(14),l=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,a=Object(c.useSelect)((function(e){return e(o.c).isUsingProxy()})),s=Object(c.useDispatch)(l.a).triggerSurvey;return Object(r.useEffect)((function(){a&&s(t,{ttl:i})}),[a,t,i,s]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return v}));var r=n(21),i=n.n(r),a=n(57),c=n.n(a),o=n(229),l=n(258),s=n(259),u=n(199),d=n(230),g=n(260),f=n(0),m=c()((function(e){return{widgetSlug:e,Widget:p(e)(o.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var r=Object(f.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:p(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(7),a=n.n(i),c=n(15),o=n.n(c),l=n(1),s=n(31),u=n(506),d=n(0),g=n(130),f=n(76),m=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,c=t.target,l=t.cta,p=void 0!==l&&l,v=t.className,b=t.styles,E=void 0===b?{}:b,_=t.slug,O=void 0===_?"":_,y=t.onDismiss,k=void 0===y?function(){}:y,j=t.onView,S=void 0===j?function(){}:j,w=t.onTourStart,x=void 0===w?function(){}:w,C=t.onTourEnd,A=void 0===C?function(){}:C,N=function(){return!!e.document.querySelector(c)},T=Object(d.useState)(N),D=o()(T,2),M=D[0],R=D[1];if(Object(u.a)((function(){N()&&R(!0)}),M?null:250),Object(d.useEffect)((function(){if(M&&e.ResizeObserver){var t=e.document.querySelector(c),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[c,M]),!M)return null;var B=[{title:n,target:c,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:v}],I={last:a};return r.createElement(f.a,{slug:O},r.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:x(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:A(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:k();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:I,steps:B,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(151),l=n(71),s=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,u=t.additionalCTA,d=t.type,g=void 0===d?"success":d,f=t.icon;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:c()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===g,"googlesitekit-subtle-notification--warning":"warning"===g})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},f,"success"===g&&!f&&e.createElement(o.a,{width:24,height:24}),"warning"===g&&!f&&e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,u))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(158),a=n(44),c=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,c=t.children;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},c),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:c.a.node.isRequired,className:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(574),i=n(12),a=n.n(i),c=n(1),o=n.n(c),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,i=t.children,c=t.GraphicDesktop,o=t.GraphicMobile,g=t.notificationID,f=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(g)})),v=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(v(g),null==f||f())}),[h,g,f,v,m]),!m||!h)return null;var b=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:b},i,o&&e.createElement(o,null)):e.createElement(r.a,{direction:"up",in:h},e.createElement("div",{className:b},c&&e.createElement(c,null),i))}OverlayNotification.propTypes={className:o.a.string,children:o.a.node,GraphicDesktop:o.a.elementType,GraphicMobile:o.a.elementType,onShow:o.a.func,notificationID:o.a.string.isRequired,shouldShowNotification:o.a.bool}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=n(38),f=n(2),m=n(3),p=n(10),h=n(6),v=n(36),b=n(20),E=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,o=void 0===a?"optIn":a,l=t.className,s=t.trackEventCategory,_=t.alignLeftCheckbox,O=void 0!==_&&_,y=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),k=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(E.a)(),x=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:r,name:o,value:"1",checked:y,disabled:k,onChange:x,loading:void 0===y,alignLeft:O},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(b.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),r=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(o.useCallback)(c()(i.a.mark((function a(){var c,o,l,s;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(c=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(o=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return o.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!c,rehideAdminSubMenu:l});case 12:case"end":return i.stop()}}),a)}))),[n,r,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(5),l=n.n(o),s=n(16),u=n.n(s),d=n(23),g=n.n(d),f=n(0),m=n(1),p=n.n(m),h=n(3),v=n(208),b=n(24),E=n(160);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=g()(t,["onDismiss","tooltipStateKey"]),a=Object(h.useDispatch)(b.b).setValue,o=Object(E.a)(r),s=o.rehideAdminMenu,d=o.rehideAdminSubMenu,m=Object(f.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,r]);return e.createElement(v.a,c()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},i))}AdminMenuTooltip.propTypes=O(O({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(20),s=n(114),u=n(76),d=n(14),g=n(9),f=n(34),m=n(8);function AudienceErrorModal(t){var n=t.apiErrors,r=t.hasOAuthError,i=t.inProgress,p=t.title,h=t.description,v=t.trackEventCategory,b=t.onCancel,E=void 0===b?function(){}:b,_=t.onRetry,O=void 0===_?function(){}:_,y=Array.isArray(n)?n:[n],k=Object(o.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),j=Object(o.useSelect)((function(e){return e(g.p).getServiceEntityAccessURL()})),S=Object(o.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!y.length&&!r)return null;var w,x,C,A,N=y.some((function(e){return Object(f.e)(e)}));return r?(w=Object(c.__)("Analytics update failed","google-site-kit"),x=Object(a.a)(Object(c.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:S,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))}),C=Object(c.__)("Retry","google-site-kit")):N?(w=Object(c.__)("Insufficient permissions","google-site-kit"),x=Object(a.a)(Object(c.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:k,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))}),C=Object(c.__)("Request access","google-site-kit"),A=j):(w=p||Object(c.__)("Failed to set up visitor groups","google-site-kit"),x=h||Object(c.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),C=Object(c.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(s.a,{dialogActive:!0,buttonLink:A,title:w,subtitle:x,handleConfirm:function(){var e;e=r?"auth_error_retry":N?"insufficient_permissions_error_request_access":"setup_error_retry",Object(m.J)(v,e).finally((function(){N||O()}))},confirmButton:C,handleDialog:function(){var e;e=r?"auth_error_cancel":N?"insufficient_permissions_error_cancel":"setup_error_cancel",Object(m.J)(v,e).finally(E)},onOpen:function(){var e;e=r?"auth_error":N?"insufficient_permissions_error":"setup_error",Object(m.J)(v,e)},onClose:E,danger:!0,inProgress:i}))}AudienceErrorModal.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool,inProgress:i.a.bool,title:i.a.string,description:i.a.string,trackEventCategory:i.a.string,onCancel:i.a.func,onRetry:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(10),s=n(474),u=Object(o.forwardRef)((function(t,n){var r=t.className,a=t.content,c=t.dismissLabel,o=t.Icon,u=void 0===o?s.a:o,d=t.onDismiss;return e.createElement("div",{ref:n,className:i()("googlesitekit-audience-segmentation-info-notice",r)},e.createElement(u,{width:"20",height:"20"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-info-notice__body"},e.createElement("p",null,a),c&&e.createElement(l.Button,{tertiary:!0,onClick:d,className:"googlesitekit-audience-segmentation-info-notice__dismiss"},c)))}));u.propTypes={className:c.a.string,content:c.a.string.isRequired,dismissLabel:c.a.string,Icon:c.a.elementType,onDismiss:c.a.func},t.a=u}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(57),l=n.n(o),s=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=l()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=c()(e,["metrics","dimensions"]);return d({metrics:f(t),dimensions:m(n)},r)})),f=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))},m=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=Object(o.forwardRef)((function(t,n){var r=t.children,a=t.className,c=t.widgetSlug,o=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(c),{"googlesitekit-widget--no-padding":o},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:c.a.node,widgetSlug:c.a.string.isRequired,noPadding:c.a.bool,Header:c.a.elementType,Footer:c.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(27),l=n.n(o),s=n(23),u=n.n(s),d=n(1),g=n.n(d),f=n(0),m=n(118),p=n(136);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,a),e.createElement(p.a,c()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BadgeWithTooltip}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(122);function BadgeWithTooltip(t){var n=t.className,r=void 0===n?"":n,i=t.label,a=t.onTooltipOpen,l=t.tooltipTitle;return e.createElement("span",{className:c()("googlesitekit-badge-with-tooltip","googlesitekit-badge",r)},i,l&&e.createElement(o.a,{onOpen:a,title:l}))}BadgeWithTooltip.propTypes={onTooltipOpen:i.a.func,tooltipTitle:i.a.node,className:i.a.string,label:i.a.node.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),m=n(44),p=n(238),h=n(240),v=n(241),b=n(63),E=n(204),_=n(169);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,c=void 0===a?null:a,d=o.a,O=Object(s.useState)({key:"Root",value:!0}),y=i()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(E.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:m.a},e.createElement(b.a,{value:c},e.createElement(l.a,{theme:d()},e.createElement(g.a,null,e.createElement(h.a,null,n,c&&e.createElement(v.a,null)),Object(_.a)(c)&&e.createElement(p.a,null))))))))}Root.propTypes={children:c.a.node,registry:c.a.object,viewContext:c.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),c=n(51),o=n.n(c),l=n(69),s=n.n(l),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),h=n(0),v=n(2),b=n(168),E=n(63),_=n(65),O=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var k=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return o()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(b.a,{message:n.message,componentStack:i.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(h.Component);k.contextType=E.b,k.propTypes={children:p.a.node.isRequired},t.a=k}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(158),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";(function(e){var r=n(3),i=n(239),a=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(i.a,null):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(2),s=n(0),u=n(3),d=n(114),g=n(28),f=n(32),m=n(6),p=n(133),h=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,i,c,v=Object(u.useRegistry)(),b=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),E=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,r,i;return t(m.a).getConnectURL({additionalScopes:null==b||null===(n=b.data)||void 0===n?void 0:n.scopes,redirectURL:(null==b||null===(r=b.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==b||null===(i=b.data)||void 0===i?void 0:i.errorRedirectURL})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,y=Object(u.useDispatch)(f.a).navigateTo,k=Object(u.useDispatch)(g.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(m.d,{permissionsError:b}),e.next=3,Object(p.c)(v);case 3:y(_);case 4:case"end":return e.stop()}}),e)}))),[v,_,y,b,k]);return Object(s.useEffect)((function(){(function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==b||null===(t=b.data)||void 0===t?void 0:t.skipModal)||!(null==b||null===(n=b.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,b]),b?(null==b||null===(t=b.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==b||null===(i=b.data)||void 0===i?void 0:i.skipModal)||E&&(null==b||null===(c=b.data)||void 0===c?void 0:c.scopes.every((function(e){return E.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:b.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",b),null):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),a=l()(r,2),o=a[0],g=a[1];return Object(s.useEffect)((function(){o||c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,o]),o?t:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),i=n.n(r),a=n(79),c=n(194);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(c.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(594),u=n(2),d=n(0),g=n(3),f=n(261),m=n(278),p=n(282),h=n(6),v=n(17),b=n(288),E=n(295),_=n(297),O=n(303),y=n(35),k=n(52),j=n(20),S=n(304),w=n(14),x=n(305);function Header(t){var n,r=t.children,a=t.subHeader,c=t.showNavigation,o=!!Object(k.c)(),C=Object(y.a)();Object(x.a)();var A=Object(g.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),N=Object(g.useSelect)((function(e){return e(h.a).isAuthenticated()})),T=Object(s.a)({childList:!0}),D=i()(T,2),M=D[0],R=!!(null===(n=D[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":R,"googlesitekit-header--has-navigation":c})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:A},e.createElement(f.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!N&&o&&C&&e.createElement(_.a,null),N&&!C&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:M},e.createElement(p.a,null),e.createElement(O.a,null),a),c&&e.createElement(b.a,null),o&&e.createElement(S.a,null),e.createElement(E.a,null))}Header.displayName="Header",Header.propTypes={children:c.a.node,subHeader:c.a.element,showNavigation:c.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(217),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(306),m=n(129),p=n(8),h=n(174),v=n(19),b=n(18),E=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),a=i()(r,2),c=a[0],_=a[1],O=Object(l.useRef)(),y=Object(b.a)();Object(o.a)(O,(function(){return _(!1)})),Object(m.a)([s.c,s.f],O,(function(){return _(!1)}));var k=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){c||Object(p.J)("".concat(y,"_headerbar"),"open_helpmenu"),_(!c)}),[c,y]),S=Object(l.useCallback)((function(){_(!1)}),[]),w=Object(d.useSelect)((function(e){return e(E.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":c,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:c,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:c.a.node}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(313),g=n(247),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,r=t.onClick,a=void 0===r?function(){}:r,o=t.isSaving,l=void 0!==o&&o,s=t.spinnerPosition,m=void 0===s?f.AFTER:s,p=c()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,i()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":l,"googlesitekit-button-icon--spinner__before":m===f.BEFORE,"googlesitekit-button-icon--spinner__after":m===f.AFTER}),icon:l&&m===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:l&&m===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},p))}SpinnerButton.propTypes={className:l.a.string,onClick:l.a.func,isSaving:l.a.bool,spinnerPosition:l.a.oneOf(Object.values(f))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var r=n(627);function CircularProgress(t){return e.createElement(r.a,t)}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0);t.a=function(t,n){var r=Object(a.useState)(null),c=i()(r,2),o=c[0],l=c[1];return Object(a.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){l(e[e.length-1])}),n);return r.observe(t.current),function(){l(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),o}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(9);function r(e){var t;return 400===(null==e?void 0:e.code)&&(null==e||null===(t=e.message)||void 0===t?void 0:t.includes("is not a valid dimension"))}},,,function(e,t,n){"use strict";(function(e){var r=n(53),i=n.n(r),a=n(257),c=e._googlesitekitAPIFetchData||{},o=c.nonce,l=c.nonceEndpoint,s=c.preloadedData,u=c.rootURL;i.a.nonceEndpoint=l,i.a.nonceMiddleware=i.a.createNonceMiddleware(o),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(u),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,n(26))},function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,i){if(n)return i(e);setTimeout((function(){n=!0}),1e3);var a=e.parse,c=void 0===a||a,o=e.path;if("string"==typeof e.path){var l,s=(null===(l=e.method)||void 0===l?void 0:l.toUpperCase())||"GET",u=Object(r.getStablePath)(o);if(c&&"GET"===s&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===s&&t[s]&&t[s][u]){var g=Promise.resolve(t[s][u]);return delete t[s][u],g}}return i(e)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(23),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(118),f=n(142);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(g.a)(n,f.a,a),e.createElement(f.a,c()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=c()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(520),c=n(200),o=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(c.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(o.useDispatch)(l.b).setValue,d=r.message,g=Object(o.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==i?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n(143),a=n(262),c=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(c.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(2),s=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,i=t.forceOpen,a=t.hasLeftSpacing,g=t.hasNoSpacing,f=t.onLearnMoreClick,m=void 0===f?function(){}:f,p=e.createElement(u.a,{className:c()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":g}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(o.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:r,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:i},p):p}NewBadge.propTypes={tooltipTitle:i.a.string,learnMoreLink:i.a.string,forceOpen:i.a.bool,onLearnMoreClick:i.a.func,hasLeftSpacing:i.a.bool,hasNoSpacing:i.a.bool},t.a=NewBadge}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,o=t.onCTAClick,l=t.isCTALinkExternal,g=void 0!==l&&l,f=t.gaTrackingEventArgs,m=Object(s.a)(n),p=function(){var e=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==o?void 0:o(t);case 2:m.confirm(null==f?void 0:f.label,null==f?void 0:f.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:p,target:g?"_blank":"_self",trailingIcon:g?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,isCTALinkExternal:l.a.bool,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileMetric}));var r=n(1),i=n.n(r),a=n(8);function AudienceTileMetric(t){var n=t.TileIcon,r=t.title,i=t.metricValue,c=t.Badge,o=t.metricValueFormat;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(n,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__value"},Object(a.C)(i,o)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},r)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__badge-container"},e.createElement(c,null)))}AudienceTileMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,metricValue:i.a.number.isRequired,Badge:i.a.elementType.isRequired,metricValueFormat:i.a.object}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="consent-mode-setup-cta-widget"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),i=n(95);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),c=r.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"currentColor"},e),a,c)}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return r.createElement("svg",i({viewBox:"0 0 16 16",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(217),d=n(0),g=n(2),f=n(56),m=n(3),p=n(10),h=n(114),v=n(8),b=n(41),E=n(76),_=n(279),O=n(234),y=n(280),k=n(281),j=n(28),S=n(14),w=n(6),x=n(32),C=n(9),A=n(129),N=n(18);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),i=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),c=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),T=Object(m.useSelect)((function(e){return e(j.a).getValue(C.d,"isAutoCreatingCustomDimensionsForAudience")})),D=Object(d.useState)(!1),M=s()(D,2),R=M[0],B=M[1],I=Object(d.useState)(!1),P=s()(I,2),F=P[0],L=P[1],z=Object(d.useRef)(),V=Object(d.useRef)(),W=Object(N.a)(),G=Object(m.useDispatch)(x.a).navigateTo;Object(u.a)(z,(function(){return L(!1)})),Object(A.a)([f.c,f.f],z,(function(){var e;L(!1),null===(e=V.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(B(!1),L(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var U,H=Object(d.useCallback)((function(){F||Object(v.J)("".concat(W,"_headerbar"),"open_usermenu"),L(!F)}),[F,W]),q=Object(d.useCallback)((function(){B(!R),L(!1)}),[R]),K=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(W,"_headerbar_usermenu"),"manage_sites");case 7:G(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:H();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,H,q,G,W]),J=Object(d.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return B(!1),e.next=3,Object(b.b)();case 3:return e.next=5,Object(v.J)("".concat(W,"_headerbar_usermenu"),"disconnect_user");case 5:G(l);case 6:case"end":return e.stop()}}),e)}))),[l,G,W]);return n?(c&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),c,n)),c&&!n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),c)),!c&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:z,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:T,ref:V,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:H,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":F,"aria-controls":"user-menu","aria-label":T?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":U},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),c,c&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:F,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(_.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(E.a,null,r.createElement(h.a,{dialogActive:R,handleConfirm:J,handleDialog:q,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(3),a=n(6);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),c=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},c)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var i=n(0),a=n(2),c=n(3),o=n(283),l=n(284),s=n(6),u=n(14),d=n(28),g=n(65),f=n(180),m=n(60);function ErrorNotifications(){var t,n=Object(c.useSelect)((function(e){return e(s.a).isAuthenticated()})),p=Object(c.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),h=Object(c.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(c.useSelect)((function(e){return e(d.a).getValue(s.d,"permissionsError")})),b=Object(c.useSelect)((function(t){var r,i;return(null==v?void 0:v.data)?t(s.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(i=v.data)||void 0===i?void 0:i.redirectURL)||e.location.href}):"access_denied"===p&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),E=Object(c.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),_=Object(a.__)("Error connecting Site Kit","google-site-kit"),O=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(_=Object(a.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?O=Object(a.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(O=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(i.Fragment,null,r.createElement(l.a,null),r.createElement(o.a,null),h&&r.createElement(g.b,{id:"setup_error",type:"win-error",title:_,description:h,isDismissible:!1,ctaLink:b,ctaLabel:O,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:E}),r.createElement(f.a,{areaSlug:m.b.ERRORS}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),i=n(3),a=n(6),c=n(65);function AuthError(){var t=Object(i.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(c.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),i=n(14),a=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(21),i=n.n(r),a=n(57),c=n.n(a),o=n(286),l=c()((function(e){return{id:e,Notification:s(e)(o.a)}}));function s(t){return function(n){function WithNotificationID(r){return e.createElement(n,i()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(287),s=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,a=t.gaTrackingEventArgs,c=t.children,d=Object(o.useRef)(),g=Object(s.a)(n),f=Object(u.a)(n),m=Object(o.useState)(!1),p=i()(m,2),h=p[0],v=p[1];return Object(o.useEffect)((function(){!h&&g&&(f.view(null==a?void 0:a.label,null==a?void 0:a.value),v(!0))}),[g,f,h,a]),e.createElement("section",{id:n,ref:d,className:r},c,!g&&e.createElement(l.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:c.a.string,className:c.a.string,gaTrackingEventArgs:c.a.shape({label:c.a.string,value:c.a.string}),children:c.a.node}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),i=n.n(r),a=n(0),c=n(3),o=n(24),l=n(252),s=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,i=Object(l.a)(n,{threshold:r}),u=Object(c.useDispatch)(o.b).setValue,d=!!(null==i?void 0:i.isIntersecting),g=Object(s.a)(t);return Object(a.useEffect)((function(){!g&&d&&u(s.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:i.a.string,observeRef:i.a.object,threshold:i.a.number}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),i=n(6),a=n(35),c=n(178),o=n(289);function DashboardNavigation(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return t?e(i.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(i.a).getKeyMetrics()}));return e.createElement(c.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(o.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(27),a=n.n(i),c=n(15),o=n.n(c),l=n(12),s=n.n(l),u=n(13),d=n(91),g=n(156),f=n(0),m=n(2),p=n(3),h=n(290),v=n(291),b=n(292),E=n(293),_=n(294),O=n(22),y=n(6),k=n(46),j=n(24),S=n(73),w=n(52),x=n(25),C=n(89),A=n(8),N=n(18),T=n(35);function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),i=Object(f.useRef)(),c=Object(x.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),M=Object(f.useState)(l),R=o()(M,2),B=R[0],I=R[1],P=Object(f.useState)(l||void 0),F=o()(P,2),L=F[0],z=F[1],V=Object(f.useState)(!1),W=o()(V,2),G=W[0],U=W[1],H=Object(N.a)(),q=Object(T.a)(),K=Object(p.useDispatch)(j.b).setValue,J=Object(p.useSelect)((function(e){return q?e(y.a).getViewableModules():null})),Y=Object(p.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),X={modules:J||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==Y&&e(k.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,X)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,X)})),Z=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,X)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,X)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,X)})),ne=Object(f.useCallback)((function(){return $?O.b:q?Q?O.e:Z?O.a:ee?O.d:te?O.c:"":O.e}),[$,Q,Z,ee,te,q]),re=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),z(i),Object(A.J)("".concat(H,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ne()?Object(C.a)("#".concat(i),c):0,behavior:"smooth"}),setTimeout((function(){K(j.a,i)}),50)}),[c,H,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==O.b)||(!(!Q||e!==O.e)||(!(!Z||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),I(n),setTimeout((function(){var r=n!==t?Object(C.a)("#".concat(n),c):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(j.a,void 0),I(e),z(void 0)},n=Object(u.throttle)((function(n){var r,c,o,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(c=r.getBoundingClientRect())||void 0===c?void 0:c.bottom,d=null==i||null===(o=i.current)||void 0===o?void 0:o.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(a()($?[O.b]:[]),a()(Q?[O.e]:[]),a()(Z?[O.a]:[]),a()(ee?[O.d]:[]),a()(te?[O.c]:[])),p=ne();if(0===s)U(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===v)}var b,E=D(m);try{for(E.s();!(b=E.n()).done;){var _=b.value,y=document.getElementById(_);if(y){var k=y.getBoundingClientRect().top-20-(u||g||0);k<0&&(void 0===l||l<k)&&(l=k,p=_)}}}catch(e){E.e(e)}finally{E.f()}if(L)L===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(A.J)("".concat(H,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[L,$,Q,Z,ee,te,H,K,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":G}),ref:i},$&&r.createElement(g.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:B===O.b,"data-context-id":O.b}),Q&&r.createElement(g.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:B===O.e,"data-context-id":O.e}),Z&&r.createElement(g.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:re,selected:B===O.a,"data-context-id":O.a}),ee&&r.createElement(g.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"20",height:"16"}),onClick:re,selected:B===O.d,"data-context-id":O.d}),te&&r.createElement(g.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:re,selected:B===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",i({viewBox:"0 0 13 12",fill:"none"},e),a,c,o,l)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),c=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),c=n(13),o=n(2),l=n(0),s=n(3),u=n(10),d=n(14),g=n(296),f=n(32),m=n(20),p=n(83),h=n(8),v=n(52),b=n(18);t.a=function EntityHeader(){var t=Object(b.a)(),n=Object(v.c)(),i=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),E=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(l.useRef)(),O=Object(l.useState)(E),y=a()(O,2),k=y[0],j=y[1];Object(l.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(p.d)(E,r))}},n=Object(c.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[E,_,j]);var S=Object(s.useDispatch)(f.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),x=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return v.a!==n||null===E||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(g.a,{width:24,height:24}),"aria-label":Object(o.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0,tertiary:!0},Object(o.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(m.a,{secondary:!0,href:E,"aria-label":E,external:!0},k)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),c=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(217),c=n(12),o=n.n(c),l=n(0),s=n(2),u=n(56),d=n(10),g=n(18),f=n(129),m=n(8),p=n(298),h=n(299),v=n(300),b=n(302),E=n(3),_=n(6);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=i()(t,2),r=n[0],c=n[1],O=Object(l.useRef)(),y=Object(g.a)();Object(a.a)(O,(function(){return c(!1)})),Object(f.a)([u.c,u.f],O,(function(){return c(!1)}));var k=Object(l.useCallback)((function(){r||Object(m.J)("".concat(y,"_headerbar"),"open_viewonly"),c(!r)}),[r,y]),j=Object(E.useSelect)((function(e){return e(_.a).hasCapability(_.H)}));return e.createElement("div",{ref:O,className:o()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(b.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(32),f=n(14),m=n(6),p=n(8),h=n(20),v=n(18),b=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.H)})),r=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),E=Object(u.useDispatch)(g.a).navigateTo,_=Object(o.useCallback)(function(){var e=c()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(b.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:E(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,E,t]),O=Object(o.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:_},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),i=n(3),a=n(6),c=n(301);function SharedServices(){var t=Object(i.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(19),s=n(6);function Service(t){var n=t.module,r=Object(o.useSelect)((function(e){return e(s.a).hasCapability(s.H)})),i=Object(o.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=i.name,d=i.owner,g=Object(o.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(c.sprintf)( /* translators: %s: module owner Google Account email address */ Object(c.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),i=n(2),a=n(218),c=n(18);function Tracking(){var t=Object(c.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),i=n(3),a=n(65),c=n(14),o=n(28),l=n(6);function SetupErrorNotification(){var t=Object(i.useSelect)((function(e){return e(c.c).getSetupErrorMessage()})),n=Object(i.useSelect)((function(e){return e(c.c).getSetupErrorRedoURL()})),s=Object(i.useSelect)((function(e){return e(o.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),i=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:i.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(18),d=n(41),g=n(8),f=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(o.useEffect)((function(){n||void 0===t||function(){var n=c()(i.a.mark((function n(){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(3),c=n(54),o=n(9),l=n(6),s=n(472),u=n(108),d=n(8),g=n(18),f=Object(u.a)(s.a);function NoAudienceBannerWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(g.a)(),c=Object(a.useSelect)((function(e){var t=e(o.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),s=Object(a.useSelect)((function(e){return e(l.a).getConfiguredAudiences()})),u=Object(a.useSelect)((function(e){return e(l.a).didSetAudiences()})),m=null==s?void 0:s.every((function(e){return Array.isArray(c)&&!c.includes(e)}));return s&&(0===(null==s?void 0:s.length)||m)?e.createElement(n,{noPadding:!0},e.createElement(f,{onInView:function(){Object(d.J)("".concat(i,"_audiences-no-audiences"),"view_banner",u?"no-longer-available":"none-selected")}})):e.createElement(r,null)}NoAudienceBannerWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(c.a)({moduleName:"analytics-4"})(NoAudienceBannerWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(387),g=n(0),f=n(2),m=n(17),p=n(314),h=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,o=t.text,s=t.className,u=t.danger,h=t.disabled,v=t.target,b=t.icon,E=t.trailingIcon,_=t["aria-label"],O=t.title,y=t.customizedTooltip,k=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,w=void 0!==S&&S,x=t.tooltipEnterDelayInMS,C=void 0===x?100:x,A=t.tertiary,N=void 0!==A&&A,T=t.callout,D=t.calloutStyle,M=c()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),R=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),B=Object(d.a)(n,R),I=a&&!h?"a":"button",P=e.createElement(I,i()({className:l()("mdc-button",s,{"mdc-button--raised":!o&&!N&&!T,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":N,"mdc-button--callout":T,"mdc-button--callout-primary":T||"primary"===D,"mdc-button--callout-warning":"warning"===D,"mdc-button--callout-error":"error"===D}),href:h?void 0:a,ref:B,disabled:!!h,"aria-label":function(){var e=_;if("_blank"!==v)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:v||"_self",role:"a"===I?"button":void 0},M),b,r&&e.createElement("span",{className:"mdc-button__label"},r),E),F=w?null:O||y||_;return!h&&(k&&F||b&&F&&void 0===r)?e.createElement(p.a,{title:F,enterDelay:C},P):P}));h.displayName="Button",h.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},h.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=h}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(628),g=n(0);function Tooltip(t){var n=t.children,r=t.popperClassName,a=t.tooltipClassName,o=t.onOpen,l=t.onClose,s=c()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),f=Object(g.useRef)(!1),m=o?function(){f.current||(f.current=!0,null==o||o())}:void 0,p=o?function(){f.current=!1,null==l||l()}:l;return e.createElement(d.a,i()({classes:{popper:u()("googlesitekit-tooltip-popper",r),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:m,onClose:p},s),n)}Tooltip.propTypes={children:l.a.node,popperClassName:l.a.string,tooltipClassName:l.a.string,onOpen:l.a.func,onClose:l.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)(Object(c.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(o.a,{href:n,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileNoData}));var r=n(2);function AudienceTileNoData(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__no-data"},Object(r.__)("No data to show yet","google-site-kit"))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PartialDataNotice}));var r=n(1),i=n.n(r);function PartialDataNotice(t){var n=t.content;return e.createElement("span",{className:"googlesitekit-audience-segmentation-partial-data-notice"},n)}PartialDataNotice.propTypes={content:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),u=r.createElement("path",{d:"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z",fill:"#77AD8C"}),d=r.createElement("path",{d:"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z",fill:"#5C9271"}),g=r.createElement("path",{d:"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z",fill:"#CBD0D3"}),f=r.createElement("path",{d:"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z",fill:"#EBEEF0"}),m=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z",fill:"#CBD0D3"}),p=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z",fill:"#B8BDB9"}),h=r.createElement("path",{d:"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z",fill:"#B8BDB9"}),v=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z",fill:"#B8BDB9"}),b=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z",fill:"#EBEEF0"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z",fill:"#CBD0D3"}),_=r.createElement("path",{d:"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z",fill:"#CBD0D3"}),O=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z",fill:"#CBD0D3"}),y=r.createElement("path",{d:"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),k=r.createElement("path",{d:"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),j=r.createElement("path",{d:"M39.988 67.196l.768 37.221",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),S=r.createElement("path",{d:"M31.757 63.326a27.536 27.536 0 00-2.058 5.225",stroke:"#1967D2",strokeWidth:2.748,strokeLinejoin:"round"}),w=r.createElement("path",{d:"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),x=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#70B2F5"}),C=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#77AD8C"}),A=r.createElement("path",{d:"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z",fill:"#5C9271"}),N=r.createElement("path",{d:"M45.22 104.418h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),T=r.createElement("path",{d:"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z",fill:"#CBD0D3"}),D=r.createElement("path",{d:"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z",fill:"#EBEEF0"}),M=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z",fill:"#CBD0D3"}),R=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z",fill:"#B8BDB9"}),B=r.createElement("path",{d:"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z",fill:"#B8BDB9"}),I=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z",fill:"#B8BDB9"}),P=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z",fill:"#EBEEF0"}),F=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z",fill:"#CBD0D3"}),L=r.createElement("path",{d:"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z",fill:"#CBD0D3"}),z=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z",fill:"#CBD0D3"}),V=r.createElement("path",{d:"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),W=r.createElement("path",{d:"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),G=r.createElement("path",{d:"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),U=r.createElement("path",{d:"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),H=r.createElement("path",{d:"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),q=r.createElement("path",{d:"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z",fill:"#77AD8C"}),K=r.createElement("path",{d:"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z",fill:"#5C9271"}),J=r.createElement("path",{d:"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),Y=r.createElement("path",{d:"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z",fill:"#CBD0D3"}),X=r.createElement("path",{d:"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z",fill:"#EBEEF0"}),$=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z",fill:"#CBD0D3"}),Q=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z",fill:"#B8BDB9"}),Z=r.createElement("path",{d:"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z",fill:"#B8BDB9"}),ee=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z",fill:"#B8BDB9"}),te=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z",fill:"#EBEEF0"}),ne=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z",fill:"#CBD0D3"}),re=r.createElement("path",{d:"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z",fill:"#CBD0D3"}),ie=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z",fill:"#CBD0D3"}),ae=r.createElement("path",{d:"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),ce=r.createElement("path",{d:"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),oe=r.createElement("path",{d:"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),le=r.createElement("path",{d:"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z",fill:"#77AD8C"}),se=r.createElement("path",{d:"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z",fill:"#5C9271"}),ue=r.createElement("path",{d:"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),de=r.createElement("path",{d:"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z",fill:"#CBD0D3"}),ge=r.createElement("path",{d:"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z",fill:"#EBEEF0"}),fe=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z",fill:"#CBD0D3"}),me=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z",fill:"#B8BDB9"}),pe=r.createElement("path",{d:"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z",fill:"#B8BDB9"}),he=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z",fill:"#B8BDB9"}),ve=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z",fill:"#EBEEF0"}),be=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z",fill:"#CBD0D3"}),Ee=r.createElement("path",{d:"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z",fill:"#CBD0D3"}),_e=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z",fill:"#CBD0D3"}),Oe=r.createElement("path",{d:"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"});t.a=function SvgNoAudienceBannerGraphic(e){return r.createElement("svg",i({viewBox:"0 0 211 109",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,j,S,w,x,C,A,N,T,D,M,R,B,I,P,F,L,z,V,W,G,U,H,q,K,J,Y,X,$,Q,Z,ee,te,ne,re,ie,ae,ce,oe,le,se,ue,de,ge,fe,me,pe,he,ve,be,Ee,_e,Oe)}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=Object(o.forwardRef)((function(t,n){var r=t.className,a=t.children,c=t.Icon,o=t.SVGGraphic;return e.createElement("div",{ref:n,className:i()("googlesitekit-lean-cta-banner",r)},e.createElement("div",{className:"googlesitekit-lean-cta-banner__body"},c&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-icon"},e.createElement(c,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-content"},a)),o&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__graphic"},e.createElement(o,null)))}));l.propTypes={className:c.a.string,children:c.a.node.isRequired,Icon:c.a.elementType,SVGGraphic:c.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z",fill:"#F3F5F7"}),c=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618",stroke:"#161B18",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),d=r.createElement("path",{d:"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z",fill:"#CBD0D3"}),g=r.createElement("path",{d:"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z",fill:"#999F9B"}),f=r.createElement("path",{d:"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),m=r.createElement("path",{d:"M159.169 21.79l-22.985 89.068",stroke:"#7B807D",strokeWidth:3.607,strokeMiterlimit:10,strokeLinecap:"round"}),p=r.createElement("path",{d:"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z",fill:"#E77D5B"}),h=r.createElement("path",{d:"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z",fill:"#962C0A"}),v=r.createElement("path",{d:"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationErrorFullWidth(e){return r.createElement("svg",i({viewBox:"0 0 233 117",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v)}},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(0);function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,i=!1,a=function(){r=e.setTimeout((function(){i=!0}),n)},c=function(){e.clearTimeout(r),i&&(i=!1,t())};return e.addEventListener("focus",c),e.addEventListener("blur",a),function(){e.removeEventListener("focus",c),e.removeEventListener("blur",a),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(10),l=n(151),s=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,c=t.ctaLink,g=t.ctaLabel,f=t.className,m=t.onCTAClick,p=t.isCTALinkExternal,h=t.dismissLabel,v=t.onDismiss,b=t.variant,E=void 0===b?d.SUCCESS:b,_=t.hideIcon,O=void 0!==_&&_;return e.createElement("div",{className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":E===d.SUCCESS,"googlesitekit-subtle-notification--warning":E===d.WARNING},f)},!O&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&E===d.SUCCESS&&e.createElement(l.a,{width:24,height:24}),!a&&E===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},h&&e.createElement(o.Button,{tertiary:!0,onClick:v},h),g&&e.createElement(o.Button,{className:"googlesitekit-subtle-notification__cta",href:c,onClick:m,target:p?"_blank":"_self",trailingIcon:p?e.createElement(s.a,{width:14,height:14}):void 0},g)))}SubtleNotification.propTypes={title:c.a.string.isRequired,description:c.a.string,Icon:c.a.elementType,ctaLink:c.a.string,ctaLabel:c.a.string,className:c.a.string,onCTAClick:c.a.func,isCTALinkExternal:c.a.bool,dismissLabel:c.a.string,onDismiss:c.a.func,variant:c.a.oneOf(Object.values(d)),hideIcon:c.a.bool},t.b=SubtleNotification}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var r=n(1),i=n.n(r),a=n(20),c=n(119);function SelectionPanelHeader(t){var n=t.children,r=t.title,i=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,r),e.createElement(a.a,{className:"googlesitekit-selection-panel-header__close",onClick:i,linkButton:!0},e.createElement(c.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:i.a.node,title:i.a.string,onCloseClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var r=n(1),i=n.n(r),a=n(345);function SelectionPanelItem(t){var n=t.children,r=t.id,i=t.slug,c=t.title,o=t.description,l=t.isItemSelected,s=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,g=t.suffix,f=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(a.a,{badge:f,checked:l,disabled:s,id:r,onChange:u,title:c,value:i},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),o,n),g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},g))}SelectionPanelItem.propTypes={children:i.a.node,id:i.a.string,slug:i.a.string,title:i.a.string,description:i.a.string,isItemSelected:i.a.bool,isItemDisabled:i.a.bool,onCheckboxChange:i.a.func,subtitle:i.a.string,suffix:i.a.node,badge:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var r=n(21),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,r=void 0===n?Object(l.__)("Current selection","google-site-kit"):n,a=t.availableItemsTitle,c=void 0===a?Object(l.__)("Additional items","google-site-kit"):a,s=t.savedItemSlugs,u=void 0===s?[]:s,d=t.availableSavedItems,g=void 0===d?{}:d,f=t.availableUnsavedItems,m=void 0===f?{}:f,p=t.ItemComponent,h=function(t){return Object.keys(t).map((function(n){return e.createElement(p,i()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(m).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(o.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},r),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(g)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},c)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(m)))}SelectionPanelItems.propTypes={currentSelectionTitle:c.a.string,availableItemsTitle:c.a.string,savedItemSlugs:c.a.array,availableSavedItems:c.a.object,availableUnsavedItems:c.a.object,ItemComponent:c.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(13),u=n(1),d=n.n(u),g=n(0),f=n(38),m=n(2),p=n(3),h=n(10),v=n(116),b=n(8),E=n(9),_=n(40),O=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=t.selectedItemSlugs,o=void 0===a?[]:a,u=t.saveSettings,d=void 0===u?function(){}:u,y=t.saveError,k=t.itemLimitError,j=t.minSelectedItemCount,S=void 0===j?0:j,w=t.maxSelectedItemCount,x=void 0===w?0:w,C=t.isBusy,A=t.onSaveSuccess,N=void 0===A?function(){}:A,T=t.onCancel,D=void 0===T?function(){}:T,M=t.isOpen,R=t.closePanel,B=void 0===R?function(){}:R,I=Object(g.useState)(null),P=l()(I,2),F=P[0],L=P[1],z=Object(g.useState)(!1),V=l()(z,2),W=V[0],G=V[1],U=Object(p.useSelect)((function(e){return e(E.p).isFetchingSyncAvailableAudiences()})),H=Object(g.useMemo)((function(){return!Object(s.isEqual)(Object(b.F)(o),Object(b.F)(r))}),[r,o]),q=(null==r?void 0:r.length)>0&&H?Object(m.__)("Apply changes","google-site-kit"):Object(m.__)("Save selection","google-site-kit"),K=Object(g.useCallback)(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(o);case 2:t=e.sent,t.error||(N(),B(),L(q),G(!0));case 5:case"end":return e.stop()}}),e)}))),[d,o,N,B,q]),J=Object(g.useCallback)((function(){B(),D()}),[B,D]),Y=Object(g.useState)(null),X=l()(Y,2),$=X[0],Q=X[1];Object(g.useEffect)((function(){null!==$&&$!==M&&M&&(L(null),G(!1)),Q(M)}),[M,$]);var Z=(null==o?void 0:o.length)||0,ee=U?e.createElement(_.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(f.a)(Object(m.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(m.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Z,x),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},y&&e.createElement(v.a,{error:y}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},H&&k?e.createElement(O.a,{noPrefix:!0,message:k}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(h.Button,{tertiary:!0,onClick:J,disabled:C},Object(m.__)("Cancel","google-site-kit")),e.createElement(h.SpinnerButton,{onClick:K,isSaving:C,disabled:Z<S||Z>x||C||!M&&W},F||q))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(344);function SelectionPanel(t){var n=t.children,r=t.isOpen,a=t.onOpen,c=t.closePanel,l=t.className;return e.createElement(o.a,{className:i()("googlesitekit-selection-panel",l),isOpen:r,onOpen:a,closeSheet:c,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:c.a.node,isOpen:c.a.bool,onOpen:c.a.func,closePanel:c.a.func,className:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var r=n(7),i=n.n(r),a=n(12),c=n.n(a),o=n(405),l=n.n(o),s=n(1),u=n.n(s),d=n(217),g=n(401),f=n(0),m=n(56),p=n(76);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,r=t.children,i=t.isOpen,a=t.onOpen,o=void 0===a?function(){}:a,s=t.closeSheet,u=void 0===s?function(){}:s,h=t.focusTrapOptions,b=void 0===h?{}:h,E=Object(f.useRef)();return Object(f.useEffect)((function(){i?(o(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[i,o]),Object(d.a)(E,u),Object(g.a)((function(e){return i&&m.c===e.keyCode}),u),e.createElement(p.a,null,e.createElement(l.a,{active:!!i,focusTrapOptions:v({fallbackFocus:"body"},b)},e.createElement("section",{ref:E,className:c()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":i}),role:"dialog","aria-modal":"true","aria-hidden":!i,tabIndex:"0"},r)),i&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(10);function SelectionBox(t){var n=t.badge,r=t.checked,i=t.children,a=t.disabled,l=t.id,s=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:c()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":a})},e.createElement(o.Checkbox,{checked:r,description:i,disabled:a,id:l,name:l,onChange:s,value:d,badge:n},u))}SelectionBox.propTypes={badge:i.a.node,checked:i.a.bool,children:i.a.node,disabled:i.a.bool,id:i.a.string,onChange:i.a.func,title:i.a.string,value:i.a.string}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var i=n(2),a=n(10),c=n(3),o=n(380),l=n(381),s=n(213),u=n(89),d=n(25),g=n(24),f=n(6),m=n(19),p=n(18),h=n(35),v=n(8),b=n(9),E=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(p.a)(),n=Object(h.a)(),_=Object(d.e)(),O=Object(E.c)(),y=Object(c.useSelect)((function(e){return e(f.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),k=Object(c.useSelect)((function(e){var t=e(f.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),r=e(f.a).isAudienceSegmentationWidgetHidden(),i=e(m.a).isModuleActive("analytics-4"),a=!n||e(f.a).canViewSharedModule("analytics-4"),c=e(b.p).getAudienceSegmentationSetupCompletedBy(),o=e(f.a).getID();return E.b===O&&!1===t&&!1===r&&i&&a&&Number.isInteger(c)&&c!==o})),j=Object(c.useDispatch)(g.b).dismissOverlayNotification,S=function(){j("audienceSegmentationIntroductoryOverlayNotification")};return r.createElement(s.a,{shouldShowNotification:k,GraphicDesktop:o.a,GraphicMobile:l.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(i.__)("New! Visitor groups","google-site-kit")),r.createElement("p",null,Object(i.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(a.Button,{tertiary:!0,disabled:y,onClick:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){S()}))}},Object(i.__)("Got it","google-site-kit")),r.createElement(a.Button,{disabled:y,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",_),behavior:"smooth"})}),0),Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){S()}))}},Object(i.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},,,,,function(e,t,n){"use strict";var r=n(226);n.d(t,"b",(function(){return r.a}));n(190),n(353);var i=n(422);n.d(t,"c",(function(){return i.a}));var a=n(423);n.d(t,"e",(function(){return a.a}));var c=n(424);n.d(t,"d",(function(){return c.a}));var o=n(425);n.d(t,"a",(function(){return o.a}));var l=n(426);n.d(t,"f",(function(){return l.a}));var s=n(427);n.d(t,"g",(function(){return s.a}));var u=n(428);n.d(t,"h",(function(){return u.a}));n(227),n(312);var d=n(429);n.d(t,"i",(function(){return d.a}))},,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return r.createElement("svg",i({viewBox:"0 0 23 22",fill:"none"},e),a)}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTooltipMessage}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(20),u=n(14);function AudienceTooltipMessage(t){var n=t.audienceSlug,r=t.audienceName,i=Object(l.useSelect)((function(e){return e(u.c).getDocumentationLinkURL("visitor-groups")}));return Object(a.useMemo)((function(){switch(n){case"new-visitors":return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)('%s are people who visited your site for the first time. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>New visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})});case"returning-visitors":return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)('%s are people who have visited your site at least once before. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>Returning visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})});default:return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)("%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>","google-site-kit"),"<strong>".concat(r,"</strong>")),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})})}}),[n,r,i])}AudienceTooltipMessage.propTypes={audienceSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RetryButton}));var r=n(1),i=n.n(r),a=n(2),c=n(10),o=n(8),l=n(18);function RetryButton(t){var n=t.handleRetry,r=Object(l.a)();return e.createElement(c.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",onClick:function(){n(),Object(o.J)("".concat(r,"_audiences-sidebar"),"data_loading_error_retry")},tertiary:!0},Object(a.__)("Retry","google-site-kit"))}RetryButton.propTypes={handleRetry:i.a.func.isRequired}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(19),a=n(6),c=n(30),o=n(9),l=n(64);function s(){return Object(r.useSelect)((function(e){var t=e(a.a).isItemDismissed(c.l),n=u(e,"search-console",l.b),r=u(e,"analytics-4",o.p);return!1===t&&n&&r}),[])}function u(e,t,n){if(e(i.a).isModuleConnected(t)){var r=e(n),a=r.isGatheringData,c=r.isDataAvailableOnLoad;return a(),c()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var r=n(271),i=n(3),a=n(24),c="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(i.useDispatch)(a.b).setValue;return Object(r.a)((function(){e(c,!0)})),null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var r=n(7),i=n.n(r),a=n(27),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(3),g=n(28),f=n(46),m=n(19),p=n(30),h=n(115);function MetricItem(t){var n=t.slug,r=t.title,a=t.description,o=t.savedItemSlugs,l=void 0===o?[]:o,v=Object(d.useSelect)((function(e){var t=e(m.a).getModule,r=e(f.a).getWidget(n);return null==r?void 0:r.modules.reduce((function(e,n){var r=t(n);return(null==r?void 0:r.connected)||!(null==r?void 0:r.name)?e:[].concat(c()(e),[r.name])}),[])})),b=Object(d.useSelect)((function(e){return e(g.a).getValue(p.j,p.i)})),E=Object(d.useSelect)((function(e){return e(g.a)})).getValue,_=Object(d.useDispatch)(g.a).setValues,O=Object(s.useCallback)((function(e){var t=E(p.j,p.i);_(p.j,i()({},p.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[E,_,n]),y=null==b?void 0:b.includes(n),k=!l.includes(n)&&v.length>0,j="key-metric-selection-checkbox-".concat(n);return e.createElement(h.c,{id:j,slug:n,title:r,description:a,isItemSelected:y,isItemDisabled:k,onCheckboxChange:O},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,savedItemSlugs:l.a.array}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},r.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},r.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),c=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=r.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},r.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},r.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),l=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},r.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},a,r.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},c),o),l)}},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return SetupSuccess}));var r=n(3),i=n(6),a=n(18),c=n(108),o=n(8),l=n(443),s=Object(c.a)(l.a),u="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return e(i.a).isItemDismissed(u)}));return void 0===n||n?null:e.createElement(s,{onInView:function(){Object(o.J)("".concat(t,"_audiences-setup-cta-settings-success"),"view_notification")}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(221),u=n(2),d=n(0),g=n(157),f=n(3),m=n(28),p=n(6),h=n(34),v=n(9);function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,r=t.onSuccess,a=t.onError,o=Object(s.a)(),b=Object(d.useState)([]),E=l()(b,2),_=E[0],O=E[1],y=Object(d.useState)([]),k=l()(y,2),j=k[0],S=k[1],w=Object(d.useState)(!1),x=l()(w,2),C=x[0],A=x[1],N=Object(f.useSelect)((function(e){return e(p.a).hasScope(v.g)})),T=Object(f.useSelect)((function(e){return e(m.a).getValue(v.c,"autoSubmit")})),D=Object(f.useDispatch)(m.a),M=D.setValues,R=Object(f.useDispatch)(p.a),B=R.setPermissionScopeError,I=Object(f.useDispatch)(v.p),P=I.enableAudienceGroup;n||(n=Object(g.a)(e.location.href,{notification:"audience_segmentation"}));var F=Object(d.useCallback)(c()(i.a.mark((function t(){var c,l,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A(!0),N){t.next=5;break}return M(v.c,{autoSubmit:!0}),B({code:h.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[v.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n,errorRedirectURL:e.location.href}}),t.abrupt("return");case 5:return M(v.c,{autoSubmit:!1}),t.next=8,P(j);case 8:if(t.t0=t.sent,t.t0){t.next=11;break}t.t0={};case 11:c=t.t0,l=c.error,s=c.failedSiteKitAudienceSlugs,l||s?null==a||a():null==r||r(),o()&&(l?(O([l]),S([])):Array.isArray(s)?(S(s),O([])):(O([]),S([])),A(!1));case 16:case"end":return t.stop()}}),t)}))),[N,M,P,j,o,B,n,a,r]);return Object(d.useEffect)((function(){N&&T&&F()}),[N,T,F]),{apiErrors:_,failedAudiences:j,isSaving:C,onEnableGroups:F}}}).call(this,n(26))},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.522 143.34c2.283 6.363 5.534 12.204 9.6 17.248 15.98 19.643 39.589 21.308 61.242 16.393 21.924-5.009 42.593-15.632 60.484-31.083 10.296-8.905 20.465-19.956 34.097-20.448 5.118-.184 10.412 1.462 14.278 5.346 8.035 8.019 7.892 21.731 14.162 31.235 8.339 12.64 20.332 16.554 33.415 18.013 36.961 4.116 80.986-9.39 106.41-42.253 22.699-29.338 25.423-76.02-2.053-102.765-12.553-12.22-29.767-17.818-46.014-14.965-12.418 2.18-25.024 8.813-37.878 10.657-15.138 2.177-24.497-5.246-36.745-13.892-21.342-15.026-49.557-20.8-73.716-12.081-23.127 8.343-39.771 31.125-62.275 41.133-19.446 8.653-42.416 7.336-59.313 21.43C.225 83.98-4.8 117.641 4.522 143.34z",fill:"#F9FAF9"}),c=r.createElement("g",{filter:"url(#ga4-success-green_svg__filter0_d_826_6999)"},r.createElement("rect",{x:83,y:3,width:218.232,height:149,rx:11.919,fill:"#fff"}),r.createElement("rect",{x:82.409,y:2.409,width:219.414,height:150.182,rx:12.51,stroke:"#CBD0D3",strokeWidth:1.182})),o=r.createElement("path",{d:"M83 14.92C83 8.336 88.337 3 94.92 3h194.393c6.583 0 11.919 5.337 11.919 11.92v6.14H83v-6.14z",fill:"#EBEEF0"}),l=r.createElement("rect",{x:92.03,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),s=r.createElement("rect",{x:101.061,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),u=r.createElement("rect",{x:95.002,y:30.603,width:25.582,height:9.303,rx:4.651,fill:"#EBEEF0"}),d=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M111.598 49.79H96.481v-2.907h15.117v2.907zM108.11 57.93H96.481v-2.907h11.629v2.906zM104.621 66.07h-8.14v-2.908h8.14v2.907zM109.273 74.21H96.481v-2.908h12.792v2.907z",fill:"#EBEEF0"}),g=r.createElement("rect",{x:237.141,y:30.151,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),f=r.createElement("rect",{x:255.516,y:70.242,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),m=r.createElement("circle",{cx:262.167,cy:51.309,r:10.746,stroke:"#F5C3EA",strokeWidth:3.07}),p=r.createElement("path",{d:"M272.914 51.309c0 5.934-4.812 10.746-10.747 10.746-5.934 0-10.746-4.812-10.746-10.746 0-5.935 4.812-10.746 10.746-10.746",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),h=r.createElement("rect",{x:136.446,y:85.999,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),v=r.createElement("rect",{x:155.258,y:125.508,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),b=r.createElement("circle",{cx:161.911,cy:106.574,r:10.746,stroke:"#F5C3EA",strokeWidth:3.295}),E=r.createElement("path",{d:"M158.294 116.693c-5.589-1.997-8.5-8.147-6.502-13.736 1.997-5.588 8.147-8.5 13.736-6.502",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),_=r.createElement("rect",{x:136.446,y:30.151,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),O=r.createElement("rect",{x:141.639,y:37.492,width:44.008,height:3.07,rx:1.023,fill:"#CBD0D3"}),y=r.createElement("rect",{x:141.639,y:43.633,width:28.656,height:3.07,rx:1.023,fill:"#CBD0D3"}),k=r.createElement("rect",{x:141.523,y:50.459,width:82.925,height:23.693,rx:2.047,fill:"#fff"}),j=r.createElement("g",{mask:"url(#ga4-success-green_svg__a)"},r.createElement("path",{d:"M152.343 70.074c-8.033 0-11.243-1.866-13.358-3.732v11.195h87.156V57.906c-.668-1.348-2.296-4.908-7.984-4.908-7.346 0-13.306 14.277-24.284 14.277-10.977 0-12.308-6.84-18.628-6.84-7.984 0-12.551 9.639-22.902 9.639z",fill:"#F5C3EA",stroke:"#E399D3",strokeWidth:3.07}),r.createElement("path",{d:"M178.129 60.008a3.07 3.07 0 11-6.141-.001 3.07 3.07 0 016.141 0z",fill:"#AC629B"})),S=r.createElement("rect",{x:193.986,y:85.999,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),w=r.createElement("rect",{x:199.267,y:92.758,width:19.445,height:3.07,rx:1.023,fill:"#CBD0D3"}),x=r.createElement("rect",{x:199.267,y:98.898,width:10.234,height:3.07,rx:1.023,fill:"#CBD0D3"}),C=r.createElement("rect",{x:204.875,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 204.875 127.555)",fill:"#F5C3EA"}),A=r.createElement("rect",{x:213.062,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 213.062 127.555)",fill:"#F5C3EA"}),N=r.createElement("rect",{x:221.25,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 221.25 127.555)",fill:"#F5C3EA"}),T=r.createElement("rect",{x:229.438,y:127.555,width:8.188,height:3.07,rx:1.023,transform:"rotate(-90 229.438 127.555)",fill:"#E399D3"}),D=r.createElement("rect",{x:237.625,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 237.625 127.555)",fill:"#E399D3"}),M=r.createElement("rect",{x:245.812,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 245.812 127.555)",fill:"#E399D3"}),R=r.createElement("rect",{x:254,y:127.555,width:18.422,height:3.07,rx:1.023,transform:"rotate(-90 254 127.555)",fill:"#E399D3"}),B=r.createElement("rect",{x:262.188,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 262.188 127.555)",fill:"#E399D3"}),I=r.createElement("rect",{x:270.375,y:127.555,width:9.211,height:3.07,rx:1.023,transform:"rotate(-90 270.375 127.555)",fill:"#E399D3"}),P=r.createElement("path",{d:"M79.162 126.71l-10.25 43.198H55M95.27 126.71l5.124 12.447-8.786 30.751h12.447",stroke:"#000",strokeWidth:2.758,strokeLinecap:"round"}),F=r.createElement("path",{d:"M120.896 104.725c5.939.696 30.067 6.234 23.615-15.253l5.672-1.395",stroke:"#191C1A",strokeWidth:2.758,strokeLinecap:"round",strokeLinejoin:"round"}),L=r.createElement("path",{d:"M58.868 105.86c.72 9.731.871 20.959-1.877 30.341",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),z=r.createElement("circle",{cx:88.68,cy:97.424,r:32.215,fill:"#77AD8C"}),V=r.createElement("path",{d:"M98.93 111.803c-4.788 6.599-13.708 8.761-20.5.899",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),W=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.02 126.711c18.196 0 32.947-14.752 32.947-32.948a32.791 32.791 0 00-5.113-17.637 32.09 32.09 0 018.042 21.296c0 17.792-14.423 32.216-32.215 32.216a32.093 32.093 0 01-21.282-8.03 32.788 32.788 0 0017.62 5.103z",fill:"#59866A"}),G=r.createElement("defs",null,r.createElement("filter",{id:"ga4-success-green_svg__filter0_d_826_6999",x:81.818,y:1.818,width:223.98,height:155.594,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.385,dy:4.231}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_826_6999"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_826_6999",result:"shape"})));t.a=function SvgGa4SuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 356 181",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,r.createElement("mask",{id:"ga4-success-green_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:141,y:50,width:84,height:25},k),j,S,w,x,C,A,N,T,D,M,R,B,I,P,F,L,z,V,W,G)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(3),l=n(682),s=n(6),u=n(46),d=n(17),g=n(35);function WidgetContextRenderer(t){var n=t.id,r=t.slug,i=t.className,a=t.Header,f=t.Footer,m=Object(g.a)(),p=Object(o.useSelect)((function(e){return m?e(s.a).getViewableModules():null})),h=Object(o.useSelect)((function(e){return r?e(u.a).getWidgetAreas(r):null})),v=Object(o.useSelect)((function(e){return!!r&&e(u.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:c()("googlesitekit-widget-context",{"googlesitekit-hidden":!v},i)},a&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(a,null)))),h&&h.map((function(t){return e.createElement(l.a,{key:t.slug,slug:t.slug,contextID:n})})),f&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(f,null)))))}WidgetContextRenderer.propTypes={id:i.a.string,slug:i.a.string,className:i.a.string,Header:i.a.elementType,Footer:i.a.elementType},t.a=WidgetContextRenderer}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(371),g=n(2),f=n(0),m=n(3),p=n(54),h=n(28),v=n(6),b=n(14),E=n(60),_=n(9),O=n(391),y=n(18),k=n(110),j=n(181),S=n(8),w=n(108),x=n(392),C=n(226),A=n(444),N=Object(w.a)(A.a);function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(y.a)(),o=Object(m.useDispatch)(E.a).invalidateResolution,s=Object(m.useDispatch)(h.a).setValues,u=Object(k.b)("audience_segmentation_setup_cta-notification"),d=Object(k.c)("audience_segmentation_setup_cta-notification").isTooltipVisible,p=Object(m.useSelect)((function(e){return e(v.a).isPromptDismissed("audience_segmentation_setup_cta-notification")})),j=Object(m.useSelect)((function(e){return e(v.a).getPromptDismissCount("audience_segmentation_setup_cta-notification")})),w=Object(m.useSelect)((function(e){return e(v.a).hasFinishedResolution("getDismissedPrompts",[])})),A=Object(m.useSelect)((function(e){return e(v.a).getConfiguredAudiences()})),T=Object(m.useSelect)((function(e){return e(h.a).getValue(_.c,"autoSubmit")})),D=Object(f.useState)(!1),M=l()(D,2),R=M[0],B=M[1],I=Object(m.useDispatch)(v.a),P=I.dismissItem,F=I.dismissPrompt,L=Object(x.a)({onSuccess:function(){o("getQueuedNotifications",[a]),F("audience_segmentation_setup_cta-notification",{expiresInSeconds:0}),P(O.a)},onError:function(){B(!0)}}),z=L.apiErrors,V=L.failedAudiences,W=L.isSaving,G=L.onEnableGroups,U=Object(m.useSelect)((function(e){return e(_.p).isGatheringData(),e(_.p).isDataAvailableOnLoad()})),H=Object(m.useSelect)((function(e){return e(_.p).getAudienceSegmentationSetupCompletedBy()}));var q=Object(m.useDispatch)(v.a).clearPermissionScopeError,K=Object(m.useDispatch)(b.c).setSetupErrorCode,J=Object(f.useCallback)((function(){s(_.c,{autoSubmit:!1}),q(),K(null),B(!1)}),[q,K,s]),Y=Object(m.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),X=T&&"access_denied"===Y;if(Object(f.useEffect)((function(){d&&Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_view")}),[d,a]),d)return e.createElement(f.Fragment,null,e.createElement(r,null),e.createElement(k.a,{title:Object(g.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(g.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),onDismiss:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_dismiss")},tooltipStateKey:"audience_segmentation_setup_cta-notification"}));if(null!==H||void 0===A||(null==A?void 0:A.length)||!U||p||!w)return null;return e.createElement(f.Fragment,null,e.createElement(N,{Widget:n,onEnableGroups:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"confirm_notification").finally(G)},isSaving:W,dismissCount:j,handleDismissClick:function(){u(),Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"dismiss_notification").finally(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(j<1)){e.next=6;break}return t=2*S.g,e.next=4,F("audience_segmentation_setup_cta-notification",{expiresInSeconds:t});case 4:e.next=8;break;case 6:return e.next=8,F("audience_segmentation_setup_cta-notification");case 8:case"end":return e.stop()}}),e)}))))},onInView:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"view_notification")}}),(R||X)&&e.createElement(C.a,{hasOAuthError:X,apiErrors:z.length?z:V,onRetry:G,inProgress:W,onCancel:X?J:function(){return B(!1)},trackEventCategory:"".concat(a,"_audiences-setup")}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.a=Object(d.a)(Object(p.a)({moduleName:"analytics-4"}),Object(j.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(3),f=n(54),m=n(9),p=n(6),h=n(448),v=n(163),b=n(190),E=n(312),_=n(199),O=n(34);function AudienceTilesWidget(t){var n=t.Widget,r=Object(g.useSelect)((function(e){var t=e(m.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),a=Object(g.useSelect)((function(e){return e(p.a).getConfiguredAudiences()})),o=Object(d.useState)(!1),s=l()(o,2),u=s[0],f=s[1],y=Object(g.useDispatch)(m.p),k=y.clearErrors,j=y.maybeSyncAvailableAudiences,S=y.syncAvailableAudiences,w=Object(g.useSelect)((function(e){return e(m.p).isSettingUpAudiences()})),x=Object(g.useSelect)((function(e){return e(m.p).getErrorForAction("syncAvailableAudiences")}));if(Object(d.useEffect)((function(){u||w||function(){var e=c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:f(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[u,w,j]),x){var C=Object(O.e)(x);return e.createElement(b.a,{errors:x,Widget:n,onRetry:C?void 0:c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k("syncAvailableAudiences");case 2:return e.next=4,S();case 4:case"end":return e.stop()}}),e)}))),showRetryButton:!C})}return(null==a?void 0:a.some((function(e){return null==r?void 0:r.includes(e)})))?e.createElement(h.a,{Widget:n,widgetLoading:!u||!r||!a}):u?e.createElement(E.a,{Widget:n,WidgetNull:_.a}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(v.a,null)),e.createElement(n,{noPadding:!0},e.createElement(v.a,null))))}AudienceTilesWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4"})(AudienceTilesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceSelectionPanel}));var r=n(7),i=n.n(r),a=n(0),c=n(3),o=n(18),l=n(35),s=n(8),u=n(39),d=n(28),g=n(24),f=n(6),m=n(9),p=n(473),h=n(475),v=n(478),b=n(480),E=n(481),_=n(482),O=n(115),y=n(483),k=n(485);function AudienceSelectionPanel(){var t=Object(o.a)(),n=Object(l.a)(),r=Object(c.useSelect)((function(e){return e(g.b).getValue(u.i)})),j=Object(c.useSelect)((function(e){var t=e(m.p).getConfigurableAudiences,n=(0,e(f.a).getConfiguredAudiences)()||[],r=t()||[];return r.length&&n.length?r.filter((function(e){var t=e.name;return n.includes(t)})).map((function(e){return e.name})):[]})),S=Object(c.useSelect)((function(e){return e(d.a).getValue(u.c,"autoSubmit")})),w=Object(c.useDispatch)(d.a).setValues,x=Object(c.useDispatch)(g.b).setValue,C=Object(a.useCallback)((function(){var e;w(u.h,(e={},i()(e,u.f,j),i()(e,u.g,!1),e)),Object(s.J)("".concat(t,"_audiences-sidebar"),"audiences_sidebar_view")}),[j,w,t]),A=Object(a.useCallback)((function(){r&&(x(u.i,!1),x(u.e,!1))}),[x,r]);return e.createElement(O.e,{className:"googlesitekit-audience-selection-panel",closePanel:A,isOpen:r||S,onOpen:C},e.createElement(E.a,{closePanel:A}),e.createElement(h.a,{savedItemSlugs:j}),e.createElement(p.a,null),!n&&e.createElement(y.a,null),e.createElement(_.a,null),e.createElement(v.a,null),e.createElement(k.a,null),e.createElement(b.a,{closePanel:A,isOpen:r,savedItemSlugs:j}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceAreaFooter}));var r=n(2),i=n(3),a=n(6),c=n(9),o=n(19),l=n(134),s=n(35);function AudienceAreaFooter(){var t=Object(s.a)(),n=Object(i.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:c.f})})),u=Object(i.useSelect)((function(e){return t?null:e(c.p).getServiceReportURL("audiences",{dates:n})}));return Object(i.useSelect)((function(e){return e(o.a).isModuleConnected("analytics-4")}))?e.createElement(l.a,{className:"googlesitekit-audience-widget__source",name:Object(r._x)("Analytics","Service name","google-site-kit"),href:u,external:!0}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeGroupsLink}));var r=n(0),i=n(2),a=n(3),c=n(18),o=n(8),l=n(39),s=n(24),u=n(9),d=n(20),g=n(275);function ChangeGroupsLink(){var t=Object(c.a)(),n=Object(a.useInViewSelect)((function(e){return e(u.p).getConfigurableAudiences()}),[]),f=Object(a.useDispatch)(s.b).setValue,m=Object(r.useCallback)((function(){f(l.i,!0),Object(o.J)("".concat(t,"_audiences-sidebar"),"change_groups")}),[f,t]);return Array.isArray(n)&&(null==n?void 0:n.length)>0?e.createElement(r.Fragment,null,e.createElement(d.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:m,leadingIcon:e.createElement(g.a,{width:22,height:22})},Object(i.__)("Change groups","google-site-kit"))):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAnalyticsCTAWidget}));var r=n(1),i=n.n(r),a=n(38),c=n(0),o=n(2),l=n(3),s=n(486),u=n(487),d=n(20),g=n(19),f=n(176),m=n(25),p=n(319);function ConnectAnalyticsCTAWidget(t){var n=t.Widget,r=Object(m.e)()===m.c,i=Object(f.a)("analytics-4"),h=Object(l.useSelect)((function(e){return e(g.a).getModuleIcon("analytics-4")})),v=r?e.createElement("p",null,Object(a.a)(Object(o.__)("Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>","google-site-kit"),{a:e.createElement(d.a,{secondary:!0,onClick:i})})):e.createElement(c.Fragment,null,e.createElement("p",null,Object(o.__)("Google Analytics is disconnected, your audience metrics can’t be displayed","google-site-kit")),e.createElement(d.a,{secondary:!0,onClick:i},Object(o.__)("Connect Google Analytics","google-site-kit")));return e.createElement(n,{noPadding:!0},e.createElement(p.a,{Icon:h,SVGGraphic:r?u.a:s.a},v))}ConnectAnalyticsCTAWidget.propTypes={Widget:i.a.elementType.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(3),l=n(6),s=n(8),u=n(54),d=n(227),g=n(153),f=n(9),m=n(24),p=n(108),h=n(18),v=Object(p.a)(d.a);function InfoNoticeWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(h.a)(),u=Object(o.useInViewSelect)((function(e){var t=e(f.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))}),[]),d=Object(o.useInViewSelect)((function(e){return e(l.a).getConfiguredAudiences()}),[]),p=null==d?void 0:d.some((function(e){return null==u?void 0:u.includes(e)})),b=g.a.length,E=Object(o.useInViewSelect)((function(e){return e(l.a).isPromptDismissed(g.c)}),[]),_=Object(o.useSelect)((function(e){return e(m.b).getValue(g.b)})),O=Object(o.useInViewSelect)((function(e){return e(l.a).getPromptDismissCount(g.c)}),[]),y=Object(o.useDispatch)(l.a).dismissPrompt,k=Object(a.useCallback)((function(){void 0!==O&&Object(s.J)("".concat(i,"_audiences-info-notice"),"dismiss_notice",g.a[O].slug).finally((function(){var e=2*s.g,t=O+1<b?e:0;y(g.c,{expiresInSeconds:t})}))}),[O,y,b,i]);if(!0!==p||E||void 0===O||O>=b||!0===_)return e.createElement(r,null);var j=g.a[O],S=j.slug,w=j.content;return e.createElement(n,{noPadding:!0},e.createElement(v,{content:w,dismissLabel:Object(c.__)("Got it","google-site-kit"),onDismiss:k,onInView:function(){Object(s.J)("".concat(i,"_audiences-info-notice"),"view_notice",S)}}))}InfoNoticeWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"analytics-4"})(InfoNoticeWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SecondaryUserSetupWidget}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(91),g=n(0),f=n(3),m=n(163),p=n(9),h=n(190),v=n(34);function SecondaryUserSetupWidget(t){var n=t.Widget,r=Object(g.useState)(null),a=l()(r,2),o=a[0],s=a[1],u=Object(f.useSelect)((function(e){return e(p.p).isSettingUpAudiences()})),b=Object(f.useDispatch)(p.p).enableSecondaryUserAudienceGroup,E=function(){var e=c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(null),e.next=3,b();case 3:t=e.sent,(n=t.error)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(d.a)((function(){u||c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:t=e.sent,(n=t.error)&&s(n);case 5:case"end":return e.stop()}}),e)})))()})),o?e.createElement(h.a,{Widget:n,errors:o,onRetry:E,showRetryButton:!Object(v.e)(o)}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(m.a,null)),e.createElement(n,{noPadding:!0},e.createElement(m.a,null))))}SecondaryUserSetupWidget.propTypes={Widget:u.a.elementType.isRequired}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=n(17),s=n(25),u=n(320),d=n(34),g=n(117),f=n(315),m=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.errors,a=t.onRetry,m=t.onRequestAccess,p=t.showRetryButton,h=Object(s.e)(),v=h===s.b,b=h===s.c,E=i.some(d.e);return e.createElement(r,{ref:n,noPadding:!0,className:"googlesitekit-audience-segmentation-error-widget"},e.createElement(l.e,{collapsed:!0,className:"googlesitekit-audience-segmentation-error__widget-primary-cell"},e.createElement(l.k,null,e.createElement(l.a,{smSize:6,mdSize:8,lgSize:7},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},E?Object(c.__)("Insufficient permissions","google-site-kit"):Object(c.__)("Your visitor groups data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-error__actions"},p&&a?e.createElement(o.Button,{onClick:a,danger:!0},Object(c.__)("Retry","google-site-kit")):e.createElement(g.a,{moduleSlug:"analytics-4",error:i,GetHelpLink:E?f.a:void 0,hideGetHelpLink:!E,buttonVariant:"danger",getHelpClassName:"googlesitekit-error-retry-text",onRetry:a,onRequestAccess:m}))),!v&&!b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(u.a,{width:"233px"})),b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",mdSize:8},e.createElement(u.a,{width:"233px"})),v&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:8},e.createElement(u.a,{width:"233px"})))))}));m.propTypes={Widget:i.a.elementType.isRequired,errors:i.a.arrayOf(i.a.object).isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired,showRetryButton:i.a.bool},t.a=m}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(2),s=n(157),u=n(84),d=n(32),g=n(14),f=n(6),m=n(8),p=n(18),h=n(3),v=n(10),b=n(151),E=Object(o.forwardRef)((function(t,n){var r=Object(p.a)(),a=Object(h.useSelect)((function(e){var t=e(g.c).getAdminURL("googlesitekit-dashboard");return Object(s.a)(t,{widgetArea:u.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),o=Object(h.useDispatch)(d.a).navigateTo,E=Object(h.useDispatch)(f.a).dismissItem;function _(){return E("settings_visitor_groups_setup_success_notification")}return e.createElement("div",{ref:n,className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(b.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(l.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(v.Button,{tertiary:!0,onClick:function(){Object(m.J)("".concat(r,"_audiences-setup-cta-settings-success"),"dismiss_notification").finally(_)}},Object(l.__)("Got it","google-site-kit")),e.createElement(v.Button,{onClick:function(){Object(m.J)("".concat(r,"_audiences-setup-cta-settings-success"),"confirm_notification").finally(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:o(a);case 3:case"end":return e.stop()}}),e)}))))}},Object(l.__)("Show me","google-site-kit"))))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(0),o=n(445),l=n(446),s=n(447),u=n(10),d=n(17),g=n(25),f=Object(c.forwardRef)((function(t,n){var r=t.Widget,i=t.onEnableGroups,f=t.isSaving,m=t.dismissCount,p=t.handleDismissClick,h=Object(g.e)(),v=h===g.b,b=h===g.c;return e.createElement("div",{ref:n,className:"googlesitekit-widget-context"},e.createElement(d.e,{className:"googlesitekit-widget-area"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(r,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(d.e,{collapsed:!0},e.createElement(d.k,null,e.createElement(d.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(a.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(a.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(c.Fragment,null,e.createElement(u.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:i,isSaving:f},f?Object(a.__)("Enabling groups","google-site-kit"):Object(a.__)("Enable groups","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:p},m<1?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Don’t show again","google-site-kit"))))),!v&&!b&&e.createElement(d.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(o.a,null)),b&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(l.a,null)),v&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(s.a,null)))))))))}));f.propTypes={Widget:i.a.elementType.isRequired,onEnableGroups:i.a.func.isRequired,isSaving:i.a.bool.isRequired,dismissCount:i.a.number.isRequired,handleDismissClick:i.a.func.isRequired},t.a=f}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},r.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),r.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},r.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return r.createElement("svg",i({viewBox:"0 0 496 216",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},r.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},r.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},r.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},r.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 120",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTiles}));var r=n(27),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(10),d=n(3),g=n(25),f=n(6),m=n(9),p=n(449),h=n(122),v=n(365),b=n(190),E=n(466),_=n(163),O=n(469),y=n(471),k=n(253),j=n(18),S=n(35),w=n(8),x=function(e,t){var n,r,i,a=null==e||null===(n=e.rows)||void 0===n?void 0:n.find((function(e){var n,r;return(null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}));return 0===((null==a||null===(r=a.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0)};function AudienceTiles(t){var n=t.Widget,r=t.widgetLoading,a=Object(j.a)(),o=Object(S.a)(),l=Object(g.e)(),C=l===g.b||l===g.c,A=Object(d.useInViewSelect)((function(e){return e(f.a).getConfiguredAudiences()}),[]),N=Object(d.useInViewSelect)((function(e){return e(m.p).getAvailableAudiences()}),[]),T=Object(d.useSelect)((function(e){return e(m.p).getConfiguredSiteKitAndOtherAudiences()}))||[[],[]],D=c()(T,2),M=D[0],R=D[1],B=Object(d.useSelect)((function(e){return e(m.p).hasAudiencePartialData(M)})),I=Object(y.a)({isSiteKitAudiencePartialData:B,siteKitAudiences:M,otherAudiences:R}),P=I.report,F=I.reportLoaded,L=I.reportError,z=I.siteKitAudiencesReport,V=I.siteKitAudiencesReportLoaded,W=I.siteKitAudiencesReportError,G=I.totalPageviews,U=I.totalPageviewsReportLoaded,H=I.totalPageviewsReportError,q=I.topCitiesReport,K=I.topCitiesReportLoaded,J=I.topCitiesReportErrors,Y=I.topContentReport,X=I.topContentReportLoaded,$=I.topContentReportErrors,Q=I.topContentPageTitlesReport,Z=I.topContentPageTitlesReportLoaded,ee=I.topContentPageTitlesReportErrors,te=function(e,t){var n,r,i,a,c,o,l=(null==N||null===(n=N.filter((function(t){return t.name===e})))||void 0===n||null===(r=n[0])||void 0===r?void 0:r.displayName)||"",s=(null==N||null===(i=N.filter((function(t){return t.name===e})))||void 0===i||null===(a=i[0])||void 0===a?void 0:a.audienceSlug)||"",u=function(e){var t,n=M.some((function(t){return t.name===e})),r=null===(t=M.find((function(t){return t.name===e})))||void 0===t?void 0:t.audienceSlug,i=function(t){var i,a,c,o,l,s,u,d,g,f,m,p,h;if(n&&B){var v,b="new-visitors"===r?"new":"returning";h=null==z||null===(v=z.rows)||void 0===v?void 0:v.find((function(e){var n,r,i=e.dimensionValues;return(null==i||null===(n=i[0])||void 0===n?void 0:n.value)===b&&(null==i||null===(r=i[1])||void 0===r?void 0:r.value)===t}))}else{var E;h=null==P||null===(E=P.rows)||void 0===E?void 0:E.find((function(n){var r,i,a=n.dimensionValues;return(null==a||null===(r=a[0])||void 0===r?void 0:r.value)===e&&(null==a||null===(i=a[1])||void 0===i?void 0:i.value)===t}))}return[Number((null===(i=h)||void 0===i||null===(a=i.metricValues)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.value)||0),Number((null===(o=h)||void 0===o||null===(l=o.metricValues)||void 0===l||null===(s=l[1])||void 0===s?void 0:s.value)||0),Number((null===(u=h)||void 0===u||null===(d=u.metricValues)||void 0===d||null===(g=d[2])||void 0===g?void 0:g.value)||0),Number((null===(f=h)||void 0===f||null===(m=f.metricValues)||void 0===m||null===(p=m[3])||void 0===p?void 0:p.value)||0)]};return{current:i("date_range_0"),previous:i("date_range_1")}}(e),d=u.current,g=u.previous,f=d[0],m=g[0],p=d[1],h=g[1],v=d[2],b=g[2],E=d[3],_=g[3],O=null==q?void 0:q[t],y=null==Y?void 0:Y[t],k=(null==Q||null===(c=Q[t])||void 0===c||null===(o=c.rows)||void 0===o?void 0:o.reduce((function(e,t){return e[t.dimensionValues[0].value]=t.dimensionValues[1].value,e}),{}))||{},j=M.some((function(t){return t.name===e})),S=P,w=e;return j&&B&&(S=z,w="new-visitors"===s?"new":"returning"),{audienceName:l,audienceSlug:s,visitors:f,prevVisitors:m,visitsPerVisitors:p,prevVisitsPerVisitors:h,pagesPerVisit:v,prevPagesPerVisit:b,pageviews:E,prevPageviews:_,topCities:O,topContent:y,topContentTitles:k,isZeroData:x(S,w),isPartialData:!j&&oe[e]}},ne=null==A?void 0:A.reduce((function(e,t){return e[t]=[],[J,$,ee].forEach((function(n){var r=n[t];r&&!Object(k.a)(r)&&e[t].push(r)})),e}),{}),re=Object(d.useSelect)((function(e){return e(f.a).getDismissedItems()})),ie=Object(d.useSelect)((function(e){return e(f.a)})).isDismissingItem,ae=Object(d.useDispatch)(f.a).dismissItem,ce=Object(s.useCallback)((function(e){ae("audience-tile-".concat(e))}),[ae]),oe=Object(d.useInViewSelect)((function(e){return null==A?void 0:A.reduce((function(t,n){return t[n]=e(m.p).isAudiencePartialData(n),t}),{})}),[A]),le=Object(s.useRef)({}),se=Object(s.useMemo)((function(){for(var e=[],t=[],n=null==A?void 0:A.slice().filter((function(e){return N.some((function(t){return t.name===e}))})),r=function(){var r,i=n.shift(),a=null==re?void 0:re.includes("audience-tile-".concat(i)),c=M.some((function(e){return e.name===i})),o=P,l=i;c&&B&&(o=z,l="new-visitors"===(null===(r=M.find((function(e){return e.name===i})))||void 0===r?void 0:r.audienceSlug)?"new":"returning");var s=x(o,l),u=n.length+t.length>0;if(a&&s&&u)return"continue";a&&!s&&e.push(i),t.push(i)};(null==n?void 0:n.length)>0;)r();return[e,t]}),[N,A,re,B,P,M,z]),ue=c()(se,2),de=ue[0],ge=ue[1];var fe,me=(fe=[],P&&fe.push(L),z&&fe.push(W),!(!fe.every(Boolean)&&!H)||(null==A?void 0:A.every((function(e){return ne[e].length>0}))));Object(s.useEffect)((function(){de.forEach((function(e){var t="audience-tile-".concat(e);le.current[t]||(ae(t,{expiresInSeconds:1}),le.current[t]=!0)}))}),[de,ae,ie]);var pe=Object(d.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),he=Object(d.useDispatch)(m.p).fetchSyncAvailableCustomDimensions,ve=Object.values($).some(k.a)||Object.values(ee).some(k.a);Object(s.useEffect)((function(){!o&&ve&&he()}),[he,ve,o]);var be=Object(s.useState)(ge[0]),Ee=c()(be,2),_e=Ee[0],Oe=Ee[1],ye=Object(s.useCallback)((function(e){var t=ge.indexOf(e);return-1===t?0:t}),[ge]);Object(s.useEffect)((function(){ge.includes(_e)||Oe(ge[0])}),[_e,ge]);var ke=ye(_e),je=r||!F||!V||!U||!K||!X||!Z||pe,Se=0;return e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},!1===me&&!je&&C&&ge.length>0&&e.createElement(u.TabBar,{key:ge.length,className:"googlesitekit-widget-audience-tiles__tabs",activeIndex:ke,handleActiveIndexUpdate:function(e){return Oe(ge[e])}},ge.map((function(t,n){var r,i,c,o,l=(null==N||null===(r=N.filter((function(e){return e.name===t})))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.displayName)||"",s=(null==N||null===(c=N.filter((function(e){return e.name===t})))||void 0===c||null===(o=c[0])||void 0===o?void 0:o.audienceSlug)||"",d=e.createElement(v.a,{audienceName:l,audienceSlug:s});return e.createElement(u.Tab,{key:n,"aria-label":l},l,e.createElement(h.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){Object(w.J)("".concat(a,"_audiences-tile"),"view_tile_tooltip",s)}}))}))),e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},me&&!je&&e.createElement(b.a,{Widget:n,errors:[].concat(i()(Object.values(ne).flat(2)),[L,H])}),(!1===me||je)&&ge.map((function(t,r){var i,a,c,o,l,s,u,d,g,f,m,h,b,O,y,k,j,S,w,x,A,N,T,D,M,R,B,I,P,F,L,z,V,W,U,H;if(C&&r!==ke)return null;var q=te(t,r),K=q.audienceName,J=q.audienceSlug,Y=q.visitors,X=q.prevVisitors,$=q.visitsPerVisitors,Q=q.prevVisitsPerVisitors,Z=q.pagesPerVisit,ee=q.prevPagesPerVisit,re=q.pageviews,ie=q.prevPageviews,ae=q.topCities,oe=q.topContent,le=q.topContentTitles,se=q.isZeroData,ue=q.isPartialData;return je||void 0===se||void 0===ue?e.createElement(n,{key:t,noPadding:!0},e.createElement(_.a,null)):ne[t].length>0?e.createElement(E.a,{key:t,audienceSlug:J,errors:ne[t]}):e.createElement(p.a,{key:t,audienceTileNumber:Se++,audienceSlug:J,title:K,infoTooltip:e.createElement(v.a,{audienceName:K,audienceSlug:J}),visitors:{currentValue:Y,previousValue:X},visitsPerVisitor:{currentValue:$,previousValue:Q},pagesPerVisit:{currentValue:Z,previousValue:ee},pageviews:{currentValue:re,previousValue:ie},percentageOfTotalPageViews:0!==G?re/G:0,topCities:{dimensionValues:[null==ae||null===(i=ae.rows)||void 0===i||null===(a=i[0])||void 0===a||null===(c=a.dimensionValues)||void 0===c?void 0:c[0],null==ae||null===(o=ae.rows)||void 0===o||null===(l=o[1])||void 0===l||null===(s=l.dimensionValues)||void 0===s?void 0:s[0],null==ae||null===(u=ae.rows)||void 0===u||null===(d=u[2])||void 0===d||null===(g=d.dimensionValues)||void 0===g?void 0:g[0]],metricValues:[null==ae||null===(f=ae.rows)||void 0===f||null===(m=f[0])||void 0===m||null===(h=m.metricValues)||void 0===h?void 0:h[0],null==ae||null===(b=ae.rows)||void 0===b||null===(O=b[1])||void 0===O||null===(y=O.metricValues)||void 0===y?void 0:y[0],null==ae||null===(k=ae.rows)||void 0===k||null===(j=k[2])||void 0===j||null===(S=j.metricValues)||void 0===S?void 0:S[0]],total:Y},topContent:{dimensionValues:[null==oe||null===(w=oe.rows)||void 0===w||null===(x=w[0])||void 0===x||null===(A=x.dimensionValues)||void 0===A?void 0:A[0],null==oe||null===(N=oe.rows)||void 0===N||null===(T=N[1])||void 0===T||null===(D=T.dimensionValues)||void 0===D?void 0:D[0],null==oe||null===(M=oe.rows)||void 0===M||null===(R=M[2])||void 0===R||null===(B=R.dimensionValues)||void 0===B?void 0:B[0]],metricValues:[null==oe||null===(I=oe.rows)||void 0===I||null===(P=I[0])||void 0===P||null===(F=P.metricValues)||void 0===F?void 0:F[0],null==oe||null===(L=oe.rows)||void 0===L||null===(z=L[1])||void 0===z||null===(V=z.metricValues)||void 0===V?void 0:V[0],null==oe||null===(W=oe.rows)||void 0===W||null===(U=W[2])||void 0===U||null===(H=U.metricValues)||void 0===H?void 0:H[0]]},topContentTitles:le,hasInvalidCustomDimensionError:ve,Widget:n,audienceResourceName:t,isZeroData:se,isPartialData:ue,isTileHideable:ge.length>1,onHideTile:function(){return ce(t)}})})),!C&&e.createElement(O.a,{Widget:n,loading:je,allTilesError:me,visibleAudienceCount:ge.length})))}AudienceTiles.propTypes={Widget:l.a.elementType.isRequired,widgetLoading:l.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTile}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(25),u=n(35),d=n(9),g=n(450),f=n(451),m=n(452),p=n(453),h=n(454),v=n(455),b=n(268),E=n(456),_=n(457),O=n(171),y=n(122),k=n(317),j=n(8),S=n(231),w=n(18),x=n(460);function AudienceTile(t){var n=t.audienceTileNumber,r=void 0===n?0:n,a=t.audienceSlug,c=t.title,C=t.infoTooltip,A=t.visitors,N=t.visitsPerVisitor,T=t.pagesPerVisit,D=t.pageviews,M=t.percentageOfTotalPageViews,R=t.topCities,B=t.topContent,I=t.topContentTitles,P=t.hasInvalidCustomDimensionError,F=t.Widget,L=t.audienceResourceName,z=t.isZeroData,V=t.isPartialData,W=t.isTileHideable,G=t.onHideTile,U=Object(s.e)(),H=Object(w.a)(),q=Object(u.a)(),K=Object(l.useInViewSelect)((function(e){var t=e(d.p).getPropertyID();return t&&e(d.p).isPropertyPartialData(t)})),J=Object(l.useSelect)((function(e){return e(d.p).isSiteKitAudience(L)})),Y=Object(l.useInViewSelect)((function(e){return!J&&void 0!==K&&(!K&&L&&e(d.p).isAudiencePartialData(L))}),[K,J,L]),X=Object(l.useInViewSelect)((function(e){return void 0!==K&&(!K&&!Y&&e(d.p).isCustomDimensionPartialData("googlesitekit_post_type"))}),[Y]),$=Object(l.useInViewSelect)((function(e){return e(d.p).hasCustomDimensions("googlesitekit_post_type")}),[]),Q=[s.b,s.c].includes(U);return V&&z?e.createElement(x.a,{Widget:F,audienceSlug:a,title:c,infoTooltip:C,isMobileBreakpoint:Q,isTileHideable:W,onHideTile:G}):e.createElement(F,{noPadding:!0},e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile",{"googlesitekit-audience-segmentation-tile--partial-data":Y})},!Q&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},c,C&&e.createElement(y.a,{title:C,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(j.J)("".concat(H,"_audiences-tile"),"view_tile_tooltip",a)}})),Y&&e.createElement(S.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(o.__)("Partial data","google-site-kit"),tooltipTitle:Object(o.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit"),onTooltipOpen:function(){Object(j.J)("".concat(H,"_audiences-tile"),"view_tile_partial_data_tooltip",a)}})),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__metrics"},Q&&Y&&e.createElement(k.a,{content:Object(o.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit")}),e.createElement(b.a,{TileIcon:g.a,title:Object(o.__)("Visitors","google-site-kit"),metricValue:A.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:A.previousValue,currentValue:A.currentValue})}}),e.createElement(b.a,{TileIcon:f.a,title:Object(o.__)("Visits per visitor","google-site-kit"),metricValue:N.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:N.previousValue,currentValue:N.currentValue})}}),e.createElement(b.a,{TileIcon:m.a,title:Object(o.__)("Pages per visit","google-site-kit"),metricValue:T.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:T.previousValue,currentValue:T.currentValue})},metricValueFormat:{style:"decimal",maximumFractionDigits:2}}),e.createElement(b.a,{TileIcon:p.a,title:Object(o.sprintf)( /* translators: %s: is a percentage value such as 33.3%. */ Object(o.__)("%s of total pageviews","google-site-kit"),Object(j.C)(M,{style:"percent",maximumFractionDigits:1})),metricValue:D.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:D.previousValue,currentValue:D.currentValue})}}),e.createElement(E.a,{TileIcon:h.a,title:Object(o.__)("Cities with the most visitors","google-site-kit"),topCities:R}),(!q||$&&!P)&&e.createElement(_.a,{audienceTileNumber:r,audienceSlug:a,TileIcon:v.a,title:Object(o.__)("Top content by pageviews","google-site-kit"),topContentTitles:I,topContent:B,isTopContentPartialData:X}))))}AudienceTile.propTypes={audienceTileNumber:c.a.number,audienceSlug:c.a.string.isRequired,title:c.a.string.isRequired,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),visitors:c.a.object,visitsPerVisitor:c.a.object,pagesPerVisit:c.a.object,pageviews:c.a.object,percentageOfTotalPageViews:c.a.number,topCities:c.a.object,topContent:c.a.object,topContentTitles:c.a.object,hasInvalidCustomDimensionError:c.a.bool,Widget:c.a.elementType.isRequired,audienceResourceName:c.a.string.isRequired,isZeroData:c.a.bool,isPartialData:c.a.bool,isTileHideable:c.a.bool,onHideTile:c.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitors(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitsPerVisitor(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPagesPerVisit(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPageviews(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconCities(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconTopContent(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCitiesMetric}));var r=n(1),i=n.n(r),a=n(8),c=n(316);function AudienceTileCitiesMetric(t){var n,r=t.TileIcon,i=t.title,o=t.topCities,l=(null==o||null===(n=o.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],s=!!l.length;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(r,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},i),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!s&&e.createElement(c.a,null),s&&l.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__cities-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-name"},null==t?void 0:t.value),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-value"},Object(a.C)((null==o||null===(r=o.metricValues[n])||void 0===r?void 0:r.value)/(null==o?void 0:o.total),{style:"percent",maximumFractionDigits:1})))})))))}AudienceTileCitiesMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,topCities:i.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceTilePagesMetric}));var i=n(1),a=n.n(i),c=n(0),o=n(157),l=n(2),s=n(3),u=n(25),d=n(28),g=n(14),f=n(6),m=n(9),p=n(34),h=n(231),v=n(458),b=n(226),E=n(84),_=n(18),O=n(8);function AudienceTilePagesMetric(t){var n=t.audienceTileNumber,i=t.audienceSlug,a=t.TileIcon,y=t.title,k=t.topContent,j=t.topContentTitles,S=t.isTopContentPartialData,w=Object(u.e)(),x=Object(_.a)(),C=m.e.googlesitekit_post_type.parameterName,A=Object(s.useSelect)((function(e){return!e(m.p).hasCustomDimensions(C)})),N=Object(s.useSelect)((function(e){return e(f.a).hasScope(m.g)})),T=Object(o.a)(e.location.href,{notification:"audience_segmentation",widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),D=Object(o.a)(e.location.href,{widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),M=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(s.useSelect)((function(e){return e(m.p).isCreatingCustomDimension(C)})),B=Object(s.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),I=Object(s.useSelect)((function(e){return e(m.p).getCreateCustomDimensionError(C)})),P=Object(s.useSelect)((function(e){return e(m.p).getPropertyID()})),F=Object(s.useDispatch)(m.p).clearError,L=Object(s.useDispatch)(d.a).setValues,z=Object(s.useDispatch)(f.a),V=z.setPermissionScopeError,W=z.clearPermissionScopeError,G=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isRetrying")})),U=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"autoSubmit")})),H=Object(s.useSelect)((function(e){return e(g.c).getSetupErrorCode()})),q=Object(s.useDispatch)(g.c).setSetupErrorCode,K=U&&"access_denied"===H,J=Object(c.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isRetrying;L(m.d,{autoSubmit:!0,isRetrying:t}),N||V({code:p.a,message:Object(l.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[m.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:T,errorRedirectURL:D}})}),[N,T,D,V,L]),Y=Object(c.useCallback)((function(){L(m.d,{autoSubmit:!1,isRetrying:!1}),q(null),W(),F("createCustomDimension",[P,m.e.googlesitekit_post_type])}),[F,W,P,q,L]),X=[u.b,u.c].includes(w),$=M||R||B;return r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},r.createElement(a,null)),r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},y,!X&&S&&r.createElement(h.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(l.__)("Partial data","google-site-kit"),onTooltipOpen:function(){Object(O.J)("".concat(x,"_audiences-tile"),"view_top_content_partial_data_tooltip",i)},tooltipTitle:Object(l.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")})),r.createElement(v.a,{topContentTitles:j,topContent:k,isTopContentPartialData:S,hasCustomDimension:!A,onCreateCustomDimension:J,isSaving:$}),0===n&&(I&&!$||G&&!M||K)&&r.createElement(b.a,{apiErrors:[I],title:Object(l.__)("Failed to enable metric","google-site-kit"),description:Object(l.__)("Oops! Something went wrong. Retry enabling the metric.","google-site-kit"),onRetry:function(){return J({isRetrying:!0})},onCancel:Y,inProgress:$,hasOAuthError:K,trackEventCategory:"".concat(x,"_audiences-top-content-cta")})))}AudienceTilePagesMetric.propTypes={audienceTileNumber:a.a.number,audienceSlug:a.a.string.isRequired,TileIcon:a.a.elementType.isRequired,title:a.a.string.isRequired,topContent:a.a.object,topContentTitles:a.a.object,isTopContentPartialData:a.a.bool}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTilePagesMetricContent}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(25),l=n(6),s=n(9),u=n(316),d=n(20),g=n(317),f=n(8),m=n(108),p=n(18),h=n(35),v=n(459),b=Object(m.a)(v.a);function AudienceTilePagesMetricContent(t){var n,r=t.topContentTitles,i=t.topContent,m=t.isTopContentPartialData,v=t.hasCustomDimension,E=t.onCreateCustomDimension,_=t.isSaving,O=Object(p.a)(),y=Object(h.a)(),k=Object(o.e)(),j=[o.b,o.c].includes(k),S=(null==i||null===(n=i.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],w=!!S.length,x=Object(c.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:s.f})}));function ContentLinkComponent(t){var n=t.content,i=r[null==n?void 0:n.value],a=null==n?void 0:n.value,o=Object(c.useSelect)((function(e){return y?null:e(s.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:x})}));return y?e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__top-content-metric-name"},i):e.createElement(d.a,{href:o,title:i,external:!0,hideExternalIndicator:!0},i)}return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!v&&e.createElement(b,{onClick:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"create_custom_dimension").finally(E)},isSaving:_,onInView:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"view_cta")}}),v&&!w&&e.createElement(u.a,null),v&&w&&S.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__page-metric-container"},e.createElement(ContentLinkComponent,{content:t}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__page-metric-value"},Object(f.C)(null==i||null===(r=i.metricValues[n])||void 0===r?void 0:r.value)))})),j&&m&&e.createElement(g.a,{content:Object(a.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")}))}AudienceTilePagesMetricContent.propTypes={topContentTitles:i.a.object,topContent:i.a.object,isTopContentPartialData:i.a.bool,hasCustomDimension:i.a.bool,onCreateCustomDimension:i.a.func,isSaving:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=Object(a.forwardRef)((function(t,n){var r=t.onClick,i=t.isSaving;return e.createElement("div",{ref:n,className:"googlesitekit-audience-segmentation-tile-metric__no-data"},Object(c.__)("No data to show","google-site-kit"),e.createElement("p",null,Object(c.__)("Update Analytics to track metric","google-site-kit")),e.createElement(o.SpinnerButton,{danger:!0,onClick:r,isSaving:i,disabled:i},Object(c.__)("Update","google-site-kit")))}));l.propTypes={onClick:i.a.func.isRequired,isSaving:i.a.bool},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileZeroData}));var r=n(1),i=n.n(r),a=n(18),c=n(108),o=n(8),l=n(461),s=Object(c.a)(l.a);function AudienceTileZeroData(t){var n=t.Widget,r=t.audienceSlug,i=t.title,c=t.infoTooltip,l=t.isMobileBreakpoint,u=t.isTileHideable,d=t.onHideTile,g=Object(a.a)();return e.createElement(s,{Widget:n,audienceSlug:r,title:i,infoTooltip:c,isMobileBreakpoint:l,isTileHideable:u,onHideTile:function(){Object(o.J)("".concat(g,"_audiences-tile"),"temporarily_hide",r).finally(d)},onInView:function(){Object(o.J)("".concat(g,"_audiences-tile"),"view_tile_collecting_data",r)}})}AudienceTileZeroData.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(18),o=n(8),l=n(122),s=n(462),u=n(464),d=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.audienceSlug,a=t.title,d=t.infoTooltip,g=t.isMobileBreakpoint,f=t.isTileHideable,m=t.onHideTile,p=Object(c.a)();return e.createElement(r,{ref:n,noPadding:!0},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-container"},!g&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},a,d&&e.createElement(l.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(o.J)("".concat(p,"_audiences-tile"),"view_tile_tooltip",i)}}))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-content"},e.createElement(s.a,null),f&&e.createElement(u.a,{onHideTile:m})))))}));d.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingData}));var r=n(0),i=n(2),a=n(463);function AudienceTileCollectingData(){return e.createElement(r.Fragment,null,e.createElement(a.a,{className:"googlesitekit-audience-segmentation-tile__zero-data-image"}),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(i.__)("Site Kit is collecting data for this group.","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z",fill:"#EBEEF0"}),c=r.createElement("path",{d:"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),o=r.createElement("path",{d:"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),l=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#70B2F5"}),s=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#77AD8C"}),u=r.createElement("path",{d:"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z",fill:"#77AD8C",opacity:.2}),d=r.createElement("path",{d:"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273",stroke:"#161B18",strokeWidth:1.785,strokeLinecap:"round",strokeLinejoin:"round"}),g=r.createElement("path",{d:"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z",fill:"#7B807D"}),f=r.createElement("path",{d:"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),m=r.createElement("path",{d:"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),p=r.createElement("path",{d:"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726",stroke:"#B8BDB9",strokeWidth:3.173,strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationCollectingData(e){return r.createElement("svg",i({viewBox:"0 0 109 94",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingDataHideable}));var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(20),l=n(465);function AudienceTileCollectingDataHideable(t){var n=t.onHideTile;return e.createElement(a.Fragment,null,e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(c.__)("You can hide this group until data is available.","google-site-kit")),e.createElement(o.a,{secondary:!0,linkButton:!0,className:"googlesitekit-audience-segmentation-tile-hide-cta",onClick:n,leadingIcon:e.createElement(l.a,{width:22,height:22})},Object(c.__)("Temporarily hide","google-site-kit")))}AudienceTileCollectingDataHideable.propTypes={onHideTile:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z",fill:"#108080"});t.a=function SvgVisibility(e){return r.createElement("svg",i({viewBox:"0 0 19 19",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileError}));var r=n(1),i=n.n(r),a=n(34),c=n(467),o=n(108),l=n(18),s=n(8),u=Object(o.a)(c.a);function AudienceTileError(t){var n=t.audienceSlug,r=t.errors,i=Object(l.a)(),c=r.some((function(e){return Object(a.e)(e)}));return e.createElement(u,{errors:r,onInView:function(){var e=c?"insufficient_permissions_error":"data_loading_error";Object(s.J)("".concat(i,"_audiences-tile"),e,n)},onRetry:function(){Object(s.J)("".concat(i,"_audiences-tile"),"data_loading_error_retry",n)},onRequestAccess:function(){Object(s.J)("".concat(i,"_audiences-tile"),"insufficient_permissions_error_request_access",n)}})}AudienceTileError.propTypes={audienceSlug:i.a.string.isRequired,errors:i.a.array.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(34),l=n(468),s=n(117),u=n(315),d=Object(a.forwardRef)((function(t,n){var r=t.errors,i=t.onRetry,a=t.onRequestAccess,d=r.some((function(e){return Object(o.e)(e)}));return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error",ref:n},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__container"},e.createElement(l.a,{className:"googlesitekit-audience-segmentation-tile-error__image"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__body"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__message"},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-error__title"},d?Object(c.__)("Insufficient permissions","google-site-kit"):Object(c.__)("Data loading failed","google-site-kit"))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__actions"},e.createElement(s.a,{moduleSlug:"analytics-4",error:r,GetHelpLink:d?u.a:void 0,hideGetHelpLink:!d,buttonVariant:"danger",onRetry:i,onRequestAccess:a})))))}));d.propTypes={errors:i.a.array.isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z",fill:"#F3F5F7"}),c=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224",stroke:"#161B18",strokeWidth:1.705,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),d=r.createElement("path",{d:"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z",fill:"#CBD0D3"}),g=r.createElement("path",{d:"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z",fill:"#999F9B"}),f=r.createElement("path",{d:"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),m=r.createElement("path",{d:"M145.07 26.773l-28 108.499",stroke:"#7B807D",strokeWidth:4.393,strokeMiterlimit:10,strokeLinecap:"round"}),p=r.createElement("path",{d:"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z",fill:"#E77D5B"}),h=r.createElement("path",{d:"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z",fill:"#962C0A"}),v=r.createElement("path",{d:"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAnalyticsAudienceSegmentationTileError(e){return r.createElement("svg",i({viewBox:"0 0 190 142",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MaybePlaceholderTile}));var r=n(1),i=n.n(r),a=n(163),c=n(470);function MaybePlaceholderTile(t){var n=t.Widget,r=t.loading,i=t.allTilesError,o=t.visibleAudienceCount;return!1!==i&&!r||1!==o?null:r?e.createElement(n,{noPadding:!0},e.createElement(a.a,null)):e.createElement(c.a,{Widget:n})}MaybePlaceholderTile.propTypes={Widget:i.a.elementType.isRequired,loading:i.a.bool.isRequired,allTilesError:i.a.bool,visibleAudienceCount:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceholderTile}));var r=n(12),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(14),s=n(24),u=n(6),d=n(9),g=n(20),f=n(318),m=n(39);function PlaceholderTile(t){var n=t.Widget,r=Object(o.useSelect)((function(e){var t=e(u.a).getConfiguredAudiences();return e(d.p).getConfigurableAudiences().some((function(e){return"DEFAULT_AUDIENCE"!==e.audienceType&&!t.includes(e.name)}))})),p=Object(o.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})})),h=Object(o.useDispatch)(s.b).setValue,v=e.createElement(g.a,{secondary:!0,href:p,external:!0,hideExternalIndicator:!0});return e.createElement(n,{className:"googlesitekit-audience-segmentation-tile-placeholder"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-placeholder__container"},e.createElement(f.a,{className:"googlesitekit-audience-segmentation-tile-placeholder__image"}),e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile-placeholder__body",{"googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences":!r})},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-placeholder__title"},r?Object(c.__)("Compare your group to other groups","google-site-kit"):Object(c.__)("Create more visitor groups","google-site-kit")),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile-placeholder__description"},r?Object(a.a)(Object(c.__)("<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v,SelectGroupLink:e.createElement(g.a,{secondary:!0,onClick:function(){return h(m.i,!0)}})}):Object(a.a)(Object(c.__)("Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v})))))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),a=n(3),c=n(6),o=n(9);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return Object(a.useSelect)((function(n){return t.every((function(t){var r=n(o.p).getPartialDataSiteKitAudience(t);if(void 0===r)return!1;var i={};return r?i.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":i.audienceResourceName=t,n(o.p).hasFinishedResolution("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),i)})])}))}))}function d(e,t){return Object(a.useSelect)((function(n){return t.reduce((function(t,r){var i=n(o.p).getPartialDataSiteKitAudience(r);if(void 0===i)return t;var a={};i?a.newVsReturning="new-visitors"===i.audienceSlug?"new":"returning":a.audienceResourceName=r;var c=n(o.p).getErrorForSelector("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),a)})]);return c&&(t[r]=c),t}),{})}))}function g(e){var t,n,r,i,l=e.isSiteKitAudiencePartialData,g=e.siteKitAudiences,f=e.otherAudiences,m=Object(a.useSelect)((function(e){return e(c.a).getConfiguredAudiences()})),p={audienceResourceName:m},h=Object(a.useSelect)((function(e){return e(c.a).getDateRangeDates({offsetDays:o.f,compare:!0})})),v=h.startDate,b=h.endDate,E=void 0===l?void 0:f.length>0||!1===l,_=g.length>0&&l,O=s(s({},h),{},{dimensions:[{name:"audienceResourceName"}],dimensionFilters:p,metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),y=Object(a.useInViewSelect)((function(e){if(void 0!==E)return E?e(o.p).getReport(O):null}),[E,O]),k=Object(a.useSelect)((function(e){if(void 0!==E)return!E||e(o.p).hasFinishedResolution("getReport",[O])})),j=Object(a.useSelect)((function(e){if(void 0!==E)return E?e(o.p).getErrorForSelector("getReport",[O]):null})),S=s(s({},h),{},{dimensions:[{name:"newVsReturning"}],dimensionFilters:{newVsReturning:["new","returning"]},metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),w=Object(a.useInViewSelect)((function(e){if(void 0!==_)return _?e(o.p).getReport(S):null}),[_,S]),x=Object(a.useSelect)((function(e){if(void 0!==_)return!_||e(o.p).hasFinishedResolution("getReport",[S])})),C=Object(a.useSelect)((function(e){if(void 0!==_)return _?e(o.p).getErrorForSelector("getReport",[S]):null})),A={startDate:v,endDate:b,metrics:[{name:"screenPageViews"}]},N=Object(a.useInViewSelect)((function(e){return e(o.p).getReport(A)})),T=Object(a.useSelect)((function(e){return e(o.p).hasFinishedResolution("getReport",[A])})),D=Object(a.useSelect)((function(e){return e(o.p).getErrorForSelector("getReport",[A])})),M=Number(null==N||null===(t=N.totals)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,R={startDate:v,endDate:b,dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3},B=Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(R,m)})),I=u(R,m),P=d(R,m),F={startDate:v,endDate:b,dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3},L=Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(F,m)})),z=u(F,m),V=d(F,m),W={startDate:v,endDate:b,dimensions:["pagePath","pageTitle"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:15};return{report:y,reportLoaded:k,reportError:j,siteKitAudiencesReport:w,siteKitAudiencesReportLoaded:x,siteKitAudiencesReportError:C,totalPageviews:M,totalPageviewsReportLoaded:T,totalPageviewsReportError:D,topCitiesReport:B,topCitiesReportLoaded:I,topCitiesReportErrors:P,topContentReport:L,topContentReportLoaded:z,topContentReportErrors:V,topContentPageTitlesReport:Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(W,m)})),topContentPageTitlesReportLoaded:u(W,m),topContentPageTitlesReportErrors:d(W,m)}}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(38),a=n(2),c=n(3),o=n(318),l=n(20),s=n(19),u=n(319),d=n(32),g=n(14),f=n(24),m=n(6),p=n(39),h=n(18),v=n(35),b=n(8),E=Object(r.forwardRef)((function(t,n){var r=Object(h.a)(),E=Object(v.a)(),_=Object(c.useSelect)((function(e){return e(m.a).didSetAudiences()})),O=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon("analytics-4")})),y=Object(c.useSelect)((function(e){return e(g.c).getAdminURL("googlesitekit-settings")})),k=Object(c.useDispatch)(f.b).setValue,j=Object(c.useDispatch)(d.a).navigateTo,S=_?"no-longer-available":"none-selected";function w(){Object(b.J)("".concat(r,"_audiences-no-audiences"),"select_groups",S).finally((function(){k(p.i,!0)}))}return e.createElement(u.a,{ref:n,className:"googlesitekit-no-audience-banner",Icon:O,SVGGraphic:o.a},e.createElement("p",null,_&&Object(i.a)(Object(a.__)("It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})}),!_&&Object(i.a)(Object(a.__)("You don’t have any visitor groups selected. <a>Select groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})})),!E&&e.createElement("p",null,Object(i.a)(Object(a.__)("You can deactivate this widget in <a>Settings</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:function(){Object(b.J)("".concat(r,"_audiences-no-audiences"),"change_settings",S).finally((function(){j("".concat(y,"#/admin-settings"))}))}})})))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddGroupNotice}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(39),p=n(28),h=n(6),v=n(362),b=n(227),E=n(24),_=n(9);function AddGroupNotice(){var t=Object(d.useState)(!1),n=l()(t,2),r=n[0],a=n[1],o=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(m.a)})),s=Object(f.useSelect)((function(e){return e(E.b).getValue(m.i)})),u=Object(f.useSelect)((function(e){return e(_.p).isFetchingSyncAvailableAudiences()})),O=Object(f.useSelect)((function(e){return e(p.a).getValue(m.h,m.f)})),y=Object(f.useDispatch)(h.a).dismissItem,k=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(m.a);case 2:case"end":return e.stop()}}),e)}))),[y]);return Object(d.useEffect)((function(){Array.isArray(O)&&(O.length>1&&a(!0),s||1!==(null==O?void 0:O.length)||a(!1))}),[O,s,a]),o||r||u||!(null==O?void 0:O.length)?null:e.createElement(b.a,{className:"googlesitekit-audience-selection-panel__add-group-notice",content:Object(g.__)("By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),Icon:v.a,onDismiss:k})}AddGroupNotice.propTypes={savedItemSlugs:u.a.array}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fill:"currentColor",d:"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z"});t.a=function SvgLightbulb(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItems}));var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(791),u=n(2),d=n(0),g=n(3),f=n(39),m=n(24),p=n(6),h=n(9),v=n(8),b=n(476),E=n(115),_=n(477);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AudienceItems(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=Object(d.useState)(!0),o=c()(a,2),l=o[0],O=o[1],k=Object(g.useDispatch)(p.a).setExpirableItemTimers,j=Object(g.useDispatch)(h.p).syncAvailableAudiences,S=Object(g.useSelect)((function(e){return e(m.b).getValue(f.i)})),w=Object(g.useSelect)((function(e){return e(h.p).isFetchingSyncAvailableAudiences()}));Object(d.useEffect)((function(){l&&S&&(j(),O(!1))}),[l,S,j]),Object(d.useEffect)((function(){if(!w&&S){var e=document.querySelector(".googlesitekit-audience-selection-panel .googlesitekit-selection-panel-item input");e&&e.focus()}}),[w,S]);var x=Object(g.useSelect)((function(e){var t=e(h.p),n=t.getConfigurableAudiences,r=t.getReport,i=t.getAudiencesUserCountReportOptions,a=t.getConfigurableSiteKitAndOtherAudiences,o=t.hasAudiencePartialData,l=n();if(void 0!==l){if(!l.length)return[];var s=a(),u=c()(s,2),d=u[0],g=u[1],f=o(d),m=e(p.a).getDateRangeDates({offsetDays:h.f}),v=f&&r(y(y({},m),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]})),b=!1===f||!0===f&&(null==g?void 0:g.length)>0?r(i(f?g:l)):{},E=(v||{}).rows,_=void 0===E?[]:E,O=(b||{}).rows,k=void 0===O?[]:O;return l.map((function(e){var t,n,r,i;return i="SITE_KIT_AUDIENCE"===e.audienceType&&f?j(_,"new-visitors"===e.audienceSlug?"new":"returning"):j(k,e.name),y(y({},e),{},{userCount:Number(null===(t=i)||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)||0})}))}function j(e,t){return e.find((function(e){var n,r;return(null==e||null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}))}})),C=function(e,t){var n=t.audienceType,r=t.description,a=t.displayName,c=t.name,o=t.userCount,l="";switch(n){case"DEFAULT_AUDIENCE":l=Object(u.__)("Created by default by Google Analytics","google-site-kit"),r="";break;case"SITE_KIT_AUDIENCE":l=Object(u.__)("Created by Site Kit","google-site-kit");break;case"USER_AUDIENCE":l=Object(u.__)("Already exists in your Analytics property","google-site-kit")}return y(y({},e),{},i()({},c,{title:a,subtitle:r,description:l,userCount:o,audienceType:n}))},A=null==x?void 0:x.filter((function(e){var t=e.name;return r.includes(t)})).reduce(C,{}),N=null==x?void 0:x.filter((function(e){var t=e.name;return!r.includes(t)})).reduce(C,{}),T=Object(g.useSelect)((function(e){if(void 0!==x){var t=e(p.a),n=t.hasFinishedResolution,r=t.hasExpirableItem;if(n("getExpirableItems"))return x.filter((function(e){var t=e.audienceType,n=e.name;return"DEFAULT_AUDIENCE"!==t&&!r("".concat(h.b).concat(n))})).map((function(e){var t=e.name;return"".concat(h.b).concat(t)}))}}));return Object(s.a)((function(){S&&void 0!==T&&T.length&&k(T.map((function(e){return{slug:e,expiresInSeconds:4*v.g}})))}),[S,k,T]),e.createElement(E.d,{availableItemsTitle:Object(u.__)("Additional groups","google-site-kit"),availableSavedItems:A,availableUnsavedItems:N,ItemComponent:w?_.a:b.a,savedItemSlugs:r})}AudienceItems.propTypes={savedItemSlugs:l.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItem}));var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(3),g=n(39),f=n(28),m=n(6),p=n(9),h=n(8),v=n(263),b=n(115),E=n(231);function AudienceItem(t){var n=t.slug,r=t.title,a=t.description,o=t.subtitle,l=t.userCount,_=t.audienceType,O="".concat(p.b).concat(n),y=Object(d.useSelect)((function(e){return e(f.a).getValue(g.h,g.f)})),k=Object(d.useSelect)((function(e){return e(m.a).hasExpirableItem(O)})),j=Object(d.useSelect)((function(e){return e(m.a).isExpirableItemActive(O)})),S=Object(d.useSelect)((function(e){return e(p.p).getAudienceUserCountReportErrors()}))||[],w=c()(S,2),x=w[0],C=w[1],A=[];C&&A.push(C),x&&A.push(x);var N=Object(d.useDispatch)(f.a).setValues,T=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed("audience-tile-".concat(n))})),D=Object(s.useCallback)((function(e){var t;N(g.h,(t={},i()(t,g.f,e.target.checked?y.concat([n]):y.filter((function(e){return e!==n}))),i()(t,g.g,!0),t))}),[y,N,n]),M="DEFAULT_AUDIENCE"!==_&&(!1===k||j),R=null==y?void 0:y.includes(n),B="audience-selection-checkbox-".concat(n);function ItemBadge(){return T?e.createElement(E.a,{label:Object(u.__)("Temporarily hidden","google-site-kit"),tooltipTitle:Object(u.__)("Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.","google-site-kit")}):M?e.createElement(v.a,null):null}return e.createElement(b.c,{id:B,slug:n,title:r,subtitle:o,description:a,isItemSelected:R,onCheckboxChange:D,suffix:A.length?"-":Object(h.C)(l),badge:(T||M)&&e.createElement(ItemBadge,null)})}AudienceItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,subtitle:l.a.string.isRequired,userCount:l.a.number.isRequired,audienceType:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItemPreviewBlock}));var r=n(40);function AudienceItemPreviewBlock(){return e.createElement("div",{className:"googlesitekit-selection-panel__loading"},e.createElement("div",{className:"googlesitekit-selection-panel__loading-left"},e.createElement(r.a,{width:"90px",height:"20px",className:"googlesitekit-selection-panel__loading-item"}),e.createElement(r.a,{width:"293px",height:"15px",className:"googlesitekit-selection-panel__loading-item"})),e.createElement("div",{className:"googlesitekit-selection-panel__loading-right"},e.createElement(r.a,{width:"43px",height:"20px",className:"googlesitekit-selection-panel__loading-item"})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(0),u=n(38),d=n(2),g=n(3),f=n(18),m=n(8),p=n(39),h=n(14),v=n(24),b=n(9),E=n(34),_=n(20),O=n(117),y=n(479),k=n(366);function ErrorNotice(){var t=Object(f.a)(),n=Object(g.useSelect)((function(e){return e(b.p).getErrorForAction("syncAvailableAudiences")})),r=Object(g.useSelect)((function(e){return e(b.p).getAudienceUserCountReportErrors()}))||[],a=l()(r,2),o=a[0],j=a[1],S=Object(g.useSelect)((function(e){return e(h.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),w=Object(g.useSelect)((function(e){return e(v.b).getValue(p.i)})),x=Object(g.useDispatch)(b.p),C=x.clearError,A=x.syncAvailableAudiences,N=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C("syncAvailableAudiences");case 2:A();case 3:case"end":return e.stop()}}),e)}))),[C,A]),T=[];n&&T.push(n),j&&T.push(j),o&&T.push(o);var D=T.length>0,M=T.some((function(e){return Object(E.e)(e)}));if(Object(s.useEffect)((function(){w&&D&&Object(m.J)("".concat(t,"_audiences-sidebar"),M?"insufficient_permissions_error":"data_loading_error")}),[D,M,w,t]),!T.length)return null;var R=[j,o].some((function(e){return!!e}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice"},e.createElement("p",null,M?Object(u.a)(Object(d.__)("Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(_.a,{href:S,external:!0,hideExternalIndicator:!0},Object(d.__)("Get help","google-site-kit"))}):Object(d.__)("Data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice-actions"},M||R?e.createElement(O.a,{moduleSlug:"analytics-4",error:T,hideGetHelpLink:!0,buttonVariant:"danger",RequestAccessButton:y.a,RetryButton:k.a}):e.createElement(k.a,{handleRetry:N})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RequestAccessButton}));var r=n(1),i=n.n(r),a=n(2),c=n(10),o=n(8),l=n(18);function RequestAccessButton(t){var n=t.requestAccessURL,r=Object(l.a)();return e.createElement(c.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",tertiary:!0,href:n,target:"_blank",onClick:function(){Object(o.J)("".concat(r,"_audiences-sidebar"),"insufficient_permissions_error_request_access")}},Object(a.__)("Request access","google-site-kit"))}RequestAccessButton.propTypes={requestAccessURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(27),c=n.n(a),o=n(16),l=n.n(o),s=n(15),u=n.n(s),d=n(7),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(2),v=n(3),b=n(18),E=n(8),_=n(39),O=n(28),y=n(6),k=n(9),j=n(115);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,r=t.isOpen,a=t.closePanel,o=t.savedItemSlugs,s=Object(b.a)(),d=Object(v.useSelect)((function(e){return e(O.a).getValue(_.h,_.f)})),g=Object(v.useSelect)((function(e){return e(y.a).getAudienceSettings()})),f=Object(v.useSelect)((function(e){return e(y.a).getErrorForAction("saveAudienceSettings",[w(w({},g),{},{configuredAudiences:d})])})),m=Object(v.useSelect)((function(e){return e(y.a).isSavingAudienceSettings()})),S=Object(v.useSelect)((function(e){var t=e(y.a).getDismissedItems();return null==t?void 0:t.filter((function(e){return e.startsWith("audience-tile-")}))})),x=Object(v.useSelect)((function(e){return e(k.p).getAvailableAudiences()})),C=Object(v.useDispatch)(y.a),A=C.saveAudienceSettings,N=C.removeDismissedItems,T=Object(v.useSelect)(y.a).getConfiguredAudiences,D=(null==d?void 0:d.length)||0;D<_.k?n=Object(h.sprintf)( /* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */ Object(h._n)("Select at least %1$d group (%2$d selected)","Select at least %1$d groups (%2$d selected)",_.k,"google-site-kit"),_.k,D):D>_.j&&(n=Object(h.sprintf)( /* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */ Object(h.__)("Select up to %1$d groups (%2$d selected)","google-site-kit"),_.j,D));var M=Object(p.useState)(null),R=u()(M,2),B=R[0],I=R[1],P=Object(p.useCallback)(function(){var e=l()(i.a.mark((function e(t){var n,r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(null),e.next=3,A({configuredAudiences:t});case 3:if(n=e.sent,r=n.error){e.next=14;break}if(a=(null==S?void 0:S.filter((function(e){var n=e.replace("audience-tile-","");return!t.includes(n)})))||[],t.every((function(e){return null==S?void 0:S.includes("audience-tile-".concat(e))}))&&a.push("audience-tile-".concat(t[0])),!((null==a?void 0:a.length)>0)){e.next=14;break}return e.next=11,N.apply(void 0,c()(a));case 11:o=e.sent,(r=o.error)&&I(r);case 14:return e.abrupt("return",{error:r});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,N,A]),F=Object(p.useCallback)((function(){var e={USER_AUDIENCE:"user",SITE_KIT_AUDIENCE:"site-kit",DEFAULT_AUDIENCE:"default"},t=T(),n=Object.keys(e).map((function(n){var r=t.filter((function(e){var t=null==x?void 0:x.find((function(t){var n=t.name;return e===n}));return(null==t?void 0:t.audienceType)===n}));return"".concat(e[n],":").concat(r.length)})).join(",");Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_save",n)}),[x,T,s]),L=Object(p.useCallback)((function(){Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_cancel")}),[s]);return e.createElement(j.a,{savedItemSlugs:o,selectedItemSlugs:d,saveSettings:P,saveError:f||B,itemLimitError:n,minSelectedItemCount:_.k,maxSelectedItemCount:_.j,isBusy:m,isOpen:r,closePanel:a,onSaveSuccess:F,onCancel:L})}Footer.propTypes={isOpen:m.a.bool,closePanel:m.a.func.isRequired,savedItemSlugs:m.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(35),f=n(20),m=n(115);function Header(t){var n=t.closePanel,r=Object(g.a)(),i=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),p=Object(l.useSelect)((function(e){return e(d.a).isSavingAudienceSettings()})),h=Object(l.useDispatch)(s.a).navigateTo,v=Object(a.useCallback)((function(){return h("".concat(i,"#/admin-settings"))}),[h,i]);return e.createElement(m.b,{title:Object(o.__)("Select visitor groups","google-site-kit"),onCloseClick:n},!r&&e.createElement("p",null,Object(c.a)(Object(o.__)("You can deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:v,disabled:p}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var r=n(2),i=n(38),a=n(3),c=n(14),o=n(20);function LearnMoreLink(){var t=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__learn-more"},Object(i.a)(Object(r.__)("Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>","google-site-kit"),{link:e.createElement(o.a,{secondary:!0,href:t,external:!0,hideExternalIndicator:!0}),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceCreationNotice}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(157),f=n(3),m=n(18),p=n(8),h=n(39),v=n(28),b=n(14),E=n(6),_=n(24),O=n(9),y=n(34),k=n(20),j=n(119),S=n(246),w=n(334),x=n(484);function AudienceCreationNotice(){var t=Object(m.a)(),n=Object(d.useState)(!1),i=s()(n,2),c=i[0],l=i[1],C=Object(f.useSelect)((function(e){var t=(0,e(O.p).getConfigurableAudiences)();if(void 0!==t)return t.length?t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})):[]})),A=Object(f.useDispatch)(E.a).dismissItem,N=Object(f.useDispatch)(_.b).setValue,T=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.d)})),D=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.b)})),M=Object(f.useSelect)((function(e){return e(E.a).hasScope(O.g)})),R=Object(f.useSelect)((function(e){return e(_.b).getValue(h.i)})),B=Object(g.a)(e.location.href,{notification:"audience_segmentation"}),I=Object(f.useDispatch)(v.a).setValues,P=Object(f.useDispatch)(E.a).setPermissionScopeError,F=Object(f.useDispatch)(O.p),L=F.createAudience,z=F.syncAvailableAudiences,V=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"autoSubmit")})),W=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"audienceToCreate")})),G=Object(d.useState)([]),U=s()(G,2),H=U[0],q=U[1],K=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(t),M){e.next=5;break}return I(h.c,{autoSubmit:!0,audienceToCreate:t}),P({code:y.a,message:Object(u.__)("Additional permissions are required to create a new audience in Analytics.","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:B}}),e.abrupt("return");case 5:return I(h.c,{autoSubmit:!1,audienceToCreate:void 0}),e.next=8,L(O.r[t]);case 8:return n=e.sent,r=n.error,q(r?[r]:[]),e.next=13,z();case 13:l(!1),r||N(h.e,!0);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[M,L,z,I,P,B,N]),J=Object(f.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),Y=V&&"access_denied"===J;Object(d.useEffect)((function(){function e(){return(e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M||!V){e.next=4;break}return N(h.i,!0),e.next=4,K(W);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[W,K,M,V,N]);var X=!T&&(null==C?void 0:C.length)<2;if(Object(d.useEffect)((function(){R&&X&&Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_notice")}),[R,X,t]),Object(d.useEffect)((function(){!R||M||D||Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_oauth_notice")}),[M,D,R,t]),!X)return null;var $=Object.keys(O.r).filter((function(e){return!C.some((function(t){return t.audienceSlug===e}))}));return r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-header"},r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-title"},Object(u.__)("Create groups suggested by Site Kit","google-site-kit")),r.createElement(k.a,{className:"googlesitekit-audience-selection-panel__audience-creation-notice-close",onClick:function(){A(h.d)},linkButton:!0},r.createElement(j.a,{width:"15",height:"15"}))),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-body"},$&&$.map((function(e){return r.createElement("div",{key:e,className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details"},r.createElement("h3",null,O.r[e].displayName),r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description"},O.r[e].description)),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button"},r.createElement(S.b,{spinnerPosition:S.a.BEFORE,onClick:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"create_audience",e).finally((function(){K(e)}))},isSaving:c===e},Object(u.__)("Create","google-site-kit"))))}))),!M&&!D&&r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-info"},r.createElement(w.b,{title:Object(u.__)("Creating these groups require more data tracking. You will be directed to update your Analytics property.","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),onDismiss:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"dismiss_oauth_notice").finally((function(){A(h.b)}))},variant:w.a.WARNING,hideIcon:!0})),(H.length>0||Y)&&r.createElement(x.a,{apiErrors:H,hasOAuthError:Y}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationErrorNotice}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(18),u=n(34),d=n(8),g=n(39),f=n(14),m=n(24),p=n(9),h=n(10),v=n(20),b=n(71);function AudienceCreationErrorNotice(t){var n,r,i=t.apiErrors,E=t.hasOAuthError,_=Object(s.a)(),O=Array.isArray(i)?i:[i],y=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),k=Object(l.useSelect)((function(e){return e(p.p).getServiceEntityAccessURL()})),j=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"access_denied"})})),S=Object(l.useSelect)((function(e){return e(m.b).getValue(g.i)})),w=O.length>0,x=O.some((function(e){return Object(u.e)(e)}));return Object(a.useEffect)((function(){if(S&&(w||E)){var e="setup_error";E?e="auth_error":x&&(e="insufficient_permissions_error"),Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),e)}}),[w,x,E,S,_]),O.length||E?(E?r=Object(c.a)(Object(o.__)("Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:j,external:!0,hideExternalIndicator:!0},Object(o.__)("get help","google-site-kit"))}):x?(n=Object(o.__)("Insufficient permissions","google-site-kit"),r=Object(c.a)(Object(o.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:y,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})):(n=Object(o.__)("Analytics update failed","google-site-kit"),r=Object(o.__)("Click on Create to try again.","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice"},e.createElement(b.a,{width:24,height:24}),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__content"},n&&e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__title"},n),e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__description"},r)),x&&e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__actions"},e.createElement(h.Button,{href:k,target:"_blank",danger:!0,onClick:function(){Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),"insufficient_permissions_error_request_access")}},Object(o.__)("Request access","google-site-kit"))))):null}AudienceCreationErrorNotice.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationSuccessNotice}));var r=n(0),i=n(2),a=n(3),c=n(18),o=n(8),l=n(39),s=n(24),u=n(10),d=n(151);function AudienceCreationSuccessNotice(){var t=Object(c.a)(),n=Object(a.useDispatch)(s.b).setValue,g=Object(a.useSelect)((function(e){return e(s.b).getValue(l.e)})),f=Object(a.useSelect)((function(e){return e(s.b).getValue(l.i)}));return Object(r.useEffect)((function(){f&&g&&Object(o.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"view_notification")}),[f,g,t]),g?e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice"},e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-icon"},e.createElement(d.a,{width:24,height:24})),e.createElement("p",{className:"googlesitekit-audience-selection-panel__success-notice-message"},Object(i.__)("Visitor group created successfully!","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-actions"},e.createElement(u.Button,{tertiary:!0,onClick:function(){Object(o.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"dismiss_notification").finally((function(){n(l.e,!1)}))}},Object(i.__)("Got it","google-site-kit")))):null}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("defs",null,r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__c",x:109.551,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__d",x:236.859,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h480v150H0z"}))),c=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),l=r.createElement("g",{mask:"url(#audience-connect-analytics-cta-graphic_svg__b)"},r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__c)"},r.createElement("rect",{x:125.551,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:139.555,y:93.193,width:39.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:82.189,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:118.259,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:139.535,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:138.555,y:129.263,width:41.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.141 65.862H126.286",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__d)"},r.createElement("rect",{x:252.859,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:266.809,y:93.193,width:38.859,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.809,y:82.189,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.805,y:118.259,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:266.844,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M358.094 65.862H252.862",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:265.812,y:129.263,width:40.852,height:7.002,rx:3.501,fill:"#EBEEF0"}));t.a=function SvgAudienceConnectAnalyticsCtaGraphic(e){return r.createElement("svg",i({viewBox:"-3 1 333.666 149.252",fill:"none"},e),a,r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic_svg__a)",transform:"translate(-73)"},c,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:72,y:12,width:332,height:228},o),l))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)",mask:"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)"},r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),l=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714",x:77,y:17.181,width:399.32,height:185.111,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16714"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16714",result:"shape"})));t.a=function SvgAudienceConnectAnalyticsCtaGraphicTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)"},a,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:48,y:1,width:441,height:237},c),o),l)}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(371),c=n(0),o=n(38),l=n(2),s=n(3),u=n(10),d=n(25),g=n(176),f=n(557),m=n(181),p=n(19),h=n(6),v=n(48),b=n(17),E=n(558),_=n(559),O=n(560),y=n(20),k=n(8),j=n(110),S=n(18);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,i=Object(S.a)(),a=Object(d.e)(),f=a===d.b,m=a===d.c,w=Object(g.a)(v.d),x=Object(c.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"confirm_notification").finally((function(){w()}))}),[w,i]),C=Object(j.b)(v.f),A=Object(j.c)(v.f).isTooltipVisible,N=Object(s.useSelect)((function(e){return e(h.a).isPromptDismissed(v.f)})),T=Object(s.useSelect)((function(e){return e(h.a).getPromptDismissCount(v.f)})),D=Object(s.useSelect)((function(e){return e(h.a).hasFinishedResolution("getDismissedPrompts",[])})),M=Object(s.useDispatch)(h.a),R=M.dismissPrompt,B=M.triggerSurvey,I=Object(c.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"dismiss_notification").finally((function(){var e=T<1?2*k.g:0;C(),R(v.f,{expiresInSeconds:e})}))}),[T,R,C,i]),P=Object(s.useSelect)((function(e){return e(p.a).canActivateModule(v.d)})),F=!1===N&&P&&!0===D;return Object(c.useEffect)((function(){F&&(Object(k.J)("".concat(i,"_rrm-setup-notification"),"view_notification"),B("view_reader_revenue_manager_cta"))}),[F,B,i]),A?e.createElement(c.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(l.__)("You can always enable Reader Revenue Manager from Settings later","google-site-kit"),dismissLabel:Object(l.__)("Got it","google-site-kit"),tooltipStateKey:v.f})):F?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(b.e,{className:"googlesitekit-widget-area"},e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(b.e,{collapsed:!0},e.createElement(b.k,null,e.createElement(b.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(o.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(y.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})}),e.createElement("br",null),e.createElement("br",null),Object(l.__)("* Support for subscriptions coming soon","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:x},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:I},T<1?Object(l.__)("Maybe later","google-site-kit"):Object(l.__)("Don’t show again","google-site-kit")))),!f&&!m&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(E.a,null)),m&&e.createElement(b.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(_.a,null)),f&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(O.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(f.a)({moduleName:v.d}),Object(m.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(254),o=n(1241),l=n(10),s=n(143);function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.Button,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(c.a,{icon:o.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))}SurveyHeader.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=SurveyHeader}).call(this,n(4))},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(31),i=n(2),a=n(6),c=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(i.__)("Manage view access for other roles","google-site-kit"),content:Object(i.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];c&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(i.__)("Share management with other admins","google-site-kit"),content:Object(i.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:o,callback:function(e,t){var n=e.type,i=t.select,c=t.dispatch;r.b.TOOLTIP===n&&!1===i(a.a).isTourDismissed("dashboardSharing")&&c(a.a).dismissTour("dashboardSharing")}}}).call(this,n(26))},,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),i=n(213),a=n(555),c=n(556),o=n(35),l=n(18),s=n(52),u=n(80),d=n(8),g=n(10),f=n(3),m=n(6),p=n(24),h=n(22),v=n(48);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(o.a)(),b=Object(s.c)(),E=Object(f.useSelect)((function(e){return e(m.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),_=Object(f.useDispatch)(p.b).dismissOverlayNotification,O=Object(f.useSelect)((function(e){return e(v.b).getServiceURL()})),y=Object(f.useSelect)((function(e){return e(p.b).getValue(v.k)})),k=!1===E&&!0===y&&!n&&b===h.n,j=Object(f.useSelect)((function(e){return e(m.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){_("rrmPublicationApprovedOverlayNotification")};return e.createElement(i.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:a.a,GraphicMobile:c.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:k,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(g.Button,{tertiary:!0,disabled:j,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(g.Button,{disabled:j,href:O,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RRMSetupSuccessSubtleNotification}));var i=n(21),a=n.n(i),c=n(7),o=n.n(c),l=n(15),s=n.n(l),u=n(0),d=n(2),g=n(3),f=n(193),m=n(333),p=n(28),h=n(48),v=n(209),b=n(265),E=n(192),_=h.c.ONBOARDING_COMPLETE,O=h.c.PENDING_VERIFICATION,y=h.c.ONBOARDING_ACTION_REQUIRED;function RRMSetupSuccessSubtleNotification(t){var n=t.id,i=t.Notification,c=Object(f.a)("notification"),l=s()(c,2)[1],k=Object(f.a)("slug"),j=s()(k,2)[1],S=[O,y],w=Object(g.useSelect)((function(e){return e(h.b).getPublicationOnboardingState()})),x=Object(g.useSelect)((function(e){return e(h.b).getPublicationID()})),C=Object(g.useSelect)((function(e){return e(h.b).getServiceURL({path:"reader-revenue-manager",query:{publication:x}})})),A=Object(g.useSelect)((function(e){return e(p.a).getValue(h.e,h.j)&&S.includes(w)})),N=Object(g.useDispatch)(p.a).setValues,T=Object(g.useDispatch)(h.b).syncPublicationOnboardingState,D=function(){l(void 0),j(void 0)},M=function(t){t.preventDefault(),S.includes(w)&&N(h.e,o()({},h.j,!0)),e.open(C,"_blank")},R=Object(u.useCallback)((function(){A&&T()}),[A,T]);Object(m.a)(R,15e3);var B={gaTrackingEventArgs:{label:w}};return w===_?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Customize settings","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B))})):w===O?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Check publication status","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B))})):w===y?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Complete publication setup","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B)),type:"warning"})):null}}).call(this,n(26),n(4))},,,,,,,,,,function(e,t,n){"use strict";var r=n(543);n.d(t,"a",(function(){return r.a}));n(508);var i=n(544);n.d(t,"b",(function(){return i.a}))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 348 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 118",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(3),i=n(19),a=n(78);function c(t){var n=t.moduleName,c=t.FallbackComponent;return function(t){function WhenInactiveComponent(a){var o=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!o)return null;var l=c||a.WidgetNull||null;return!0===o.active?l&&e.createElement(l,a):e.createElement(t,a)}return WhenInactiveComponent.displayName="When".concat(Object(a.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",i({viewBox:"0 0 479 272",fill:"none"},e),a,c,o,l,s,u,d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 140",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 140",fill:"none"},e),a,c)}},,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgCheck(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNewBadge}));var r=n(1),i=n.n(r),a=n(0),c=n(3),o=n(6),l=n(263),s=n(8),u=n(46);function WidgetNewBadge(t){var n=t.slug,r=Object(c.useSelect)((function(e){return e(u.a).getWidgetArea(n)})).hasNewBadge,i="widget-area-expirable-new-badge-".concat(n),d=Object(c.useSelect)((function(e){return e(o.a).hasExpirableItem(i)})),g=Object(c.useSelect)((function(e){return e(o.a).isExpirableItemActive(i)})),f=r&&(!1===d||g),m=Object(c.useDispatch)(o.a).setExpirableItemTimers;return Object(a.useEffect)((function(){void 0!==d&&void 0!==g&&r&&!d&&m([{slug:i,expiresInSeconds:4*s.g}])}),[r,i,d,g,m]),!!f&&e.createElement(l.a,null)}WidgetNewBadge.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=200},function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(697);function ScrollEffect(){return Object(r.a)(),null}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(2),s=n(3),u=n(148),d=n(24),g=n(198),f=n(10);t.a=function OfflineNotification(){var t=Object(o.useState)(!1),n=i()(t,2),r=n[0],a=n[1],m=Object(s.useSelect)((function(e){return e(d.b).getIsOnline()}));return Object(o.useEffect)((function(){m&&r&&a(!1)}),[m,r]),e.createElement("div",{"aria-live":"polite"},!m&&!r&&e.createElement("div",{className:c()("googlesitekit-margin-top-0","googlesitekit-margin-bottom-0","googlesitekit-settings-notice-offline-notice","googlesitekit-settings-notice","googlesitekit-settings-notice--single-row","googlesitekit-settings-notice--".concat(u.b))},e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(g.a,{notice:Object(l.__)("You are currently offline. Some features may not be available.","google-site-kit")})),e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{onClick:function(){a(!0)}},Object(l.__)("OK, Got it!","google-site-kit")))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleDashboardEffects}));var r,i=n(27),a=n.n(i),c=n(7),o=n.n(c),l=n(3),s=n(19),u=n(52),d=(r={},o()(r,u.b,"DashboardMainEffectComponent"),o()(r,u.a,"DashboardEntityEffectComponent"),r);function ModuleDashboardEffects(){var t=Object(u.c)(),n=Object(l.useSelect)((function(e){return e(s.a).getModules()}));if(!n)return null;var r=d[t];return Object.values(n).reduce((function(t,n){var i=n[r];return n.active&&i?[].concat(a()(t),[e.createElement(i,{key:n.slug})]):t}),[])}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="enable-plugin-auto-update-notification",i="auto-update-banner-hide-notification-on-first-setup",a="auto-update-cta"},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(7),c=n.n(a),o=n(16),l=n.n(o),s=n(15),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(28),p=n(19),h=n(6),v=n(9),b=n(149),E=n(160),_=n(224),O=n(225),y=n(663),k=n(664),j=n(665),S=n(8),w=n(54),x=n(61),C=n(18);t.a=Object(w.a)({moduleName:"analytics-4"})((function EnhancedMeasurementActivationBanner(){var t=Object(C.a)(),n=Object(d.useState)(b.b),r=u()(n,2),a=r[0],o=r[1],s=Object(d.useState)(void 0),w=u()(s,2),A=w[0],N=w[1],T=Object(d.useState)(!1),D=u()(T,2),M=D[0],R=D[1],B=Object(d.useState)(null),I=u()(B,2),P=I[0],F=I[1],L=Object(f.useSelect)((function(e){return e(v.p).getPropertyID()})),z=Object(f.useSelect)((function(e){return e(v.p).getWebDataStreamID()})),V=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(b.e)})),W=Object(f.useSelect)((function(e){return e(p.a).hasModuleOwnershipOrAccess("analytics-4")})),G=Object(f.useSelect)((function(e){if(Object(x.e)(L)&&Object(x.g)(z)&&W&&!V)return e(v.p).isEnhancedMeasurementStreamEnabled(L,z)})),U=Object(f.useSelect)((function(e){return e(h.a).hasScope(v.g)})),H=Object(f.useSelect)((function(e){return e(m.a).getValue(v.m,"autoSubmit")})),q=Object(f.useDispatch)(m.a).setValues,K=Object(f.useDispatch)(h.a).dismissItem,J=Object(f.useDispatch)(v.p).submitChanges,Y=Object(E.a)(b.f).isTooltipVisible,X=Object(_.a)(b.f),$=Object(d.useCallback)(l()(i.a.mark((function e(){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(!0),q(v.i,c()({},v.h,!0)),e.next=4,J();case 4:if(n=e.sent,r=n.error,R(!1),!r){e.next=11;break}return F(r),o(b.b),e.abrupt("return");case 11:Object(S.J)("".concat(t,"_enhanced-measurement-notification"),"confirm_notification"),o(b.c);case 13:case"end":return e.stop()}}),e)}))),[q,J,t]);return Object(d.useEffect)((function(){!1===G&&void 0===A&&N(!0)}),[A,G]),Object(d.useEffect)((function(){function e(){return(e=l()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(v.m,{autoSubmit:!1}),o(b.a),e.next=4,$();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}H&&U&&function(){e.apply(this,arguments)}()}),[U,q,$,H]),Y?e.createElement(O.a,{title:Object(g.__)("Enable enhanced measurement later here","google-site-kit"),content:Object(g.__)("You can always turn on enhanced measurement later in Site Kit Settings","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),tooltipStateKey:b.f}):!A||V?null:a===b.b?e.createElement(k.a,{errorNotice:P,isSaving:M,onDismiss:function(){X(),K(b.e,{expiresInSeconds:S.f})},onSubmit:$}):a===b.a?e.createElement(y.a,null):a===b.c?e.createElement(j.a,null):null}))}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InProgressBanner}));var r=n(2),i=n(3),a=n(14),c=n(10),o=n(65),l=n(394);function InProgressBanner(){var t=Object(i.useSelect)((function(e){return e(a.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})}));return e.createElement(o.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("Setup in progress","google-site-kit"),description:Object(r.__)("Enhanced measurement is being enabled.","google-site-kit"),WinImageSVG:function WinImageSVG(){return e.createElement(l.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:t},e.createElement(c.CircularProgress,{size:20}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupBanner}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(1),s=n.n(l),u=n(0),d=n(2),g=n(157),f=n(3),m=n(10),p=n(28),h=n(32),v=n(14),b=n(6),E=n(9),_=n(34),O=n(8),y=n(65),k=n(394),j=n(116),S=n(205),w=n(18);function SetupBanner(t){var n=t.children,i=t.errorNotice,c=t.isDismissed,l=t.isSaving,s=t.onDismiss,x=t.onSubmit,C=Object(w.a)(),A=Object(g.a)(e.location.href,{notification:"enhanced_measurement"}),N=Object(f.useSelect)((function(e){return e(b.a).hasScope(E.g)})),T=Object(f.useSelect)((function(e){return e(v.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),D=Object(f.useSelect)((function(e){var t=e(b.a).getConnectURL({additionalScopes:[E.g],redirectURL:A});return!!t&&e(h.a).isNavigatingTo(t)})),M=Object(f.useDispatch)(p.a).setValues,R=Object(f.useDispatch)(b.a).setPermissionScopeError,B=Object(u.useCallback)(o()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],!1===N&&t.push(E.g),!(t.length>0)){e.next=6;break}return M(E.m,{autoSubmit:!0}),R({code:_.a,message:Object(d.__)("Additional permissions are required to enable enhanced measurement for the selected web data stream","google-site-kit"),data:{status:403,scopes:t,skipModal:!0,redirectURL:A}}),e.abrupt("return");case 6:return e.next=8,x();case 8:case"end":return e.stop()}}),e)}))),[N,x,A,R,M]),I=Object(u.useCallback)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"dismiss_notification"),null==s||s()}),[s,C]),P=Object(u.useCallback)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"click_learn_more_link")}),[C]);Object(u.useEffect)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"view_notification")}),[C]);var F=N?Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required.","google-site-kit"):Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required — you’ll be redirected to give permission for Site Kit to enable it on your behalf.","google-site-kit");return r.createElement(y.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-setup-banner",title:Object(d.__)("Understand how visitors interact with your content","google-site-kit"),description:F,learnMoreLabel:Object(d.__)("Learn more","google-site-kit"),learnMoreURL:T,onLearnMoreClick:P,ctaComponent:r.createElement(m.SpinnerButton,{onClick:B,isSaving:l||D},Object(d.__)("Enable now","google-site-kit")),footer:r.createElement("p",{className:"googlesitekit-enhanced-measurement-setup-banner__footer-notice"},Object(d.__)("You can always add/edit this in the Site Kit Settings","google-site-kit")),dismiss:Object(d.__)("Maybe later","google-site-kit"),WinImageSVG:function WinImageSVG(){return r.createElement(k.a,null)},format:"small",dismissExpires:O.f,onDismiss:I},i&&r.createElement(j.a,{error:i}),!c&&r.createElement(S.a,{triggerID:"view_enhanced_measurement_cta",ttl:O.a}),n)}SetupBanner.propTypes={onSubmitSuccess:s.a.func,onDismiss:s.a.func,children:s.a.node}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SuccessBanner}));var r=n(2),i=n(0),a=n(3),c=n(14),o=n(6),l=n(149),s=n(65),u=n(394),d=n(18),g=n(8);function SuccessBanner(){var t=Object(d.a)(),n=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),f=Object(a.useDispatch)(o.a).dismissItem,m=Object(i.useCallback)((function(){f(l.e),Object(g.J)("".concat(t,"_enhanced-measurement-success"),"confirm_notification")}),[t,f]);return Object(i.useEffect)((function(){Object(g.J)("".concat(t,"_enhanced-measurement-success"),"view_notification")}),[t]),e.createElement(s.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("You successfully enabled enhanced measurement for your site","google-site-kit"),description:Object(r.__)("Your configured Analytics web data stream will now automatically measure interactions on your site in addition to standard page views measurement.","google-site-kit"),dismiss:Object(r.__)("OK, Got it","google-site-kit"),onDismiss:m,WinImageSVG:function WinImageSVG(){return e.createElement(u.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:n})}}).call(this,n(4))},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingSettingsButton}));var r=n(2),i=n(0),a=n(3),c=n(10),o=n(395),l=n(18),s=n(8),u=n(28),d=n(24),g=n(14),f=n(9),m=n(147),p=n(676);function DashboardSharingSettingsButton(){var t=Object(l.a)(),n=Object(a.useDispatch)(d.b).setValue,h=Object(a.useSelect)((function(e){return e(g.c).hasMultipleAdmins()})),v=Object(a.useSelect)((function(e){return e(u.a).getValue(f.d,"isAutoCreatingCustomDimensionsForAudience")})),b=Object(i.useCallback)((function(){Object(s.J)("".concat(t,"_headerbar"),"open_sharing",h?"advanced":"simple"),n(m.c,!0)}),[n,t,h]);return e.createElement(i.Fragment,null,e.createElement(c.Button,{"aria-label":Object(r.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:b,icon:e.createElement(o.a,{width:20,height:20}),tooltipEnterDelayInMS:500,disabled:v}),e.createElement(p.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingDialog}));var r=n(792),i=n(12),a=n.n(i),c=n(2),o=n(0),l=n(38),s=n(254),u=n(1156),d=n(3),g=n(10),f=n(24),m=n(6),p=n(14),h=n(19),v=n(147),b=n(25),E=n(531),_=n(76),O=n(17),y=n(395),k=n(20),j=n(677),S=n(680);function DashboardSharingDialog(){var t=Object(b.e)(),n=Object(r.a)().y,i=Object(d.useDispatch)(f.b).setValue,w=Object(d.useDispatch)(m.a).triggerOnDemandTour,x=Object(d.useDispatch)(h.a).rollbackSharingSettings,C=Object(d.useSelect)((function(e){return!!e(f.b).getValue(v.c)})),A=Object(d.useSelect)((function(e){return!!e(f.b).getValue(v.b)})),N=Object(d.useSelect)((function(e){return e(f.b).getValue(v.a)})),T=Object(d.useSelect)((function(e){return e(h.a).haveSharingSettingsChanged()})),D=Object(d.useSelect)((function(e){return e(p.c).getDocumentationLinkURL("dashboard-sharing")})),M=Object(o.useRef)(),R=Object(o.useCallback)((function(){M.current||(M.current=!0,w(E.a))}),[w]),B={};t===b.b&&(B.top="".concat(n<46?46-n:0,"px"),B.height="calc(100% - 46px + ".concat(n<46?n:46,"px)")),Object(o.useEffect)((function(){!C&&T&&x()}),[C,T,x]);var I=Object(o.useCallback)((function(){i(v.c,!0)}),[i]),P=Object(o.useCallback)((function(){i(v.c,!1),i(v.a,void 0)}),[i]),F=Object(o.useCallback)((function(){P(),i(v.b,!0)}),[P,i]),L=Object(o.useCallback)((function(){i(v.b,!1),I()}),[I,i]),z=Object(o.useCallback)((function(){if(A)return L(),null;P()}),[L,P,A]);return e.createElement(_.a,null,e.createElement(O.b,{open:C||A,onOpen:R,onClose:z,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:B,escapeKeyAction:void 0===N?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":t!==b.b},e.createElement(g.Button,{"aria-label":Object(c.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:z},e.createElement(s.a,{icon:u.a}))),e.createElement(O.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},C&&e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":t===b.b},e.createElement("span",null,e.createElement(y.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},C&&Object(c.__)("Dashboard sharing & permissions","google-site-kit"),A&&Object(c.__)("Reset Dashboard Sharing permissions","google-site-kit")),e.createElement("p",{className:a()("googlesitekit-dialog__subtitle",{"googlesitekit-dialog__subtitle--emphasis":A})},C&&Object(l.a)(Object(c.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(k.a,{"aria-label":Object(c.__)("Learn more about dashboard sharing","google-site-kit"),href:D,external:!0})}),A&&Object(c.__)("Warning: Resetting these permissions will remove view-only access for all users. Are you sure you want to reset all Dashboard Sharing permissions?","google-site-kit")))),C&&e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(j.a,null))),e.createElement(O.d,{className:"googlesitekit-dialog__footer"},e.createElement(S.a,{closeDialog:z,openResetDialog:F}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var i=n(12),a=n.n(i),c=n(2),o=n(3),l=n(678),s=n(19),u=n(14),d=n(6);function DashboardSharingSettings(){var t=Object(o.useSelect)((function(e){return e(s.a).hasRecoverableModules()})),n=Object(o.useSelect)((function(e){return e(u.c).hasMultipleAdmins()})),i=t||n,g=Object(o.useSelect)((function(t){for(var n=t(d.a).getID(),r=t(s.a).getShareableModules(),i=[],a=[],c=[],o=0,l=Object.values(r);o<l.length;o++){var u;(null===(u=(e=l[o]).owner)||void 0===u?void 0:u.id)===n?i.push(e):t(d.a).hasCapability(d.J,e.slug)?a.push(e):c.push(e)}return[].concat(i,a,c)}));return void 0===g?null:r.createElement("div",{className:a()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":i})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(c.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(c.__)("Who can view","google-site-kit")),i&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(c.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},g.map((function(e){var t=e.slug,n=e.name,i=e.owner,a=e.recoverable;return r.createElement(l.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==i?void 0:i.login,recoverable:a})}))))}}).call(this,n(913)(e),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(2),u=n(254),d=n(573),g=n(0),f=n(38),m=n(10),p=n(3),h=n(177),v=n(679),b=n(18),E=n(19),_=n(14),O=n(24),y=n(147),k=n(8),j=n(6),S=n(212),w=n(20),x=[{value:"owner",label:Object(s.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(s.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,a=t.ownerUsername,c=t.recoverable,o=Object(b.a)(),C=Object(g.useRef)(),A=Object(g.useState)(void 0),N=i()(A,2),T=N[0],D=N[1],M=Object(p.useSelect)((function(e){return e(E.a).hasRecoverableModules()})),R=Object(p.useSelect)((function(e){return e(_.c).hasMultipleAdmins()})),B=M||R,I=Object(p.useSelect)((function(e){var t;return null!==(t=e(E.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),P=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.I,n)})),F=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.J,n)})),L=Object(p.useSelect)((function(e){return e(E.a).getSharedOwnershipModules()})),z=Object(p.useSelect)((function(e){return e(O.b).getValue(y.a)})),V=Object(p.useSelect)((function(e){return e(E.a).isDoingSubmitSharingChanges()})),W=Object(p.useSelect)((function(e){return e(_.c).getDocumentationLinkURL("dashboard-sharing-module-recovery")})),G=Object(p.useDispatch)(E.a).setSharingManagement,U=L&&Object.keys(L).includes(n);Object(g.useEffect)((function(){D(U?"all_admins":I)}),[I,U]);var H=Object(p.useSelect)((function(e){return e(E.a).haveModuleSharingSettingsChanged(n,"management")}));Object(g.useEffect)((function(){H&&Object(k.J)("".concat(o,"_sharing"),"change_management_".concat(I),n)}),[H,I,n,o]);var q=Object(g.useCallback)((function(e){var t=e.target.value;D(t),G(n,t)}),[G,D,n]),K=n===z,J=!K&&void 0!==z||V;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":K,"googlesitekit-dashboard-sharing-settings__row--disabled":J}),ref:C},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(h.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},F&&e.createElement(v.a,{moduleSlug:n,isLocked:J,ref:C}),c&&e.createElement(S.a,null,Object(f.a)(Object(s.__)("Managing user required to manage view access. <Link>Learn more</Link>","google-site-kit"),{Link:e.createElement(w.a,{href:W,external:!0,hideExternalIndicator:!0})})),!F&&!c&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(s.__)("Contact managing user to manage view access","google-site-kit"))),B&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},U&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(s.__)("Any admin signed in with Google","google-site-kit")),e.createElement(m.Tooltip,{title:Object(s.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit")},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18})))),!U&&P&&e.createElement(m.Select,{className:"googlesitekit-dashboard-sharing-settings__select",value:T,options:x,onChange:q,onClick:q,outlined:!0}),!U&&!P&&a&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(f.a)(Object(s.sprintf)( /* translators: %s: user who manages the module. */ Object(s.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),a),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(m.Tooltip,{title:F?Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),a):Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("Contact %s to change who can manage view access for this module","google-site-kit"),a)},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18}))))))}Module.propTypes={moduleSlug:c.a.string.isRequired,moduleName:c.a.string.isRequired,ownerUsername:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(27),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(2),u=n(56),d=n(0),g=n(3),f=n(10),m=n(20),p=n(395),h=n(564),v=n(18),b=n(129),E=n(8),_=n(19),O=n(24),y=n(147),k=Object(s.__)("All","google-site-kit"),j=Object(d.forwardRef)((function(t,n){var r=t.moduleSlug,a=t.isLocked,c=void 0!==a&&a,o=Object(v.a)(),j=Object(d.useRef)(),S=Object(g.useDispatch)(_.a).setSharedRoles,w=Object(g.useDispatch)(O.b).setValue,x=Object(g.useSelect)((function(e){return e(_.a).getShareableRoles()})),C=Object(g.useSelect)((function(e){return e(_.a).getSharedRoles(r)})),A=Object(g.useSelect)((function(e){return e(O.b).getValue(y.a)}))===r;Object(b.a)([u.c],n,(function(){A&&w(y.a,void 0)}));var N=Object(g.useSelect)((function(e){return e(_.a).haveModuleSharingSettingsChanged(r,"sharedRoles")})),T=Object(d.useCallback)((function(){A?(w(y.a,void 0),N&&Object(E.J)("".concat(o,"_sharing"),"change_shared_roles",r)):w(y.a,r)}),[A,N,r,w,o]);Object(d.useEffect)((function(){j.current&&(A?j.current.firstChild.focus():j.current.focus())}),[A]);var D=Object(d.useCallback)((function(e){var t,n=e.type,a=e.target,c=e.keyCode;if("keydown"!==n||c===u.b){var o,l=a.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)o="all"===s?(null==C?void 0:C.length)===(null==x?void 0:x.length)?[]:x.map((function(e){return e.id})):null===C?[s]:C.includes(s)?C.filter((function(e){return e!==s})):[].concat(i()(C),[s]),S(r,o)}}),[r,S,C,x]);return x?e.createElement("div",{className:l()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":A})},!A&&e.createElement(f.Button,{"aria-label":Object(s.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(p.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:j}),!A&&(null==C?void 0:C.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==x?void 0:x.reduce((function(e,t){return C.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!A&&(!C||0===(null==C?void 0:C.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(m.a,{onClick:T,tabIndex:c?-1:void 0},Object(s.__)("Add roles","google-site-kit"))),A&&e.createElement(d.Fragment,null,e.createElement("div",{className:"googlesitekit-user-role-select__chipset",ref:j},e.createElement(f.Chip,{id:"all",label:k,onClick:D,onKeyDown:D,selected:(null==C?void 0:C.length)===(null==x?void 0:x.length),className:"googlesitekit-user-role-select__chip--all"}),x.map((function(t,n){var r=t.id,i=t.displayName;return e.createElement(f.Chip,{key:n,id:r,label:i,onClick:D,onKeyDown:D,selected:null==C?void 0:C.includes(r)})}))),e.createElement(f.Button,{"aria-label":Object(s.__)("Done editing roles","google-site-kit"),title:Object(s.__)("Done","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(h.a,{width:18,height:18}),tabIndex:c?-1:void 0}))):null}));j.propTypes={moduleSlug:c.a.string.isRequired,isLocked:c.a.bool},t.a=j}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(2),g=n(0),f=n(10),m=n(3),p=n(19),h=n(24),v=n(147),b=n(18),E=n(8),_=n(20),O=n(681),y=n(67);function Footer(t){var n=t.closeDialog,r=t.openResetDialog,a=Object(b.a)(),o=Object(g.useState)(null),s=l()(o,2),u=s[0],k=s[1],j=Object(g.useState)(!1),S=l()(j,2),w=S[0],x=S[1],C=Object(m.useSelect)((function(e){return e(p.a).canSubmitSharingChanges()})),A=Object(m.useSelect)((function(e){return e(p.a).isDoingSubmitSharingChanges()})),N=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("management")})),T=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("sharedRoles")})),D=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsUpdated()})),M=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.c)})),R=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.b)})),B=Object(m.useDispatch)(p.a),I=B.resetSharingSettings,P=B.saveSharingSettings,F=Object(m.useDispatch)(h.b).setValue,L=Object(g.useCallback)(c()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),e.next=3,P();case 3:if(t=e.sent,!(r=t.error)){e.next=8;break}return k(r.message),e.abrupt("return");case 8:Object(E.J)("".concat(a,"_sharing"),"settings_confirm"),F(v.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[a,P,F,n]),z=Object(g.useCallback)(c()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),x(!0),e.next=4,I();case 4:if(t=e.sent,!(r=t.error)){e.next=9;break}return k(r.message),e.abrupt("return");case 9:x(!1),n();case 11:case"end":return e.stop()}}),e)}))),[n,I]),V=Object(g.useCallback)((function(){Object(E.J)("".concat(a,"_sharing"),"settings_cancel"),n()}),[n,a]),W=u||N||T;return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(y.a,{message:u}),!u&&e.createElement(O.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},D&&M&&!W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-left"},e.createElement(_.a,{onClick:r,danger:!0},Object(d.__)("Reset sharing permissions","google-site-kit"))),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-right"},e.createElement(f.Button,{tertiary:!0,onClick:V},Object(d.__)("Cancel","google-site-kit")),M&&e.createElement(f.SpinnerButton,{onClick:L,disabled:A||!C,isSaving:A},Object(d.__)("Apply","google-site-kit")),R&&e.createElement(f.SpinnerButton,{onClick:z,disabled:w,isSaving:w,danger:!0},Object(d.__)("Reset","google-site-kit")))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(2),i=n(38),a=n(3),c=n(19);function Notice(){var t=Object(a.useSelect)((function(e){return e(c.a).canSubmitSharingChanges()})),n=Object(a.useSelect)((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),o=Object(a.useSelect)((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&o&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(79),g=n(0),f=n(3),m=n(181),p=n(89),h=n(46),v=n(24),b=n(17),E=n(25),_=n(204),O=n(683),y=n(684),k=n(685),j=n(35),S=n(6),w=n(252),x=n(686);function C(e){var t,n=(t={},c()(t,E.d,48),c()(t,E.a,48),c()(t,E.c,32),c()(t,E.b,32),t)[e],r=Math.abs(Object(p.b)(e)+n);return"".concat(-r,"px ").concat(-n,"px ").concat(-n,"px ").concat(-n,"px")}function WidgetAreaRenderer(t){var n,r=t.slug,a=t.contextID,o=Object(j.a)(),l=Object(f.useSelect)((function(e){return o?e(S.a).getViewableModules():null})),s=Object(d.a)(),p=Object(E.e)(),A=Object(g.useRef)(),N=Object(w.a)(A,{rootMargin:C(p),threshold:0}),T=Object(f.useSelect)((function(e){return e(h.a).getWidgetArea(r)})),D=T.Icon,M=T.title,R=T.style,B=T.subtitle,I=T.CTA,P=T.Footer,F=Object(f.useSelect)((function(e){return e(h.a).getWidgets(r,{modules:l||void 0})})),L=Object(f.useSelect)((function(e){return e(h.a).getWidgetStates()})),z=Object(f.useSelect)((function(e){return e(h.a).isWidgetAreaActive(r,{modules:l||void 0})})),V=Object(f.useSelect)((function(e){return e(v.b).getValue(v.a)})),W=Object(g.useState)({key:"WidgetAreaRenderer-".concat(r),value:V?V===a:!!(null==N?void 0:N.intersectionRatio)}),G=i()(W,2),U=G[0],H=G[1];Object(g.useEffect)((function(){H({key:"WidgetAreaRenderer-".concat(r),value:V?V===a:!!(null==N?void 0:N.intersectionRatio)})}),[N,r,V,a]);var q=I&&s<=782;if(void 0===l)return null;var K=Object(m.d)(F,L),J=K.columnWidths,Y=K.rowIndexes,X=Object(m.b)(F,L,{columnWidths:J,rowIndexes:Y}),$=X.gridColumnWidths,Q=X.overrideComponents,Z=F.map((function(t,n){return e.createElement(y.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:$[n]},e.createElement(k.a,{slug:t.slug},e.createElement(O.a,{OverrideComponent:Q[n]?function(){var t=Q[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug})))}));return e.createElement(_.a,{value:U},!!z&&e.createElement(b.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(R)),ref:A},e.createElement(b.k,null,e.createElement(b.a,{className:"googlesitekit-widget-area-header",size:12},e.createElement(x.a,{slug:r,Icon:D,title:M,subtitle:B,CTA:I}))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(b.k,null,R===h.b.BOXES&&Z,R===h.b.COMPOSITE&&e.createElement(b.a,{size:12},e.createElement(b.e,null,e.createElement(b.k,null,Z))))),e.createElement(b.k,null,q&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:4,smSize:2},e.createElement("div",{className:"googlesitekit-widget-area-footer__cta"},e.createElement(I,null))),P&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:q?4:8,smSize:q?2:4},e.createElement(P,null)))),!z&&e.createElement(b.e,{className:u()(m.a,"googlesitekit-widget-area",(n={},c()(n,"googlesitekit-widget-area--".concat(r),!!r),c()(n,"googlesitekit-widget-area--".concat(R),!!R),n)),ref:A},Z))}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),c=n(0),o=n(3),l=n(46),s=n(19),u=n(229),d=n(230),g=n(181),f=n(96),m=n(35),p=n(25);function WidgetRenderer(t){var n,r=t.slug,i=t.OverrideComponent,h=Object(o.useSelect)((function(e){return e(l.a).getWidget(r)})),v=Object(p.e)(),b=Object(g.c)(r),E=b.Widget,_=b.WidgetNull,O=Object(o.useSelect)((function(e){return e(s.a).getRecoverableModules()})),y=Object(m.a)(),k=Object(c.useMemo)((function(){return h&&O&&Object(a.intersection)(h.modules,Object.keys(O))}),[O,h]),j=Object(o.useSelect)((function(e){return e(l.a).isWidgetPreloaded(r)}));if(!h||void 0===k||(null==h||null===(n=h.hideOnBreakpoints)||void 0===n?void 0:n.includes(v)))return e.createElement(_,null);var S=h.Component,w=h.wrapWidget,x=e.createElement(S,b);return y&&(null==k?void 0:k.length)&&(x=e.createElement(d.a,{widgetSlug:r,moduleSlugs:k})),i?x=e.createElement(c.Fragment,null,e.createElement(u.a,{widgetSlug:"overridden"},e.createElement(i,null)),e.createElement("div",{className:f.a},x)):w&&(x=e.createElement(E,null,x)),j?e.createElement("div",{className:f.a},x):x}WidgetRenderer.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=WidgetRenderer}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(96),c=n(17);function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(c.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(c.a,{lgSize:n,mdSize:8},r):e.createElement(c.a,{size:n},r)}WidgetCellWrapper.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=WidgetCellWrapper}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),c=n(51),o=n.n(c),l=n(215),s=n.n(l),u=n(69),d=n.n(u),g=n(70),f=n.n(g),m=n(49),p=n.n(m),h=n(186),v=n.n(h),b=n(1),E=n.n(b),_=n(0),O=n(2),y=n(85),k=n(168),j=n(63),S=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var x=function(t){d()(WidgetErrorHandler,t);var n=w(WidgetErrorHandler);function WidgetErrorHandler(e){var t;return a()(this,WidgetErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(s()(t)),t}return o()(WidgetErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Widget error:",t,n),this.setState({error:t,info:n}),Object(S.J)("widget_error","handle_".concat(this.context||"unknown","_error"),"".concat(this.props.slug,"_").concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500-this.props.slug.length-1))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement("div",{className:"googlesitekit-widget-error-handler"},r.createElement(y.a,{description:r.createElement(_.Fragment,null,r.createElement("p",null,Object(O.__)("An error prevented this Widget from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),r.createElement(k.a,{message:n.message,componentStack:i.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(O.__)("Error in Widget","google-site-kit")})):e}}]),WidgetErrorHandler}(_.Component);x.contextType=j.b,x.propTypes={children:E.a.node.isRequired},t.a=x}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaHeader}));var r=n(1),i=n.n(r),a=n(79),c=n(0),o=n(588);function WidgetAreaHeader(t){var n=t.slug,r=t.Icon,i=void 0!==r&&r,l=t.title,s=void 0===l?"":l,u=t.subtitle,d=void 0===u?"":u,g=t.CTA,f=Object(a.a)(),m=g&&f>=783,p="function"==typeof d?d:void 0;return e.createElement(c.Fragment,null,i&&e.createElement(i,{width:33,height:33}),s&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},s,e.createElement(o.a,{slug:n})),(d||g)&&e.createElement("div",{className:"googlesitekit-widget-area-header__details"},d&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},p&&e.createElement(p,null),!p&&d,!s&&e.createElement(o.a,{slug:n})),m&&e.createElement("div",{className:"googlesitekit-widget-area-header__cta"},e.createElement(g,null))))}WidgetAreaHeader.propTypes={slug:i.a.string.isRequired,Icon:i.a.bool,title:i.a.oneOfType([i.a.string,i.a.element]),subtitle:i.a.oneOfType([i.a.string,i.a.elementType]),CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(91),c=n(521),o=n(200),l=n(0),s=n(2),u=n(3),d=n(10),g=n(105),f=n(688),m=n(689),p=n(690),h=n(14),v=n(32),b=n(8),E=n(52),_=n(18);t.a=function EntitySearchInput(){var t=Object(o.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),O=r[0],y=r[1],k=Object(l.useState)(!1),j=i()(k,2),S=j[0],w=j[1],x=Object(l.useState)(!1),C=i()(x,2),A=C[0],N=C[1],T=Object(_.a)(),D=Object(E.c)(),M=Object(l.useRef)(),R=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"open_urlsearch"),y(!0)}),[T]),B=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"close_urlsearch"),y(!1)}),[T]),I=Object(l.useState)({}),P=i()(I,2),F=P[0],L=P[1],z=Object(u.useSelect)((function(e){return(null==F?void 0:F.url)?e(h.c).getAdminURL("googlesitekit-dashboard",{permaLink:F.url}):null})),V=Object(u.useDispatch)(v.a).navigateTo;return Object(l.useEffect)((function(){z&&Object(b.J)("".concat(T,"_headerbar_urlsearch"),"open_urldetails").finally((function(){V(z)}))}),[z,V,T]),Object(a.a)((function(){D===E.a&&y(!0)})),Object(c.a)((function(){var e;O||(null==M||null===(e=M.current)||void 0===e||e.focus())}),[O]),O?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(g.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(p.a,{id:t,match:F,setIsActive:N,setMatch:L,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:S,setIsLoading:w,showDropdown:A,onClose:B,autoFocus:!0}),S&&A&&e.createElement(d.ProgressBar,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(d.Button,{onClick:B,trailingIcon:e.createElement(m.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0,tooltipEnterDelayInMS:500}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(d.Button,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:R,text:!0,ref:M,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(f.a,{width:"20",height:"20"}),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(338),g=n(0),f=n(2),m=n(56),p=n(42),h=n.n(p),v=n(3),b=n(691),E=n(14),_=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,O=void 0===p?_:p,y=t.setIsActive,k=void 0===y?_:y,j=t.autoFocus,S=t.setCanSubmit,w=void 0===S?_:S,x=t.onClose,C=void 0===x?_:x,A=t.placeholder,N=void 0===A?"":A,T=Object(g.useRef)(),D=Object(g.useState)(""),M=l()(D,2),R=M[0],B=M[1],I=null==r?void 0:r.title,P=Object(b.a)(R,R===I?0:200),F=Object(g.useState)([]),L=l()(F,2),z=L[0],V=L[1],W=Object(f.__)("No results found","google-site-kit"),G=Object(v.useSelect)((function(e){return e(E.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),H=Object(g.useCallback)((function(){k(!0)}),[k]),q=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(k(!1),B(null!==(n=null!==(r=U.current)&&void 0!==r?r:G)&&void 0!==n?n:""))}),[G,k]),K=Object(g.useCallback)((function(e){if(Array.isArray(z)&&e!==W){var t=z.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,w(!0),a(t),B(t.title)):U.current=null}else U.current=null,w(!1)}),[z,w,a,W,B]),J=Object(g.useCallback)((function(e){w(!1),B(e.target.value)}),[w]);Object(g.useEffect)((function(){if(""!==P&&P!==G&&(null==P?void 0:P.toLowerCase())!==(null==I?void 0:I.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=c()(i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return O(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(P)},{useCache:!1,signal:null==e?void 0:e.signal}),T.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,V(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),V(null);case 13:return t.prev=13,n===T.current&&O(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[P,O,G,I]),Object(g.useEffect)((function(){R||V([])}),[R]),Object(g.useEffect)((function(){G&&B(G)}),[G]);var Y=Object(g.useRef)(),X=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.d:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.a:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.c:return C();case m.b:return K(R)}}),[C,K,R]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:q,onChange:J,onFocus:H,placeholder:N,onKeyDown:X,value:R,autoFocus:j}),!o&&u&&P!==G&&""!==P&&0===(null==z?void 0:z.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:W,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==P&&P!==G&&(null==z?void 0:z.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},z.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(15),i=n.n(r),a=n(0);function c(e,t){var n=Object(a.useState)(e),r=i()(n,2),c=r[0],o=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),c}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(15),i=n.n(r),a=n(217),c=n(12),o=n.n(c),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(693),m=n(6),p=n(129),h=n(8),v=n(24),b=n(18);function DateRangeSelector(){var t,n=Object(h.o)(),r=Object(d.useSelect)((function(e){return e(m.a).getDateRange()})),c=Object(d.useDispatch)(m.a).setDateRange,E=Object(d.useDispatch)(v.b).resetInViewHook,_=Object(l.useState)(!1),O=i()(_,2),y=O[0],k=O[1],j=Object(l.useRef)(),S=Object(b.a)();Object(a.a)(j,(function(){return k(!1)})),Object(p.a)([s.c,s.f],j,(function(){return k(!1)}));var w=Object(l.useCallback)((function(){k(!y)}),[y]),x=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(h.J)("".concat(S,"_headerbar"),"change_daterange",t),E(),c(t),k(!1)}),[n,r,E,c,S]),C=null===(t=n[r])||void 0===t?void 0:t.label,A=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:j,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{className:o()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:w,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":y,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},C),e.createElement(g.Menu,{menuOpen:y,menuItems:A,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(222),g=n(2),f=n(0),m=n(38),p=n(3),h=n(10),v=n(32),b=n(14),E=n(6),_=n(181),O=n(17),y=n(695),k=n(696),j=n(110),S=n(67),w=n(20),x=n(18),C=n(35),A=n(8),N=n(270),T=n(25);function ConsentModeSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(f.useState)(!1),o=l()(a,2),s=o[0],u=o[1],_=Object(f.useState)(null),D=l()(_,2),M=D[0],R=D[1],B=Object(T.e)(),I=Object(x.a)(),P=Object(C.a)(),F=Object(p.useSelect)((function(e){return e(b.c).isConsentModeEnabled()})),L=Object(p.useSelect)((function(e){return e(b.c).isAdsConnected()})),z=Object(p.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-settings")})),V=Object(p.useSelect)((function(e){return e(b.c).getDocumentationLinkURL("consent-mode")})),W=Object(j.b)(N.a),G=Object(j.c)(N.a).isTooltipVisible,U=Object(p.useSelect)((function(e){return e(E.a).isPromptDismissed(N.a)})),H=Object(p.useSelect)((function(e){return e(E.a).getPromptDismissCount(N.a)})),q=Object(p.useSelect)((function(e){return e(b.c).isUsingProxy()})),K=Object(p.useDispatch)(b.c),J=K.setConsentModeEnabled,Y=K.saveConsentModeSettings,X=Object(p.useDispatch)(E.a),$=X.dismissPrompt,Q=X.triggerSurvey,Z=Object(p.useDispatch)(v.a).navigateTo,ee=Object(f.useRef)(),te=Object(d.a)(ee,{threshold:.25}),ne=Object(f.useState)(!1),re=l()(ne,2),ie=re[0],ae=re[1],ce=!!(null==te?void 0:te.intersectionRatio),oe=!P&&(s||!1===U&&!1===F&&L);if(Object(f.useEffect)((function(){ce&&!ie&&oe&&(Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"view_notification"),q&&Q("view_como_setup_cta",{ttl:A.a}),ae(!0))}),[ie,ce,oe,Q,q,I]),G)return e.createElement(f.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(g.__)("You can always enable consent mode from Settings later","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),tooltipStateKey:N.a}));if(!oe)return e.createElement(r,null);var le=function(){var e=c()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(null),u(!0),J(!0),t=[Y(),Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"confirm_notification")],q&&t.push(Q("enable_como",{ttl:A.a})),e.next=7,Promise.all(t);case 7:if(n=e.sent,r=l()(n,1),!(a=r[0].error)){e.next=16;break}R(a),J(!1),u(!1),e.next=19;break;case 16:return e.next=18,$(N.a);case 18:Z("".concat(z,"#/admin-settings"));case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"dismiss_notification"),W(),!(H<2)){e.next=8;break}return t=2*A.g,e.next=6,$(N.a,{expiresInSeconds:t});case 6:e.next=10;break;case 8:return e.next=10,$(N.a);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(O.e,{className:"googlesitekit-widget-area"},e.createElement(O.k,null,e.createElement(O.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-consent-mode-setup-cta-widget"},e.createElement("div",{ref:ee,className:"googlesitekit-setup-cta-banner__cells"},e.createElement("div",{className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h3",{className:"googlesitekit-setup-cta-banner__title"},Object(g.__)("Enable Consent Mode to preserve tracking for your Ads campaigns","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(m.a)(Object(g.__)("Consent mode interacts with your Consent Management Platform (CMP) or custom implementation for obtaining visitor consent, such as a cookie consent banner. <a>Learn more</a>","google-site-kit"),{a:e.createElement(w.a,{href:V,external:!0,"aria-label":Object(g.__)("Learn more about consent mode","google-site-kit")})}))),M&&e.createElement(S.a,{message:M.message}),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(f.Fragment,null,e.createElement(h.SpinnerButton,{onClick:le,isSaving:s},Object(g.__)("Enable consent mode","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:se},H<2?Object(g.__)("Maybe later","google-site-kit"):Object(g.__)("Don’t show again","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__svg-wrapper"},B!==T.b&&B!==T.d?e.createElement(k.a,null):e.createElement(y.a,null))))))))}ConsentModeSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(_.g)("consent-mode-setup-cta")(ConsentModeSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M457.125 293.876a100.692 100.692 0 01-10.24 9.22c-34.362 26.944-62.751 26.901-102.055 21.983-26.57-3.323-42.093-15.97-78.319-13.981-36.226 1.989-45.507 11.196-89.85 8.247-35.101-2.334-77.689-.546-108.896-16.753C38.883 287.593 7.271 257.447 1.287 187.48c-5.984-69.967 10.507-112.4 55.75-144 55.679-38.889 109.66-3.521 151.33-6.5C250.038 34 253.263 21.115 272.038 4c21.904-19.968 63.565-24.71 89.214-14.054 27.786 6.054 50.219 29.28 58.202 58.922 6.077 22.573 3.427 65.335 19.584 86.632 22 29 37.449 37.613 44.519 71.5 6.139 29.431-8.182 68.021-26.432 86.876z",fill:"#b8e6ca"}),c=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter0_d_162_2908)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865V216.39c0 7.658 6.208 13.865 13.865 13.865h226.126c7.657 0 13.865-6.207 13.865-13.865V112.838c-23.762-3.629-41.965-24.154-41.965-48.93a50 50 0 01.487-6.976z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865v7.144h213.908a49.502 49.502 0 01-2.017-14.033 50 50 0 01.487-6.976z",fill:"#ebeef0"}),r.createElement("rect",{x:101.72,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:112.224,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:105.318,y:92.19,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:131.477,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:170.764,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:94.204,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:133.492,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:172.779,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:109.315,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:148.602,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:187.889,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M330.969 108.441a49.72 49.72 0 01-18.992-16.251h-30.916a5.498 5.498 0 00-5.498 5.497v101.83a5.499 5.499 0 005.498 5.498h44.41a5.499 5.499 0 005.498-5.498z",fill:"#ebeef0"}),r.createElement("circle",{cx:352.606,cy:63.908,r:42.5,fill:"#fff"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#8e68cb"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#a983e6"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68z",fill:"#8e68cb"}),r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#462083"}),r.createElement("circle",{opacity:.5,cx:353.354,cy:62.869,r:13.068,stroke:"#6e48ab",strokeWidth:2}),r.createElement("mask",{id:"consent-mode-setup_svg__a",maskUnits:"userSpaceOnUse",x:343,y:52,width:21,height:22},r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#d9d9d9"})),r.createElement("g",{mask:"url(#consent-mode-setup_svg__a)",fill:"#fff"},r.createElement("circle",{cx:353.554,cy:58.874,r:4.387}),r.createElement("ellipse",{cx:353.553,cy:72.036,rx:9.75,ry:7.8}))),o=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter1_d_162_2908)"},r.createElement("rect",{x:133.078,y:190.932,width:170.133,height:60.256,rx:6.098,fill:"#8e68cb"}),r.createElement("rect",{x:179.156,y:202.746,width:77.978,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:166.16,y:213.38,width:103.97,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:220.507,y:227.557,width:36.626,height:12.996,rx:6.498,fill:"#fff"}),r.createElement("rect",{x:180.156,y:228.557,width:34.626,height:10.996,rx:5.498,stroke:"#fff",strokeWidth:2})),l=r.createElement("defs",{id:"consent-mode-setup_svg__defs2017"},r.createElement("filter",{id:"consent-mode-setup_svg__filter0_d_162_2908",x:75.216,y:9.408,width:335.891,height:240.846,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood1983"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix1985"}),r.createElement("feOffset",{dy:4,id:"consent-mode-setup_svg__feOffset1987"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur1989"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite1991"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0",id:"consent-mode-setup_svg__feColorMatrix1993"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend1995"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend1997"})),r.createElement("filter",{id:"consent-mode-setup_svg__filter1_d_162_2908",x:117.078,y:182.932,width:202.133,height:92.256,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood2000"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix2002"}),r.createElement("feOffset",{dy:8,id:"consent-mode-setup_svg__feOffset2004"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur2006"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite2008"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",id:"consent-mode-setup_svg__feColorMatrix2010"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend2012"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend2014"})));t.a=function SvgConsentModeSetup(e){return r.createElement("svg",i({viewBox:"0 -16 485 344",fill:"none"},e),a,c,o,l)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M83.98 159.764c-4.962-58.006 8.71-93.185 46.219-119.383 46.16-32.24 93.301 3 123.801 3S297.5 29.5 318.5 16.5s41.907-19.5 65-13c23.093 6.5 41.382 24.926 48 49.5 5.039 18.714 8.966 41.618 27 54.5 28 20 53 30.5 47 57l-421.52-4.736z",fill:"#B8E6CA"}),c=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M371.208 75.834C353.685 73.158 340.26 58.02 340.26 39.75c0-1.746.123-3.464.36-5.145H194.225c-5.647 0-10.225 4.578-10.225 10.225v107.368c0 5.647 4.578 10.225 10.225 10.225h166.758c5.647 0 10.225-4.578 10.225-10.225V75.834z",fill:"#fff"}),o=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M340.62 34.605H194.225c-5.647 0-10.225 4.578-10.225 10.225v5.268h157.748a36.832 36.832 0 01-1.128-15.493z",fill:"#EBEEF0"}),l=r.createElement("rect",{x:191.746,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),s=r.createElement("rect",{x:199.493,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),u=r.createElement("rect",{x:194.4,y:60.606,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),d=r.createElement("rect",{x:194.4,y:89.579,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),g=r.createElement("rect",{x:194.4,y:118.552,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),f=r.createElement("rect",{x:218.916,y:62.092,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),m=r.createElement("rect",{x:218.916,y:91.065,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),p=r.createElement("rect",{x:218.916,y:120.038,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),h=r.createElement("rect",{x:218.916,y:73.236,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),v=r.createElement("rect",{x:218.916,y:102.208,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),b=r.createElement("rect",{x:218.916,y:131.181,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M360.808 72.59a36.656 36.656 0 01-14.006-11.984h-22.799a4.054 4.054 0 00-4.054 4.055v75.095a4.054 4.054 0 004.054 4.054h32.75a4.055 4.055 0 004.055-4.054V72.591z",fill:"#EBEEF0"}),_=r.createElement("circle",{cx:376.764,cy:39.75,r:31.342,fill:"#fff"}),O=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#8E68CB"}),y=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#A983E6"}),k=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737v-36.31z",fill:"#8E68CB"}),j=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#462083"}),S=r.createElement("circle",{opacity:.5,cx:377.316,cy:38.984,r:9.637,stroke:"#6E48AB",strokeWidth:1.475}),w=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#D9D9D9"}),x=r.createElement("g",{mask:"url(#consent-mode-setup-tablet_svg__a)",fill:"#fff"},r.createElement("circle",{cx:377.464,cy:36.037,r:3.236}),r.createElement("ellipse",{cx:377.463,cy:45.744,rx:7.19,ry:5.752})),C=r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter1_d_630_6357)"},r.createElement("rect",{x:214.872,y:86.424,width:125.466,height:44.436,rx:4.497,fill:"#8E68CB"}),r.createElement("rect",{x:248.852,y:95.137,width:57.505,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:239.268,y:102.979,width:76.674,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:279.347,y:113.434,width:27.01,height:9.584,rx:4.792,fill:"#fff"}),r.createElement("rect",{x:249.59,y:114.172,width:25.535,height:8.109,rx:4.055,stroke:"#fff",strokeWidth:1.475})),A=r.createElement("defs",null,r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter0_d_630_6357",x:172.201,y:-.442,width:247.705,height:177.614,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.95}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter1_d_630_6357",x:203.072,y:80.525,width:149.065,height:68.035,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.9}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("clipPath",{id:"consent-mode-setup-tablet_svg__clip0_630_6357"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgConsentModeSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#consent-mode-setup-tablet_svg__clip0_630_6357)"},a,r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter0_d_630_6357)"},c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,j,S,r.createElement("mask",{id:"consent-mode-setup-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:369,y:31,width:17,height:16},w),x),C),A)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(15),i=n.n(r),a=n(792),c=n(0),o=function(){var t=Object(a.a)().y,n=Object(c.useState)(!1),r=i()(n,2),o=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(c.useEffect)((function(){o?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[o]),t>0&&!o?l(!0):0===t&&o&&l(!1),o}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotificationsRenderer}));var r=n(0),i=n(210),a=n(353),c=n(699),o=n(702),l=n(554);function OverlayNotificationsRenderer(){var t=Object(i.a)("audienceSegmentation"),n=Object(i.a)("rrmModule");return e.createElement(r.Fragment,null,e.createElement(o.a,null),e.createElement(c.a,null),t&&e.createElement(a.a,null),n&&e.createElement(l.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification}));var i=n(0),a=n(2),c=n(10),o=n(3),l=n(700),s=n(701),u=n(22),d=n(24),g=n(6),f=n(19),m=n(25),p=n(52),h=n(29),v=n(9),b=n(89),E=n(213),_=n(372),O=n(8),y=n(18);function AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification(){var t=Object(m.e)(),n=Object(p.c)()===p.b,k=Object(y.a)(),j=Object(o.useSelect)((function(e){return e(g.a).isItemDismissed("AnalyticsAndAdSenseLinkedOverlayNotification")})),S=Object(o.useSelect)((function(e){return e(g.a).isDismissingItem("AnalyticsAndAdSenseLinkedOverlayNotification")})),w=Object(o.useSelect)((function(e){return!n||j?null:e(f.a).isModuleConnected("analytics-4")})),x=Object(o.useSelect)((function(e){return!n||j?null:e(f.a).isModuleConnected("adsense")})),C=Object(o.useSelect)((function(e){return!n||j?null:e(g.a).hasAccessToShareableModule("analytics-4")})),A=Object(o.useSelect)((function(e){return!n||j?null:e(g.a).hasAccessToShareableModule("adsense")})),N=Object(o.useSelect)((function(e){return!n||j?null:e(v.p).getAdSenseLinked()})),T=Object(o.useSelect)((function(e){return x?e(h.m).getAccountID():null})),D=Object(o.useSelect)((function(e){return e(g.a).getDateRangeDates({offsetDays:v.f})})),M={startDate:D.startDate,endDate:D.endDate,dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(T,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:1},R=Object(o.useSelect)((function(e){return n&&!1===j&&N&&x&&w&&A&&C?e(v.p).getReport(M):null})),B=!1===Object(_.a)(R),I=n&&!1===j&&w&&x&&C&&A&&N&&B,P=Object(o.useDispatch)(d.b).dismissOverlayNotification,F=Object(i.useCallback)((function(){Object(O.J)("".concat(k,"_top-earning-pages-widget"),"view_overlay_CTA")}),[k]),L=function(){P("AnalyticsAndAdSenseLinkedOverlayNotification")};return r.createElement(E.a,{shouldShowNotification:I,GraphicDesktop:l.a,GraphicMobile:s.a,notificationID:"AnalyticsAndAdSenseLinkedOverlayNotification",onShow:F},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(a.__)("See your top earning content","google-site-kit")),r.createElement("p",null,Object(a.__)("Data is now available for the pages that earn the most AdSense revenue.","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(c.Button,{tertiary:!0,disabled:S,onClick:function(){L(),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"dismiss_overlay_CTA")}},Object(a.__)("Maybe later","google-site-kit")),r.createElement(c.Button,{disabled:S,onClick:function(n){!function(n){n.preventDefault(),L(),setTimeout((function(){e.history.replaceState({},"","#".concat(u.c)),e.scrollTo({top:Object(b.a)(".googlesitekit-widget--adsenseTopEarningPagesGA4",t),behavior:"smooth"})}),50)}(n),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"confirm_overlay_CTA")}},Object(a.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-desktop_svg__clip0_100_3563)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-desktop_svg__filter0_d_100_3563)"},r.createElement("rect",{x:24,y:23,width:248,height:174,rx:11,fill:"#fff"}),r.createElement("rect",{x:48,y:96,width:116,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:124,width:141,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:153,width:97,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("path",{d:"M222 103a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 131a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 159a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7z",fill:"#EBEEF0"}),r.createElement("rect",{x:48,y:44,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("rect",{x:46.672,y:162.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M272 72H24",stroke:"#EBEEF0",strokeWidth:2}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-desktop_svg__clip0_100_3563"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-linked-desktop_svg__filter0_d_100_3563",x:8,y:11,width:280,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_100_3563"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_100_3563",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-mobile_svg__clip0_413_2990)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-mobile_svg__filter0_d_413_2990)"},r.createElement("rect",{x:74.81,y:12.732,width:193.381,height:135.679,rx:8.577,fill:"#fff"}),r.createElement("rect",{x:93.524,y:69.655,width:90.452,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:91.488,width:109.946,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:114.101,width:75.637,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("path",{d:"M229.202 75.113a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.916h-9.358a5.458 5.458 0 01-5.458-5.458zM229.202 96.946a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.917h-9.358a5.459 5.459 0 01-5.458-5.459zM229.202 118.78a5.459 5.459 0 015.458-5.459h9.358a5.459 5.459 0 010 10.917h-9.358a5.458 5.458 0 01-5.458-5.458z",fill:"#EBEEF0"}),r.createElement("rect",{x:93.524,y:29.107,width:28.071,height:7.018,rx:3.509,fill:"#EBEEF0"}),r.createElement("rect",{x:92.488,y:121.631,width:43.459,height:7.42,rx:3.71,fill:"#EBEEF0"}),r.createElement("path",{d:"M268.19 50.94H74.81",stroke:"#EBEEF0",strokeWidth:1.56}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-mobile_svg__clip0_413_2990"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-linked-mobile_svg__filter0_d_413_2990",x:62.333,y:3.375,width:218.333,height:160.631,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.119}),r.createElement("feGaussianBlur",{stdDeviation:6.238}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2990"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2990",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LinkAnalyticsAndAdSenseAccountsOverlayNotification}));var r=n(2),i=n(10),a=n(3),c=n(6),o=n(14),l=n(24),s=n(19),u=n(9),d=n(703),g=n(704),f=n(213),m=n(35),p=n(52);function LinkAnalyticsAndAdSenseAccountsOverlayNotification(){var t=Object(m.a)(),n=Object(p.c)()===p.b,h=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})})),v=Object(a.useSelect)((function(e){return e(c.a).isItemDismissed("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),b=Object(a.useSelect)((function(e){return e(c.a).isDismissingItem("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),E=Object(a.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("analytics-4")})),_=Object(a.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("adsense")})),O=Object(a.useSelect)((function(e){return t||!n||v?null:e(u.p).getAdSenseLinked()})),y=!t&&n&&(E&&_)&&!1===O&&!1===v,k=Object(a.useDispatch)(l.b).dismissOverlayNotification,j=function(){k("LinkAnalyticsAndAdSenseAccountsOverlayNotification")};return e.createElement(f.a,{shouldShowNotification:y,GraphicDesktop:d.a,GraphicMobile:g.a,notificationID:"LinkAnalyticsAndAdSenseAccountsOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("See which content earns you the most","google-site-kit")),e.createElement("p",null,Object(r.__)("Link your Analytics and AdSense accounts to find out which content brings you the most revenue.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(i.Button,{tertiary:!0,disabled:b,onClick:j},Object(r.__)("Maybe later","google-site-kit")),e.createElement(i.Button,{disabled:b,href:h,target:"_blank",onClick:j,"aria-label":Object(r.__)("Learn how (opens in a new tab)","google-site-kit")},Object(r.__)("Learn how","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-desktop_svg__clip0_50_9707)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-desktop_svg__filter0_d_50_9707)"},r.createElement("rect",{x:22,y:30,width:252,height:172.055,rx:13.764,fill:"#fff"}),r.createElement("rect",{x:36,y:65,width:224,height:47,rx:5.161,fill:"#DCE8FF"}),r.createElement("rect",{x:43,y:145,width:30,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("rect",{x:43,y:151,width:40,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("path",{d:"M168.539 90.857L188 112h-81l29.455-32 21.039 22.857 11.045-12z",fill:"#9BB8F0"}),r.createElement("path",{d:"M22 43.764C22 36.162 28.162 30 35.764 30h224.472C267.838 30 274 36.162 274 43.764v7.091H22v-7.091z",fill:"#EBEEF0"}),r.createElement("rect",{x:32.427,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:42.855,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:36,y:122,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:122,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:141,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:154,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.51 171.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:159.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 162.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 165.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:153.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 156.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 159.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:147.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 150.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 153.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:141.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 144.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 147.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:135.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 138.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 141.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:129.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 132.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M256.323 129.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}),r.createElement("ellipse",{cx:209.51,cy:166.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M209.51 172.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:160.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 163.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 166.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:154.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 157.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 160.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:148.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 151.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M227.323 148.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-desktop_svg__clip0_50_9707"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-connect-desktop_svg__filter0_d_50_9707",x:6,y:18,width:284,height:204.055,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_50_9707"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_50_9707",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-mobile_svg__clip0_413_2382)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-mobile_svg__filter0_d_413_2382)"},r.createElement("rect",{x:56,y:14,width:209.444,height:143,rx:11.44,fill:"#fff"}),r.createElement("rect",{x:67.635,y:43.09,width:186.173,height:39.063,rx:4.29,fill:"#DCE8FF"}),r.createElement("rect",{x:73.454,y:109.58,width:24.934,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("rect",{x:73.454,y:114.567,width:33.245,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("path",{d:"M177.792 64.58l16.175 17.573h-67.322l24.481-26.597 17.486 18.998 9.18-9.974z",fill:"#9BB8F0"}),r.createElement("path",{d:"M56 25.44C56 19.121 61.122 14 67.44 14h186.565c6.318 0 11.439 5.122 11.439 11.44v5.893H56V25.44z",fill:"#EBEEF0"}),r.createElement("rect",{x:64.666,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:73.333,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:67.635,y:90.464,width:49.037,height:45.712,rx:4.536,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:90.464,width:44.881,height:8.311,rx:4.156,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:106.255,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:117.06,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("path",{d:"M235.947 131.708c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:121.947,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 124.011v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.207v-1.017l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.736.736 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.303 2.303 0 00-.513-.184v.866c.202-.028.367-.078.496-.151.135-.073.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 126.722c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:116.96,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 119.024v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.748.748 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 121.735c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:111.973,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 114.037v-.398a3.846 3.846 0 01-.749-.129 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.508 4.508 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.393h.674v.403c.291.024.535.071.732.141.202.068.359.146.471.234a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.437-.152v.962c.303.067.572.142.808.225.235.079.42.175.555.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.817c0 .098.059.181.177.248.123.064.3.126.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.077.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 116.748c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:106.986,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 109.05v-.398a3.845 3.845 0 01-.749-.128 2.479 2.479 0 01-.64-.284 1.193 1.193 0 01-.412-.445l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.016l-.025-.01c-.449-.091-.819-.21-1.111-.357-.292-.149-.438-.34-.438-.572 0-.138.062-.267.185-.39.129-.122.312-.222.547-.302a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.071.732.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.228 1.228 0 00-.437-.151v.961c.303.068.572.142.808.225.235.079.42.175.555.288.14.11.21.248.21.413 0 .18-.075.332-.227.458a1.586 1.586 0 01-.581.297 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.071-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 111.761c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:102,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 104.063v-.398a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.206v-1.016l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.724.724 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.079.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.586 1.586 0 01-.581.297 3.416 3.416 0 01-.765.142v.403h-.674zm-.707-2.816c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 106.775c9.864 0 17.861-2.933 17.861-6.549v-2.382h-35.722v2.382c0 3.616 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:97.013,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 99.077v-.399a3.778 3.778 0 01-.749-.128 2.449 2.449 0 01-.64-.284 1.184 1.184 0 01-.412-.444l.791-.174c.067.134.191.255.37.362a1.7 1.7 0 00.64.206v-1.017l-.025-.01a4.511 4.511 0 01-1.111-.356c-.292-.15-.438-.34-.438-.573 0-.137.062-.267.185-.39.129-.121.312-.222.547-.301.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.886.886 0 01.244.252l-.774.183a.735.735 0 00-.236-.202 1.236 1.236 0 00-.437-.15v.96c.303.068.572.143.808.225.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.588 1.588 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.487 1.487 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.354 2.354 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M250.751 97.013c0 .455-.265.987-.969 1.563-.698.572-1.751 1.117-3.11 1.588-2.713.939-6.505 1.532-10.725 1.532s-8.012-.593-10.725-1.532c-1.36-.47-2.412-1.016-3.111-1.588-.704-.576-.969-1.108-.969-1.563 0-.456.265-.988.969-1.564.699-.572 1.751-1.117 3.111-1.587 2.713-.94 6.505-1.533 10.725-1.533s8.012.593 10.725 1.533c1.359.47 2.412 1.015 3.11 1.587.704.576.969 1.108.969 1.564z",stroke:"#E1B155",strokeWidth:1.349}),r.createElement("ellipse",{cx:211.845,cy:127.765,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("ellipse",{cx:211.845,cy:122.778,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 124.842v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.106.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.736.736 0 00-.236-.202 1.246 1.246 0 00-.438-.151v.962c.303.067.573.142.808.224.236.08.421.176.556.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 127.553c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:117.791,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 119.855v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.068.359.145.471.234a.884.884 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.226 1.226 0 00-.438-.152v.962c.303.067.573.142.808.225.236.079.421.175.556.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 122.566c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:112.804,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 114.868v-.398a3.772 3.772 0 01-.749-.129 2.413 2.413 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.017l-.025-.009c-.449-.091-.819-.21-1.111-.357-.292-.15-.438-.34-.438-.572 0-.138.062-.268.185-.39a1.47 1.47 0 01.547-.302c.236-.082.517-.131.842-.147v-.393h.673v.403c.292.024.536.071.733.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.438-.151v.961c.303.068.573.142.808.225.236.079.421.175.556.288.14.11.21.248.21.412a.57.57 0 01-.227.458 1.572 1.572 0 01-.581.298 3.471 3.471 0 01-.766.142v.403h-.673zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.866c.202-.028.368-.078.497-.152.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M226.649 112.804c0 .456-.265.988-.969 1.564-.698.572-1.751 1.117-3.11 1.587-2.713.94-6.505 1.533-10.725 1.533s-8.012-.593-10.725-1.533c-1.36-.47-2.412-1.015-3.111-1.587-.704-.576-.969-1.108-.969-1.564 0-.455.265-.987.969-1.563.699-.572 1.751-1.117 3.111-1.588 2.713-.939 6.505-1.532 10.725-1.532s8.012.593 10.725 1.532c1.359.471 2.412 1.016 3.11 1.588.704.576.969 1.108.969 1.563z",stroke:"#E1B155",strokeWidth:1.349}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-mobile_svg__clip0_413_2382"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-connect-mobile_svg__filter0_d_413_2382",x:42.702,y:4.026,width:236.04,height:169.596,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.325}),r.createElement("feGaussianBlur",{stdDeviation:6.649}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2382"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2382",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(520),l=n(506),s=n(256),u=n(0),d=n(3),g=n(24);function f(){var t=Object(d.useDispatch)(g.b).setIsOnline,n=Object(d.useSelect)((function(e){return e(g.b).getIsOnline()})),r=Object(u.useCallback)(c()(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator.onLine){e.next=3;break}return t(!1),e.abrupt("return");case 3:return e.prev=3,e.next=6,Object(s.default)({path:"/google-site-kit/v1/"});case 6:n=e.sent,t(!!n),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),t(!1);case 14:case"end":return e.stop()}}),e,null,[[3,11]])}))),[t]);Object(o.a)((function(){e.addEventListener("online",r),e.addEventListener("offline",r)}),(function(){e.removeEventListener("online",r),e.removeEventListener("offline",r)})),Object(l.a)(r,n?12e4:15e3)}}).call(this,n(26))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Errors}));var r=n(1),i=n.n(r),a=n(0),c=n(2);function Errors(t){var n=t.recoveryErrors;return e.createElement("div",{className:"googlesitekit-module-recovery-errors"},1===Object.keys(n).length&&e.createElement("p",null,Object(c.sprintf)( /* translators: %s: Error message */ Object(c.__)("Error: %s","google-site-kit"),Object.values(n)[0].message)),Object.keys(n).length>1&&e.createElement(a.Fragment,null,e.createElement("p",null,Object(c.__)("The following modules failed to be recovered:","google-site-kit")),e.createElement("ul",null,Object.keys(n).map((function(t){return e.createElement("li",{key:t},Object(c.sprintf)( /* translators: 1: Module name, 2: Error message */ Object(c.__)("%1$s: %2$s","google-site-kit"),n[t].name,n[t].message))})))))}Errors.propTypes={recoveryErrors:i.a.object.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(1),i=n.n(r),a=n(1077),c=n(1079);function DashboardEntryPoint(t){var n=t.setupModuleSlug;return n?e.createElement(a.a,{moduleSlug:n}):e.createElement(c.a,null)}DashboardEntryPoint.propTypes={setupModuleSlug:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(91),u=n(232),d=n(0),g=n(2),f=n(3),m=n(14),p=n(19),h=n(32),v=n(8),b=n(243),E=n(17),_=n(242),O=n(1078);function ModuleSetup(t){var n=t.moduleSlug,r=Object(f.useDispatch)(h.a).navigateTo,a=Object(f.useSelect)((function(e){return e(p.a).getModule(n)})),o=Object(f.useRegistry)(),l=Object(u.a)(function(){var e=c()(i.a.mark((function e(t){var a,c,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("moduleSetup","complete_module_setup",n);case 2:if(!t){e.next=5;break}return r(t),e.abrupt("return");case 5:return a=o.select,c=o.resolveSelect,e.next=8,c(m.c).getSiteInfo();case 8:l=a(m.c).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success",slug:n}),r(l);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[o,r,n]),y=null==a?void 0:a.onCompleteSetup,k=Object(d.useCallback)((function(){return y(o,l)}),[y,o,l]),j=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(v.J)("moduleSetup","view_module_setup",n)})),!(null==a?void 0:a.SetupComponent))return null;var S=a.SetupComponent;return e.createElement(d.Fragment,null,e.createElement(_.a,null,e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(E.e,null,e.createElement(E.k,null,e.createElement(E.a,{size:12},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement(E.e,null,e.createElement(E.k,null,e.createElement(E.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(g.__)("Connect Service","google-site-kit")),e.createElement(S,{module:a,finishSetup:l})))),e.createElement(O.a,{module:a,onCancel:j,onComplete:"function"==typeof y?k:void 0})))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetupFooter}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(12),g=n.n(d),f=n(2),m=n(0),p=n(3),h=n(14),v=n(17),b=n(20),E=n(10),_=n(19);function ModuleSetupFooter(t){var n=t.module,r=t.onCancel,a=t.onComplete,o=Object(m.useState)(!1),s=l()(o,2),u=s[0],d=s[1],O=Object(p.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-settings")})),y=Object(p.useSelect)((function(e){var t,r;return null===(t=e(null==n?void 0:n.storeName))||void 0===t||null===(r=t.isSetupBlocked)||void 0===r?void 0:r.call(t)})),k=Object(p.useSelect)((function(e){return e(_.a).canSubmitChanges(null==n?void 0:n.slug)})),j=Object(m.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,a();case 3:d(!1);case 4:case"end":return e.stop()}}),e)}))),[d,a]);return n?e.createElement("div",{className:g()("googlesitekit-setup__footer","googlesitekit-setup__footer--".concat(null==n?void 0:n.slug))},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{alignMiddle:!0,smSize:2,mdSize:4,lgSize:6},e.createElement(b.a,{id:"setup-".concat(n.slug,"-cancel"),href:O,onClick:r},y?Object(f.__)("Back","google-site-kit"):Object(f.__)("Cancel","google-site-kit"))),a&&e.createElement(v.a,{alignRight:!0,smSize:2,mdSize:4,lgSize:6},e.createElement(E.SpinnerButton,{id:"setup-".concat(n.slug,"-complete"),onClick:j,disabled:!k||u,isSaving:u},Object(f.__)("Complete Setup","google-site-kit")))))):null}ModuleSetupFooter.propTypes={module:u.a.shape({slug:u.a.string.isRequired,storeName:u.a.string.isRequired}).isRequired,onCancel:u.a.func.isRequired,onComplete:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardMainApp}));var i=n(15),a=n.n(i),c=n(12),o=n.n(c),l=n(0),s=n(91),u=n(3),d=n(73),g=n(8),f=n(242),m=n(675),p=n(409),h=n(358),v=n(508),b=n(687),E=n(692),_=n(243),O=n(1081),y=n(205),k=n(1095),j=n(694),S=n(611),w=n(1110),x=n(22),C=n(6),A=n(46),N=n(35),T=n(28),D=n(612),M=n(698),R=n(613),B=n(25),I=n(210),P=n(705),F=n(193),L=n(89),z=n(14),V=n(376);function DashboardMainApp(){var t,n,i=Object(I.a)("audienceSegmentation"),c=Object(I.a)("rrmModule"),W=Object(l.useState)(!1),G=a()(W,2),U=G[0],H=G[1],q=Object(N.a)(),K=Object(B.e)(),J=Object(F.a)("widgetArea"),Y=a()(J,2),X=Y[0],$=Y[1],Q=Object(u.useDispatch)(T.a).setValues,Z=Object(u.useSelect)((function(e){return e(C.a).getGrantedScopes()})),ee=Object(u.useSelect)((function(e){return e(T.a).getValue(C.d,"permissionsError")})),te=void 0!==Z&&(null==ee||null===(t=ee.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.some((function(e){return Z.includes(e)}))),ne=Object(u.useSelect)((function(e){return i&&e(C.a).getConfiguredAudiences()}));Object(s.a)((function(){if(q||setTimeout((function(){return H(!0)}),5e3),X){var t=".googlesitekit-widget-area--".concat(X);setTimeout((function(){e.scrollTo({top:Object(L.a)(t,K),behavior:"smooth"}),$(void 0)}),100)}})),Object(l.useEffect)((function(){void 0!==ee&&te&&Q(C.d,{permissionsError:{}})}),[te,Q,ee]);var re=Object(u.useSelect)((function(e){return q?e(C.a).getViewableModules():null})),ie={modules:re||void 0},ae=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,ie)})),ce=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,ie)})),oe=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_CONTENT,ie)})),le=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_SPEED,ie)})),se=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,ie)})),ue=Object(u.useSelect)((function(e){return e(C.a).isKeyMetricsWidgetHidden()})),de=Object(V.a)(),ge=Object(u.useSelect)((function(e){return!0===e(z.c).isKeyMetricsSetupCompleted()&&!1===ue||e(C.a).isAuthenticated()&&!1===e(z.c).isKeyMetricsSetupCompleted()&&de}));Object(P.a)();var fe=null;return se?fe=x.c:le?fe=x.d:oe?fe=x.a:ce?fe=x.e:ae&&(fe=x.b),r.createElement(l.Fragment,null,r.createElement(S.a,null),r.createElement(R.a,null),r.createElement(f.a,{subHeader:r.createElement(O.a,null),showNavigation:!0},r.createElement(b.a,null),r.createElement(E.a,null),!q&&r.createElement(m.a,null),r.createElement(_.a,null)),!q&&r.createElement(l.Fragment,null,i&&r.createElement(h.c,null),r.createElement(j.a,null)),!q&&r.createElement(l.Fragment,null,c&&r.createElement(v.a,null)),r.createElement(M.a,null),!0!==ue&&r.createElement(p.a,{id:x.b,slug:d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,className:o()({"googlesitekit-widget-context--last":fe===x.b})}),r.createElement(p.a,{id:x.e,slug:d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,className:o()({"googlesitekit-widget-context--last":fe===x.e})}),r.createElement(p.a,{id:x.a,slug:d.CONTEXT_MAIN_DASHBOARD_CONTENT,className:o()({"googlesitekit-widget-context--last":fe===x.a})}),r.createElement(p.a,{id:x.d,slug:d.CONTEXT_MAIN_DASHBOARD_SPEED,className:o()({"googlesitekit-widget-context--last":fe===x.d})}),r.createElement(p.a,{id:x.c,slug:d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,className:o()({"googlesitekit-widget-context--last":fe===x.c})}),r.createElement(y.a,{triggerID:"view_dashboard",ttl:g.a}),U&&r.createElement(k.a,null),ge&&r.createElement(w.a,null),i&&ne&&r.createElement(h.d,null),r.createElement(D.a,null))}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(15),i=n.n(r),a=n(0),c=n(3),o=n(19),l=n(6),s=n(9),u=n(193),d=n(1082),g=n(1084),f=n(1086),m=n(1087),p=n(640),h=n(35),v=n(1089),b=n(1090),E=n(1092),_=n(1093),O=n(24),y=n(377),k=n(60),j=n(180),S=["ads",n(48).d];function BannerNotifications(){var t=Object(h.a)(),n=Object(c.useSelect)((function(e){return e(l.a).isAuthenticated()})),r=Object(c.useSelect)((function(e){return e(o.a).isModuleActive("adsense")})),w=Object(c.useSelect)((function(e){return e(o.a).isModuleConnected("analytics-4")})),x=Object(c.useSelect)((function(e){return e(l.a).hasScope(s.n)})),C=Object(c.useSelect)((function(e){return e(s.p).hasMismatchedGoogleTagID()})),A=Object(c.useSelect)((function(e){return e(O.b).getValue(y.a)})),N=Object(c.useSelect)((function(e){if(t||!w)return!1;var n=e(s.p).getOwnerID(),r=e(l.a).getID();return void 0!==n&&void 0!==r?n===r:void 0})),T=Object(u.a)("notification"),D=i()(T,1)[0],M=Object(u.a)("slug"),R=i()(M,1)[0];return t?e.createElement(a.Fragment,null,e.createElement(j.a,{areaSlug:k.b.BANNERS_ABOVE_NAV})):e.createElement(a.Fragment,null,r&&e.createElement(m.a,null),e.createElement(f.a,null),"authentication_success"===D&&!S.includes(R)&&e.createElement(d.a,null),"ad_blocking_recovery_setup_success"===D&&e.createElement(_.a,null),e.createElement(v.a,null),n&&e.createElement(g.a,null),!A&&e.createElement(p.a,null),w&&x&&N&&e.createElement(a.Fragment,null,C&&e.createElement(b.a,null),e.createElement(E.a,null)),e.createElement(j.a,{areaSlug:k.b.BANNERS_ABOVE_NAV}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(0),d=n(2),g=n(1157),f=n(3),m=n(193),p=n(65),h=n(1083),v=n(22),b=n(19),E=n(14),_=n(6),O=n(36),y=n(89),k=n(18),j=n(25),S=n(20);t.a=function SetupSuccessBannerNotification(){var t,n=Object(m.a)("slug"),i=s()(n,1)[0],c=Object(m.a)("notification"),l=s()(c,1)[0],w=Object(j.e)(),x=Object(k.a)(),C=Object(f.useSelect)((function(e){return e(b.a).getModules()})),A=Object(f.useSelect)((function(e){return e(_.a).hasCapability(_.K)})),N=Object(f.useSelect)((function(e){var t,n=null==C||null===(t=C[i])||void 0===t?void 0:t.storeName;if(!n)return null;var r=e(n).getSetupSuccessContent;return r?r():null})),T=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),D=Object(u.useCallback)((function(){Object(O.b)("".concat(x,"_authentication-success-notification"),"view_notification")}),[x]),M=Object(u.useCallback)(o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(O.b)("".concat(x,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(g.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[x]);if(void 0===C)return null;if(!l||""===l)return null;if("authentication_success"===l&&!A)return null;if("authentication_success"===l&&i&&!(null===(t=C[i])||void 0===t?void 0:t.active))return null;var R={id:"connected-successfully",setupTitle:Object(d.__)("Site Kit","google-site-kit"),description:"",learnMore:{label:"",url:"",description:""}};switch(l){case"authentication_success":if(C[i]&&(R.id="".concat(R.id,"-").concat(i),R.setupTitle=C[i].name,R.description="",N)){var B=N.description,I=N.learnMore;R.description=B,R.learnMore=I}if("pagespeed-insights"===i){var P="#".concat(v.d);R.description=r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(S.a,{href:P,onClick:function(t){t.preventDefault(),e.history.replaceState({},"",P),e.scrollTo({top:Object(y.a)(P,w),behavior:"smooth"})}},Object(d.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")))}else R.description||R.learnMore.label||(R.description=Object(d.__)("Connect more services to see more stats.","google-site-kit"),R.learnMore={label:Object(d.__)("Go to Settings","google-site-kit"),url:"".concat(T,"#/connect-more-services"),target:p.a.INTERNAL});return r.createElement(u.Fragment,null,r.createElement(p.b,{id:R.id,title:Object(d.sprintf)( /* translators: %s: the name of a module that setup was completed for */ Object(d.__)("Congrats on completing the setup for %s!","google-site-kit"),R.setupTitle),description:R.description,handleDismiss:function(){},WinImageSVG:h.a,onView:D,dismiss:Object(d.__)("OK, Got it!","google-site-kit"),onDismiss:M,format:"smaller",type:"win-success",learnMoreLabel:R.learnMore.label,learnMoreDescription:R.learnMore.description,learnMoreURL:R.learnMore.url,learnMoreTarget:R.learnMore.target}));default:return null}}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),c=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),o=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),g=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),f=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,c,o,l,s,u,d,g,f)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),c=n(3),o=n(14),l=n(6),s=n(1085);t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],u=n[1],d=Object(a.useState)(!1),g=i()(d,2),f=g[0],m=g[1],p=Object(a.useRef)(Date.now()),h=Object(c.useSelect)((function(e){return e(o.c).isUsingProxy()&&!1===e(l.a).areSurveysOnCooldown()?e(l.a).getCurrentSurvey():null})),v=Object(c.useSelect)((function(e){return e(o.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){f||u(!0)}),5e3);return function(){clearTimeout(e)}}),[f]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&h&&m(!0)}),[p,h,m]),Array.isArray(v)&&r&&!f?v.map((function(t){return e.createElement(s.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(0),o=n(3),l=n(65),s=n(14),u=n(8),d=n(18);function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,g=t.dismissLabel,f=t.dismissible,m=t.id,p=t.learnMoreLabel,h=t.learnMoreURL,v=t.title,b=Object(o.useDispatch)(s.c),E=b.dismissNotification,_=b.acceptNotification,O=Object(d.a)(),y=Object(c.useCallback)((function(){Object(u.J)("".concat(O,"_remote-site-notification"),"view_notification",m)}),[m,O]),k=Object(c.useCallback)((function(){_(m),Object(u.J)("".concat(O,"_remote-site-notification"),"confirm_notification",m)}),[m,_,O]),j=Object(c.useCallback)((function(){E(m),Object(u.J)("".concat(O,"_remote-site-notification"),"dismiss_notification",m)}),[m,E,O]),S=Object(c.useCallback)((function(){Object(u.J)("".concat(O,"_remote-site-notification"),"click_learn_more_link",m)}),[m,O]);return e.createElement(l.b,{key:m,id:m,title:v,description:n,learnMoreURL:h,learnMoreLabel:p,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:g,isDismissible:f,onCTAClick:k,onView:y,onDismiss:j,onLearnMoreClick:S})}CoreSiteBannerNotification.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},CoreSiteBannerNotification.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=CoreSiteBannerNotification}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleRecoveryAlert}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(7),l=n.n(o),s=n(15),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(10),p=n(14),h=n(19),v=n(8),b=n(65),E=n(812);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ModuleRecoveryAlert(){var t=Object(d.useState)(null),n=u()(t,2),r=n[0],a=n[1],o=Object(d.useState)(!1),s=u()(o,2),_=s[0],y=s[1],k=Object(f.useSelect)((function(e){return e(h.a).getRecoverableModules()})),j=Object(f.useSelect)((function(e){return e(p.c).getDocumentationLinkURL("dashboard-sharing")})),S=Object(f.useSelect)((function(e){var t=e(h.a).getRecoverableModules();if(void 0!==t){var n=Object.keys(t).map((function(t){return{slug:t,hasModuleAccess:e(h.a).hasModuleAccess(t)}}));if(!n.some((function(e){return void 0===e.hasModuleAccess})))return n.filter((function(e){return e.hasModuleAccess})).map((function(e){return e.slug}))}})),w=Object(f.useSelect)((function(e){if(k){var t=e(h.a).getRecoveredModules();if(!t)return{};var n=Object.keys(k),r=function(e){var n;return null==t||null===(n=t.error)||void 0===n?void 0:n[e]};return n.filter((function(e){return!!r(e)})).reduce((function(e,t){return O(O({},e),{},l()({},t,O({name:k[t].name},r(t))))}),{})}})),x=Object(f.useDispatch)(h.a),C=x.recoverModules,A=x.clearRecoveredModules,N=void 0===S||null===r,T=Object(d.useCallback)((function(e){return a((function(t){return O(O({},t),{},l()({},e,!t[e]))}))}),[]),D=Object(d.useCallback)(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),t=Object.keys(r).filter((function(e){return r[e]})),e.next=4,A();case 4:return e.next=6,C(t);case 6:return y(!1),a(null),e.abrupt("return",{dismissOnCTAClick:!1});case 9:case"end":return e.stop()}}),e)}))),[r,A,C]);Object(d.useEffect)((function(){if(void 0!==S&&null===r){var e={};S.forEach((function(t){e[t]=!0})),a(e)}}),[r,S]);var M=Object.keys(k||{});if(void 0===k||0===M.length)return null;var R=null,B=null,I=null,P=!0;return N?(B=e.createElement(m.ProgressBar,null),P=!1):0===S.length?1===M.length?R=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),k[M[0]].name):(R=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),B=e.createElement("ul",{className:"mdc-list mdc-list--non-interactive"},M.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},k[t].name))})))):1===S.length?(R=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[S[0]].name),B=e.createElement(d.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(w).length>0&&e.createElement(E.a,{recoveryErrors:w})),I=D):(R=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),B=e.createElement(d.Fragment,null,S.map((function(t){return e.createElement("div",{key:t},e.createElement(m.Checkbox,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return T(t)},value:t,disabled:_},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(w).length>0&&e.createElement(E.a,{recoveryErrors:w})),I=D),e.createElement(b.b,{id:"module-recovery-alert",title:Object(g.__)("Dashboard data for some services has been interrupted","google-site-kit"),onCTAClick:I,ctaLabel:I?Object(g.__)("Recover","google-site-kit"):null,ctaLink:I?"#":null,description:R,learnMoreURL:j,learnMoreLabel:Object(g.__)("Learn more","google-site-kit"),isDismissible:P,dismiss:Object(g.__)("Remind me later","google-site-kit"),dismissExpires:v.a},B)}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(2),a=n(3),c=n(19),o=n(29),l=n(1088),s=n(65);t.a=function AdSenseAlerts(){var t=Object(a.useSelect)((function(e){return e(c.a).isModuleConnected("adsense")})),n=Object(a.useSelect)((function(e){return e(o.m).getAccountID()})),u=Object(a.useSelect)((function(e){return e(o.m).getNotifications()}));return t&&n&&void 0!==u?e.createElement(r.Fragment,null,u.map((function(t){var n=t.id,r=t.title,a=t.description,c=t.format,o=t.ctaURL,u=t.ctaLabel,d=t.ctaTarget,g=t.severity,f=t.isDismissable;return e.createElement(s.b,{className:"googlesitekit-adsense-alert",key:n,id:n,title:r||"",description:a,WinImageSVG:l.a,format:c||"small",ctaLink:o,ctaLabel:u,ctaTarget:d,type:g,dismiss:Object(i.__)("OK, Got it!","google-site-kit"),isDismissible:f||!0,logo:!0,module:"adsense",moduleName:Object(i._x)("AdSense","Service name","google-site-kit"),dismissExpires:0,showOnce:!1})}))):null}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),c=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),o=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),g=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,c,o,l,s,u,d,g,f)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(2),u=n(0),d=n(10),g=n(3),f=n(14),m=n(8),p=n(193),h=n(6),v=n(41),b=n(116),E=n(65),_=n(626);t.a=function EnableAutoUpdateBannerNotification(){var t=Object(g.useSelect)((function(e){return e(h.a).hasCapability(h.N)})),n=Object(g.useSelect)((function(e){return e(h.a).isItemDismissed(_.b)})),r=Object(g.useSelect)((function(e){return e(f.c).hasChangePluginAutoUpdatesCapacity()})),a=Object(g.useSelect)((function(e){return e(f.c).getSiteKitAutoUpdatesEnabled()})),o=Object(g.useSelect)((function(e){return e(f.c).isDoingEnableAutoUpdate()})),O=Object(g.useSelect)((function(e){return e(f.c).getErrorForAction("enableAutoUpdate",[])})),y=Object(g.useDispatch)(f.c).enableAutoUpdate,k=Object(g.useDispatch)(h.a).dismissItem,j=Object(p.a)("notification"),S=l()(j,1)[0],w=Object(u.useState)(!0),x=l()(w,2),C=x[0],A=x[1],N=Object(u.useState)(void 0),T=l()(N,2),D=T[0],M=T[1];Object(u.useEffect)((function(){void 0===D&&void 0!==a&&M(a)}),[D,a]);var R=Object(u.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:case"end":return e.stop()}}),e)}))),[y]);Object(u.useEffect)((function(){!1===D&&!0===a&&M(!0)}),[D,a]);var B=Object(u.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return e.next=3,Object(v.f)(_.a,!0,{ttl:10*m.e});case 3:A(t),e.next=11;break;case 6:return e.next=8,Object(v.d)(_.a);case 8:n=e.sent,r=n.value,A(!!r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[A]);return Object(u.useEffect)((function(){t&&r&&!a&&B("authentication_success"===S)}),[S,t,r,B,a]),!1!==n||!t||!r||a&&!D||C?null:e.createElement(E.b,{id:_.c,title:D?Object(s.__)("Thanks for enabling auto-updates","google-site-kit"):Object(s.__)("Keep Site Kit up-to-date","google-site-kit"),description:D?Object(s.__)("Auto-updates have been enabled. Your version of Site Kit will automatically be updated when new versions are available.","google-site-kit"):Object(s.__)("Turn on auto-updates so you always have the latest version of Site Kit. We constantly introduce new features to help you get the insights you need to be successful on the web.","google-site-kit"),ctaComponent:D?void 0:e.createElement(u.Fragment,null,O&&e.createElement("div",null,e.createElement(b.a,{error:O,storeName:f.c})),e.createElement(d.SpinnerButton,{onClick:R,isSaving:o},Object(s.__)("Enable auto-updates","google-site-kit"))),dismiss:Object(s.__)("Dismiss","google-site-kit"),isDismissible:!0,dismissExpires:0,onDismiss:function(){k(_.b)}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleTagIDMismatchNotification}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(2),l=n(0),s=n(3),u=n(9),d=n(61),g=n(10),f=n(65),m=n(19),p=n(17),h=n(1091);function GoogleTagIDMismatchNotification(){var t=Object(s.useSelect)((function(e){return e(u.p).getSettings()})),n=Object(s.useSelect)((function(e){return(null==t?void 0:t.googleTagAccountID)&&(null==t?void 0:t.googleTagContainerID)&&e(u.p).getGoogleTagContainerDestinations(t.googleTagAccountID,t.googleTagContainerID)})),r=Object(s.useSelect)((function(e){return(null==t?void 0:t.propertyID)&&e(u.p).getProperty(t.propertyID)})),a=Object(s.useSelect)((function(e){if(!Array.isArray(n))return null;var t=n.map((function(e){return e.destinationId})).filter(d.d);return 0===t.length?null:e(u.p).getAnalyticsConfigByMeasurementIDs(t)})),v=Object(s.useSelect)((function(e){return a&&a.propertyID&&e(u.p).getProperty(null==a?void 0:a.propertyID)})),b=Object(s.useSelect)((function(e){var n,r=(null==t?void 0:t.measurementID)&&(null===(n=e(u.p).getGoogleTagContainer(null==t?void 0:t.measurementID))||void 0===n?void 0:n.tagIds);if(Array.isArray(r))return Object(h.a)(r,t.measurementID)})),E=Object(s.useSelect)((function(e){return e(m.a).isDoingSubmitChanges("analytics-4")})),_=Object(s.useDispatch)(u.p),O=_.setPropertyID,y=_.setWebDataStreamID,k=_.setMeasurementID,j=_.updateSettingsForMeasurementID,S=_.submitChanges,w=_.setHasMismatchedGoogleTagID,x=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(null==a?void 0:a.propertyID),y(null==a?void 0:a.webDataStreamID),k(null==a?void 0:a.measurementID),e.next=5,S();case 5:w(!1);case 6:case"end":return e.stop()}}),e)}))),[O,y,k,null==a?void 0:a.propertyID,null==a?void 0:a.webDataStreamID,null==a?void 0:a.measurementID,S,w]),C=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j(null==t?void 0:t.measurementID);case 2:return e.next=4,S();case 4:w(!1);case 5:case"end":return e.stop()}}),e)}))),[j,null==t?void 0:t.measurementID,S,w]);return void 0===n||void 0===v||void 0===b||void 0===r?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{size:12},e.createElement(g.ProgressBar,null))))):v?e.createElement(f.b,{id:"google-tag-id-mismatch",title:Object(o.__)("Update Site Kit's Analytics configuration to continue seeing Analytics data on the dashboard","google-site-kit"),description:Object(o.sprintf)( /* translators: 1: Currently GA4 property name. 2: Current GA4 property ID. 3: Newly linked GA4 property name. 4: Newly linked GA4 property ID. */ Object(o.__)('The Google Tag on your site is no longer associated with your current Google Analytics property "%1$s (%2$s)". It is now recording metrics to another Google Analytics property "%3$s (%4$s)". If you want to continue seeing Analytics data in the Site Kit dashboard, we suggest you update Site Kit’s Google Analytics configuration to show data for the property used in your Google Tag.',"google-site-kit"),r.displayName,r._id,v.displayName,v._id),ctaComponent:e.createElement(l.Fragment,null,e.createElement(g.SpinnerButton,{onClick:x,isSaving:E},Object(o.__)("Use new property","google-site-kit")),e.createElement(g.Button,{tertiary:!0,onClick:C},Object(o.__)("Keep existing property","google-site-kit"))),isDismissible:!1}):b?e.createElement(f.b,{id:"google-tag-id-mismatch",title:Object(o.__)("Your Google tag configuration has changed","google-site-kit"),description:Object(o.sprintf)( /* translators: 1: Currently set Google Tag ID. 2: Newly linked Google Tag ID. 3: Currently GA4 property name. 4: Current GA4 property ID. */ Object(o.__)('The Google tag for your Google Analytics configuration has changed from %1$s to %2$s. To keep using your current Google Analytics property "%3$s (%4$s)", you need to configure Site Kit to place the new Google tag %2$s instead.',"google-site-kit"),t.googleTagID,b,r.displayName,r._id),ctaLabel:Object(o.sprintf)( /* translators: %s: Newly linked Google Tag ID. */ Object(o.__)("Update Google tag to %s","google-site-kit"),b),ctaLink:C?"#":null,onCTAClick:C,isDismissible:!1}):void 0}}).call(this,n(4))},function(e,t,n){"use strict";function r(e,t){if(1===e.length)return e[0];var n=e.find((function(e){return"GT-"===e.substring(0,3)}));if(n)return n;if(e.includes(t))return t;var r=e.find((function(e){return"G-"===e.substring(0,2)}));return r||e[0]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNotAvailableNotification}));var r=n(2),i=n(10),a=n(3),c=n(65),o=n(9),l=n(14),s=n(8),u=n(17);function WebDataStreamNotAvailableNotification(){var t=Object(a.useSelect)((function(e){return e(o.p).isWebDataStreamAvailable()})),n=Object(a.useSelect)((function(e){return e(o.p).getMeasurementID()})),d=Object(a.useSelect)((function(e){return e(l.c).getAdminURL("googlesitekit-settings")}));return t?null:void 0===n?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement(i.ProgressBar,null))))):e.createElement(c.b,{id:"web-data-stream-not-available",title:Object(r.__)("Your Analytics configuration has changed","google-site-kit"),description:Object(r.sprintf)( /* translators: 1: Google Analytics Measurement ID. */ Object(r.__)("The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics.","google-site-kit"),n),ctaLink:"".concat(d,"#connected-services/analytics-4/edit"),ctaLabel:Object(r.__)("Update Analytics settings","google-site-kit"),dismiss:Object(r.__)("Maybe later","google-site-kit"),dismissExpires:55*s.e})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AdBlockingRecoverySetupSuccessBannerNotification}));var i=n(0),a=n(38),c=n(2),o=n(1157),l=n(3),s=n(1094),u=n(18),d=n(29),g=n(8),f=n(20),m=n(65),p=n(14),h=n(6);function AdBlockingRecoverySetupSuccessBannerNotification(){var t=Object(u.a)(),n=Object(l.useDispatch)(h.a).triggerSurvey,v=Object(l.useSelect)((function(e){return e(p.c).isUsingProxy()})),b=Object(l.useSelect)((function(e){return e(d.m).getAdBlockingRecoverySetupStatus()})),E=Object(l.useSelect)((function(e){return e(d.m).getAccountID()})),_=Object(l.useSelect)((function(e){return e(d.m).getServiceURL({path:"/".concat(E,"/privacymessaging/ad_blocking")})})),O=Object(i.useCallback)((function(){Object(g.J)("".concat(t,"_adsense-abr-success-notification"),"view_notification"),v&&n("abr_setup_completed",{ttl:g.a})}),[n,v,t]);return b!==d.k.SETUP_CONFIRMED?null:r.createElement(m.b,{id:d.d,className:"googlesitekit-ad-blocking-recovery-notification",title:Object(c.__)("You successfully enabled the ad blocking recovery message","google-site-kit"),description:r.createElement("p",null,Object(a.a)(Object(c.__)("Make sure to also create the message in <a>AdSense</a>, otherwise this feature won’t work","google-site-kit"),{a:r.createElement(f.a,{href:_,external:!0,hideExternalIndicator:!0})})),dismiss:Object(c.__)("OK, Got it!","google-site-kit"),onDismiss:function(){Object(g.J)("".concat(t,"_adsense-abr-success-notification"),"confirm_notification");var n=Object(o.a)(e.location.href,"notification");e.history.replaceState(null,"",n)},isDismissible:!0,onView:O,type:"win-success",WinImageSVG:function WinImageSVG(){return r.createElement(s.a,null)},format:"small"})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.9 14.73a46.926 46.926 0 014.92-3.892C34.333-.533 47.975-.514 66.862 1.562c12.769 1.402 23.849 8.053 37.279 7.405 13.43-.648 31.996-4.651 46.813-3.786 16.868.985 21.156 2.71 36.153 9.55 13.879 6.33 26.481 17.452 32.814 32.16 10.855 25.211-8.5 70.586-34.456 72.726-18.808 1.551-34.33-16.736-53.314-12.501-11.694 2.609-18.63 13.554-27.652 20.777-10.527 8.428-27.56 7.898-39.886 3.401-11.746-4.286-20.373-12.772-24.209-25.282-2.92-9.526-2.627-19.07-9.64-26.532C20.869 68.95 5.394 66.512.732 46.89-2.218 34.47 4.13 22.687 12.9 14.73z",fill:"#F3F5F7"}),c=r.createElement("g",{filter:"url(#ad-blocking-recovery-success_svg__filter0_d_766_3674)"},r.createElement("path",{d:"M48.967 34.532a9.359 9.359 0 019.358-9.36h107.2a9.359 9.359 0 019.359 9.36v70.648c0 5.168-4.19 9.358-9.359 9.358h-107.2a9.359 9.359 0 01-9.358-9.358V34.531z",fill:"#fff"}),r.createElement("path",{d:"M49.392 34.532c0-4.934 4-8.934 8.933-8.934h107.2c4.934 0 8.933 4 8.933 8.934v70.648a8.933 8.933 0 01-8.933 8.933h-107.2c-4.933 0-8.933-4-8.933-8.933V34.531z",stroke:"#CBD0D3",strokeWidth:.851})),o=r.createElement("rect",{x:70.447,y:59.985,width:82.216,height:4.444,rx:2.222,fill:"#EBEEF0"}),l=r.createElement("rect",{x:89.705,y:85.169,width:45.182,height:19.258,rx:9.629,fill:"#77AD8C"}),s=r.createElement("circle",{cx:111.926,cy:42.209,r:8.148,fill:"#EBEEF0"}),u=r.createElement("path",{d:"M106.74 94.545l4.257 4.257 8.078-8.078",stroke:"#fff",strokeWidth:2.552}),d=r.createElement("rect",{x:68.966,y:70.355,width:83.698,height:4.444,rx:2.222,fill:"#EBEEF0"}),g=r.createElement("defs",null,r.createElement("filter",{id:"ad-blocking-recovery-success_svg__filter0_d_766_3674",x:48.967,y:25.173,width:129.32,height:93.62,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.403,dy:4.254}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_766_3674"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_766_3674",result:"shape"})));t.a=function SvgAdBlockingRecoverySuccess(e){return r.createElement("svg",i({viewBox:"0 0 223 135",fill:"none"},e),a,c,o,l,s,u,d,g)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurveyPortal}));var r=n(3),i=n(14),a=n(6),c=n(1096),o=n(76);function CurrentSurveyPortal(){return Object(r.useSelect)((function(e){return e(i.c).isUsingProxy()&&!1===e(a.a).areSurveysOnCooldown()?e(a.a).getCurrentSurvey():null}))?e.createElement(o.a,{slug:"survey"},e.createElement(c.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurvey}));var r=n(21),i=n.n(r),a=n(27),c=n.n(a),o=n(7),l=n.n(o),s=n(15),u=n.n(s),d=n(91),g=n(574),f=n(0),m=n(2),p=n(3),h=n(28),v=n(6),b=n(1097),E=n(1098),_=n(1105),O=n(1106),y=n(1107),k=n(1109);function j(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=["multi_select","open_text","rating","single_select"];function CurrentSurvey(){var t=Object(f.useState)(!1),n=u()(t,2),r=n[0],a=n[1],o=Object(f.useState)(!1),s=u()(o,2),S=s[0],w=s[1],A=Object(f.useState)(!1),N=u()(A,2),T=N[0],D=N[1],M=Object(f.useState)(!1),R=u()(M,2),B=R[0],I=R[1],P=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveyCompletions()})),F=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveyQuestions()})),L=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveySession()})),z=Object(p.useSelect)((function(e){return e(v.a).isTrackingEnabled()})),V=L?"survey-".concat(L.session_id):null,W=Object(p.useSelect)((function(e){return e(h.a).getValue(V,"hideSurvey")})),G=Object(p.useSelect)((function(e){return e(h.a).getValue(V,"answers")||[]})),U=Object(p.useDispatch)(h.a).setValues,H=Object(p.useDispatch)(v.a).sendSurveyEvent;Object(f.useEffect)((function(){(null==F?void 0:F.length)&&!r&&(a(!0),H("survey_shown"))}),[F,r,H]);var q,K=G.reduce((function(e,t){var n=t.question_ordinal,r=t.answer;return x(x({},e),{},l()({},n,r.answer.answer_ordinal||r.answer))}),{}),J=Math.max.apply(Math,[0].concat(c()(G.map((function(e){return e.question_ordinal})))))+1,Y=null==F?void 0:F.find((function(e){var t=e.question_ordinal,n=e.trigger_condition;if(t<J)return!1;if(Array.isArray(n)&&n.length>0){var r,i=j(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,c=K[a.question_ordinal],o=a.answer_ordinal||[];if(!c||!o.includes(c))return J++,!1}}catch(e){i.e(e)}finally{i.f()}}return t===J})),X=Object(f.useCallback)((function(e){B||(I(!0),H("question_answered",{question_ordinal:null==Y?void 0:Y.question_ordinal,answer:e}),setTimeout((function(){U(V,{answers:[].concat(c()(G),[{question_ordinal:null==Y?void 0:Y.question_ordinal,answer:e}])}),I(!1)}),300))}),[G,Y,V,H,U,B]);(null==F?void 0:F.length)&&J>F.length&&((q=(P||[]).find((function(e){var t,n=j(e.trigger_condition||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.answer_ordinal.includes(K[r.question_ordinal]))return q=e,!0}}catch(e){n.e(e)}finally{n.f()}return!1})))||(q=P[0]));var $=Object(f.useCallback)((function(){var e;H("follow_up_link_clicked",{completion_ordinal:null===(e=q)||void 0===e?void 0:e.completion_ordinal}),H("survey_closed"),U(V,{hideSurvey:!0})}),[V,H,U,q]),Q=Object(f.useCallback)((function(){H("survey_closed"),D(!1)}),[H]),Z=Object(f.useCallback)((function(){U(V,{hideSurvey:!0})}),[V,U]);if(Object(f.useEffect)((function(){var e;q&&!S&&(w(!0),H("completion_shown",{completion_ordinal:null===(e=q)||void 0===e?void 0:e.completion_ordinal}))}),[S,H,q]),Object(d.a)((function(){D(!0)})),W||!F||!P||void 0===z)return null;if(q)return e.createElement(g.a,{direction:"up",in:T,onExited:Z},e.createElement("div",{className:"googlesitekit-survey"},e.createElement(b.a,{dismissSurvey:Q,ctaOnClick:$,ctaText:q.follow_up_text,ctaURL:q.follow_up_url,title:q.completion_title},q.completion_text)));if(!C.includes(null==Y?void 0:Y.question_type))return null;var ee={key:Y.question_text,answerQuestion:X,dismissSurvey:Q,question:Y.question_text,submitButtonText:(null==F?void 0:F.length)===J?Object(m.__)("Submit","google-site-kit"):Object(m.__)("Next","google-site-kit")};return e.createElement(g.a,{direction:"up",in:T,onExited:Z},e.createElement("div",{className:"googlesitekit-survey"},"multi_select"===Y.question_type&&e.createElement(O.a,i()({},ee,{choices:Y.question.answer_choice,minChoices:Y.question.min_choices,maxChoices:Y.question.max_choices})),"open_text"===Y.question_type&&e.createElement(_.a,i()({},ee,{subtitle:Y.question.subtitle,placeholder:Y.question.placeholder})),"rating"===Y.question_type&&e.createElement(E.a,i()({},ee,{choices:Y.question.answer_choice})),"single_select"===Y.question_type&&e.createElement(y.a,i()({},ee,{choices:Y.question.answer_choice})),!1===z&&1===(null==Y?void 0:Y.question_ordinal)&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(k.a,null))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(10),c=n(512);function SurveyCompletion(t){var n=t.title,r=t.children,i=t.ctaText,o=t.ctaURL,l=t.ctaOnClick,s=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__completion"},e.createElement(c.a,{title:n,dismissSurvey:s}),e.createElement("div",{className:"googlesitekit-survey__body"},r),o&&i&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(a.Button,{href:o,onClick:l,target:"_blank"},i)))}SurveyCompletion.propTypes={title:i.a.string.isRequired,children:i.a.node,ctaText:i.a.string,ctaURL:i.a.string,ctaOnClick:i.a.func,dismissSurvey:i.a.func.isRequired},SurveyCompletion.defaultProps={title:"",children:null,ctaText:"",ctaURL:"",ctaOnClick:null},t.a=SurveyCompletion}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(512),c=n(1099);function SurveyQuestionRating(t){var n=t.question,r=t.choices,i=t.answerQuestion,o=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__question-rating"},e.createElement(a.a,{title:n,dismissSurvey:o}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement("div",{className:"googlesitekit-survey__choices"},r.map((function(t,n){return e.createElement(c.a,{key:n,choice:t,answerQuestion:i})})))))}SurveyQuestionRating.propTypes={question:i.a.string.isRequired,choices:i.a.arrayOf(i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string})).isRequired,answerQuestion:i.a.func.isRequired,dismissSurvey:i.a.func.isRequired},t.a=SurveyQuestionRating}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(10),o=n(1100),l=n(1101),s=n(1102),u=n(1103),d=n(1104),g={1:o.a,2:l.a,3:s.a,4:u.a,5:d.a};function SurveyQuestionRatingChoice(t){var n=t.choice,r=t.answerQuestion,i=Object(a.useCallback)((function(){"function"==typeof r&&r({answer:{answer_ordinal:n.answer_ordinal}})}),[r,n]),o=g[n.answer_ordinal];return o?e.createElement("div",{className:"googlesitekit-survey__choice"},e.createElement(c.Button,{icon:e.createElement(o,{width:30,height:30}),"aria-label":n.text,onClick:i}),e.createElement("p",null,n.text)):null}SurveyQuestionRatingChoice.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string}).isRequired},t.a=SurveyQuestionRatingChoice}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zm-2.415 9c1.2-3.06 4.17-5.25 7.665-5.25s6.465 2.19 7.665 5.25H7.335z",fill:"currentColor"});t.a=function SvgSurveyUnhappy(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm-13.725 9c1.245-3.495 4.56-6 8.49-6 3.915 0 7.23 2.505 8.475 6h-3.315c-1.035-1.785-2.955-3-5.16-3-2.22 0-4.125 1.215-5.175 3H6.525zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyDissatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zM9.75 9A2.247 2.247 0 0112 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9zm10.5 0A2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25 2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9zM10.5 22.5v-3h9v3h-9zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyNeutral(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm3.225 4.5c-1.245 3.495-4.56 6-8.49 6-3.915 0-7.23-2.505-8.475-6h3.315c1.035 1.785 2.955 3 5.16 3 2.22 0 4.125-1.215 5.175-3h3.315zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveySatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zM22.665 18c-1.2 3.06-4.17 5.25-7.665 5.25S8.535 21.06 7.335 18h15.33z",fill:"currentColor"});t.a=function SvgSurveyDelighted(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(200),s=n(10),u=n(512),d=n(105),g=n(610);function SurveyQuestionOpenText(t){var n=t.question,r=t.answerQuestion,a=t.placeholder,c=t.subtitle,f=t.dismissSurvey,m=t.submitButtonText,p=Object(o.useState)(""),h=i()(p,2),v=h[0],b=h[1],E=Object(o.useCallback)((function(e){b(e.target.value.slice(0,g.a))}),[b]),_=Object(l.a)(SurveyQuestionOpenText,"SurveyQuestionOpenText");return e.createElement("div",{className:"googlesitekit-survey__open-text"},e.createElement(u.a,{title:n,dismissSurvey:f}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement(d.a,null,e.createElement("label",{htmlFor:_},a)),e.createElement(s.TextField,{name:"survey-opentext-".concat(_),helperText:c,onChange:E,label:a,textarea:!0,inputType:"textarea",id:_,value:v})),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(s.Button,{disabled:0===v.length,onClick:function(){r({answer:v})}},m)))}SurveyQuestionOpenText.propTypes={question:c.a.string.isRequired,subtitle:c.a.string.isRequired,placeholder:c.a.string.isRequired,answerQuestion:c.a.func.isRequired,dismissSurvey:c.a.func.isRequired,submitButtonText:c.a.string.isRequired},t.a=SurveyQuestionOpenText}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(13),g=n(200),f=n(0),m=n(2),p=n(10),h=n(512),v=n(105),b=n(610);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SurveyQuestionMultiSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,o=t.dismissSurvey,s=t.minChoices,u=void 0===s?1:s,E=t.maxChoices,O=t.submitButtonText,y=Object(g.a)(SurveyQuestionMultiSelect,"SurveyQuestionMultiSelect"),k=r.map((function(e){return _({answer_ordinal:e.answer_ordinal,selected:!1},e.write_in?{answer_text:""}:{})})),j=Object(d.keyBy)(k,"answer_ordinal"),S=Object(f.useState)(j),w=i()(S,2),x=w[0],C=w[1],A=r.filter((function(e){var t=e.write_in,n=e.answer_ordinal;if(t){var r=x[n],i=r.selected,a=r.answer_text;if(i&&0===a.length)return!0}return!1})).length>0,N=Object.values(x).filter((function(e){return e.selected})).length,T=E&&N===E,D=A||N<u;return e.createElement("div",{className:"googlesitekit-survey__multi-select"},e.createElement(h.a,{title:n,dismissSurvey:o}),e.createElement("div",{className:"googlesitekit-survey__body"},r.map((function(t){var n=t.answer_ordinal,r=t.text,i=t.write_in,a=x[n],o="".concat(y,"-answer-").concat(n);return e.createElement("div",{key:o,className:l()("googlesitekit-survey__multi-select__choice",{"googlesitekit-survey__multi-select__choice--disabled":T&&!a.selected})},e.createElement(p.Checkbox,{checked:a.selected,disabled:T&&!a.selected,onChange:function(){return function(e){var t=_(_({},x),{},c()({},e,_(_({},x[e]),{},{selected:!x[e].selected})));C(t)}(n)},value:"".concat(n),id:o,name:o},r),i&&e.createElement(f.Fragment,null,e.createElement(v.a,null,e.createElement("label",{htmlFor:"".concat(o,"-write-in")},Object(m.sprintf)( /* translators: %s: Option name */ Object(m.__)("Text input for option %s","google-site-kit"),r))),e.createElement(p.TextField,{id:"".concat(o,"-write-in"),onChange:function(e){return function(e,t){var n,r=_(_({},x),{},c()({},t,_(_({},x[t]),{},{answer_text:null===(n=e.target.value)||void 0===n?void 0:n.slice(0,b.a)})));C(r)}(e,n)},value:a.answer_text,disabled:!a.selected})))}))),e.createElement("div",{className:"googlesitekit-survey__footer"},u>1&&e.createElement(p.HelperText,{persistent:!0},Object(m.sprintf)( /* translators: %s: the number of answers. */ Object(m.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(p.Button,{onClick:function(){var e=Object.values(x).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));a({answer:e})},disabled:D},O)))}SurveyQuestionMultiSelect.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=SurveyQuestionMultiSelect}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(10),d=n(512),g=n(1108);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,i=t.answerQuestion,a=t.dismissSurvey,o=t.submitButtonText,l=Object(s.useState)(""),f=c()(l,2),p=f[0],h=f[1],v=Object(s.useState)(""),b=c()(v,2),E=b[0],_=b[1],O=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),y=!!p&&O.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,k=""===p||y&&""===E;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:a}),e.createElement("div",{className:"googlesitekit-survey__body"},O.map((function(t,n){return e.createElement(g.a,{key:n,value:p,setValue:h,writeIn:E,setWriteIn:_,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.Button,{onClick:function(){var e=y?{answer_text:E}:{};i({answer:m({answer_ordinal:Number(p)},e)})},disabled:k},o)))}SurveyQuestionSingleSelect.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=SurveyQuestionSingleSelect}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=n(105),s=n(610);function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,i=t.writeIn,u=t.setWriteIn,d=t.choice,g=d.answer_ordinal,f=d.text,m=d.write_in,p=n===g,h="googlesitekit-survey__multi-select-".concat(g,"-").concat(f);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(o.Radio,{id:f.replace(/ /g,"-"),value:g,checked:p,name:f,onClick:function(){return r(g)}},f),m&&e.createElement(a.Fragment,null,e.createElement(l.a,null,e.createElement("label",{htmlFor:h},Object(c.sprintf)( /* translators: %s: Option name */ Object(c.__)("Text input for option %s","google-site-kit"),f))),e.createElement(o.TextField,{id:h,onChange:function(e){return u(e.target.value.slice(0,s.a))},value:i,disabled:!p})))}SurveyQuestionSingleSelectChoice.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=SurveyQuestionSingleSelectChoice}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(2),i=n(38),a=n(3),c=n(14),o=n(20);function SurveyTerms(){var t=Object(a.useSelect)((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=Object(a.useSelect)((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(o.a,{href:t,external:!0,hideExternalIndicator:!0,noFlex:!0}),terms:e.createElement(o.a,{href:n,external:!0,hideExternalIndicator:!0,noFlex:!0})}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricsSelectionPanel}));var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(12),l=n.n(o),s=n(0),u=n(3),d=n(28),g=n(24),f=n(6),m=n(30),p=n(1111),h=n(1113),v=n(1114),b=n(1115),E=n(115),_=n(18),O=n(8),y=n(210);function MetricsSelectionPanel(){var t=Object(_.a)(),n=Object(y.a)("conversionReporting"),r=Object(u.useSelect)((function(e){return e(g.b).getValue(m.k)})),a=Object(u.useSelect)((function(e){var t=e(f.a).getKeyMetrics();if(!Array.isArray(t))return[];var n=e(f.a).isKeyMetricAvailable;return t.filter(n)})),o=Object(u.useDispatch)(d.a).setValues,k=Object(u.useDispatch)(g.b).setValue,j=Object(s.useCallback)((function(){o(m.j,c()({},m.i,a)),Object(O.J)("".concat(t,"_kmw-sidebar"),"metrics_sidebar_view")}),[a,o,t]),S=Object(s.useCallback)((function(){r&&k(m.k,!1)}),[k,r]),w=Object(s.useState)(!1),x=i()(w,2),C=x[0],A=x[1];return e.createElement(E.e,{isOpen:r||C,onOpen:j,closePanel:S,className:l()("googlesitekit-km-selection-panel",{"googlesitekit-acr-km-selection-panel":n})},e.createElement(h.a,{closePanel:S}),e.createElement(b.a,{savedMetrics:a}),e.createElement(p.a,null),e.createElement(v.a,{isOpen:r,closePanel:S,savedMetrics:a,onNavigationToOAuthURL:function(){A(!0)}}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(2),a=n(817),c=n(0),o=n(3),l=n(28),s=n(6),u=n(9),d=n(30),g=n(172),f=n(1112),m=n(54);t.a=Object(m.a)({moduleName:"analytics-4"})((function CustomDimensionsNotice(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(d.j,d.i)})),n=null==t?void 0:t.flatMap((function(e){var t=g.a[e];return(null==t?void 0:t.requiredCustomDimensions)||[]})),m=Object(o.useSelect)((function(e){return!!(null==n?void 0:n.length)&&!e(u.p).hasCustomDimensions(n)})),p=Object(o.useSelect)((function(e){return e(s.a).hasScope(u.g)}));Object(o.useSelect)((function(e){return e(u.p).getAvailableCustomDimensions()}));var h=Object(a.a)(m),v=Object(c.useRef)();if(Object(c.useEffect)((function(){if(m&&!1===h){var t=e.document.activeElement;t&&t.closest(".googlesitekit-selection-panel-item")&&Object(f.a)(v.current,t)&&t.scrollIntoView()}}),[m,h]),!1===m)return null;var b=p?Object(i.__)("The metrics you selected require more data tracking. We will update your Analytics property after saving your selection.","google-site-kit"):Object(i.__)("The metrics you selected require more data tracking. You will be directed to update your Analytics property after saving your selection.","google-site-kit");return r.createElement("div",{className:"googlesitekit-selection-panel-notice",ref:v},r.createElement("p",null,b))}))}).call(this,n(26),n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return!(n.bottom<r.top||r.bottom<n.top||n.right<r.left||r.right<n.left)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(30),f=n(20),m=n(115),p=n(35),h=n(210);function Header(t){var n=t.closePanel,r=Object(p.a)(),i=Object(h.a)("conversionReporting"),v=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),b=Object(l.useSelect)((function(e){return e(d.a).isSavingKeyMetricsSettings()})),E=Object(l.useDispatch)(s.a).navigateTo,_=Object(a.useCallback)((function(){return E("".concat(v,"#/admin-settings"))}),[E,v]);return e.createElement(m.b,{title:i?Object(o.sprintf)( /* translators: %d: number of max allowed metrics */ Object(o._n)("Select up to %d metric","Select up to %d metrics",g.n,"google-site-kit"),g.n):Object(o.__)("Select your metrics","google-site-kit"),onCloseClick:n},!r&&e.createElement("p",null,Object(c.a)(Object(o.__)("Edit your personalized goals or deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:_,disabled:b}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Footer}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(7),s=n.n(l),u=n(1),d=n.n(u),g=n(0),f=n(157),m=n(2),p=n(3),h=n(6),v=n(28),b=n(32),E=n(19),_=n(30),O=n(9),y=n(172),k=n(34),j=n(18),S=n(8),w=n(115),x=n(210);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,i=t.isOpen,c=t.closePanel,l=t.savedMetrics,s=t.onNavigationToOAuthURL,u=void 0===s?function(){}:s,d=Object(j.a)(),C=Object(x.a)("conversionReporting"),N=Object(p.useSelect)((function(e){return e(v.a).getValue(_.j,_.i)})),T=Object(p.useSelect)((function(e){return e(h.a).getKeyMetricsSettings()})),D=Object(p.useSelect)((function(e){return e(h.a).isSavingKeyMetricsSettings()})),M="".concat(d,"_kmw-sidebar"),R=null==N?void 0:N.flatMap((function(e){var t=y.a[e];return(null==t?void 0:t.requiredCustomDimensions)||[]})),B=Object(p.useSelect)((function(e){return!!(null==R?void 0:R.length)&&!e(O.p).hasCustomDimensions(R)})),I=Object(p.useSelect)((function(e){return e(h.a).hasScope(O.g)})),P=Object(p.useSelect)((function(e){return e(E.a).isModuleConnected("analytics-4")})),F=Object(p.useSelect)((function(e){return e(h.a).getErrorForAction("saveKeyMetricsSettings",[A(A({},T),{},{widgetSlugs:N})])})),L=Object(f.a)(e.location.href,{notification:"custom_dimensions"}),z=Object(p.useSelect)((function(e){var t=e(h.a).getConnectURL({additionalScopes:[O.g],redirectURL:L});return!!t&&e(b.a).isNavigatingTo(t)})),V=Object(p.useDispatch)(h.a),W=V.saveKeyMetricsSettings,G=V.setPermissionScopeError,U=Object(p.useDispatch)(v.a).setValues,H=Object(g.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,W({widgetSlugs:t});case 2:return n=e.sent,r=n.error,e.abrupt("return",{error:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[W]),q=Object(g.useCallback)((function(){Object(S.J)(M,"metrics_sidebar_save"),P&&B&&(U(O.l,{autoSubmit:!0}),I||(u(),c(),G({code:k.a,message:Object(m.__)("Additional permissions are required to create new Analytics custom dimensions","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:L}})))}),[M,P,B,U,I,u,c,G,L]),K=Object(g.useCallback)((function(){Object(S.J)(M,"metrics_sidebar_cancel")}),[M]),J=(null==N?void 0:N.length)||0,Y=C?_.n:_.m;return J<_.o?n=Object(m.sprintf)( /* translators: 1: Minimum number of metrics that can be selected. 2: Number of selected metrics. */ Object(m.__)("Select at least %1$d metrics (%2$d selected)","google-site-kit"),_.o,J):J>Y&&(n=Object(m.sprintf)( /* translators: 1: Maximum number of metrics that can be selected. 2: Number of selected metrics. */ Object(m.__)("Select up to %1$d metrics (%2$d selected)","google-site-kit"),Y,J)),r.createElement(w.a,{savedItemSlugs:l,selectedItemSlugs:N,saveSettings:H,saveError:F,itemLimitError:n,minSelectedItemCount:_.o,maxSelectedItemCount:Y,isBusy:D||z,onSaveSuccess:q,onCancel:K,isOpen:i,closePanel:c})}Footer.propTypes={isOpen:d.a.bool,closePanel:d.a.func.isRequired,savedMetrics:d.a.array,onNavigationToOAuthURL:d.a.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItems}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(84),u=n(6),d=n(46),g=n(172),f=n(378),m=n(115),p=n(35);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MetricItems(t){var n=t.savedMetrics,r=Object(p.a)(),a=Object(l.useSelect)((function(e){return e(u.a)})).isKeyMetricAvailable,c=Object(l.useSelect)((function(e){return function(t){return g.a[t].displayInSelectionPanel(e,r,t)}})),h=function(e,t){if(!a(t))return e;if("function"==typeof g.a[t].displayInSelectionPanel&&!c(t))return e;var n=g.a[t],r=n.title,o=n.description,l=n.metadata.group;return v(v({},e),{},i()({},t,{title:r,description:o,group:l}))},b=Object(l.useSelect)((function(e){return e(d.a).getWidgets(s.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY)||[]})).filter((function(e){var t=e.slug;return n.includes(t)})).map((function(e){return e.slug})),E=Object.keys(g.a).filter((function(e){return b.includes(e)})).reduce(h,{}),_=Object.keys(g.a).filter((function(e){return!b.includes(e)})).reduce(h,{});return e.createElement(m.d,{availableItemsTitle:Object(o.__)("Additional metrics","google-site-kit"),savedItemSlugs:n,availableSavedItems:E,availableUnsavedItems:_,ItemComponent:f.a})}MetricItems.propTypes={savedMetrics:c.a.array}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e,t){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(335),l=n(137),s=n(41),u=n(235),d=n(22),g=n(1076);Object(o.a)(c()(i.a.mark((function n(){var r,a,c,o,f;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e._googlesitekitLegacyData.admin.resetSession){n.next=3;break}return n.next=3,Object(s.b)();case 3:(r=document.getElementById("js-googlesitekit-main-dashboard"))&&(a=r.dataset,c=a.setupModuleSlug,o=a.viewOnly,f=d.p,c||(f=o?d.o:d.n),Object(l.render)(t.createElement(u.a,{viewContext:f},t.createElement(g.a,{setupModuleSlug:c})),r));case 5:case"end":return n.stop()}}),n)}))))}.call(this,n(26),n(4))}],[[1224,1,0]]]); dist/assets/js/googlesitekit-modules-ads-8294c3788d693c1aa4d1.js 0000604 00000367645 14717744000 0017642 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[17],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(u.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:l()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},114:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(200),s=n(38),u=n(2),l=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,p=t.onOpen,m=void 0===p?null:p,v=t.onClose,b=void 0===v?null:v,h=t.title,y=void 0===h?null:h,O=t.provides,E=t.handleConfirm,_=t.subtitle,k=t.confirmButton,S=void 0===k?null:k,j=t.dependentModules,A=t.danger,w=void 0!==A&&A,C=t.inProgress,N=void 0!==C&&C,R=t.small,T=void 0!==R&&R,D=t.medium,P=void 0!==D&&D,L=t.buttonLink,x=void 0===L?null:L,I=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(I),U=!(!O||!O.length);return e.createElement(l.Dialog,{open:a,onOpen:m,onClose:b,"aria-describedby":U?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":T,"googlesitekit-dialog-md":P})},e.createElement(l.DialogTitle,null,w&&e.createElement(d.a,{width:28,height:28}),y),_?e.createElement("p",{className:"mdc-dialog__lead"},_):[],e.createElement(l.DialogContent,null,U&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(u.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(u.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(l.DialogFooter,null,e.createElement(l.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:N},Object(u.__)("Cancel","google-site-kit")),x?e.createElement(l.Button,{href:x,onClick:E,target:"_blank",danger:w},S):e.createElement(l.SpinnerButton,{onClick:E,danger:w,disabled:N,isSaving:N},S||Object(u.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),u=n(34),l=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,g=t.storeName,f=t.message,p=void 0===f?r.message:f,m=t.noPrefix,v=void 0!==m&&m,b=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),O=Object(a.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!r||Object(u.f)(r))return null;var E=d&&Object(u.d)(r,y);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,b&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(b,{width:"24",height:"24"})),e.createElement(l.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:v}),E&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),u=n(1),l=n.n(u),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,v=t.smSize,b=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,E=t.mdOrder,_=t.lgSize,k=t.lgStart,S=t.lgOrder,j=t.size,A=t.children,w=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},w,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),A)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},1233:function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),a=n(179),o=n.n(a),c=n(382),s=n.n(c),u=n(488),l=n.n(u),d=n(5),g=n.n(d),f=n(16),p=n.n(f),m=n(2),v=n(519),b=n(605),h=n(832),y=(n(718),n(835)),O=(n(597),n(836)),E=n(837),_=n(155),k=n(6),S=n(44),j=n(972),A=n(84),w=n(838),C=n(839),N=n(60),R=n(22),T=n(502),D=n(11),P=n.n(D),L=n(13),x=n(42),I=n.n(x),M=n(59),U=n(183),B=n(14),F=n(534);function W(){return(W=p()(g.a.mark((function e(t){var n,r,i,a,o,c;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,r=t.dispatch,!n(_.c).haveSettingsChanged()){e.next=9;break}return e.next=5,r(_.c).saveSettings();case 5:if(i=e.sent,!(a=i.error)){e.next=9;break}return e.abrupt("return",{error:a});case 9:if(!n(B.c).haveConversionTrackingSettingsChanged()){e.next=17;break}return e.next=13,r(B.c).saveConversionTrackingSettings();case 13:if(o=e.sent,!(c=o.error)){e.next=17;break}return e.abrupt("return",{error:c});case 17:return e.next=19,I.a.invalidateCache("modules","ads");case 19:return e.abrupt("return",{});case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H,q,K,V=o.a.createModuleStore("ads",{ownedSettingsSlugs:["conversionID","paxConversionID","extCustomerID"],storeName:_.c,settingSlugs:["conversionID","ownerID","paxConversionID","extCustomerID"],requiresSetup:!0,submitChanges:function(e){return W.apply(this,arguments)},rollbackChanges:function(e){var t=e.select,n=e.dispatch;t(_.c).haveSettingsChanged()&&(n(_.c).rollbackSettings(),n(B.c).resetConversionTrackingSettings())},validateCanSubmitChanges:function(e){var t=Object(M.e)(e)(_.c),n=t.isDoingSubmitChanges,r=t.haveSettingsChanged,i=t.getConversionID,a=t.getPaxConversionID;P()(!n(),U.a),P()(r(),U.b),P()(Object(F.a)(i())||Object(F.a)(a()),"a valid conversionID is required to submit changes")},validateHaveSettingsChanged:function(e,t,n){var r=t.settings,i=t.savedSettings,a=e(B.c).haveConversionTrackingSettingsChanged();n&&P()(Object(L.isEqual)(Object(L.pick)(r,n),Object(L.pick)(i,n))||!a,U.b),P()(!Object(L.isEqual)(r,i)||a,U.b)}}),Y=n(19),z={selectors:{getAdBlockerWarningMessage:Object(r.createRegistrySelector)((function(e){return function(){var t=e(k.a).isAdBlockerActive();if(void 0!==t)return t?e(Y.a).isModuleConnected("ads")?Object(m.__)("Ad blocker detected; please disable it to get the latest Ads data","google-site-kit"):Object(m.__)("Ad blocker detected; please disable it to set up Ads","google-site-kit"):null}}))}},G=n(974),X=Object(r.combineStores)(V,z,G.a);X.initialState,X.actions,X.controls,X.reducer,X.resolvers,X.selectors;i.a.registerStore(_.c,X),o.a.registerModule("ads",{storeName:_.c,SettingsEditComponent:y.a,SettingsViewComponent:h.a,SetupComponent:Object(S.b)("adsPax")?E.a:O.a,Icon:b.a,features:[Object(m.__)("Tagging necessary for your ads campaigns to work","google-site-kit"),Object(m.__)("Conversion tracking for your ads campaigns","google-site-kit")],checkRequirements:(H=p()(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resolveSelect(k.a).isAdBlockerActive();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:throw n=t.select(_.c).getAdBlockerWarningMessage(),{code:k.c,message:n,data:null};case 7:case"end":return e.stop()}}),e)}))),function(e){return H.apply(this,arguments)})}),q=s.a,Object(S.b)("adsPax")&&q.registerWidget("partnerAdsPAX",{Component:j.a,width:q.WIDGET_WIDTHS.FULL,priority:20,wrapWidget:!1,modules:["ads"]},[A.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY]),(K=l.a).registerNotification("setup-success-notification-ads",{Component:C.a,priority:10,areaSlug:N.b.BANNERS_BELOW_NAV,viewContexts:[R.n,R.o],checkRequirements:function(){var e=Object(v.a)(location.href,"notification"),t=Object(v.a)(location.href,"slug");return"authentication_success"===e&&"ads"===t}}),K.registerNotification("setup-success-notification-pax",{Component:w.a,priority:10,areaSlug:N.b.BANNERS_BELOW_NAV,viewContexts:[R.n,R.o],checkRequirements:function(){var e=Object(v.a)(location.href,"notification");return T.d===e}})},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:l()("mdc-layout-grid__inner",r)},c),a)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,u=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(116),c=n(19),s=n(34),u=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,l=t.storeName,d=Object(a.useSelect)((function(e){return e(l).getErrors()})),g=Object(a.useSelect)((function(e){return e(c.a).getModule(i)})),f=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||f.includes(e.message))&&(f.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(s.e)(t)&&(i=Object(u.a)(i,g)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:l,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,s=n.owner,u=void 0===s?{}:s;if(!a||!c)return e;var l="",d="";return"analytics-4"===a?e.match(/account/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),u&&u.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),u.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(l," ").concat(d)}},151:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},155:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return o}));var r="modules/ads",i="https://www.googleapis.com/auth/adwords",a="https://www.googleapis.com/auth/supportcontent",o=1},158:function(e,t,n){"use strict";var r=n(0),i=n(44),a=Object(r.createContext)(i.a);t.a=a},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),i=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(3),l=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),s=Object(u.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(d.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),u=n.n(s);n.d(t,"b",(function(){return u.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var l=n(104);n.d(t,"a",(function(){return l.a})),n.d(t,"e",(function(){return l.b})),n.d(t,"k",(function(){return l.c}))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(40);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(u.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},u.a.propTypes)}).call(this,n(4))},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return w})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return N}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(7),s=n.n(c),u=n(11),l=n.n(u),d=n(13),g=n(42),f=n.n(g),p=n(3),m=n(59),v=n(78),b=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.a.clearError,_=h.a.receiveError,k="cannot submit changes while submitting changes",S="cannot submit changes if settings have not changed",j=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,a=void 0===i?void 0:i,c=r.storeName,u=void 0===c?void 0:c,g=r.settingSlugs,h=void 0===g?[]:g,y=r.initialSettings,k=void 0===y?void 0:y,S=r.validateHaveSettingsChanged,j=void 0===S?N():S;l()(e,"type is required."),l()(t,"identifier is required."),l()(n,"datapoint is required.");var A=u||"".concat(e,"/").concat(t),w={ownedSettingsSlugs:a,settings:k,savedSettings:void 0},C=Object(b.a)({baseName:"getSettings",controlCallback:function(){return f.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),R=Object(b.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return f.a.set(e,t,n,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(Object(d.isPlainObject)(t),"values is required.")}}),T={},D={setSettings:function(e){return l()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,E("saveSettings",[]);case 5:return n=t.select(A).getSettings(),e.next=8,R.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(a=r.error)){e.next=14;break}return e.next=14,_(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},P={},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==T[n]?T[n](e,{type:n,payload:r}):e}},x={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(A).getSettings()){e.next=7;break}return e.next=7,C.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},I=Object(m.g)(j),M=I.safeSelector,U=I.dangerousSelector,B={haveSettingsChanged:M,__dangerousHaveSettingsChanged:U,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){l()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(d.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(A).getOwnedSettingsSlugs();return e(A).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(v.b)(e),n=Object(v.a)(e);D["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},T["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},B["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(A).getSettings()||{})[e]}}))}));var F=Object(p.combineStores)(p.commonStore,C,R,{initialState:w,actions:D,controls:P,reducer:L,resolvers:x,selectors:B});return O(O({},F),{},{STORE_NAME:A})};function A(e,t){return function(){var n=i()(o.a.mark((function n(r){var i,a,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,a=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,a(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,f.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function w(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function C(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;l()(!i(),k),l()(r(),S)}}function N(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&l()(!Object(d.isEqual)(Object(d.pick)(r,n),Object(d.pick)(i,n)),S),l()(!Object(d.isEqual)(r,i),S)}}},187:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),a=" ";function DisplaySetting(e){return e.value||a}DisplaySetting.propTypes={value:i.a.oneOfType([i.a.string,i.a.bool,i.a.number])},t.b=DisplaySetting},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(2),l=n(3),d=n(120),g=n(60),f=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,s=void 0===c?Object(u.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,m=void 0===p?0:p,v=t.disabled,b=t.onDismiss,h=void 0===b?function(){}:b,y=t.gaTrackingEventArgs,O=Object(d.a)(n),E=Object(l.useDispatch)(g.a).dismissNotification,_=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==h?void 0:h(t);case 2:O.dismiss(null==y?void 0:y.label,null==y?void 0:y.value),E(n,{expiresInSeconds:m});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:_,disabled:v},s)}Dismiss.propTypes={id:s.a.string,primary:s.a.bool,dismissLabel:s.a.string,dismissExpires:s.a.number,disabled:s.a.bool,onDismiss:s.a.func,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(0),s=n(519),u=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(s.a)(r.location.href,t)||n),l=o()(a,2),d=l[0],g=l[1],f=function(e){g(e);var n=Object(u.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(140),g=n(0),f=n(2),p=n(126),m=n(127),v=n(128),b=n(80),h=n(77),y=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,g=void 0!==l&&l,y=t.back,O=void 0!==y&&y,E=t.caps,_=void 0!==E&&E,k=t.children,S=t.className,j=void 0===S?"":S,A=t.danger,w=void 0!==A&&A,C=t.disabled,N=void 0!==C&&C,R=t.external,T=void 0!==R&&R,D=t.hideExternalIndicator,P=void 0!==D&&D,L=t.href,x=void 0===L?"":L,I=t.inverse,M=void 0!==I&&I,U=t.noFlex,B=void 0!==U&&U,F=t.onClick,W=t.small,H=void 0!==W&&W,q=t.standalone,K=void 0!==q&&q,V=t.linkButton,Y=void 0!==V&&V,z=t.to,G=t.leadingIcon,X=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=x||z||!F?z?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":N?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=G,te=X;return O&&(ee=e.createElement(v.a,{width:14,height:14})),T&&!P&&(te=e.createElement(b.a,{width:14,height:14})),g&&!M&&(te=e.createElement(p.a,{width:14,height:14})),g&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Z,i()({"aria-label":Q,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":H,"googlesitekit-cta-link--caps":_,"googlesitekit-cta-link--danger":w,"googlesitekit-cta-link--disabled":N,"googlesitekit-cta-link--standalone":K,"googlesitekit-cta-link--link-button":Y,"googlesitekit-cta-link--no-flex":!!B}),disabled:N,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||N?void 0:x,onClick:F,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:z},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},209:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(151),s=n(71),u=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,l=t.additionalCTA,d=t.type,g=void 0===d?"success":d,f=t.icon;return e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===g,"googlesitekit-subtle-notification--warning":"warning"===g})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},f,"success"===g&&!f&&e.createElement(c.a,{width:24,height:24}),"warning"===g&&!f&&e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,l))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(158),a=n(44),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},212:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},219:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var r=n(1),i=n.n(r),a=n(3),o=n(14),c=n(19),s=n(374);function AdBlockerWarning(t){var n=t.moduleSlug,r=t.className,i=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),u=Object(a.useSelect)((function(e){var t;return null===(t=e(i))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),l=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(s.a,{className:r,getHelpLink:l,warningMessage:u})}AdBlockerWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",u="splash",l="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",v="moduleSetup",b="key-metrics",h="traffic",y="content",O="speed",E="monetization",_=[r,i,a,o,c,u,g,v],k=[a,o,d,m]},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},256:function(e,t,n){"use strict";(function(e){var r=n(53),i=n.n(r),a=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=s,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(u),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,n(26))},257:function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,i){if(n)return i(e);setTimeout((function(){n=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===u&&t[l]){var d=Promise.resolve(t[l].body);return delete t[l],d}if("OPTIONS"===u&&t[u]&&t[u][l]){var g=Promise.resolve(t[u][l]);return delete t[u][l],g}}return i(e)}}},265:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(120),l=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,s=t.isCTALinkExternal,g=void 0!==s&&s,f=t.gaTrackingEventArgs,p=Object(u.a)(n),m=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:p.confirm(null==f?void 0:f.label,null==f?void 0:f.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(l.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:m,target:g?"_blank":"_self",trailingIcon:g?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:s.a.string,ctaLink:s.a.string,ctaLabel:s.a.string,onCTAClick:s.a.func,isCTALinkExternal:s.a.bool,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function u(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function l(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||u(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},346:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return r.createElement("svg",i({viewBox:"0 0 22 19"},e),a)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():v()}c&&s&&b()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},374:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(20),s=n(212),u=n(375);function AdBlockerWarningMessage(t){var n=t.className,r=void 0===n?"":n,i=t.getHelpLink,l=void 0===i?"":i,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:r},Object(o.a)(Object(a.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:l,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(u.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:i.a.string,getHelpLink:i.a.string,warningMessage:i.a.string}}).call(this,n(4))},375:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return r.createElement("svg",i({viewBox:"0 0 13 14",fill:"none"},e),a)}},382:function(e,t){e.exports=googlesitekit.widgets},393:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedConversionTrackingNotice}));var r=n(12),i=n.n(r),a=n(3),o=n(14);function SetupEnhancedConversionTrackingNotice(t){var n=t.className,r=t.message,c=Object(a.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return c||void 0===c?null:e.createElement("p",{className:i()(n,"googlesitekit-color--surfaces-on-background-variant")},r)}}).call(this,n(4))},40:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),u=n(25);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,l=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,v=t.desktopWidth,b=t.desktopHeight,h=Object(u.e)(),y={width:(n={},i()(n,u.b,g),i()(n,u.c,p),i()(n,u.a,v),i()(n,u.d,v),n),height:(r={},i()(r,u.b,f),i()(r,u.c,m),i()(r,u.a,b),i()(r,u.d,v),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:y.width[h]||o,height:y.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===l})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),u=n(13),l=n(62),d=n(78),g=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},v=function(){return{}},b=function(){},h=l.a.clearError,y=l.a.receiveError,O=function(e){var t,n,r=i.a.mark(x),a=e.baseName,c=e.controlCallback,l=e.reducerCallback,f=void 0===l?m:l,O=e.argsToParams,E=void 0===O?v:O,_=e.validateParams,k=void 0===_?b:_;s()(a,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof f,"reducerCallback must be a function."),s()("function"==typeof E,"argsToParams must be a function."),s()("function"==typeof k,"validateParams must be a function.");try{k(E()),n=!1}catch(e){n=!0}var S=Object(d.b)(a),j=Object(d.a)(a),A="FETCH_".concat(j),w="START_".concat(A),C="FINISH_".concat(A),N="CATCH_".concat(A),R="RECEIVE_".concat(j),T="fetch".concat(S),D="receive".concat(S),P="isFetching".concat(S),L=o()({},P,{});function x(e,t){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:w};case 2:return r.next=4,h(a,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:A};case 7:return n=r.sent,r.next=10,I[D](n,e);case 10:return r.next=12,{payload:{params:e},type:C};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,y(o,a,t);case 19:return r.next=21,{payload:{params:e},type:N};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var I=(t={},o()(t,T,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,t);return k(r),x(r,t)})),o()(t,D,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(u.isPlainObject)(t),"params is required."),k(t)):t={},{payload:{response:e,params:t},type:R}})),t),M=o()({},A,(function(e){var t=e.payload;return c(t.params)})),U=o()({},P,(function(e){if(void 0===e[P])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=E.apply(void 0,r),k(t)}catch(e){return!1}return!!e[P][Object(g.I)(t)]}));return{initialState:L,actions:I,controls:M,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case w:var i=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(i),!0))));case R:var a=r.response,c=r.params;return f(e,a,c);case C:var s=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(s),!1))));case N:var u=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(u),!1))));default:return e}},resolvers:{},selectors:U}}},488:function(e,t){e.exports=googlesitekit.notifications},500:function(e,t,n){"use strict";function r(e){if(void 0!==e)return!e}n.d(t,"a",(function(){return r}))},502:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o}));var r="pax",i="_googlesitekitPAXConfig",a={LAUNCH:1,FINISHED:2},o="pax_setup_success_notification"},534:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&""!==e&&/^AW-[0-9]+$/.test(e)}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var s=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!s)return null;var u=o||a.WidgetNull||null;if(!1===s.active)return u&&e.createElement(u,a);if(!1===s.connected){var l=c||u;return l&&e.createElement(l,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"f",(function(){return L}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),s=n(7),u=n.n(s),l=n(11),d=n.n(l),g=n(57),f=n.n(g),p=n(13),m=n(111);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return b(b({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=N(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},_=h,k=h,S=h,j=function(e){return e},A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||j}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},w={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},C=(r={},u()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),u()(r,"AWAIT",(function(e){return e.payload.value})),r),N=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},R={actions:w,controls:C,reducer:j},T=function(e){return function(t){return D(e(t))}},D=f()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function L(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},596:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXEmbeddedApp}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),u=n.n(s),l=n(1),d=n.n(l),g=n(506),f=n(200),p=n(0),m=n(2),v=n(3),b=n(40),h=n(85),y=n(6),O=n(9),E=n(714);function PAXEmbeddedApp(t){var n,i,o,s,l,d=t.displayMode,_=void 0===d?"default":d,k=t.onLaunch,S=t.onCampaignCreated,j=t.onFinishAndCloseSignUpFlow,A=Object(p.useState)("function"==typeof(null===(n=e)||void 0===n||null===(i=n.google)||void 0===i||null===(o=i.ads)||void 0===o||null===(s=o.integration)||void 0===s||null===(l=s.integrator)||void 0===l?void 0:l.launchGoogleAds)),w=u()(A,2),C=w[0],N=w[1],R=Object(p.useState)(!1),T=u()(R,2),D=T[0],P=T[1],L=Object(p.useState)(!0),x=u()(L,2),I=x[0],M=x[1],U=Object(p.useState)(void 0),B=u()(U,2),F=B[0],W=B[1],H=Object(v.useSelect)((function(e){return"reporting"!==_?{}:e(y.a).getDateRangeDates({offsetDays:O.f})})),q=Object(v.useSelect)((function(e){return e(y.a).isAdBlockerActive()})),K=Object(f.a)(PAXEmbeddedApp,"PAXEmbeddedApp"),V="googlesitekit-pax-embedded-app-".concat(K),Y=Object(p.useRef)(),z=Object(p.useCallback)((function(){"reporting"===_&&(null==Y?void 0:Y.current)&&H.startDate&&H.endDate&&Y.current.getServices().adsDateRangeService.update({startDate:Object(E.c)(H.startDate),endDate:Object(E.c)(H.endDate)})}),[_,H.endDate,H.startDate]),G=Object(v.useRegistry)(),X=Object(p.useCallback)(c()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!D){t.next=2;break}return t.abrupt("return");case 2:return P(!0),n=Object(E.a)({contentContainer:"#".concat(V),reportingStyle:"reporting"===_?"REPORTING_STYLE_MINI":"REPORTING_STYLE_FULL"}),r=Object(E.b)(G,{onCampaignCreated:S,onFinishAndCloseSignUpFlow:j}),t.prev=5,t.next=8,e.google.ads.integration.integrator.launchGoogleAds(n,r);case 8:Y.current=t.sent,z(),null==k||k(Y.current),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(5),W(t.t0),e.console.error("Google Ads Partner Experience Error:",t.t0);case 17:M(!1);case 18:case"end":return t.stop()}}),t,null,[[5,13]])}))),[_,V,D,S,j,k,G,z]);return Object(g.a)((function(){var t,n,r,i,a;C||D||"function"==typeof(null===(t=e)||void 0===t||null===(n=t.google)||void 0===n||null===(r=n.ads)||void 0===r||null===(i=r.integration)||void 0===i||null===(a=i.integrator)||void 0===a?void 0:a.launchGoogleAds)&&N(!0)}),D?null:50),Object(p.useEffect)((function(){C&&!D&&X()}),[D,I,C,X]),Object(p.useEffect)((function(){z()}),[z,H.startDate,H.endDate]),r.createElement("div",{className:"googlesitekit-pax-embedded-app"},!!F&&!q&&r.createElement(h.a,{title:Object(m.__)("Google Ads error","google-site-kit"),description:Object(m.__)("Could not load Google Ads content.","google-site-kit"),error:!0}),I&&r.createElement(b.a,{width:"100%",height:"240px"}),r.createElement("div",{id:V}))}PAXEmbeddedApp.propTypes={displayMode:d.a.oneOf(["default","reporting","setup"]),onLaunch:d.a.func,onCampaignCreated:d.a.func,onFinishAndCloseSignUpFlow:d.a.func}}).call(this,n(26),n(4))},597:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(0),l=n(2),d=n(3),g=n(10),f=n(155),p=n(144),m=n(760),v=n(14),b=n(393);function SetupForm(t){var n=t.finishSetup,r=t.createAccountCTA,a=t.isNavigatingToOAuthURL,c=Object(d.useSelect)((function(e){return e(f.c).canSubmitChanges()})),s=Object(d.useSelect)((function(e){return e(f.c).isDoingSubmitChanges()&&!a})),h=Object(d.useDispatch)(f.c).submitChanges,y=Object(d.useDispatch)(v.c),O=y.setConversionTrackingEnabled,E=y.saveConversionTrackingSettings,_=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,h();case 3:if(r=e.sent,r.error){e.next=10;break}return O(!0),e.next=9,E();case 9:n();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,E,O,h]);return e.createElement("form",{className:"googlesitekit-ads-setup__form",onSubmit:_},e.createElement(p.a,{moduleSlug:"ads",storeName:f.c}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(m.a,null)),r&&e.createElement("div",{className:"googlesitekit-setup-module__create-account"},r),e.createElement(b.a,{className:"googlesitekit-margin-top-1",message:Object(l.__)("To track the performance of your campaigns, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(g.SpinnerButton,{disabled:!c||s,isSaving:s},Object(l.__)("Complete setup","google-site-kit"))))}SetupForm.propTypes={finishSetup:s.a.func,createAccountCTA:s.a.node,isNavigatingToOAuthURL:s.a.bool},SetupForm.defaultProps={finishSetup:function(){},createAccountCTA:null,isNavigatingToOAuthURL:!1}}).call(this,n(4))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return A})),n.d(t,"t",(function(){return w})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return R})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return P})),n.d(t,"B",(function(){return L})),n.d(t,"C",(function(){return x})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return U})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return F})),n.d(t,"E",(function(){return W})),n.d(t,"i",(function(){return H})),n.d(t,"p",(function(){return q})),n.d(t,"Q",(function(){return K})),n.d(t,"P",(function(){return V}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",v="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",_="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",A="kmAnalyticsTopCitiesDrivingAddToCart",w="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",N="kmAnalyticsTopConvertingTrafficSource",R="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",P="kmAnalyticsTopTrafficSource",L="kmAnalyticsTopTrafficSourceDrivingAddToCart",x="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",U="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",F="kmSearchConsolePopularKeywords",W="kmAnalyticsVisitsPerVisitor",H="kmAnalyticsMostEngagingPages",q="kmAnalyticsTopCategories",K=[v,b,h,y,O,E,_,k,q,S,j,A,w,C,N,R,D,P,L,M,U,B,W,H,q],V=[].concat(K,[F])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},605:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#ads_svg__clip0_13_5816)"},r.createElement("path",{d:"M13.612 5.602c.386-1.015.918-1.95 1.707-2.706C18.477-.181 23.697.592 25.84 4.458c1.61 2.932 3.318 5.8 4.978 8.7 2.77 4.816 5.573 9.632 8.312 14.465 2.303 4.044-.193 9.15-4.768 9.843-2.803.419-5.43-.87-6.88-3.383-2.432-4.237-4.88-8.473-7.313-12.694a1.466 1.466 0 00-.177-.258c-.258-.21-.37-.515-.531-.79-1.08-1.9-2.191-3.785-3.27-5.67-.693-1.224-1.418-2.432-2.11-3.656a6.67 6.67 0 01-.887-3.544c.048-.645.129-1.29.419-1.87z",fill:"#3C8BD9"}),r.createElement("path",{d:"M13.612 5.602c-.145.58-.274 1.16-.306 1.772-.048 1.353.29 2.61.966 3.786 1.772 3.044 3.544 6.105 5.3 9.166.161.274.29.547.451.805a804.94 804.94 0 01-2.915 5.01c-1.354 2.336-2.707 4.688-4.076 7.024-.064 0-.08-.032-.097-.08-.016-.13.033-.242.065-.371.66-2.417.113-4.56-1.547-6.396-1.015-1.111-2.303-1.74-3.785-1.949-1.933-.274-3.641.226-5.171 1.434-.274.21-.451.515-.774.677-.064 0-.096-.033-.112-.081.773-1.337 1.53-2.674 2.303-4.011 3.19-5.542 6.38-11.083 9.585-16.609.032-.064.08-.113.113-.177z",fill:"#FABC04"}),r.createElement("path",{d:"M1.675 26.447c.306-.274.596-.564.918-.821 3.915-3.093 9.795-.854 10.648 4.043.21 1.176.097 2.304-.257 3.431a1.697 1.697 0 01-.065.274c-.145.258-.274.532-.435.79-1.434 2.368-3.544 3.544-6.315 3.366C2.996 37.305.5 34.92.064 31.763c-.21-1.53.097-2.964.886-4.285.161-.29.354-.548.532-.838.08-.064.048-.193.193-.193z",fill:"#34A852"}),r.createElement("path",{d:"M1.675 26.447c-.064.065-.064.177-.177.194-.016-.113.048-.178.113-.258l.064.064z",fill:"#FABC04"}),r.createElement("path",{d:"M12.92 33.374c-.065-.113 0-.193.064-.274l.064.065-.129.21z",fill:"#E1C025"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"ads_svg__clip0_13_5816"},r.createElement("path",{fill:"#fff",d:"M0 0h40v40H0z"})));t.a=function SvgAds(e){return r.createElement("svg",i({viewBox:"0 0 40 40",fill:"none"},e),a,o)}},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(7),i=n.n(r),a=n(33),o=n.n(a),c=n(111),s=n(11),u=n.n(s),l=n(94),d=n.n(l),g=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var v={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return u()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:v,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var a=r.baseName,o=r.args,c=r.error,s=m(a,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},s,o))});case"CLEAR_ERROR":var u=r.baseName,l=r.args,d=p({},e),g=m(u,l);return d.errors=p({},e.errors||{}),d.errorArgs=p({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var f=r.baseName,v=p({},e);if(f)for(var b in v.errors=p({},e.errors||{}),v.errorArgs=p({},e.errorArgs||{}),v.errors)(b===f||b.startsWith("".concat(f,"::")))&&(delete v.errors[b],delete v.errorArgs[b]);else v.errors={},v.errorArgs={};return v;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},641:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return A}));var r=n(15),i=n.n(r),a=n(23),o=n.n(a),c=n(5),s=n.n(c),u=n(7),l=n.n(u),d=n(11),g=n.n(d),f=n(750),p=n.n(f),m=n(157),v=n(519),b=n(3),h=n(14),y=n(8),O=n(500);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e){return Object(b.createRegistrySelector)((function(t){return function(){return(t(h.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},j={receiveSiteInfo:function(e){return g()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return g()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}},setSiteKitAutoUpdatesEnabled:function(e){return g()("boolean"==typeof e,"siteKitAutoUpdatesEnabled must be a boolean."),{payload:{siteKitAutoUpdatesEnabled:e},type:"SET_SITE_KIT_AUTO_UPDATES_ENABLED"}},setKeyMetricsSetupCompletedBy:function(e){return g()("number"==typeof e,"keyMetricsSetupCompletedBy must be a number."),{payload:{keyMetricsSetupCompletedBy:e},type:"SET_KEY_METRICS_SETUP_COMPLETED_BY"}},setSetupErrorCode:function(e){return g()("string"==typeof e||null===e,"setupErrorCode must be a string or null."),{payload:{setupErrorCode:e},type:"SET_SETUP_ERROR_CODE"}}},A={},w={getSiteInfo:s.a.mark((function t(){var n,r,i,a,o,c,u,l,d,g,f,p,m,v,y,O,E,_,k,S,A,w,C,N,R,T,D,P,L,x,I;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.commonActions.getRegistry();case 2:if(!t.sent.select(h.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return n=e._googlesitekitBaseData,r=n.adminURL,i=n.ampMode,a=n.homeURL,o=n.proxyPermissionsURL,c=n.proxySetupURL,u=n.referenceSiteURL,l=n.setupErrorCode,d=n.setupErrorMessage,g=n.setupErrorRedoURL,f=n.siteName,p=n.timezone,m=n.usingProxy,v=n.webStoriesActive,y=n.proxySupportLinkURL,O=n.widgetsAdminURL,E=n.postTypes,_=n.wpVersion,k=n.updateCoreURL,S=n.changePluginAutoUpdatesCapacity,A=n.siteKitAutoUpdatesEnabled,w=n.pluginBasename,C=n.productPostType,N=n.keyMetricsSetupCompletedBy,R=n.keyMetricsSetupNew,T=n.consentModeRegions,D=e._googlesitekitEntityData,P=D.currentEntityID,L=D.currentEntityTitle,x=D.currentEntityType,I=D.currentEntityURL,t.next=12,j.receiveSiteInfo({adminURL:r,ampMode:i,currentEntityID:P,currentEntityTitle:L,currentEntityType:x,currentEntityURL:I,homeURL:a,proxyPermissionsURL:o,proxySetupURL:c,referenceSiteURL:u,setupErrorCode:l,setupErrorMessage:d,setupErrorRedoURL:g,siteName:f,timezone:p,postTypes:E,usingProxy:!!m,webStoriesActive:v,proxySupportLinkURL:y,widgetsAdminURL:O,wpVersion:_,updateCoreURL:k,changePluginAutoUpdatesCapacity:S,siteKitAutoUpdatesEnabled:A,pluginBasename:w,productPostType:C,keyMetricsSetupCompletedBy:N,keyMetricsSetupNew:R,consentModeRegions:T});case 12:case"end":return t.stop()}}),t)}))},C={getSiteInfo:function(e){return e.siteInfo},getAdminURL:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(h.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===n)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),s=n,u="admin.php";if(-1!==n.indexOf(".php?")){var l=n.split("?");if(!(s=p.a.parse(l.pop()).page))return a;u=l.shift()}r.page;var d=o()(r,["page"]);return Object(m.a)("".concat(c).concat(u),_({page:s},d))}})),getAMPMode:k("ampMode"),getCurrentEntityID:k("currentEntityID"),getCurrentEntityTitle:k("currentEntityTitle"),getCurrentEntityType:k("currentEntityType"),getCurrentEntityURL:k("currentEntityURL"),getHomeURL:k("homeURL"),getReferenceSiteURL:k("referenceSiteURL"),getProxySetupURL:k("proxySetupURL"),getProxyPermissionsURL:k("proxyPermissionsURL"),getCurrentReferenceURL:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getCurrentEntityURL();return null!==t?t:e(h.c).getReferenceSiteURL()}})),isAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return t===h.a}})),isSecondaryAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return t===h.b}})),getTimezone:k("timezone"),isUsingProxy:k("usingProxy"),getSiteName:k("siteName"),getSetupErrorCode:k("setupErrorCode"),getSetupErrorMessage:k("setupErrorMessage"),getSetupErrorRedoURL:k("setupErrorRedoURL"),getProxySupportLinkURL:k("proxySupportLinkURL"),getWidgetsAdminURL:k("widgetsAdminURL"),getPostTypes:k("postTypes"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var n=Object(v.a)(e.location.href,"permaLink");return n||!1},isWebStoriesActive:k("webStoriesActive"),isSiteURLMatch:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=e(h.c).getReferenceSiteURL();return Object(y.B)(r)===Object(y.B)(n)}})),getSiteURLPermutations:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getReferenceSiteURL(),n=[],r=new URL(t);return r.hostname=r.hostname.replace(/^www\./i,""),r.protocol="http",n.push(Object(y.L)(r)),r.protocol="https",n.push(Object(y.L)(r)),r.hostname="www."+r.hostname,n.push(Object(y.L)(r)),r.protocol="http",n.push(Object(y.L)(r)),n}})),getWPVersion:k("wpVersion"),getUpdateCoreURL:k("updateCoreURL"),hasChangePluginAutoUpdatesCapacity:k("changePluginAutoUpdatesCapacity"),getSiteKitAutoUpdatesEnabled:k("siteKitAutoUpdatesEnabled"),getPluginBasename:k("pluginBasename"),getKeyMetricsSetupCompletedBy:k("keyMetricsSetupCompletedBy"),getKeyMetricsSetupNew:k("keyMetricsSetupNew"),hasMinimumWordPressVersion:Object(b.createRegistrySelector)((function(e){return function(t,n){g()(n,"minimumWPVersion is required.");var r=e(h.c).getWPVersion()||{},a=r.major,o=r.minor;if(void 0!==a&&void 0!==o){var c=n.split(".").map((function(e){return parseInt(e,10)})),s=i()(c,2),u=s[0],l=s[1];return u<a||u===a&&(void 0===l?0:l)<=o}}})),getProductPostType:k("productPostType"),isKeyMetricsSetupCompleted:function(e){return Object(O.a)(Object(O.a)(C.getKeyMetricsSetupCompletedBy(e)))},getConsentModeRegions:k("consentModeRegions")};t.b={initialState:S,actions:j,controls:A,reducer:function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var r=n.siteInfo,i=r.adminURL,a=r.ampMode,o=r.currentEntityID,c=r.currentEntityTitle,s=r.currentEntityType,u=r.currentEntityURL,l=r.homeURL,d=r.proxyPermissionsURL,g=r.proxySetupURL,f=r.referenceSiteURL,p=r.setupErrorCode,m=r.setupErrorMessage,v=r.setupErrorRedoURL,b=r.siteName,h=r.timezone,y=r.usingProxy,O=r.webStoriesActive,E=r.proxySupportLinkURL,k=r.widgetsAdminURL,S=r.postTypes,j=r.wpVersion,A=r.updateCoreURL,w=r.changePluginAutoUpdatesCapacity,C=r.siteKitAutoUpdatesEnabled,N=r.pluginBasename,R=r.productPostType,T=r.keyMetricsSetupCompletedBy,D=r.keyMetricsSetupNew,P=r.consentModeRegions;return _(_({},e),{},{siteInfo:{adminURL:i,ampMode:a,currentEntityID:parseInt(o,10),currentEntityTitle:c,currentEntityType:s,currentEntityURL:u,homeURL:l,proxyPermissionsURL:d,proxySetupURL:g,referenceSiteURL:f,setupErrorCode:p,setupErrorMessage:m,setupErrorRedoURL:v,siteName:b,timezone:h,usingProxy:y,webStoriesActive:O,proxySupportLinkURL:E,widgetsAdminURL:k,postTypes:S,wpVersion:j,updateCoreURL:A,changePluginAutoUpdatesCapacity:w,siteKitAutoUpdatesEnabled:C,pluginBasename:N,productPostType:R,keyMetricsSetupCompletedBy:T,keyMetricsSetupNew:D,consentModeRegions:P}});case"RECEIVE_PERMALINK_PARAM":var L=n.permaLink;return _(_({},e),{},{permaLink:L});case"SET_SITE_KIT_AUTO_UPDATES_ENABLED":var x=n.siteKitAutoUpdatesEnabled;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{siteKitAutoUpdatesEnabled:x})});case"SET_KEY_METRICS_SETUP_COMPLETED_BY":var I=n.keyMetricsSetupCompletedBy;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{keyMetricsSetupCompletedBy:I})});case"SET_SETUP_ERROR_CODE":var M=n.setupErrorCode;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{setupErrorCode:M})});default:return e}},resolvers:w,selectors:C}}).call(this,n(26))},644:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConversionTrackingToggle}));var r=n(15),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(3),u=n(14),l=n(67),d=n(178),g=n(645),f=n(18),p=n(8),m=n(1),v=n.n(m);function ConversionTrackingToggle(t){var n=t.children,r=t.loading,m=Object(f.a)(),v=Object(a.useState)(null),b=i()(v,1)[0],h=Object(a.useState)(!1),y=i()(h,2),O=y[0],E=y[1],_=Object(s.useSelect)((function(e){return e(u.c).isConversionTrackingEnabled()})),k=Object(s.useSelect)((function(e){return e(u.c).isFetchingSaveConversionTrackingSettings()})),S=Object(s.useDispatch)(u.c).setConversionTrackingEnabled;return e.createElement(a.Fragment,null,e.createElement(d.a,{loading:r,width:"180px",height:"21.3px"},e.createElement(c.Switch,{label:Object(o.__)("Enable enhanced conversion tracking","google-site-kit"),checked:_,disabled:k||r,onClick:function(){_?(Object(p.J)("".concat(m),"ect_disable"),E(!0)):(Object(p.J)("".concat(m),"ect_enable"),S(!0))},hideLabel:!1})),!!b&&e.createElement(l.a,{message:b.message}),e.createElement(d.a,{className:"googlesitekit-settings-conversion-tracking-switch-description--loading",loading:r,width:"750px",height:"42px",smallWidth:"386px",smallHeight:"84px",tabletWidth:"540px",tabletHeight:"84px"},e.createElement("p",{className:"googlesitekit-settings-module__fields-group-helper-text"},n)),O&&e.createElement(g.a,{onConfirm:function(){Object(p.J)("".concat(m),"ect_confirm_disable"),S(!1),E(!1)},onCancel:function(){Object(p.J)("".concat(m),"ect_cancel_disable"),E(!1)}}))}ConversionTrackingToggle.propTypes={children:v.a.node.isRequired,loading:v.a.bool}}).call(this,n(4))},645:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConfirmDisableConversionTrackingDialog}));var r=n(1),i=n.n(r),a=n(91),o=n(2),c=n(114),s=n(8),u=n(18);function ConfirmDisableConversionTrackingDialog(t){var n=t.onConfirm,r=t.onCancel,i=Object(u.a)(),l=Object(o.__)("By disabling enhanced conversion tracking, you will no longer have access to:","google-site-kit"),d=[Object(o.__)("Performance of your Ad campaigns","google-site-kit"),Object(o.__)("Tracking additional conversion-related events via Analytics","google-site-kit")];return Object(a.a)((function(){Object(s.J)("".concat(i),"ect_view_modal")})),e.createElement(c.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,title:Object(o.__)("Disable enhanced conversion tracking","google-site-kit"),subtitle:l,handleConfirm:n,handleDialog:r,onClose:r,provides:d,confirmButton:Object(o.__)("Disable","google-site-kit"),danger:!0})}ConfirmDisableConversionTrackingDialog.propTypes={onConfirm:i.a.func.isRequired,onCancel:i.a.func.isRequired}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},71:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},714:function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return m}));var r=n(834),i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(13),u=n(57),l=n.n(u),d=n(256),g=n(14),f=n(155),p=n(8);function m(e){var t=Object(p.H)(e);return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}var v=n(6),b=n(42),h=n.n(b),y=function(){var e=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(d.default)({path:"/wp/v2/pages?per_page=100"});case 3:return t=e.sent,e.abrupt("return",t.map((function(e){return{title:e.title.rendered,path:new URL(e.link).pathname}})));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",[]);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();function O(){var e=l()((function(){return h.a.set("core","user","get-token")})),t=Object(s.debounce)(e.clear,3e4,{leading:!1,trailing:!0,maxWait:24e4});function n(){return t(),e()}return n.clear=function(){t.cancel(),e.clear()},n}function E(e){var t,n,r,i,o,s,u,l,d,p,b,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=h.onCampaignCreated,_=void 0===E?null:E,k=h.onFinishAndCloseSignUpFlow,S=void 0===k?null:k,j=e.select,A=e.resolveSelect,w=O(),C={authenticationService:{get:(b=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:return t=e.sent,e.abrupt("return",{accessToken:t.token});case 4:case"end":return e.stop()}}),e)}))),function(){return b.apply(this,arguments)}),fix:(p=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w.clear(),e.abrupt("return",{retryReady:!0});case 2:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},businessService:{getBusinessInfo:(d=c()(a.a.mark((function e(){var t,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(g.c).getSiteInfo();case 2:return t=j(g.c).getSiteName(),n=j(g.c).getHomeURL(),e.abrupt("return",{businessName:t,businessUrl:n});case 5:case"end":return e.stop()}}),e)}))),function(){return d.apply(this,arguments)}),fixBusinessInfo:(l=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{retryReady:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return l.apply(this,arguments)})},campaignService:{notifyNewCampaignCreated:(u=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_){e.next=3;break}return e.next=3,_();case 3:return e.abrupt("return",{});case 4:case"end":return e.stop()}}),e)}))),function(){return u.apply(this,arguments)})},conversionTrackingService:{getSupportedConversionLabels:(s=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(f.c).getModuleData();case 2:return t=j(f.c).getSupportedConversionEvents()||[],e.abrupt("return",{conversionLabels:t});case 4:case"end":return e.stop()}}),e)}))),function(){return s.apply(this,arguments)}),getPageViewConversionSetting:(o=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:return t=e.sent,e.abrupt("return",{websitePages:t});case 4:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),getSupportedConversionTrackingTypes:(i=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{conversionTrackingTypes:["TYPE_PAGE_VIEW"]});case 1:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},termsAndConditionsService:{notify:(r=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},partnerDateRangeService:{get:(n=c()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(v.a).getDateRangeDates({offsetDays:f.b}),r=n.startDate,i=n.endDate,t.abrupt("return",{startDate:m(r),endDate:m(i)});case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})},userActionService:{finishAndCloseSignUpFlow:(t=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S){e.next=3;break}return e.next=3,S();case 3:return e.abrupt("return",{});case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}};return C}},718:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(2),i=n(0),a=n(38),o=n(3),c=n(155),s=n(644),u=n(144),l=n(760),d=n(210),g=n(187),f=n(14),p=n(20);function SettingsForm(){var t=Object(d.a)("adsPax"),n=Object(o.useSelect)((function(e){return e(c.c).getConversionID()})),m=Object(o.useSelect)((function(e){return e(c.c).getPaxConversionID()})),v=Object(o.useSelect)((function(e){return e(c.c).getExtCustomerID()})),b=Object(o.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("enhanced-conversion-tracking")})),h=t&&m?m:n,y=t&&(m||v);return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-ads-settings-fields"},e.createElement(u.a,{moduleSlug:"ads",storeName:c.c}),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(s.a,null,Object(a.a)(Object(r.__)("Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. <a>Learn more</a>","google-site-kit"),{a:e.createElement(p.a,{href:b,external:!0,"aria-label":Object(r.__)("Learn more about conversion tracking","google-site-kit")})}))),!y&&e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(l.a,{helperText:Object(r.__)("The Conversion Tracking ID will help track the performance of ad campaigns for the corresponding account","google-site-kit")})),y&&e.createElement("div",null,e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Conversion Tracking ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===h&&Object(r.__)("None","google-site-kit"),h||void 0===h&&e.createElement(g.b,{value:h}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Customer ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===v&&Object(r.__)("None","google-site-kit"),v||void 0===v&&e.createElement(g.b,{value:v}))))))}}).call(this,n(4))},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},760:function(e,t,n){"use strict";var r=n(833);n.d(t,"a",(function(){return r.a}));n(596)},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return N})),n.d(t,"o",(function(){return R})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return P})),n.d(t,"t",(function(){return L})),n.d(t,"w",(function(){return x})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return U.b})),n.d(t,"r",(function(){return U.a})),n.d(t,"B",(function(){return U.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return F})),n.d(t,"F",(function(){return q})),n.d(t,"E",(function(){return K.a})),n.d(t,"h",(function(){return V})),n.d(t,"M",(function(){return Y})),n.d(t,"m",(function(){return z}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[g,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var v=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),E=n.n(O),_=n(2),k="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,A=60*j,w=24*A,C=7*w,N=30*w;function R(){var e=function(e){return Object(_.sprintf)( /* translators: %s: number of days */ Object(_._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function P(e){E()(T(e),k);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function L(e,t){return D(I(e,t*w))}function x(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){E()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),U=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function F(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var W=n(27),H=n.n(W),q=function(e){return Array.isArray(e)?H()(e).sort():e},K=n(88);function V(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var Y=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},z=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return C}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),u=n(23),l=n.n(u),d=n(13),g=n(57),f=n.n(g),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=v(v({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?A(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?A(a,v(v({},o),{},{unit:"second"})):"",i?A(i,v(v({},o),{},{unit:"minute"})):"",r?A(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),A(E(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e),e%10==0?{}:t)):A(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=v({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?b(e,n):"durationISO"===i?h(e):A(e,n)}var j=f()(console.warn),A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=l()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},832:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(12),i=n.n(r),a=n(2),o=n(0),c=n(3),s=n(155),u=n(14),l=n(6),d=n(187),g=n(219),f=n(210);function SettingsView(){var t=Object(f.a)("adsPax"),n=Object(c.useSelect)((function(e){return e(s.c).getConversionID()})),r=Object(c.useSelect)((function(e){return e(s.c).getPaxConversionID()})),p=Object(c.useSelect)((function(e){return e(s.c).getExtCustomerID()})),m=Object(c.useSelect)((function(e){return e(l.a).isAdBlockerActive()})),v=t&&r?r:n,b=t&&(r||p),h=Object(c.useSelect)((function(e){return e(u.c).isConversionTrackingEnabled()}));return e.createElement(o.Fragment,null,e.createElement("div",{className:i()({"googlesitekit-settings-module__meta-item":m})},e.createElement(g.a,{moduleSlug:"ads"})),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Enhanced Conversion Tracking","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},h&&Object(a.__)("Enabled","google-site-kit"),!1===h&&Object(a.__)("Disabled","google-site-kit"),void 0===h&&d.a)),!m&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Conversion Tracking ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===v&&Object(a.__)("None","google-site-kit"),v||void 0===v&&e.createElement(d.b,{value:v}))),!m&&b&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Customer ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===p&&Object(a.__)("None","google-site-kit"),p||void 0===p&&e.createElement(d.b,{value:p}))))}}).call(this,n(4))},833:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConversionIDTextField}));var r=n(15),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(2),u=n(161),l=n(3),d=n(10),g=n(155),f=n(105),p=n(534),m=n(346);function ConversionIDTextField(t){var n=t.helperText,r=Object(l.useSelect)((function(e){return e(g.c).getConversionID()})),a=Object(c.useState)(!r||Object(p.a)(r)),v=i()(a,2),b=v[0],h=v[1],y=Object(u.a)(h,500),O=Object(l.useDispatch)(g.c).setConversionID,E=Object(c.useCallback)((function(e){var t=e.currentTarget.value.trim().toUpperCase();""===t||/^AW-/.test(t)||(t="AW-".concat(t)),t!==r&&O(t),y(Object(p.a)(t))}),[y,r,O]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("h4",{className:"googlesitekit-settings-module__fields-group-title"},Object(s.__)("Conversion Tracking ID","google-site-kit")),n&&e.createElement("p",{className:"googlesitekit-settings-module__fields-group-helper-text"},n),e.createElement(d.TextField,{label:Object(s.__)("Conversion Tracking ID","google-site-kit"),className:o()("googlesitekit-text-field-conversion-tracking-id",{"mdc-text-field--error":!b}),helperText:!b&&Object(s.__)("Tracking for your Ads campaigns won’t work until you insert a valid ID","google-site-kit"),leadingIcon:e.createElement("span",{className:"googlesitekit-text-field-conversion-tracking-id-prefix"},"AW-"),trailingIcon:!b&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(f.a,null,Object(s.__)("Error","google-site-kit")),e.createElement(m.a,{width:14,height:12})),outlined:!0,value:null==r?void 0:r.replace(/^(AW)?-?/,""),onChange:E,maxLength:20}))}}).call(this,n(4))},834:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(11),i=n.n(r),a=n(13),o=n(502);function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.contentContainer,r=t.reportingStyle,c=t._global,s=void 0===c?e:c,u=null==s?void 0:s[o.a];return i()(Object(a.isPlainObject)(u),"base PAX config must be a plain object"),Object(a.merge)(u,n?{clientConfig:{contentContainer:n}}:{},r?{contentConfig:{partnerAdsExperienceConfig:{reportingStyle:r}}}:{})}}).call(this,n(26))},835:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),i=n(10),a=n(155),o=n(6),c=n(718),s=n(219);function SettingsEdit(){var t,n=Object(r.useSelect)((function(e){return e(a.c).isDoingSubmitChanges()}));return t=Object(r.useSelect)((function(e){return e(o.a).isAdBlockerActive()}))?e.createElement(s.a,{moduleSlug:"ads"}):n?e.createElement(i.ProgressBar,null):e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},t)}}).call(this,n(4))},836:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),u=n(605),l=n(597),d=n(162),g=n(219),f=n(6);function SetupMain(t){var n=t.finishSetup,r=Object(s.useSelect)((function(e){return e(f.a).isAdBlockerActive()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(u.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(c._x)("Ads","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(g.a,{moduleSlug:"ads"}),!r&&e.createElement(a.Fragment,null,e.createElement("p",null,Object(o.a)(Object(c.__)("Add your conversion ID below. Site Kit will place it on your site so you can track the performance of your Google Ads campaigns. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{path:"/google-ads/thread/108976144/where-i-can-find-google-conversion-id-begins-with-aw",external:!0})}),e.createElement("br",null),Object(c.__)("You can always change this later in Site Kit Settings.","google-site-kit")),e.createElement(l.a,{finishSetup:n}))))}SetupMain.propTypes={finishSetup:i.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(4))},837:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupMainPAX}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(7),u=n.n(s),l=n(15),d=n.n(l),g=n(232),f=n(0),p=n(38),m=n(2),v=n(157),b=n(3),h=n(10),y=n(605),O=n(597),E=n(162),_=n(219),k=n(6),S=n(32),j=n(155),A=n(193),w=n(596),C=n(14),N=n(502),R=n(210);function SetupMainPAX(t){var n=t.finishSetup,i=Object(A.a)(N.b),o=d()(i,2),s=o[0],l=o[1],T=!!s&&parseInt(s,10),D=Object(f.useRef)(),P=Object(b.useSelect)((function(e){return e(k.a).isAdBlockerActive()})),L=Object(b.useSelect)((function(e){return e(k.a).hasScope(j.a)})),x=Object(b.useSelect)((function(t){var n=Object(v.a)(e.location.href,u()({},N.b,N.c.LAUNCH));return t(k.a).getConnectURL({additionalScopes:[j.a,j.d],redirectURL:n})})),I=Object(b.useSelect)((function(e){return!!x&&e(S.a).isNavigatingTo(x)})),M=Object(b.useDispatch)(S.a).navigateTo,U=Object(b.useDispatch)(j.c),B=U.setPaxConversionID,F=U.setExtCustomerID,W=U.submitChanges,H=Object(g.a)(c()(a.a.mark((function e(){var t,n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==D?void 0:D.current){e.next=2;break}return e.abrupt("return");case 2:return t=D.current.getServices(),n=t.accountService,r=t.conversionTrackingIdService,e.next=5,n.getAccountId({});case 5:return i=e.sent,e.next=8,r.getConversionTrackingId({});case 8:if(o=e.sent,i.externalCustomerId||o.conversionTrackingId){e.next=11;break}return e.abrupt("return");case 11:return F(i.externalCustomerId),B(o.conversionTrackingId),e.next=15,W();case 15:case"end":return e.stop()}}),e)}))),[F,B]),q=Object(b.useRegistry)(),K=Object(g.a)(c()(a.a.mark((function e(){var t,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=q.select,r=q.resolveSelect,e.next=3,r(C.c).getSiteInfo();case 3:i=t(C.c).getAdminURL("googlesitekit-dashboard",{notification:N.d}),n(i);case 5:case"end":return e.stop()}}),e)}))),[q,n]),V=Object(f.useCallback)((function(){L?l(N.c.LAUNCH):M(x)}),[M,l,L,x]),Y=Object(f.useCallback)((function(e){D.current=e}),[]),z=Object(R.a)("adsPax");return Object(f.useEffect)((function(){z&&V()}),[z,V]),r.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},r.createElement("div",{className:"googlesitekit-setup-module__step"},r.createElement("div",{className:"googlesitekit-setup-module__logo"},r.createElement(y.a,{width:"40",height:"40"})),r.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(m._x)("Ads","Service name","google-site-kit"))),r.createElement("div",{className:"googlesitekit-setup-module__step"},r.createElement(_.a,{moduleSlug:"ads"}),z&&!T&&r.createElement(h.ProgressBar,null),!P&&N.c.LAUNCH===T&&L&&r.createElement(w.a,{displayMode:"setup",onLaunch:Y,onCampaignCreated:H,onFinishAndCloseSignUpFlow:K}),!z&&!P&&(!T||!L)&&r.createElement(f.Fragment,null,r.createElement("p",null,Object(p.a)(Object(m.__)("Add your conversion ID below. Site Kit will place it on your site so you can track the performance of your Google Ads campaigns. <a>Learn more</a>","google-site-kit"),{a:r.createElement(E.a,{path:"/google-ads/thread/108976144/where-i-can-find-google-conversion-id-begins-with-aw",external:!0})}),r.createElement("br",null),Object(m.__)("You can always change this later in Site Kit Settings.","google-site-kit")),r.createElement(O.a,{finishSetup:n,isNavigatingToOAuthURL:I,createAccountCTA:r.createElement(f.Fragment,null,r.createElement(h.SpinnerButton,{onClick:V,disabled:I,isSaving:I,inverse:!0},Object(m.__)("Create an account","google-site-kit")),!L&&r.createElement("p",{className:"googlesitekit-setup-module__permission-notice"},Object(m.__)("You’ll be asked to grant Site Kit additional permissions during the account creation process to create a new Ads account.","google-site-kit")))}))))}SetupMainPAX.defaultProps={finishSetup:function(){}}}).call(this,n(26),n(4))},838:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXSetupSuccessSubtleNotification}));var i=n(15),a=n.n(i),o=n(2),c=n(3),s=n(60),u=n(89),l=n(209),d=n(193),g=n(25),f=n(192),p=n(265);function PAXSetupSuccessSubtleNotification(t){var n=t.id,i=t.Notification,m=Object(g.e)(),v=Object(c.useDispatch)(s.a).dismissNotification,b=Object(d.a)("notification"),h=a()(b,2)[1],y=function(){h(void 0)};return r.createElement(i,null,r.createElement(l.a,{title:Object(o.__)("Your Ads campaign was successfully set up!","google-site-kit"),description:Object(o.__)("Track your conversions, measure your campaign results and make the most of your ad spend","google-site-kit"),dismissCTA:r.createElement(f.a,{id:n,primary:!1,dismissLabel:Object(o.__)("Got it","google-site-kit"),onDismiss:y}),additionalCTA:r.createElement(p.a,{id:n,ctaLabel:Object(o.__)("Show me","google-site-kit"),onCTAClick:function(t){t.preventDefault(),setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget--partnerAdsPAX",m),behavior:"smooth"}),y(),v(n)}),50)}})}))}}).call(this,n(26),n(4))},839:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSuccessSubtleNotification}));var r=n(15),i=n.n(r),a=n(2),o=n(209),c=n(192),s=n(193);function SetupSuccessSubtleNotification(t){var n=t.id,r=t.Notification,u=Object(s.a)("notification"),l=i()(u,2)[1],d=Object(s.a)("slug"),g=i()(d,2)[1];return e.createElement(r,null,e.createElement(o.a,{title:Object(a.__)("Success! Your Conversion Tracking ID was added to your site","google-site-kit"),description:Object(a.__)("You can now track conversions for your Ads campaigns","google-site-kit"),dismissCTA:e.createElement(c.a,{id:n,primary:!1,dismissLabel:Object(a.__)("Got it","google-site-kit"),onDismiss:function(){l(void 0),g(void 0)}})}))}}).call(this,n(4))},84:function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",u="entityDashboardTrafficPrimary",l="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:u,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:l,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},85:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,u=t.ctaLink,l=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,p=t.onClick,m=t["aria-label"],v=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),l&&"button"===g&&e.createElement(c.Button,{"aria-label":m,href:u,onClick:p},l),l&&"link"===g&&e.createElement(s.a,{href:u,onClick:p,"aria-label":m,external:d,hideExternalIndicator:d,arrow:!0},l),v))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"n",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"e",(function(){return _})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return A}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",v="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",E="dashboardAllTrafficWidgetLoaded",_={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",A="audience-selection-panel-expirable-new-badge-"},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},972:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(371),o=n(3),c=n(54),s=n(973),u=n(155),l=n(596),d=n(219),g=n(6),f=n(46);function PartnerAdsPAXWidget(t){var n=t.WidgetNull,r=t.Widget,i=Object(o.useSelect)((function(e){return e(g.a).isAdBlockerActive()})),a=Object(o.useSelect)((function(e){return e(u.c).getPaxConversionID()})),c=Object(o.useSelect)((function(e){return e(f.a).isWidgetActive("partnerAdsPAX")}));return(null==a?void 0:a.length)?i?e.createElement(r,null,e.createElement(d.a,{moduleSlug:"ads"})):c?e.createElement(r,{noPadding:!0},e.createElement(l.a,{displayMode:"reporting"})):e.createElement(r,{noPadding:!0}):e.createElement(n,null)}PartnerAdsPAXWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(c.a)({moduleName:"ads"}),Object(s.a)({scopes:[u.a]}))(PartnerAdsPAXWidget)}).call(this,n(4))},973:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(3),i=n(6);function a(t){var n=t.scopes,a=void 0===n?[]:n,o=t.FallbackComponent;return function(t){function WhenScopesGranted(n){var c=Object(r.useSelect)((function(e){return a.map((function(t){return e(i.a).hasScope(t)}))}),[a]);if(c.some((function(e){return void 0===e})))return null;var s=o||n.WidgetNull||null;return c.some((function(e){return!1===e}))?s&&e.createElement(s,n):e.createElement(t,n)}return WhenScopesGranted.displayName="WhenScopesGranted",WhenScopesGranted}}}).call(this,n(4))},974:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),u=n(3),l=n(155),d=n(641);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p,m={moduleData:{supportedConversionEvents:void 0}},v={receiveModuleData:function(e){return s()(e,"moduleData is required."),{payload:e,type:"RECEIVE_MODULE_DATA"}}},b={getModuleData:i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=null===(n=e._googlesitekitModulesData)||void 0===n?void 0:n.ads){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,v.receiveModuleData(r);case 5:case"end":return t.stop()}}),t)}))},h={getModuleData:function(e){return e.moduleData},getSupportedConversionEvents:(p="supportedConversionEvents",Object(u.createRegistrySelector)((function(e){return function(){return(e(l.c).getModuleData()||[])[p]}})))};t.a={initialState:m,actions:v,controls:d.a,reducer:function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_MODULE_DATA":var r={supportedConversionEvents:n.supportedConversionEvents};return f(f({},e),{},{moduleData:r});default:return e}},resolvers:b,selectors:h}}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),d=Object(c.a)(i,n,s,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1233,1,0]]]); dist/assets/js/googlesitekit-modules-adsense-86be7f15c8ab18f2c8c2.js 0000604 00001666037 14717744000 0020731 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[18],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return m})),n.d(t,"I",(function(){return f})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return T})),n.d(t,"t",(function(){return A})),n.d(t,"w",(function(){return N})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return w})),n.d(t,"x",(function(){return I})),n.d(t,"y",(function(){return M})),n.d(t,"A",(function(){return R})),n.d(t,"B",(function(){return D})),n.d(t,"C",(function(){return x})),n.d(t,"D",(function(){return L})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return G})),n.d(t,"z",(function(){return Z})),n.d(t,"G",(function(){return B})),n.d(t,"E",(function(){return U})),n.d(t,"i",(function(){return F})),n.d(t,"p",(function(){return z})),n.d(t,"Q",(function(){return W})),n.d(t,"P",(function(){return V}));var a="core/user",r="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",m="googlesitekit_manage_module_sharing_options",f="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",_="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",T="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",N="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",w="kmAnalyticsTopCountries",I="kmAnalyticsTopPagesDrivingLeads",M="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",D="kmAnalyticsTopTrafficSourceDrivingAddToCart",x="kmAnalyticsTopTrafficSourceDrivingLeads",L="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",G="kmAnalyticsVisitLength",Z="kmAnalyticsTopReturningVisitorPages",B="kmSearchConsolePopularKeywords",U="kmAnalyticsVisitsPerVisitor",F="kmAnalyticsMostEngagingPages",z="kmAnalyticsTopCategories",W=[b,v,h,y,O,_,E,k,z,S,j,T,A,N,C,w,M,R,D,P,G,Z,U,F,z],V=[].concat(W,[B])},,function(e,t,n){"use strict";n.d(t,"J",(function(){return r.b})),n.d(t,"K",(function(){return r.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return A})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return w})),n.d(t,"x",(function(){return I})),n.d(t,"q",(function(){return M})),n.d(t,"H",(function(){return R})),n.d(t,"t",(function(){return D})),n.d(t,"w",(function(){return x})),n.d(t,"l",(function(){return L})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return G.b})),n.d(t,"r",(function(){return G.a})),n.d(t,"B",(function(){return G.c})),n.d(t,"y",(function(){return Z})),n.d(t,"v",(function(){return B})),n.d(t,"F",(function(){return z})),n.d(t,"E",(function(){return W.a})),n.d(t,"h",(function(){return V})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return q}));var a=n(13),r=n(36),i=n(72),o=n(33),c=n.n(o),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(a){var r=t[a];r&&"object"===c()(r)&&!Array.isArray(r)&&(r=e(r)),n[a]=r})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function m(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function f(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,a=[g,m,f];n<a.length;n++){t=(0,a[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),_=n.n(O),E=n(2),k="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,T=60*j,A=24*T,N=7*A,C=30*A;function w(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._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 I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(a.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(a.isDate)(n)&&!isNaN(n)}function M(e){_()(Object(a.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function R(e){_()(I(e),k);var t=e.split("-"),n=y()(t,3),a=n[0],r=n[1],i=n[2];return new Date(a,r-1,i)}function D(e,t){return M(L(e,t*A))}function x(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function L(e,t){_()(I(e)||Object(a.isDate)(e)&&!isNaN(e),k);var n=I(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),G=n(83);function Z(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(27),F=n.n(U),z=function(e){return Array.isArray(e)?F()(e).sort():e},W=n(88);function V(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var a=(t-e)/e;return Number.isNaN(a)||!Number.isFinite(a)?null:a}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},q=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(a.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return _})),n.d(t,"e",(function(){return E})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return T}));var a="modules/analytics-4",r="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",m="enhanced-measurement-should-dismiss-activation-banner",f="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",_="dashboardAllTrafficWidgetLoaded",E={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",T="audience-selection-panel-expirable-new-badge-"},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a="core/site",r="primary",i="secondary"},,,function(e,t,n){"use strict";var a=n(245);n.d(t,"i",(function(){return a.a}));var r=n(309);n.d(t,"f",(function(){return r.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";var a=n(0),r=n(63);t.a=function(){return Object(a.useContext)(r.b)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="core/modules",r="insufficient_module_dependencies"},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(140),g=n(0),m=n(2),f=n(126),p=n(127),b=n(128),v=n(80),h=n(77),y=Object(g.forwardRef)((function(t,n){var a,i=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,y=t.back,O=void 0!==y&&y,_=t.caps,E=void 0!==_&&_,k=t.children,S=t.className,j=void 0===S?"":S,T=t.danger,A=void 0!==T&&T,N=t.disabled,C=void 0!==N&&N,w=t.external,I=void 0!==w&&w,M=t.hideExternalIndicator,R=void 0!==M&&M,D=t.href,x=void 0===D?"":D,L=t.inverse,P=void 0!==L&&L,G=t.noFlex,Z=void 0!==G&&G,B=t.onClick,U=t.small,F=void 0!==U&&U,z=t.standalone,W=void 0!==z&&z,V=t.linkButton,H=void 0!==V&&V,q=t.to,K=t.leadingIcon,Y=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=x||q||!B?q?"ROUTER_LINK":I?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(a=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(a=Object(m._x)("(disabled)","screen reader text","google-site-kit")),a?i?"".concat(i," ").concat(a):"string"==typeof k?"".concat(k," ").concat(a):void 0:i),ee=K,te=Y;return O&&(ee=e.createElement(b.a,{width:14,height:14})),I&&!R&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(f.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(X,r()({"aria-label":Q,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":F,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":A,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":W,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!Z}),disabled:C,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||C?void 0:x,onClick:B,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:q},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=y}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"n",(function(){return a})),n.d(t,"l",(function(){return r})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"t",(function(){return f})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return k}));var a="mainDashboard",r="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",m="adBlockingRecovery",f="wpDashboard",p="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",y="content",O="speed",_="monetization",E=[a,r,i,o,c,l,g,b],k=[i,o,d,p]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(79),r="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(a.a)();return e>1280?r:e>960?i:e>600?o:c}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/forms"},function(e,t,n){"use strict";n.d(t,"m",(function(){return a})),n.d(t,"j",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p}));var a="modules/adsense",r=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY",l="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",g="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",m="ad-blocking-recovery-notification",f={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"k",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return s})),n.d(t,"o",(function(){return l})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return h}));var a=n(2),r="key-metrics-setup-cta-widget",i="key-metrics-acr-subtle-notification",o="googlesitekit-key-metrics-selection-panel-opened",c="key-metrics-selection-form",s="key-metrics-selected",l=2,u=4,d=8,g="current-selection",m={SLUG:"visitors",LABEL:Object(a.__)("Visitors","google-site-kit")},f={SLUG:"driving-traffic",LABEL:Object(a.__)("Driving traffic","google-site-kit")},p={SLUG:"generating-leads",LABEL:Object(a.__)("Generating leads","google-site-kit")},b={SLUG:"selling-products",LABEL:Object(a.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(a.__)("Content performance","google-site-kit")},h=[m,f,p,b,v]},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/location"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var a=n(2),r="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===r}function s(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(a.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(a.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(22),r=n(18);function i(){var e=Object(r.a)();return a.g.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var a=n(99),r=e._googlesitekitTrackingData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,l=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,g=r.isAuthenticated,m={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},f=Object(a.a)(m),p=f.enableTracking,b=f.disableTracking,v=(f.isTrackingEnabled,f.initializeSnippet),h=f.trackEvent,y=f.trackEventOnce;function O(e){e?p():b()}c&&s&&v()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},,,function(e,t,n){"use strict";(function(e){var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,a,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,m=t.smallHeight,f=t.tabletWidth,p=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),y={width:(n={},r()(n,l.b,g),r()(n,l.c,f),r()(n,l.a,b),r()(n,l.d,b),n),height:(a={},r()(a,l.b,m),r()(a,l.c,p),r()(a,l.a,v),r()(a,l.d,b),a)};return e.createElement("div",{className:s()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:y.width[h]||o,height:y.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return _})),n.d(t,"b",(function(){return E}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),m=["sessionStorage","localStorage"],f=[].concat(m),p=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",a.setItem(i,i),a.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==a.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(r.a.mark((function t(){var n,a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(f),t.prev=3,n.s();case 5:if((a=n.n()).done){t.next=15;break}if(i=a.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(r.a.mark((function e(t){var n,a,i,o,c,s,l;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(a=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(i=JSON.parse(a),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(r.a.mark((function t(n,a){var i,o,s,l,u,d,m,f,p=arguments;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,s=void 0===o?c.b:o,l=i.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,m=void 0!==d&&d,t.next=3,b();case 3:if(!(f=t.sent)){t.next=14;break}return t.prev=5,f.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:a,isError:m})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(a=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(g).concat(n),a.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(r.a.mark((function t(){var n,a,i,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,a=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&a.push(o);return t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),E=function(){var e=o()(r.a.mark((function e(){var t,n,a,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,_();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((a=n.n()).done){e.next=16;break}return i=a.value,e.next=14,O(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},function(e,t){e.exports=googlesitekit.api},,function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var a=n(5),r=n.n(a),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(13),u=n(62),d=n(78),g=n(8);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){return e},b=function(){return{}},v=function(){},h=u.a.clearError,y=u.a.receiveError,O=function(e){var t,n,a=r.a.mark(x),i=e.baseName,c=e.controlCallback,u=e.reducerCallback,m=void 0===u?p:u,O=e.argsToParams,_=void 0===O?b:O,E=e.validateParams,k=void 0===E?v:E;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof m,"reducerCallback must be a function."),s()("function"==typeof _,"argsToParams must be a function."),s()("function"==typeof k,"validateParams must be a function.");try{k(_()),n=!1}catch(e){n=!0}var S=Object(d.b)(i),j=Object(d.a)(i),T="FETCH_".concat(j),A="START_".concat(T),N="FINISH_".concat(T),C="CATCH_".concat(T),w="RECEIVE_".concat(j),I="fetch".concat(S),M="receive".concat(S),R="isFetching".concat(S),D=o()({},R,{});function x(e,t){var n,o;return r.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,{payload:{params:e},type:A};case 2:return a.next=4,h(i,t);case 4:return a.prev=4,a.next=7,{payload:{params:e},type:T};case 7:return n=a.sent,a.next=10,L[M](n,e);case 10:return a.next=12,{payload:{params:e},type:N};case 12:a.next=21;break;case 14:return a.prev=14,a.t0=a.catch(4),o=a.t0,a.next=19,y(o,i,t);case 19:return a.next=21,{payload:{params:e},type:C};case 21:return a.abrupt("return",{response:n,error:o});case 22:case"end":return a.stop()}}),a,null,[[4,14]])}var L=(t={},o()(t,I,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=_.apply(void 0,t);return k(a),x(a,t)})),o()(t,M,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(l.isPlainObject)(t),"params is required."),k(t)):t={},{payload:{response:e,params:t},type:w}})),t),P=o()({},T,(function(e){var t=e.payload;return c(t.params)})),G=o()({},R,(function(e){if(void 0===e[R])return!1;var t;try{for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];t=_.apply(void 0,a),k(t)}catch(e){return!1}return!!e[R][Object(g.I)(t)]}));return{initialState:D,actions:L,controls:P,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case A:var r=a.params;return f(f({},e),{},o()({},R,f(f({},e[R]),{},o()({},Object(g.I)(r),!0))));case w:var i=a.response,c=a.params;return m(e,i,c);case N:var s=a.params;return f(f({},e),{},o()({},R,f(f({},e[R]),{},o()({},Object(g.I)(s),!1))));case C:var l=a.params;return f(f({},e),{},o()({},R,f(f({},e[R]),{},o()({},Object(g.I)(l),!1))));default:return e}},resolvers:{},selectors:G}}},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(22),r=n(18),i=a.n,o=a.l;function c(){var e=Object(r.a)();return e===a.n||e===a.o?i:e===a.l||e===a.m?o:null}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var a=n(3),r=n(19),i=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(i){var s=Object(a.useSelect)((function(e){return e(r.a).getModule(n)}),[n]);if(!s)return null;var l=o||i.WidgetNull||null;if(!1===s.active)return l&&e.createElement(l,i);if(!1===s.connected){var u=c||l;return u&&e.createElement(u,i)}return e.createElement(t,i)}return WhenActiveComponent.displayName="When".concat(Object(i.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(37);function r(e){return function(){e[a.a]=e[a.a]||[],e[a.a].push(arguments)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return I})),n.d(t,"g",(function(){return R})),n.d(t,"f",(function(){return D}));var a,r=n(5),i=n.n(r),o=n(27),c=n.n(o),s=n(7),l=n.n(s),u=n(11),d=n.n(u),g=n(57),m=n.n(g),f=n(13),p=n(111);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t.reduce((function(e,t){return v(v({},e),t)}),{}),r=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=C(r);return d()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),a},y=h,O=h,_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,r=[].concat(t);return"function"!=typeof r[0]&&(a=r.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.reduce((function(e,n){return n(e,t)}),e)}},E=h,k=h,S=h,j=function(e){return e},T=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:a,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:_.apply(void 0,[a].concat(c()(t.map((function(e){return e.reducer||j}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},A={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},N=(a={},l()(a,"GET_REGISTRY",Object(p.a)((function(e){return function(){return e}}))),l()(a,"AWAIT",(function(e){return e.payload.value})),a),C=function(e){for(var t=[],n={},a=0;a<e.length;a++){var r=e[a];n[r]=n[r]>=1?n[r]+1:1,n[r]>1&&t.push(r)}return t},w={actions:A,controls:N,reducer:j},I=function(e){return function(t){return M(e(t))}},M=m()((function(e){return Object(f.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,a=void 0!==n&&n,r=Object(p.b)((function(t){return function(n){var r=!a,i=!!a;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),r}catch(e){return i}}})),i=Object(p.b)((function(t){return function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++)r[i-1]=arguments[i];e.apply(void 0,[t,n].concat(r))}}));return{safeSelector:r,dangerousSelector:i}}function D(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var a=n(22),r="core/notifications",i={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[a.n,a.l,a.o,a.m]},function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return _})),n.d(t,"j",(function(){return E}));var a=n(11),r=n.n(a),i=n(13),o=n(9),c=n(8);n.d(t,"a",(function(){return c.y}));var s=n(146),l=n(228),u=n(95),d=n(272);function g(e){return e===o.a||Object(c.y)(e)}function m(e){return"string"==typeof e&&/^\d+$/.test(e)}function f(e){return e===o.q||m(e)}function p(e){return"string"==typeof e&&/^\d+$/.test(e)}function b(e){return e===o.x||p(e)}function v(e){return"string"==typeof e&&e.trim().length>0}function h(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function y(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function O(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 report must be an object."),r()(Object(s.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(l.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,d=t.orderby;r()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),r()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&r()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function _(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),r()(Object(s.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(l.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,g=t.pivots,m=t.orderby,f=t.limit;r()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),r()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r()(Object(d.a)(g),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),m&&r()(Array.isArray(m),"orderby for an Analytics 4 pivot report must be passed within a pivot."),f&&r()("number"==typeof f,"limit for an Analytics 4 pivot report must be passed within a pivot."),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function E(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];r()(Object(i.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){r()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){r()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),r()(Object(i.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v}));var a=n(7),r=n.n(a),i=n(33),o=n.n(i),c=n(111),s=n(11),l=n.n(s),u=n(94),d=n.n(u),g=n(8);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var b={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(e,"error is required."),l()(t,"baseName is required."),l()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return l()(e,"baseName is required."),l()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){l()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"selectorName is required."),t.getError(e,n,a)},getErrorForAction:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"actionName is required."),t.getError(e,n,a)},getError:function(e,t,n){var a=e.errors;return l()(t,"baseName is required."),a[p(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,a){var r=t(e).getMetaDataForError(a);if(r){var i=r.baseName,o=r.args;if(!!t(e)[i])return{storeName:e,name:i,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ERROR":var i=a.baseName,o=a.args,c=a.error,s=p(i,o);return f(f({},e),{},{errors:f(f({},e.errors||{}),{},r()({},s,c)),errorArgs:f(f({},e.errorArgs||{}),{},r()({},s,o))});case"CLEAR_ERROR":var l=a.baseName,u=a.args,d=f({},e),g=p(l,u);return d.errors=f({},e.errors||{}),d.errorArgs=f({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var m=a.baseName,b=f({},e);if(m)for(var v in b.errors=f({},e.errors||{}),b.errorArgs=f({},e.errorArgs||{}),b.errors)(v===m||v.startsWith("".concat(m,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=Object(a.createContext)(""),i=(r.Consumer,r.Provider);t.b=r},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="modules/search-console",r=1},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),g=n.n(d),m=n(1),f=n.n(m),p=n(12),b=n.n(p),v=n(221),h=n(222),y=n(91),O=n(79),_=n(0),E=n(109),k=n(3),S=n(17),j=n(89),T=n(41),A=n(25),N=n(195),C=n(196),w=n(197),I=n(201),M=n(202),R=n(74),D=n(113),x=n(121),L=n(32),P=n(203);function BannerNotification(t){var n,a=t.badgeLabel,i=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,m=t.ctaLink,f=t.ctaTarget,p=t.description,G=t.dismiss,Z=t.dismissExpires,B=void 0===Z?0:Z,U=t.format,F=void 0===U?"":U,z=t.id,W=t.isDismissible,V=void 0===W||W,H=t.learnMoreDescription,q=t.learnMoreLabel,K=t.learnMoreURL,Y=t.learnMoreTarget,J=void 0===Y?R.a.EXTERNAL:Y,$=t.logo,X=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,ae=t.onLearnMoreClick,re=t.showOnce,ie=void 0!==re&&re,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,me=void 0===ge?75:ge,fe=t.smallWinImageSVGHeight,pe=void 0===fe?75:fe,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,ye=void 0===he?105:he,Oe=t.rounded,_e=void 0!==Oe&&Oe,Ee=t.footer,ke=t.secondaryPane,Se=t.ctaComponent,je=Object(_.useState)(!1),Te=g()(je,2),Ae=Te[0],Ne=Te[1],Ce=Object(_.useState)(!1),we=g()(Ce,2),Ie=we[0],Me=we[1],Re="notification::dismissed::".concat(z),De=function(){return Object(T.f)(Re,new Date,{ttl:null})},xe=Object(O.a)(),Le=Object(A.e)(),Pe=Object(v.a)(),Ge=Object(_.useState)(!1),Ze=g()(Ge,2),Be=Ze[0],Ue=Ze[1],Fe=Object(_.useRef)(),ze=Object(h.a)(Fe,{rootMargin:"".concat(-Object(x.a)(Object(j.c)(Le)),"px 0px 0px 0px"),threshold:0});Object(_.useEffect)((function(){!Be&&(null==ze?void 0:ze.isIntersecting)&&("function"==typeof te&&te(),Ue(!0))}),[z,te,Be,ze]);var We=xe>=600;Object(y.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,$e();case 3:if(!V){e.next=9;break}return e.next=6,Object(T.d)(Re);case 6:t=e.sent,n=t.cacheHit,Me(n);case 9:if(!ie){e.next=12;break}return e.next=12,De();case 12:case"end":return e.stop()}}),e)}))));var Ve=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:qe();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=Object(E.a)(m)&&"_blank"!==f,qe=function(){return He||Ne(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,De();case 2:Pe()&&Me(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Ke=Object(k.useSelect)((function(e){return!!m&&e(L.a).isNavigatingTo(m)})),Ye=Object(k.useDispatch)(L.a).navigateTo,Je=function(){var e=u()(s.a.mark((function e(t){var n,a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),He&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:a=e.t0,r=a.dismissOnCTAClick,n=void 0===r||r;case 12:if(!V||!n){e.next=15;break}return e.next=15,qe();case 15:He&&Ye(m);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.d)(Re);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((a=new Date(n)).setSeconds(a.getSeconds()+parseInt(B,10)),!(a<new Date)){e.next=10;break}return e.next=10,Object(T.c)(Re);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Ke&&V&&(void 0===Ie||Ie))return null;var Xe=!Ke&&Ae?"is-closed":"is-open",Qe=Object(D.d)(F),et=Object(D.c)(F),tt=Object(D.a)(F),nt=Object(D.b)({format:F,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!le});return e.createElement(N.a,{id:z,className:b()(l,(n={},o()(n,"googlesitekit-publisher-win--".concat(F),F),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat(Xe),Xe),o()(n,"googlesitekit-publisher-win--rounded",_e),n)),secondaryPane:ke,ref:Fe},$&&e.createElement(M.a,{module:X,moduleName:Q}),oe&&e.createElement(S.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(S.a,r()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(C.a,{title:ce,badgeLabel:a,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:me,winImageFormat:F,WinImageSVG:!We&&de?le:void 0}),e.createElement(P.a,{description:p,learnMoreURL:K,learnMoreLabel:q,learnMoreTarget:J,learnMoreDescription:H,onLearnMoreClick:ae}),i,e.createElement(w.a,{ctaLink:m,ctaLabel:d,ctaComponent:Se,ctaTarget:f,ctaCallback:Je,dismissLabel:V?G:void 0,dismissCallback:Ve}),Ee&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},Ee)),le&&(We||!de)&&e.createElement(S.a,r()({},Qe,et,{alignBottom:"larger"===F,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},e.createElement(le,{style:{maxWidth:ve,maxHeight:ye}}))),e.createElement(I.a,{type:se}))}n.d(t,"a",(function(){return R.a})),BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,learnMoreTarget:f.a.oneOf(Object.values(R.a)),WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onView:f.a.func,onDismiss:f.a.func,onLearnMoreClick:f.a.func,badgeLabel:f.a.string,rounded:f.a.bool,footer:f.a.node,secondaryPane:f.a.node,showSmallWinImage:f.a.bool,smallWinImageSVGWidth:f.a.number,smallWinImageSVGHeight:f.a.number,mediumWinImageSVGWidth:f.a.number,mediumWinImageSVGHeight:f.a.number}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,a=t.reconnectURL,r=t.noPrefix;if(!n)return null;var s=n;void 0!==r&&r||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),a&&Object(i.a)(a)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),a));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string,noPrefix:r.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y}));var a=n(7),r=n.n(a),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return i.createElement("svg",l({viewBox:"0 0 2 11"},e),u)},m=n(182),f=n(92),p="warning",b="info",v="suggestion",h=(d={},r()(d,b,s),r()(d,p,m.a),r()(d,v,g),d),y=function(e){return h[e]||f.a}},,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=a.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return a.createElement("svg",r({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n(33),r=n.n(a),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var a="mainDashboardKeyMetrics",r="mainDashboardTraffic",i="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",s="entityDashboardTraffic",l="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:a,CONTEXT_MAIN_DASHBOARD_TRAFFIC:r,CONTEXT_MAIN_DASHBOARD_CONTENT:i,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:s,CONTEXT_ENTITY_DASHBOARD_CONTENT:l,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";var a=n(15),r=n.n(a),i=n(271),o=n(1),c=n.n(o),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,a=Object(s.useState)(document.createElement("div")),o=r()(a,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var a=n(1),r=n.n(a);function IconWrapper(t){var n=t.children,a=t.marginLeft,r=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:a,marginRight:r}},n)}IconWrapper.propTypes={children:r.a.node.isRequired,marginLeft:r.a.number,marginRight:r.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i}));var a=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},r=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return a.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var a=n(145),r=n.n(a)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return T})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return N}));var a=n(15),r=n.n(a),i=n(33),o=n.n(i),c=n(7),s=n.n(c),l=n(23),u=n.n(l),d=n(13),g=n(57),m=n.n(g),f=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),a=n.formatUnit,r=n.formatDecimal;try{return a()}catch(e){return r()}},h=function(e){var t=y(e),n=t.hours,a=t.minutes,r=t.seconds;return r=("0"+r).slice(-2),a=("0"+a).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(a,":").concat(r):"".concat(n,":").concat(a,":").concat(r)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),a=n.hours,r=n.minutes,i=n.seconds;return{hours:a,minutes:r,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?T(i,b(b({},o),{},{unit:"second"})):Object(f.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?T(i,b(b({},o),{},{unit:"second"})):"",r?T(r,b(b({},o),{},{unit:"minute"})):"",a?T(a,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(f.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(f.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(f.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(f.__)("%dm","google-site-kit"),r),o=Object(f.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(f.__)("%dh","google-site-kit"),a);return Object(f.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",r?n:"",a?o:"").trim()}}},_=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in millions. Object(f.__)("%sM","google-site-kit"),T(_(e),e%10==0?{}:t)):1e4<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands. Object(f.__)("%sK","google-site-kit"),T(_(e))):1e3<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands. Object(f.__)("%sK","google-site-kit"),T(_(e),e%10==0?{}:t)):T(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),a=n.style,r=void 0===a?"metric":a;return"metric"===r?E(e):"duration"===r?v(e,n):"durationISO"===r?h(e):T(e,n)}var j=m()(console.warn),T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?N():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(a,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(a),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(i);d<g.length;d++){var m=r()(g[d],2),f=m[0],p=m[1];c[f]&&p===c[f]||(s.includes(f)||(l[f]=p))}try{return new Intl.NumberFormat(a,l).format(e)}catch(t){return new Intl.NumberFormat(a).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?N():n,r=t.style,i=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(a,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(f.__)(", ","google-site-kit");return e.join(l)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var a=n.match(/^(\w{2})?(_)?(\w{2})/);if(a&&a[0])return a[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var a=n(109);function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(a.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var i=r.length-Math.floor(t)+1;return"…"+r.substr(i)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var a="mainDashboardKeyMetricsPrimary",r="mainDashboardTrafficPrimary",i="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",l="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:a,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:r,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:l,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(10),s=n(20);function CTA(t){var n=t.title,a=t.headerText,r=t.headerContent,i=t.description,l=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,m=t.error,f=t.onClick,p=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":m})},(a||r)&&e.createElement("div",{className:"googlesitekit-cta__header"},a&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},a),r),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:l,onClick:f},u),u&&"link"===g&&e.createElement(s.a,{href:l,onClick:f,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:r.a.string.isRequired,headerText:r.a.string,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,ctaType:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func,children:r.a.node,headerContent:r.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,a=t.invertColor,r=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":a}),width:r,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(11),r=n.n(a),i=function(e,t){var n=t.dateRangeLength;r()(Array.isArray(e),"report must be an array to partition."),r()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var a=-1*n;return{currentRange:e.slice(a),compareRange:e.slice(2*a,a)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(25),r=n(121);function i(t,n){var a=document.querySelector(t);if(!a)return 0;var r=a.getBoundingClientRect().top,i=o(n);return r+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===a.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==a.b?t.offsetHeight:0}(t),(n=Object(r.a)(n))<0?0:n}}).call(this,n(26))},,,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.label,i=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",r()({ref:n},u,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":l})}),a)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var a=n(33),r=n.n(a),i=n(13),o=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var a="string"==typeof e.expression;return n&&a}),t)}function s(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function l(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(r()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(r()(e))}));if(Object(i.isPlainObject)(e[n])){var a=Object.keys(e[n]);return a.includes("filterType")&&a.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(r()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(r()(e))}));if(Object(i.isPlainObject)(e[n])){var a=Object.keys(e[n]);if(a.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(a.includes("filterType")&&"numericFilter"===e[n].filterType||!a.includes("filterType"))return!(a.includes("value")&&Object(i.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(a.includes("operation")&&a.includes("value"));if(a.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(a.includes(t)&&Object(i.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return a.includes("fromValue")&&a.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(i.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},,function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(220),r=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(a.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var a=n(7),r=n.n(a),i=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=l(l({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(r,n),d=Object(c.a)(r,n,s,a),g={},m=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=JSON.stringify(t);g[a]||(g[a]=Object(i.once)(d)),g[a].apply(g,t)};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:d,trackEventOnce:m}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var a=n(58),r=n(37),i=n(44);function o(t,n){var o,c=Object(a.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,m=t.isAuthenticated,f=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(r.b,"]"))),!o){o=!0;var a=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:f||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:m?"1":"0",user_properties:{user_roles:a,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(r.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(5),r=n.n(a),i=n(7),o=n.n(i),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,a){var i=Object(l.a)(t);return function(){var t=s()(r.a.mark((function t(o,c,s,l){var u;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(r),e()};i("event",c,d(d({},u),{},{event_callback:s})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,a,r){return t.apply(this,arguments)}}()}},,,function(e,t,n){"use strict";var a=n(123);n.d(t,"a",(function(){return a.a}));var r=n(124);n.d(t,"c",(function(){return r.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return a?e.createElement("span",r()({},i,{className:u()("screen-reader-text",n)}),a):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var r=n(7),i=n.n(r),o=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),d=n(3),g=n(24),m=n(6),f=n(36),p=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},y={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},_="feature_tooltip_view",E="feature_tooltip_advance",k="feature_tooltip_return",S="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,r=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(r,"-step"),T="".concat(r,"-run"),A=Object(d.useDispatch)(g.b).setValue,N=Object(d.useDispatch)(m.a).dismissTour,C=Object(d.useRegistry)(),w=Object(b.a)(),I=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),M=Object(d.useSelect)((function(e){return e(g.b).getValue(T)&&!1===e(m.a).isTourDismissed(r)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),A(T,!0)}));var R=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return a.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,a=e.lifecycle,r=e.size,i=e.status,o=e.type,l=t+1,u="function"==typeof s?s(w):s;o===c.b.TOOLTIP&&a===c.c.TOOLTIP?Object(f.b)(u,_,l):n===c.a.CLOSE&&a===c.c.COMPLETE?Object(f.b)(u,S,l):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&r===l&&Object(f.b)(u,j,l),a===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(f.b)(u,k,l),n===c.a.NEXT&&Object(f.b)(u,E,l))}(t);var n=t.action,a=t.index,i=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,m=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(i),b=g&&d===c.b.STEP_AFTER,v=p||b;if(c.b.STEP_BEFORE===d){var h,y,O=o.target;"string"==typeof o.target&&(O=e.document.querySelector(o.target)),null===(h=O)||void 0===h||null===(y=h.scrollIntoView)||void 0===y||y.call(h,{block:"center"})}m?function(e,t){A(u,e+(t===c.a.PREV?-1:1))}(a,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),N(r)),l&&l(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:y,run:M,showProgress:!0,stepIndex:I,steps:R,styles:h,tooltipComponent:p.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var a=n(415);n.d(t,"a",(function(){return a.a}));var r=n(416);n.d(t,"b",(function(){return r.a}));var i=n(417);n.d(t,"c",(function(){return i.a}));var o=n(418);n.d(t,"d",(function(){return o.a}));var c=n(419);n.d(t,"e",(function(){return c.a}));var s=n(420);n.d(t,"f",(function(){return s.a}));var l=n(255);n.d(t,"g",(function(){return l.a}));var u=n(189);n.d(t,"h",(function(){return u.a}));n(421)},,,function(e,t,n){"use strict";var a=n(224);n.d(t,"b",(function(){return a.a}));var r=n(160);n.d(t,"c",(function(){return r.a}));var i=n(225);n.d(t,"a",(function(){return i.a}))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",r()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function a(e){var t=e.format,n=void 0===t?"small":t,a=e.hasErrorOrWarning,r=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=i(n);return Object.keys(c).forEach((function(e){var t=c[e];a&&(t-=1),r&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var r=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(200),s=n(38),l=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,a=void 0===n?"":n,r=t.dialogActive,i=void 0!==r&&r,g=t.handleDialog,m=void 0===g?null:g,f=t.onOpen,p=void 0===f?null:f,b=t.onClose,v=void 0===b?null:b,h=t.title,y=void 0===h?null:h,O=t.provides,_=t.handleConfirm,E=t.subtitle,k=t.confirmButton,S=void 0===k?null:k,j=t.dependentModules,T=t.danger,A=void 0!==T&&T,N=t.inProgress,C=void 0!==N&&N,w=t.small,I=void 0!==w&&w,M=t.medium,R=void 0!==M&&M,D=t.buttonLink,x=void 0===D?null:D,L=Object(c.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(L),G=!(!O||!O.length);return e.createElement(u.Dialog,{open:i,onOpen:p,onClose:v,"aria-describedby":G?P:void 0,tabIndex:"-1",className:o()(a,{"googlesitekit-dialog-sm":I,"googlesitekit-dialog-md":R})},e.createElement(u.DialogTitle,null,A&&e.createElement(d.a,{width:28,height:28}),y),E?e.createElement("p",{className:"mdc-dialog__lead"},E):[],e.createElement(u.DialogContent,null,G&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(l.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(l.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:m,disabled:C},Object(l.__)("Cancel","google-site-kit")),x?e.createElement(u.Button,{href:x,onClick:_,target:"_blank",danger:A},S):e.createElement(u.SpinnerButton,{onClick:_,danger:A,disabled:C,isSaving:C},S||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r.a.string,dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,onOpen:r.a.func,onClose:r.a.func,title:r.a.string,confirmButton:r.a.string,danger:r.a.bool,small:r.a.bool,medium:r.a.bool,buttonLink:r.a.string},t.a=ModalDialog}).call(this,n(4))},function(e,t,n){"use strict";var a=n(343),r=n(339);n.d(t,"b",(function(){return r.a}));var i=n(340);n.d(t,"c",(function(){return i.a}));var o=n(341);n.d(t,"d",(function(){return o.a}));var c=n(342);n.d(t,"a",(function(){return c.a})),t.e=a.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(3),s=n(10),l=n(34),u=n(67);function ErrorNotice(t){var n,a=t.error,r=t.hasButton,d=void 0!==r&&r,g=t.storeName,m=t.message,f=void 0===m?a.message:m,p=t.noPrefix,b=void 0!==p&&p,v=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(a):null})),O=Object(i.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!a||Object(l.f)(a))return null;var _=d&&Object(l.d)(a,y);return d||(f=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),f)),e.createElement(i.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:f,reconnectURL:null===(n=a.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),_&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),hasButton:r.a.bool,storeName:r.a.string,message:r.a.string,noPrefix:r.a.bool,Icon:r.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),g=n(14),m=n(19),f=n(34),p=n(35),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,a=t.error,r=t.GetHelpLink,i=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,y=t.onRequestAccess,O=t.getHelpClassName,_=t.RequestAccessButton,E=t.RetryButton,k=Object(p.a)(),S=Object(u.useSelect)((function(e){return e(m.a).getModuleStoreName(n)})),j=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(S))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(S).getServiceEntityAccessURL():null})),T=Array.isArray(a)?a:[a],A=Object(u.useSelect)((function(e){return T.map((function(t){var n,a=null===(n=e(S))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:a})}))})),N=null==A?void 0:A.filter((function(e){return Object(f.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),C=!!N.length,w=Object(u.useSelect)((function(e){var t=h({},C?N[0]:T[0]);return Object(f.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),I=Object(u.useDispatch)(),M=T.some((function(e){return Object(f.e)(e)})),R=Object(c.useCallback)((function(){N.forEach((function(e){var t=e.selectorData;I(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[I,N,v]),D=j&&M&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},D&&("function"==typeof _?e.createElement(_,{requestAccessURL:j}):e.createElement(d.Button,{onClick:y,href:j,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Request access","google-site-kit"))),C&&e.createElement(c.Fragment,null,"function"==typeof E?e.createElement(E,{handleRetry:R}):e.createElement(d.Button,{onClick:R,danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Retry","google-site-kit")),!i&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:w,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!C&&!i&&e.createElement("div",{className:O},"function"==typeof r?e.createElement(r,{linkURL:w}):e.createElement(b.a,{href:w,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(3),i=n(46);function o(e,t,n){var o=Object(r.useDispatch)(i.a),c=o.setWidgetState,s=o.unsetWidgetState;Object(a.useEffect)((function(){return c(e,t,n),function(){s(e,t,n)}}),[e,t,n,c,s])}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return a.createElement("svg",r({viewBox:"0 0 14 14",fill:"none"},e),i)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(18),i=n(8);function o(e){var t=Object(r.a)(),n="".concat(t,"_").concat(e);return{view:Object(a.useCallback)((function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return i.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(a.useCallback)((function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return i.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(a.useCallback)((function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return i.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(a.useCallback)((function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return i.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(13),r=function(e){return Object(a.isFinite)(e)?e:0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(10),s=n(277);function InfoTooltip(t){var n=t.onOpen,a=t.title,i=t.tooltipClassName;return a?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:r()("googlesitekit-info-tooltip__content",i),title:a,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(s.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:o.a.func,title:o.a.oneOfType([o.a.string,o.a.element]),tooltipClassName:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(12),g=n.n(d);function Cell(t){var n,a=t.className,i=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,m=t.smAlignRight,f=t.mdAlignRight,p=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,_=t.mdOrder,E=t.lgSize,k=t.lgStart,S=t.lgOrder,j=t.size,T=t.children,A=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},A,{className:g()(a,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":m,"mdc-layout-grid__cell--align-right-tablet":f,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),T)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",r()({ref:n,className:u()("mdc-layout-grid__inner",a)},c),i)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":a,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":i})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),a.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return a.createElement("svg",r({viewBox:"0 0 13 13"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),a.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return a.createElement("svg",r({viewBox:"0 0 13 13"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return a.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(401),r=function(e,t,n){Object(a.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var a=n(21),r=n.n(a),i=n(166),o=n.n(i),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(10),g=n(167),m=n(119);function TourTooltip(t){var n=t.backProps,a=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,f=t.step,p=t.tooltipProps,b=u>1?Object(g.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",r()({className:s()("googlesitekit-tour-tooltip",f.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},f.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},f.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),f.cta,l.title&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,r()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(m.a,{width:"14",height:"14"})},a))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectGA4CTATileWidget}));var a=n(1),r=n.n(a),i=n(3),o=n(515),c=n(118),s=n(6),l=n(92),u={moduleSlug:"analytics-4"};function ConnectGA4CTATileWidget(t){var n=t.Widget,a=t.widgetSlug,r=Object(i.useSelect)((function(e){var t=e(s.a).getKeyMetrics();return t?t.filter((function(e){return s.Q.includes(e)})).length:[]}))>3?l.a:o.a;return Object(c.a)(a,r,u),e.createElement(n,null,e.createElement(o.a,u))}ConnectGA4CTATileWidget.propTypes={Widget:r.a.elementType.isRequired,widgetSlug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return g})),n.d(t,"i",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"n",(function(){return p})),n.d(t,"r",(function(){return b})),n.d(t,"m",(function(){return v})),n.d(t,"p",(function(){return h})),n.d(t,"q",(function(){return y})),n.d(t,"o",(function(){return O})),n.d(t,"t",(function(){return _})),n.d(t,"s",(function(){return E}));var a="disapproved",r="graylisted",i="pending",o="approved",c="needs-attention",s="ready",l="client-requires-review",u="client-getting-ready",d="none",g="multiple",m="no-client",f="added",p="needs-attention",b="requires-review",v="getting-ready",h="ready",y="ready-no-auto-ads",O="none",_=[a,r,i,o],E=function(e){return e===r||e===i}},,function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,a=t.href,r=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:a,external:i})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a.a})),n.d(t,"c",(function(){return r.a})),n.d(t,"b",(function(){return i.a})),n.d(t,"g",(function(){return o.a})),n.d(t,"d",(function(){return c.a})),n.d(t,"e",(function(){return s.a})),n.d(t,"f",(function(){return l.a})),n.d(t,"h",(function(){return ZeroDataMessage}));var a=n(537),r=n(538),i=n(539),o=(n(330),n(540)),c=n(541),s=n(507),l=(n(402),n(373),n(542)),u=n(1),d=n.n(u),g=n(2),m=n(3),f=n(14);function ZeroDataMessage(e){var t=e.skipPrefix,n=Object(m.useSelect)((function(e){return e(f.c).getCurrentEntityURL()}));return t?n?Object(g.__)("Your page hasn’t received any visitors yet","google-site-kit"):Object(g.__)("Your site hasn’t received any visitors yet","google-site-kit"):n?Object(g.__)("No data to display: your page hasn’t received any visitors yet","google-site-kit"):Object(g.__)("No data to display: your site hasn’t received any visitors yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:d.a.bool}},function(e,t,n){"use strict";(function(e,a){var r=n(50),i=n.n(r),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),g=n(49),m=n.n(g),f=n(1),p=n.n(f),b=n(0),v=n(2),h=n(67);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=m()(e);if(t){var r=m()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return d()(this,n)}}var O=function(t){l()(MediaErrorHandler,t);var n=y(MediaErrorHandler);function MediaErrorHandler(e){var t;return i()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?a.createElement(h.a,{message:n}):t}}]),MediaErrorHandler}(b.Component);O.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},O.propTypes={children:p.a.node.isRequired,errorMessage:p.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},,,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),a.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),a.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),a.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return a.createElement("svg",r({viewBox:"0 0 43 44"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var a=n(1),r=n.n(a),i=n(3),o=n(116),c=n(19),s=n(34),l=n(150);function StoreErrorNotices(t){var n=t.hasButton,a=void 0!==n&&n,r=t.moduleSlug,u=t.storeName,d=Object(i.useSelect)((function(e){return e(u).getErrors()})),g=Object(i.useSelect)((function(e){return e(c.a).getModule(r)})),m=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||m.includes(e.message))&&(m.push(e.message),!0)})).map((function(t,n){var r=t.message;return Object(s.e)(t)&&(r=Object(l.a)(r,g)),e.createElement(o.a,{key:n,error:t,hasButton:a,storeName:u,message:r})}))}StoreErrorNotices.propTypes={hasButton:r.a.bool,storeName:r.a.string.isRequired,moduleSlug:r.a.string}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var a=n(33),r=n.n(a);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===r()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,a=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return a&&r}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},,function(e,t,n){"use strict";var a=n(159);n.d(t,"c",(function(){return a.a}));var r=n(68);n.d(t,"b",(function(){return r.c})),n.d(t,"a",(function(){return r.a}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,i=void 0===r?"":r,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(a.sprintf)( /* translators: %s: module name */ Object(a.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(a.sprintf)( /* translators: %s: owner name */ Object(a.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(a.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},,function(e,t,n){"use strict";var a=n(633);n.d(t,"a",(function(){return a.a}));var r=n(634);n.d(t,"b",(function(){return r.a}));var i=n(635);n.d(t,"d",(function(){return i.a}));var o=n(636);n.d(t,"f",(function(){return o.a}));var c=n(637);n.d(t,"e",(function(){return c.a}));n(577);var s=n(388);n.d(t,"c",(function(){return s.c}));n(578)},,function(e,t,n){"use strict";var a=n(0),r=Object(a.createContext)(!1);t.a=r},,,,,function(e,t,n){"use strict";(function(e){var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(2),s=n(3),l=n(198),u=n(211),d=n(68),g=n(6),m=n(10),f=n(0),p=Object(f.forwardRef)((function(t,n){var a=t.className,i=t.children,o=t.type,f=t.dismiss,p=void 0===f?"":f,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,y=t.Icon,O=void 0===y?Object(d.d)(o):y,_=t.OuterCTA,E=Object(s.useDispatch)(g.a).dismissItem,k=Object(s.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&k)return null;var S=i?u.a:l.a;return e.createElement("div",{ref:n,className:r()(a,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!i,"googlesitekit-settings-notice--multi-row":i})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(S,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(m.Button,{tertiary:!0,onClick:function(){E(p),b()}},h)),_&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(_,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(3),r=n(24);function i(e){return Object(a.useSelect)((function(t){return t(r.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(232),r=n(13),i=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(a.b)((function(){return r.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,a=t.query,i=t.hash,c=o()(t,["path","query","hash"]),s=Object(l.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:a,hash:i})}));return e.createElement(d.a,r()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(355);function r(e){return Object(a.a)(e)}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var a=n(1),r=n.n(a),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,a=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:a}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:r.a.string,componentStack:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(22),r=function(e){return a.f.includes(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(3),r=n(24),i=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(a.useSelect)((function(t){return!!t(r.b).getValue(i(e))}),[e])}o.getKey=i},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(8);function ChangeBadge(t){var n=t.previousValue,a=t.currentValue,r=t.isAbsolute?a-n:Object(c.h)(n,a),i=r<0,s=0===r;return null===r?null:e.createElement("div",{className:o()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":i,"googlesitekit-change-badge--zero":s})},Object(c.C)(r,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:r.a.bool,previousValue:r.a.number.isRequired,currentValue:r.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var a=n(7),r=n.n(a),i=n(2),o=n(6),c=n(14),s=n(9),l=n(44);function u(e,t,n){return!!Object(l.b)("conversionReporting")&&(e(s.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(o.a).isKeyMetricActive(n))}var d,g=n(30);function m(e,t){return!t||!(!t||!e(s.p).getAdSenseLinked())}function f(e,t){return!t||e(s.p).hasCustomDimensions(this.requiredCustomDimensions)}var p=(d={},r()(d,o.f,{title:Object(i.__)("Top earning pages","google-site-kit"),description:Object(i.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(i.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.y,{title:Object(i.__)("Top recent trending pages","google-site-kit"),description:Object(i.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(i.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:f,displayInWidgetArea:f,displayInList:f,metadata:{group:g.d.SLUG}}),r()(d,o.l,{title:Object(i.__)("Most popular authors by pageviews","google-site-kit"),description:Object(i.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(i.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:f,displayInWidgetArea:f,displayInList:f,metadata:{group:g.d.SLUG}}),r()(d,o.p,{title:Object(i.__)("Top categories by pageviews","google-site-kit"),description:Object(i.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(i.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:f,displayInWidgetArea:f,displayInList:f,metadata:{group:g.d.SLUG}}),r()(d,o.m,{title:Object(i.__)("Most popular content by pageviews","google-site-kit"),description:Object(i.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(i.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.n,{title:Object(i.__)("Most popular products by pageviews","google-site-kit"),description:Object(i.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(o.a).isKeyMetricActive(o.n)||e(c.c).getProductPostType()},displayInWidgetArea:f,metadata:{group:g.g.SLUG}}),r()(d,o.k,{title:Object(i.__)("Pages per visit","google-site-kit"),description:Object(i.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(i.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.F,{title:Object(i.__)("Visit length","google-site-kit"),description:Object(i.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(i.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.E,{title:Object(i.__)("Visits per visitor","google-site-kit"),description:Object(i.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(i.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.i,{title:Object(i.__)("Most engaging pages","google-site-kit"),description:Object(i.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(i.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.h,{title:Object(i.__)("Least engaging pages","google-site-kit"),description:Object(i.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(i.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.z,{title:Object(i.__)("Top pages by returning visitors","google-site-kit"),description:Object(i.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(i.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.j,{title:Object(i.__)("New visitors","google-site-kit"),description:Object(i.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(i.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.o,{title:Object(i.__)("Returning visitors","google-site-kit"),description:Object(i.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(i.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.A,{title:Object(i.__)("Top traffic source","google-site-kit"),description:Object(i.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(i.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.B,{title:Object(i.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(i.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(i.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.C,{title:Object(i.__)("Top traffic source driving leads","google-site-kit"),description:Object(i.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(i.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.D,{title:Object(i.__)("Top traffic source driving purchases","google-site-kit"),description:Object(i.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(i.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.g,{title:Object(i.__)("Most engaged traffic source","google-site-kit"),description:Object(i.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(i.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.u,{title:Object(i.__)("Top converting traffic source","google-site-kit"),description:Object(i.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(i.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.q,{title:Object(i.__)("Top cities driving traffic","google-site-kit"),description:Object(i.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(i.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.s,{title:Object(i.__)("Top cities driving leads","google-site-kit"),description:Object(i.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(i.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.r,{title:Object(i.__)("Top cities driving add to cart","google-site-kit"),description:Object(i.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(i.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.t,{title:Object(i.__)("Top cities driving purchases","google-site-kit"),description:Object(i.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(i.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.w,{title:Object(i.__)("Top device driving purchases","google-site-kit"),description:Object(i.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(i.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.v,{title:Object(i.__)("Top countries driving traffic","google-site-kit"),description:Object(i.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(i.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.G,{title:Object(i.__)("Top performing keywords","google-site-kit"),description:Object(i.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(i.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.x,{title:Object(i.__)("Top pages driving leads","google-site-kit"),description:Object(i.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),d)},,function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,a=t.href,i=t.gaEventLabel,c=Object(g.a)(),s=Object(l.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",i);case 3:case"end":return e.stop()}}),e)}))),[i,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:a,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(6),d=n(19),g=n(32),m=n(36),f=n(18);function p(e){var t=Object(f.a)(),n=Object(s.useSelect)((function(t){return t(d.a).getModule(e)})),a=Object(s.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),i=Object(s.useDispatch)(d.a).activateModule,p=Object(s.useDispatch)(g.a).navigateTo,b=Object(s.useDispatch)(l.c).setInternalServerError,v=Object(c.useCallback)(o()(r.a.mark((function n(){var a,o,c;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(e);case 2:if(a=n.sent,o=a.error,c=a.response,o){n.next=11;break}return n.next=8,Object(m.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:b({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[i,e,p,b,t]);return(null==n?void 0:n.name)&&a?v:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,a=t.size,i=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,r()({width:a,height:a},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var a=n(7),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function LoadingWrapper(t){var n=t.loading,a=t.children,r=o()(t,["loading","children"]);return n?e.createElement(l.a,r):a}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},l.a.propTypes)}).call(this,n(4))},function(e,t){e.exports=googlesitekit.modules},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(3),s=n(18),l=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Notifications(t){var n,a=t.areaSlug,i=Object(s.a)(),o=Object(c.useSelect)((function(e){return e(l.a).getQueuedNotifications(i)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==a)return null;var g=o[0],m=g.id,f=g.Component,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(m));return e.createElement(f,p)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return a.createElement("svg",r({viewBox:"0 0 2 12"},e),i)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return A})),n.d(t,"d",(function(){return N})),n.d(t,"e",(function(){return C}));var a=n(16),r=n.n(a),i=n(5),o=n.n(i),c=n(7),s=n.n(c),l=n(11),u=n.n(l),d=n(13),g=n(42),m=n.n(g),f=n(3),p=n(59),b=n(78),v=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=h.a.clearError,E=h.a.receiveError,k="cannot submit changes while submitting changes",S="cannot submit changes if settings have not changed",j=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=a.ownedSettingsSlugs,i=void 0===r?void 0:r,c=a.storeName,l=void 0===c?void 0:c,g=a.settingSlugs,h=void 0===g?[]:g,y=a.initialSettings,k=void 0===y?void 0:y,S=a.validateHaveSettingsChanged,j=void 0===S?C():S;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var T=l||"".concat(e,"/").concat(t),A={ownedSettingsSlugs:i,settings:k,savedSettings:void 0},N=Object(v.a)({baseName:"getSettings",controlCallback:function(){return m.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),w=Object(v.a)({baseName:"saveSettings",controlCallback:function(a){var r=a.values;return m.a.set(e,t,n,r)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(Object(d.isPlainObject)(t),"values is required.")}}),I={},M={setSettings:function(e){return u()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,a,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_("saveSettings",[]);case 5:return n=t.select(T).getSettings(),e.next=8,w.actions.fetchSaveSettings(n);case 8:if(a=e.sent,r=a.response,!(i=a.error)){e.next=14;break}return e.next=14,E(i,"saveSettings",[]);case 14:return e.abrupt("return",{response:r,error:i});case 15:case"end":return e.stop()}}),e)}))},R={},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"SET_SETTINGS":var r=a.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),r)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==I[n]?I[n](e,{type:n,payload:a}):e}},x={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:if(t=e.sent,t.select(T).getSettings()){e.next=7;break}return e.next=7,N.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},L=Object(p.g)(j),P=L.safeSelector,G=L.dangerousSelector,Z={haveSettingsChanged:P,__dangerousHaveSettingsChanged:G,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,a=e.savedSettings;return!(!n||!a)&&!Object(d.isEqual)(n[t],a[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(f.createRegistrySelector)((function(e){return function(){var t=e(T).getOwnedSettingsSlugs();return e(T).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);M["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},I["SET_".concat(n)]=function(t,n){var a=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,a))})},Z["get".concat(t)]=Object(f.createRegistrySelector)((function(t){return function(){return(t(T).getSettings()||{})[e]}}))}));var B=Object(f.combineStores)(f.commonStore,N,w,{initialState:A,actions:M,controls:R,reducer:D,resolvers:x,selectors:Z});return O(O({},B),{},{STORE_NAME:T})};function T(e,t){return function(){var n=r()(o.a.mark((function n(a){var r,i,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.select,i=a.dispatch,!r(t).haveSettingsChanged()){n.next=8;break}return n.next=4,i(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,m.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function A(e){return function(t){var n=t.select,a=t.dispatch;return n(e).haveSettingsChanged()?a(e).rollbackSettings():{}}}function N(e){return function(t){var n=Object(p.e)(t)(e),a=n.haveSettingsChanged,r=n.isDoingSubmitChanges;u()(!r(),k),u()(a(),S)}}function C(){return function(e,t,n){var a=t.settings,r=t.savedSettings;n&&u()(!Object(d.isEqual)(Object(d.pick)(a,n),Object(d.pick)(r,n)),S),u()(!Object(d.isEqual)(a,r),S)}}},,function(e,t,n){"use strict";(function(e){var a=n(50),r=n.n(a),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),m=n(1),f=n.n(m),p=n(12),b=n.n(p),v=n(0),h=n(347),y=n(348);function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}var _=function(t){s()(Layout,t);var n=O(Layout);function Layout(){return r()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,a=t.footer,r=t.children,i=t.title,o=t.badge,c=t.headerCTALabel,s=t.headerCTALink,l=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,g=t.className,m=t.fill,f=t.relative,p=t.rounded,v=void 0!==p&&p,O=t.transparent,_=void 0!==O&&O;return e.createElement("div",{className:b()("googlesitekit-layout",g,{"googlesitekit-layout--fill":m,"googlesitekit-layout--relative":f,"googlesitekit-layout--rounded":v,"googlesitekit-layout--transparent":_})},n&&e.createElement(h.a,{title:i,badge:o,ctaLabel:c,ctaLink:s}),r,a&&e.createElement(y.a,{ctaLabel:l,ctaLink:u,footerContent:d}))}}]),Layout}(v.Component);_.propTypes={header:f.a.bool,footer:f.a.bool,children:f.a.node.isRequired,title:f.a.string,badge:f.a.node,headerCTALabel:f.a.string,headerCTALink:f.a.string,footerCTALabel:f.a.string,footerCTALink:f.a.string,footerContent:f.a.node,className:f.a.string,fill:f.a.bool,relative:f.a.bool,rounded:f.a.bool,transparent:f.a.bool},_.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=_}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(1),r=n.n(a),i=" ";function DisplaySetting(e){return e.value||i}DisplaySetting.propTypes={value:r.a.oneOfType([r.a.string,r.a.bool,r.a.number])},t.b=DisplaySetting},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return a.createElement("svg",r({viewBox:"0 0 28 25"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileWrapper}));var a=n(12),r=n.n(a),i=n(13),o=n(1),c=n.n(o),s=n(0),l=n(2),u=n(172),d=n(437),g=n(438),m=n(264),f=n(439),p=n(117),b=n(34),v=n(8),h=n(18);function MetricTileWrapper(t){var n,a,o,c=t.className,y=t.children,O=t.error,_=t.loading,E=t.moduleSlug,k=t.Widget,S=t.widgetSlug,j=t.title,T=void 0===j?null===(n=u.a[S])||void 0===n?void 0:n.title:j,A=t.infoTooltip,N=void 0===A?(null===(a=u.a[S])||void 0===a?void 0:a.infoTooltip)||(null===(o=u.a[S])||void 0===o?void 0:o.description):A,C=Object(h.a)(),w=!!O&&Object(i.castArray)(O).some(b.e),I=Object(s.useCallback)((function(){Object(v.J)("".concat(C,"_kmw"),"data_loading_error_retry")}),[C]);return Object(s.useEffect)((function(){O&&Object(v.J)("".concat(C,"_kmw"),"data_loading_error")}),[C,O]),O?e.createElement(m.a,{title:w?Object(l.__)("Insufficient permissions","google-site-kit"):Object(l.__)("Data loading failed","google-site-kit"),headerText:T,infoTooltip:N},e.createElement(p.a,{moduleSlug:E,error:O,onRetry:I,GetHelpLink:w?d.a:void 0,getHelpClassName:"googlesitekit-error-retry-text"})):e.createElement(k,{noPadding:!0},e.createElement("div",{className:r()("googlesitekit-km-widget-tile",c)},e.createElement(f.a,{title:T,infoTooltip:N,loading:_}),e.createElement("div",{className:"googlesitekit-km-widget-tile__body"},_&&e.createElement(g.a,null),!_&&y)))}MetricTileWrapper.propTypes={Widget:c.a.elementType.isRequired,loading:c.a.bool,title:c.a.string,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),moduleSlug:c.a.string.isRequired}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(186),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(254),g=n(412),m=n(413),f=n(10);function ReportErrorButton(t){var n=t.message,a=t.componentStack,i=Object(l.useState)(!1),c=r()(i,2),s=c[0],p=c[1];return e.createElement(f.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(a,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?g.a:m.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(0),s=n(17),l=Object(c.forwardRef)((function(t,n){var a=t.id,r=t.className,i=t.children,l=t.secondaryPane;return e.createElement("section",{id:a,className:o()(r,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,i)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:r.a.string,className:r.a.string,secondaryPane:r.a.node},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(93);function BannerTitle(t){var n=t.title,a=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,m=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,a&&e.createElement(l.a,{label:a})),i&&e.createElement("div",{className:s()(r()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:m}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(221),g=n(0),m=n(3),f=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,a=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,b=t.dismissCallback,v=Object(g.useState)(!1),h=s()(v,2),y=h[0],O=h[1],_=Object(d.a)(),E=Object(m.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=o()(r.a.mark((function e(){var t,n,a,i=arguments;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(O(!0),t=i.length,n=new Array(t),a=0;a<t;a++)n[a]=i[a];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:_()&&O(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,a&&e.createElement(f.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:k,disabled:y||E,isSaving:y||E},a),u&&e.createElement(f.Button,{tertiary:n||i,onClick:b,disabled:y||E},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(1),r=n.n(a),i=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore,r=t.CTA;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var a=n(1),r=n.n(a),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var a="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},a))}BannerIcon.propTypes={type:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var a=n(1),r=n.n(a),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,a=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),a&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},a))}BannerLogo.propTypes={module:r.a.string,moduleName:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var a=n(1),r=n.n(a),i=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,a=t.learnMoreLabel,r=t.learnMoreURL,l=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return a&&(g=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:r,external:l===s.a.EXTERNAL},a),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:r.a.node,learnMoreURL:r.a.string,learnMoreDescription:r.a.string,learnMoreLabel:r.a.string,learnMoreTarget:r.a.oneOf(Object.values(s.a)),onLearnMoreClick:r.a.func}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var a=n(0),r=n(1),i=n.n(r),o=n(3),c=n(14),s=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,r=void 0===n?0:n,i=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()})),l=Object(o.useDispatch)(s.a).triggerSurvey;return Object(a.useEffect)((function(){i&&l(t,{ttl:r})}),[i,t,r,l]),null}SurveyViewTrigger.propTypes={triggerID:i.a.string.isRequired,ttl:i.a.number}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(13),r=[{countryCode:"AF",displayName:"Afghanistan",defaultTimeZoneId:"Asia/Kabul",timeZone:[{timeZoneId:"Asia/Kabul",displayName:"(GMT+04:30) Afghanistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AL",displayName:"Albania",defaultTimeZoneId:"Europe/Tirane",timeZone:[{timeZoneId:"Europe/Tirane",displayName:"(GMT+02:00) Albania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DZ",displayName:"Algeria",defaultTimeZoneId:"Africa/Algiers",timeZone:[{timeZoneId:"Africa/Algiers",displayName:"(GMT+01:00) Algeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AS",displayName:"American Samoa",defaultTimeZoneId:"Pacific/Pago_Pago",timeZone:[{timeZoneId:"Pacific/Pago_Pago",displayName:"(GMT-11:00) American Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AD",displayName:"Andorra",defaultTimeZoneId:"Europe/Andorra",timeZone:[{timeZoneId:"Europe/Andorra",displayName:"(GMT+02:00) Andorra Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AQ",displayName:"Antarctica",defaultTimeZoneId:"Antarctica/Palmer",timeZone:[{timeZoneId:"Antarctica/Palmer",displayName:"(GMT-03:00) Palmer Time"},{timeZoneId:"Antarctica/Rothera",displayName:"(GMT-03:00) Rothera Time"},{timeZoneId:"Antarctica/Syowa",displayName:"(GMT+03:00) Syowa Time"},{timeZoneId:"Antarctica/Mawson",displayName:"(GMT+05:00) Mawson Time"},{timeZoneId:"Antarctica/Vostok",displayName:"(GMT+06:00) Vostok Time"},{timeZoneId:"Antarctica/Davis",displayName:"(GMT+07:00) Davis Time"},{timeZoneId:"Antarctica/Casey",displayName:"(GMT+08:00) Casey Time"},{timeZoneId:"Antarctica/DumontDUrville",displayName:"(GMT+10:00) Dumont d’Urville Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AR",displayName:"Argentina",defaultTimeZoneId:"America/Buenos_Aires",timeZone:[{timeZoneId:"America/Buenos_Aires",displayName:"(GMT-03:00) Buenos Aires Time"},{timeZoneId:"America/Cordoba",displayName:"(GMT-03:00) Cordoba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"AM",displayName:"Armenia",defaultTimeZoneId:"Asia/Yerevan",timeZone:[{timeZoneId:"Asia/Yerevan",displayName:"(GMT+04:00) Armenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AU",displayName:"Australia",defaultTimeZoneId:"Australia/Perth",timeZone:[{timeZoneId:"Australia/Perth",displayName:"(GMT+08:00) Perth Time"},{timeZoneId:"Australia/Adelaide",displayName:"(GMT+09:30) Adelaide Time"},{timeZoneId:"Australia/Darwin",displayName:"(GMT+09:30) Darwin Time"},{timeZoneId:"Australia/Brisbane",displayName:"(GMT+10:00) Brisbane Time"},{timeZoneId:"Australia/Hobart",displayName:"(GMT+10:00) Hobart Time"},{timeZoneId:"Australia/Melbourne",displayName:"(GMT+10:00) Melbourne Time"},{timeZoneId:"Australia/Sydney",displayName:"(GMT+10:00) Sydney Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AT",displayName:"Austria",defaultTimeZoneId:"Europe/Vienna",timeZone:[{timeZoneId:"Europe/Vienna",displayName:"(GMT+02:00) Austria Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"AZ",displayName:"Azerbaijan",defaultTimeZoneId:"Asia/Baku",timeZone:[{timeZoneId:"Asia/Baku",displayName:"(GMT+04:00) Azerbaijan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BS",displayName:"Bahamas",defaultTimeZoneId:"America/Nassau",timeZone:[{timeZoneId:"America/Nassau",displayName:"(GMT-04:00) Bahamas Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BD",displayName:"Bangladesh",defaultTimeZoneId:"Asia/Dhaka",timeZone:[{timeZoneId:"Asia/Dhaka",displayName:"(GMT+06:00) Bangladesh Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BB",displayName:"Barbados",defaultTimeZoneId:"America/Barbados",timeZone:[{timeZoneId:"America/Barbados",displayName:"(GMT-04:00) Barbados Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BY",displayName:"Belarus",defaultTimeZoneId:"Europe/Minsk",timeZone:[{timeZoneId:"Europe/Minsk",displayName:"(GMT+03:00) Belarus Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BE",displayName:"Belgium",defaultTimeZoneId:"Europe/Brussels",timeZone:[{timeZoneId:"Europe/Brussels",displayName:"(GMT+02:00) Belgium Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"BZ",displayName:"Belize",defaultTimeZoneId:"America/Belize",timeZone:[{timeZoneId:"America/Belize",displayName:"(GMT-06:00) Belize Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BM",displayName:"Bermuda",defaultTimeZoneId:"Atlantic/Bermuda",timeZone:[{timeZoneId:"Atlantic/Bermuda",displayName:"(GMT-03:00) Bermuda Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BT",displayName:"Bhutan",defaultTimeZoneId:"Asia/Thimphu",timeZone:[{timeZoneId:"Asia/Thimphu",displayName:"(GMT+06:00) Bhutan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BO",displayName:"Bolivia",defaultTimeZoneId:"America/La_Paz",timeZone:[{timeZoneId:"America/La_Paz",displayName:"(GMT-04:00) Bolivia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BA",displayName:"Bosnia & Herzegovina",defaultTimeZoneId:"Europe/Sarajevo",timeZone:[{timeZoneId:"Europe/Sarajevo",displayName:"(GMT+02:00) Bosnia & Herzegovina Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BR",displayName:"Brazil",defaultTimeZoneId:"America/Rio_Branco",timeZone:[{timeZoneId:"America/Rio_Branco",displayName:"(GMT-05:00) Rio Branco Time"},{timeZoneId:"America/Boa_Vista",displayName:"(GMT-04:00) Boa Vista Time"},{timeZoneId:"America/Campo_Grande",displayName:"(GMT-04:00) Campo Grande Time"},{timeZoneId:"America/Cuiaba",displayName:"(GMT-04:00) Cuiaba Time"},{timeZoneId:"America/Manaus",displayName:"(GMT-04:00) Manaus Time"},{timeZoneId:"America/Porto_Velho",displayName:"(GMT-04:00) Porto Velho Time"},{timeZoneId:"America/Araguaina",displayName:"(GMT-03:00) Araguaina Time"},{timeZoneId:"America/Bahia",displayName:"(GMT-03:00) Bahia Time"},{timeZoneId:"America/Belem",displayName:"(GMT-03:00) Belem Time"},{timeZoneId:"America/Fortaleza",displayName:"(GMT-03:00) Fortaleza Time"},{timeZoneId:"America/Maceio",displayName:"(GMT-03:00) Maceio Time"},{timeZoneId:"America/Recife",displayName:"(GMT-03:00) Recife Time"},{timeZoneId:"America/Sao_Paulo",displayName:"(GMT-03:00) Sao Paulo Time"},{timeZoneId:"America/Noronha",displayName:"(GMT-02:00) Noronha Time"}],tosLocale:{language:"pt",country:"BR"}},{countryCode:"IO",displayName:"British Indian Ocean Territory",defaultTimeZoneId:"Indian/Chagos",timeZone:[{timeZoneId:"Indian/Chagos",displayName:"(GMT+06:00) British Indian Ocean Territory Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BN",displayName:"Brunei",defaultTimeZoneId:"Asia/Brunei",timeZone:[{timeZoneId:"Asia/Brunei",displayName:"(GMT+08:00) Brunei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BG",displayName:"Bulgaria",defaultTimeZoneId:"Europe/Sofia",timeZone:[{timeZoneId:"Europe/Sofia",displayName:"(GMT+03:00) Bulgaria Time"}],tosLocale:{language:"bg",country:"BG"}},{countryCode:"CA",displayName:"Canada",defaultTimeZoneId:"America/Dawson",timeZone:[{timeZoneId:"America/Dawson",displayName:"(GMT-07:00) Dawson Time"},{timeZoneId:"America/Vancouver",displayName:"(GMT-07:00) Vancouver Time"},{timeZoneId:"America/Whitehorse",displayName:"(GMT-07:00) Whitehorse Time"},{timeZoneId:"America/Edmonton",displayName:"(GMT-06:00) Edmonton Time"},{timeZoneId:"America/Yellowknife",displayName:"(GMT-06:00) Yellowknife Time"},{timeZoneId:"America/Dawson_Creek",displayName:"(GMT-07:00) Dawson Creek Time"},{timeZoneId:"America/Winnipeg",displayName:"(GMT-05:00) Winnipeg Time"},{timeZoneId:"America/Regina",displayName:"(GMT-06:00) Regina Time"},{timeZoneId:"America/Iqaluit",displayName:"(GMT-04:00) Iqaluit Time"},{timeZoneId:"America/Toronto",displayName:"(GMT-04:00) Toronto Time"},{timeZoneId:"America/Halifax",displayName:"(GMT-03:00) Halifax Time"},{timeZoneId:"America/St_Johns",displayName:"(GMT-02:30) St. John’s Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CV",displayName:"Cape Verde",defaultTimeZoneId:"Atlantic/Cape_Verde",timeZone:[{timeZoneId:"Atlantic/Cape_Verde",displayName:"(GMT-01:00) Cape Verde Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TD",displayName:"Chad",defaultTimeZoneId:"Africa/Ndjamena",timeZone:[{timeZoneId:"Africa/Ndjamena",displayName:"(GMT+01:00) Chad Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"CL",displayName:"Chile",defaultTimeZoneId:"Pacific/Easter",timeZone:[{timeZoneId:"Pacific/Easter",displayName:"(GMT-06:00) Easter Time"},{timeZoneId:"America/Santiago",displayName:"(GMT-04:00) Chile Time"},{timeZoneId:"America/Punta_Arenas",displayName:"(GMT-03:00) Punta Arenas Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CN",displayName:"China",defaultTimeZoneId:"Asia/Shanghai",timeZone:[{timeZoneId:"Asia/Shanghai",displayName:"(GMT+08:00) China Time"}],tosLocale:{language:"zh",country:"CN"}},{countryCode:"CX",displayName:"Christmas Island",defaultTimeZoneId:"Indian/Christmas",timeZone:[{timeZoneId:"Indian/Christmas",displayName:"(GMT+07:00) Christmas Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CC",displayName:"Cocos (Keeling) Islands",defaultTimeZoneId:"Indian/Cocos",timeZone:[{timeZoneId:"Indian/Cocos",displayName:"(GMT+06:30) Cocos (Keeling) Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CO",displayName:"Colombia",defaultTimeZoneId:"America/Bogota",timeZone:[{timeZoneId:"America/Bogota",displayName:"(GMT-05:00) Colombia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CK",displayName:"Cook Islands",defaultTimeZoneId:"Pacific/Rarotonga",timeZone:[{timeZoneId:"Pacific/Rarotonga",displayName:"(GMT-10:00) Cook Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CR",displayName:"Costa Rica",defaultTimeZoneId:"America/Costa_Rica",timeZone:[{timeZoneId:"America/Costa_Rica",displayName:"(GMT-06:00) Costa Rica Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CI",displayName:"Côte d’Ivoire",defaultTimeZoneId:"Africa/Abidjan",timeZone:[{timeZoneId:"Africa/Abidjan",displayName:"(GMT+00:00) Côte d’Ivoire Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"HR",displayName:"Croatia",defaultTimeZoneId:"Europe/Zagreb",timeZone:[{timeZoneId:"Europe/Zagreb",displayName:"(GMT+02:00) Croatia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CU",displayName:"Cuba",defaultTimeZoneId:"America/Havana",timeZone:[{timeZoneId:"America/Havana",displayName:"(GMT-04:00) Cuba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CW",displayName:"Curaçao",defaultTimeZoneId:"America/Curacao",timeZone:[{timeZoneId:"America/Curacao",displayName:"(GMT-04:00) Curaçao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CY",displayName:"Cyprus",defaultTimeZoneId:"Asia/Nicosia",timeZone:[{timeZoneId:"Asia/Nicosia",displayName:"(GMT+03:00) Nicosia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CZ",displayName:"Czechia",defaultTimeZoneId:"Europe/Prague",timeZone:[{timeZoneId:"Europe/Prague",displayName:"(GMT+02:00) Czechia Time"}],tosLocale:{language:"cs",country:"CZ"}},{countryCode:"DK",displayName:"Denmark",defaultTimeZoneId:"Europe/Copenhagen",timeZone:[{timeZoneId:"Europe/Copenhagen",displayName:"(GMT+02:00) Denmark Time"}],tosLocale:{language:"da",country:"DK"}},{countryCode:"DO",displayName:"Dominican Republic",defaultTimeZoneId:"America/Santo_Domingo",timeZone:[{timeZoneId:"America/Santo_Domingo",displayName:"(GMT-04:00) Dominican Republic Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EC",displayName:"Ecuador",defaultTimeZoneId:"Pacific/Galapagos",timeZone:[{timeZoneId:"Pacific/Galapagos",displayName:"(GMT-06:00) Galapagos Time"},{timeZoneId:"America/Guayaquil",displayName:"(GMT-05:00) Ecuador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EG",displayName:"Egypt",defaultTimeZoneId:"Africa/Cairo",timeZone:[{timeZoneId:"Africa/Cairo",displayName:"(GMT+02:00) Egypt Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SV",displayName:"El Salvador",defaultTimeZoneId:"America/El_Salvador",timeZone:[{timeZoneId:"America/El_Salvador",displayName:"(GMT-06:00) El Salvador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EE",displayName:"Estonia",defaultTimeZoneId:"Europe/Tallinn",timeZone:[{timeZoneId:"Europe/Tallinn",displayName:"(GMT+03:00) Estonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FK",displayName:"Falkland Islands (Islas Malvinas)",defaultTimeZoneId:"Atlantic/Stanley",timeZone:[{timeZoneId:"Atlantic/Stanley",displayName:"(GMT-03:00) Falkland Islands (Islas Malvinas) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FO",displayName:"Faroe Islands",defaultTimeZoneId:"Atlantic/Faeroe",timeZone:[{timeZoneId:"Atlantic/Faeroe",displayName:"(GMT+01:00) Faroe Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FJ",displayName:"Fiji",defaultTimeZoneId:"Pacific/Fiji",timeZone:[{timeZoneId:"Pacific/Fiji",displayName:"(GMT+12:00) Fiji Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FI",displayName:"Finland",defaultTimeZoneId:"Europe/Helsinki",timeZone:[{timeZoneId:"Europe/Helsinki",displayName:"(GMT+03:00) Finland Time"}],tosLocale:{language:"fi",country:"FI"}},{countryCode:"FR",displayName:"France",defaultTimeZoneId:"Europe/Paris",timeZone:[{timeZoneId:"Europe/Paris",displayName:"(GMT+02:00) France Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GF",displayName:"French Guiana",defaultTimeZoneId:"America/Cayenne",timeZone:[{timeZoneId:"America/Cayenne",displayName:"(GMT-03:00) French Guiana Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"PF",displayName:"French Polynesia",defaultTimeZoneId:"Pacific/Tahiti",timeZone:[{timeZoneId:"Pacific/Tahiti",displayName:"(GMT-10:00) Tahiti Time"},{timeZoneId:"Pacific/Marquesas",displayName:"(GMT-09:30) Marquesas Time"},{timeZoneId:"Pacific/Gambier",displayName:"(GMT-09:00) Gambier Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"TF",displayName:"French Southern Territories",defaultTimeZoneId:"Indian/Kerguelen",timeZone:[{timeZoneId:"Indian/Kerguelen",displayName:"(GMT+05:00) French Southern Territories Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GE",displayName:"Georgia",defaultTimeZoneId:"Asia/Tbilisi",timeZone:[{timeZoneId:"Asia/Tbilisi",displayName:"(GMT+04:00) Georgia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DE",displayName:"Germany",defaultTimeZoneId:"Europe/Berlin",timeZone:[{timeZoneId:"Europe/Berlin",displayName:"(GMT+02:00) Germany Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"GH",displayName:"Ghana",defaultTimeZoneId:"Africa/Accra",timeZone:[{timeZoneId:"Africa/Accra",displayName:"(GMT+00:00) Ghana Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GI",displayName:"Gibraltar",defaultTimeZoneId:"Europe/Gibraltar",timeZone:[{timeZoneId:"Europe/Gibraltar",displayName:"(GMT+02:00) Gibraltar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GR",displayName:"Greece",defaultTimeZoneId:"Europe/Athens",timeZone:[{timeZoneId:"Europe/Athens",displayName:"(GMT+03:00) Greece Time"}],tosLocale:{language:"el",country:"GR"}},{countryCode:"GL",displayName:"Greenland",defaultTimeZoneId:"America/Thule",timeZone:[{timeZoneId:"America/Thule",displayName:"(GMT-03:00) Thule Time"},{timeZoneId:"America/Godthab",displayName:"(GMT-02:00) Nuuk Time"},{timeZoneId:"America/Scoresbysund",displayName:"(GMT+00:00) Ittoqqortoormiit Time"},{timeZoneId:"America/Danmarkshavn",displayName:"(GMT+00:00) Danmarkshavn Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GU",displayName:"Guam",defaultTimeZoneId:"Pacific/Guam",timeZone:[{timeZoneId:"Pacific/Guam",displayName:"(GMT+10:00) Guam Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"GT",displayName:"Guatemala",defaultTimeZoneId:"America/Guatemala",timeZone:[{timeZoneId:"America/Guatemala",displayName:"(GMT-06:00) Guatemala Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"GW",displayName:"Guinea-Bissau",defaultTimeZoneId:"Africa/Bissau",timeZone:[{timeZoneId:"Africa/Bissau",displayName:"(GMT+00:00) Guinea-Bissau Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GY",displayName:"Guyana",defaultTimeZoneId:"America/Guyana",timeZone:[{timeZoneId:"America/Guyana",displayName:"(GMT-04:00) Guyana Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HT",displayName:"Haiti",defaultTimeZoneId:"America/Port-au-Prince",timeZone:[{timeZoneId:"America/Port-au-Prince",displayName:"(GMT-04:00) Haiti Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HN",displayName:"Honduras",defaultTimeZoneId:"America/Tegucigalpa",timeZone:[{timeZoneId:"America/Tegucigalpa",displayName:"(GMT-06:00) Honduras Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HK",displayName:"Hong Kong",defaultTimeZoneId:"Asia/Hong_Kong",timeZone:[{timeZoneId:"Asia/Hong_Kong",displayName:"(GMT+08:00) Hong Kong Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HU",displayName:"Hungary",defaultTimeZoneId:"Europe/Budapest",timeZone:[{timeZoneId:"Europe/Budapest",displayName:"(GMT+02:00) Hungary Time"}],tosLocale:{language:"hu",country:"HU"}},{countryCode:"IS",displayName:"Iceland",defaultTimeZoneId:"Atlantic/Reykjavik",timeZone:[{timeZoneId:"Atlantic/Reykjavik",displayName:"(GMT+00:00) Iceland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IN",displayName:"India",defaultTimeZoneId:"Asia/Calcutta",timeZone:[{timeZoneId:"Asia/Calcutta",displayName:"(GMT+05:30) India Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ID",displayName:"Indonesia",defaultTimeZoneId:"Asia/Jakarta",timeZone:[{timeZoneId:"Asia/Jakarta",displayName:"(GMT+07:00) Jakarta Time"},{timeZoneId:"Asia/Makassar",displayName:"(GMT+08:00) Makassar Time"},{timeZoneId:"Asia/Jayapura",displayName:"(GMT+09:00) Jayapura Time"}],tosLocale:{language:"in",country:"ID"}},{countryCode:"IR",displayName:"Iran",defaultTimeZoneId:"Asia/Tehran",timeZone:[{timeZoneId:"Asia/Tehran",displayName:"(GMT+04:30) Iran Time"}]},{countryCode:"IQ",displayName:"Iraq",defaultTimeZoneId:"Asia/Baghdad",timeZone:[{timeZoneId:"Asia/Baghdad",displayName:"(GMT+03:00) Iraq Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IE",displayName:"Ireland",defaultTimeZoneId:"Europe/Dublin",timeZone:[{timeZoneId:"Europe/Dublin",displayName:"(GMT+01:00) Ireland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IL",displayName:"Israel",defaultTimeZoneId:"Asia/Jerusalem",timeZone:[{timeZoneId:"Asia/Jerusalem",displayName:"(GMT+03:00) Israel Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IT",displayName:"Italy",defaultTimeZoneId:"Europe/Rome",timeZone:[{timeZoneId:"Europe/Rome",displayName:"(GMT+02:00) Italy Time"}],tosLocale:{language:"it",country:"IT"}},{countryCode:"JM",displayName:"Jamaica",defaultTimeZoneId:"America/Jamaica",timeZone:[{timeZoneId:"America/Jamaica",displayName:"(GMT-05:00) Jamaica Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"JP",displayName:"Japan",defaultTimeZoneId:"Asia/Tokyo",timeZone:[{timeZoneId:"Asia/Tokyo",displayName:"(GMT+09:00) Japan Time"}],tosLocale:{language:"ja",country:"JP"}},{countryCode:"JO",displayName:"Jordan",defaultTimeZoneId:"Asia/Amman",timeZone:[{timeZoneId:"Asia/Amman",displayName:"(GMT+03:00) Jordan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KZ",displayName:"Kazakhstan",defaultTimeZoneId:"Asia/Aqtau",timeZone:[{timeZoneId:"Asia/Aqtau",displayName:"(GMT+05:00) Aqtau Time"},{timeZoneId:"Asia/Aqtobe",displayName:"(GMT+05:00) Aqtobe Time"},{timeZoneId:"Asia/Almaty",displayName:"(GMT+06:00) Almaty Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KE",displayName:"Kenya",defaultTimeZoneId:"Africa/Nairobi",timeZone:[{timeZoneId:"Africa/Nairobi",displayName:"(GMT+03:00) Kenya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KI",displayName:"Kiribati",defaultTimeZoneId:"Pacific/Tarawa",timeZone:[{timeZoneId:"Pacific/Tarawa",displayName:"(GMT+12:00) Tarawa Time"},{timeZoneId:"Pacific/Enderbury",displayName:"(GMT+13:00) Enderbury Time"},{timeZoneId:"Pacific/Kiritimati",displayName:"(GMT+14:00) Kiritimati Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KG",displayName:"Kyrgyzstan",defaultTimeZoneId:"Asia/Bishkek",timeZone:[{timeZoneId:"Asia/Bishkek",displayName:"(GMT+06:00) Kyrgyzstan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"LV",displayName:"Latvia",defaultTimeZoneId:"Europe/Riga",timeZone:[{timeZoneId:"Europe/Riga",displayName:"(GMT+03:00) Latvia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LB",displayName:"Lebanon",defaultTimeZoneId:"Asia/Beirut",timeZone:[{timeZoneId:"Asia/Beirut",displayName:"(GMT+03:00) Lebanon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LR",displayName:"Liberia",defaultTimeZoneId:"Africa/Monrovia",timeZone:[{timeZoneId:"Africa/Monrovia",displayName:"(GMT+00:00) Liberia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LY",displayName:"Libya",defaultTimeZoneId:"Africa/Tripoli",timeZone:[{timeZoneId:"Africa/Tripoli",displayName:"(GMT+02:00) Libya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LT",displayName:"Lithuania",defaultTimeZoneId:"Europe/Vilnius",timeZone:[{timeZoneId:"Europe/Vilnius",displayName:"(GMT+03:00) Lithuania Time"}],tosLocale:{language:"lt",country:"LT"}},{countryCode:"LU",displayName:"Luxembourg",defaultTimeZoneId:"Europe/Luxembourg",timeZone:[{timeZoneId:"Europe/Luxembourg",displayName:"(GMT+02:00) Luxembourg Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MO",displayName:"Macao",defaultTimeZoneId:"Asia/Macau",timeZone:[{timeZoneId:"Asia/Macau",displayName:"(GMT+08:00) Macao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MY",displayName:"Malaysia",defaultTimeZoneId:"Asia/Kuala_Lumpur",timeZone:[{timeZoneId:"Asia/Kuala_Lumpur",displayName:"(GMT+08:00) Malaysia Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MV",displayName:"Maldives",defaultTimeZoneId:"Indian/Maldives",timeZone:[{timeZoneId:"Indian/Maldives",displayName:"(GMT+05:00) Maldives Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MT",displayName:"Malta",defaultTimeZoneId:"Europe/Malta",timeZone:[{timeZoneId:"Europe/Malta",displayName:"(GMT+02:00) Malta Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MH",displayName:"Marshall Islands",defaultTimeZoneId:"Pacific/Kwajalein",timeZone:[{timeZoneId:"Pacific/Kwajalein",displayName:"(GMT+12:00) Kwajalein Time"},{timeZoneId:"Pacific/Majuro",displayName:"(GMT+12:00) Marshall Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MQ",displayName:"Martinique",defaultTimeZoneId:"America/Martinique",timeZone:[{timeZoneId:"America/Martinique",displayName:"(GMT-04:00) Martinique Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"MU",displayName:"Mauritius",defaultTimeZoneId:"Indian/Mauritius",timeZone:[{timeZoneId:"Indian/Mauritius",displayName:"(GMT+04:00) Mauritius Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MX",displayName:"Mexico",defaultTimeZoneId:"America/Tijuana",timeZone:[{timeZoneId:"America/Tijuana",displayName:"(GMT-07:00) Tijuana Time"},{timeZoneId:"America/Mazatlan",displayName:"(GMT-06:00) Mazatlan Time"},{timeZoneId:"America/Hermosillo",displayName:"(GMT-07:00) Hermosillo Time"},{timeZoneId:"America/Mexico_City",displayName:"(GMT-05:00) Mexico City Time"},{timeZoneId:"America/Cancun",displayName:"(GMT-05:00) Cancun Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"FM",displayName:"Micronesia",defaultTimeZoneId:"Pacific/Truk",timeZone:[{timeZoneId:"Pacific/Truk",displayName:"(GMT+10:00) Chuuk Time"},{timeZoneId:"Pacific/Kosrae",displayName:"(GMT+11:00) Kosrae Time"},{timeZoneId:"Pacific/Ponape",displayName:"(GMT+11:00) Pohnpei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MD",displayName:"Moldova",defaultTimeZoneId:"Europe/Chisinau",timeZone:[{timeZoneId:"Europe/Chisinau",displayName:"(GMT+03:00) Moldova Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MC",displayName:"Monaco",defaultTimeZoneId:"Europe/Monaco",timeZone:[{timeZoneId:"Europe/Monaco",displayName:"(GMT+02:00) Monaco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MN",displayName:"Mongolia",defaultTimeZoneId:"Asia/Hovd",timeZone:[{timeZoneId:"Asia/Hovd",displayName:"(GMT+07:00) Hovd Time"},{timeZoneId:"Asia/Choibalsan",displayName:"(GMT+08:00) Choibalsan Time"},{timeZoneId:"Asia/Ulaanbaatar",displayName:"(GMT+08:00) Ulaanbaatar Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MA",displayName:"Morocco",defaultTimeZoneId:"Africa/Casablanca",timeZone:[{timeZoneId:"Africa/Casablanca",displayName:"(GMT+01:00) Morocco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MZ",displayName:"Mozambique",defaultTimeZoneId:"Africa/Maputo",timeZone:[{timeZoneId:"Africa/Maputo",displayName:"(GMT+02:00) Mozambique Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MM",displayName:"Myanmar (Burma)",defaultTimeZoneId:"Asia/Rangoon",timeZone:[{timeZoneId:"Asia/Rangoon",displayName:"(GMT+06:30) Myanmar (Burma) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NA",displayName:"Namibia",defaultTimeZoneId:"Africa/Windhoek",timeZone:[{timeZoneId:"Africa/Windhoek",displayName:"(GMT+02:00) Namibia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NR",displayName:"Nauru",defaultTimeZoneId:"Pacific/Nauru",timeZone:[{timeZoneId:"Pacific/Nauru",displayName:"(GMT+12:00) Nauru Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NP",displayName:"Nepal",defaultTimeZoneId:"Asia/Katmandu",timeZone:[{timeZoneId:"Asia/Katmandu",displayName:"(GMT+05:45) Nepal Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NL",displayName:"Netherlands",defaultTimeZoneId:"Europe/Amsterdam",timeZone:[{timeZoneId:"Europe/Amsterdam",displayName:"(GMT+02:00) Netherlands Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"NC",displayName:"New Caledonia",defaultTimeZoneId:"Pacific/Noumea",timeZone:[{timeZoneId:"Pacific/Noumea",displayName:"(GMT+11:00) New Caledonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NZ",displayName:"New Zealand",defaultTimeZoneId:"Pacific/Auckland",timeZone:[{timeZoneId:"Pacific/Auckland",displayName:"(GMT+12:00) New Zealand Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NI",displayName:"Nicaragua",defaultTimeZoneId:"America/Managua",timeZone:[{timeZoneId:"America/Managua",displayName:"(GMT-06:00) Nicaragua Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"NG",displayName:"Nigeria",defaultTimeZoneId:"Africa/Lagos",timeZone:[{timeZoneId:"Africa/Lagos",displayName:"(GMT+01:00) Nigeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NU",displayName:"Niue",defaultTimeZoneId:"Pacific/Niue",timeZone:[{timeZoneId:"Pacific/Niue",displayName:"(GMT-11:00) Niue Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NF",displayName:"Norfolk Island",defaultTimeZoneId:"Pacific/Norfolk",timeZone:[{timeZoneId:"Pacific/Norfolk",displayName:"(GMT+11:00) Norfolk Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KP",displayName:"North Korea",defaultTimeZoneId:"Asia/Pyongyang",timeZone:[{timeZoneId:"Asia/Pyongyang",displayName:"(GMT+09:00) North Korea Time"}]},{countryCode:"MK",displayName:"North Macedonia",defaultTimeZoneId:"Europe/Skopje",timeZone:[{timeZoneId:"Europe/Skopje",displayName:"(GMT+02:00) North Macedonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NO",displayName:"Norway",defaultTimeZoneId:"Europe/Oslo",timeZone:[{timeZoneId:"Europe/Oslo",displayName:"(GMT+02:00) Norway Time"}],tosLocale:{language:"no",country:"NO"}},{countryCode:"PK",displayName:"Pakistan",defaultTimeZoneId:"Asia/Karachi",timeZone:[{timeZoneId:"Asia/Karachi",displayName:"(GMT+05:00) Pakistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PW",displayName:"Palau",defaultTimeZoneId:"Pacific/Palau",timeZone:[{timeZoneId:"Pacific/Palau",displayName:"(GMT+09:00) Palau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PS",displayName:"Palestine",defaultTimeZoneId:"Asia/Gaza",timeZone:[{timeZoneId:"Asia/Gaza",displayName:"(GMT+03:00) Gaza Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PA",displayName:"Panama",defaultTimeZoneId:"America/Panama",timeZone:[{timeZoneId:"America/Panama",displayName:"(GMT-05:00) Panama Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PG",displayName:"Papua New Guinea",defaultTimeZoneId:"Pacific/Port_Moresby",timeZone:[{timeZoneId:"Pacific/Port_Moresby",displayName:"(GMT+10:00) Port Moresby Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PY",displayName:"Paraguay",defaultTimeZoneId:"America/Asuncion",timeZone:[{timeZoneId:"America/Asuncion",displayName:"(GMT-04:00) Paraguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PE",displayName:"Peru",defaultTimeZoneId:"America/Lima",timeZone:[{timeZoneId:"America/Lima",displayName:"(GMT-05:00) Peru Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PH",displayName:"Philippines",defaultTimeZoneId:"Asia/Manila",timeZone:[{timeZoneId:"Asia/Manila",displayName:"(GMT+08:00) Philippines Time"}],tosLocale:{language:"tl",country:"PH"}},{countryCode:"PN",displayName:"Pitcairn Islands",defaultTimeZoneId:"Pacific/Pitcairn",timeZone:[{timeZoneId:"Pacific/Pitcairn",displayName:"(GMT-08:00) Pitcairn Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PL",displayName:"Poland",defaultTimeZoneId:"Europe/Warsaw",timeZone:[{timeZoneId:"Europe/Warsaw",displayName:"(GMT+02:00) Poland Time"}],tosLocale:{language:"pl",country:"PL"}},{countryCode:"PT",displayName:"Portugal",defaultTimeZoneId:"Atlantic/Azores",timeZone:[{timeZoneId:"Atlantic/Azores",displayName:"(GMT+00:00) Azores Time"},{timeZoneId:"Europe/Lisbon",displayName:"(GMT+01:00) Portugal Time"}],tosLocale:{language:"pt",country:"PT"}},{countryCode:"PR",displayName:"Puerto Rico",defaultTimeZoneId:"America/Puerto_Rico",timeZone:[{timeZoneId:"America/Puerto_Rico",displayName:"(GMT-04:00) Puerto Rico Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"QA",displayName:"Qatar",defaultTimeZoneId:"Asia/Qatar",timeZone:[{timeZoneId:"Asia/Qatar",displayName:"(GMT+03:00) Qatar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RE",displayName:"Réunion",defaultTimeZoneId:"Indian/Reunion",timeZone:[{timeZoneId:"Indian/Reunion",displayName:"(GMT+04:00) Réunion Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RO",displayName:"Romania",defaultTimeZoneId:"Europe/Bucharest",timeZone:[{timeZoneId:"Europe/Bucharest",displayName:"(GMT+03:00) Romania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RU",displayName:"Russia",defaultTimeZoneId:"Europe/Kaliningrad",timeZone:[{timeZoneId:"Europe/Kaliningrad",displayName:"(GMT+02:00) Kaliningrad Time"},{timeZoneId:"Europe/Moscow",displayName:"(GMT+03:00) Moscow Time"},{timeZoneId:"Europe/Samara",displayName:"(GMT+04:00) Samara Time"},{timeZoneId:"Asia/Yekaterinburg",displayName:"(GMT+05:00) Yekaterinburg Time"},{timeZoneId:"Asia/Omsk",displayName:"(GMT+06:00) Omsk Time"},{timeZoneId:"Asia/Krasnoyarsk",displayName:"(GMT+07:00) Krasnoyarsk Time"},{timeZoneId:"Asia/Irkutsk",displayName:"(GMT+08:00) Irkutsk Time"},{timeZoneId:"Asia/Yakutsk",displayName:"(GMT+09:00) Yakutsk Time"},{timeZoneId:"Asia/Vladivostok",displayName:"(GMT+10:00) Vladivostok Time"},{timeZoneId:"Asia/Magadan",displayName:"(GMT+11:00) Magadan Time"},{timeZoneId:"Asia/Kamchatka",displayName:"(GMT+12:00) Kamchatka Time"}],tosLocale:{language:"ru",country:"RU"}},{countryCode:"WS",displayName:"Samoa",defaultTimeZoneId:"Pacific/Apia",timeZone:[{timeZoneId:"Pacific/Apia",displayName:"(GMT+13:00) Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SM",displayName:"San Marino",defaultTimeZoneId:"Europe/San_Marino",timeZone:[{timeZoneId:"Europe/San_Marino",displayName:"(GMT+02:00) San Marino Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"ST",displayName:"São Tomé & Príncipe",defaultTimeZoneId:"Africa/Sao_Tome",timeZone:[{timeZoneId:"Africa/Sao_Tome",displayName:"(GMT+00:00) São Tomé & Príncipe Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SA",displayName:"Saudi Arabia",defaultTimeZoneId:"Asia/Riyadh",timeZone:[{timeZoneId:"Asia/Riyadh",displayName:"(GMT+03:00) Saudi Arabia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RS",displayName:"Serbia",defaultTimeZoneId:"Europe/Belgrade",timeZone:[{timeZoneId:"Europe/Belgrade",displayName:"(GMT+02:00) Serbia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SC",displayName:"Seychelles",defaultTimeZoneId:"Indian/Mahe",timeZone:[{timeZoneId:"Indian/Mahe",displayName:"(GMT+04:00) Seychelles Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SG",displayName:"Singapore",defaultTimeZoneId:"Asia/Singapore",timeZone:[{timeZoneId:"Asia/Singapore",displayName:"(GMT+08:00) Singapore Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SK",displayName:"Slovakia",defaultTimeZoneId:"Europe/Bratislava",timeZone:[{timeZoneId:"Europe/Bratislava",displayName:"(GMT+02:00) Slovakia Time"}],tosLocale:{language:"sk",country:"SK"}},{countryCode:"SI",displayName:"Slovenia",defaultTimeZoneId:"Europe/Ljubljana",timeZone:[{timeZoneId:"Europe/Ljubljana",displayName:"(GMT+02:00) Slovenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SB",displayName:"Solomon Islands",defaultTimeZoneId:"Pacific/Guadalcanal",timeZone:[{timeZoneId:"Pacific/Guadalcanal",displayName:"(GMT+11:00) Solomon Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ZA",displayName:"South Africa",defaultTimeZoneId:"Africa/Johannesburg",timeZone:[{timeZoneId:"Africa/Johannesburg",displayName:"(GMT+02:00) South Africa Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GS",displayName:"South Georgia & South Sandwich Islands",defaultTimeZoneId:"Atlantic/South_Georgia",timeZone:[{timeZoneId:"Atlantic/South_Georgia",displayName:"(GMT-02:00) South Georgia & South Sandwich Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KR",displayName:"South Korea",defaultTimeZoneId:"Asia/Seoul",timeZone:[{timeZoneId:"Asia/Seoul",displayName:"(GMT+09:00) South Korea Time"}],tosLocale:{language:"ko",country:"KR"}},{countryCode:"ES",displayName:"Spain",defaultTimeZoneId:"Atlantic/Canary",timeZone:[{timeZoneId:"Atlantic/Canary",displayName:"(GMT+01:00) Canary Time"},{timeZoneId:"Africa/Ceuta",displayName:"(GMT+02:00) Ceuta Time"},{timeZoneId:"Europe/Madrid",displayName:"(GMT+02:00) Spain Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"LK",displayName:"Sri Lanka",defaultTimeZoneId:"Asia/Colombo",timeZone:[{timeZoneId:"Asia/Colombo",displayName:"(GMT+05:30) Sri Lanka Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PM",displayName:"St. Pierre & Miquelon",defaultTimeZoneId:"America/Miquelon",timeZone:[{timeZoneId:"America/Miquelon",displayName:"(GMT-02:00) St. Pierre & Miquelon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SD",displayName:"Sudan",defaultTimeZoneId:"Africa/Khartoum",timeZone:[{timeZoneId:"Africa/Khartoum",displayName:"(GMT+02:00) Sudan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SR",displayName:"Suriname",defaultTimeZoneId:"America/Paramaribo",timeZone:[{timeZoneId:"America/Paramaribo",displayName:"(GMT-03:00) Suriname Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"SJ",displayName:"Svalbard & Jan Mayen",defaultTimeZoneId:"Arctic/Longyearbyen",timeZone:[{timeZoneId:"Arctic/Longyearbyen",displayName:"(GMT+02:00) Svalbard & Jan Mayen Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SE",displayName:"Sweden",defaultTimeZoneId:"Europe/Stockholm",timeZone:[{timeZoneId:"Europe/Stockholm",displayName:"(GMT+02:00) Sweden Time"}],tosLocale:{language:"sv",country:"SE"}},{countryCode:"CH",displayName:"Switzerland",defaultTimeZoneId:"Europe/Zurich",timeZone:[{timeZoneId:"Europe/Zurich",displayName:"(GMT+02:00) Switzerland Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"SY",displayName:"Syria",defaultTimeZoneId:"Asia/Damascus",timeZone:[{timeZoneId:"Asia/Damascus",displayName:"(GMT+03:00) Syria Time"}]},{countryCode:"TW",displayName:"Taiwan",defaultTimeZoneId:"Asia/Taipei",timeZone:[{timeZoneId:"Asia/Taipei",displayName:"(GMT+08:00) Taiwan Time"}],tosLocale:{language:"zh",country:"TW"}},{countryCode:"TJ",displayName:"Tajikistan",defaultTimeZoneId:"Asia/Dushanbe",timeZone:[{timeZoneId:"Asia/Dushanbe",displayName:"(GMT+05:00) Tajikistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TH",displayName:"Thailand",defaultTimeZoneId:"Asia/Bangkok",timeZone:[{timeZoneId:"Asia/Bangkok",displayName:"(GMT+07:00) Thailand Time"}],tosLocale:{language:"th",country:"TH"}},{countryCode:"TL",displayName:"Timor-Leste",defaultTimeZoneId:"Asia/Dili",timeZone:[{timeZoneId:"Asia/Dili",displayName:"(GMT+09:00) Timor-Leste Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TK",displayName:"Tokelau",defaultTimeZoneId:"Pacific/Fakaofo",timeZone:[{timeZoneId:"Pacific/Fakaofo",displayName:"(GMT+13:00) Tokelau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TO",displayName:"Tonga",defaultTimeZoneId:"Pacific/Tongatapu",timeZone:[{timeZoneId:"Pacific/Tongatapu",displayName:"(GMT+13:00) Tonga Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TT",displayName:"Trinidad & Tobago",defaultTimeZoneId:"America/Port_of_Spain",timeZone:[{timeZoneId:"America/Port_of_Spain",displayName:"(GMT-04:00) Trinidad & Tobago Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TN",displayName:"Tunisia",defaultTimeZoneId:"Africa/Tunis",timeZone:[{timeZoneId:"Africa/Tunis",displayName:"(GMT+01:00) Tunisia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TR",displayName:"Turkey",defaultTimeZoneId:"Europe/Istanbul",timeZone:[{timeZoneId:"Europe/Istanbul",displayName:"(GMT+03:00) Turkey Time"}],tosLocale:{language:"tr",country:"TR"}},{countryCode:"TM",displayName:"Turkmenistan",defaultTimeZoneId:"Asia/Ashgabat",timeZone:[{timeZoneId:"Asia/Ashgabat",displayName:"(GMT+05:00) Turkmenistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TC",displayName:"Turks & Caicos Islands",defaultTimeZoneId:"America/Grand_Turk",timeZone:[{timeZoneId:"America/Grand_Turk",displayName:"(GMT-04:00) Turks & Caicos Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TV",displayName:"Tuvalu",defaultTimeZoneId:"Pacific/Funafuti",timeZone:[{timeZoneId:"Pacific/Funafuti",displayName:"(GMT+12:00) Tuvalu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UM",displayName:"U.S. Outlying Islands",defaultTimeZoneId:"Pacific/Wake",timeZone:[{timeZoneId:"Pacific/Wake",displayName:"(GMT+12:00) Wake Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UA",displayName:"Ukraine",defaultTimeZoneId:"Europe/Kiev",timeZone:[{timeZoneId:"Europe/Kiev",displayName:"(GMT+03:00) Ukraine Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AE",displayName:"United Arab Emirates",defaultTimeZoneId:"Asia/Dubai",timeZone:[{timeZoneId:"Asia/Dubai",displayName:"(GMT+04:00) United Arab Emirates Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GB",displayName:"United Kingdom",defaultTimeZoneId:"Etc/GMT",timeZone:[{timeZoneId:"Etc/GMT",displayName:"(GMT+00:00) GMT"},{timeZoneId:"Europe/London",displayName:"(GMT+01:00) United Kingdom Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"US",displayName:"United States",defaultTimeZoneId:"America/Los_Angeles",timeZone:[{timeZoneId:"Pacific/Honolulu",displayName:"(GMT-10:00) Honolulu Time"},{timeZoneId:"America/Anchorage",displayName:"(GMT-08:00) Anchorage Time"},{timeZoneId:"America/Los_Angeles",displayName:"(GMT-07:00) Los Angeles Time"},{timeZoneId:"America/Boise",displayName:"(GMT-06:00) Boise Time"},{timeZoneId:"America/Denver",displayName:"(GMT-06:00) Denver Time"},{timeZoneId:"America/Phoenix",displayName:"(GMT-07:00) Phoenix Time"},{timeZoneId:"America/Chicago",displayName:"(GMT-05:00) Chicago Time"},{timeZoneId:"America/Detroit",displayName:"(GMT-04:00) Detroit Time"},{timeZoneId:"America/New_York",displayName:"(GMT-04:00) New York Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UY",displayName:"Uruguay",defaultTimeZoneId:"America/Montevideo",timeZone:[{timeZoneId:"America/Montevideo",displayName:"(GMT-03:00) Uruguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"UZ",displayName:"Uzbekistan",defaultTimeZoneId:"Asia/Tashkent",timeZone:[{timeZoneId:"Asia/Tashkent",displayName:"(GMT+05:00) Uzbekistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VU",displayName:"Vanuatu",defaultTimeZoneId:"Pacific/Efate",timeZone:[{timeZoneId:"Pacific/Efate",displayName:"(GMT+11:00) Vanuatu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VA",displayName:"Vatican City",defaultTimeZoneId:"Europe/Vatican",timeZone:[{timeZoneId:"Europe/Vatican",displayName:"(GMT+02:00) Vatican City Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"VE",displayName:"Venezuela",defaultTimeZoneId:"America/Caracas",timeZone:[{timeZoneId:"America/Caracas",displayName:"(GMT-04:00) Venezuela Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"VN",displayName:"Vietnam",defaultTimeZoneId:"Asia/Saigon",timeZone:[{timeZoneId:"Asia/Saigon",displayName:"(GMT+07:00) Vietnam Time"}],tosLocale:{language:"vi",country:"VN"}},{countryCode:"WF",displayName:"Wallis & Futuna",defaultTimeZoneId:"Pacific/Wallis",timeZone:[{timeZoneId:"Pacific/Wallis",displayName:"(GMT+12:00) Wallis & Futuna Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"EH",displayName:"Western Sahara",defaultTimeZoneId:"Africa/El_Aaiun",timeZone:[{timeZoneId:"Africa/El_Aaiun",displayName:"(GMT+01:00) Western Sahara Time"}],tosLocale:{language:"en",country:"GB"}}],i=r.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(a.keyBy)(r,"countryCode"),c=r.reduce((function(e,t){return t.timeZone.forEach((function(n){var a=n.timeZoneId;return e[a]=t.countryCode})),e}),{})},,function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return JoyrideTooltip}));var r=n(7),i=n.n(r),o=n(15),c=n.n(o),s=n(1),l=n(31),u=n(506),d=n(0),g=n(130),m=n(76),f=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,r=t.content,i=t.dismissLabel,o=t.target,s=t.cta,p=void 0!==s&&s,v=t.className,h=t.styles,y=void 0===h?{}:h,O=t.slug,_=void 0===O?"":O,E=t.onDismiss,k=void 0===E?function(){}:E,S=t.onView,j=void 0===S?function(){}:S,T=t.onTourStart,A=void 0===T?function(){}:T,N=t.onTourEnd,C=void 0===N?function(){}:N,w=function(){return!!e.document.querySelector(o)},I=Object(d.useState)(w),M=c()(I,2),R=M[0],D=M[1];if(Object(u.a)((function(){w()&&D(!0)}),R?null:250),Object(d.useEffect)((function(){if(R&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,R]),!R)return null;var x=[{title:n,target:o,content:r,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:v}],L={last:i};return a.createElement(m.a,{slug:_},a.createElement(l.e,{callback:function(t){switch(t.type){case l.b.TOUR_START:A(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case l.b.TOUR_END:C(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case l.b.STEP_AFTER:k();break;case l.b.TOOLTIP:j()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:f.b,locale:L,steps:x,styles:b(b(b({},f.c),y),{},{options:b(b({},f.c.options),null==y?void 0:y.options),spotlight:b(b({},f.c.spotlight),null==y?void 0:y.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:s.PropTypes.string.isRequired,content:s.PropTypes.string,dismissLabel:s.PropTypes.string,target:s.PropTypes.string.isRequired,onDismiss:s.PropTypes.func,onShow:s.PropTypes.func,className:s.PropTypes.string,styles:s.PropTypes.object,slug:s.PropTypes.string,onView:s.PropTypes.func}}).call(this,n(26),n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(1),r=n.n(a),i=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.CTA,o=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i);function WarningNotice(t){var n=t.children,a=t.className;return e.createElement("div",{className:r()("googlesitekit-warning-notice",a)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(0),s=n(112),l=n(8),u=n(384),d=n(93),g=n(385),m=n(134);function DataBlock(t){var n=t.stat,a=void 0===n?null:n,r=t.className,i=void 0===r?"":r,f=t.title,p=void 0===f?"":f,b=t.datapoint,v=void 0===b?null:b,h=t.datapointUnit,y=void 0===h?"":h,O=t.change,_=void 0===O?null:O,E=t.changeDataUnit,k=void 0===E?"":E,S=t.context,j=void 0===S?"default":S,T=t.period,A=void 0===T?"":T,N=t.selected,C=void 0!==N&&N,w=t.source,I=t.sparkline,M=t.handleStatSelection,R=void 0===M?null:M,D=t.invertChangeColor,x=void 0!==D&&D,L=t.gatheringData,P=void 0!==L&&L,G=t.gatheringDataNoticeStyle,Z=void 0===G?s.a.DEFAULT:G,B=t.badge,U=Object(c.useCallback)((function(){!P&&R&&R(a)}),[P,R,a]),F=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),U())}),[U]),z=void 0===v?v:Object(l.C)(v,y),W="button"===j,V=W?"button":"";return e.createElement("div",{className:o()("googlesitekit-data-block",i,"googlesitekit-data-block--".concat(j),{"googlesitekit-data-block--selected":C,"googlesitekit-data-block--is-gathering-data":P}),tabIndex:W&&!P?"0":"-1",role:R&&V,onClick:U,onKeyDown:F,"aria-disabled":P||void 0,"aria-label":R&&p,"aria-pressed":R&&C},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===B?e.createElement(d.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):B,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},p)),!P&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},z)),!P&&I&&e.createElement(u.a,{sparkline:I,invertChangeColor:x}),!P&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(g.a,{change:_,changeDataUnit:k,period:A,invertChangeColor:x}),w&&e.createElement(m.a,{className:"googlesitekit-data-block__source",name:w.name,href:w.link,external:null==w?void 0:w.external})),P&&e.createElement(s.b,{style:Z}))}DataBlock.propTypes={stat:r.a.number,className:r.a.string,title:r.a.string,datapoint:r.a.oneOfType([r.a.string,r.a.number]),datapointUnit:r.a.string,change:r.a.oneOfType([r.a.string,r.a.number]),changeDataUnit:r.a.oneOfType([r.a.string,r.a.bool]),context:r.a.string,period:r.a.string,selected:r.a.bool,handleStatSelection:r.a.func,invertChangeColor:r.a.bool,gatheringData:r.a.bool,gatheringDataNoticeStyle:r.a.oneOf(Object.values(s.a)),badge:r.a.oneOfType([r.a.bool,r.a.node])},t.a=DataBlock}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=n(38),m=n(2),f=n(3),p=n(10),b=n(6),v=n(36),h=n(20),y=n(18);function OptIn(t){var n=t.id,a=void 0===n?"googlesitekit-opt-in":n,i=t.name,c=void 0===i?"optIn":i,s=t.className,l=t.trackEventCategory,O=t.alignLeftCheckbox,_=void 0!==O&&O,E=Object(f.useSelect)((function(e){return e(b.a).isTrackingEnabled()})),k=Object(f.useSelect)((function(e){return e(b.a).isSavingTrackingEnabled()})),S=Object(f.useSelect)((function(e){return e(b.a).getErrorForAction("setTrackingEnabled",[!E])})),j=Object(f.useDispatch)(b.a).setTrackingEnabled,T=Object(y.a)(),A=Object(d.useCallback)(function(){var e=o()(r.a.mark((function e(t){var n,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j(!!t.target.checked);case 2:n=e.sent,a=n.response,n.error||(Object(v.a)(a.enabled),a.enabled&&Object(v.b)(l||T,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[j,l,T]);return e.createElement("div",{className:u()("googlesitekit-opt-in",s)},e.createElement(p.Checkbox,{id:a,name:c,value:"1",checked:E,disabled:k,onChange:A,loading:void 0===E,alignLeft:_},Object(g.a)(Object(m.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(h.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==S?void 0:S.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==S?void 0:S.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string,trackEventCategory:s.a.string,alignLeftCheckbox:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var a=n(1),r=n.n(a),i=n(3),o=n(14),c=n(19),s=n(374);function AdBlockerWarning(t){var n=t.moduleSlug,a=t.className,r=Object(i.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),l=Object(i.useSelect)((function(e){var t;return null===(t=e(r))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),u=Object(i.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(s.a,{className:a,getHelpLink:u,warningMessage:l})}AdBlockerWarning.propTypes={className:r.a.string,moduleSlug:r.a.string.isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(24);function d(e){var t=Object(s.useDispatch)(u.b).setValue,n=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.2")})),a=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(r.a.mark((function i(){var o,c,s,l;return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){r.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){r.next=7;break}return c.firstChild.click(),r.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(s=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!a&&(l=document.hasFocus,document.hasFocus=function(){return document.hasFocus=l,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:s});case 12:case"end":return r.stop()}}),i)}))),[n,a,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var a=n(7),r=n.n(a),i=n(21),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(23),g=n.n(d),m=n(0),f=n(1),p=n.n(f),b=n(3),v=n(208),h=n(24),y=n(160);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,a=t.tooltipStateKey,r=g()(t,["onDismiss","tooltipStateKey"]),i=Object(b.useDispatch)(h.b).setValue,c=Object(y.a)(a),l=c.rehideAdminMenu,d=c.rehideAdminSubMenu,f=Object(m.useCallback)(u()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:i(a,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,l,d,i,a]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:f},r))}AdminMenuTooltip.propTypes=_(_({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(7),r=n.n(a),i=n(23),o=n.n(i),c=n(57),s=n.n(c),l=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=s()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,a=o()(e,["metrics","dimensions"]);return d({metrics:m(t),dimensions:f(n)},a)})),m=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))},f=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))}},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var a=n(1),r=n.n(a);function Item(t){var n=t.icon,a=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},a))}Item.propTypes={icon:r.a.node,label:r.a.string}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(12),s=n.n(c),l=n(594),u=n(2),d=n(0),g=n(3),m=n(261),f=n(278),p=n(282),b=n(6),v=n(17),h=n(288),y=n(295),O=n(297),_=n(303),E=n(35),k=n(52),S=n(20),j=n(304),T=n(14),A=n(305);function Header(t){var n,a=t.children,i=t.subHeader,o=t.showNavigation,c=!!Object(k.c)(),N=Object(E.a)();Object(A.a)();var C=Object(g.useSelect)((function(e){return e(T.c).getAdminURL("googlesitekit-dashboard")})),w=Object(g.useSelect)((function(e){return e(b.a).isAuthenticated()})),I=Object(l.a)({childList:!0}),M=r()(I,2),R=M[0],D=!!(null===(n=M[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:s()("googlesitekit-header",{"googlesitekit-header--has-subheader":D,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(S.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:C},e.createElement(m.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},a,!w&&c&&N&&e.createElement(O.a,null),w&&!N&&e.createElement(f.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:R},e.createElement(p.a,null),e.createElement(_.a,null),i),o&&e.createElement(h.a,null),c&&e.createElement(j.a,null),e.createElement(y.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(217),s=n(0),l=n(56),u=n(2),d=n(3),g=n(10),m=n(306),f=n(129),p=n(8),b=n(174),v=n(19),h=n(18),y=n(14);function HelpMenu(t){var n=t.children,a=Object(s.useState)(!1),i=r()(a,2),o=i[0],O=i[1],_=Object(s.useRef)(),E=Object(h.a)();Object(c.a)(_,(function(){return O(!1)})),Object(f.a)([l.c,l.f],_,(function(){return O(!1)}));var k=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),S=Object(s.useCallback)((function(){o||Object(p.J)("".concat(E,"_headerbar"),"open_helpmenu"),O(!o)}),[o,E]),j=Object(s.useCallback)((function(){O(!1)}),[]),T=Object(d.useSelect)((function(e){return e(y.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:_,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(m.a,{width:"20",height:"20"}),onClick:S,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:j},n,e.createElement(b.a,{gaEventLabel:"fix_common_issues",href:T},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(b.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(b.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(b.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"i",(function(){return i.b})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d.k})),n.d(t,"b",(function(){return d.l})),n.d(t,"c",(function(){return d.p})),n.d(t,"h",(function(){return d.t})),n.d(t,"e",(function(){return g.a})),n.d(t,"f",(function(){return g.b}));n(13);var a=n(8);function r(e,t){var n,a;if(void 0!==e){var r=e||{},i=r.rows,o=r.totals;return!(null==i?void 0:i.length)||(!(null==o||null===(n=o.cells)||void 0===n?void 0:n.length)||0==+(null===(a=o.cells[t])||void 0===a?void 0:a.value))}}var i=n(363),o=n(12),c=n.n(o),s=n(2);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.year,n=void 0===t?0:t,a=e.month,r=void 0===a?1:a,i=e.day,o=void 0===i?0:i;return new Date(n,r-1,o)}function u(e,t,n,r,i){for(var o=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:"number",label:n},{type:"number",label:Object(s.__)("Previous period","google-site-kit")}]],u=function(e){var t=new Date(e);return t.setDate(e.getDate()+1),t},d=function(e){return function(t){return e.getTime()===Object(a.H)(t.cells[0].value).getTime()}},g=l(e.startDate),m=l(t.startDate),f=l(e.endDate),p=Object(a.s)(),b={weekday:"short",month:"short",day:"numeric"};g<=f;){var v,h,y,O,_,E,k=parseFloat((null===(v=((null==e?void 0:e.rows)||[]).find(d(g)))||void 0===v||null===(h=v.cells)||void 0===h||null===(y=h[r])||void 0===y?void 0:y.value)||0),S=parseFloat((null===(O=((null==t?void 0:t.rows)||[]).find(d(m)))||void 0===O||null===(_=O.cells)||void 0===_||null===(E=_[r])||void 0===E?void 0:E.value)||0),j=Object(a.i)(k,S),T=Object(a.p)(j),A=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),g.toLocaleDateString(p,b),m.toLocaleDateString(p,b)),N=Object(a.C)(k,null==i?void 0:i.currencyCode);"METRIC_RATIO"===(null==i?void 0:i.type)&&(N=Object(a.C)(k,"%"));var C=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,N,T,Math.abs(j).toFixed(2).replace(/(.00|0)$/,""));o.push([g,'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":j>0,"googlesitekit-visualization-tooltip--down":j<0}),'">\n\t\t\t\t<p>').concat(A,"</p>\n\t\t\t\t<p>").concat(C,"</p>\n\t\t\t</div>"),k,S]),g=u(g),m=u(m)}return o}var d=n(132),g=n(533);n(582)},,,,,function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g}));var a=n(27),r=n.n(a),i=n(13),o=n(25),c=n(8),s=function(e,t){if(!(null==t?void 0:t.length))return e;var n=[];return(null==e?void 0:e.length)&&(n=e[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(r()(e),[n]):e}),[])),e.map((function(e){return e.filter((function(e,a){return 0===a||t.includes(a-1)||n.includes(a-1)}))}))},l=function(e,t,n,a){var r={height:e||t,width:n||a};return r.width&&!r.height&&(r.height="100%"),r.height&&!r.width&&(r.width="100%"),r},u=function(e,t,n){var a=r()(e||[]);return t&&a.push({eventName:"ready",callback:t}),n&&a.push({eventName:"select",callback:n}),a},d=function(e,t,n,a,r,s){var l,u,d,g,m,f,p,b,v=Object(i.cloneDeep)(e);t&&"LineChart"===n&&((null==e||null===(l=e.vAxis)||void 0===l||null===(u=l.viewWindow)||void 0===u?void 0:u.min)||Object(i.set)(v,"vAxis.viewWindow.min",0),(null==e||null===(d=e.vAxis)||void 0===d||null===(g=d.viewWindow)||void 0===g?void 0:g.max)||Object(i.set)(v,"vAxis.viewWindow.max",100),(null==e||null===(m=e.hAxis)||void 0===m||null===(f=m.viewWindow)||void 0===f?void 0:f.min)||(Object(i.set)(v,"hAxis.viewWindow.min",Object(c.H)(a)),delete v.hAxis.ticks),(null==e||null===(p=e.hAxis)||void 0===p||null===(b=p.viewWindow)||void 0===b?void 0:b.max)||(Object(i.set)(v,"hAxis.viewWindow.max",Object(c.H)(r)),delete v.hAxis.ticks));if("LineChart"===n){var h,y,O;if((null==e||null===(h=e.hAxis)||void 0===h?void 0:h.maxTextLines)||Object(i.set)(v,"hAxis.maxTextLines",1),!(null==e||null===(y=e.hAxis)||void 0===y?void 0:y.minTextSpacing)){var _=s===o.b?50:100;Object(i.set)(v,"hAxis.minTextSpacing",_)}void 0===(null==e||null===(O=e.tooltip)||void 0===O?void 0:O.isHtml)&&(Object(i.set)(v,"tooltip.isHtml",!0),Object(i.set)(v,"tooltip.trigger","both"))}return Object(i.merge)(v,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),v},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(c.s)(),n=Intl.NumberFormat(t,{style:"currency",currency:e}),a=n.formatToParts(1e6);return a.reduce((function(e,t){var n=t.value;switch(t.type){case"group":return e+",";case"decimal":return e+".";case"currency":return e+n;case"literal":return e+(/^\s*$/.test(n)?n:"");case"integer":var r=n.replace(/\d/g,"#");return e+(Object(i.findLast)(a,(function(e){return"integer"===e.type}))===t?r.replace(/#$/,"0"):r);case"fraction":return e+n.replace(/\d/g,"0");default:return e}}),"")}},,,function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(0);t.a=function(t,n){var a=Object(i.useState)(null),o=r()(a,2),c=o[0],s=o[1];return Object(i.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var a=new e.IntersectionObserver((function(e){s(e[e.length-1])}),n);return a.observe(t.current),function(){s(null),a.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileText}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(171),u=n(8),d=n(189);function MetricTileText(t){var n=t.metricValue,a=t.metricValueFormat,i=t.subText,c=t.previousValue,s=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),m=Object(u.n)(a);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--text"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},n),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},i)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(l.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==m?void 0:m.style)})))}MetricTileText.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(53),r=n.n(a),i=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,l=o.preloadedData,u=o.rootURL;r.a.nonceEndpoint=s,r.a.nonceMiddleware=r.a.createNonceMiddleware(c),r.a.rootURLMiddleware=r.a.createRootURLMiddleware(u),r.a.preloadingMiddleware=Object(i.a)(l),r.a.use(r.a.nonceMiddleware),r.a.use(r.a.mediaUploadMiddleware),r.a.use(r.a.rootURLMiddleware),r.a.use(r.a.preloadingMiddleware),t.default=r.a}).call(this,n(26))},function(e,t,n){"use strict";var a=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(a.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,r){if(n)return r(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,l=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",u=Object(a.getStablePath)(c);if(o&&"GET"===l&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===l&&t[l]&&t[l][u]){var g=Promise.resolve(t[l][u]);return delete t[l][u],g}}return r(e)}}},,,,function(e,t,n){"use strict";(function(e){var a=n(2),r=n(143),i=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(r.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(a.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return a.createElement("svg",r({viewBox:"0 0 80 21",fill:"none"},e),i)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileError}));var a=n(85),r=n(122);function MetricTileError(t){var n=t.children,i=t.headerText,o=t.infoTooltip,c=t.title;return e.createElement("div",{className:"googlesitekit-km-widget-tile--error"},e.createElement(a.a,{title:c,headerText:i,headerContent:o&&e.createElement(r.a,{title:o}),description:"",error:!0},n))}}).call(this,n(4))},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={UPCOMING:"upcoming",ACTIVE:"active",COMPLETED:"completed"}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(13),r=n(95);function i(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(r.e)(e.orderby))))}))}},,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),o=a.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return a.createElement("svg",r({viewBox:"0 0 22 22",fill:"currentColor"},e),i,o)}},,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return a.createElement("svg",r({viewBox:"0 0 16 16",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return UserMenu}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(217),d=n(0),g=n(2),m=n(56),f=n(3),p=n(10),b=n(114),v=n(8),h=n(41),y=n(76),O=n(279),_=n(234),E=n(280),k=n(281),S=n(28),j=n(14),T=n(6),A=n(32),N=n(9),C=n(129),w=n(18);function UserMenu(){var t=Object(f.useSelect)((function(e){return e(j.c).getProxyPermissionsURL()})),n=Object(f.useSelect)((function(e){return e(T.a).getEmail()})),r=Object(f.useSelect)((function(e){return e(T.a).getPicture()})),o=Object(f.useSelect)((function(e){return e(T.a).getFullName()})),s=Object(f.useSelect)((function(e){return e(j.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),I=Object(f.useSelect)((function(e){return e(S.a).getValue(N.d,"isAutoCreatingCustomDimensionsForAudience")})),M=Object(d.useState)(!1),R=l()(M,2),D=R[0],x=R[1],L=Object(d.useState)(!1),P=l()(L,2),G=P[0],Z=P[1],B=Object(d.useRef)(),U=Object(d.useRef)(),F=Object(w.a)(),z=Object(f.useDispatch)(A.a).navigateTo;Object(u.a)(B,(function(){return Z(!1)})),Object(C.a)([m.c,m.f],B,(function(){var e;Z(!1),null===(e=U.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){m.c===e.keyCode&&(x(!1),Z(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var W,V=Object(d.useCallback)((function(){G||Object(v.J)("".concat(F,"_headerbar"),"open_usermenu"),Z(!G)}),[G,F]),H=Object(d.useCallback)((function(){x(!D),Z(!1)}),[D]),q=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(n,a){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.detail.item,e.t0=null==r?void 0:r.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(F,"_headerbar_usermenu"),"manage_sites");case 7:z(t);case 8:return e.abrupt("break",12);case 9:return H(),e.abrupt("break",12);case 11:V();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,V,H,z,F]),K=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(!1),e.next=3,Object(h.b)();case 3:return e.next=5,Object(v.J)("".concat(F,"_headerbar_usermenu"),"disconnect_user");case 5:z(s);case 6:case"end":return e.stop()}}),e)}))),[s,z,F]);return n?(o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),a.createElement(d.Fragment,null,a.createElement("div",{ref:B,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},a.createElement(p.Button,{disabled:I,ref:U,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:V,icon:!!r&&a.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},a.createElement("img",{className:"mdc-button__icon--image",src:r,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":G,"aria-controls":"user-menu","aria-label":I?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:I?null:a.createElement("span",{"aria-label":W},a.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),a.createElement("br",null),a.createElement("br",null),o,o&&a.createElement("br",null),n)}),a.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:G,onSelected:q,id:"user-menu"},a.createElement("li",null,a.createElement(O.a,null)),!!t&&a.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},a.createElement(_.a,{icon:a.createElement(k.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),a.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},a.createElement(_.a,{icon:a.createElement(E.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),a.createElement(y.a,null,a.createElement(b.a,{dialogActive:D,handleConfirm:K,handleDialog:H,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var a=n(2),r=n(3),i=n(6);function Details(){var t=Object(r.useSelect)((function(e){return e(i.a).getPicture()})),n=Object(r.useSelect)((function(e){return e(i.a).getFullName()})),o=Object(r.useSelect)((function(e){return e(i.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(a.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(a.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return a.createElement("svg",r({viewBox:"0 0 22 22",fill:"none"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return a.createElement("svg",r({viewBox:"0 0 22 18",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return ErrorNotifications}));var r=n(0),i=n(2),o=n(3),c=n(283),s=n(284),l=n(6),u=n(14),d=n(28),g=n(65),m=n(180),f=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(l.a).isAuthenticated()})),p=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),b=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(o.useSelect)((function(e){return e(d.a).getValue(l.d,"permissionsError")})),h=Object(o.useSelect)((function(t){var a,r;return(null==v?void 0:v.data)?t(l.a).getConnectURL({additionalScopes:null==v||null===(a=v.data)||void 0===a?void 0:a.scopes,redirectURL:(null==v||null===(r=v.data)||void 0===r?void 0:r.redirectURL)||e.location.href}):"access_denied"===p&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),y=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),O=Object(i.__)("Error connecting Site Kit","google-site-kit"),_=Object(i.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(O=Object(i.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?_=Object(i.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(_=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:a.createElement(r.Fragment,null,a.createElement(s.a,null),a.createElement(c.a,null),b&&a.createElement(g.b,{id:"setup_error",type:"win-error",title:O,description:b,isDismissible:!1,ctaLink:h,ctaLabel:_,learnMoreLabel:Object(i.__)("Get help","google-site-kit"),learnMoreURL:y}),a.createElement(m.a,{areaSlug:f.b.ERRORS}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var a=n(2),r=n(3),i=n(6),o=n(65);function AuthError(){var t=Object(r.useSelect)((function(e){return e(i.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(a.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(a.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var a=n(3),r=n(14),i=n(65);function InternalServerError(){var t=Object(a.useSelect)((function(e){return e(r.c).getInternalServerError()}));return t?e.createElement(i.b,t):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var a=n(21),r=n.n(a),i=n(57),o=n.n(i),c=n(286),s=o()((function(e){return{id:e,Notification:l(e)(c.a)}}));function l(t){return function(n){function WithNotificationID(a){return e.createElement(n,r()({},a,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(287),l=n(170),u=n(120);function Notification(t){var n=t.id,a=t.className,i=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),g=Object(l.a)(n),m=Object(u.a)(n),f=Object(c.useState)(!1),p=r()(f,2),b=p[0],v=p[1];return Object(c.useEffect)((function(){!b&&g&&(m.view(null==i?void 0:i.label,null==i?void 0:i.value),v(!0))}),[g,m,b,i]),e.createElement("section",{id:n,ref:d,className:a},o,!g&&e.createElement(s.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var a=n(1),r=n.n(a),i=n(0),o=n(3),c=n(24),s=n(252),l=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,a=e.threshold,r=Object(s.a)(n,{threshold:a}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==r?void 0:r.isIntersecting),g=Object(l.a)(t);return Object(i.useEffect)((function(){!g&&d&&u(l.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:r.a.string,observeRef:r.a.object,threshold:r.a.number}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(3),r=n(6),i=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(i.a)(),n=Object(a.useSelect)((function(e){return t?e(r.a).getViewableModules():null})),s=Object(a.useSelect)((function(e){return e(r.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===s,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return Navigation}));var r=n(27),i=n.n(r),o=n(15),c=n.n(o),s=n(12),l=n.n(s),u=n(13),d=n(91),g=n(156),m=n(0),f=n(2),p=n(3),b=n(290),v=n(291),h=n(292),y=n(293),O=n(294),_=n(22),E=n(6),k=n(46),S=n(24),j=n(73),T=n(52),A=n(25),N=n(89),C=n(8),w=n(18),I=n(35);function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Navigation(){var t,n=Object(T.c)(),r=Object(m.useRef)(),o=Object(A.e)(),s=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),R=Object(m.useState)(s),D=c()(R,2),x=D[0],L=D[1],P=Object(m.useState)(s||void 0),G=c()(P,2),Z=G[0],B=G[1],U=Object(m.useState)(!1),F=c()(U,2),z=F[0],W=F[1],V=Object(w.a)(),H=Object(I.a)(),q=Object(p.useDispatch)(S.b).setValue,K=Object(p.useSelect)((function(e){return H?e(E.a).getViewableModules():null})),Y=Object(p.useSelect)((function(e){return e(E.a).isKeyMetricsWidgetHidden()})),J={modules:K||void 0},$=Object(p.useSelect)((function(e){return n===T.b&&!0!==Y&&e(k.a).isWidgetContextActive(j.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,J)})),X=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===T.b?j.CONTEXT_MAIN_DASHBOARD_TRAFFIC:j.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,J)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===T.b?j.CONTEXT_MAIN_DASHBOARD_CONTENT:j.CONTEXT_ENTITY_DASHBOARD_CONTENT,J)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===T.b?j.CONTEXT_MAIN_DASHBOARD_SPEED:j.CONTEXT_ENTITY_DASHBOARD_SPEED,J)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===T.b?j.CONTEXT_MAIN_DASHBOARD_MONETIZATION:j.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,J)})),ne=Object(m.useCallback)((function(){return $?_.b:H?X?_.e:Q?_.a:ee?_.d:te?_.c:"":_.e}),[$,X,Q,ee,te,H]),ae=Object(m.useCallback)((function(t){var n,a=t.target.closest(".mdc-chip"),r=null==a||null===(n=a.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(r)),B(r),Object(C.J)("".concat(V,"_navigation"),"tab_select",r),e.scrollTo({top:r!==ne()?Object(N.a)("#".concat(r),o):0,behavior:"smooth"}),setTimeout((function(){q(S.a,r)}),50)}),[o,V,q,ne]);return Object(d.a)((function(){var t=ne();if(!s)return L(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=s;(function(e){return!(!$||e!==_.b)||(!(!X||e!==_.e)||(!(!Q||e!==_.a)||(!(!ee||e!==_.d)||!(!te||e!==_.c))))})(n)||(n=t),q(S.a,n),L(n),setTimeout((function(){var a=n!==t?Object(N.a)("#".concat(n),o):0;e.scrollY!==a?e.scrollTo({top:a,behavior:"smooth"}):q(S.a,void 0)}),50)})),Object(m.useEffect)((function(){var t=function(e){q(S.a,void 0),L(e),B(void 0)},n=Object(u.throttle)((function(n){var a,o,c,s,l=e.scrollY,u=null===(a=document.querySelector(".googlesitekit-entity-header"))||void 0===a||null===(o=a.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==r||null===(c=r.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,m=d.top,f=[].concat(i()($?[_.b]:[]),i()(X?[_.e]:[]),i()(Q?[_.a]:[]),i()(ee?[_.d]:[]),i()(te?[_.c]:[])),p=ne();if(0===l)W(!1);else{var b,v=null===(b=document.querySelector(".googlesitekit-header"))||void 0===b?void 0:b.getBoundingClientRect().bottom;W(m===v)}var h,y=M(f);try{for(y.s();!(h=y.n()).done;){var O=h.value,E=document.getElementById(O);if(E){var k=E.getBoundingClientRect().top-20-(u||g||0);k<0&&(void 0===s||s<k)&&(s=k,p=O)}}}catch(e){y.e(e)}finally{y.f()}if(Z)Z===p&&t(p);else{var S=e.location.hash;p!==(null==S?void 0:S.substring(1))&&(n&&Object(C.J)("".concat(V,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[Z,$,X,Q,ee,te,V,q,ne]),a.createElement("nav",{className:l()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":z}),ref:r},$&&a.createElement(g.Chip,{id:_.b,label:Object(f.__)("Key metrics","google-site-kit"),leadingIcon:a.createElement(b.a,{width:"18",height:"16"}),onClick:ae,selected:x===_.b,"data-context-id":_.b}),X&&a.createElement(g.Chip,{id:_.e,label:Object(f.__)("Traffic","google-site-kit"),leadingIcon:a.createElement(v.a,{width:"18",height:"16"}),onClick:ae,selected:x===_.e,"data-context-id":_.e}),Q&&a.createElement(g.Chip,{id:_.a,label:Object(f.__)("Content","google-site-kit"),leadingIcon:a.createElement(h.a,{width:"18",height:"18"}),onClick:ae,selected:x===_.a,"data-context-id":_.a}),ee&&a.createElement(g.Chip,{id:_.d,label:Object(f.__)("Speed","google-site-kit"),leadingIcon:a.createElement(y.a,{width:"20",height:"16"}),onClick:ae,selected:x===_.d,"data-context-id":_.d}),te&&a.createElement(g.Chip,{id:_.c,label:Object(f.__)("Monetization","google-site-kit"),leadingIcon:a.createElement(O.a,{width:"18",height:"16"}),onClick:ae,selected:x===_.c,"data-context-id":_.c}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=a.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=a.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),s=a.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return a.createElement("svg",r({viewBox:"0 0 13 12",fill:"none"},e),i,o,c,s)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return a.createElement("svg",r({viewBox:"0 0 18 16",fill:"none"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return a.createElement("svg",r({viewBox:"0 0 18 18",fill:"none"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=a.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return a.createElement("svg",r({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return a.createElement("svg",r({viewBox:"0 0 23 12",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e,a){var r=n(15),i=n.n(r),o=n(13),c=n(2),s=n(0),l=n(3),u=n(10),d=n(14),g=n(296),m=n(32),f=n(20),p=n(83),b=n(8),v=n(52),h=n(18);t.a=function EntityHeader(){var t=Object(h.a)(),n=Object(v.c)(),r=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),y=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),O=Object(s.useRef)(),_=Object(s.useState)(y),E=i()(_,2),k=E[0],S=E[1];Object(s.useEffect)((function(){var t=function(){if(O.current){var t=O.current.clientWidth-40,n=e.getComputedStyle(O.current.lastChild,null).getPropertyValue("font-size"),a=2*t/parseFloat(n);S(Object(p.d)(y,a))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[y,O,S]);var j=Object(l.useDispatch)(m.a).navigateTo,T=Object(l.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),A=Object(s.useCallback)((function(){Object(b.J)("".concat(t,"_navigation"),"return_to_dashboard"),j(T)}),[T,j,t]);return v.a!==n||null===y||null===r?null:a.createElement("div",{className:"googlesitekit-entity-header"},a.createElement("div",{className:"googlesitekit-entity-header__back"},a.createElement(u.Button,{icon:a.createElement(g.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:A,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),a.createElement("div",{ref:O,className:"googlesitekit-entity-header__details"},a.createElement("p",null,r),a.createElement(f.a,{secondary:!0,href:y,"aria-label":y,external:!0},k)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=a.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return a.createElement("svg",r({viewBox:"0 0 24 24"},e),i,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var a=n(15),r=n.n(a),i=n(217),o=n(12),c=n.n(o),s=n(0),l=n(2),u=n(56),d=n(10),g=n(18),m=n(129),f=n(8),p=n(298),b=n(299),v=n(300),h=n(302),y=n(3),O=n(6);function ViewOnlyMenu(){var t=Object(s.useState)(!1),n=r()(t,2),a=n[0],o=n[1],_=Object(s.useRef)(),E=Object(g.a)();Object(i.a)(_,(function(){return o(!1)})),Object(m.a)([u.c,u.f],_,(function(){return o(!1)}));var k=Object(s.useCallback)((function(){a||Object(f.J)("".concat(E,"_headerbar"),"open_viewonly"),o(!a)}),[a,E]),S=Object(y.useSelect)((function(e){return e(O.a).hasCapability(O.H)}));return e.createElement("div",{ref:_,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":S})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":a,"aria-controls":"view-only-menu","aria-label":Object(l.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(l.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:a,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(h.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return a.createElement("svg",r({viewBox:"0 0 16 10",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),g=n(32),m=n(14),f=n(6),p=n(8),b=n(20),v=n(18),h=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(f.a).hasCapability(f.H)})),a=Object(u.useSelect)((function(e){return e(m.c).getProxySetupURL()})),i=Object(u.useSelect)((function(e){return e(m.c).getDocumentationLinkURL("dashboard-sharing")})),y=Object(u.useDispatch)(g.a).navigateTo,O=Object(c.useCallback)(function(){var e=o()(r.a.mark((function e(n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(h.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",a?"proxy":"custom-oauth")]);case 3:y(a);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[a,y,t]),_=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),E=n?Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:i,external:!0,onClick:_,"aria-label":Object(l.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,E),n&&e.createElement(d.Button,{onClick:O},Object(l.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var a=n(2),r=n(3),i=n(6),o=n(301);function SharedServices(){var t=Object(r.useSelect)((function(e){return e(i.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(a.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var a=n(1),r=n.n(a),i=n(38),o=n(2),c=n(3),s=n(19),l=n(6);function Service(t){var n=t.module,a=Object(c.useSelect)((function(e){return e(l.a).hasCapability(l.H)})),r=Object(c.useSelect)((function(e){return e(s.a).getModule(n)||{}})),u=r.name,d=r.owner,g=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),a&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var a=n(38),r=n(2),i=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(a.a)(Object(r.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var a=n(2),r=n(3),i=n(65),o=n(14),c=n(28),s=n(6);function SetupErrorNotification(){var t=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),l=Object(r.useSelect)((function(e){return e(c.a).getValue(s.d,"permissionsError")||{}})).data;return!t||(null==l?void 0:l.skipDefaultErrorNotifications)?null:e.createElement(i.b,{id:"setup_error",type:"win-error",title:Object(a.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(a.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var a=n(180),r=n(60);function SubtleNotifications(){return e.createElement(a.a,{areaSlug:r.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(18),d=n(41),g=n(8),m=function(){var e=Object(u.a)(),t=Object(s.useSelect)((function(e){return e(l.c).isUsingProxy()})),n=Object(s.useSelect)((function(e){return e(l.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(r.a.mark((function n(){var a,i;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return a=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(i=n.sent,!a.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!i.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return a.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateAccountField}));var a=n(12),r=n.n(a),i=n(10);function CreateAccountField(t){var n=t.hasError,a=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===a?null:e.createElement(i.TextField,{className:r()("mdc-text-field",{"mdc-text-field--error":n}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,value:a,id:"googlesitekit_analytics_account_create_".concat(c)})}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EnhancedMeasurementSwitch}));var a=n(7),r=n.n(a),i=n(12),o=n.n(i),c=n(1),s=n.n(c),l=n(91),u=n(0),d=n(38),g=n(2),m=n(3),f=n(10),p=n(28),b=n(9),v=n(162),h=n(8),y=n(18);function EnhancedMeasurementSwitch(t){var n=t.className,a=t.onClick,i=t.disabled,c=void 0!==i&&i,s=t.loading,O=void 0!==s&&s,_=t.formName,E=void 0===_?b.i:_,k=t.isEnhancedMeasurementAlreadyEnabled,S=void 0!==k&&k,j=Object(m.useSelect)((function(e){return e(p.a).getValue(E,b.h)})),T=Object(y.a)(),A=Object(m.useDispatch)(p.a).setValues,N=Object(u.useCallback)((function(){A(E,r()({},b.h,!j)),Object(h.J)("".concat(T,"_analytics"),j?"deactivate_enhanced_measurement":"activate_enhanced_measurement"),null==a||a()}),[E,j,a,A,T]);return Object(l.a)((function(){A(b.i,r()({},b.j,!0))})),e.createElement("div",{className:o()("googlesitekit-analytics-enable-enhanced-measurement",n,{"googlesitekit-analytics-enable-enhanced-measurement--loading":O})},O&&e.createElement(f.ProgressBar,{small:!0,className:"googlesitekit-analytics-enable-enhanced-measurement__progress--settings-edit"}),!O&&S&&e.createElement("p",{className:"googlesitekit-margin-top-0"},"Enhanced measurement is enabled for this web data stream"),!O&&!S&&e.createElement(f.Switch,{label:Object(g.__)("Enable enhanced measurement","google-site-kit"),checked:j,disabled:c,onClick:N,hideLabel:!1}),e.createElement("p",null,Object(d.a)(Object(g.__)("This allows you to measure interactions with your content (e.g. file downloads, form completions, video views). <a>Learn more</a>","google-site-kit"),{a:e.createElement(v.a,{path:"/analytics/answer/9216061",external:!0})})))}EnhancedMeasurementSwitch.propTypes={onClick:s.a.func,disabled:s.a.bool,loading:s.a.bool,isEnhancedMeasurementAlreadyEnabled:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"currentColor",fillRule:"evenodd"},a.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),a.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return a.createElement("svg",r({viewBox:"0 0 16 12"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"currentColor",fillRule:"evenodd"},a.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return a.createElement("svg",r({viewBox:"0 0 2 12"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var a=n(0);function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(a.useEffect)((function(){var a,r=!1,i=function(){a=e.setTimeout((function(){r=!0}),n)},o=function(){e.clearTimeout(a),r&&(r=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",i),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",i),e.clearTimeout(a)}}),[n,t])}}).call(this,n(26))},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var a=n(1),r=n.n(a),i=n(20),o=n(119);function SelectionPanelHeader(t){var n=t.children,a=t.title,r=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,a),e.createElement(i.a,{className:"googlesitekit-selection-panel-header__close",onClick:r,linkButton:!0},e.createElement(o.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:r.a.node,title:r.a.string,onCloseClick:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var a=n(1),r=n.n(a),i=n(345);function SelectionPanelItem(t){var n=t.children,a=t.id,r=t.slug,o=t.title,c=t.description,s=t.isItemSelected,l=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,g=t.suffix,m=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(i.a,{badge:m,checked:s,disabled:l,id:a,onChange:u,title:o,value:r},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),c,n),g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},g))}SelectionPanelItem.propTypes={children:r.a.node,id:r.a.string,slug:r.a.string,title:r.a.string,description:r.a.string,isItemSelected:r.a.bool,isItemDisabled:r.a.bool,onCheckboxChange:r.a.func,subtitle:r.a.string,suffix:r.a.node,badge:r.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var a=n(21),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,a=void 0===n?Object(s.__)("Current selection","google-site-kit"):n,i=t.availableItemsTitle,o=void 0===i?Object(s.__)("Additional items","google-site-kit"):i,l=t.savedItemSlugs,u=void 0===l?[]:l,d=t.availableSavedItems,g=void 0===d?{}:d,m=t.availableUnsavedItems,f=void 0===m?{}:m,p=t.ItemComponent,b=function(t){return Object.keys(t).map((function(n){return e.createElement(p,r()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(f).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},a),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(g)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},o)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(f)))}SelectionPanelItems.propTypes={currentSelectionTitle:o.a.string,availableItemsTitle:o.a.string,savedItemSlugs:o.a.array,availableSavedItems:o.a.object,availableUnsavedItems:o.a.object,ItemComponent:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(13),u=n(1),d=n.n(u),g=n(0),m=n(38),f=n(2),p=n(3),b=n(10),v=n(116),h=n(8),y=n(9),O=n(40),_=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,a=void 0===n?[]:n,i=t.selectedItemSlugs,c=void 0===i?[]:i,u=t.saveSettings,d=void 0===u?function(){}:u,E=t.saveError,k=t.itemLimitError,S=t.minSelectedItemCount,j=void 0===S?0:S,T=t.maxSelectedItemCount,A=void 0===T?0:T,N=t.isBusy,C=t.onSaveSuccess,w=void 0===C?function(){}:C,I=t.onCancel,M=void 0===I?function(){}:I,R=t.isOpen,D=t.closePanel,x=void 0===D?function(){}:D,L=Object(g.useState)(null),P=s()(L,2),G=P[0],Z=P[1],B=Object(g.useState)(!1),U=s()(B,2),F=U[0],z=U[1],W=Object(p.useSelect)((function(e){return e(y.p).isFetchingSyncAvailableAudiences()})),V=Object(g.useMemo)((function(){return!Object(l.isEqual)(Object(h.F)(c),Object(h.F)(a))}),[a,c]),H=(null==a?void 0:a.length)>0&&V?Object(f.__)("Apply changes","google-site-kit"):Object(f.__)("Save selection","google-site-kit"),q=Object(g.useCallback)(o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(c);case 2:t=e.sent,t.error||(w(),x(),Z(H),z(!0));case 5:case"end":return e.stop()}}),e)}))),[d,c,w,x,H]),K=Object(g.useCallback)((function(){x(),M()}),[x,M]),Y=Object(g.useState)(null),J=s()(Y,2),$=J[0],X=J[1];Object(g.useEffect)((function(){null!==$&&$!==R&&R&&(Z(null),z(!1)),X(R)}),[R,$]);var Q=(null==c?void 0:c.length)||0,ee=W?e.createElement(O.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(m.a)(Object(f.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(f.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Q,A),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},E&&e.createElement(v.a,{error:E}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},V&&k?e.createElement(_.a,{noPrefix:!0,message:k}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(b.Button,{tertiary:!0,onClick:K,disabled:N},Object(f.__)("Cancel","google-site-kit")),e.createElement(b.SpinnerButton,{onClick:q,isSaving:N,disabled:Q<j||Q>A||N||!R&&F},G||H))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(344);function SelectionPanel(t){var n=t.children,a=t.isOpen,i=t.onOpen,o=t.closePanel,s=t.className;return e.createElement(c.a,{className:r()("googlesitekit-selection-panel",s),isOpen:a,onOpen:i,closeSheet:o,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:o.a.node,isOpen:o.a.bool,onOpen:o.a.func,closePanel:o.a.func,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var a=n(7),r=n.n(a),i=n(12),o=n.n(i),c=n(405),s=n.n(c),l=n(1),u=n.n(l),d=n(217),g=n(401),m=n(0),f=n(56),p=n(76);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,a=t.children,r=t.isOpen,i=t.onOpen,c=void 0===i?function(){}:i,l=t.closeSheet,u=void 0===l?function(){}:l,b=t.focusTrapOptions,h=void 0===b?{}:b,y=Object(m.useRef)();return Object(m.useEffect)((function(){r?(c(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[r,c]),Object(d.a)(y,u),Object(g.a)((function(e){return r&&f.c===e.keyCode}),u),e.createElement(p.a,null,e.createElement(s.a,{active:!!r,focusTrapOptions:v({fallbackFocus:"body"},h)},e.createElement("section",{ref:y,className:o()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":r}),role:"dialog","aria-modal":"true","aria-hidden":!r,tabIndex:"0"},a)),r&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(10);function SelectionBox(t){var n=t.badge,a=t.checked,r=t.children,i=t.disabled,s=t.id,l=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:o()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":i})},e.createElement(c.Checkbox,{checked:a,description:r,disabled:i,id:s,name:s,onChange:l,value:d,badge:n},u))}SelectionBox.propTypes={badge:r.a.node,checked:r.a.bool,children:r.a.node,disabled:r.a.bool,id:r.a.string,onChange:r.a.func,title:r.a.string,value:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return a.createElement("svg",r({viewBox:"0 0 22 19"},e),i)}},function(e,t,n){"use strict";(function(e){var a=n(50),r=n.n(a),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),m=n(1),f=n.n(m),p=n(0),b=n(17),v=n(20);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}var y=function(t){s()(LayoutHeader,t);var n=h(LayoutHeader);function LayoutHeader(){return r()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,a=t.badge,r=t.ctaLabel,i=t.ctaLink,o=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(b.e,null,e.createElement(b.k,null,n&&e.createElement(b.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,a)),i&&e.createElement(b.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:i,external:!0},r)))))}}]),LayoutHeader}(p.Component);y.propTypes={title:f.a.string,badge:f.a.node,ctaLabel:f.a.string,ctaLink:f.a.string},y.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(50),r=n.n(a),i=n(51),o=n.n(i),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),m=n(1),f=n.n(m),p=n(0),b=n(17),v=n(134);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}var y=function(t){s()(LayoutFooter,t);var n=h(LayoutFooter);function LayoutFooter(){return r()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,a=t.ctaLink,r=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},a&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:a,external:!0}),r))))}}]),LayoutFooter}(p.Component);y.propTypes={ctaLabel:f.a.string,ctaLink:f.a.string},t.a=y}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return GoogleChart}));var r=n(7),i=n.n(r),o=n(27),c=n.n(o),s=n(21),l=n.n(s),u=n(15),d=n.n(u),g=n(23),m=n.n(g),f=(n(576),n(12)),p=n.n(f),b=n(11),v=n.n(b),h=n(1),y=n.n(h),O=n(408),_=n(91),E=n(200),k=n(0),S=n(40),j=n(6),T=n(112),A=n(3),N=n(493),C=n(494),w=n(24),I=n(18),M=n(169),R=n(249),D=n(8),x=n(25);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GoogleChart(t){var n=t.chartEvents,r=t.chartType,i=t.children,o=t.className,s=t.data,u=t.dateMarkers,g=t.getChartWrapper,f=t.height,b=t.loaded,h=t.loadingHeight,y=t.loadingWidth,L=t.onMouseOver,P=t.onMouseOut,G=t.onReady,Z=t.onSelect,B=t.selectedStats,U=t.width,F=t.options,z=t.gatheringData,W=m()(t,["chartEvents","chartType","children","className","data","dateMarkers","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),V=Object(E.a)(GoogleChart),H=Object(x.e)(),q=Object(A.useSelect)((function(e){return e(j.a).getDateRangeDates({offsetDays:0})})),K=q.startDate,Y=q.endDate,J=Object(I.a)(),$=Object(A.useSelect)((function(e){return e(w.b).getValue("googleChartsCollisionError")})),X=Object(k.useState)(!1),Q=d()(X,2),ee=Q[0],te=Q[1],ne=Object(A.useDispatch)(w.b).setValue,ae=Object(R.d)(s,B),re="PieChart"===r?"circular":"square",ie=Object(R.e)(h,f,y,U),oe=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(S.a,l()({className:"googlesitekit-chart-loading__wrapper",shape:re},ie))),ce=Object(k.useRef)(),se=Object(k.useRef)();Object(_.a)((function(){var e,t,n,r;void 0===$&&(Object(M.a)(J)&&(null===(e=a)||void 0===e||null===(t=e.google)||void 0===t?void 0:t.charts)&&(a.google.charts=void 0),!Object(M.a)(J)&&(null===(n=a)||void 0===n||null===(r=n.google)||void 0===r?void 0:r.charts)?ne("googleChartsCollisionError",!0):ne("googleChartsCollisionError",!1))})),Object(k.useEffect)((function(){return function(){if(se.current&&ce.current){var e=se.current.visualization.events;e.removeAllListeners(ce.current.getChart()),e.removeAllListeners(ce.current)}}}),[]),Object(k.useLayoutEffect)((function(){var e,t;L&&(null===(e=se.current)||void 0===e||e.visualization.events.addListener(ce.current.getChart(),"onmouseover",(function(e){L(e,{chartWrapper:ce.current,google:se.current})})));P&&(null===(t=se.current)||void 0===t||t.visualization.events.addListener(ce.current.getChart(),"onmouseout",(function(e){P(e,{chartWrapper:ce.current,google:se.current})})))}),[L,P]);var le=u.filter((function(e){return!!((t=new Date(e.date))&&K&&Y)&&!(t.getTime()<Object(D.H)(K).getTime()||t.getTime()>Object(D.H)(Y).getTime());var t}));if($)return null;if(!b)return e.createElement("div",{className:p()("googlesitekit-chart","googlesitekit-chart-loading__forced",o)},oe);var ue=Object(R.b)([].concat(c()(n||[]),[{eventName:"ready",callback:function(){var e;if(ce.current&&le.length){var t=ce.current.getChart(),n=null==t?void 0:t.getChartLayoutInterface(),a=null==n?void 0:n.getChartAreaBoundingBox(),r=ce.current.getDataTable();if(n&&a&&r){le.forEach((function(e,t){var r=new Date(e.date),i=document.getElementById("googlesitekit-chart__date-marker-line--".concat(V,"-").concat(t));v()(i,"#googlesitekit-chart__date-marker-line--".concat(V,"-").concat(t," is missing from the DOM, but required to render date markers."));var o=Math.floor(n.getXLocation(Object(D.H)(Object(D.q)(r))));if(Object.assign(i.style,{left:"".concat(o-1,"px"),top:"".concat(Math.floor(a.top),"px"),height:"".concat(Math.floor(a.height),"px"),opacity:1}),e.text){var c=document.getElementById("googlesitekit-chart__date-marker-tooltip--".concat(V,"-").concat(t));v()(c,"#googlesitekit-chart__date-marker-tooltip--".concat(V,"-").concat(t," is missing from the DOM, but required to render date marker tooltips.")),Object.assign(c.style,{left:"".concat(o-9,"px"),top:"".concat(Math.floor(a.top)-18,"px"),opacity:1})}}));var i=null===(e=document.querySelector("#googlesitekit-chart-".concat(V," svg:first-of-type > g:first-of-type > g > g > text")))||void 0===e?void 0:e.parentElement.parentElement.parentElement;!!i&&document.querySelectorAll("#googlesitekit-chart-".concat(V," svg:first-of-type > g")).length>=3&&(i.style.transform="translateY(-10px)")}}}}]),G,Z),de=Object(R.a)(F,z,r,K,Y,H);return e.createElement(N.a,null,e.createElement("div",{className:p()("googlesitekit-chart","googlesitekit-chart--".concat(r),o),id:"googlesitekit-chart-".concat(V),tabIndex:-1},e.createElement(O.a,l()({className:"googlesitekit-chart__inner",chartEvents:ue,chartLanguage:Object(D.s)(),chartType:r,chartVersion:"49",data:ae,loader:oe,height:f,getChartWrapper:function(e,t){var n,a,r;(ee||te(!0),e!==ce.current)&&(null===(n=se.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=ce.current)||void 0===a?void 0:a.getChart()),null===(r=se.current)||void 0===r||r.visualization.events.removeAllListeners(ce.current));ce.current=e,se.current=t,g&&g(e,t)},width:U,options:de},W)),z&&ee&&e.createElement(T.b,{style:T.a.OVERLAY}),!!le.length&&le.map((function(t,n){return e.createElement(C.a,{key:"googlesitekit-chart__date-marker--".concat(V,"-").concat(n),id:"".concat(V,"-").concat(n),text:t.text})})),i))}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,dateMarkers:y.a.arrayOf(y.a.shape({date:y.a.string.isRequired,text:y.a.string})),getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=P(P({},O.a.defaultProps),{},{dateMarkers:[],gatheringData:!1,loaded:!0})}).call(this,n(4),n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSiteUI}));var a=n(1),r=n.n(a),i=n(0),o=n(3),c=n(10),s=n(32),l=n(152),u=n(389),d=n(29);function SetupAccountSiteUI(t){var n=t.heading,a=t.description,r=t.primaryButton,g=t.secondaryButton,m=Object(o.useSelect)((function(e){return e(d.m).isDoingSubmitChanges()||e(s.a).isNavigating()}));return e.createElement(i.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},n),e.createElement(l.d,null),e.createElement("p",null,a),e.createElement(u.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.SpinnerButton,{onClick:r.onClick,href:r.href,disabled:m,isSaving:m},r.label),g&&e.createElement("div",{className:"googlesitekit-setup-module__sub-action"},e.createElement(c.Button,{tertiary:!0,onClick:g.onClick},g.label))))}SetupAccountSiteUI.propTypes={heading:r.a.string.isRequired,description:r.a.string.isRequired,primaryButton:r.a.shape({label:r.a.string,href:r.a.string,onClick:r.a.func}).isRequired,secondaryButton:r.a.shape({label:r.a.string,onClick:r.a.func})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return p}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(11),s=n.n(c),l=n(13),u=n(256),d=n(109),g=n(157),m=n(14),f=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},p=Object(l.memoize)(function(){var e=o()(r.a.mark((function e(t){var n,a,i,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,a=t.ampMode,s()(Object(d.a)(n),"homeURL must be valid URL"),i=[n],m.b!==a){e.next=14;break}return e.prev=4,e.next=7,Object(u.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(g.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&i.push(o),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAContent}));var a=n(15),r=n.n(a),i=n(12),o=n.n(i),c=n(1),s=n.n(c),l=n(222),u=n(79),d=n(0),g=n(3),m=n(14),f=n(6),p=n(25),b=n(8),v=n(18),h=n(17),y=n(433),O=n(434),_=n(435),E=n(436);function KeyMetricsCTAContent(t){var n=t.className,a=t.title,i=t.description,c=t.actions,s=t.ga4Connected,k=Object(d.useRef)(),S=Object(p.e)(),j=Object(u.a)(),T=Object(v.a)(),A=S===p.b,N=S===p.c&&j<960,C=j>=1280,w=j>=960&&j<1280;s||(N=S===p.c&&j<800,w=j>=800&&j<1280);var I=Object(l.a)(k,{threshold:.25}),M=Object(d.useState)(!1),R=r()(M,2),D=R[0],x=R[1],L=!!(null==I?void 0:I.intersectionRatio),P=Object(g.useDispatch)(f.a).triggerSurvey,G=Object(g.useSelect)((function(e){return e(m.c).isUsingProxy()}));return Object(d.useEffect)((function(){L&&!D&&(s&&Object(b.J)("".concat(T,"_kmw-cta-notification"),"view_notification"),G&&P("view_kmw_setup_cta",{ttl:b.g}),x(!0))}),[L,T,s,D,G,P]),e.createElement("section",{ref:k,className:o()("googlesitekit-setup__wrapper","googlesitekit-setup__wrapper--key-metrics-setup-cta",n)},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{smSize:5,mdSize:6,lgSize:5,className:"googlesitekit-widget-key-metrics-content__wrapper"},e.createElement("div",{className:"googlesitekit-widget-key-metrics-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},a),e.createElement("p",null,i)),e.createElement("div",{className:"googlesitekit-widget-key-metrics-actions__wrapper"},c),N&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(_.a,null)),A&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(E.a,null))),w&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(O.a,null)),C&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper",smSize:6,mdSize:3,lgSize:6},e.createElement(y.a,null)))))}KeyMetricsCTAContent.propTypes={title:s.a.string,description:s.a.string,actions:s.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAFooter}));var a=n(1),r=n.n(a),i=n(2),o=n(17),c=n(20);function KeyMetricsCTAFooter(t){var n=t.onActionClick,a=void 0===n?function(){}:n,r=t.showDismiss;return e.createElement(o.k,{className:"googlesitekit-widget-key-metrics-footer"},e.createElement(o.a,{size:12,className:"googlesitekit-widget-key-metrics-footer__cta-wrapper"},!r&&e.createElement("span",null,Object(i.__)("Interested in specific metrics?","google-site-kit")),e.createElement(c.a,{onClick:a},r?Object(i.__)("Maybe later","google-site-kit"):Object(i.__)("Select your own metrics","google-site-kit"))))}KeyMetricsCTAFooter.propTypes={onActionClick:r.a.func}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a=n(533);function r(e){if(Object(a.b)(e))return e.match(/pub-\d+$/)[0]}function i(e){if(Object(a.a)(e))return e.match(/pub-\d+$/)[0]}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Chip}));var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(10),s=n(30),l=n(440);function Chip(t){var n=t.slug,a=t.label,r=t.isActive,i=t.onClick,u=t.selectedCount;return e.createElement(c.Button,{className:o()("googlesitekit-chip-tab-group__chip-item",{"googlesitekit-chip-tab-group__chip-item--active":r}),icon:n===s.b?e.createElement(l.a,{width:12,height:12}):null,trailingIcon:u>0?e.createElement("span",{className:"googlesitekit-chip-tab-group__chip-item-count"},"(",u,")"):null,onClick:function(){return i(n)}},a)}Chip.propTypes={slug:r.a.string.isRequired,label:r.a.string.isRequired,isActive:r.a.bool,selectedCount:r.a.number.isRequired,onClick:r.a.func.isRequired}}).call(this,n(4))},,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var a=n(2),r=n(3),i=n(148),o=n(20),c=n(14);function Notice(){var t=Object(r.useSelect)((function(e){return e(c.c).getDocumentationLinkURL("ga4")}));return e.createElement(i.c,{type:i.a,LearnMore:function LearnMore(){return e.createElement(o.a,{href:t,external:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var a=n(1),r=n.n(a),i=n(2),o=n(38),c=n(20),s=n(212),l=n(375);function AdBlockerWarningMessage(t){var n=t.className,a=void 0===n?"":n,r=t.getHelpLink,u=void 0===r?"":r,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:a},Object(o.a)(Object(i.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(i.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(i.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(l.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:r.a.string,getHelpLink:r.a.string,warningMessage:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return a.createElement("svg",r({viewBox:"0 0 13 14",fill:"none"},e),i)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(3),r=n(19),i=n(6),o=n(30),c=n(9),s=n(64);function l(){return Object(a.useSelect)((function(e){var t=e(i.a).isItemDismissed(o.l),n=u(e,"search-console",s.b),a=u(e,"analytics-4",c.p);return!1===t&&n&&a}),[])}function u(e,t,n){if(e(r.a).isModuleConnected(t)){var a=e(n),i=a.isGatheringData,o=a.isDataAvailableOnLoad;return i(),o()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var a=n(271),r=n(3),i=n(24),o="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(r.useDispatch)(i.b).setValue;return Object(a.a)((function(){e(o,!0)})),null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var a=n(7),r=n.n(a),i=n(27),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(3),g=n(28),m=n(46),f=n(19),p=n(30),b=n(115);function MetricItem(t){var n=t.slug,a=t.title,i=t.description,c=t.savedItemSlugs,s=void 0===c?[]:c,v=Object(d.useSelect)((function(e){var t=e(f.a).getModule,a=e(m.a).getWidget(n);return null==a?void 0:a.modules.reduce((function(e,n){var a=t(n);return(null==a?void 0:a.connected)||!(null==a?void 0:a.name)?e:[].concat(o()(e),[a.name])}),[])})),h=Object(d.useSelect)((function(e){return e(g.a).getValue(p.j,p.i)})),y=Object(d.useSelect)((function(e){return e(g.a)})).getValue,O=Object(d.useDispatch)(g.a).setValues,_=Object(l.useCallback)((function(e){var t=y(p.j,p.i);O(p.j,r()({},p.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[y,O,n]),E=null==h?void 0:h.includes(n),k=!s.includes(n)&&v.length>0,S="key-metric-selection-checkbox-".concat(n);return e.createElement(b.c,{id:S,slug:n,title:a,description:i,isItemSelected:E,isItemDisabled:k,onCheckboxChange:_},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:s.a.string.isRequired,title:s.a.string.isRequired,description:s.a.string.isRequired,savedItemSlugs:s.a.array}}).call(this,n(4))},,,,function(e,t){e.exports=googlesitekit.widgets},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(17),s=n(331),l=n(332),u=n(77);function PageHeader(t){var n=t.title,a=t.icon,i=t.className,o=t.status,d=t.statusText,g=t.fullWidth,m=t.children,f=g?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(m);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,f,a,e.createElement("h1",{className:r()("googlesitekit-page-header__title",i)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:r()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(s.a,{width:10,height:8}):e.createElement(l.a,{width:2,height:12}))),m))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(0);function Sparkline(t){var n=t.sparkline,a=t.invertChangeColor,r=n;return r&&a&&(r=Object(i.cloneElement)(n,{invertChangeColor:a})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},r)}Sparkline.propTypes={sparkline:r.a.element,invertChangeColor:r.a.bool},t.a=Sparkline}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(2),s=n(8),l=n(86);function Change(t){var n=t.change,a=t.changeDataUnit,r=t.period,i=t.invertChangeColor,u=n;return a&&(u="%"===a?Object(s.C)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(s.C)(n,a)),r&&(u=Object(c.sprintf)(r,u)),e.createElement("div",{className:o()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(l.a,{direction:0<parseFloat(n)?"up":"down",invertColor:i})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))}Change.propTypes={change:r.a.oneOfType([r.a.string,r.a.number]),changeDataUnit:r.a.oneOfType([r.a.string,r.a.bool]),period:r.a.string,invertChangeColor:r.a.bool},t.a=Change}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var a,r=n(7),i=n.n(r),o=n(0),c=n(2),s=n(3),l=n(10),u=n(29),d="loggedinUsers",g="contentCreators",m=(a={},i()(a,d,Object(c.__)("All logged-in users","google-site-kit")),i()(a,g,Object(c.__)("Users who can write posts","google-site-kit")),a);function AutoAdExclusionSwitches(){var t,n=Object(s.useSelect)((function(e){return e(u.m).getAutoAdsDisabled()})),a=Object(s.useDispatch)(u.m).setAutoAdsDisabled;t=n&&n.includes(d)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(g)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(g,t)}),[r]),f=Object(o.useCallback)((function(e){var t=e.target.checked;r(d,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:m[d],checked:n.includes(d),onClick:f,hideLabel:!1})),!n.includes(d)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:m[g],checked:n.includes(g),onClick:i,hideLabel:!1}))),e.createElement("p",null,t)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var a=n(0),r=n(2),i=n(3),o=n(29),c=n(363),s=n(152);function SetupUseSnippetSwitch(){var t,n,l=Object(i.useSelect)((function(e){return e(o.m).getOriginalUseSnippet()})),u=Object(i.useSelect)((function(e){return e(o.m).getExistingTag()})),d=Object(i.useSelect)((function(e){return e(o.m).getClientID()})),g=Object(i.useDispatch)(o.m),m=g.setUseSnippet,f=g.saveSettings,p=Boolean(u);if(Object(a.useEffect)((function(){p&&(m(!1),f())}),[p,f,m]),l&&!u||void 0===u||void 0===l)return null;var b=Object(r.__)("Make sure to remove the existing AdSense code to avoid conflicts with the code placed by Site Kit","google-site-kit");return u===d?(n=Object(r.__)("You’ve already got an AdSense code on your site for this account. We recommend you use Site Kit to place the code to get the most out of AdSense.","google-site-kit"),t="".concat(n," ").concat(b)):u?(n=Object(r.sprintf)( /* translators: 1: existing account ID, 2: current account ID */ Object(r.__)("Site Kit detected AdSense code for a different account %1$s on your site. In order to configure AdSense for your current account %2$s, we recommend you use Site Kit to place the code instead.","google-site-kit"),Object(c.a)(u),Object(c.a)(d)),t="".concat(n," ").concat(b)):t=b,e.createElement(s.e,{checkedMessage:t,uncheckedMessage:n,saveOnChange:!0})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(15),r=n.n(a),i=n(521),o=n(359),c=n(0),s=n(154),l=n(24),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sticky,n=void 0!==t&&t,a=Object(c.useContext)(s.a),u=Object(c.useState)(!1),d=r()(u,2),g=d[0],m=d[1],f=Object(o.a)((function(e){return e(l.b).getInViewResetCount()})),p=Object(o.a)((function(e){return e(l.b).getValue("forceInView")}));return Object(c.useEffect)((function(){a.value&&!g&&m(!0)}),[g,a,m]),Object(c.useEffect)((function(){p&&m(!0)}),[p]),Object(i.a)((function(){m(!1)}),[f]),!(!n||!g)||!!a.value}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedConversionTrackingNotice}));var a=n(12),r=n.n(a),i=n(3),o=n(14);function SetupEnhancedConversionTrackingNotice(t){var n=t.className,a=t.message,c=Object(i.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return c||void 0===c?null:e.createElement("p",{className:r()(n,"googlesitekit-color--surfaces-on-background-variant")},a)}}).call(this,n(4))},,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(3),s=n(10),l=n(9),u=n(8),d=n(18);function UseSnippetSwitch(t){var n=t.description,a=Object(d.a)(),r=Object(c.useSelect)((function(e){return e(l.p).getUseSnippet()})),g=Object(c.useDispatch)(l.p).setUseSnippet,m=Object(i.useCallback)((function(){var e=!r;g(e),Object(u.J)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ga4")}),[r,g,a]);return void 0===r?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(s.Switch,{label:Object(o.__)("Place Google Analytics code","google-site-kit"),checked:r,onClick:m,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(40);function PreviewTable(t){for(var n=t.rows,a=t.rowHeight,r=t.padding,i=[],s=0;n>s;s++)i.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:a+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":r})},i)}PreviewTable.propTypes={rows:r.a.number,rowHeight:r.a.number,padding:r.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(4))},,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeMetricsLink}));var a=n(0),r=n(2),i=n(3),o=n(24),c=n(6),s=n(30),l=n(20),u=n(275),d=n(432),g=n(8),m=n(18),f=n(496);function ChangeMetricsLink(){var t=Object(i.useSelect)((function(e){return e(c.a).getKeyMetrics()})),n=Object(m.a)(),p=Object(i.useDispatch)(o.b).setValue,b=Object(a.useCallback)((function(){p(s.k,!0),Object(g.J)("".concat(n,"_kmw"),"change_metrics")}),[p,n]),v=Array.isArray(t)&&(null==t?void 0:t.length)>0;return Object(f.a)(v),v?e.createElement(a.Fragment,null,e.createElement(l.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:b,leadingIcon:e.createElement(u.a,{width:22,height:22})},Object(r.__)("Change metrics","google-site-kit")),e.createElement(d.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InsufficientPermissionsError}));var a=n(1),r=n.n(a),i=n(0),o=n(38),c=n(2),s=n(3),l=n(14),u=n(20),d=n(264),g=n(8),m=n(18);function InsufficientPermissionsError(t){var n=t.moduleSlug,a=t.onRetry,r=t.infoTooltip,f=t.headerText,p=Object(m.a)(),b=Object(s.useSelect)((function(e){return e(l.c).getErrorTroubleshootingLinkURL({code:"".concat(n,"_insufficient_permissions")})}));Object(i.useEffect)((function(){Object(g.K)("".concat(p,"_kmw"),"insufficient_permissions_error")}),[p]);var v=Object(i.useCallback)((function(){Object(g.J)("".concat(p,"_kmw"),"insufficient_permissions_error_retry"),null==a||a()}),[a,p]);return e.createElement(d.a,{title:Object(c.__)("Insufficient permissions","google-site-kit"),headerText:f,infoTooltip:r},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("Permissions updated? <a>Retry</a>","google-site-kit"),{a:e.createElement(u.a,{onClick:v})})),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("You’ll need to contact your administrator. <a>Learn more</a>","google-site-kit"),{a:e.createElement(u.a,{href:b,external:!0,hideExternalIndicator:!0})}))))}InsufficientPermissionsError.propTypes={moduleSlug:r.a.string.isRequired,onRetry:r.a.func.isRequired,headerText:r.a.string,infoTooltip:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(91),u=n(2),d=n(0),g=n(3),m=n(10),f=n(360),p=n(361),b=n(6),v=n(14),h=n(30),y=n(24),O=n(54),_=n(110),E=n(8),k=n(18),S=n(376),j=n(377);function KeyMetricsSetupCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(k.a)(),c=Object(S.a)(),s=Object(g.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-user-input")})),O=Object(_.b)(h.l),T=Object(_.c)(h.l).isTooltipVisible,A=Object(g.useDispatch)(b.a).dismissItem,N=Object(g.useDispatch)(y.b).setValue,C=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(E.J)("".concat(i,"_kmw-cta-notification"),"dismiss_notification");case 2:return O(),e.next=5,A(h.l);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=Object(d.useCallback)((function(){Object(E.J)("".concat(i,"_kmw"),"tooltip_dismiss")}),[i]),I=Object(d.useCallback)((function(){N(h.k,!0),Object(E.J)("".concat(i,"_kmw-cta-notification"),"confirm_pick_own_metrics")}),[N,i]),M=Object(d.useCallback)((function(){Object(E.J)("".concat(i,"_kmw-cta-notification"),"confirm_get_tailored_metrics")}),[i]);return Object(l.a)((function(){T&&Object(E.J)("".concat(i,"_kmw"),"tooltip_view")})),T?e.createElement(d.Fragment,null,e.createElement(a,null),e.createElement(_.a,{title:Object(u.__)("You can always set up goals from Settings later","google-site-kit"),content:Object(u.__)("The Key Metrics section will be added back to your dashboard once you set your goals in Settings","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),tooltipStateKey:h.l,onDismiss:w})):c?e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(p.a,{onActionClick:I})}},e.createElement(f.a,{title:Object(u.__)("Get personalized suggestions for user interaction metrics based on your goals","google-site-kit"),description:Object(u.__)("Answer 3 questions and we’ll suggest relevant metrics for your dashboard. These metrics will help you track how users interact with your site.","google-site-kit"),actions:e.createElement(d.Fragment,null,e.createElement(j.b,null),e.createElement(m.Button,{className:"googlesitekit-key-metrics-cta-button",href:s,onClick:M},Object(u.__)("Get tailored metrics","google-site-kit")),e.createElement(m.Button,{tertiary:!0,onClick:C},Object(u.__)("Maybe later","google-site-kit"))),ga4Connected:!0})):e.createElement(a,null)}KeyMetricsSetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType},t.a=Object(O.a)({moduleName:"analytics-4"})(KeyMetricsSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileNumeric}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(8),u=n(171),d=n(189);function MetricTileNumeric(t){var n=t.metricValue,a=t.metricValueFormat,i=t.subText,c=t.previousValue,s=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),m=Object(l.n)(a);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--numeric"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},Object(l.C)(n,m)),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},i)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(u.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==m?void 0:m.style)})))}MetricTileNumeric.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),metricValueFormat:s.a.oneOfType([s.a.string,s.a.object]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTable}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),s=n.n(c),l=n(13),u=n(12),d=n.n(u),g=n(189);function MetricTileTable(t){var n=t.rows,a=void 0===n?[]:n,i=t.columns,c=void 0===i?[]:i,s=t.limit,u=t.ZeroState,m=o()(t,["rows","columns","limit","ZeroState"]),f=null;return(null==a?void 0:a.length)>0?f=a.slice(0,s||a.length).map((function(t,n){return e.createElement("div",{key:n,className:"googlesitekit-table__body-row"},c.map((function(n,a){var r=n.Component,i=n.field,o=n.className,c=void 0!==i?Object(l.get)(t,i):void 0;return e.createElement("div",{key:a,className:d()("googlesitekit-table__body-item",o)},r&&e.createElement(r,{row:t,fieldValue:c}),!r&&c)})))})):u&&(f=e.createElement("div",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("div",{className:"googlesitekit-table__body-zero-data"},e.createElement(u,null)))),e.createElement(g.a,r()({className:"googlesitekit-km-widget-tile--table"},m),e.createElement("div",{className:"googlesitekit-km-widget-tile__table"},f))}MetricTileTable.propTypes={rows:s.a.array,columns:s.a.array,limit:s.a.number,ZeroState:s.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTablePlainText}));var a=n(1),r=n.n(a);function MetricTileTablePlainText(t){var n=t.content;return e.createElement("p",{className:"googlesitekit-km-widget-tile__table-plain-text"},n)}MetricTileTablePlainText.propTypes={content:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n(21),n(27),n(15),n(0),n(2),n(3),n(30),n(28),n(364),n(378),n(441),n(25)}).call(this,n(4))},,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupCompletedSurveyTrigger}));var a=n(0),r=n(3),i=n(14),o=n(6),c=n(8),s=n(205);function SetupCompletedSurveyTrigger(){var t=Object(r.useSelect)((function(e){return e(i.c).isKeyMetricsSetupCompleted()})),n=Object(r.useSelect)((function(e){return e(i.c).getKeyMetricsSetupCompletedBy()})),l=Object(r.useSelect)((function(e){return e(o.a).getID()}));return t?e.createElement(a.Fragment,null,e.createElement(s.a,{triggerID:"view_kmw",ttl:c.g}),n===l&&e.createElement(s.a,{triggerID:"view_kmw_setup_completed",ttl:c.g})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupDesktopSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(37).then(n.bind(null,793))}));function KeyMetricsSetupDesktopSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupSmallDesktopSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(39).then(n.bind(null,794))}));function KeyMetricsSetupSmallDesktopSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupTabletSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(40).then(n.bind(null,795))}));function KeyMetricsSetupTabletSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupMobileSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(38).then(n.bind(null,796))}));function KeyMetricsSetupMobileSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var a=n(1),r=n.n(a),i=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(i.a)( /* translators: %s: get help text. */ Object(o.__)("Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileLoader}));var a=n(40);function MetricTileLoader(){return e.createElement("div",{className:"googlesitekit-km-widget-tile__loading"},e.createElement(a.a,{className:"googlesitekit-km-widget-tile__loading-header",width:"100%",height:"14px"}),e.createElement(a.a,{className:"googlesitekit-km-widget-tile__loading-body",width:"100%",height:"53px"}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileHeader}));var a=n(1),r=n.n(a),i=n(122),o=n(105);function MetricTileHeader(t){var n=t.title,a=t.infoTooltip,r=t.loading;return e.createElement("div",{className:"googlesitekit-km-widget-tile__title-container"},e.createElement("h3",{className:"googlesitekit-km-widget-tile__title"},n),r?e.createElement(o.a,null,e.createElement(i.a,{title:a})):e.createElement(i.a,{title:a}))}MetricTileHeader.propTypes={title:r.a.string,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),loading:r.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M2 5.309l1.474 2.14c.69 1.001 1.946 1.001 2.636 0L10 1.8",stroke:"#161B18",strokeWidth:1.6,strokeLinecap:"square"});t.a=function SvgCheck2(e){return a.createElement("svg",r({viewBox:"0 0 12 9",fill:"none"},e),i)}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M59.238 58.571c-2.136 20.178 4.272 29.099 20.48 53.216 16.209 24.118-29.092 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.443-3.208 57.819 12.98 90.86 5.9 33.04-7.08 46.385-42.599 43.153-68.059-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86-18.53 5.918-32.662 22.571-34.335 38.621z",fill:"#B8E6CA"}),o=a.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter0_d_2200_11981)"},a.createElement("rect",{x:242.455,y:45.266,width:130.621,height:89.651,rx:10.957,transform:"rotate(15 242.455 45.266)",fill:"#fff"})),c=a.createElement("rect",{x:253.726,y:64.785,width:24.903,height:7.969,rx:3.985,transform:"rotate(15 253.726 64.785)",fill:"#EBEEF0"}),s=a.createElement("rect",{x:249.342,y:81.144,width:49.806,height:19.923,rx:9.961,transform:"rotate(15 249.342 81.144)",fill:"#FFDED3"}),l=a.createElement("rect",{x:240.436,y:114.357,width:99.428,height:8.773,rx:3.985,transform:"rotate(15 240.436 114.357)",fill:"#EBEEF0"}),u=a.createElement("path",{d:"M256.195 90.198l4.644 8.044m0 0l1.412-4.986m-1.412 4.986l-5.023-1.27",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),d=a.createElement("rect",{x:268.706,y:93.551,width:19.923,height:5.977,rx:1.992,transform:"rotate(15 268.706 93.55)",fill:"#fff"}),g=a.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter1_d_2200_11981)"},a.createElement("rect",{x:13.887,y:79.094,width:130.621,height:89.68,rx:10.957,transform:"rotate(-15 13.887 79.094)",fill:"#fff"})),m=a.createElement("rect",{x:32.989,y:90.122,width:62.386,height:7.798,rx:3.899,transform:"rotate(-15 32.99 90.122)",fill:"#EBEEF0"}),f=a.createElement("rect",{x:37.691,y:106.902,width:49.806,height:19.923,rx:9.961,transform:"rotate(-15 37.691 106.902)",fill:"#FFDED3"}),p=a.createElement("rect",{x:46.612,y:140.967,width:99.428,height:7.798,rx:3.899,transform:"rotate(-15 46.612 140.967)",fill:"#EBEEF0"}),b=a.createElement("path",{d:"M48.152 111.318l8.044 4.645m0 0l-1.27-5.024m1.27 5.024l-4.986 1.411",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),v=a.createElement("rect",{x:60.663,y:107.966,width:19.923,height:5.977,rx:1.992,transform:"rotate(-15 60.663 107.966)",fill:"#fff"}),h=a.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter2_d_2200_11981)"},a.createElement("rect",{x:126.251,y:37.4,width:130.621,height:89.68,rx:10.957,fill:"#fff"})),y=a.createElement("rect",{x:143.013,y:53.134,width:98.333,height:7.867,rx:3.933,fill:"#EBEEF0"}),O=a.createElement("rect",{x:142.369,y:70.423,width:49.806,height:19.923,rx:9.961,fill:"#B8E6CA"}),_=a.createElement("rect",{x:143.013,y:105.84,width:33.04,height:7.867,rx:3.933,fill:"#EBEEF0"}),E=a.createElement("path",{d:"M151.336 84.036l6.568-6.567m0 0l-5.182-.073m5.182.073l.073 5.18",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),k=a.createElement("rect",{x:164.287,y:77.395,width:19.923,height:5.977,rx:1.992,fill:"#fff"}),S=a.createElement("path",{d:"M59.237 58.571C57.1 78.75 63.509 87.67 79.717 111.787c16.209 24.118-29.091 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.444-3.208 57.82 12.98 90.86 5.9s46.385-42.599 43.153-68.059c-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86C75.042 25.867 60.91 42.52 59.237 58.57z",fill:"#B8E6CA"}),j=a.createElement("g",{mask:"url(#key-metrics-no-selected-items_svg__a)"},a.createElement("path",{d:"M227.674 108.973l11.312-8.418M218.925 98.852l2.868-12.68M205.623 102.87l-5.375-13.037",stroke:"#CBD0D3",strokeWidth:3.147,strokeMiterlimit:10}),a.createElement("path",{d:"M63.953 190.487c16.127 12.193 38.716 10.349 55.335 5.162 16.618-5.187 31.107-14.61 45.314-23.791 6.717-4.337 13.617-8.738 21.496-11.119 7.878-2.381 17.057-2.39 22.958 1.658 3.392 2.328 5.205 5.923 5.36 9.702",stroke:"#3C7251",strokeWidth:9.44,strokeLinejoin:"round"}),a.createElement("path",{d:"M215.831 109.67l-19.169 71.73",stroke:"#CBD0D3",strokeWidth:9.44,strokeMiterlimit:10,strokeLinecap:"round"}),a.createElement("path",{d:"M213.975 116.472l-19.169 71.731",stroke:"#161B18",strokeWidth:9.44,strokeMiterlimit:10})),T=a.createElement("defs",null,a.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter0_d_2200_11981",x:205.773,y:35.772,width:176.33,height:147.36,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:3.985}),a.createElement("feGaussianBlur",{stdDeviation:7.969}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),a.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter1_d_2200_11981",x:.409,y:35.793,width:176.337,height:147.388,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:3.985}),a.createElement("feGaussianBlur",{stdDeviation:7.969}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),a.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter2_d_2200_11981",x:110.313,y:25.447,width:162.497,height:121.556,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:3.985}),a.createElement("feGaussianBlur",{stdDeviation:7.969}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})));t.a=function SvgKeyMetricsNoSelectedItems(e){return a.createElement("svg",r({viewBox:"0 0 383 238",fill:"none"},e),i,o,c,s,l,u,d,g,m,f,p,b,v,h,y,O,_,E,k,a.createElement("mask",{id:"key-metrics-no-selected-items_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:58,y:0,width:273,height:230},S),j,T)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(12),r=n.n(a),i=n(11),o=n.n(i),c=n(1),s=n.n(c),l=n(13),u=n(112);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,s=t.zeroState,d=t.gatheringData,g=void 0!==d&&d;o()(Array.isArray(n),"rows must be an array."),o()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;o()(t||null!==a,"each column must define a Component and/or a field.")})),o()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var m=a.filter((function(e){return!e.hideOnMobile})),f=a.some((function(e){return!!e.badge}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(m.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},f&&e.createElement("tr",{className:r()("googlesitekit-table__head-badges",{"hidden-on-mobile":!a.some((function(e){var t=e.badge,n=e.hideOnMobile;return!!t&&!n}))})},a.map((function(t,n){var a=t.badge,i=t.primary,o=t.hideOnMobile,c=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item","googlesitekit-table__head-item--badge",{"googlesitekit-table__head-item--primary":i,"hidden-on-mobile":o},c),key:"googlesitekit-table__head-row-badge-".concat(n)},a)}))),e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o,"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},g&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(u.b,null))),!g&&!(null==n?void 0:n.length)&&s&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(s,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,o=n.field,c=n.hideOnMobile,s=n.className,u=void 0!==o?Object(l.get)(t,o):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":c},s)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:u}),!i&&u))})))})))))}ReportTable.propTypes={rows:s.a.arrayOf(s.a.oneOfType([s.a.array,s.a.object])).isRequired,columns:s.a.arrayOf(s.a.shape({title:s.a.string,description:s.a.string,primary:s.a.bool,className:s.a.string,field:s.a.string,hideOnMobile:s.a.bool,Component:s.a.componentType,badge:s.a.node})).isRequired,className:s.a.string,limit:s.a.number,zeroState:s.a.func,gatheringData:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){var r=n(15),i=n.n(r),o=n(1),c=n.n(o),s=n(13),l=n(12),u=n.n(l),d=n(0);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],l=o[1],g=Object(d.useRef)();Object(d.useEffect)((function(){m();var t=Object(s.debounce)(m,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var m=function(){if(g.current){var e=g.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;l(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(s.debounce)(m,100),className:u()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:g,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccessibleWarningIcon}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(105),s=n(346);function AccessibleWarningIcon(t){var n=t.height,a=void 0===n?12:n,r=t.screenReaderText,l=void 0===r?Object(o.__)("Error","google-site-kit"):r,u=t.width,d=void 0===u?14:u;return e.createElement(i.Fragment,null,e.createElement(c.a,null,l),e.createElement(s.a,{width:d,height:a}))}AccessibleWarningIcon.propTypes={height:r.a.number,screenReaderText:r.a.string,width:r.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return DataBlockGroup}));var r=n(91),i=n(625),o=n(0),c=n(161);function DataBlockGroup(t){var n=t.className,s=t.children,l=Object(o.useRef)(),u=function(){var t,n,a,r,i=null==l||null===(t=l.current)||void 0===t?void 0:t.querySelectorAll(".googlesitekit-data-block");if(i){var o=null===(n=i[0])||void 0===n?void 0:n.querySelector(".googlesitekit-data-block__datapoint");if(o){d(i,"");var c=parseInt(null===(a=e)||void 0===a||null===(r=a.getComputedStyle(o))||void 0===r?void 0:r.fontSize,10),s=c;i.forEach((function(t){var n,a,r,i=t.querySelector(".googlesitekit-data-block__datapoint");if(i){var o=parseInt(null===(n=e)||void 0===n||null===(a=n.getComputedStyle(i))||void 0===a?void 0:a.fontSize,10),c=null==i||null===(r=i.parentElement)||void 0===r?void 0:r.offsetWidth;if(i.scrollWidth>c&&o>14){for(;i.scrollWidth>c&&o>14;)o-=1,i.style.fontSize="".concat(o,"px");s=o}}})),c!==s&&d(i,"".concat(s,"px"))}}},d=function(e,t){e.forEach((function(e){var n=null==e?void 0:e.querySelector(".googlesitekit-data-block__datapoint");n&&(n.style.fontSize=t)}))},g=Object(c.a)(u,50);return Object(r.a)((function(){u(),e.addEventListener("resize",g)})),Object(i.a)((function(){return e.removeEventListener("resize",g)})),a.createElement("div",{ref:l,className:n},s)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){var r=n(50),i=n.n(r),o=n(51),c=n.n(o),s=n(215),l=n.n(s),u=n(69),d=n.n(u),g=n(70),m=n.n(g),f=n(49),p=n.n(f),b=n(186),v=n.n(b),h=n(1),y=n.n(h),O=n(0),_=n(2),E=n(85),k=n(168),S=n(63),j=n(8);function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return m()(this,n)}}var A=function(t){d()(GoogleChartErrorHandler,t);var n=T(GoogleChartErrorHandler);function GoogleChartErrorHandler(e){var t;return i()(this,GoogleChartErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(l()(t)),t}return c()(GoogleChartErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Google Charts error:",t,n),this.setState({error:t,info:n}),Object(j.J)("google_chart_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?a.createElement("div",{className:"googlesitekit-googlechart-error-handler"},a.createElement(E.a,{description:a.createElement(O.Fragment,null,a.createElement("p",null,Object(_.__)("An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),a.createElement(k.a,{message:n.message,componentStack:r.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(_.__)("Error in Google Chart","google-site-kit")})):e}}]),GoogleChartErrorHandler}(O.Component);A.contextType=S.b,A.propTypes={children:y.a.node.isRequired},t.a=A}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateMarker}));var a=n(0),r=n(254),i=n(573),o=n(10),c=n(18),s=n(161),l=n(8);function DateMarker(t){var n=t.id,u=t.text,d=Object(c.a)(),g="".concat(d,"_ga4-data-collection-line");Object(a.useEffect)((function(){Object(l.J)(g,"chart_line_view")}),[g]);var m=Object(a.useCallback)((function(){Object(l.J)(g,"chart_tooltip_view")}),[g]),f=Object(s.a)(m,5e3,{leading:!0,trailing:!1});return e.createElement(a.Fragment,null,e.createElement("div",{id:"googlesitekit-chart__date-marker-line--".concat(n),className:"googlesitekit-chart__date-marker-line"}),u&&e.createElement("div",{id:"googlesitekit-chart__date-marker-tooltip--".concat(n),className:"googlesitekit-chart__date-marker-tooltip"},e.createElement(o.Tooltip,{title:u,onOpen:f},e.createElement("span",null,e.createElement(r.a,{fill:"currentColor",icon:i.a,size:18})))))}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(0),r=n(3),i=n(14),o=n(6),c=n(2),s=n(22),l={slug:"sharedKeyMetrics",contexts:[s.n,s.o,s.l,s.m],gaEventCategory:function(e){return"".concat(e,"_shared_key-metrics")},steps:[{target:".googlesitekit-km-change-metrics-cta",title:Object(c.__)("Personalize your key metrics","google-site-kit"),content:Object(c.__)("Another admin has set up these tailored metrics for your site. Click here to personalize them.","google-site-kit"),placement:"bottom-start"}]},u=function(e){var t=Object(r.useSelect)((function(e){return e(i.c).getKeyMetricsSetupCompletedBy()})),n=Object(r.useSelect)((function(e){return e(o.a).getID()})),c=Object(r.useDispatch)(o.a).triggerOnDemandTour,s=Number.isInteger(t)&&Number.isInteger(n)&&t>0&&n!==t;Object(a.useEffect)((function(){e&&s&&c(l)}),[e,s,c])}},,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M107.91 41.72c7.73-13.22 3.14-30.12-10.24-37.75C84.29-3.66 67.18.87 59.45 14.09c-.35.59-.66 1.2-.96 1.81l-26.1 44.66a27.172 27.172 0 00-1.6 2.75L3.67 110.1l48.45 27.16 26.98-46.4c.29-.44.57-.89.84-1.35.27-.46.52-.93.76-1.39l26.11-44.67c.38-.57.76-1.14 1.1-1.73z",fill:"#FBBC04"}),a.createElement("path",{d:"M52.34 137.11c-7.68 13.43-25 18.38-38.31 10.62-13.31-7.76-18.02-24.57-10.34-38s24.86-18.39 38.16-10.64c13.3 7.75 18.18 24.59 10.49 38.02z",fill:"#34A853"}),a.createElement("path",{d:"M158.79 51.86c-13.23-7.62-30.15-3.1-37.79 10.1l-27.66 47.8c-7.64 13.2-3.11 30.08 10.13 37.7 13.23 7.62 30.15 3.1 37.79-10.1l27.66-47.8c7.63-13.2 3.1-30.08-10.13-37.7z",fill:"#4285F4"}));t.a=function SvgAdsense(e){return a.createElement("svg",r({viewBox:"0 0 173 152"},e),i)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return f}));var a=n(7),r=n.n(a),i=n(11),o=n.n(i),c=n(109),s=n(206),l=n(9);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){var t=e.siteName,n=e.siteURL,a=e.timezone,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;o()(Object(c.a)(n),"A valid siteURL is required.");var u=new URL(n),d=u.hostname,g=u.pathname;return r()({accountName:t||d,propertyName:"".concat(d).concat(g).replace(/\/$/,""),dataStreamName:d,countryCode:s.c[a]||s.c[i],timezone:s.c[a]?a:i},l.h,!0)}var m=function(e){var t,n=null===(t=e.account)||void 0===t?void 0:t.match(/accounts\/([^/]+)/),a=null==n?void 0:n[1];return d(d({},e),{},{_id:a})},f=function(e){var t,n,a=null===(t=e.property)||void 0===t?void 0:t.match(/properties\/([^/]+)/),r=null==a?void 0:a[1],i=null===(n=e.parent)||void 0===n?void 0:n.match(/accounts\/([^/]+)/),o=null==i?void 0:i[1];return d(d({},e),{},{_id:r,_accountID:o})}},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return TrackingExclusionSwitches}));var a,r=n(7),i=n.n(r),o=n(0),c=n(2),s=n(3),l=n(10),u=n(9),d=(a={},i()(a,"loggedinUsers",Object(c.__)("All logged-in users","google-site-kit")),i()(a,"contentCreators",Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=Object(s.useSelect)((function(e){return e(u.p).getTrackingDisabled()})),a=Object(s.useDispatch)(u.p).setTrackingDisabled;t=n&&n.includes("loggedinUsers")?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes("contentCreators")?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r("contentCreators",t)}),[r]),g=Object(o.useCallback)((function(e){var t=e.target.checked;r("loggedinUsers",t)}),[r]);return Array.isArray(n)?e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("h4",{className:"googlesitekit-settings-module__fields-group-title"},Object(c.__)("Exclude Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:d.loggedinUsers,checked:n.includes("loggedinUsers"),onClick:g,hideLabel:!1})),!n.includes("loggedinUsers")&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:d.contentCreators,checked:n.includes("contentCreators"),onClick:i,hideLabel:!1}))),e.createElement("p",null,t))):null}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a);function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)}WidgetHeaderTitle.propTypes={title:r.a.string.isRequired},t.a=WidgetHeaderTitle}).call(this,n(4))},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectModuleCTATile}));var a=n(1),r=n.n(a),i=n(2),o=n(3),c=n(19),s=n(176),l=n(20),u=n(583),d=n(661);function ConnectModuleCTATile(t){var n=t.moduleSlug,a=Object(s.a)(n),r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)})),g=Object(o.useSelect)((function(e){return e(c.a).getModuleIcon(n)}));return r?e.createElement("div",{className:"googlesitekit-widget--connectModuleCTATile"},e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile"},g&&e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__icon"},e.createElement(g,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__content"},e.createElement("p",{className:"googlesitekit-km-connect-module-cta-tile__text"},Object(i.sprintf)( /* translators: %s: module name */ Object(i.__)("%s is disconnected, some of your metrics can’t be displayed","google-site-kit"),r.name)),e.createElement(l.a,{secondary:!0,onClick:a},Object(i.sprintf)( /* translators: %s: module name */ Object(i.__)("Connect %s","google-site-kit"),r.name)))),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(u.a,null)),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(u.a,null)),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(d.a,null))):null}ConnectModuleCTATile.propTypes={moduleSlug:r.a.string.isRequired}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccount}));var a=n(1),r=n.n(a),i=n(0),o=n(3),c=n(10),s=n(29),l=n(132),u=n(524),d=n(525),g=n(526),m=n(527);function SetupAccount(t){var n=t.account,a=t.finishSetup,r=n._id,f=n.state,p=Object(o.useSelect)((function(e){return e(s.m).getClientID()})),b=Object(o.useSelect)((function(e){return e(s.m).getCurrentSite(r)})),v=Object(o.useSelect)((function(e){return e(s.m).getAFCClient(r)})),h=Object(o.useDispatch)(s.m),y=h.setClientID,O=h.setAccountStatus,_=h.setSiteStatus;return Object(i.useEffect)((function(){(null==v?void 0:v._id)&&p!==v._id?y(v._id):null===v&&p&&y("")}),[v,p,y]),Object(i.useEffect)((function(){null===b&&_(l.o)}),[_,b]),Object(i.useEffect)((function(){void 0!==b&&(p?f===s.f?O(l.g):(null==v?void 0:v.state)===s.h?O(l.c):(null==v?void 0:v.state)===s.e?O(l.b):O(l.k):O(l.i))}),[f,v,p,O,b]),void 0===b?e.createElement(c.ProgressBar,null):p?null===b?e.createElement(g.a,null):f===s.f||(null==v?void 0:v.state)===s.h||(null==v?void 0:v.state)===s.e?e.createElement(m.a,null):e.createElement(u.a,{site:b,finishSetup:a}):e.createElement(d.a,null)}SetupAccount.propTypes={account:r.a.shape({_id:r.a.string,state:r.a.string}),finishSetup:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSite}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(3),s=n(29),l=n(132),u=n(656),d=n(657),g=n(658),m=n(659),f=n(67);function SetupAccountSite(t){var n=t.site,a=t.finishSetup,r=n.autoAdsEnabled,p=n.state,b=Object(c.useDispatch)(s.m).setSiteStatus;switch(Object(i.useEffect)((function(){var e;switch(p){case s.f:e=l.n;break;case s.h:e=l.r;break;case s.e:e=l.m;break;case s.g:e=r?l.p:l.q}e&&b(e)}),[r,b,p]),p){case s.f:return e.createElement(u.a,null);case s.h:return e.createElement(g.a,null);case s.e:return e.createElement(d.a,null);case s.g:return e.createElement(m.a,{site:n,finishSetup:a});default:return e.createElement(f.a,{message:Object(o.sprintf)( /* translators: %s: invalid site state identifier */ Object(o.__)("Invalid site state %s","google-site-kit"),p)})}}SetupAccountSite.propTypes={site:r.a.shape({autoAdsEnabled:r.a.bool,state:r.a.string}).isRequired,finishSetup:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountNoClient}));var a=n(0),r=n(38),i=n(2),o=n(10),c=n(162),s=n(152),l=n(8),u=n(18);function SetupAccountNoClient(){var t=Object(u.a)(),n=Object(a.useCallback)((function(){Object(l.J)("".concat(t,"_adsense"),"apply_afc")}),[t]);return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Looks like you need to upgrade your AdSense account","google-site-kit")),e.createElement(s.d,null),e.createElement("p",null,Object(r.a)(Object(i.__)("To start using AdSense on your website, you need to upgrade your account to add “AdSense for content”. <a>Learn more</a>","google-site-kit"),{a:e.createElement(c.a,{path:"/adsense/answer/6023158",external:!0,"aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{href:"https://www.google.com/adsense",target:"_blank","aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit"),onClick:n},Object(i.__)("Apply now","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupAccountCreateSite}));var r=n(0),i=n(2),o=n(3),c=n(10),s=n(29),l=n(152),u=n(8),d=n(18);function SetupAccountCreateSite(){var t=Object(d.a)(),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSiteURL()})),g=Object(r.useCallback)((function(a){a.preventDefault(),Object(u.J)("".concat(t,"_adsense"),"create_site"),e.open(n,"_blank")}),[n,t]);return a.createElement(r.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Add this site to your AdSense account","google-site-kit")),a.createElement(l.d,null),a.createElement("p",null,Object(i.__)("We’ve detected that you haven’t added this site to your AdSense account yet","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(c.Button,{onClick:g,href:n},Object(i.__)("Add site to AdSense","google-site-kit"))))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPendingTasks}));var a=n(0),r=n(2),i=n(3),o=n(10),c=n(389),s=n(29),l=n(152),u=n(8),d=n(18);function SetupAccountPendingTasks(){var t=Object(d.a)(),n=Object(a.useCallback)((function(){Object(u.J)("".concat(t,"_adsense"),"review_tasks")}),[t]),g=Object(i.useSelect)((function(e){return e(s.m).getServiceAccountURL()}));return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Your account isn’t ready to show ads yet","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(r.__)("You need to fix some things before we can connect Site Kit to your AdSense account","google-site-kit")),e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{onClick:n,href:g},Object(r.__)("Review AdSense account","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupCreateAccount}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(0),l=n(38),u=n(2),d=n(3),g=n(10),m=n(162),f=n(8),p=n(363),b=n(29),v=n(6),h=n(152),y=n(18);function SetupCreateAccount(){var t=Object(y.a)(),n="".concat(t,"_adsense"),r=Object(d.useSelect)((function(e){return e(v.a).getEmail()})),o=Object(d.useSelect)((function(e){return e(b.m).getExistingTag()})),O=Object(d.useSelect)((function(e){return e(b.m).getServiceCreateAccountURL()})),_=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(a){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.preventDefault(),t.next=3,Object(f.J)(n,"create_account");case 3:e.open(O,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[O,n]);return a.createElement(s.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(u.__)("Create your AdSense account","google-site-kit")),a.createElement(h.d,null),a.createElement("p",null,Object(u.__)("Once you create your account, Site Kit will place AdSense code on every page across your site. This means your site will be automatically optimized to help you earn money from your content.","google-site-kit")),a.createElement(h.f,null),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(g.Button,{onClick:_,href:O},Object(u.__)("Create AdSense account","google-site-kit"))),a.createElement("p",{className:"googlesitekit-setup-module__footer-text"},o&&Object(u.sprintf)( /* translators: 1: client ID, 2: user email address, 3: account ID */ Object(u.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),o,r,Object(p.a)(o)),!o&&Object(l.a)(Object(u.sprintf)( /* translators: %s: user email address */ Object(u.__)("Already use AdSense? Add %s as a user to an existing AdSense account. <a>Learn more</a>","google-site-kit"),r),{a:a.createElement(m.a,{path:"/adsense/answer/2659101",external:!0,"aria-label":Object(u.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")})})))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSelectAccount}));var a=n(0),r=n(2),i=n(152);function SetupSelectAccount(){return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Select your AdSense account","google-site-kit")),e.createElement(i.d,null),e.createElement("p",null,Object(r.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(i.a,null)))}}).call(this,n(4))},,,,function(e,t,n){"use strict";function a(e){return"string"==typeof e&&/^pub-\d+$/.test(e)}function r(e){return"string"==typeof e&&/^ca-pub-\d+$/.test(e)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}))},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(2),u=n(0),d=n(42),g=n.n(d),m=n(3),f=n(10),p=n(9),b=n(14),v=n(6),h=n(28),y=n(32),O=n(34),_=n(8),E=n(499),k=n(17),S=n(144),j=n(548),T=n(549),A=n(550),N=n(551),C=n(552),w=n(330),I=n(18),M=n(393);function AccountCreate(){var t=Object(u.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=Object(m.useSelect)((function(e){return e(p.p).getAccountSummaries()})),d=Object(m.useSelect)((function(e){return e(p.p).hasFinishedResolution("getAccountSummaries")})),R=Object(m.useSelect)((function(e){return e(p.p).getAccountTicketTermsOfServiceURL()})),D=Object(m.useSelect)((function(e){return e(p.p).canSubmitAccountCreate()})),x=Object(m.useSelect)((function(e){return e(p.p).isDoingCreateAccount()})),L=Object(m.useSelect)((function(e){return e(v.a).hasScope(p.g)})),P=Object(m.useSelect)((function(e){return e(v.a).hasScope(p.n)})),G=Object(m.useSelect)((function(e){return e(h.a).hasForm(p.k)})),Z=Object(m.useSelect)((function(e){return e(h.a).getValue(p.k,"autoSubmit")})),B=Object(m.useSelect)((function(e){return e(b.c).getReferenceSiteURL()})),U=Object(m.useSelect)((function(e){return e(b.c).getSiteName()})),F=Object(m.useSelect)((function(e){return e(b.c).getTimezone()})),z=Object(I.a)(),W=Object(m.useDispatch)(h.a).setValues,V=Object(m.useDispatch)(y.a).navigateTo,H=Object(m.useDispatch)(p.p).createAccount,q=Object(m.useDispatch)(v.a).setPermissionScopeError,K=Object(m.useDispatch)(b.c),Y=K.setConversionTrackingEnabled,J=K.saveConversionTrackingSettings,$=L;Object(u.useEffect)((function(){R&&o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.invalidateCache("modules","analytics-4");case 2:V(R);case 3:case"end":return e.stop()}}),e)})))()}),[R,V]),Object(u.useEffect)((function(){G||W(p.k,Object(E.a)({siteName:U,siteURL:B,timezone:F}))}),[G,U,B,F,W]);var X=Object(u.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],L||t.push(p.g),P||t.push(p.n),!(t.length>0)){e.next=7;break}return W(p.k,{autoSubmit:!0}),q({code:O.a,message:Object(l.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 7:return W(p.k,{autoSubmit:!1}),e.next=10,Object(_.J)("".concat(z,"_analytics"),"create_account","proxy");case 10:return e.next=12,H();case 12:if(n=e.sent,n.error){e.next=19;break}return Y(!0),e.next=18,J();case 18:i(!0);case 19:case"end":return e.stop()}}),e)}))),[L,P,W,z,H,q,Y,J]);Object(u.useEffect)((function(){$&&Z&&X()}),[$,Z,X]);var Q=Object(m.useDispatch)(p.p).rollbackSettings,ee=Object(u.useCallback)((function(){return Q()}),[Q]);return x||a||!d||void 0===$?e.createElement(f.ProgressBar,null):e.createElement("div",null,e.createElement(S.a,{moduleSlug:"analytics-4",storeName:p.p}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(l.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(l.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(k.a,{size:6},e.createElement(T.a,null)),e.createElement(k.a,{size:6},e.createElement(A.a,null)),e.createElement(k.a,{size:6},e.createElement(C.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(N.a,null),e.createElement(j.a,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,{formName:p.k,className:"googlesitekit-margin-bottom-0"}),e.createElement(M.a,{className:"googlesitekit-margin-top-0",message:Object(l.__)("To track how visitors interact with your site, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")})),e.createElement("p",null,$&&e.createElement("span",null,Object(l.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!$&&e.createElement("span",null,Object(l.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(f.Button,{disabled:!D,onClick:X},Object(l.__)("Create Account","google-site-kit")),c&&!!c.length&&e.createElement(f.Button,{tertiary:!0,className:"googlesitekit-setup-module__sub-action",onClick:ee},Object(l.__)("Back","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(10),s=n(3),l=n(9),u=n(8),d=n(18);function AccountSelect(t){var n=t.hasModuleAccess,a=t.onChange,r=Object(d.a)(),g=Object(s.useSelect)((function(e){return e(l.p).getAccountID()})),m=Object(s.useSelect)((function(e){return e(l.p).getAccountSummaries()})),f=Object(s.useSelect)((function(e){return e(l.p).hasFinishedResolution("getAccountSummaries")})),p=Object(s.useDispatch)(l.p).selectAccount,b=Object(i.useCallback)((function(e,t){var n=t.dataset.value;if(g!==n){p(n);var i=n===l.a?"change_account_new":"change_account";Object(u.J)("".concat(r,"_analytics"),i),a&&a()}}),[g,p,r,a]);return f?!1===n?e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:g,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:g},g)):e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:g,onEnhancedChange:b,enhanced:!0,outlined:!0},(m||[]).concat({_id:l.a,displayName:Object(o.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(c.Option,{key:n,value:a},r)}))):e.createElement(c.ProgressBar,{small:!0})}AccountSelect.propTypes={hasModuleAccess:r.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(0),l=n(2),u=n(3),d=n(10),g=n(8),m=n(9),f=n(144),p=n(373),b=n(18);function AccountCreateLegacy(){var t=Object(u.useSelect)((function(e){return e(m.p).getAccountSummaries()})),n=Object(u.useSelect)((function(e){return e(m.p).hasFinishedResolution("getAccountSummaries")})),r=Object(u.useSelect)((function(e){return e(m.p).getAccountID()})),o=m.a===r,v=Object(u.useSelect)((function(e){return e(m.p).getServiceURL({path:"/provision/SignUp"})})),h=Object(b.a)(),y=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(g.J)("".concat(h,"_analytics"),"create_account","custom-oauth");case 3:e.open(v,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[v,h]),O=Object(u.useDispatch)(m.p),_=O.resetAccountSummaries,E=O.resetAccountSettings,k=Object(s.useCallback)((function(){_(),E()}),[E,_]);return n?a.createElement("div",null,a.createElement(p.a,null),a.createElement(f.a,{moduleSlug:"analytics-4",storeName:m.p}),!o&&t&&0===t.length&&a.createElement("p",null,Object(l.__)('Looks like you don’t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),o&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(l.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(l.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(d.Button,{onClick:y},Object(l.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(d.Button,{tertiary:!0,onClick:k},Object(l.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(d.ProgressBar,null)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamSelect}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(2),l=n(10),u=n(3),d=n(9),g=n(61),m=n(8),f=n(18);function WebDataStreamSelect(t){var n=t.hasModuleAccess,a=t.isDisabled,i=t.className,o=t.onChange,p=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),b=Object(u.useSelect)((function(e){return e(d.p).getSettings()||{}})),v=b.propertyID,h=b.webDataStreamID,y=b.measurementID,O=Object(u.useSelect)((function(e){return Object(g.e)(v)&&!1!==n?e(d.p).getWebDataStreams(v):[]})),_=Object(u.useSelect)((function(e){return!a&&e(d.p).isLoadingWebDataStreams({hasModuleAccess:n})})),E=Object(f.a)(),k=Object(u.useDispatch)(d.p),S=k.setWebDataStreamID,j=k.updateSettingsForMeasurementID,T=Object(c.useCallback)((function(e,t){var n,a,r=t.dataset.value;h!==r&&(S(r),j((null===(n=O.find((function(e){return e._id===r})))||void 0===n||null===(a=n.webStreamData)||void 0===a?void 0:a.measurementId)||""),Object(m.J)("".concat(E,"_analytics"),r===d.x?"change_webdatastream_new":"change_webdatastream","ga4"),o&&o())}),[O,h,S,j,E,o]);if(!Object(g.a)(p))return null;if(_)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var A=void 0===h||""===h||Object(g.i)(h);return!1===n?e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i),label:Object(s.__)("Web Data Stream","google-site-kit"),value:y,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:y},y)):e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i,{"mdc-select--invalid":!A}),label:Object(s.__)("Web Data Stream","google-site-kit"),value:h,onEnhancedChange:T,disabled:a||!Object(g.f)(v),enhanced:!0,outlined:!0},(O||[]).concat({_id:d.x,displayName:Object(s.__)("Set up a new web data stream","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName,i=t.webStreamData,o=void 0===i?{}:i;return e.createElement(l.Option,{key:n,value:a},a!==d.x&&(null==o?void 0:o.measurementId)?Object(s.sprintf)( /* translators: 1: Data stream name. 2: Measurement ID. */ Object(s._x)("%1$s (%2$s)","Analytics data stream name and measurement ID","google-site-kit"),r,o.measurementId):r)})))}WebDataStreamSelect.propTypes={hasModuleAccess:o.a.bool,isDisabled:o.a.bool,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(2),l=n(10),u=n(3),d=n(9),g=n(61),m=n(8),f=n(18);function PropertySelect(t){var n=t.isDisabled,a=t.hasModuleAccess,i=t.className,o=t.onChange,p=void 0===o?function(){}:o,b=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),v=Object(u.useSelect)((function(e){return!1===a||n?null:e(d.p).getPropertySummaries(b)||[]})),h=Object(u.useSelect)((function(e){return e(d.p).getPropertyID()})),y=Object(u.useSelect)((function(e){return!n&&(e(d.p).isLoadingPropertySummaries()||e(d.p).isLoadingWebDataStreams({hasModuleAccess:a}))})),O=Object(f.a)(),_=Object(u.useDispatch)(d.p).selectProperty,E=Object(c.useCallback)((function(e,t){var n=t.dataset.value;h!==n&&(_(n),Object(m.J)("".concat(O,"_analytics"),n===d.q?"change_property_new":"change_property","ga4"),p())}),[p,h,_,O]);if(!Object(g.a)(b))return null;if(y)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var k=void 0===h||""===h||Object(g.f)(h);return!1===a?e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-property",i),label:Object(s.__)("Property","google-site-kit"),value:h,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:h},h)):e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-property",i,{"mdc-select--invalid":!k,"googlesitekit-analytics-4__select-property--loaded":!n&&!y}),label:Object(s.__)("Property","google-site-kit"),value:h,onEnhancedChange:E,disabled:n,enhanced:!0,outlined:!0},(v||[]).concat({_id:d.q,displayName:Object(s.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t._id,a=t.displayName;return e.createElement(l.Option,{key:n,value:n},n===d.q?a:Object(s.sprintf)( /* translators: 1: Property name. 2: Property ID. */ Object(s._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a,n))})))}PropertySelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNameInput}));var a=n(12),r=n.n(a),i=n(91),o=n(0),c=n(2),s=n(109),l=n(3),u=n(28),d=n(14),g=n(9),m=n(491),f=n(10),p=n(61);function WebDataStreamNameInput(){var t=Object(l.useSelect)((function(e){return e(g.p).getPropertyID()})),n=Object(l.useSelect)((function(e){return e(g.p).getWebDataStreamID()})),a=Object(l.useSelect)((function(e){return e(u.a).getValue(g.m,"webDataStreamName")})),b=Object(l.useSelect)((function(e){return!!Object(p.e)(t)&&e(g.p).doesWebDataStreamExist(t,a)})),v=Object(l.useSelect)((function(e){return e(d.c).getReferenceSiteURL()})),h=Object(l.useDispatch)(u.a).setValues,y=Object(o.useCallback)((function(e){var t=e.currentTarget;h(g.m,{webDataStreamName:t.value})}),[h]);if(Object(i.a)((function(){if(!a&&Object(s.a)(v)){var e=new URL(v).hostname;h(g.m,{webDataStreamName:e})}})),n!==g.x)return null;var O=b||!a||!Object(p.h)(a),_=!1;return b?_=Object(c.__)("A web data stream with this name already exists.","google-site-kit"):a?Object(p.h)(a)||(_=Object(c.__)("This is not a valid web data stream name.","google-site-kit")):_=Object(c.__)("A web data stream name is required.","google-site-kit"),e.createElement("div",{className:"googlesitekit-analytics-webdatastreamname"},e.createElement(f.TextField,{className:r()({"mdc-text-field--error":O}),label:Object(c.__)("Web Data Stream Name","google-site-kit"),outlined:!0,helperText:_,trailingIcon:O&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(m.a,null)),value:a,onChange:y}))}}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var a=n(3),r=n(19),i=n(6),o=n(212),c=n(219);function ModuleSettingsWarning(t){var n=t.slug,s=Object(a.useSelect)((function(e){var t;return null===(t=e(r.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return s?i.c===s.code?e.createElement(c.a,{moduleSlug:n}):e.createElement(o.a,null,s.message):null}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M1 3.838L4.106 7 10 1",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgTick(e){return a.createElement("svg",r({viewBox:"0 0 11 9",fill:"none"},e),i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(206),s=n(9),l=n(28);function TimezoneSelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"timezone")})),u=Object(o.useDispatch)(l.a).setValues,d=Object(a.useCallback)((function(e,t){u(s.k,{timezone:t.dataset.value})}),[u]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-timezone",label:Object(r.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:d,disabled:!t,enhanced:!0,outlined:!0},(c.d[t]||[]).map((function(t,n){var a=t.timeZoneId,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),s=n(28);function AccountField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"accountName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{accountName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:l,name:"account"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),s=n(28);function PropertyField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"propertyName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{propertyName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:l,name:"property"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(206),s=n(9),l=n(28);function CountrySelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useDispatch)(l.a).setValues,u=Object(a.useCallback)((function(e,a){var r=a.dataset.value;r!==t&&c.b[r]&&n(s.k,{countryCode:r,timezone:c.b[r].defaultTimeZoneId})}),[n,t]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-country",label:Object(r.__)("Country","google-site-kit"),value:t,onEnhancedChange:u,enhanced:!0,outlined:!0},c.a.map((function(t,n){var a=t.countryCode,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),s=n(28);function WebDataStreamField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"dataStreamName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{dataStreamName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Web Data Stream","google-site-kit"),value:t,hasError:!t,setValue:l,name:"dataStream"})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(7),r=n.n(a),i=n(16),o=n.n(i),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),g=n(14),m=n(351);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var h=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;u()("string"==typeof n&&n,"storeName is required."),u()("function"==typeof a,"isValidTag must be a function."),u()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},l={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return u()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},f=(e={},r()(e,"FETCH_GET_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,l,u,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(m.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return l=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(l);case 12:if(u=e.select(g.c).getHTMLForURL(l),!(d=Object(m.a)(u,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return p(p({},e),{},{existingTag:r});default:return e}},h={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,l.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},y={getExistingTag:function(e){return e.existingTag},hasExistingTag:Object(d.createRegistrySelector)((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},O={initialState:c,actions:l,controls:f,reducer:v,resolvers:h,selectors:y};return p(p({},O),{},{STORE_NAME:n})}},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));var a="adsense-connect-cta",r="adsense-connect-cta-tooltip-state",i="adsense-ga4-top-earnings-notice"},,,,,,function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google={})}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebStoriesAdUnitSelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(29);function WebStoriesAdUnitSelect(){var t=Object(o.useSelect)((function(e){return e(c.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(c.m).getClientID()})),s=Object(o.useSelect)((function(e){return e(c.m).getWebStoriesAdUnit()})),l=Object(o.useSelect)((function(e){return e(c.m).getAdUnits(t,n)})),u=Object(o.useSelect)((function(e){return e(c.m).hasFinishedResolution("getAdUnits",[t,n])})),d=Object(o.useDispatch)(c.m).setWebStoriesAdUnit,g=Object(a.useCallback)((function(e,t){var n=t.dataset.value;s!==n&&d(n)}),[s,d]);return u?e.createElement(i.Select,{className:"googlesitekit-adsense__select-field",label:Object(r.__)("Web Stories Ad Unit","google-site-kit"),value:s,onEnhancedChange:g,enhanced:!0,outlined:!0},e.createElement(i.Option,{value:""},Object(r.__)("Select ad unit","google-site-kit")),(l||[]).map((function(t){var n=t._id,a=t.displayName;return e.createElement(i.Option,{key:n,value:n},a)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseConnectCTA}));var a=n(21),r=n.n(a),i=n(5),o=n.n(i),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(222),g=n(1),m=n.n(g),f=n(2),p=n(0),b=n(38),v=n(3),h=n(10),y=n(29),O=n(17),_=n(14),E=n(19),k=n(32),S=n(8),j=n(653),T=n(162),A=n(18);function AdSenseConnectCTA(t){var n=t.onDismissModule,a=Object(v.useDispatch)(k.a).navigateTo,i=Object(v.useDispatch)(E.a).activateModule,c=Object(v.useDispatch)(_.c).setInternalServerError,l=Object(A.a)(),g=Object(p.useRef)(),m=Object(p.useState)(!1),N=u()(m,2),C=N[0],w=N[1],I=Object(d.a)(g,{threshold:.25}),M=!!(null==I?void 0:I.intersectionRatio);Object(p.useEffect)((function(){M&&!C&&(Object(S.J)("".concat(l,"_adsense-cta-widget"),"widget_view"),w(!0))}),[M,l,C]);var R=Object(v.useSelect)((function(e){return e(y.m).getAdminReauthURL()})),D=Object(v.useSelect)((function(e){return e(E.a).isModuleActive("adsense")})),x=Object(v.useSelect)((function(e){return e(E.a).isModuleConnected("adsense")})),L=Object(v.useSelect)((function(e){return!!e(E.a).isFetchingSetModuleActivation("adsense",!0)||!!R&&e(k.a).isNavigatingTo(R)})),P=Object(p.useCallback)(s()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i("adsense");case 2:if(t=e.sent,n=t.response,!(r=t.error)){e.next=8;break}return c({id:"setup-module-error",description:r.message}),e.abrupt("return",null);case 8:return e.next=10,Object(S.J)("".concat(l,"_adsense-cta-widget"),"activate_module","adsense");case 10:a(n.moduleReauthURL);case 11:case"end":return e.stop()}}),e)}))),[i,a,c,l]),G=Object(p.useCallback)((function(){return a(R)}),[R,a]),Z=Object(p.useCallback)((function(){Object(S.J)("".concat(l,"_adsense-cta-widget"),"dismiss_widget"),n()}),[n,l]),B={smSize:4,mdSize:4,lgSize:6};return e.createElement("section",{ref:g,className:"googlesitekit-setup__wrapper googlesitekit-setup__wrapper--adsense-connect"},e.createElement(O.e,null,e.createElement(j.a,{hasBeenInView:C}),e.createElement(O.k,null,e.createElement(O.a,B,e.createElement("div",{className:"googlesitekit-setup-module__action"},!D&&e.createElement(h.SpinnerButton,{onClick:P,isSaving:L},Object(f.__)("Connect now","google-site-kit")),D&&!x&&e.createElement(h.SpinnerButton,{onClick:G,isSaving:L},Object(f.__)("Complete setup","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:Z},Object(f.__)("Maybe later","google-site-kit")))),e.createElement(O.a,r()({},B,{className:"googlesitekit-setup-module__footer-text"}),e.createElement("p",null,Object(b.a)(Object(f.__)("AdSense accounts are <a>subject to review and approval</a> by the Google AdSense team","google-site-kit"),{a:e.createElement(T.a,{path:"/adsense/answer/9724",external:!0,hideExternalIndicator:!0})}))))))}AdSenseConnectCTA.propTypes={onDismissModule:m.a.func.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Step}));var a=n(1),r=n.n(a),i=n(269);function Step(t){var n=t.children,a=t.title,r=t.stepStatus;return e.createElement("div",{className:"googlesitekit-stepper__step-info"},e.createElement("h2",{className:"googlesitekit-stepper__step-title"},a),e.createElement("div",{className:"googlesitekit-stepper__step-content-container"},r===i.a.ACTIVE&&e.createElement("div",{className:"googlesitekit-stepper__step-content"},n)))}Step.propTypes={children:r.a.node.isRequired,title:r.a.string.isRequired,stepStatus:r.a.oneOf(Object.values(i.a))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(977),r=function(e){var t=new URL(e);return Object(a.parse)(t.hostname).domain}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GhostCardGreenSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(35).then(n.bind(null,1161))}));function GhostCardGreenSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"90px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoverySetupCTANotice}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(38),l=n(2),u=n(10),d=n(3),g=n(93),m=n(159),f=n(162),p=n(32),b=n(14),v=n(390),h=n(18),y=n(8),O=n(29),_=n(244),E=n(205);function AdBlockingRecoverySetupCTANotice(){var t=Object(v.a)(),n=Object(h.a)(),a=Object(d.useSelect)((function(e){return e(O.m).getAdBlockingRecoverySetupStatus()})),i=Object(d.useSelect)((function(e){return e(O.m).getAccountStatus()})),k=Object(d.useSelect)((function(e){return e(O.m).getSiteStatus()})),S=Object(d.useSelect)((function(e){return e(O.m).hasExistingAdBlockingRecoveryTag()})),j=Object(d.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-ad-blocking-recovery")})),T=Object(d.useDispatch)(p.a).navigateTo,A=void 0===S||S||""!==a||i!==_.a||k!==_.c;Object(c.useEffect)((function(){t&&!A&&Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"view_notification")}),[t,A,n]);var N=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"confirm_notification");case 2:return e.abrupt("return",T(j));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return A?null:e.createElement(m.a,{notice:e.createElement(c.Fragment,null,Object(l.__)("Ad blocking recovery","google-site-kit"),e.createElement(g.a,{className:"googlesitekit-new-badge",label:Object(l.__)("New","google-site-kit")})),className:"googlesitekit-settings-notice-ad-blocking-recovery-cta",OuterCTA:function OuterCTA(){return e.createElement(u.Button,{onClick:N},Object(l.__)("Set up now","google-site-kit"))}},Object(s.a)(Object(l.__)("Start recovering revenue lost from ad blockers by deploying an ad blocking recovery message through Site Kit. <a>Learn more</a>","google-site-kit"),{a:e.createElement(f.a,{path:"/adsense/answer/11576589",external:!0,onClick:function(){Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"click_learn_more_link")}})}),e.createElement(E.a,{triggerID:"view_abr_setup_cta",ttl:y.a}))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryApp}));var a=n(0),r=n(242),i=n(243),o=n(17),c=n(647);function AdBlockingRecoveryApp(){return e.createElement(a.Fragment,null,e.createElement(r.a,null,e.createElement(i.a,null)),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery googlesitekit-module-page"},e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(c.a,null))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(8),s=n(29),l=n(18);function AccountSelect(){var t=Object(l.a)(),n="".concat(t,"_adsense"),u=Object(o.useSelect)((function(e){return e(s.m).getAccountID()})),d=Object(o.useSelect)((function(e){return e(s.m).getAccounts()})),g=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getAccounts")})),m=Object(o.useDispatch)(s.m).setAccountID,f=Object(a.useCallback)((function(e,t){var a=t.dataset.value;u!==a&&(m(a),Object(c.J)(n,"change_account"))}),[u,n,m]);return g?e.createElement(i.Select,{className:"googlesitekit-adsense__select-account",label:Object(r.__)("Account","google-site-kit"),value:u,onEnhancedChange:f,enhanced:!0,outlined:!0},(d||[]).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(2),r=n(3),i=n(85),o=n(14);function AdSenseLinkCTA(t){var n=t.onClick,c=void 0===n?function(){}:n,s=Object(r.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(i.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:s,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0,onClick:c})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotices}));var a=n(29),r=n(144),i=n(1),o=n.n(i);function ErrorNotices(t){var n=t.hasButton,i=void 0!==n&&n;return e.createElement(r.a,{hasButton:i,moduleSlug:"adsense",storeName:a.m})}ErrorNotices.propTypes={hasButton:o.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserProfile}));var a=n(3),r=n(10),i=n(6);function UserProfile(){var t=Object(a.useSelect)((function(e){return e(i.a).getEmail()})),n=Object(a.useSelect)((function(e){return e(i.a).getPicture()}));return Object(a.useSelect)((function(e){return e(i.a).hasFinishedResolution("getUser")}))?e.createElement("p",{className:"googlesitekit-setup-module__user"},e.createElement("img",{className:"googlesitekit-setup-module__user-image",src:n,alt:""}),e.createElement("span",{className:"googlesitekit-setup-module__user-email"},t)):e.createElement(r.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(521),u=n(0),d=n(2),g=n(3),m=n(10),f=n(148),p=n(8),b=n(29),v=n(18),h=n(93);function UseSnippetSwitch(t){var n=t.label,a=void 0===n?Object(d.__)("Let Site Kit place AdSense code on your site","google-site-kit"):n,i=t.checkedMessage,c=t.uncheckedMessage,s=t.saveOnChange,y=Object(v.a)(),O="".concat(y,"_adsense"),_=Object(g.useSelect)((function(e){return e(b.m).getUseSnippet()})),E=Object(g.useSelect)((function(e){return e(b.m).isDoingSubmitChanges()})),k=Object(g.useDispatch)(b.m),S=k.setUseSnippet,j=k.saveSettings,T=Object(u.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(S(!_),!s){e.next=4;break}return e.next=4,j();case 4:case"end":return e.stop()}}),e)}))),[_,s,S,j]);return Object(l.a)((function(){Object(p.J)(O,_?"enable_tag":"disable_tag")}),[O,_]),void 0===_?null:e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__switch"},e.createElement(m.Switch,{label:a,onClick:T,checked:_,disabled:E,hideLabel:!1})," ",e.createElement(h.a,{className:"googlesitekit-badge--primary",label:Object(d.__)("Recommended","google-site-kit")})),_&&i&&e.createElement(f.c,{notice:i}),!_&&c&&e.createElement(f.c,{notice:c}))}UseSnippetSwitch.propTypes={label:s.a.string,checkedMessage:s.a.string,uncheckedMessage:s.a.string,saveOnChange:s.a.bool},UseSnippetSwitch.defaultProps={saveOnChange:!1}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(521),u=n(1),d=n.n(u),g=n(2),m=n(0),f=n(3),p=n(10),b=n(498),v=n(523),h=n(528),y=n(529),O=n(8),_=n(152),E=n(219),k=n(29),S=n(6),j=n(14),T=n(132),A=n(18),N=n(333),C=n(24);function SetupMain(t){var n=t.finishSetup,a=Object(A.a)(),i="".concat(a,"_adsense"),c=Object(f.useDispatch)(k.m),u=c.resetAccounts,d=c.resetClients,w=c.resetSites,I=c.setAccountID,M=c.setAccountStatus,R=c.submitChanges,D=Object(m.useState)(!1),x=s()(D,2),L=x[0],P=x[1],G=Object(m.useState)(!1),Z=s()(G,2),B=Z[0],U=Z[1],F=Object(f.useSelect)((function(e){return!!e(C.b).getValue(k.i)})),z=Object(f.useSelect)((function(e){return e(S.a).isAdBlockerActive()})),W=Object(f.useSelect)((function(e){return e(k.m).getAccounts()})),V=Object(f.useSelect)((function(e){return e(k.m).getAccountID()})),H=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("accountID")})),q=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("clientID")})),K=Object(f.useSelect)((function(e){return e(k.m).canSubmitChanges()})),Y=Object(f.useSelect)((function(e){return e(k.m).getClientID()})),J=Object(f.useSelect)((function(e){return e(k.m).getAccountStatus()})),$=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("accountStatus")})),X=Object(f.useSelect)((function(e){return e(k.m).getSiteStatus()})),Q=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("siteStatus")})),ee=Object(f.useSelect)((function(e){return e(k.m).hasErrors()})),te=Object(f.useSelect)((function(e){return e(k.m).hasFinishedResolution("getAccounts")})),ne=Object(f.useSelect)((function(e){return e(S.a).getEmail()})),ae=Object(f.useSelect)((function(e){return e(j.c).getReferenceSiteURL()})),re=Object(f.useSelect)((function(e){return e(k.m).getExistingTag()})),ie=null==W?void 0:W.find((function(e){return e._id===V}));Object(l.a)((function(){(H&&void 0!==V||q&&void 0!==Y||$&&void 0!==J||Q&&void 0!==X)&&P(!0)}),[V,H,Y,q,J,$,X,Q]),Object(m.useEffect)((function(){var e;Array.isArray(W)&&(1!==W.length||V&&W[0]._id===V?0===W.length&&V&&(e=""):e=W[0]._id,void 0!==e&&(I(e),P(!0)))}),[W,V,I]),Object(m.useEffect)((function(){0===(null==W?void 0:W.length)?M(T.h):(null==W?void 0:W.length)>1&&!V&&M(T.f)}),[M,V,W]),Object(m.useEffect)((function(){L&&!B&&K&&!F&&(P(!1),o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!0),e.next=3,R();case 3:U(!1);case 4:case"end":return e.stop()}}),e)})))())}),[L,B,K,R,F]);var oe,ce=Object(m.useCallback)((function(){void 0!==J&&T.k!==J&&(u(),d(),w())}),[J,u,d,w]);return Object(N.a)(ce,15e3),Object(m.useEffect)((function(){void 0!==J&&Object(O.J)(i,"receive_account_state",J)}),[i,J]),Object(m.useEffect)((function(){void 0!==X&&Object(O.J)(i,"receive_site_state",X)}),[i,X]),oe=te&&void 0!==V&&void 0!==ne&&void 0!==ae&&void 0!==re?ee?e.createElement(_.d,{hasButton:!0}):(null==W?void 0:W.length)?V?e.createElement(v.a,{account:ie,finishSetup:n}):e.createElement(y.a,null):e.createElement(h.a,null):e.createElement(p.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(b.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("AdSense","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(E.a,{moduleSlug:"adsense"}),!z&&oe))}SetupMain.propTypes={finishSetup:d.a.func}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";var a=n(632);n.d(t,"a",(function(){return a.a}));n(389);var r=n(638);n.d(t,"b",(function(){return r.a}));n(523),n(528),n(529),n(525),n(526),n(527),n(524)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(7),u=n.n(l),d=n(157),g=n(0),m=n(2),f=n(3),p=n(10),b=n(20),v=n(383),h=n(648),y=n(581),O=n(185),_=n(32),E=n(14),k=n(24),S=n(18),j=n(17),T=n(8),A=n(29),N=n(649),C=n(651),w=n(652);function SetupMain(){var t=Object(S.a)(),n=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),a="".concat(n,"#/connected-services/adsense"),i=Object(f.useSelect)((function(e){return!!e(k.b).getValue(A.c)})),c=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-dashboard")})),l=Object(f.useSelect)((function(e){var t,n=(t={},u()(t,A.k.TAG_PLACED,A.l.CREATE_MESSAGE),u()(t,A.k.SETUP_CONFIRMED,A.l.COMPLETE),t),a=e(A.m).getAdBlockingRecoverySetupStatus();if(void 0!==a)return n[a]||A.l.PLACE_TAGS})),I=Object(d.a)(c,{notification:"ad_blocking_recovery_setup_success"}),M=Object(f.useSelect)((function(e){return e(A.m).getAccountID()})),R=Object(f.useSelect)((function(e){return e(A.m).getServiceURL({path:"/".concat(M,"/privacymessaging/ad_blocking")})})),D=Object(f.useDispatch)(A.m),x=D.saveSettings,L=D.setAdBlockingRecoverySetupStatus,P=D.setUseAdBlockingRecoverySnippet,G=D.setUseAdBlockingRecoveryErrorSnippet,Z=Object(f.useDispatch)(_.a).navigateTo,B=Object(g.useState)(l),U=s()(B,2),F=U[0],z=U[1],W=Object(g.useCallback)(o()(r.a.mark((function e(){var o,s;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==F){e.next=6;break}return e.next=3,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_place_tag_step");case 3:if(!document.referrer.includes(n)){e.next=5;break}return e.abrupt("return",Z(a));case 5:return e.abrupt("return",Z(c));case 6:if(!i){e.next=10;break}return e.next=9,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_final_step");case 9:return e.abrupt("return",Z(a));case 10:return L(""),P(!1),G(!1),e.next=15,x();case 15:return o=e.sent,s=o.error,e.next=19,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_create_message_step");case 19:s||(document.referrer.includes(n)?Z(a):Z(c));case 20:case"end":return e.stop()}}),e)}))),[F,a,i,c,Z,x,L,G,P,n,t]);return Object(g.useEffect)((function(){void 0===F&&void 0!==l&&z(l)}),[F,l]),e.createElement(O.a,{rounded:!0},e.createElement(j.e,null,e.createElement(j.k,null,e.createElement(j.a,{lgSize:6,mdSize:8,smSize:4},e.createElement(v.a,{className:"googlesitekit-heading-3 googlesitekit-ad-blocking-recovery__heading",title:Object(m.__)("Ad Blocking Recovery","google-site-kit"),fullWidth:!0})))),e.createElement(N.a,null,e.createElement(h.a,{activeStep:F,className:"googlesitekit-ad-blocking-recovery__steps"},e.createElement(y.a,{title:Object(m.__)("Enable ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-place-tags"},e.createElement(w.a,{setActiveStep:z})),e.createElement(y.a,{title:Object(m.__)("Create your site’s ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-create-message"},e.createElement(C.a,null))),A.l.COMPLETE===F&&e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-content"},e.createElement("p",null,Object(m.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(m.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")))),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer googlesitekit-ad-blocking-recovery__buttons"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer-cancel"},A.l.COMPLETE===F?e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-actions"},e.createElement(p.SpinnerButton,{href:I},Object(m.__)("My message is ready","google-site-kit")),e.createElement(b.a,{href:R,external:!0,hideExternalIndicator:!0},Object(m.__)("Create message","google-site-kit"))):e.createElement(b.a,{onClick:W},Object(m.__)("Cancel","google-site-kit")))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stepper}));var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(0),s=n(2),l=n(547),u=n(269);function Stepper(t){var n=t.children,a=t.activeStep,r=t.className,i=c.Children.count(n);function d(e,t){switch(t){case u.a.UPCOMING:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (upcoming).","google-site-kit"),e,i);case u.a.ACTIVE:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (active).","google-site-kit"),e,i);case u.a.COMPLETED:return Object(s.sprintf)( /* translators: 1: The number of the current step. 2: The total number of steps. */ Object(s.__)("Step %1$s of %2$s (completed).","google-site-kit"),e,i)}}return e.createElement("ol",{className:o()("googlesitekit-stepper",r)},c.Children.map(n,(function(t,n){var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return e<a?u.a.COMPLETED:e===a?u.a.ACTIVE:u.a.UPCOMING}(n,a),s=n+1;return e.createElement("li",{className:o()("googlesitekit-stepper__step","googlesitekit-stepper__step--".concat(r),t.props.className)},e.createElement("div",{className:"googlesitekit-stepper__step-progress"},e.createElement("span",{className:"googlesitekit-stepper__step-number",title:d(s,r)},r===u.a.COMPLETED?e.createElement(l.a,null):s),s<i&&e.createElement("div",{className:"googlesitekit-stepper__step-progress-line"})),Object(c.cloneElement)(t,{stepStatus:r}))})))}Stepper.propTypes={children:r.a.node.isRequired,activeStep:r.a.number,className:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Content}));var a=n(1),r=n.n(a),i=n(17),o=n(650),c=n(25);function Content(t){var n=t.children,a=Object(c.e)(),r=![c.c,c.b].includes(a);return e.createElement(i.e,{className:"googlesitekit-ad-blocking-recovery__content"},e.createElement(i.k,null,e.createElement(i.a,{mdSize:8,lgSize:8},n),r&&e.createElement(i.a,{className:"googlesitekit-ad-blocking-recovery__hero-graphic",lgSize:4},e.createElement(o.a,null))))}Content.propTypes={children:r.a.node}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M22.56 28.885a85.319 85.319 0 018.606-7.899C60.044-2.097 83.903-2.06 116.934 2.153 139.265 5 158.642 18.5 182.13 17.185 205.617 15.871 238.088 7.743 264 9.5c29.5 2 37 5.5 63.227 19.385 24.273 12.85 46.312 35.426 57.388 65.284 18.985 51.177-14.865 143.285-60.259 147.628-32.893 3.148-60.039-33.973-93.239-25.376-20.452 5.297-32.583 27.515-48.362 42.177-18.409 17.107-48.199 16.032-69.755 6.902-20.542-8.699-35.63-25.926-42.338-51.32-5.107-19.338-4.595-38.709-16.86-53.857C36.497 138.947 9.432 134 1.281 94.168c-5.16-25.213 5.942-49.13 21.279-65.283z",fill:"#F3F5F7"}),o=a.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter0_d_149_3117)"},a.createElement("rect",{x:50.837,y:42.913,width:257.906,height:176.087,rx:14.086,fill:"#fff"}),a.createElement("rect",{x:50.139,y:42.214,width:259.302,height:177.484,rx:14.785,stroke:"#CBD0D3",strokeWidth:1.396})),c=a.createElement("rect",{x:65,y:78.486,width:78,height:126.285,rx:5.282,fill:"#EE92DA"}),s=a.createElement("circle",{cx:104.5,cy:139.528,r:11,stroke:"#fff",strokeWidth:3}),l=a.createElement("path",{d:"M112 132.028l-15.5 15.5",stroke:"#fff",strokeWidth:3}),u=a.createElement("path",{d:"M50.837 56.999c0-7.78 6.307-14.086 14.087-14.086h229.733c7.78 0 14.086 6.306 14.086 14.086v7.258H50.837v-7.258z",fill:"#EBEEF0"}),d=a.createElement("rect",{x:61.509,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),g=a.createElement("rect",{x:72.181,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),m=a.createElement("rect",{x:164,y:78.486,width:125.396,height:42.688,rx:5.585,fill:"#EBEEF0"}),f=a.createElement("rect",{x:164,y:129,width:92.49,height:14.229,rx:7.115,fill:"#EBEEF0"}),p=a.createElement("rect",{x:164,y:151,width:108.498,height:5.585,rx:2.793,fill:"#EBEEF0"}),b=a.createElement("rect",{x:164,y:165,width:92.49,height:5.585,rx:2.793,fill:"#EBEEF0"}),v=a.createElement("rect",{x:164,y:179,width:125.396,height:5.585,rx:2.793,fill:"#EBEEF0"}),h=a.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter1_d_149_3117)"},a.createElement("path",{d:"M199 163c0-6.075 4.925-11 11-11h126c6.075 0 11 4.925 11 11v83.038c0 6.076-4.925 11-11 11H210c-6.075 0-11-4.924-11-11V163z",fill:"#fff"}),a.createElement("path",{d:"M199.5 163c0-5.799 4.701-10.5 10.5-10.5h126c5.799 0 10.5 4.701 10.5 10.5v83.038c0 5.799-4.701 10.5-10.5 10.5H210c-5.799 0-10.5-4.701-10.5-10.5V163z",stroke:"#CBD0D3"})),y=a.createElement("rect",{x:224.247,y:192.918,width:96.635,height:5.224,rx:2.612,fill:"#EBEEF0"}),O=a.createElement("rect",{x:246.882,y:222.518,width:53.106,height:22.635,rx:11.318,fill:"#77AD8C"}),_=a.createElement("circle",{cx:273,cy:172.023,r:9.576,fill:"#EBEEF0"}),E=a.createElement("path",{d:"M266.906 233.539l5.003 5.003 9.495-9.495",stroke:"#fff",strokeWidth:3}),k=a.createElement("rect",{x:222.506,y:205.106,width:98.376,height:5.224,rx:2.612,fill:"#EBEEF0"}),S=a.createElement("defs",null,a.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter0_d_149_3117",x:49.441,y:41.516,width:264.699,height:183.88,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dx:4,dy:5}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})),a.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter1_d_149_3117",x:199,y:152,width:152,height:110.038,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dx:4,dy:5}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})));t.a=function SvgAdBlockingRecoverySetup(e){return a.createElement("svg",r({viewBox:"0 0 390 273",fill:"none"},e),i,o,c,s,l,u,d,g,m,f,p,b,v,h,y,O,_,E,k,S)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateMessageStep}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(91),s=n(0),l=n(2),u=n(157),d=n(10),g=n(3),m=n(116),f=n(20),p=n(32),b=n(14),v=n(24),h=n(18),y=n(8),O=n(29);function CreateMessageStep(){var t=Object(h.a)(),n=Object(g.useSelect)((function(e){return e(O.m).getAccountID()})),a=Object(g.useSelect)((function(e){return e(O.m).getServiceURL({path:"/".concat(n,"/privacymessaging/ad_blocking")})})),i=Object(g.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),_=Object(u.a)(i,{notification:"ad_blocking_recovery_setup_success"}),E=Object(g.useSelect)((function(e){return e(O.m).isDoingSaveSettings()||e(p.a).isNavigatingTo(_)})),k=Object(g.useSelect)((function(e){return!!e(v.b).getValue(O.c)})),S=Object(g.useSelect)((function(e){return e(O.m).getErrorForAction("saveSettings")})),j=Object(g.useDispatch)(O.m),T=j.saveSettings,A=j.setAdBlockingRecoverySetupStatus,N=Object(g.useDispatch)(p.a).navigateTo,C=Object(g.useDispatch)(v.b).setValue,w=Object(s.useCallback)(o()(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(k){e.next=5;break}return e.next=3,Object(y.J)("".concat(t,"_adsense-abr"),"create_message","primary_cta");case 3:return C(O.c,!0),e.abrupt("return");case 5:return A(O.k.SETUP_CONFIRMED),e.next=8,T();case 8:if(n=e.sent,n.error){e.next=14;break}return e.next=13,Object(y.J)("".concat(t,"_adsense-abr"),"confirm_message_ready");case 13:N(_);case 14:case"end":return e.stop()}}),e)}))),[k,N,T,A,C,_,t]),I=Object(s.useCallback)(o()(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(O.k.SETUP_CONFIRMED),e.next=3,T();case 3:if(n=e.sent,n.error){e.next=9;break}return e.next=8,Object(y.J)("".concat(t,"_adsense-abr"),"confirm_message_ready_secondary_cta");case 8:N(_);case 9:case"end":return e.stop()}}),e)}))),[A,T,N,_,t]);Object(c.a)((function(){Object(y.J)("".concat(t,"_adsense-abr"),"setup_create_message")})),Object(s.useEffect)((function(){k&&Object(y.J)("".concat(t,"_adsense-abr"),"setup_final_step")}),[k,t]);return e.createElement(s.Fragment,null,e.createElement("p",null,Object(l.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(l.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")),S&&e.createElement(m.a,{error:S}),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-actions"},k?e.createElement(s.Fragment,null,e.createElement(d.SpinnerButton,{onClick:w,isSaving:E,disabled:E},Object(l.__)("My message is ready","google-site-kit")),e.createElement(f.a,{onClick:function(){Object(y.J)("".concat(t,"_adsense-abr"),"create_message","secondary_cta")},href:a,external:!0,hideExternalIndicator:!0},Object(l.__)("Create message","google-site-kit"))):e.createElement(s.Fragment,null,e.createElement(d.Button,{href:a,target:"_blank",onClick:w},Object(l.__)("Create message","google-site-kit")),e.createElement(f.a,{onClick:I,disabled:E},Object(l.__)("I published my message","google-site-kit")))),k&&e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-note"},Object(l.__)("Ad blocking recovery only works if you’ve created and published your message in AdSense","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceTagsStep}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(91),u=n(0),d=n(38),g=n(2),m=n(10),f=n(3),p=n(116),b=n(20),v=n(14),h=n(18),y=n(8),O=n(29);function PlaceTagsStep(t){var n=t.setActiveStep,a=Object(h.a)(),i=Object(f.useSelect)((function(e){return e(O.m).getUseAdBlockingRecoveryErrorSnippet()})),c=Object(f.useSelect)((function(e){return e(O.m).isDoingSaveSettings()||e(O.m).isFetchingSyncAdBlockingRecoveryTags()})),s=Object(f.useSelect)((function(e){return e(O.m).getErrorForAction("syncAdBlockingRecoveryTags")||e(O.m).getErrorForAction("saveSettings")})),_=Object(f.useSelect)((function(e){return e(v.c).getDocumentationLinkURL("ad-blocking-recovery")})),E=Object(f.useDispatch)(O.m),k=E.saveSettings,S=E.setAdBlockingRecoverySetupStatus,j=E.setUseAdBlockingRecoverySnippet,T=E.setUseAdBlockingRecoveryErrorSnippet,A=E.syncAdBlockingRecoveryTags,N=Object(u.useCallback)((function(e){var t=!!e.target.checked;T(t),Object(y.J)("".concat(a,"_adsense-abr"),t?"check_box":"uncheck_box")}),[T,a]),C=Object(u.useCallback)(o()(r.a.mark((function e(){var t,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:if(t=e.sent,!t.error){e.next=6;break}return e.abrupt("return");case 6:return S(O.k.TAG_PLACED),j(!0),e.next=10,k();case 10:if(i=e.sent,!i.error){e.next=14;break}return e.abrupt("return");case 14:return e.next=16,Object(y.J)("".concat(a,"_adsense-abr"),"setup_enable_tag");case 16:n(O.l.CREATE_MESSAGE);case 17:case"end":return e.stop()}}),e)}))),[k,n,S,j,A,a]);return Object(l.a)((function(){i||T(!0),Object(y.J)("".concat(a,"_adsense-abr"),"setup_place_tag")})),e.createElement(u.Fragment,null,e.createElement("p",null,Object(g.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense.","google-site-kit")),e.createElement(m.Checkbox,{checked:i,id:"ad-blocking-recovery-error-protection-tag-checkbox",name:"ad-blocking-recovery-error-protection-tag-checkbox",value:"1",onChange:N,alignLeft:!0},Object(g.__)("Enable error protection code (optional)","google-site-kit")),e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__error-protection-tag-info"},Object(d.a)(Object(g.__)("If a site visitor’s ad blocker browser extension blocks the message you create in AdSense, a default, non-customizable ad blocking recovery message will display instead. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:_,external:!0})})),s&&e.createElement(p.a,{error:s}),e.createElement(m.SpinnerButton,{onClick:C,isSaving:c,disabled:c},Object(g.__)("Enable message","google-site-kit")))}PlaceTagsStep.propTypes={setActiveStep:s.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentAutoUpdate}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(654);function ContentAutoUpdate(t){var n=t.hasBeenInView,a=Object(c.useState)({stage:0,mode:"static"}),i=r()(a,2),o=i[0],l=o.stage,u=o.mode,d=i[1];return Object(c.useEffect)((function(){if(n){var e=setTimeout((function(){d({stage:0,mode:"leave"})}),7e3);return function(){clearTimeout(e)}}}),[n]),e.createElement(s.a,{stage:l,mode:u,onAnimationEnd:function(){"enter"===u?d({stage:l,mode:"leave"}):"leave"===u&&d({stage:2===l?0:l+1,mode:"enter"})}})}ContentAutoUpdate.propTypes={hasBeenInView:o.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=n(0),m=n(17),f=n(655),p=n(498),b=Object(g.forwardRef)((function(t,n){var a=t.stage,i=t.mode,c=t.onAnimationEnd,s=[{title:Object(d.__)("Earn money from your site","google-site-kit"),description:Object(d.__)("Focus on writing good content and let AdSense help you make it profitable","google-site-kit")},{title:Object(d.__)("Save time with automated ads","google-site-kit"),description:Object(d.__)("Auto ads automatically place and optimize your ads for you so you don't have to spend time doing it yourself","google-site-kit")},{title:Object(d.__)("You’re in control","google-site-kit"),description:Object(d.__)("Block ads you don't like, customize where ads appear, and choose which types fit your site best","google-site-kit")}],l={smSize:4,mdSize:4,lgSize:6};return e.createElement(g.Fragment,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(p.a,{width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("AdSense","Service name","google-site-kit"))))),e.createElement(m.k,{ref:n},e.createElement(m.a,r()({},l,{smOrder:2,mdOrder:1,className:"googlesitekit-setup-module--adsense__stage-captions"}),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-caption-container"},s.map((function(t,n){var r=t.title,c=t.description;return e.createElement("li",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-caption",o()({},"googlesitekit-setup-module--adsense__stage-caption--current--".concat(i),a===n))},e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-caption-indicator"}),e.createElement("div",null,e.createElement("h4",null,r),e.createElement("p",null,c)))}))),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-indicator"},s.map((function(t,n){return e.createElement("li",{key:n,className:u()(o()({},"googlesitekit-setup-module--adsense__stage-indicator--current--".concat(i),a===n))})})))),e.createElement(m.a,r()({},l,{smOrder:1,mdOrder:2,className:"googlesitekit-setup-module--adsense__stage-images"}),e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-image-container"},s.map((function(t,n){return e.createElement("div",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-image",o()({},"googlesitekit-setup-module--adsense__stage-image--current--".concat(i),a===n)),onAnimationEnd:a===n?c:void 0},e.createElement(f.a,{stage:n}))}))))))}));b.propTypes={stage:s.a.oneOf([0,1,2]),mode:s.a.oneOf(["static","enter","leave"]),onAnimationEnd:s.a.func},t.a=b}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentSVG}));var a=n(1),r=n(0),i=n(2),o=n(40),c=n(139),s=Object(r.lazy)((function(){return n.e(32).then(n.bind(null,1158))})),l=Object(r.lazy)((function(){return n.e(33).then(n.bind(null,1159))})),u=Object(r.lazy)((function(){return n.e(34).then(n.bind(null,1160))}));function LazyContentSVG(t){var n=t.stage,a={0:e.createElement(s,null),1:e.createElement(l,null),2:e.createElement(u,null)};return a[n]?e.createElement(c.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},a[n]):null}function ContentSVG(t){var n=t.stage;return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"100%"})},e.createElement(LazyContentSVG,{stage:n}))}ContentSVG.propTypes={stage:a.PropTypes.oneOf([0,1,2]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return NeedsAttention}));var r=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function NeedsAttention(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","needs_attention"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site isn’t ready to show ads yet","google-site-kit"),m=Object(i.__)("You need to fix some things with this site before we can connect Site Kit to your AdSense account","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return GettingReady}));var r=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function GettingReady(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","getting_ready"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site is getting ready","google-site-kit"),m=Object(i.__)("This usually takes a few days, but in some cases can take a few weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return RequiresReview}));var r=n(0),i=n(2),o=n(3),c=n(63),s=n(8),l=n(29),u=n(350);function RequiresReview(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","requires_review"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site requires review","google-site-kit"),m=Object(i.__)("To start serving ads, your site needs to be approved first. Go to AdSense to request the review.","google-site-kit"),f={label:Object(i.__)("Request review in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return Ready}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(0),d=n(2),g=n(3),m=n(63),f=n(8),p=n(29),b=n(24),v=n(350);function Ready(t){var n=t.site,r=t.finishSetup,o=Object(u.useState)(!1),s=l()(o,2),h=s[0],y=s[1],O=Object(u.useContext)(m.b),_=Object(g.useSelect)((function(e){return e(p.m).getExistingTag()})),E=Object(g.useSelect)((function(e){return e(p.m).getServiceAccountSiteAdsPreviewURL()})),k=Object(g.useSelect)((function(e){return e(p.m).isDoingSubmitChanges()})),S=Object(g.useDispatch)(p.m),j=S.completeSiteSetup,T=S.completeAccountSetup,A=Object(g.useDispatch)(b.b).setValue,N=Object(u.useCallback)((function(t){t.preventDefault(),Object(f.J)("".concat(O,"_adsense"),"enable_auto_ads"),e.open(E,"_blank")}),[E,O]),C=Object(u.useCallback)((function(e){e.preventDefault(),Object(f.J)("".concat(O,"_adsense"),"disable_auto_ads"),y(!0)}),[O]),w=Object(u.useCallback)(c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!k){e.next=2;break}return e.abrupt("return");case 2:return A(p.i,!0),e.next=5,j();case 5:return t=e.sent,e.next=8,T();case 8:n=e.sent,A(p.i,!1),t&&n&&"function"==typeof r&&r();case 11:case"end":return e.stop()}}),e)}))),[k,A,j,T,r]),I={};return n.autoAdsEnabled||h?(I.heading=_?Object(d.__)("Your AdSense account is ready to connect to Site Kit","google-site-kit"):Object(d.__)("Your site is ready to use AdSense","google-site-kit"),I.description=_?Object(d.__)("Connect your AdSense account to see stats on your overall earnings, page CTR, and top earning pages","google-site-kit"):Object(d.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads","google-site-kit"),I.primaryButton={label:Object(d.__)("Complete setup","google-site-kit"),onClick:w}):(I.heading=Object(d.__)("Enable auto ads for your site","google-site-kit"),I.description=Object(d.__)("To start serving ads via Site Kit, you need to activate auto ads first. Go to AdSense and enable auto ads for your site.","google-site-kit"),I.primaryButton={label:Object(d.__)("Enable auto ads","google-site-kit"),href:E,onClick:N},_&&(I.description=Object(d.__)("Site Kit recommends enabling auto ads. If your existing AdSense setup relies on individual ad units, you can proceed without enabling auto ads.","google-site-kit"),I.secondaryButton={label:Object(d.__)("Proceed without enabling auto ads","google-site-kit"),onClick:C})),a.createElement(v.a,I)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(11),r=n.n(a),i=n(8),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.x)(t),"A valid startDate is required."),r()(Object(i.x)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.x)(a)&&Object(i.x)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GhostCardRedSVG}));var a=n(0),r=n(2),i=n(40),o=n(139),c=Object(a.lazy)((function(){return n.e(36).then(n.bind(null,1162))}));function GhostCardRedSVG(){return e.createElement(a.Suspense,{fallback:e.createElement(i.a,{width:"100%",height:"90px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return l}));var a=n(2),r=n(388),i=n(132),o=function(e){var t=Object(a.__)("Your site isn’t ready to show ads yet","google-site-kit");switch(e){case i.a:t=Object(a.__)("Your account has been approved","google-site-kit");break;case i.k:t=Object(a.__)("Your site is ready for ads","google-site-kit");break;case i.j:case i.e:t=Object(a.__)("We’re getting your site ready for ads. This usually takes less than a day, but it can sometimes take a bit longer","google-site-kit");break;case i.i:case i.d:case i.g:case i.c:case i.b:t=Object(a.__)("You need to fix some issues before your account is approved. Go to AdSense to find out how to fix it","google-site-kit")}return t},c=function(e){var t="";switch(e){case i.n:case i.r:t=Object(a.__)("You need to fix some things before your site is ready.","google-site-kit");break;case i.m:t=Object(a.__)("Your site is getting ready.","google-site-kit");break;case i.p:t=Object(a.__)("Your site is ready for ads.","google-site-kit");break;case i.q:t=Object(a.__)("Your site is ready, with auto-ads disabled.","google-site-kit")}return t},s=function(e,t,n){var r=Object(a.__)("The AdSense code has not been placed on your site","google-site-kit");return e?r=Object(a.__)("The AdSense code has been placed on your site","google-site-kit"):t&&t===n&&(r=Object(a.__)("The AdSense code has been placed by another plugin or theme","google-site-kit")),r},l=function(e){var t=Object(a.__)("Ads are currently displayed for all visitors","google-site-kit");return e.includes(r.b)&&e.includes(r.a)?t=Object(a.__)("All logged-in users and users who can write posts","google-site-kit"):e.includes(r.b)?t=r.d[r.b]:e.includes(r.a)&&(t=r.d[r.a]),t}},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryToggle}));var a=n(91),r=n(38),i=n(2),o=n(10),c=n(3),s=n(20),l=n(159),u=n(28),d=n(14),g=n(18),m=n(8),f=n(29),p=n(244);function AdBlockingRecoveryToggle(){var t,n=Object(g.a)(),b=Object(c.useSelect)((function(e){return e(f.m).getUseAdBlockingRecoverySnippet()})),v=Object(c.useSelect)((function(e){return e(f.m).getUseAdBlockingRecoveryErrorSnippet()})),h=Object(c.useSelect)((function(e){return e(f.m).getAdBlockingRecoverySetupStatus()})),y=Object(c.useSelect)((function(e){return e(f.m).getExistingAdBlockingRecoveryTag()})),O=Object(c.useSelect)((function(e){return e(f.m).getAccountID()})),_=Object(c.useSelect)((function(e){return e(f.m).getServiceURL({path:"/".concat(O,"/privacymessaging/ad_blocking")})})),E=Object(c.useSelect)((function(e){return e(d.c).getDocumentationLinkURL("ad-blocking-recovery")})),k=Object(c.useSelect)((function(e){return e(u.a).getValue(f.a,"adBlockingRecoveryToggle")})),S=Object(c.useSelect)((function(e){return e(u.a).getValue(f.a,"adBlockingRecoveryErrorToggle")})),j=Object(c.useDispatch)(u.a).setValues,T=Object(c.useDispatch)(f.m),A=T.setUseAdBlockingRecoverySnippet,N=T.setUseAdBlockingRecoveryErrorSnippet;return Object(a.a)((function(){var e={adBlockingRecoveryToggle:b,adBlockingRecoveryErrorToggle:v};j(f.a,e)})),y&&y===O?t=Object(i.__)("You’ve already enabled an ad blocking recovery message on your site. We recommend using Site Kit to manage this to get the most out of AdSense.","google-site-kit"):y&&(t=Object(i.sprintf)( /* translators: %s: account ID */ Object(i.__)("Site Kit detected Ad Blocking Recovery code for a different account %s on your site. For a better ad blocking recovery experience, you should remove Ad Blocking Recovery code that’s not linked to this AdSense account.","google-site-kit"),Object(p.i)(y))),h?e.createElement("fieldset",{className:"googlesitekit-settings-module__ad-blocking-recovery-toggles"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(i.__)("Ad blocking recovery","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(o.Switch,{label:Object(i.__)("Enable ad blocking recovery message","google-site-kit"),checked:k,onClick:function(){var e=!k;j(f.a,{adBlockingRecoveryToggle:e}),A(e),Object(m.J)("".concat(n,"_adsense-abr"),e?"enable_tag":"disable_tag","abr_tag")},hideLabel:!1}),e.createElement("p",null,Object(r.a)(Object(i.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense. <a>Configure your message</a>","google-site-kit"),{a:e.createElement(s.a,{href:_,external:!0})}))),(k||b)&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(o.Switch,{label:Object(i.__)("Place error protection code","google-site-kit"),checked:S,onClick:function(){var e=!S;j(f.a,{adBlockingRecoveryErrorToggle:e}),N(e),Object(m.J)("".concat(n,"_adsense-abr"),e?"enable_tag":"disable_tag","error_protection_tag")},hideLabel:!1}),e.createElement("p",null,Object(r.a)(Object(i.__)("If a site visitor’s ad blocker browser extension blocks the message you create in AdSense, a default, non-customizable ad blocking recovery message will display instead. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{href:E,external:!0})})))),y&&e.createElement(l.a,{notice:t})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var a=n(2),r=n(0),i=n(38),o=n(3),c=n(10),s=n(29),l=n(363),u=n(152),d=n(577),g=n(20),m=n(14),f=n(598),p=n(719);function SettingsForm(){var t=Object(o.useSelect)((function(e){return e(m.c).isWebStoriesActive()})),n=Object(o.useSelect)((function(e){return e(s.m).getClientID()})),b=Object(o.useSelect)((function(e){return e(s.m).getExistingTag()})),v=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getExistingTag")}));Object(o.useSelect)((function(e){return e(s.m).getExistingAdBlockingRecoveryTag()}));var h,y,O=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getExistingAdBlockingRecoveryTag")}));if(!v||!O)return e.createElement(c.ProgressBar,null);b&&b===n?y=h=Object(a.__)("You’ve already got an AdSense code on your site for this account, we recommend you use Site Kit to place code to get the most out of AdSense","google-site-kit"):b?(h=Object(a.sprintf)( /* translators: %s: account ID */ Object(a.__)("Site Kit detected AdSense code for a different account %s on your site. For a better ads experience, you should remove AdSense code that’s not linked to this AdSense account.","google-site-kit"),Object(l.a)(b)),y=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code","google-site-kit")):y=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code","google-site-kit");return e.createElement("div",{className:"googlesitekit-adsense-settings-fields"},e.createElement(u.d,null),e.createElement(u.e,{checkedMessage:h,uncheckedMessage:y}),t&&e.createElement(r.Fragment,null,e.createElement(d.a,null),e.createElement("p",null,Object(i.a)(Object(a.__)("This ad unit will be used for your Web Stories. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:e.createElement(g.a,{href:"https://support.google.com/adsense/answer/10175505#create-an-ad-unit-for-web-stories",external:!0,"aria-label":Object(a.__)("Learn more about Ad Sense Web Stories.","google-site-kit")},Object(a.__)("Learn more","google-site-kit"))}))),e.createElement(u.c,null),e.createElement(r.Fragment,null,e.createElement(f.a,null),e.createElement(p.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAdSenseCTATileWidget}));var a=n(1),r=n.n(a),i=n(515),o=n(118),c={moduleSlug:"adsense"};function ConnectAdSenseCTATileWidget(t){var n=t.Widget,a=t.widgetSlug;return Object(o.a)(a,i.a,c),e.createElement(n,null,e.createElement(i.a,c))}ConnectAdSenseCTATileWidget.propTypes={Widget:r.a.elementType.isRequired,widgetSlug:r.a.string.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var a=n(2),r=n(6),i=n(509),o=n(3);t.a=function Header(){var t=Object(o.useSelect)((function(e){return e(r.a).getDateRangeNumberOfDays()}));return e.createElement(i.a,{title:Object(a.sprintf)( /* translators: %s: number of days */ Object(a._n)("Performance over the last %s day","Performance over the last %s days",t,"google-site-kit"),t)})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(2),r=n(29),i=n(6),o=n(979),c=n(134),s=n(3),l=n(35);t.a=function Footer(){var t=Object(l.a)(),n=Object(s.useSelect)((function(e){return e(i.a).getDateRangeDates({offsetDays:r.j})})),u=Object(s.useSelect)((function(e){return t?null:e(r.m).getServiceReportURL(Object(o.a)(n))}));return e.createElement(c.a,{href:u,name:Object(a._x)("AdSense","Service name","google-site-kit"),external:!0})}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var a=n(3),r=n(10),i=n(29),o=n(720);function SettingsEdit(){var t;return t=Object(a.useSelect)((function(e){return e(i.m).isDoingSubmitChanges()}))?e.createElement(r.ProgressBar,null):e.createElement(o.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},t)}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsSetupIncomplete}));var a=n(0),r=n(38),i=n(2),o=n(3),c=n(20),s=n(19),l=n(29),u=n(132),d=n(546);function SettingsSetupIncomplete(){var t,n,g=Object(o.useSelect)((function(e){return e(l.m).getAccountStatus()})),m=Object(u.s)(g),f=Object(o.useSelect)((function(e){return e(l.m).getAdminReauthURL()})),p=Object(o.useSelect)((function(e){var t;return null===(t=e(s.a))||void 0===t?void 0:t.getCheckRequirementsError("adsense")}));return m?( /* translators: %s: link with next step */ t=Object(i.__)("Site Kit has placed AdSense code on your site: %s","google-site-kit"),n=Object(i.__)("check module page","google-site-kit")):( /* translators: %s: link with next step */ t=Object(i.__)("Setup incomplete: %s","google-site-kit"),n=Object(i.__)("continue module setup","google-site-kit")),e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__fields-group googlesitekit-settings-module__fields-group--no-border"},e.createElement(d.a,{slug:"adsense"})),e.createElement("div",{className:"googlesitekit-settings-module__fields-group-title"},Object(r.a)(Object(i.sprintf)(t,"<a>".concat(n,"</a>")),{a:e.createElement(c.a,{className:"googlesitekit-settings-module__edit-button",href:f,disabled:!!p})})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var a=n(38),r=n(0),i=n(2),o=n(3),c=n(187),s=n(10),l=n(20),u=n(14),d=n(29),g=n(152),m=n(712),f=n(598),p=n(105);function SettingsView(){var t=Object(o.useSelect)((function(e){return e(d.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(d.m).getServiceAccountManageSitesURL()})),b=Object(o.useSelect)((function(e){return e(u.c).isWebStoriesActive()})),v=Object(o.useSelect)((function(e){return e(d.m).getWebStoriesAdUnit()})),h=Object(o.useSelect)((function(e){return e(d.m).getAccountStatus()})),y=Object(o.useSelect)((function(e){return e(d.m).getUseAdBlockingRecoverySnippet()})),O=Object(o.useSelect)((function(e){return e(d.m).getUseAdBlockingRecoveryErrorSnippet()})),_=Object(o.useSelect)((function(e){return e(d.m).getSiteStatus()})),E=Object(o.useSelect)((function(e){return e(d.m).getUseSnippet()})),k=Object(o.useSelect)((function(e){return e(d.m).getAdBlockingRecoverySetupStatus()})),S=Object(o.useSelect)((function(e){return e(d.m).getExistingTag()})),j=Object(o.useSelect)((function(e){return e(d.m).getClientID()})),T=Object(o.useSelect)((function(e){return e(d.m).getAutoAdsDisabled()||[]})),A=Object(o.useSelect)((function(e){return e(d.m).getServiceURL({path:"/".concat(t,"/privacymessaging/ad_blocking")})})),N=Object(m.a)(h),C=Object(m.c)(_),w=Object(a.a)(Object(i.__)("View <VisuallyHidden>site </VisuallyHidden>in AdSense","google-site-kit"),{VisuallyHidden:e.createElement(p.a,null)}),I=Object(m.d)(E,S,j),M=Object(m.b)(T),R=Object(o.useSelect)((function(e){return void 0===e(d.m).getSettings()||void 0===e(d.m).hasExistingAdBlockingRecoveryTag()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement(g.d,null),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Publisher ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(c.b,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Account Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},N)),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Site Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},C+" ",e.createElement(l.a,{href:n,className:"googlesitekit-settings-module__cta-button",external:!0,disabled:void 0===n,hideExternalIndicator:void 0===n},w)))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("AdSense Code","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},I))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Excluded from ads","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},M))),b&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Web Stories Ad Unit","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!v&&e.createElement("span",null,Object(i.__)("None","google-site-kit")),v&&e.createElement(c.b,{value:v})))),(null==k?void 0:k.length)>0&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},R&&e.createElement(s.ProgressBar,{small:!0,height:90}),!R&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Ad blocking recovery","google-site-kit")),!y&&e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},Object(i.__)("Ad blocking recovery message is not placed","google-site-kit")),y&&e.createElement(r.Fragment,null,e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},O?Object(i.__)("Ad blocking recovery message enabled with error protection code","google-site-kit"):Object(i.__)("Ad blocking recovery message enabled without error protection code","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},Object(a.a)(Object(i.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense. <a>Configure your message</a>","google-site-kit"),{a:e.createElement(l.a,{href:A,external:!0})}))))),!(null==k?void 0:k.length)&&e.createElement(r.Fragment,null,R&&e.createElement(s.ProgressBar,{small:!0,height:135}),!R&&e.createElement(f.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(38),d=n(2),g=n(3),m=n(978),f=n(110),p=n(20),b=n(195),v=n(197),h=n(196),y=n(32),O=n(14),_=n(6),E=n(25),k=n(390),S=n(18),j=n(35),T=n(17),A=n(8),N=n(54),C=n(29),w=n(244),I=n(205);function AdBlockingRecoverySetupCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(E.e)(),c=Object(j.a)(),s=Object(k.a)(),N=Object(S.a)(),M=Object(f.b)(C.b),R=Object(f.c)(C.b).isTooltipVisible,D=Object(g.useSelect)((function(e){return e(_.a).isPromptDismissed(C.b)})),x=Object(g.useSelect)((function(e){return e(_.a).getPromptDismissCount(C.b)})),L=Object(g.useSelect)((function(e){return c?null:e(C.m).getAdBlockingRecoverySetupStatus()})),P=Object(g.useSelect)((function(e){return c?null:e(C.m).getAccountStatus()})),G=Object(g.useSelect)((function(e){return c?null:e(C.m).getSetupCompletedTimestamp()})),Z=Object(g.useSelect)((function(e){return c?null:e(C.m).getSiteStatus()})),B=Object(g.useSelect)((function(e){return e(C.m).hasExistingAdBlockingRecoveryTag()})),U=Object(g.useSelect)((function(e){return e(O.c).getGoogleSupportURL({path:"/adsense/answer/11576589"})})),F=Object(g.useSelect)((function(e){return e(O.c).getAdminURL("googlesitekit-ad-blocking-recovery")})),z=Object(g.useSelect)((function(e){return e(_.a).getReferenceDate()})),W=Object(g.useDispatch)(_.a).dismissPrompt,V=Object(g.useDispatch)(y.a).navigateTo,H=Object(A.H)(z).getTime()-1e3*G>=3*A.g*1e3,q=!c&&!1===B&&!1===D&&""===L&&P===w.a&&Z===w.c&&(!G||H);Object(l.useEffect)((function(){s&&q&&Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"view_notification")}),[s,q,N]),Object(l.useEffect)((function(){R&&Object(A.J)("".concat(N,"_adsense-abr"),"view_tooltip")}),[R,N]);var K=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"confirm_notification");case 2:return e.abrupt("return",V(F));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"dismiss_notification"),M(),!(x<2)){e.next=8;break}return t=2*A.g,e.next=6,W(C.b,{expiresInSeconds:t});case 6:e.next=10;break;case 8:return e.next=10,W(C.b);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return R?e.createElement(l.Fragment,null,e.createElement(a,null),e.createElement(f.a,{title:Object(d.__)("You can always set up ad blocking recovery from Settings later","google-site-kit"),dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:function(){Object(A.J)("".concat(N,"_adsense-abr"),"dismiss_tooltip")},tooltipStateKey:C.b})):q?e.createElement(n,null,s&&q&&e.createElement(I.a,{triggerID:"view_abr_setup_cta",ttl:A.a}),e.createElement(b.a,null,e.createElement(T.a,{smSize:8,mdSize:4,lgSize:7},e.createElement(h.a,{title:Object(d.__)("Recover revenue lost to ad blockers","google-site-kit")}),e.createElement("div",{className:"googlesitekit-widget--adBlockingRecovery__content"},e.createElement("p",null,Object(u.a)(Object(d.__)("Display a message to give site visitors with an ad blocker the option to allow ads on your site. <a>Learn more</a>","google-site-kit"),{a:e.createElement(p.a,{onClick:function(){Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"click_learn_more_link")},href:U,external:!0})})),e.createElement("p",null,Object(d.__)("Publishers see up to 1 in 5 users choose to allow ads once they encounter an ad blocking recovery message*","google-site-kit"))),e.createElement(v.a,{ctaLink:"#",ctaLabel:Object(d.__)("Set up now","google-site-kit"),ctaCallback:K,dismissCallback:Y,dismissLabel:x<2?Object(d.__)("Maybe later","google-site-kit"):Object(d.__)("Don’t show again","google-site-kit")})),e.createElement(T.a,{className:"googlesitekit-widget--adBlockingRecovery__graphics",smSize:8,mdSize:4,lgSize:5},i!==E.b&&e.createElement(m.a,{style:{maxHeight:"172px"}}),e.createElement("p",null,Object(d.__)("*Average for publishers showing non-dismissible ad blocking recovery messages placed at the center of the page on desktop","google-site-kit"))))):e.createElement(a,null)}AdBlockingRecoverySetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType.isRequired},t.a=Object(N.a)({moduleName:"adsense"})(AdBlockingRecoverySetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(3),o=n(219),c=n(54),s=n(6);function AdBlockerWarningWidget(t){var n=t.Widget,a=t.WidgetNull;return Object(i.useSelect)((function(e){return e(s.a).isAdBlockerActive()}))?e.createElement(n,{noPadding:!0},e.createElement(o.a,{moduleSlug:"adsense"})):e.createElement(a,null)}AdBlockerWarningWidget.propTypes={Widget:r.a.elementType.isRequired},t.a=Object(c.a)({moduleName:"adsense"})(AdBlockerWarningWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(1),u=n.n(l),d=n(3),g=n(578),m=n(570),f=n(6),p=n(19),b=n(18),v=n(8),h=n(110);function AdSenseConnectCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(d.useDispatch)(f.a).dismissItem,l=Object(h.c)(m.b).isTooltipVisible,u=Object(b.a)(),y=Object(d.useSelect)((function(e){return e(p.a).isModuleConnected("adsense")})),O=Object(d.useSelect)((function(e){return e(f.a).isItemDismissed(m.a)})),_=Object(h.b)(m.b),E=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("".concat(u,"_adsense-cta-widget"),"dismiss_tooltip");case 2:case"end":return e.stop()}}),e)}))),[u]),k=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _(),e.next=3,i(m.a);case 3:case"end":return e.stop()}}),e)}))),[i,_]);return l?e.createElement(c.Fragment,null,e.createElement(a,null),e.createElement(h.a,{title:Object(s.__)("You can always connect AdSense from here later","google-site-kit"),content:Object(s.__)("The Monetization section will be added back to your dashboard if you connect AdSense in Settings later","google-site-kit"),dismissLabel:Object(s.__)("Got it","google-site-kit"),onDismiss:E,tooltipStateKey:m.b})):!1===y&&!1===O?e.createElement(n,{noPadding:!0},e.createElement(g.a,{onDismissModule:k})):e.createElement(a,null)}AdSenseConnectCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=AdSenseConnectCTAWidget}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(222),s=n(371),l=n(2),u=n(0),d=n(3),g=n(570),m=n(6),f=n(9),p=n(29),b=n(660),v=n(8),h=n(18),y=n(35),O=n(54),_=n(134),E=n(20),k=n(403),S=n(489),j=n(490),T=n(138),A=n(152),N=n(219);function DashboardTopEarningPagesWidgetGA4(t){var n=t.WidgetNull,a=t.WidgetReportError,i=t.Widget,o=Object(y.a)(),s=Object(d.useInViewSelect)((function(e){return e(f.p).isGatheringData()})),O=Object(d.useSelect)((function(e){return e(m.a).getDateRangeDates({offsetDays:f.f})})),C=O.startDate,w=O.endDate,I=Object(d.useSelect)((function(e){return e(p.m).getAccountID()})),M={startDate:C,endDate:w,dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(I,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:5},R=Object(d.useInViewSelect)((function(e){return e(f.p).getReport(M)}),[M]),D=Object(d.useSelect)((function(e){return e(f.p).getErrorForSelector("getReport",[M])})),x=Object(d.useInViewSelect)((function(e){return D?void 0:e(f.p).getPageTitles(R,M)}),[R,M]),L=Object(d.useSelect)((function(e){return!e(f.p).hasFinishedResolution("getReport",[M])||!D&&void 0===x})),P=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed(g.c)})),G=Object(d.useSelect)((function(e){return o?null:e(f.p).getServiceReportURL("content-publisher-overview",Object(b.a)({startDate:C,endDate:w}))})),Z=Object(d.useSelect)((function(e){return e(f.p).getAdSenseLinked()})),B=Object(d.useSelect)((function(e){return e(m.a).isAdBlockerActive()})),U=Object(u.useRef)(),F=Object(u.useState)(!1),z=r()(F,2),W=z[0],V=z[1],H=function(e){U.current=e,e&&!W&&V(!0)},q=Object(h.a)(),K=Object(c.a)(U,{threshold:.25}),Y=Object(u.useState)(!1),J=r()(Y,2),$=J[0],X=J[1],Q=!!(null==K?void 0:K.intersectionRatio);Object(u.useEffect)((function(){Q&&!$&&(Z&&Object(v.J)("".concat(q,"_top-earning-pages-widget"),"view_widget"),Z||Object(v.J)("".concat(q,"_top-earning-pages-widget"),"view_notification"),X(!0))}),[Q,q,Z,$]);if(P)return e.createElement(n,null);if(!Z&&o)return e.createElement(n,null);if(B)return e.createElement(i,{Footer:Footer},e.createElement(N.a,{moduleSlug:"adsense"}));if(L||void 0===s)return e.createElement(i,{noPadding:!0,Footer:Footer},e.createElement(k.a,{rows:5,padding:!0}));if(!Z&&!o)return e.createElement(i,{Footer:Footer,ref:H},e.createElement(A.b,{onClick:function(){Object(v.J)("".concat(q,"_top-earning-pages-widget"),"click_learn_more_link")}}));if(D)return e.createElement(i,{Footer:Footer},e.createElement(a,{moduleSlug:"analytics-4",error:D}));function Footer(){return e.createElement(_.a,{className:"googlesitekit-data-block__source",name:Object(l._x)("Analytics","Service name","google-site-kit"),href:G,external:!0})}var ee=[{title:Object(l.__)("Top Earning Pages","google-site-kit"),tooltip:Object(l.__)("Top Earning Pages","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensionValues,1)[0].value,i=x[a],c=Object(d.useSelect)((function(e){return o?null:e(f.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:{startDate:C,endDate:w}})}));return o?e.createElement("span",null,i):e.createElement(E.a,{href:c,title:i,external:!0,hideExternalIndicator:!0},i)}},{title:Object(l.__)("Earnings","google-site-kit"),tooltip:Object(l.__)("Earnings","google-site-kit"),field:"metricValues.0.value",Component:function Component(t){var n,a=t.fieldValue;return e.createElement("span",null,Object(v.C)(a,{style:"currency",currency:null==R||null===(n=R.metadata)||void 0===n?void 0:n.currencyCode}))}}];return e.createElement(i,{noPadding:!0,Footer:Footer,ref:H},e.createElement(j.a,null,e.createElement(S.a,{rows:(null==R?void 0:R.rows)||[],columns:ee,zeroState:T.h,gatheringData:s})))}DashboardTopEarningPagesWidgetGA4.propTypes={Widget:o.a.elementType.isRequired,WidgetNull:o.a.elementType.isRequired,WidgetReportError:o.a.elementType.isRequired},t.a=Object(s.a)(Object(O.a)({moduleName:"adsense"}),Object(O.a)({moduleName:"analytics-4"}))(DashboardTopEarningPagesWidgetGA4)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(7),r=n.n(a),i=n(15),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(29),g=n(6),m=n(244),f=n(40),p=n(54),b=n(776),v=n(777),h=n(980),y=n(981),O=n(3),_=n(983),E=n(35);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ModuleOverviewWidget(t){var n=t.Widget,a=t.WidgetReportError,r=Object(E.a)(),i=Object(l.useState)(0),c=o()(i,2),s=c[0],u=c[1],p=Object(O.useSelect)((function(e){return r?null:e(d.m).getAccountStatus()})),k=Object(O.useSelect)((function(e){return r?null:e(d.m).getSiteStatus()})),j=m.h.includes(p)||k===m.b,T=Object(O.useSelect)((function(e){return e(g.a).getDateRangeDates({compare:!0,offsetDays:d.j})})),A=T.startDate,N=T.endDate,C=T.compareStartDate,w=T.compareEndDate,I={metrics:Object.keys(ModuleOverviewWidget.metrics),startDate:A,endDate:N},M={metrics:Object.keys(ModuleOverviewWidget.metrics),startDate:C,endDate:w},R=S(S({},I),{},{dimensions:["DATE"]}),D=S(S({},M),{},{dimensions:["DATE"]}),x=Object(O.useInViewSelect)((function(e){return e(d.m).getReport(I)}),[I]),L=Object(O.useInViewSelect)((function(e){return e(d.m).getReport(M)}),[M]),P=Object(O.useInViewSelect)((function(e){return e(d.m).getReport(R)}),[R]),G=Object(O.useInViewSelect)((function(e){return e(d.m).getReport(D)}),[D]),Z=Object(O.useSelect)((function(e){return!(e(d.m).hasFinishedResolution("getReport",[I])&&e(d.m).hasFinishedResolution("getReport",[M])&&e(d.m).hasFinishedResolution("getReport",[R])&&e(d.m).hasFinishedResolution("getReport",[D]))})),B=Object(O.useSelect)((function(e){return[e(d.m).getErrorForSelector("getReport",[I])].concat([e(d.m).getErrorForSelector("getReport",[M])],[e(d.m).getErrorForSelector("getReport",[R])],[e(d.m).getErrorForSelector("getReport",[D])])})).filter(Boolean);return Z?e.createElement(n,{Header:b.a,Footer:v.a,noPadding:!0},e.createElement(f.a,{width:"100%",height:"190px",padding:!0}),e.createElement(f.a,{width:"100%",height:"270px",padding:!0})):B.length?e.createElement(n,{Header:b.a,Footer:v.a},e.createElement(a,{moduleSlug:"adsense",error:B})):e.createElement(n,{noPadding:!0,Header:b.a,Footer:v.a},!r&&j&&e.createElement(_.a,null),e.createElement(h.a,{metrics:ModuleOverviewWidget.metrics,currentRangeData:x,previousRangeData:L,selectedStats:s,handleStatsSelection:u}),e.createElement(y.a,{metrics:ModuleOverviewWidget.metrics,currentRangeData:P,previousRangeData:G,selectedStats:s}))}ModuleOverviewWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetReportZero:s.a.elementType.isRequired,WidgetReportError:s.a.elementType.isRequired},ModuleOverviewWidget.metrics={ESTIMATED_EARNINGS:Object(u.__)("Earnings","google-site-kit"),PAGE_VIEWS_RPM:Object(u.__)("Page RPM","google-site-kit"),IMPRESSIONS:Object(u.__)("Impressions","google-site-kit"),PAGE_VIEWS_CTR:Object(u.__)("Page CTR","google-site-kit")},t.a=Object(p.a)({moduleName:"adsense"})(ModuleOverviewWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(371),s=n(3),l=n(6),u=n(29),d=n(107),g=n(20),m=n(138),f=n(8),p=n(54),b=n(131),v=n(35),h=n(152),y=n(9),O=n(721);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopEarningContentWidget(t){var n=t.Widget,a=Object(v.a)(),r=Object(s.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:u.j})})),i=Object(s.useSelect)((function(e){return e(u.m).getAccountID()})),o=E(E({},r),{},{dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(i,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:3}),c=Object(s.useInViewSelect)((function(e){return e(y.p).getReport(o)}),[o]),p=Object(s.useSelect)((function(e){return e(y.p).getErrorForSelector("getReport",[o])})),b=Object(s.useInViewSelect)((function(e){return p?void 0:e(y.p).getPageTitles(c,o)}),[c,o]),O=Object(s.useSelect)((function(e){return!e(y.p).hasFinishedResolution("getReport",[o])||void 0===b}));if(!Object(s.useSelect)((function(e){if(!a||!O)return e(y.p).getAdSenseLinked()}))&&!a)return e.createElement(n,null,e.createElement(h.b,null));var _=(c||{}).rows,k=void 0===_?[]:_,S=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,i=b[n],o=Object(s.useSelect)((function(e){return a?null:e(y.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:r})}));return a?e.createElement(d.f,{content:i}):e.createElement(g.a,{href:o,title:i,external:!0,hideExternalIndicator:!0},i)}},{field:"metricValues.0.value",Component:function Component(t){var n,a=t.fieldValue;return e.createElement("strong",null,Object(f.C)(a,{style:"currency",currency:null==c||null===(n=c.metadata)||void 0===n?void 0:n.currencyCode}))}}];return e.createElement(d.e,{Widget:n,widgetSlug:l.f,loading:O,rows:k,columns:S,ZeroState:m.h,error:p,moduleSlug:"analytics-4"})}TopEarningContentWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(c.a)(Object(p.a)({moduleName:"analytics-4",FallbackComponent:b.a}),Object(p.a)({moduleName:"adsense",FallbackComponent:O.a}))(TopEarningContentWidget)}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M4.844 147.762c2.194 6.077 5.317 11.655 9.223 16.472 15.35 18.759 38.032 20.349 58.833 15.655 21.062-4.784 40.919-14.928 58.106-29.684 9.89-8.504 19.66-19.057 32.756-19.528 4.917-.175 10.002 1.397 13.716 5.105 7.719 7.659 7.582 20.754 13.605 29.83 8.011 12.071 19.533 15.809 32.101 17.202 35.507 3.931 77.801-8.967 102.225-40.351 21.807-28.017 24.424-72.598-1.972-98.14-12.059-11.67-28.596-17.015-44.205-14.291-11.928 2.082-24.039 8.416-36.387 10.178-14.544 2.078-23.534-5.01-35.301-13.267-20.503-14.35-47.608-19.863-70.817-11.538-22.217 7.968-38.207 29.724-59.826 39.282-18.68 8.264-40.748 7.006-56.98 20.466C.716 91.073-4.112 123.22 4.844 147.762z",fill:"#F3F5F7"}),o=a.createElement("path",{d:"M82.612 161.531c9.217 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),c=a.createElement("ellipse",{cx:82.612,cy:153.185,rx:16.69,ry:6.12,fill:"#E1B155"}),s=a.createElement("path",{d:"M82.612 157.08c9.218 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),l=a.createElement("ellipse",{cx:82.612,cy:148.735,rx:16.69,ry:6.12,fill:"#E1B155"}),u=a.createElement("path",{d:"M82.612 152.629c9.217 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),d=a.createElement("ellipse",{cx:82.612,cy:144.284,rx:16.69,ry:6.12,fill:"#E1B155"}),g=a.createElement("path",{d:"M82.612 148.179c9.218 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),m=a.createElement("ellipse",{cx:82.612,cy:139.834,rx:16.69,ry:6.12,fill:"#E1B155"}),f=a.createElement("path",{d:"M82.612 143.727c9.218 0 16.69-2.74 16.69-6.119v-2.226h-33.38v2.226c0 3.379 7.472 6.119 16.69 6.119z",fill:"#C59539"}),p=a.createElement("ellipse",{cx:82.612,cy:135.382,rx:16.69,ry:6.12,fill:"#E1B155"}),b=a.createElement("path",{d:"M82.612 139.277c9.217 0 16.69-2.739 16.69-6.119v-2.226h-33.38v2.226c0 3.38 7.472 6.119 16.69 6.119z",fill:"#C59539"}),v=a.createElement("ellipse",{cx:82.612,cy:130.932,rx:16.69,ry:6.12,fill:"#E1B155"}),h=a.createElement("path",{d:"M82.107 132.861v-.372a3.584 3.584 0 01-.7-.12 2.263 2.263 0 01-.598-.266 1.101 1.101 0 01-.385-.415l.739-.162a.866.866 0 00.346.338c.173.1.372.164.598.192v-.95l-.024-.008a4.225 4.225 0 01-1.038-.334c-.273-.14-.409-.318-.409-.535a.51.51 0 01.173-.364c.12-.114.291-.208.511-.282a2.78 2.78 0 01.787-.137v-.368h.629v.376c.273.023.5.068.684.133.189.063.336.136.44.218.11.083.187.162.229.236l-.724.171a.669.669 0 00-.22-.188c-.1-.063-.236-.11-.41-.142v.899c.284.063.536.133.756.21.22.074.393.164.52.269a.473.473 0 01.196.386c0 .168-.071.311-.213.428a1.51 1.51 0 01-.542.278c-.22.068-.46.112-.716.132v.377h-.63zm-.66-2.632c0 .091.054.168.164.231.116.06.28.119.496.176v-.771a1.387 1.387 0 00-.48.133c-.12.066-.18.143-.18.231zm1.942 1.421c0-.097-.058-.176-.173-.236a2.23 2.23 0 00-.48-.171v.809a1.31 1.31 0 00.464-.141c.126-.069.189-.156.189-.261z",fill:"#AA7A1E"}),y=a.createElement("path",{d:"M96.446 130.932c0 .426-.248.923-.905 1.461-.653.535-1.637 1.044-2.907 1.484-2.535.877-6.079 1.432-10.022 1.432-3.943 0-7.487-.555-10.022-1.432-1.27-.44-2.254-.949-2.907-1.484-.657-.538-.905-1.035-.905-1.461 0-.425.248-.922.905-1.461.653-.534 1.637-1.044 2.907-1.483 2.535-.878 6.079-1.432 10.022-1.432 3.943 0 7.487.554 10.022 1.432 1.27.439 2.254.949 2.907 1.483.657.539.905 1.036.905 1.461z",stroke:"#C59539",strokeWidth:1.261}),O=a.createElement("g",{filter:"url(#adsense-ad-blocking-recovery_svg__filter0_d_368_3243)"},a.createElement("rect",{x:84.837,y:36.913,width:184.702,height:126.107,rx:10.088,fill:"#fff"}),a.createElement("rect",{x:84.337,y:36.413,width:185.702,height:127.107,rx:10.588,stroke:"#CBD0D3"})),_=a.createElement("rect",{x:94.851,y:62.389,width:56.047,height:90.44,rx:3.783,fill:"#EE92DA"}),E=a.createElement("circle",{cx:110.137,cy:77.675,r:7.643,fill:"#B75BA2"}),k=a.createElement("path",{d:"M110.964 99.01l-11.017 11.783h45.857L129.128 92.96l-11.911 12.738-6.253-6.688z",fill:"#B75BA2"}),S=a.createElement("rect",{x:112.685,y:137.543,width:20.381,height:10.19,rx:5.095,fill:"#FFB6EF"}),j=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M145.804 124.322H99.946v-6.676h45.858v6.676zM145.804 132.287H99.946v-2.226h45.858v2.226z",fill:"#FFB6EF"}),T=a.createElement("path",{d:"M84.837 47c0-5.57 4.517-10.087 10.088-10.087h164.526c5.572 0 10.088 4.516 10.088 10.088v5.197H84.837v-5.197z",fill:"#EBEEF0"}),A=a.createElement("rect",{x:92.48,y:42.008,width:5.095,height:5.095,rx:2.548,fill:"#CBD0D3"}),N=a.createElement("rect",{x:100.123,y:42.008,width:5.095,height:5.095,rx:2.548,fill:"#CBD0D3"}),C=a.createElement("rect",{x:166.062,y:62.389,width:89.803,height:30.571,rx:4,fill:"#EBEEF0"}),w=a.createElement("rect",{x:166.062,y:101.151,width:66.238,height:10.19,rx:5.095,fill:"#EBEEF0"}),I=a.createElement("rect",{x:166.062,y:117.436,width:77.702,height:4,rx:2,fill:"#EBEEF0"}),M=a.createElement("rect",{x:166.062,y:127.079,width:66.238,height:4,rx:2,fill:"#EBEEF0"}),R=a.createElement("rect",{x:166.062,y:136.722,width:89.803,height:4,rx:2,fill:"#EBEEF0"}),D=a.createElement("path",{d:"M39.294 137.925l-8.822 37.176H18.5M53.156 137.925l4.41 10.711-7.56 26.465h10.712",stroke:"#000",strokeWidth:2.857,strokeLinecap:"round"}),x=a.createElement("path",{d:"M75.21 116.786c5.111.591 25.876 5.298 20.323-12.962l4.881-1.186",stroke:"#161B18",strokeWidth:2.857,strokeLinecap:"round",strokeLinejoin:"round"}),L=a.createElement("path",{d:"M21.829 117.751c.62 8.27.75 17.811-1.615 25.784",stroke:"#161B18",strokeWidth:2.857,strokeMiterlimit:10,strokeLinecap:"round"}),P=a.createElement("circle",{cx:47.485,cy:112.72,r:27.725,fill:"#77AD8C"}),G=a.createElement("path",{d:"M56.307 122.802c-4.122 5.607-11.798 7.444-17.643.763",stroke:"#161B18",strokeWidth:2.857,strokeMiterlimit:10,strokeLinecap:"round"}),Z=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.334 137.924c15.66 0 28.355-12.695 28.355-28.355 0-5.58-1.612-10.785-4.396-15.172a27.62 27.62 0 016.917 18.323c0 15.312-12.413 27.724-27.725 27.724a27.619 27.619 0 01-18.32-6.914 28.223 28.223 0 0015.17 4.394z",fill:"#59866A"}),B=a.createElement("path",{d:"M275.102 167.093c9.218 0 16.69-2.739 16.69-6.119v-2.226h-33.38v2.226c0 3.38 7.473 6.119 16.69 6.119z",fill:"#C59539"}),U=a.createElement("ellipse",{cx:275.102,cy:158.749,rx:16.69,ry:6.12,fill:"#FCC934"}),F=a.createElement("path",{d:"M277.328 161.531c9.217 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),z=a.createElement("ellipse",{cx:277.328,cy:153.186,rx:16.69,ry:6.12,fill:"#FCC934"}),W=a.createElement("path",{d:"M273.99 157.08c9.217 0 16.69-2.74 16.69-6.12v-2.225H257.3v2.225c0 3.38 7.472 6.12 16.69 6.12z",fill:"#C59539"}),V=a.createElement("ellipse",{cx:273.99,cy:148.735,rx:16.69,ry:6.12,fill:"#FCC934"}),H=a.createElement("path",{d:"M287.824 148.735c0 .426-.248.923-.906 1.461-.653.534-1.636 1.044-2.906 1.484-2.536.877-6.079 1.431-10.022 1.431-3.944 0-7.487-.554-10.022-1.431-1.271-.44-2.254-.95-2.907-1.484-.658-.538-.905-1.035-.905-1.461 0-.426.247-.923.905-1.461.653-.534 1.636-1.044 2.907-1.484 2.535-.877 6.078-1.431 10.022-1.431 3.943 0 7.486.554 10.022 1.431 1.27.44 2.253.95 2.906 1.484.658.538.906 1.035.906 1.461z",stroke:"#C59539",strokeWidth:1.261}),q=a.createElement("defs",null,a.createElement("filter",{id:"adsense-ad-blocking-recovery_svg__filter0_d_368_3243",x:83.837,y:35.913,width:190.702,height:133.107,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dx:4,dy:5}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_368_3243"}),a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_368_3243",result:"shape"})));t.a=function SvgAdsenseAdBlockingRecovery(e){return a.createElement("svg",r({viewBox:"0 0 343 195",fill:"none"},e),i,o,c,s,l,u,d,g,m,f,p,b,v,h,y,O,_,E,k,S,j,T,A,N,C,w,I,M,R,D,x,L,P,G,Z,B,U,F,z,W,V,H,q)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(11),r=n.n(a),i=n(8),o=function(e){r()(e,"A dates object is required.");var t=e.startDate,n=e.endDate;return r()(Object(i.x)(t),"A valid startDate is required."),r()(Object(i.x)(n),"A valid endDate is required."),{d:"".concat(t.replace(/-/g,"/"),"-").concat(n.replace(/-/g,"/"))}}},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(17),o=n(8),c=n(214),s=n(492);function Overview(t){var n,a,r=t.metrics,l=t.currentRangeData,u=t.previousRangeData,d=t.selectedStats,g=t.handleStatsSelection,m=l.totals,f=l.headers,p=u.totals,b={smSize:2,mdSize:2,lgSize:3};return e.createElement(i.e,null,e.createElement(s.a,{className:"mdc-layout-grid__inner"},e.createElement(i.a,b,e.createElement(c.a,{stat:0,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-1",title:r[f[0].name],datapoint:(null==m?void 0:m.cells[0].value)||0,datapointUnit:null===(n=f[0])||void 0===n?void 0:n.currencyCode,change:Object(o.h)((null==p?void 0:p.cells[0].value)||0,(null==m?void 0:m.cells[0].value)||0),changeDataUnit:"%",context:"button",selected:0===d,handleStatSelection:g})),e.createElement(i.a,b,e.createElement(c.a,{stat:1,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-2",title:r[f[1].name],datapoint:(null==m?void 0:m.cells[1].value)||0,datapointUnit:null===(a=f[1])||void 0===a?void 0:a.currencyCode,change:Object(o.h)((null==p?void 0:p.cells[1].value)||0,(null==m?void 0:m.cells[1].value)||0),changeDataUnit:"%",context:"button",selected:1===d,handleStatSelection:g})),e.createElement(i.a,b,e.createElement(c.a,{stat:2,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-3",title:r[f[2].name],datapoint:(null==m?void 0:m.cells[2].value)||0,change:Object(o.h)((null==p?void 0:p.cells[2].value)||0,(null==m?void 0:m.cells[2].value)||0),changeDataUnit:"%",context:"button",selected:2===d,handleStatSelection:g})),e.createElement(i.a,b,e.createElement(c.a,{stat:3,className:"googlesitekit-data-block--impression googlesitekit-data-block--button-4",title:r[f[3].name],datapoint:(null==m?void 0:m.cells[3].value)||0,datapointUnit:"%",change:Object(o.h)((null==p?void 0:p.cells[3].value)||0,(null==m?void 0:m.cells[3].value)||0),changeDataUnit:"%",context:"button",selected:3===d,handleStatSelection:g}))))}Overview.propTypes={metrics:r.a.object,currentRangeData:r.a.object,previousRangeData:r.a.object,selectedStats:r.a.number.isRequired,handleStatsSelection:r.a.func.isRequired},t.a=Overview}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stats}));var a=n(15),r=n.n(a),i=n(511),o=n.n(i),c=n(1),s=n.n(c),l=n(249),u=n(244),d=n(17),g=n(349);function Stats(t){var n=t.metrics,a=t.currentRangeData,i=t.previousRangeData,c=t.selectedStats,s=Object(u.d)(a,i,Object.values(n)[c],c+1,a.headers[c+1]),m=["#6380b8","#4bbbbb","#3c7251","#8e68cb"];var f=s.slice(1).map((function(e){return r()(e,1)[0]})),p={curveType:"function",height:270,width:"100%",chartArea:{height:"80%",width:"100%",left:60},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},hAxis:{format:"MMM d",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12},ticks:o()(f).slice(1)},vAxis:{format:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.currencyCode;if("METRIC_CURRENCY"===t)return Object(l.c)(n);var a={METRIC_TALLY:void 0,METRIC_RATIO:"percent",METRIC_DECIMAL:"decimal",METRIC_MILLISECONDS:void 0};return a[t]}(a.headers[c+1]),gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"},series:{0:{color:m[c],targetAxisIndex:0},1:{color:m[c],targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}};return Object(u.g)(a,c+1)&&Object(u.g)(i,c+1)?p.vAxis.viewWindow.max=100:p.vAxis.viewWindow.max=void 0,e.createElement(d.e,{className:"googlesitekit-adsense-site-stats"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(g.a,{chartType:"LineChart",data:s,loadingHeight:"270px",loadingWidth:"100%",options:p}))))}Stats.propTypes={metrics:s.a.object,currentRangeData:s.a.object,previousRangeData:s.a.object,selectedStats:s.a.number.isRequired}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StatusMigration}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(10),u=n(3),d=n(148),g=n(32),m=n(104),f=n(29),p=n(132);function StatusMigration(){var t,n=Object(u.useSelect)((function(e){return e(f.m).getAccountID()})),a=Object(u.useSelect)((function(e){return e(f.m).getAFCClient(n)})),i=Object(u.useSelect)((function(e){return e(f.m).getCurrentSite(n)})),b=Object(u.useSelect)((function(e){return e(f.m).getAdminReauthURL()})),v=Object(u.useSelect)((function(e){return e(g.a).isNavigating()})),h=Object(u.useDispatch)(f.m),y=h.setAccountStatus,O=h.setSiteStatus,_=h.setAccountSetupComplete,E=h.setSiteSetupComplete,k=h.saveSettings,S=Object(u.useDispatch)(g.a).navigateTo;a&&i&&(t=!(a.state!==f.g||i.state!==f.g||!i.autoAdsEnabled)),Object(c.useEffect)((function(){t&&o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(p.k);case 2:return e.next=4,O(p.p);case 4:return e.next=6,k();case 6:case"end":return e.stop()}}),e)})))()}),[t,k,y,O]);var j=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(!1);case 2:return e.next=4,E(!1);case 4:return e.next=6,k();case 6:S(b);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return!0===t?null:e.createElement(m.b,null,e.createElement(m.c,null,e.createElement(m.a,{size:12},void 0===t&&e.createElement(l.ProgressBar,null),!1===t&&e.createElement(d.c,{className:"googlesitekit-settings-notice-adsense-status-migration",type:d.b,notice:Object(s.__)("You need to redo setup to complete AdSense configuration","google-site-kit"),CTA:function CTA(){return e.createElement(l.SpinnerButton,{onClick:j,disabled:v,isSaving:v},Object(s.__)("Redo setup","google-site-kit"))}}))))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a,r=n(3),i=n.n(r),o=n(179),c=n.n(o),s=n(382),l=n.n(s),u=n(5),d=n.n(u),g=n(16),m=n.n(g),f=n(2),p=n(84),b=n(646),v=(n(598),n(719),n(840)),h=(n(720),n(841)),y=n(842),O=n(843),_=n(844),E=n(845),k=n(846),S=n(847),j=n(498),T=n(29),A=(n(721),n(848)),N=n(6),C=n(9),w=n(7),I=n.n(w),M=n(11),R=n.n(M),D=n(183),x=n(244),L=n(59);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z={originalUseSnippet:void 0},B={completeAccountSetup:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"COMPLETE_ACCOUNT_SETUP"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),completeSiteSetup:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"COMPLETE_SITE_SETUP"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),receiveOriginalUseSnippet:function(e){return R()(e,"originalUseSnippet is required."),{payload:{originalUseSnippet:e},type:"RECEIVE_ORIGINAL_USE_SNIPPET"}}},U=(a={},I()(a,"COMPLETE_ACCOUNT_SETUP",Object(r.createRegistryControl)((function(e){return m()(d.a.mark((function t(){var n;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(T.m).setAccountSetupComplete(!0);case 2:if(e.select(T.m).canSubmitChanges()){t.next=6;break}return t.next=5,e.dispatch(T.m).setAccountSetupComplete(!1);case 5:return t.abrupt("return",!1);case 6:return t.next=8,e.dispatch(T.m).submitChanges();case 8:if(n=t.sent,!n.error){t.next=14;break}return t.next=13,e.dispatch(T.m).setAccountSetupComplete(!1);case 13:return t.abrupt("return",!1);case 14:return t.abrupt("return",!0);case 15:case"end":return t.stop()}}),t)})))}))),I()(a,"COMPLETE_SITE_SETUP",Object(r.createRegistryControl)((function(e){return m()(d.a.mark((function t(){var n;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(T.m).setSiteSetupComplete(!0);case 2:if(e.select(T.m).canSubmitChanges()){t.next=6;break}return t.next=5,e.dispatch(T.m).setSiteSetupComplete(!1);case 5:return t.abrupt("return",!1);case 6:return t.next=8,e.dispatch(T.m).submitChanges();case 8:if(n=t.sent,!n.error){t.next=14;break}return t.next=13,e.dispatch(T.m).setSiteSetupComplete(!1);case 13:return t.abrupt("return",!1);case 14:return t.abrupt("return",!0);case 15:case"end":return t.stop()}}),t)})))}))),a),F={getOriginalUseSnippet:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,void 0===t.select(T.m).getOriginalUseSnippet()){e.next=6;break}return e.abrupt("return");case 6:t.select(T.m).getSettings();case 7:case"end":return e.stop()}}),e)}))},z={isDoingSaveUseSnippet:function(e){return Object.values(e.isFetchingSaveUseSnippet).some(Boolean)},getOriginalUseSnippet:function(e){return e.originalUseSnippet}};var W=Object(r.combineStores)({initialState:Z,actions:B,controls:U,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ORIGINAL_USE_SNIPPET":var r=a.originalUseSnippet;return G(G({},e),{},{originalUseSnippet:r});case"RECEIVE_GET_SETTINGS":var i=a.response.useSnippet;return G(G({},e),void 0===e.originalUseSnippet&&{originalUseSnippet:i});default:return e}},resolvers:F,selectors:z}),V=(W.initialState,W.actions,W.controls,W.reducer,W.resolvers,W.selectors,W),H=c.a.createModuleStore("adsense",{ownedSettingsSlugs:["accountID","clientID"],storeName:T.m,settingSlugs:["accountID","clientID","useSnippet","accountStatus","siteStatus","accountSetupComplete","siteSetupComplete","ownerID","webStoriesAdUnit","autoAdsDisabled","setupCompletedTimestamp","useAdBlockingRecoverySnippet","useAdBlockingRecoveryErrorSnippet","adBlockingRecoverySetupStatus"],validateCanSubmitChanges:function(e){var t=Object(L.e)(e)(T.m),n=t.getAccountID,a=t.getClientID,r=t.getAccountStatus,i=t.haveSettingsChanged,o=t.isDoingSubmitChanges;R()(!o(),D.a),R()(i(),D.b),R()(r(),"require an account status to be present");var c=n();R()(""===c||Object(x.e)(c),"require account ID to be either empty (if impossible to determine) or valid");var s=a();R()(""===s||Object(x.f)(s),"require client ID to be either empty (if impossible to determine) or valid")},validateIsSetupBlocked:function(e){if(e(N.a).isAdBlockerActive())throw new Error("Ad blocker detected")}}),q=n(27),K=n.n(q),Y=n(42),J=n.n(Y),$=n(47),X=n(62);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var te=Object($.a)({baseName:"getAccounts",controlCallback:function(){return J.a.get("modules","adsense","accounts",void 0,{useCache:!1})},reducerCallback:function(e,t){return ee(ee({},e),{},{accounts:K()(t)})}}),ne={accounts:void 0},ae={resetAccounts:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ACCOUNTS"};case 6:return e.next=8,X.a.clearErrors("getAccounts");case 8:return e.abrupt("return",n(T.m).invalidateResolutionForStoreSelector("getAccounts"));case 9:case"end":return e.stop()}}),e)}))},re={getAccounts:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,!t.select(T.m).getAccounts()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,te.actions.fetchGetAccounts();case 8:case"end":return e.stop()}}),e)}))},ie=Object(r.combineStores)(te,{initialState:ne,actions:ae,reducer:function(e,t){switch(t.type){case"RESET_ACCOUNTS":var n=e.savedSettings||{},a=n.accountID,r=n.clientID,i=n.accountStatus,o=n.siteStatus,c=n.accountSetupComplete,s=n.siteSetupComplete;return ee(ee({},e),{},{accounts:ne.accounts,settings:ee(ee({},e.settings||{}),{},{accountID:a,clientID:r,accountStatus:i,siteStatus:o,accountSetupComplete:c,siteSetupComplete:s})});default:return e}},resolvers:re,selectors:{getAccounts:function(e){return e.accounts}}}),oe=(ie.initialState,ie.actions,ie.controls,ie.reducer,ie.resolvers,ie.selectors,ie);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var le=Object($.a)({baseName:"getAdUnits",controlCallback:function(e){var t=e.accountID,n=e.clientID;return J.a.get("modules","adsense","adunits",{accountID:t,clientID:n},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID,r=n.clientID;return se(se({},e),{},{adunits:se(se({},e.adunits),{},I()({},"".concat(a,"::").concat(r),t))})},argsToParams:function(e,t){return{accountID:e,clientID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.clientID;R()(t,"accountID is required."),R()(n,"clientID is required.")}}),ue={getAdUnits:d.a.mark((function e(t,n){var a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&void 0!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(a=e.sent,!a.select(T.m).getAdUnits(t,n)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,le.actions.fetchGetAdUnits(t,n);case 10:case"end":return e.stop()}}),e)}))},de={getAdUnits:function(e,t,n){if(void 0!==t&&void 0!==n)return e.adunits["".concat(t,"::").concat(n)]}},ge=Object(r.combineStores)(le,{initialState:{adunits:{}},actions:{},reducer:function(e,t){t.type;return e},resolvers:ue,selectors:de}),me=(ge.initialState,ge.actions,ge.controls,ge.reducer,ge.resolvers,ge.selectors,ge);function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=Object($.a)({baseName:"getClients",controlCallback:function(e){var t=e.accountID;return J.a.get("modules","adsense","clients",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID;return Array.isArray(t)?pe(pe({},e),{},{clients:pe(pe({},e.clients),{},I()({},a,K()(t)))}):e},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;R()(t,"accountID is required.")}}),ve={resetClients:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_CLIENTS"};case 6:return e.next=8,X.a.clearErrors("getClients");case 8:return e.abrupt("return",n(T.m).invalidateResolutionForStoreSelector("getClients"));case 9:case"end":return e.stop()}}),e)}))},he={getClients:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(x.e)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(T.m).getClients(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,be.actions.fetchGetClients(t);case 10:case"end":return e.stop()}}),e)}))},ye={getClients:function(e,t){if(void 0!==t)return e.clients[t]},getAFCClient:Object(r.createRegistrySelector)((function(e){return function(t,n){if(void 0!==n){var a=e(T.m).getClients(n);if(void 0!==a){var r=a.filter((function(e){return"AFC"===e.productCode}));return r.length?r[0]:null}}}}))},Oe=Object(r.combineStores)(be,{initialState:{clients:{}},actions:ve,reducer:function(e,t){switch(t.type){case"RESET_CLIENTS":var n=e.savedSettings||{},a=n.clientID,r=n.accountStatus,i=n.siteStatus,o=n.accountSetupComplete,c=n.siteSetupComplete;return pe(pe({},e),{},{clients:_e.clients,settings:pe(pe({},e.settings||{}),{},{clientID:a,accountStatus:r,siteStatus:i,accountSetupComplete:o,siteSetupComplete:c})});default:return e}},resolvers:he,selectors:ye}),_e=Oe.initialState,Ee=(Oe.actions,Oe.controls,Oe.reducer,Oe.resolvers,Oe.selectors,Oe),ke=n(13),Se=n(8),je=n(146),Te=["ACTIVE_VIEW_MEASURABILITY","ACTIVE_VIEW_TIME","ACTIVE_VIEW_VIEWABILITY","AD_REQUESTS_COVERAGE","AD_REQUESTS_CTR","AD_REQUESTS_RPM","AD_REQUESTS_SPAM_RATIO","AD_REQUESTS","ADS_PER_IMPRESSION","CLICKS_SPAM_RATIO","CLICKS","COST_PER_CLICK","ESTIMATED_EARNINGS","IMPRESSIONS_CTR","IMPRESSIONS_RPM","IMPRESSIONS_SPAM_RATIO","IMPRESSIONS","INDIVIDUAL_AD_IMPRESSIONS_CTR","INDIVIDUAL_AD_IMPRESSIONS_RPM","INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO","INDIVIDUAL_AD_IMPRESSIONS","MATCHED_AD_REQUESTS_CTR","MATCHED_AD_REQUESTS_RPM","MATCHED_AD_REQUESTS_SPAM_RATIO","MATCHED_AD_REQUESTS","METRIC_UNSPECIFIED","PAGE_VIEWS_CTR","PAGE_VIEWS_RPM","PAGE_VIEWS_SPAM_RATIO","PAGE_VIEWS","TOTAL_EARNINGS","TOTAL_IMPRESSIONS","WEBSEARCH_RESULT_PAGES"],Ae=["ACCOUNT_NAME","AD_CLIENT_ID","AD_FORMAT_CODE","AD_FORMAT_NAME","AD_PLACEMENT_CODE","AD_PLACEMENT_NAME","AD_UNIT_ID","AD_UNIT_NAME","AD_UNIT_SIZE_CODE","AD_UNIT_SIZE_NAME","BID_TYPE_CODE","BID_TYPE_NAME","BUYER_NETWORK_ID","BUYER_NETWORK_NAME","CONTENT_PLATFORM_CODE","CONTENT_PLATFORM_NAME","COUNTRY_CODE","COUNTRY_NAME","CREATIVE_SIZE_CODE","CREATIVE_SIZE_NAME","CUSTOM_CHANNEL_ID","CUSTOM_CHANNEL_NAME","CUSTOM_SEARCH_STYLE_ID","CUSTOM_SEARCH_STYLE_NAME","DATE","DIMENSION_UNSPECIFIED","DOMAIN_CODE","DOMAIN_NAME","DOMAIN_REGISTRANT","MONTH","OWNED_SITE_DOMAIN_NAME","OWNED_SITE_ID","PLATFORM_TYPE_CODE","PLATFORM_TYPE_NAME","PRODUCT_CODE","PRODUCT_NAME","REQUESTED_AD_TYPE_CODE","REQUESTED_AD_TYPE_NAME","SERVED_AD_TYPE_CODE","SERVED_AD_TYPE_NAME","TARGETING_TYPE_CODE","TARGETING_TYPE_NAME","URL_CHANNEL_ID","URL_CHANNEL_NAME","WEBSEARCH_QUERY_STRING","WEEK"];function Ne(e){var t=Object(ke.castArray)(e);R()(t.length,"at least one metric is required.");var n=t.filter((function(e){return!Te.includes(e)}));R()(0===n.length,"invalid AdSense metrics requested: ".concat(n.toString()))}function Ce(e){var t=Object(ke.castArray)(e);R()(t.length,"at least one dimension is required.");var n=t.filter((function(e){return!Ae.includes(e)}));R()(0===n.length,"invalid AdSense dimensions requested: ".concat(n.toString()))}function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me=Object($.a)({baseName:"getReport",controlCallback:function(e){var t=e.options;return J.a.get("modules","adsense","report",t)},reducerCallback:function(e,t,n){var a=n.options;return Ie(Ie({},e),{},{reports:Ie(Ie({},e.reports),{},I()({},Object(Se.I)(a),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;R()(Object(ke.isPlainObject)(t),"options must be an object."),R()(Object(je.a)(t),"Either date range or start/end dates must be provided for AdSense report.");var n=t.orderby,a=t.metrics,r=t.dimensions;R()(Object(je.d)(a),"Metrics for an AdSense report must be either a string or an array of strings."),Ne(a),r&&(R()(Object(je.d)(r),"Dimensions for an AdSense report must be either a string or an array of strings."),Ce(r)),n&&R()(Object(je.b)(n),'Orders for an AdSense report must be either an object or an array of objects where each object should have "fieldName" and "sortOrder" properties.')}}),Re={getReport:d.a.mark((function e(){var t,n,a=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,r.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(T.m).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,Me.actions.fetchGetReport(t);case 9:case"end":return e.stop()}}),e)}))},De={getReport:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.reports;return n[Object(Se.I)(t)]}},xe=Object(r.combineStores)(Me,{initialState:{reports:{}},resolvers:Re,selectors:De}),Le=(xe.initialState,xe.actions,xe.controls,xe.reducer,xe.resolvers,xe.selectors,xe),Pe=n(553),Ge=Object(Pe.a)({storeName:T.m,tagMatchers:[/google_ad_client: ?["|'](.*?)["|']/,/<(?:script|amp-auto-ads) [^>]*data-ad-client="([^"]+)"/,/<(?:script|amp-auto-ads)[^>]*src="[^"]*\?client=(ca-pub-[^"]+)"[^>]*>/],isValidTag:x.f}),Ze=n(19),Be={selectors:{getAdBlockerWarningMessage:Object(r.createRegistrySelector)((function(e){return function(){var t=e(N.a).isAdBlockerActive();if(void 0!==t)return t?e(Ze.a).isModuleConnected("adsense")?Object(f.__)("Ad blocker detected; please disable it to get the latest AdSense data","google-site-kit"):Object(f.__)("Ad blocker detected; please disable it to set up AdSense","google-site-kit"):null}}))}},Ue=n(157),Fe=n(14),ze=n(582);function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var Ve={selectors:{getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.path,r=n.query,i="https://www.google.com/adsense/new/u/0";if(a){var o="/".concat(a.replace(/^\//,""));i="".concat(i).concat(o)}r&&(i=Object(Ue.a)(i,r));var c=e(N.a).getAccountChooserURL(i);if(void 0!==c)return c}})),getServiceCreateAccountURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(Fe.c).getReferenceSiteURL(),n={source:"site-kit",utm_source:"site-kit",utm_medium:"wordpress_signup"};return void 0!==t&&(n.url=Object(ze.a)(t)),Object(Ue.a)("https://www.google.com/adsense/signup",n)}})),getServiceAccountURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getAccountID();if(void 0!==t){return e(T.m).getServiceURL({accountID:t,query:{source:"site-kit"}})}}})),getServiceReportURL:Object(r.createRegistrySelector)((function(e){return function(t,n){var a=e(T.m).getAccountID();if(void 0!==a){var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n),i=e(Fe.c).getReferenceSiteURL(),o=i&&Object(ze.a)(i);o&&(r.dd="1YsiteY1Y".concat(o,"Y").concat(o));var c="".concat(a,"/reporting");return e(T.m).getServiceURL({path:c,query:r})}}})),getServiceAccountManageSiteURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getAccountID(),n=e(Fe.c).getReferenceSiteURL();if(void 0!==t&&void 0!==n){var a="".concat(t,"/sites/my-sites"),r={source:"site-kit",url:Object(ze.a)(n)||n};return e(T.m).getServiceURL({path:a,query:r})}}})),getServiceAccountManageSitesURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getAccountID();if(void 0!==t){var n="".concat(t,"/sites/my-sites");return e(T.m).getServiceURL({path:n,query:{source:"site-kit"}})}}})),getServiceAccountSiteAdsPreviewURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getAccountID(),n=e(Fe.c).getReferenceSiteURL();if(void 0!==t&&void 0!==n){var a="".concat(t,"/myads/sites/preview"),r={source:"site-kit",url:Object(ze.a)(n)||n};return e(T.m).getServiceURL({path:a,query:r})}}}))}};function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ke=Object($.a)({baseName:"getSites",controlCallback:function(e){var t=e.accountID;return J.a.get("modules","adsense","sites",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID;return Array.isArray(t)?qe(qe({},e),{},{sites:qe(qe({},e.sites),{},I()({},a,K()(t)))}):e},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;R()(t,"accountID is required.")}}),Ye={resetSites:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_SITES"};case 6:return e.next=8,X.a.clearErrors("getSites");case 8:return e.abrupt("return",n(T.m).invalidateResolutionForStoreSelector("getSites"));case 9:case"end":return e.stop()}}),e)}))},Je={getSites:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(x.e)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(T.m).getSites(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,Ke.actions.fetchGetSites(t);case 10:case"end":return e.stop()}}),e)}))},$e={getSites:function(e,t){if(void 0!==t)return e.sites[t]},getSite:Object(r.createRegistrySelector)((function(e){return function(t,n,a){return function(e,t){if(void 0!==e&&void 0!==t&&Array.isArray(e)){var n=e.filter((function(e){return!!e.state})),a=n.find((function(e){return e.domain===t.toLowerCase()}));return a||(n.find((function(e){return new RegExp("\\.".concat(Object(ke.escapeRegExp)(e.domain),"$"),"i").test(t)}))||null)}}(e(T.m).getSites(n),a)}})),getCurrentSite:Object(r.createRegistrySelector)((function(e){return function(t,n){var a=e(Fe.c).getReferenceSiteURL(),r=new URL(a);return e(T.m).getSite(n,r.hostname)}}))},Xe=Object(r.combineStores)(Ke,{initialState:{sites:{}},actions:Ye,reducer:function(e,t){switch(t.type){case"RESET_SITES":var n=e.savedSettings||{},a=n.siteID,r=n.accountStatus,i=n.siteStatus,o=n.accountSetupComplete,c=n.siteSetupComplete;return qe(qe({},e),{},{sites:Qe.sites,settings:qe(qe({},e.settings||{}),{},{siteID:a,accountStatus:r,siteStatus:i,accountSetupComplete:o,siteSetupComplete:c})});default:return e}},resolvers:Je,selectors:$e}),Qe=Xe.initialState,et=(Xe.actions,Xe.controls,Xe.reducer,Xe.resolvers,Xe.selectors,Xe),tt=n(351),nt=[/<script async src="https:\/\/fundingchoicesmessages\.google\.com\/i\/(.*?)\?ers=/],at=n(164);function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach((function(t){I()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ct(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var st,lt,ut=Object($.a)({baseName:"syncAdBlockingRecoveryTags",controlCallback:function(){return J.a.set("modules","adsense","sync-ad-blocking-recovery-tags")}}),dt={existingAdBlockingRecoveryTag:void 0},gt={fetchGetExistingAdBlockingRecoveryTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_AD_BLOCKING_RECOVERY_TAG"}},receiveGetExistingAdBlockingRecoveryTag:function(e){return R()(null===e||"string"==typeof e,"existingAdBlockingRecoveryTag must be a tag string or null."),{payload:{existingAdBlockingRecoveryTag:Object(x.e)(e)?e:null},type:"RECEIVE_GET_EXISTING_AD_BLOCKING_RECOVERY_TAG"}},syncAdBlockingRecoveryTags:function(){return ut.actions.fetchSyncAdBlockingRecoveryTags()}},mt=I()({},"FETCH_GET_EXISTING_AD_BLOCKING_RECOVERY_TAG",Object(r.createRegistryControl)((function(e){return m()(d.a.mark((function t(){var n,a,r,i,o,c,s;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(Fe.c).getHomeURL(),t.next=3,Object(tt.b)({homeURL:n});case 3:a=t.sent,r=ot(a),t.prev=5,r.s();case 7:if((i=r.n()).done){t.next=17;break}return o=i.value,t.next=11,e.dispatch(Fe.c).waitForHTMLForURL(o);case 11:if(c=e.select(Fe.c).getHTMLForURL(o),!(s=Object(tt.a)(c,nt))){t.next=15;break}return t.abrupt("return",s);case 15:t.next=7;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t.catch(5),r.e(t.t0);case 22:return t.prev=22,r.f(),t.finish(22);case 25:return t.abrupt("return",null);case 26:case"end":return t.stop()}}),t,null,[[5,19,22,25]])})))}))),ft=Object(at.a)((function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_AD_BLOCKING_RECOVERY_TAG":var r=a.existingAdBlockingRecoveryTag;return it(it({},e),{},{existingAdBlockingRecoveryTag:r});default:return e}})),pt={getExistingAdBlockingRecoveryTag:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==t.select(T.m).getExistingAdBlockingRecoveryTag()){e.next=10;break}return e.next=7,gt.fetchGetExistingAdBlockingRecoveryTag();case 7:return n=e.sent,e.next=10,gt.receiveGetExistingAdBlockingRecoveryTag(n);case 10:case"end":return e.stop()}}),e)}))},bt={getExistingAdBlockingRecoveryTag:function(e){return e.existingAdBlockingRecoveryTag},hasExistingAdBlockingRecoveryTag:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getExistingAdBlockingRecoveryTag();if(void 0!==t)return!!t}}))},vt=Object(r.combineStores)(ut,{initialState:dt,actions:gt,reducer:ft,controls:mt,resolvers:pt,selectors:bt}),ht=Object(r.combineStores)(H,oe,me,Ee,Le,Ge,V,Be,Ve,et,vt);ht.initialState,ht.actions,ht.controls,ht.reducer,ht.resolvers,ht.selectors;i.a.registerStore(T.m,ht),c.a.registerModule("adsense",{storeName:T.m,SettingsEditComponent:v.a,SettingsViewComponent:y.a,SettingsSetupIncompleteComponent:h.a,SetupComponent:b.b,Icon:j.a,features:[Object(f.__)("Intelligent, automatic ad placement","google-site-kit"),Object(f.__)("Revenue from ads placed on your site","google-site-kit"),Object(f.__)("AdSense insights through Site Kit","google-site-kit")],checkRequirements:(st=m()(d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resolveSelect(N.a).isAdBlockerActive();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:throw n=t.select(T.m).getAdBlockerWarningMessage(),{code:N.c,message:n,data:null};case 7:case"end":return e.stop()}}),e)}))),function(e){return st.apply(this,arguments)})}),(lt=l.a).registerWidget("adBlockingRecovery",{Component:O.a,width:lt.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["adsense"]},[p.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY]),lt.registerWidget(N.f,{Component:A.a,width:lt.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["adsense","analytics-4"],isActive:function(e){var t=!e(N.a).isAuthenticated();if(!e(N.a).isKeyMetricActive(N.f))return!1;var n=e(C.p).getAdSenseLinked();return!(t&&!n)}},[p.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),lt.registerWidget("adBlockerWarning",{Component:_.a,width:lt.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["adsense"]},[p.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY]),lt.registerWidget("adsenseModuleOverview",{Component:S.a,width:lt.WIDGET_WIDTHS.FULL,priority:2,wrapWidget:!1,modules:["adsense"]},[p.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY]),lt.registerWidget("adsenseConnectCTA",{Component:E.a,width:[lt.WIDGET_WIDTHS.FULL],priority:2,wrapWidget:!1,modules:["adsense"]},[p.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY]),lt.registerWidget("adsenseTopEarningPagesGA4",{Component:k.a,width:[lt.WIDGET_WIDTHS.HALF,lt.WIDGET_WIDTHS.FULL],priority:3,wrapWidget:!1,modules:["adsense","analytics-4"]},[p.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY])}],[[1229,1,0]]]); dist/assets/js/googlesitekit-modules-analytics-4-fb3e6466670e9fe98540.js 0000604 00003050136 14717744000 0021223 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[19,8],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return m})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return j})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return k})),n.d(t,"r",(function(){return A})),n.d(t,"t",(function(){return T})),n.d(t,"w",(function(){return w})),n.d(t,"u",(function(){return D})),n.d(t,"v",(function(){return C})),n.d(t,"x",(function(){return N})),n.d(t,"y",(function(){return I})),n.d(t,"A",(function(){return R})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return P})),n.d(t,"D",(function(){return M})),n.d(t,"k",(function(){return L})),n.d(t,"F",(function(){return G})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return V})),n.d(t,"E",(function(){return F})),n.d(t,"i",(function(){return W})),n.d(t,"p",(function(){return Z})),n.d(t,"Q",(function(){return z})),n.d(t,"P",(function(){return U}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",m="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",f="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",_="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",k="kmAnalyticsTopCitiesDrivingLeads",A="kmAnalyticsTopCitiesDrivingAddToCart",T="kmAnalyticsTopCitiesDrivingPurchases",w="kmAnalyticsTopDeviceDrivingPurchases",D="kmAnalyticsTopConvertingTrafficSource",C="kmAnalyticsTopCountries",N="kmAnalyticsTopPagesDrivingLeads",I="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",P="kmAnalyticsTopTrafficSourceDrivingLeads",M="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",G="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",V="kmSearchConsolePopularKeywords",F="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",Z="kmAnalyticsTopCategories",z=[b,v,h,y,O,E,_,j,Z,S,k,A,T,w,D,C,I,R,x,L,G,B,F,W,Z],U=[].concat(z,[V])},,function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return T})),n.d(t,"g",(function(){return w})),n.d(t,"f",(function(){return D})),n.d(t,"o",(function(){return C})),n.d(t,"x",(function(){return N})),n.d(t,"q",(function(){return I})),n.d(t,"H",(function(){return R})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return M})),n.d(t,"p",(function(){return L.b})),n.d(t,"i",(function(){return L.a})),n.d(t,"u",(function(){return G.b})),n.d(t,"r",(function(){return G.a})),n.d(t,"B",(function(){return G.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return V})),n.d(t,"F",(function(){return Z})),n.d(t,"E",(function(){return z.a})),n.d(t,"h",(function(){return U})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return q}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function m(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function f(e){for(var t=e,n=0,r=[m,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),E=n.n(O),_=n(2),j="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',k=60,A=60*k,T=24*A,w=7*T,D=30*T;function C(){var e=function(e){return Object(_.sprintf)( /* translators: %s: number of days */ Object(_._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 N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function I(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function R(e){E()(N(e),j);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function x(e,t){return I(M(e,t*T))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function M(e,t){E()(N(e)||Object(r.isDate)(e)&&!isNaN(e),j);var n=N(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var L=n(98),G=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function V(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var F=n(27),W=n.n(F),Z=function(e){return Array.isArray(e)?W()(e).sort():e},z=n(88);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},q=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"e",(function(){return _})),n.d(t,"r",(function(){return j})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return k})),n.d(t,"b",(function(){return A}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",m="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",f="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",E="dashboardAllTrafficWidgetLoaded",_={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},j={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",k="audienceTileCustomDimensionCreate",A="audience-selection-panel-expirable-new-badge-"},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},,,function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(140),m=n(0),g=n(2),p=n(126),f=n(127),b=n(128),v=n(80),h=n(77),y=Object(m.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,m=void 0!==u&&u,y=t.back,O=void 0!==y&&y,E=t.caps,_=void 0!==E&&E,j=t.children,S=t.className,k=void 0===S?"":S,A=t.danger,T=void 0!==A&&A,w=t.disabled,D=void 0!==w&&w,C=t.external,N=void 0!==C&&C,I=t.hideExternalIndicator,R=void 0!==I&&I,x=t.href,P=void 0===x?"":x,M=t.inverse,L=void 0!==M&&M,G=t.noFlex,B=void 0!==G&&G,V=t.onClick,F=t.small,W=void 0!==F&&F,Z=t.standalone,z=void 0!==Z&&Z,U=t.linkButton,H=void 0!==U&&U,q=t.to,K=t.leadingIcon,Y=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=P||q||!V?q?"ROUTER_LINK":N?"EXTERNAL_LINK":"LINK":D?"BUTTON_DISABLED":"BUTTON",Q="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",X=("EXTERNAL_LINK"===$&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof j?"".concat(j," ").concat(r):void 0:a),ee=K,te=Y;return O&&(ee=e.createElement(b.a,{width:14,height:14})),N&&!R&&(te=e.createElement(v.a,{width:14,height:14})),m&&!L&&(te=e.createElement(p.a,{width:14,height:14})),m&&L&&(te=e.createElement(f.a,{width:14,height:14})),e.createElement(Q,i()({"aria-label":X,className:s()("googlesitekit-cta-link",k,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":L,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":_,"googlesitekit-cta-link--danger":T,"googlesitekit-cta-link--disabled":D,"googlesitekit-cta-link--standalone":z,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!B}),disabled:D,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||D?void 0:P,onClick:V,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:q},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},j),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=y}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return f})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return j}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",m="settings",g="adBlockingRecovery",p="wpDashboard",f="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",y="content",O="speed",E="monetization",_=[r,i,a,o,c,l,m,b],j=[a,o,d,f]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},,function(e,t,n){"use strict";n.d(t,"l",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"k",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return s})),n.d(t,"o",(function(){return l})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return h}));var r=n(2),i="key-metrics-setup-cta-widget",a="key-metrics-acr-subtle-notification",o="googlesitekit-key-metrics-selection-panel-opened",c="key-metrics-selection-form",s="key-metrics-selected",l=2,u=4,d=8,m="current-selection",g={SLUG:"visitors",LABEL:Object(r.__)("Visitors","google-site-kit")},p={SLUG:"driving-traffic",LABEL:Object(r.__)("Driving traffic","google-site-kit")},f={SLUG:"generating-leads",LABEL:Object(r.__)("Generating leads","google-site-kit")},b={SLUG:"selling-products",LABEL:Object(r.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(r.__)("Content performance","google-site-kit")},h=[g,p,f,b,v]},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,l=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,m=i.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:m,pluginVersion:"1.140.0"},p=Object(r.a)(g),f=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?f():b()}c&&s&&v()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return g}));var r="audience-segmentation-add-group-notice",i="googlesitekit-audience-selection-panel-opened",a="audience-selection-form",o="audience-selected",c="audience-selection-changed",s="audience-segmentation-creation-notice",l="audience-segmentation-creation-success-notice",u=1,d=3,m="audience-creation-edit-scope-notice",g="audience-creation-form"},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,m=t.smallWidth,g=t.smallHeight,p=t.tabletWidth,f=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),y={width:(n={},i()(n,l.b,m),i()(n,l.c,p),i()(n,l.a,b),i()(n,l.d,b),n),height:(r={},i()(r,l.b,g),i()(r,l.c,f),i()(r,l.a,v),i()(r,l.d,b),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:y.width[h]||o,height:y.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return E})),n.d(t,"b",(function(){return _}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",m="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),f=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,f(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(m).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,s=a.value,l=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(n,r){var a,o,s,l,u,d,g,p,f=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=f.length>2&&void 0!==f[2]?f[2]:{},o=a.ttl,s=void 0===o?c.b:o,l=a.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,g=void 0!==d&&d,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(m).concat(n),JSON.stringify({timestamp:u,ttl:s,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(m).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),_=function(){var e=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,E();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,O(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},function(e,t){e.exports=googlesitekit.api},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d}));var r="modules/tagmanager",i="account_create",a="container_create",o="web",c="amp",s="tagmanagerSetup",l="https://www.googleapis.com/auth/tagmanager.readonly",u="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(13),u=n(62),d=n(78),m=n(8);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){return e},b=function(){return{}},v=function(){},h=u.a.clearError,y=u.a.receiveError,O=function(e){var t,n,r=i.a.mark(P),a=e.baseName,c=e.controlCallback,u=e.reducerCallback,g=void 0===u?f:u,O=e.argsToParams,E=void 0===O?b:O,_=e.validateParams,j=void 0===_?v:_;s()(a,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof g,"reducerCallback must be a function."),s()("function"==typeof E,"argsToParams must be a function."),s()("function"==typeof j,"validateParams must be a function.");try{j(E()),n=!1}catch(e){n=!0}var S=Object(d.b)(a),k=Object(d.a)(a),A="FETCH_".concat(k),T="START_".concat(A),w="FINISH_".concat(A),D="CATCH_".concat(A),C="RECEIVE_".concat(k),N="fetch".concat(S),I="receive".concat(S),R="isFetching".concat(S),x=o()({},R,{});function P(e,t){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:T};case 2:return r.next=4,h(a,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:A};case 7:return n=r.sent,r.next=10,M[I](n,e);case 10:return r.next=12,{payload:{params:e},type:w};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,y(o,a,t);case 19:return r.next=21,{payload:{params:e},type:D};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var M=(t={},o()(t,N,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,t);return j(r),P(r,t)})),o()(t,I,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(l.isPlainObject)(t),"params is required."),j(t)):t={},{payload:{response:e,params:t},type:C}})),t),L=o()({},A,(function(e){var t=e.payload;return c(t.params)})),G=o()({},R,(function(e){if(void 0===e[R])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=E.apply(void 0,r),j(t)}catch(e){return!1}return!!e[R][Object(m.I)(t)]}));return{initialState:x,actions:M,controls:L,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case T:var i=r.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(m.I)(i),!0))));case C:var a=r.response,c=r.params;return g(e,a,c);case w:var s=r.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(m.I)(s),!1))));case D:var l=r.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(m.I)(l),!1))));default:return e}},resolvers:{},selectors:G}}},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),i=n(18),a=r.n,o=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?o:null}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var s=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!s)return null;var l=o||a.WidgetNull||null;if(!1===s.active)return l&&e.createElement(l,a);if(!1===s.connected){var u=c||l;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return N})),n.d(t,"g",(function(){return R})),n.d(t,"f",(function(){return x}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),s=n(7),l=n.n(s),u=n(11),d=n.n(u),m=n(57),g=n.n(m),p=n(13),f=n(111);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return v(v({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=D(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},_=h,j=h,S=h,k=function(e){return e},A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:j.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},T={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},w=(r={},l()(r,"GET_REGISTRY",Object(f.a)((function(e){return function(){return e}}))),l()(r,"AWAIT",(function(e){return e.payload.value})),r),D=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},C={actions:T,controls:w,reducer:k},N=function(e){return function(t){return I(e(t))}},I=g()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(f.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(f.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function x(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return E})),n.d(t,"j",(function(){return _}));var r=n(11),i=n.n(r),a=n(13),o=n(9),c=n(8);n.d(t,"a",(function(){return c.y}));var s=n(146),l=n(228),u=n(95),d=n(272);function m(e){return e===o.a||Object(c.y)(e)}function g(e){return"string"==typeof e&&/^\d+$/.test(e)}function p(e){return e===o.q||g(e)}function f(e){return"string"==typeof e&&/^\d+$/.test(e)}function b(e){return e===o.x||f(e)}function v(e){return"string"==typeof e&&e.trim().length>0}function h(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function y(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function O(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 report must be an object."),i()(Object(s.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(l.a)(e),n=t.metrics,r=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,d=t.orderby;i()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),i()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&i()(Object(u.a)(o),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),c&&i()(Object(u.c)(c),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&i()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function E(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),i()(Object(s.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(l.a)(e),n=t.metrics,r=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,m=t.pivots,g=t.orderby,p=t.limit;i()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),i()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),i()(Object(d.a)(m),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),g&&i()(Array.isArray(g),"orderby for an Analytics 4 pivot report must be passed within a pivot."),p&&i()("number"==typeof p,"limit for an Analytics 4 pivot report must be passed within a pivot."),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&i()(Object(u.a)(o),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),c&&i()(Object(u.c)(c),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function _(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];i()(Object(a.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){i()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){i()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),i()(Object(a.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(7),i=n.n(r),a=n(33),o=n.n(a),c=n(111),s=n(11),l=n.n(s),u=n(94),d=n.n(u),m=n(8);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(m.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var b={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(e,"error is required."),l()(t,"baseName is required."),l()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return l()(e,"baseName is required."),l()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){l()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return l()(t,"baseName is required."),r[f(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var a=r.baseName,o=r.args,c=r.error,s=f(a,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},s,o))});case"CLEAR_ERROR":var l=r.baseName,u=r.args,d=p({},e),m=f(l,u);return d.errors=p({},e.errors||{}),d.errorArgs=p({},e.errorArgs||{}),delete d.errors[m],delete d.errorArgs[m],d;case"CLEAR_ERRORS":var g=r.baseName,b=p({},e);if(g)for(var v in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(v===g||v.startsWith("".concat(g,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),m=n.n(d),g=n(1),p=n.n(g),f=n(12),b=n.n(f),v=n(221),h=n(222),y=n(91),O=n(79),E=n(0),_=n(109),j=n(3),S=n(17),k=n(89),A=n(41),T=n(25),w=n(195),D=n(196),C=n(197),N=n(201),I=n(202),R=n(74),x=n(113),P=n(121),M=n(32),L=n(203);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,f=t.description,G=t.dismiss,B=t.dismissExpires,V=void 0===B?0:B,F=t.format,W=void 0===F?"":F,Z=t.id,z=t.isDismissible,U=void 0===z||z,H=t.learnMoreDescription,q=t.learnMoreLabel,K=t.learnMoreURL,Y=t.learnMoreTarget,J=void 0===Y?R.a.EXTERNAL:Y,$=t.logo,Q=t.module,X=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,me=t.smallWinImageSVGWidth,ge=void 0===me?75:me,pe=t.smallWinImageSVGHeight,fe=void 0===pe?75:pe,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,ye=void 0===he?105:he,Oe=t.rounded,Ee=void 0!==Oe&&Oe,_e=t.footer,je=t.secondaryPane,Se=t.ctaComponent,ke=Object(E.useState)(!1),Ae=m()(ke,2),Te=Ae[0],we=Ae[1],De=Object(E.useState)(!1),Ce=m()(De,2),Ne=Ce[0],Ie=Ce[1],Re="notification::dismissed::".concat(Z),xe=function(){return Object(A.f)(Re,new Date,{ttl:null})},Pe=Object(O.a)(),Me=Object(T.e)(),Le=Object(v.a)(),Ge=Object(E.useState)(!1),Be=m()(Ge,2),Ve=Be[0],Fe=Be[1],We=Object(E.useRef)(),Ze=Object(h.a)(We,{rootMargin:"".concat(-Object(P.a)(Object(k.c)(Me)),"px 0px 0px 0px"),threshold:0});Object(E.useEffect)((function(){!Ve&&(null==Ze?void 0:Ze.isIntersecting)&&("function"==typeof te&&te(),Fe(!0))}),[Z,te,Ve,Ze]);var ze=Pe>=600;Object(y.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(V>0)){e.next=3;break}return e.next=3,$e();case 3:if(!U){e.next=9;break}return e.next=6,Object(A.d)(Re);case 6:t=e.sent,n=t.cacheHit,Ie(n);case 9:if(!ae){e.next=12;break}return e.next=12,xe();case 12:case"end":return e.stop()}}),e)}))));var Ue=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:qe();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=Object(_.a)(g)&&"_blank"!==p,qe=function(){return He||we(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xe();case 2:Le()&&Ie(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Ke=Object(j.useSelect)((function(e){return!!g&&e(M.a).isNavigatingTo(g)})),Ye=Object(j.useDispatch)(M.a).navigateTo,Je=function(){var e=u()(s.a.mark((function e(t){var n,r,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),He&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!U||!n){e.next=15;break}return e.next=15,qe();case 15:He&&Ye(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.d)(Re);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(V,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.c)(Re);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Ke&&U&&(void 0===Ne||Ne))return null;var Qe=!Ke&&Te?"is-closed":"is-open",Xe=Object(x.d)(W),et=Object(x.c)(W),tt=Object(x.a)(W),nt=Object(x.b)({format:W,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!le});return e.createElement(w.a,{id:Z,className:b()(l,(n={},o()(n,"googlesitekit-publisher-win--".concat(W),W),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat(Qe),Qe),o()(n,"googlesitekit-publisher-win--rounded",Ee),n)),secondaryPane:je,ref:We},$&&e.createElement(I.a,{module:Q,moduleName:X}),oe&&e.createElement(S.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(S.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(D.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:fe,smallWinImageSVGWidth:ge,winImageFormat:W,WinImageSVG:!ze&&de?le:void 0}),e.createElement(L.a,{description:f,learnMoreURL:K,learnMoreLabel:q,learnMoreTarget:J,learnMoreDescription:H,onLearnMoreClick:re}),a,e.createElement(C.a,{ctaLink:g,ctaLabel:d,ctaComponent:Se,ctaTarget:p,ctaCallback:Je,dismissLabel:U?G:void 0,dismissCallback:Ue}),_e&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},_e)),le&&(ze||!de)&&e.createElement(S.a,i()({},Xe,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(le,{style:{maxWidth:ve,maxHeight:ye}}))),e.createElement(N.a,{type:se}))}n.d(t,"a",(function(){return R.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(R.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y}));var r=n(7),i=n.n(r),a=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return a.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,m=function SvgSuggestionIcon(e){return a.createElement("svg",l({viewBox:"0 0 2 11"},e),u)},g=n(182),p=n(92),f="warning",b="info",v="suggestion",h=(d={},i()(d,b,s),i()(d,f,g.a),i()(d,v,m),d),y=function(e){return h[e]||p.a}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(271),o=n(1),c=n.n(o),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return T})),n.d(t,"b",(function(){return w}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),l=n(23),u=n.n(l),d=n(13),m=n(57),g=n.n(m),p=n(2);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?A(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?A(a,b(b({},o),{},{unit:"second"})):"",i?A(i,b(b({},o),{},{unit:"minute"})):"",r?A(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),A(E(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e),e%10==0?{}:t)):A(e,{signDisplay:"never",maximumFractionDigits:1})};function j(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=j(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?v(e,n):"durationISO"===i?h(e):A(e,n)}var k=g()(console.warn),A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,m=Object.entries(a);d<m.length;d++){var g=i()(m[d],2),p=g[0],f=g[1];c[p]&&f===c[p]||(s.includes(p)||(l[p]=f))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(p.__)(", ","google-site-kit");return e.join(l)},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return m}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",l="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",m="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:l,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:m}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,l=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,m=t.ctaType,g=t.error,p=t.onClick,f=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":g})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===m&&e.createElement(c.Button,{"aria-label":f,href:l,onClick:p},u),u&&"link"===m&&e.createElement(s.a,{href:l,onClick:p,"aria-label":f,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},,,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(0),m=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:s()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":l})}),r)}));m.displayName="Badge",m.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=m}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),i=n.n(r),a=n(13),o=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function s(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function l(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(7),a=n.n(i),o=n(46),c=n(142),s=n(136),l=(r={},a()(r,o.c.QUARTER,3),a()(r,o.c.HALF,6),a()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,s.a]},function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),d=Object(c.a)(i,n,s,r),m={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);m[r]||(m[r]=Object(a.once)(d)),m[r].apply(m,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,m=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==m?void 0:m.length)?m.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n,r){var a=Object(l.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,l){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},u),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},,,function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),a=n.n(i),o=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),d=n(3),m=n(24),g=n(6),p=n(36),f=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},y={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},E="feature_tooltip_view",_="feature_tooltip_advance",j="feature_tooltip_return",S="feature_tooltip_dismiss",k="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(i,"-step"),A="".concat(i,"-run"),T=Object(d.useDispatch)(m.b).setValue,w=Object(d.useDispatch)(g.a).dismissTour,D=Object(d.useRegistry)(),C=Object(b.a)(),N=Object(d.useSelect)((function(e){return e(m.b).getValue(u)})),I=Object(d.useSelect)((function(e){return e(m.b).getValue(A)&&!1===e(g.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),T(A,!0)}));var R=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,l=t+1,u="function"==typeof s?s(C):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,E,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,S,l):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===l&&Object(p.b)(u,k,l),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,j,l),n===c.a.NEXT&&Object(p.b)(u,_,l))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,m=n===c.a.CLOSE,g=!m&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),f=[c.d.FINISHED,c.d.SKIPPED].includes(a),b=m&&d===c.b.STEP_AFTER,v=f||b;if(c.b.STEP_BEFORE===d){var h,y,O=o.target;"string"==typeof o.target&&(O=e.document.querySelector(o.target)),null===(h=O)||void 0===h||null===(y=h.scrollIntoView)||void 0===y||y.call(h,{block:"center"})}g?function(e,t){T(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),w(i)),l&&l(t,D)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:y,run:I,showProgress:!0,stepIndex:N,steps:R,styles:h,tooltipComponent:f.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(415);n.d(t,"a",(function(){return r.a}));var i=n(416);n.d(t,"b",(function(){return i.a}));var a=n(417);n.d(t,"c",(function(){return a.a}));var o=n(418);n.d(t,"d",(function(){return o.a}));var c=n(419);n.d(t,"e",(function(){return c.a}));var s=n(420);n.d(t,"f",(function(){return s.a}));var l=n(255);n.d(t,"g",(function(){return l.a}));var u=n(189);n.d(t,"h",(function(){return u.a}));n(421)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(15),s=n.n(c),l=n(23),u=n.n(l),d=n(222),m=n(1),g=n.n(m),p=n(0);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(t){function WithIntersectionObserverComponent(n){var r=n.onInView,i=u()(n,["onInView"]),a=Object(p.useRef)(),c=Object(d.a)(a,{root:null,threshold:.45}),l=Object(p.useState)(!1),m=s()(l,2),g=m[0],f=m[1],b=!!(null==c?void 0:c.isIntersecting)&&!!(null==c?void 0:c.intersectionRatio);return Object(p.useEffect)((function(){c&&b&&!g&&(r(),f(!0))}),[g,b,c,r]),e.createElement(t,o()({ref:a},i))}return WithIntersectionObserverComponent.displayName="WithIntersectionObserverComponent",(t.displayName||t.name)&&(WithIntersectionObserverComponent.displayName+="(".concat(t.displayName||t.name,")")),WithIntersectionObserverComponent.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onInView:g.a.func.isRequired},t.propTypes),WithIntersectionObserverComponent}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var i=n(160);n.d(t,"c",(function(){return i.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",i()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=a(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),i&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(200),s=n(38),l=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,m=t.handleDialog,g=void 0===m?null:m,p=t.onOpen,f=void 0===p?null:p,b=t.onClose,v=void 0===b?null:b,h=t.title,y=void 0===h?null:h,O=t.provides,E=t.handleConfirm,_=t.subtitle,j=t.confirmButton,S=void 0===j?null:j,k=t.dependentModules,A=t.danger,T=void 0!==A&&A,w=t.inProgress,D=void 0!==w&&w,C=t.small,N=void 0!==C&&C,I=t.medium,R=void 0!==I&&I,x=t.buttonLink,P=void 0===x?null:x,M=Object(c.a)(ModalDialog),L="googlesitekit-dialog-description-".concat(M),G=!(!O||!O.length);return e.createElement(u.Dialog,{open:a,onOpen:f,onClose:v,"aria-describedby":G?L:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":N,"googlesitekit-dialog-md":R})},e.createElement(u.DialogTitle,null,T&&e.createElement(d.a,{width:28,height:28}),y),_?e.createElement("p",{className:"mdc-dialog__lead"},_):[],e.createElement(u.DialogContent,null,G&&e.createElement("section",{id:L,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),k&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(l.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(l.__)("<strong>Note:</strong> %s","google-site-kit"),k),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:D},Object(l.__)("Cancel","google-site-kit")),P?e.createElement(u.Button,{href:P,onClick:E,target:"_blank",danger:T},S):e.createElement(u.SpinnerButton,{onClick:E,danger:T,disabled:D,isSaving:D},S||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},function(e,t,n){"use strict";var r=n(343),i=n(339);n.d(t,"b",(function(){return i.a}));var a=n(340);n.d(t,"c",(function(){return a.a}));var o=n(341);n.d(t,"d",(function(){return o.a}));var c=n(342);n.d(t,"a",(function(){return c.a})),t.e=r.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),l=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,m=t.storeName,g=t.message,p=void 0===g?r.message:g,f=t.noPrefix,b=void 0!==f&&f,v=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return m?e(m).getSelectorDataForError(r):null})),O=Object(a.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!r||Object(l.f)(r))return null;var E=d&&Object(l.d)(r,y);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),E&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),m=n(14),g=n(19),p=n(34),f=n(35),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,y=t.onRequestAccess,O=t.getHelpClassName,E=t.RequestAccessButton,_=t.RetryButton,j=Object(f.a)(),S=Object(u.useSelect)((function(e){return e(g.a).getModuleStoreName(n)})),k=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(S))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(S).getServiceEntityAccessURL():null})),A=Array.isArray(r)?r:[r],T=Object(u.useSelect)((function(e){return A.map((function(t){var n,r=null===(n=e(S))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:r})}))})),w=null==T?void 0:T.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),D=!!w.length,C=Object(u.useSelect)((function(e){var t=h({},D?w[0]:A[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(m.c).getErrorTroubleshootingLinkURL(t)})),N=Object(u.useDispatch)(),I=A.some((function(e){return Object(p.e)(e)})),R=Object(c.useCallback)((function(){w.forEach((function(e){var t=e.selectorData;N(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[N,w,v]),x=k&&I&&!j;return e.createElement("div",{className:"googlesitekit-report-error-actions"},x&&("function"==typeof E?e.createElement(E,{requestAccessURL:k}):e.createElement(d.Button,{onClick:y,href:k,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Request access","google-site-kit"))),D&&e.createElement(c.Fragment,null,"function"==typeof _?e.createElement(_,{handleRetry:R}):e.createElement(d.Button,{onClick:R,danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:C,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!D&&!a&&e.createElement("div",{className:O},"function"==typeof i?e.createElement(i,{linkURL:C}):e.createElement(b.a,{href:C,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(3),a=n(46);function o(e,t,n){var o=Object(i.useDispatch)(a.a),c=o.setWidgetState,s=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){s(e,t,n)}}),[e,t,n,c,s])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(10),s=n(277);function InfoTooltip(t){var n=t.onOpen,r=t.title,a=t.tooltipClassName;return r?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:i()("googlesitekit-info-tooltip__content",a),title:r,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(s.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:o.a.func,title:o.a.oneOfType([o.a.string,o.a.element]),tooltipClassName:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(12),m=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,f=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,E=t.mdOrder,_=t.lgSize,j=t.lgStart,S=t.lgOrder,k=t.size,A=t.children,T=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},T,{className:m()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":f},o()(n,"mdc-layout-grid__cell--span-".concat(k),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),A)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),m=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));m.displayName="Row",m.propTypes={className:s.a.string,children:s.a.node},m.defaultProps={className:""},t.a=m}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),m=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));m.displayName="Grid",m.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},m.defaultProps={className:""},t.a=m}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(166),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(10),m=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,p=t.step,f=t.tooltipProps,b=u>1?Object(m.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:s()("googlesitekit-tour-tooltip",p.className)},f),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,l.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectGA4CTATileWidget}));var r=n(1),i=n.n(r),a=n(3),o=n(515),c=n(118),s=n(6),l=n(92),u={moduleSlug:"analytics-4"};function ConnectGA4CTATileWidget(t){var n=t.Widget,r=t.widgetSlug,i=Object(a.useSelect)((function(e){var t=e(s.a).getKeyMetrics();return t?t.filter((function(e){return s.Q.includes(e)})).length:[]}))>3?l.a:o.a;return Object(c.a)(r,i,u),e.createElement(n,null,e.createElement(o.a,u))}ConnectGA4CTATileWidget.propTypes={Widget:i.a.elementType.isRequired,widgetSlug:i.a.string.isRequired}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(23),i=n.n(r),a=n(7),o=n.n(a),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),m=n.n(d),g=n(41),p=n(8),f=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),s=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(s.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"c",(function(){return i.a})),n.d(t,"b",(function(){return a.a})),n.d(t,"g",(function(){return o.a})),n.d(t,"d",(function(){return c.a})),n.d(t,"e",(function(){return s.a})),n.d(t,"f",(function(){return l.a})),n.d(t,"h",(function(){return ZeroDataMessage}));var r=n(537),i=n(538),a=n(539),o=(n(330),n(540)),c=n(541),s=n(507),l=(n(402),n(373),n(542)),u=n(1),d=n.n(u),m=n(2),g=n(3),p=n(14);function ZeroDataMessage(e){var t=e.skipPrefix,n=Object(g.useSelect)((function(e){return e(p.c).getCurrentEntityURL()}));return t?n?Object(m.__)("Your page hasn’t received any visitors yet","google-site-kit"):Object(m.__)("Your site hasn’t received any visitors yet","google-site-kit"):n?Object(m.__)("No data to display: your page hasn’t received any visitors yet","google-site-kit"):Object(m.__)("No data to display: your site hasn’t received any visitors yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:d.a.bool}},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),m=n(49),g=n.n(m),p=n(1),f=n.n(p),b=n(0),v=n(2),h=n(67);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var O=function(t){l()(MediaErrorHandler,t);var n=y(MediaErrorHandler);function MediaErrorHandler(e){var t;return a()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?r.createElement(h.a,{message:n}):t}}]),MediaErrorHandler}(b.Component);O.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},O.propTypes={children:f.a.node.isRequired,errorMessage:f.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(0),l=n(2),u=n(3),d=n(19),m=n(34),g=n(150),p=n(81),f=n(67),b=n(85),v=n(117),h=n(35);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(h.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),y=Array.isArray(i)?i:[i],E=function(e){return Object(m.e)(e)?a?(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(g.a)(e.message,o)):Object(m.b)(e)},_=Object(c.uniqWith)(y.map((function(e){var t;return O(O({},e),{},{message:E(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),j=y.some((function(e){return Object(m.e)(e)}));j||1!==_.length?!j&&_.length>1&&(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var S=e.createElement(s.Fragment,null,_.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(f.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},p.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(b.a,{title:n,description:S,error:!0},e.createElement(v.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),s=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(s.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(116),c=n(19),s=n(34),l=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,u=t.storeName,d=Object(a.useSelect)((function(e){return e(u).getErrors()})),m=Object(a.useSelect)((function(e){return e(c.a).getModule(i)})),g=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||g.includes(e.message))&&(g.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(s.e)(t)&&(i=Object(l.a)(i,m)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:u,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var r=n(33),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},,function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var i=n(68);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"d",(function(){return g}));var r=1,i=2,a=3,o="enhanced-measurement-activation-banner-tooltip-state",c="enhanced-measurement-activation-banner-dismissed-item",s="_r.explorerCard..selmet",l="_r.explorerCard..seldim",u="_r..dataFilters",d="_r..nav",m="key-metrics-connect-ga4-cta-widget",g="ads-conversion-id-notice-dismissed-item"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(2),i="audience-segmentation-info-notice-ui",a="audience-segmentation-info-notice",o=[{slug:"new-visitors",content:Object(r.__)("The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.","google-site-kit")},{slug:"compare-metrics",content:Object(r.__)("Select up to three visitor groups to display on the dashboard and easily compare metrics between them.","google-site-kit")},{slug:"custom-audiences",content:Object(r.__)("Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.","google-site-kit")},{slug:"purchasers",content:Object(r.__)("Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.","google-site-kit")},{slug:"returning-visitors",content:Object(r.__)("The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.","google-site-kit")},{slug:"compare-new-returning",content:Object(r.__)("Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.","google-site-kit")},{slug:"compare-cities",content:Object(r.__)("Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.","google-site-kit")}]},function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},,,,,function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(198),u=n(211),d=n(68),m=n(6),g=n(10),p=n(0),f=Object(p.forwardRef)((function(t,n){var r=t.className,a=t.children,o=t.type,p=t.dismiss,f=void 0===p?"":p,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,y=t.Icon,O=void 0===y?Object(d.d)(o):y,E=t.OuterCTA,_=Object(s.useDispatch)(m.a).dismissItem,j=Object(s.useSelect)((function(e){return f?e(m.a).isItemDismissed(f):void 0}));if(f&&j)return null;var S=a?u.a:l.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(S,t)),f&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{tertiary:!0,onClick:function(){_(f),b()}},h)),E&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(E,null)))}));f.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},f.defaultProps={type:d.a},t.a=f}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(24);function a(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),i=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),s=Object(l.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(d.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileLoading}));var r=n(40);function AudienceTileLoading(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-loading"},e.createElement(r.a,{width:"100%",height:"20px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(355);function i(e){return Object(r.a)(e)}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),i=function(e){return r.f.includes(e)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(8);function ChangeBadge(t){var n=t.previousValue,r=t.currentValue,i=t.isAbsolute?r-n:Object(c.h)(n,r),a=i<0,s=0===i;return null===i?null:e.createElement("div",{className:o()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":a,"googlesitekit-change-badge--zero":s})},Object(c.C)(i,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:i.a.bool,previousValue:i.a.number.isRequired,currentValue:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(7),i=n.n(r),a=n(2),o=n(6),c=n(14),s=n(9),l=n(44);function u(e,t,n){return!!Object(l.b)("conversionReporting")&&(e(s.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(o.a).isKeyMetricActive(n))}var d,m=n(30);function g(e,t){return!t||!(!t||!e(s.p).getAdSenseLinked())}function p(e,t){return!t||e(s.p).hasCustomDimensions(this.requiredCustomDimensions)}var f=(d={},i()(d,o.f,{title:Object(a.__)("Top earning pages","google-site-kit"),description:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:g,displayInList:g,metadata:{group:m.d.SLUG}}),i()(d,o.y,{title:Object(a.__)("Top recent trending pages","google-site-kit"),description:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:m.d.SLUG}}),i()(d,o.l,{title:Object(a.__)("Most popular authors by pageviews","google-site-kit"),description:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:m.d.SLUG}}),i()(d,o.p,{title:Object(a.__)("Top categories by pageviews","google-site-kit"),description:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:m.d.SLUG}}),i()(d,o.m,{title:Object(a.__)("Most popular content by pageviews","google-site-kit"),description:Object(a.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:m.d.SLUG}}),i()(d,o.n,{title:Object(a.__)("Most popular products by pageviews","google-site-kit"),description:Object(a.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(o.a).isKeyMetricActive(o.n)||e(c.c).getProductPostType()},displayInWidgetArea:p,metadata:{group:m.g.SLUG}}),i()(d,o.k,{title:Object(a.__)("Pages per visit","google-site-kit"),description:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.F,{title:Object(a.__)("Visit length","google-site-kit"),description:Object(a.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(a.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.E,{title:Object(a.__)("Visits per visitor","google-site-kit"),description:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.i,{title:Object(a.__)("Most engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:m.d.SLUG}}),i()(d,o.h,{title:Object(a.__)("Least engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(a.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:m.d.SLUG}}),i()(d,o.z,{title:Object(a.__)("Top pages by returning visitors","google-site-kit"),description:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.j,{title:Object(a.__)("New visitors","google-site-kit"),description:Object(a.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(a.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.o,{title:Object(a.__)("Returning visitors","google-site-kit"),description:Object(a.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(a.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:m.h.SLUG}}),i()(d,o.A,{title:Object(a.__)("Top traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.B,{title:Object(a.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.g.SLUG}}),i()(d,o.C,{title:Object(a.__)("Top traffic source driving leads","google-site-kit"),description:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.f.SLUG}}),i()(d,o.D,{title:Object(a.__)("Top traffic source driving purchases","google-site-kit"),description:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.g.SLUG}}),i()(d,o.g,{title:Object(a.__)("Most engaged traffic source","google-site-kit"),description:Object(a.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.u,{title:Object(a.__)("Top converting traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.q,{title:Object(a.__)("Top cities driving traffic","google-site-kit"),description:Object(a.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.s,{title:Object(a.__)("Top cities driving leads","google-site-kit"),description:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.f.SLUG}}),i()(d,o.r,{title:Object(a.__)("Top cities driving add to cart","google-site-kit"),description:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.g.SLUG}}),i()(d,o.t,{title:Object(a.__)("Top cities driving purchases","google-site-kit"),description:Object(a.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.g.SLUG}}),i()(d,o.w,{title:Object(a.__)("Top device driving purchases","google-site-kit"),description:Object(a.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.g.SLUG}}),i()(d,o.v,{title:Object(a.__)("Top countries driving traffic","google-site-kit"),description:Object(a.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.G,{title:Object(a.__)("Top performing keywords","google-site-kit"),description:Object(a.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(a.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:m.e.SLUG}}),i()(d,o.x,{title:Object(a.__)("Top pages driving leads","google-site-kit"),description:Object(a.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:m.f.SLUG}}),d)},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(3),l=n(14),u=n(6),d=n(19),m=n(32),g=n(36),p=n(18);function f(e){var t=Object(p.a)(),n=Object(s.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(s.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(s.useDispatch)(d.a).activateModule,f=Object(s.useDispatch)(m.a).navigateTo,b=Object(s.useDispatch)(l.c).setInternalServerError,v=Object(c.useCallback)(o()(i.a.mark((function n(){var r,o,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(g.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:f(c.moduleReauthURL),n.next=12;break;case 11:b({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,f,b,t]);return(null==n?void 0:n.name)&&r?v:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,a=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(l.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},l.a.propTypes)}).call(this,n(4))},function(e,t){e.exports=googlesitekit.modules},,function(e,t,n){"use strict";n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return f.a})),n.d(t,"g",(function(){return f.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return b})),n.d(t,"e",(function(){return l}));var r=n(15),i=n.n(r),a=n(27),o=n.n(a),c=n(96),s=n(92);function l(e){return!!e&&e.Component===s.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function m(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,s=function(e,t){return e.counter-t.counter},m=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(p,f){if(l(t[p.slug]))return n.push(0),void r.push(o);var b=d(a,p),v=function(e,t,n){for(;++e<t.length;)if(!l(n[t[e].slug]))return t[e];return null}(f,e,t);null!==v&&0!==d(b.sort(s)[0].counter,v).filter(g).length||b.some(g)&&(b=(b=b.sort(m)).filter(g));var h=b[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[f]++,9===a){var y=u(n,a),O=i()(y,2);n=O[0],a=O[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var p=u(n,a),f=i()(p,2);n=f[0],a=f[1]}return{columnWidths:n,rowIndexes:r}}var g=n(13);function p(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],s=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:s,overrideComponents:a};var l=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],o=null==t?void 0:t[a.slug],s=null==o?void 0:o.Component,l=null==o||null===(i=o.metadata)||void 0===i?void 0:i.moduleSlug,u=c.b.includes(s);if(!s||!l||!u)return!1;if(n[l]){if(n[l]!==s)return!1}else n[l]=s}return!(Object.keys(n).length>1)}(e,t)){var m=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(m))}}return e.forEach((function(n,o){var c,m,p,f,b;if(a.push(null),l=t[n.slug],u=i[o],l)if(m=l,p=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],f=u,b=i[o+1],f===b&&Object(g.isEqual)(m,p))d.push(r[o]),s[o]=0;else if(d.length>0){d.push(r[o]);var v=d.reduce((function(e,t){return e+t}),0);a[o]=l,s[o]=v,d=[]}})),{gridColumnWidths:s,overrideComponents:a}}var f=n(207);function b(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return k})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return T})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return D}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(7),s=n.n(c),l=n(11),u=n.n(l),d=n(13),m=n(42),g=n.n(m),p=n(3),f=n(59),b=n(78),v=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.a.clearError,_=h.a.receiveError,j="cannot submit changes while submitting changes",S="cannot submit changes if settings have not changed",k=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,a=void 0===i?void 0:i,c=r.storeName,l=void 0===c?void 0:c,m=r.settingSlugs,h=void 0===m?[]:m,y=r.initialSettings,j=void 0===y?void 0:y,S=r.validateHaveSettingsChanged,k=void 0===S?D():S;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var A=l||"".concat(e,"/").concat(t),T={ownedSettingsSlugs:a,settings:j,savedSettings:void 0},w=Object(v.a)({baseName:"getSettings",controlCallback:function(){return g.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),C=Object(v.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return g.a.set(e,t,n,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(Object(d.isPlainObject)(t),"values is required.")}}),N={},I={setSettings:function(e){return u()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,E("saveSettings",[]);case 5:return n=t.select(A).getSettings(),e.next=8,C.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(a=r.error)){e.next=14;break}return e.next=14,_(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},R={},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==N[n]?N[n](e,{type:n,payload:r}):e}},P={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(A).getSettings()){e.next=7;break}return e.next=7,w.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},M=Object(f.g)(k),L=M.safeSelector,G=M.dangerousSelector,B={haveSettingsChanged:L,__dangerousHaveSettingsChanged:G,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(d.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(A).getOwnedSettingsSlugs();return e(A).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);I["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},N["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},B["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(A).getSettings()||{})[e]}}))}));var V=Object(p.combineStores)(p.commonStore,w,C,{initialState:T,actions:I,controls:R,reducer:x,resolvers:P,selectors:B});return O(O({},V),{},{STORE_NAME:A})};function A(e,t){return function(){var n=i()(o.a.mark((function n(r){var i,a,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,a=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,a(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,g.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function T(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function w(e){return function(t){var n=Object(f.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;u()(!i(),j),u()(r(),S)}}function D(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&u()(!Object(d.isEqual)(Object(d.pick)(r,n),Object(d.pick)(i,n)),S),u()(!Object(d.isEqual)(r,i),S)}}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),a=" ";function DisplaySetting(e){return e.value||a}DisplaySetting.propTypes={value:i.a.oneOfType([i.a.string,i.a.bool,i.a.number])},t.b=DisplaySetting},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileWrapper}));var r=n(12),i=n.n(r),a=n(13),o=n(1),c=n.n(o),s=n(0),l=n(2),u=n(172),d=n(437),m=n(438),g=n(264),p=n(439),f=n(117),b=n(34),v=n(8),h=n(18);function MetricTileWrapper(t){var n,r,o,c=t.className,y=t.children,O=t.error,E=t.loading,_=t.moduleSlug,j=t.Widget,S=t.widgetSlug,k=t.title,A=void 0===k?null===(n=u.a[S])||void 0===n?void 0:n.title:k,T=t.infoTooltip,w=void 0===T?(null===(r=u.a[S])||void 0===r?void 0:r.infoTooltip)||(null===(o=u.a[S])||void 0===o?void 0:o.description):T,D=Object(h.a)(),C=!!O&&Object(a.castArray)(O).some(b.e),N=Object(s.useCallback)((function(){Object(v.J)("".concat(D,"_kmw"),"data_loading_error_retry")}),[D]);return Object(s.useEffect)((function(){O&&Object(v.J)("".concat(D,"_kmw"),"data_loading_error")}),[D,O]),O?e.createElement(g.a,{title:C?Object(l.__)("Insufficient permissions","google-site-kit"):Object(l.__)("Data loading failed","google-site-kit"),headerText:A,infoTooltip:w},e.createElement(f.a,{moduleSlug:_,error:O,onRetry:N,GetHelpLink:C?d.a:void 0,getHelpClassName:"googlesitekit-error-retry-text"})):e.createElement(j,{noPadding:!0},e.createElement("div",{className:i()("googlesitekit-km-widget-tile",c)},e.createElement(p.a,{title:A,infoTooltip:w,loading:E}),e.createElement("div",{className:"googlesitekit-km-widget-tile__body"},E&&e.createElement(m.a,null),!E&&y)))}MetricTileWrapper.propTypes={Widget:c.a.elementType.isRequired,loading:c.a.bool,title:c.a.string,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),moduleSlug:c.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(13),i=n(1),a=n.n(i),o=n(0),c=n(54),s=n(3),l=n(34),u=n(24),d=n(153),m=n(442),g=n(108),p=n(8),f=n(18),b=Object(g.a)(m.a);function AudienceSegmentationErrorWidget(t){var n=t.Widget,i=t.errors,a=t.onRetry,c=t.showRetryButton,m=Object(f.a)(),g=Object(s.useDispatch)(u.b).setValue,v=i?Object(r.castArray)(i):[],h=v.some(l.e);return Object(o.useEffect)((function(){g(d.b,!0)}),[g]),e.createElement(b,{Widget:n,errors:v,onRetry:function(){Object(p.J)("".concat(m,"_audiences-all-tiles"),"data_loading_error_retry").finally((function(){g(d.b,!1),null==a||a()}))},onRequestAccess:function(){Object(p.J)("".concat(m,"_audiences-all-tiles"),"insufficient_permissions_error_request_access")},showRetryButton:c,onInView:function(){var e=h?"insufficient_permissions_error":"data_loading_error";Object(p.J)("".concat(m,"_audiences-all-tiles"),e)}})}AudienceSegmentationErrorWidget.propTypes={Widget:a.a.elementType.isRequired,errors:a.a.oneOfType([a.a.object,a.a.arrayOf(a.a.object)]).isRequired,onRetry:a.a.func,showRetryButton:a.a.bool},t.a=Object(c.a)({moduleName:"analytics-4"})(AudienceSegmentationErrorWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(186),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(254),m=n(412),g=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(l.useState)(!1),c=i()(a,2),s=c[0],f=c[1];return e.createElement(p.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),f(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?m.a:g.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(2),u=n(3),d=n(120),m=n(60),g=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,s=void 0===c?Object(l.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,f=void 0===p?0:p,b=t.disabled,v=t.onDismiss,h=void 0===v?function(){}:v,y=t.gaTrackingEventArgs,O=Object(d.a)(n),E=Object(u.useDispatch)(m.a).dismissNotification,_=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==h?void 0:h(t);case 2:O.dismiss(null==y?void 0:y.label,null==y?void 0:y.value),E(n,{expiresInSeconds:f});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(g.Button,{tertiary:!a,onClick:_,disabled:b},s)}Dismiss.propTypes={id:s.a.string,primary:s.a.bool,dismissLabel:s.a.string,dismissExpires:s.a.number,disabled:s.a.bool,onDismiss:s.a.func,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(17),l=Object(c.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,l=t.secondaryPane;return e.createElement("section",{id:r,className:o()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,a)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,m=t.smallWinImageSVGHeight,g=void 0===m?75:m;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(l.a,{label:r})),a&&e.createElement("div",{className:s()(i()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(221),m=n(0),g=n(3),p=n(10),f=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,b=t.dismissCallback,v=Object(m.useState)(!1),h=s()(v,2),y=h[0],O=h[1],E=Object(d.a)(),_=Object(g.useSelect)((function(e){return!!n&&e(f.a).isNavigatingTo(n)})),j=function(){var e=o()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(O(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:E()&&O(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:j,disabled:y||_,isSaving:y||_},r),u&&e.createElement(p.Button,{tertiary:n||a,onClick:b,disabled:y||_},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(118),s=n(92);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,s.a,u),e.createElement(s.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,l=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var m;return r&&(m=e.createElement(a.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:l===s.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,m&&e.createElement("p",null,m)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",m))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(s.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(0),i=n(1),a=n.n(i),o=n(3),c=n(14),s=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,a=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()})),l=Object(o.useDispatch)(s.a).triggerSurvey;return Object(r.useEffect)((function(){a&&l(t,{ttl:i})}),[a,t,i,l]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(13),i=[{countryCode:"AF",displayName:"Afghanistan",defaultTimeZoneId:"Asia/Kabul",timeZone:[{timeZoneId:"Asia/Kabul",displayName:"(GMT+04:30) Afghanistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AL",displayName:"Albania",defaultTimeZoneId:"Europe/Tirane",timeZone:[{timeZoneId:"Europe/Tirane",displayName:"(GMT+02:00) Albania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DZ",displayName:"Algeria",defaultTimeZoneId:"Africa/Algiers",timeZone:[{timeZoneId:"Africa/Algiers",displayName:"(GMT+01:00) Algeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AS",displayName:"American Samoa",defaultTimeZoneId:"Pacific/Pago_Pago",timeZone:[{timeZoneId:"Pacific/Pago_Pago",displayName:"(GMT-11:00) American Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AD",displayName:"Andorra",defaultTimeZoneId:"Europe/Andorra",timeZone:[{timeZoneId:"Europe/Andorra",displayName:"(GMT+02:00) Andorra Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AQ",displayName:"Antarctica",defaultTimeZoneId:"Antarctica/Palmer",timeZone:[{timeZoneId:"Antarctica/Palmer",displayName:"(GMT-03:00) Palmer Time"},{timeZoneId:"Antarctica/Rothera",displayName:"(GMT-03:00) Rothera Time"},{timeZoneId:"Antarctica/Syowa",displayName:"(GMT+03:00) Syowa Time"},{timeZoneId:"Antarctica/Mawson",displayName:"(GMT+05:00) Mawson Time"},{timeZoneId:"Antarctica/Vostok",displayName:"(GMT+06:00) Vostok Time"},{timeZoneId:"Antarctica/Davis",displayName:"(GMT+07:00) Davis Time"},{timeZoneId:"Antarctica/Casey",displayName:"(GMT+08:00) Casey Time"},{timeZoneId:"Antarctica/DumontDUrville",displayName:"(GMT+10:00) Dumont d’Urville Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AR",displayName:"Argentina",defaultTimeZoneId:"America/Buenos_Aires",timeZone:[{timeZoneId:"America/Buenos_Aires",displayName:"(GMT-03:00) Buenos Aires Time"},{timeZoneId:"America/Cordoba",displayName:"(GMT-03:00) Cordoba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"AM",displayName:"Armenia",defaultTimeZoneId:"Asia/Yerevan",timeZone:[{timeZoneId:"Asia/Yerevan",displayName:"(GMT+04:00) Armenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AU",displayName:"Australia",defaultTimeZoneId:"Australia/Perth",timeZone:[{timeZoneId:"Australia/Perth",displayName:"(GMT+08:00) Perth Time"},{timeZoneId:"Australia/Adelaide",displayName:"(GMT+09:30) Adelaide Time"},{timeZoneId:"Australia/Darwin",displayName:"(GMT+09:30) Darwin Time"},{timeZoneId:"Australia/Brisbane",displayName:"(GMT+10:00) Brisbane Time"},{timeZoneId:"Australia/Hobart",displayName:"(GMT+10:00) Hobart Time"},{timeZoneId:"Australia/Melbourne",displayName:"(GMT+10:00) Melbourne Time"},{timeZoneId:"Australia/Sydney",displayName:"(GMT+10:00) Sydney Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AT",displayName:"Austria",defaultTimeZoneId:"Europe/Vienna",timeZone:[{timeZoneId:"Europe/Vienna",displayName:"(GMT+02:00) Austria Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"AZ",displayName:"Azerbaijan",defaultTimeZoneId:"Asia/Baku",timeZone:[{timeZoneId:"Asia/Baku",displayName:"(GMT+04:00) Azerbaijan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BS",displayName:"Bahamas",defaultTimeZoneId:"America/Nassau",timeZone:[{timeZoneId:"America/Nassau",displayName:"(GMT-04:00) Bahamas Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BD",displayName:"Bangladesh",defaultTimeZoneId:"Asia/Dhaka",timeZone:[{timeZoneId:"Asia/Dhaka",displayName:"(GMT+06:00) Bangladesh Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BB",displayName:"Barbados",defaultTimeZoneId:"America/Barbados",timeZone:[{timeZoneId:"America/Barbados",displayName:"(GMT-04:00) Barbados Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BY",displayName:"Belarus",defaultTimeZoneId:"Europe/Minsk",timeZone:[{timeZoneId:"Europe/Minsk",displayName:"(GMT+03:00) Belarus Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BE",displayName:"Belgium",defaultTimeZoneId:"Europe/Brussels",timeZone:[{timeZoneId:"Europe/Brussels",displayName:"(GMT+02:00) Belgium Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"BZ",displayName:"Belize",defaultTimeZoneId:"America/Belize",timeZone:[{timeZoneId:"America/Belize",displayName:"(GMT-06:00) Belize Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BM",displayName:"Bermuda",defaultTimeZoneId:"Atlantic/Bermuda",timeZone:[{timeZoneId:"Atlantic/Bermuda",displayName:"(GMT-03:00) Bermuda Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BT",displayName:"Bhutan",defaultTimeZoneId:"Asia/Thimphu",timeZone:[{timeZoneId:"Asia/Thimphu",displayName:"(GMT+06:00) Bhutan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BO",displayName:"Bolivia",defaultTimeZoneId:"America/La_Paz",timeZone:[{timeZoneId:"America/La_Paz",displayName:"(GMT-04:00) Bolivia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BA",displayName:"Bosnia & Herzegovina",defaultTimeZoneId:"Europe/Sarajevo",timeZone:[{timeZoneId:"Europe/Sarajevo",displayName:"(GMT+02:00) Bosnia & Herzegovina Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BR",displayName:"Brazil",defaultTimeZoneId:"America/Rio_Branco",timeZone:[{timeZoneId:"America/Rio_Branco",displayName:"(GMT-05:00) Rio Branco Time"},{timeZoneId:"America/Boa_Vista",displayName:"(GMT-04:00) Boa Vista Time"},{timeZoneId:"America/Campo_Grande",displayName:"(GMT-04:00) Campo Grande Time"},{timeZoneId:"America/Cuiaba",displayName:"(GMT-04:00) Cuiaba Time"},{timeZoneId:"America/Manaus",displayName:"(GMT-04:00) Manaus Time"},{timeZoneId:"America/Porto_Velho",displayName:"(GMT-04:00) Porto Velho Time"},{timeZoneId:"America/Araguaina",displayName:"(GMT-03:00) Araguaina Time"},{timeZoneId:"America/Bahia",displayName:"(GMT-03:00) Bahia Time"},{timeZoneId:"America/Belem",displayName:"(GMT-03:00) Belem Time"},{timeZoneId:"America/Fortaleza",displayName:"(GMT-03:00) Fortaleza Time"},{timeZoneId:"America/Maceio",displayName:"(GMT-03:00) Maceio Time"},{timeZoneId:"America/Recife",displayName:"(GMT-03:00) Recife Time"},{timeZoneId:"America/Sao_Paulo",displayName:"(GMT-03:00) Sao Paulo Time"},{timeZoneId:"America/Noronha",displayName:"(GMT-02:00) Noronha Time"}],tosLocale:{language:"pt",country:"BR"}},{countryCode:"IO",displayName:"British Indian Ocean Territory",defaultTimeZoneId:"Indian/Chagos",timeZone:[{timeZoneId:"Indian/Chagos",displayName:"(GMT+06:00) British Indian Ocean Territory Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BN",displayName:"Brunei",defaultTimeZoneId:"Asia/Brunei",timeZone:[{timeZoneId:"Asia/Brunei",displayName:"(GMT+08:00) Brunei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BG",displayName:"Bulgaria",defaultTimeZoneId:"Europe/Sofia",timeZone:[{timeZoneId:"Europe/Sofia",displayName:"(GMT+03:00) Bulgaria Time"}],tosLocale:{language:"bg",country:"BG"}},{countryCode:"CA",displayName:"Canada",defaultTimeZoneId:"America/Dawson",timeZone:[{timeZoneId:"America/Dawson",displayName:"(GMT-07:00) Dawson Time"},{timeZoneId:"America/Vancouver",displayName:"(GMT-07:00) Vancouver Time"},{timeZoneId:"America/Whitehorse",displayName:"(GMT-07:00) Whitehorse Time"},{timeZoneId:"America/Edmonton",displayName:"(GMT-06:00) Edmonton Time"},{timeZoneId:"America/Yellowknife",displayName:"(GMT-06:00) Yellowknife Time"},{timeZoneId:"America/Dawson_Creek",displayName:"(GMT-07:00) Dawson Creek Time"},{timeZoneId:"America/Winnipeg",displayName:"(GMT-05:00) Winnipeg Time"},{timeZoneId:"America/Regina",displayName:"(GMT-06:00) Regina Time"},{timeZoneId:"America/Iqaluit",displayName:"(GMT-04:00) Iqaluit Time"},{timeZoneId:"America/Toronto",displayName:"(GMT-04:00) Toronto Time"},{timeZoneId:"America/Halifax",displayName:"(GMT-03:00) Halifax Time"},{timeZoneId:"America/St_Johns",displayName:"(GMT-02:30) St. John’s Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CV",displayName:"Cape Verde",defaultTimeZoneId:"Atlantic/Cape_Verde",timeZone:[{timeZoneId:"Atlantic/Cape_Verde",displayName:"(GMT-01:00) Cape Verde Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TD",displayName:"Chad",defaultTimeZoneId:"Africa/Ndjamena",timeZone:[{timeZoneId:"Africa/Ndjamena",displayName:"(GMT+01:00) Chad Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"CL",displayName:"Chile",defaultTimeZoneId:"Pacific/Easter",timeZone:[{timeZoneId:"Pacific/Easter",displayName:"(GMT-06:00) Easter Time"},{timeZoneId:"America/Santiago",displayName:"(GMT-04:00) Chile Time"},{timeZoneId:"America/Punta_Arenas",displayName:"(GMT-03:00) Punta Arenas Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CN",displayName:"China",defaultTimeZoneId:"Asia/Shanghai",timeZone:[{timeZoneId:"Asia/Shanghai",displayName:"(GMT+08:00) China Time"}],tosLocale:{language:"zh",country:"CN"}},{countryCode:"CX",displayName:"Christmas Island",defaultTimeZoneId:"Indian/Christmas",timeZone:[{timeZoneId:"Indian/Christmas",displayName:"(GMT+07:00) Christmas Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CC",displayName:"Cocos (Keeling) Islands",defaultTimeZoneId:"Indian/Cocos",timeZone:[{timeZoneId:"Indian/Cocos",displayName:"(GMT+06:30) Cocos (Keeling) Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CO",displayName:"Colombia",defaultTimeZoneId:"America/Bogota",timeZone:[{timeZoneId:"America/Bogota",displayName:"(GMT-05:00) Colombia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CK",displayName:"Cook Islands",defaultTimeZoneId:"Pacific/Rarotonga",timeZone:[{timeZoneId:"Pacific/Rarotonga",displayName:"(GMT-10:00) Cook Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CR",displayName:"Costa Rica",defaultTimeZoneId:"America/Costa_Rica",timeZone:[{timeZoneId:"America/Costa_Rica",displayName:"(GMT-06:00) Costa Rica Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CI",displayName:"Côte d’Ivoire",defaultTimeZoneId:"Africa/Abidjan",timeZone:[{timeZoneId:"Africa/Abidjan",displayName:"(GMT+00:00) Côte d’Ivoire Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"HR",displayName:"Croatia",defaultTimeZoneId:"Europe/Zagreb",timeZone:[{timeZoneId:"Europe/Zagreb",displayName:"(GMT+02:00) Croatia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CU",displayName:"Cuba",defaultTimeZoneId:"America/Havana",timeZone:[{timeZoneId:"America/Havana",displayName:"(GMT-04:00) Cuba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CW",displayName:"Curaçao",defaultTimeZoneId:"America/Curacao",timeZone:[{timeZoneId:"America/Curacao",displayName:"(GMT-04:00) Curaçao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CY",displayName:"Cyprus",defaultTimeZoneId:"Asia/Nicosia",timeZone:[{timeZoneId:"Asia/Nicosia",displayName:"(GMT+03:00) Nicosia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CZ",displayName:"Czechia",defaultTimeZoneId:"Europe/Prague",timeZone:[{timeZoneId:"Europe/Prague",displayName:"(GMT+02:00) Czechia Time"}],tosLocale:{language:"cs",country:"CZ"}},{countryCode:"DK",displayName:"Denmark",defaultTimeZoneId:"Europe/Copenhagen",timeZone:[{timeZoneId:"Europe/Copenhagen",displayName:"(GMT+02:00) Denmark Time"}],tosLocale:{language:"da",country:"DK"}},{countryCode:"DO",displayName:"Dominican Republic",defaultTimeZoneId:"America/Santo_Domingo",timeZone:[{timeZoneId:"America/Santo_Domingo",displayName:"(GMT-04:00) Dominican Republic Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EC",displayName:"Ecuador",defaultTimeZoneId:"Pacific/Galapagos",timeZone:[{timeZoneId:"Pacific/Galapagos",displayName:"(GMT-06:00) Galapagos Time"},{timeZoneId:"America/Guayaquil",displayName:"(GMT-05:00) Ecuador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EG",displayName:"Egypt",defaultTimeZoneId:"Africa/Cairo",timeZone:[{timeZoneId:"Africa/Cairo",displayName:"(GMT+02:00) Egypt Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SV",displayName:"El Salvador",defaultTimeZoneId:"America/El_Salvador",timeZone:[{timeZoneId:"America/El_Salvador",displayName:"(GMT-06:00) El Salvador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EE",displayName:"Estonia",defaultTimeZoneId:"Europe/Tallinn",timeZone:[{timeZoneId:"Europe/Tallinn",displayName:"(GMT+03:00) Estonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FK",displayName:"Falkland Islands (Islas Malvinas)",defaultTimeZoneId:"Atlantic/Stanley",timeZone:[{timeZoneId:"Atlantic/Stanley",displayName:"(GMT-03:00) Falkland Islands (Islas Malvinas) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FO",displayName:"Faroe Islands",defaultTimeZoneId:"Atlantic/Faeroe",timeZone:[{timeZoneId:"Atlantic/Faeroe",displayName:"(GMT+01:00) Faroe Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FJ",displayName:"Fiji",defaultTimeZoneId:"Pacific/Fiji",timeZone:[{timeZoneId:"Pacific/Fiji",displayName:"(GMT+12:00) Fiji Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FI",displayName:"Finland",defaultTimeZoneId:"Europe/Helsinki",timeZone:[{timeZoneId:"Europe/Helsinki",displayName:"(GMT+03:00) Finland Time"}],tosLocale:{language:"fi",country:"FI"}},{countryCode:"FR",displayName:"France",defaultTimeZoneId:"Europe/Paris",timeZone:[{timeZoneId:"Europe/Paris",displayName:"(GMT+02:00) France Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GF",displayName:"French Guiana",defaultTimeZoneId:"America/Cayenne",timeZone:[{timeZoneId:"America/Cayenne",displayName:"(GMT-03:00) French Guiana Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"PF",displayName:"French Polynesia",defaultTimeZoneId:"Pacific/Tahiti",timeZone:[{timeZoneId:"Pacific/Tahiti",displayName:"(GMT-10:00) Tahiti Time"},{timeZoneId:"Pacific/Marquesas",displayName:"(GMT-09:30) Marquesas Time"},{timeZoneId:"Pacific/Gambier",displayName:"(GMT-09:00) Gambier Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"TF",displayName:"French Southern Territories",defaultTimeZoneId:"Indian/Kerguelen",timeZone:[{timeZoneId:"Indian/Kerguelen",displayName:"(GMT+05:00) French Southern Territories Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GE",displayName:"Georgia",defaultTimeZoneId:"Asia/Tbilisi",timeZone:[{timeZoneId:"Asia/Tbilisi",displayName:"(GMT+04:00) Georgia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DE",displayName:"Germany",defaultTimeZoneId:"Europe/Berlin",timeZone:[{timeZoneId:"Europe/Berlin",displayName:"(GMT+02:00) Germany Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"GH",displayName:"Ghana",defaultTimeZoneId:"Africa/Accra",timeZone:[{timeZoneId:"Africa/Accra",displayName:"(GMT+00:00) Ghana Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GI",displayName:"Gibraltar",defaultTimeZoneId:"Europe/Gibraltar",timeZone:[{timeZoneId:"Europe/Gibraltar",displayName:"(GMT+02:00) Gibraltar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GR",displayName:"Greece",defaultTimeZoneId:"Europe/Athens",timeZone:[{timeZoneId:"Europe/Athens",displayName:"(GMT+03:00) Greece Time"}],tosLocale:{language:"el",country:"GR"}},{countryCode:"GL",displayName:"Greenland",defaultTimeZoneId:"America/Thule",timeZone:[{timeZoneId:"America/Thule",displayName:"(GMT-03:00) Thule Time"},{timeZoneId:"America/Godthab",displayName:"(GMT-02:00) Nuuk Time"},{timeZoneId:"America/Scoresbysund",displayName:"(GMT+00:00) Ittoqqortoormiit Time"},{timeZoneId:"America/Danmarkshavn",displayName:"(GMT+00:00) Danmarkshavn Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GU",displayName:"Guam",defaultTimeZoneId:"Pacific/Guam",timeZone:[{timeZoneId:"Pacific/Guam",displayName:"(GMT+10:00) Guam Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"GT",displayName:"Guatemala",defaultTimeZoneId:"America/Guatemala",timeZone:[{timeZoneId:"America/Guatemala",displayName:"(GMT-06:00) Guatemala Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"GW",displayName:"Guinea-Bissau",defaultTimeZoneId:"Africa/Bissau",timeZone:[{timeZoneId:"Africa/Bissau",displayName:"(GMT+00:00) Guinea-Bissau Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GY",displayName:"Guyana",defaultTimeZoneId:"America/Guyana",timeZone:[{timeZoneId:"America/Guyana",displayName:"(GMT-04:00) Guyana Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HT",displayName:"Haiti",defaultTimeZoneId:"America/Port-au-Prince",timeZone:[{timeZoneId:"America/Port-au-Prince",displayName:"(GMT-04:00) Haiti Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HN",displayName:"Honduras",defaultTimeZoneId:"America/Tegucigalpa",timeZone:[{timeZoneId:"America/Tegucigalpa",displayName:"(GMT-06:00) Honduras Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HK",displayName:"Hong Kong",defaultTimeZoneId:"Asia/Hong_Kong",timeZone:[{timeZoneId:"Asia/Hong_Kong",displayName:"(GMT+08:00) Hong Kong Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HU",displayName:"Hungary",defaultTimeZoneId:"Europe/Budapest",timeZone:[{timeZoneId:"Europe/Budapest",displayName:"(GMT+02:00) Hungary Time"}],tosLocale:{language:"hu",country:"HU"}},{countryCode:"IS",displayName:"Iceland",defaultTimeZoneId:"Atlantic/Reykjavik",timeZone:[{timeZoneId:"Atlantic/Reykjavik",displayName:"(GMT+00:00) Iceland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IN",displayName:"India",defaultTimeZoneId:"Asia/Calcutta",timeZone:[{timeZoneId:"Asia/Calcutta",displayName:"(GMT+05:30) India Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ID",displayName:"Indonesia",defaultTimeZoneId:"Asia/Jakarta",timeZone:[{timeZoneId:"Asia/Jakarta",displayName:"(GMT+07:00) Jakarta Time"},{timeZoneId:"Asia/Makassar",displayName:"(GMT+08:00) Makassar Time"},{timeZoneId:"Asia/Jayapura",displayName:"(GMT+09:00) Jayapura Time"}],tosLocale:{language:"in",country:"ID"}},{countryCode:"IR",displayName:"Iran",defaultTimeZoneId:"Asia/Tehran",timeZone:[{timeZoneId:"Asia/Tehran",displayName:"(GMT+04:30) Iran Time"}]},{countryCode:"IQ",displayName:"Iraq",defaultTimeZoneId:"Asia/Baghdad",timeZone:[{timeZoneId:"Asia/Baghdad",displayName:"(GMT+03:00) Iraq Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IE",displayName:"Ireland",defaultTimeZoneId:"Europe/Dublin",timeZone:[{timeZoneId:"Europe/Dublin",displayName:"(GMT+01:00) Ireland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IL",displayName:"Israel",defaultTimeZoneId:"Asia/Jerusalem",timeZone:[{timeZoneId:"Asia/Jerusalem",displayName:"(GMT+03:00) Israel Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IT",displayName:"Italy",defaultTimeZoneId:"Europe/Rome",timeZone:[{timeZoneId:"Europe/Rome",displayName:"(GMT+02:00) Italy Time"}],tosLocale:{language:"it",country:"IT"}},{countryCode:"JM",displayName:"Jamaica",defaultTimeZoneId:"America/Jamaica",timeZone:[{timeZoneId:"America/Jamaica",displayName:"(GMT-05:00) Jamaica Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"JP",displayName:"Japan",defaultTimeZoneId:"Asia/Tokyo",timeZone:[{timeZoneId:"Asia/Tokyo",displayName:"(GMT+09:00) Japan Time"}],tosLocale:{language:"ja",country:"JP"}},{countryCode:"JO",displayName:"Jordan",defaultTimeZoneId:"Asia/Amman",timeZone:[{timeZoneId:"Asia/Amman",displayName:"(GMT+03:00) Jordan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KZ",displayName:"Kazakhstan",defaultTimeZoneId:"Asia/Aqtau",timeZone:[{timeZoneId:"Asia/Aqtau",displayName:"(GMT+05:00) Aqtau Time"},{timeZoneId:"Asia/Aqtobe",displayName:"(GMT+05:00) Aqtobe Time"},{timeZoneId:"Asia/Almaty",displayName:"(GMT+06:00) Almaty Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KE",displayName:"Kenya",defaultTimeZoneId:"Africa/Nairobi",timeZone:[{timeZoneId:"Africa/Nairobi",displayName:"(GMT+03:00) Kenya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KI",displayName:"Kiribati",defaultTimeZoneId:"Pacific/Tarawa",timeZone:[{timeZoneId:"Pacific/Tarawa",displayName:"(GMT+12:00) Tarawa Time"},{timeZoneId:"Pacific/Enderbury",displayName:"(GMT+13:00) Enderbury Time"},{timeZoneId:"Pacific/Kiritimati",displayName:"(GMT+14:00) Kiritimati Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KG",displayName:"Kyrgyzstan",defaultTimeZoneId:"Asia/Bishkek",timeZone:[{timeZoneId:"Asia/Bishkek",displayName:"(GMT+06:00) Kyrgyzstan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"LV",displayName:"Latvia",defaultTimeZoneId:"Europe/Riga",timeZone:[{timeZoneId:"Europe/Riga",displayName:"(GMT+03:00) Latvia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LB",displayName:"Lebanon",defaultTimeZoneId:"Asia/Beirut",timeZone:[{timeZoneId:"Asia/Beirut",displayName:"(GMT+03:00) Lebanon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LR",displayName:"Liberia",defaultTimeZoneId:"Africa/Monrovia",timeZone:[{timeZoneId:"Africa/Monrovia",displayName:"(GMT+00:00) Liberia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LY",displayName:"Libya",defaultTimeZoneId:"Africa/Tripoli",timeZone:[{timeZoneId:"Africa/Tripoli",displayName:"(GMT+02:00) Libya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LT",displayName:"Lithuania",defaultTimeZoneId:"Europe/Vilnius",timeZone:[{timeZoneId:"Europe/Vilnius",displayName:"(GMT+03:00) Lithuania Time"}],tosLocale:{language:"lt",country:"LT"}},{countryCode:"LU",displayName:"Luxembourg",defaultTimeZoneId:"Europe/Luxembourg",timeZone:[{timeZoneId:"Europe/Luxembourg",displayName:"(GMT+02:00) Luxembourg Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MO",displayName:"Macao",defaultTimeZoneId:"Asia/Macau",timeZone:[{timeZoneId:"Asia/Macau",displayName:"(GMT+08:00) Macao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MY",displayName:"Malaysia",defaultTimeZoneId:"Asia/Kuala_Lumpur",timeZone:[{timeZoneId:"Asia/Kuala_Lumpur",displayName:"(GMT+08:00) Malaysia Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MV",displayName:"Maldives",defaultTimeZoneId:"Indian/Maldives",timeZone:[{timeZoneId:"Indian/Maldives",displayName:"(GMT+05:00) Maldives Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MT",displayName:"Malta",defaultTimeZoneId:"Europe/Malta",timeZone:[{timeZoneId:"Europe/Malta",displayName:"(GMT+02:00) Malta Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MH",displayName:"Marshall Islands",defaultTimeZoneId:"Pacific/Kwajalein",timeZone:[{timeZoneId:"Pacific/Kwajalein",displayName:"(GMT+12:00) Kwajalein Time"},{timeZoneId:"Pacific/Majuro",displayName:"(GMT+12:00) Marshall Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MQ",displayName:"Martinique",defaultTimeZoneId:"America/Martinique",timeZone:[{timeZoneId:"America/Martinique",displayName:"(GMT-04:00) Martinique Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"MU",displayName:"Mauritius",defaultTimeZoneId:"Indian/Mauritius",timeZone:[{timeZoneId:"Indian/Mauritius",displayName:"(GMT+04:00) Mauritius Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MX",displayName:"Mexico",defaultTimeZoneId:"America/Tijuana",timeZone:[{timeZoneId:"America/Tijuana",displayName:"(GMT-07:00) Tijuana Time"},{timeZoneId:"America/Mazatlan",displayName:"(GMT-06:00) Mazatlan Time"},{timeZoneId:"America/Hermosillo",displayName:"(GMT-07:00) Hermosillo Time"},{timeZoneId:"America/Mexico_City",displayName:"(GMT-05:00) Mexico City Time"},{timeZoneId:"America/Cancun",displayName:"(GMT-05:00) Cancun Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"FM",displayName:"Micronesia",defaultTimeZoneId:"Pacific/Truk",timeZone:[{timeZoneId:"Pacific/Truk",displayName:"(GMT+10:00) Chuuk Time"},{timeZoneId:"Pacific/Kosrae",displayName:"(GMT+11:00) Kosrae Time"},{timeZoneId:"Pacific/Ponape",displayName:"(GMT+11:00) Pohnpei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MD",displayName:"Moldova",defaultTimeZoneId:"Europe/Chisinau",timeZone:[{timeZoneId:"Europe/Chisinau",displayName:"(GMT+03:00) Moldova Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MC",displayName:"Monaco",defaultTimeZoneId:"Europe/Monaco",timeZone:[{timeZoneId:"Europe/Monaco",displayName:"(GMT+02:00) Monaco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MN",displayName:"Mongolia",defaultTimeZoneId:"Asia/Hovd",timeZone:[{timeZoneId:"Asia/Hovd",displayName:"(GMT+07:00) Hovd Time"},{timeZoneId:"Asia/Choibalsan",displayName:"(GMT+08:00) Choibalsan Time"},{timeZoneId:"Asia/Ulaanbaatar",displayName:"(GMT+08:00) Ulaanbaatar Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MA",displayName:"Morocco",defaultTimeZoneId:"Africa/Casablanca",timeZone:[{timeZoneId:"Africa/Casablanca",displayName:"(GMT+01:00) Morocco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MZ",displayName:"Mozambique",defaultTimeZoneId:"Africa/Maputo",timeZone:[{timeZoneId:"Africa/Maputo",displayName:"(GMT+02:00) Mozambique Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MM",displayName:"Myanmar (Burma)",defaultTimeZoneId:"Asia/Rangoon",timeZone:[{timeZoneId:"Asia/Rangoon",displayName:"(GMT+06:30) Myanmar (Burma) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NA",displayName:"Namibia",defaultTimeZoneId:"Africa/Windhoek",timeZone:[{timeZoneId:"Africa/Windhoek",displayName:"(GMT+02:00) Namibia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NR",displayName:"Nauru",defaultTimeZoneId:"Pacific/Nauru",timeZone:[{timeZoneId:"Pacific/Nauru",displayName:"(GMT+12:00) Nauru Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NP",displayName:"Nepal",defaultTimeZoneId:"Asia/Katmandu",timeZone:[{timeZoneId:"Asia/Katmandu",displayName:"(GMT+05:45) Nepal Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NL",displayName:"Netherlands",defaultTimeZoneId:"Europe/Amsterdam",timeZone:[{timeZoneId:"Europe/Amsterdam",displayName:"(GMT+02:00) Netherlands Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"NC",displayName:"New Caledonia",defaultTimeZoneId:"Pacific/Noumea",timeZone:[{timeZoneId:"Pacific/Noumea",displayName:"(GMT+11:00) New Caledonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NZ",displayName:"New Zealand",defaultTimeZoneId:"Pacific/Auckland",timeZone:[{timeZoneId:"Pacific/Auckland",displayName:"(GMT+12:00) New Zealand Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NI",displayName:"Nicaragua",defaultTimeZoneId:"America/Managua",timeZone:[{timeZoneId:"America/Managua",displayName:"(GMT-06:00) Nicaragua Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"NG",displayName:"Nigeria",defaultTimeZoneId:"Africa/Lagos",timeZone:[{timeZoneId:"Africa/Lagos",displayName:"(GMT+01:00) Nigeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NU",displayName:"Niue",defaultTimeZoneId:"Pacific/Niue",timeZone:[{timeZoneId:"Pacific/Niue",displayName:"(GMT-11:00) Niue Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NF",displayName:"Norfolk Island",defaultTimeZoneId:"Pacific/Norfolk",timeZone:[{timeZoneId:"Pacific/Norfolk",displayName:"(GMT+11:00) Norfolk Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KP",displayName:"North Korea",defaultTimeZoneId:"Asia/Pyongyang",timeZone:[{timeZoneId:"Asia/Pyongyang",displayName:"(GMT+09:00) North Korea Time"}]},{countryCode:"MK",displayName:"North Macedonia",defaultTimeZoneId:"Europe/Skopje",timeZone:[{timeZoneId:"Europe/Skopje",displayName:"(GMT+02:00) North Macedonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NO",displayName:"Norway",defaultTimeZoneId:"Europe/Oslo",timeZone:[{timeZoneId:"Europe/Oslo",displayName:"(GMT+02:00) Norway Time"}],tosLocale:{language:"no",country:"NO"}},{countryCode:"PK",displayName:"Pakistan",defaultTimeZoneId:"Asia/Karachi",timeZone:[{timeZoneId:"Asia/Karachi",displayName:"(GMT+05:00) Pakistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PW",displayName:"Palau",defaultTimeZoneId:"Pacific/Palau",timeZone:[{timeZoneId:"Pacific/Palau",displayName:"(GMT+09:00) Palau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PS",displayName:"Palestine",defaultTimeZoneId:"Asia/Gaza",timeZone:[{timeZoneId:"Asia/Gaza",displayName:"(GMT+03:00) Gaza Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PA",displayName:"Panama",defaultTimeZoneId:"America/Panama",timeZone:[{timeZoneId:"America/Panama",displayName:"(GMT-05:00) Panama Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PG",displayName:"Papua New Guinea",defaultTimeZoneId:"Pacific/Port_Moresby",timeZone:[{timeZoneId:"Pacific/Port_Moresby",displayName:"(GMT+10:00) Port Moresby Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PY",displayName:"Paraguay",defaultTimeZoneId:"America/Asuncion",timeZone:[{timeZoneId:"America/Asuncion",displayName:"(GMT-04:00) Paraguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PE",displayName:"Peru",defaultTimeZoneId:"America/Lima",timeZone:[{timeZoneId:"America/Lima",displayName:"(GMT-05:00) Peru Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PH",displayName:"Philippines",defaultTimeZoneId:"Asia/Manila",timeZone:[{timeZoneId:"Asia/Manila",displayName:"(GMT+08:00) Philippines Time"}],tosLocale:{language:"tl",country:"PH"}},{countryCode:"PN",displayName:"Pitcairn Islands",defaultTimeZoneId:"Pacific/Pitcairn",timeZone:[{timeZoneId:"Pacific/Pitcairn",displayName:"(GMT-08:00) Pitcairn Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PL",displayName:"Poland",defaultTimeZoneId:"Europe/Warsaw",timeZone:[{timeZoneId:"Europe/Warsaw",displayName:"(GMT+02:00) Poland Time"}],tosLocale:{language:"pl",country:"PL"}},{countryCode:"PT",displayName:"Portugal",defaultTimeZoneId:"Atlantic/Azores",timeZone:[{timeZoneId:"Atlantic/Azores",displayName:"(GMT+00:00) Azores Time"},{timeZoneId:"Europe/Lisbon",displayName:"(GMT+01:00) Portugal Time"}],tosLocale:{language:"pt",country:"PT"}},{countryCode:"PR",displayName:"Puerto Rico",defaultTimeZoneId:"America/Puerto_Rico",timeZone:[{timeZoneId:"America/Puerto_Rico",displayName:"(GMT-04:00) Puerto Rico Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"QA",displayName:"Qatar",defaultTimeZoneId:"Asia/Qatar",timeZone:[{timeZoneId:"Asia/Qatar",displayName:"(GMT+03:00) Qatar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RE",displayName:"Réunion",defaultTimeZoneId:"Indian/Reunion",timeZone:[{timeZoneId:"Indian/Reunion",displayName:"(GMT+04:00) Réunion Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RO",displayName:"Romania",defaultTimeZoneId:"Europe/Bucharest",timeZone:[{timeZoneId:"Europe/Bucharest",displayName:"(GMT+03:00) Romania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RU",displayName:"Russia",defaultTimeZoneId:"Europe/Kaliningrad",timeZone:[{timeZoneId:"Europe/Kaliningrad",displayName:"(GMT+02:00) Kaliningrad Time"},{timeZoneId:"Europe/Moscow",displayName:"(GMT+03:00) Moscow Time"},{timeZoneId:"Europe/Samara",displayName:"(GMT+04:00) Samara Time"},{timeZoneId:"Asia/Yekaterinburg",displayName:"(GMT+05:00) Yekaterinburg Time"},{timeZoneId:"Asia/Omsk",displayName:"(GMT+06:00) Omsk Time"},{timeZoneId:"Asia/Krasnoyarsk",displayName:"(GMT+07:00) Krasnoyarsk Time"},{timeZoneId:"Asia/Irkutsk",displayName:"(GMT+08:00) Irkutsk Time"},{timeZoneId:"Asia/Yakutsk",displayName:"(GMT+09:00) Yakutsk Time"},{timeZoneId:"Asia/Vladivostok",displayName:"(GMT+10:00) Vladivostok Time"},{timeZoneId:"Asia/Magadan",displayName:"(GMT+11:00) Magadan Time"},{timeZoneId:"Asia/Kamchatka",displayName:"(GMT+12:00) Kamchatka Time"}],tosLocale:{language:"ru",country:"RU"}},{countryCode:"WS",displayName:"Samoa",defaultTimeZoneId:"Pacific/Apia",timeZone:[{timeZoneId:"Pacific/Apia",displayName:"(GMT+13:00) Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SM",displayName:"San Marino",defaultTimeZoneId:"Europe/San_Marino",timeZone:[{timeZoneId:"Europe/San_Marino",displayName:"(GMT+02:00) San Marino Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"ST",displayName:"São Tomé & Príncipe",defaultTimeZoneId:"Africa/Sao_Tome",timeZone:[{timeZoneId:"Africa/Sao_Tome",displayName:"(GMT+00:00) São Tomé & Príncipe Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SA",displayName:"Saudi Arabia",defaultTimeZoneId:"Asia/Riyadh",timeZone:[{timeZoneId:"Asia/Riyadh",displayName:"(GMT+03:00) Saudi Arabia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RS",displayName:"Serbia",defaultTimeZoneId:"Europe/Belgrade",timeZone:[{timeZoneId:"Europe/Belgrade",displayName:"(GMT+02:00) Serbia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SC",displayName:"Seychelles",defaultTimeZoneId:"Indian/Mahe",timeZone:[{timeZoneId:"Indian/Mahe",displayName:"(GMT+04:00) Seychelles Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SG",displayName:"Singapore",defaultTimeZoneId:"Asia/Singapore",timeZone:[{timeZoneId:"Asia/Singapore",displayName:"(GMT+08:00) Singapore Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SK",displayName:"Slovakia",defaultTimeZoneId:"Europe/Bratislava",timeZone:[{timeZoneId:"Europe/Bratislava",displayName:"(GMT+02:00) Slovakia Time"}],tosLocale:{language:"sk",country:"SK"}},{countryCode:"SI",displayName:"Slovenia",defaultTimeZoneId:"Europe/Ljubljana",timeZone:[{timeZoneId:"Europe/Ljubljana",displayName:"(GMT+02:00) Slovenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SB",displayName:"Solomon Islands",defaultTimeZoneId:"Pacific/Guadalcanal",timeZone:[{timeZoneId:"Pacific/Guadalcanal",displayName:"(GMT+11:00) Solomon Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ZA",displayName:"South Africa",defaultTimeZoneId:"Africa/Johannesburg",timeZone:[{timeZoneId:"Africa/Johannesburg",displayName:"(GMT+02:00) South Africa Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GS",displayName:"South Georgia & South Sandwich Islands",defaultTimeZoneId:"Atlantic/South_Georgia",timeZone:[{timeZoneId:"Atlantic/South_Georgia",displayName:"(GMT-02:00) South Georgia & South Sandwich Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KR",displayName:"South Korea",defaultTimeZoneId:"Asia/Seoul",timeZone:[{timeZoneId:"Asia/Seoul",displayName:"(GMT+09:00) South Korea Time"}],tosLocale:{language:"ko",country:"KR"}},{countryCode:"ES",displayName:"Spain",defaultTimeZoneId:"Atlantic/Canary",timeZone:[{timeZoneId:"Atlantic/Canary",displayName:"(GMT+01:00) Canary Time"},{timeZoneId:"Africa/Ceuta",displayName:"(GMT+02:00) Ceuta Time"},{timeZoneId:"Europe/Madrid",displayName:"(GMT+02:00) Spain Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"LK",displayName:"Sri Lanka",defaultTimeZoneId:"Asia/Colombo",timeZone:[{timeZoneId:"Asia/Colombo",displayName:"(GMT+05:30) Sri Lanka Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PM",displayName:"St. Pierre & Miquelon",defaultTimeZoneId:"America/Miquelon",timeZone:[{timeZoneId:"America/Miquelon",displayName:"(GMT-02:00) St. Pierre & Miquelon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SD",displayName:"Sudan",defaultTimeZoneId:"Africa/Khartoum",timeZone:[{timeZoneId:"Africa/Khartoum",displayName:"(GMT+02:00) Sudan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SR",displayName:"Suriname",defaultTimeZoneId:"America/Paramaribo",timeZone:[{timeZoneId:"America/Paramaribo",displayName:"(GMT-03:00) Suriname Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"SJ",displayName:"Svalbard & Jan Mayen",defaultTimeZoneId:"Arctic/Longyearbyen",timeZone:[{timeZoneId:"Arctic/Longyearbyen",displayName:"(GMT+02:00) Svalbard & Jan Mayen Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SE",displayName:"Sweden",defaultTimeZoneId:"Europe/Stockholm",timeZone:[{timeZoneId:"Europe/Stockholm",displayName:"(GMT+02:00) Sweden Time"}],tosLocale:{language:"sv",country:"SE"}},{countryCode:"CH",displayName:"Switzerland",defaultTimeZoneId:"Europe/Zurich",timeZone:[{timeZoneId:"Europe/Zurich",displayName:"(GMT+02:00) Switzerland Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"SY",displayName:"Syria",defaultTimeZoneId:"Asia/Damascus",timeZone:[{timeZoneId:"Asia/Damascus",displayName:"(GMT+03:00) Syria Time"}]},{countryCode:"TW",displayName:"Taiwan",defaultTimeZoneId:"Asia/Taipei",timeZone:[{timeZoneId:"Asia/Taipei",displayName:"(GMT+08:00) Taiwan Time"}],tosLocale:{language:"zh",country:"TW"}},{countryCode:"TJ",displayName:"Tajikistan",defaultTimeZoneId:"Asia/Dushanbe",timeZone:[{timeZoneId:"Asia/Dushanbe",displayName:"(GMT+05:00) Tajikistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TH",displayName:"Thailand",defaultTimeZoneId:"Asia/Bangkok",timeZone:[{timeZoneId:"Asia/Bangkok",displayName:"(GMT+07:00) Thailand Time"}],tosLocale:{language:"th",country:"TH"}},{countryCode:"TL",displayName:"Timor-Leste",defaultTimeZoneId:"Asia/Dili",timeZone:[{timeZoneId:"Asia/Dili",displayName:"(GMT+09:00) Timor-Leste Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TK",displayName:"Tokelau",defaultTimeZoneId:"Pacific/Fakaofo",timeZone:[{timeZoneId:"Pacific/Fakaofo",displayName:"(GMT+13:00) Tokelau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TO",displayName:"Tonga",defaultTimeZoneId:"Pacific/Tongatapu",timeZone:[{timeZoneId:"Pacific/Tongatapu",displayName:"(GMT+13:00) Tonga Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TT",displayName:"Trinidad & Tobago",defaultTimeZoneId:"America/Port_of_Spain",timeZone:[{timeZoneId:"America/Port_of_Spain",displayName:"(GMT-04:00) Trinidad & Tobago Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TN",displayName:"Tunisia",defaultTimeZoneId:"Africa/Tunis",timeZone:[{timeZoneId:"Africa/Tunis",displayName:"(GMT+01:00) Tunisia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TR",displayName:"Turkey",defaultTimeZoneId:"Europe/Istanbul",timeZone:[{timeZoneId:"Europe/Istanbul",displayName:"(GMT+03:00) Turkey Time"}],tosLocale:{language:"tr",country:"TR"}},{countryCode:"TM",displayName:"Turkmenistan",defaultTimeZoneId:"Asia/Ashgabat",timeZone:[{timeZoneId:"Asia/Ashgabat",displayName:"(GMT+05:00) Turkmenistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TC",displayName:"Turks & Caicos Islands",defaultTimeZoneId:"America/Grand_Turk",timeZone:[{timeZoneId:"America/Grand_Turk",displayName:"(GMT-04:00) Turks & Caicos Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TV",displayName:"Tuvalu",defaultTimeZoneId:"Pacific/Funafuti",timeZone:[{timeZoneId:"Pacific/Funafuti",displayName:"(GMT+12:00) Tuvalu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UM",displayName:"U.S. Outlying Islands",defaultTimeZoneId:"Pacific/Wake",timeZone:[{timeZoneId:"Pacific/Wake",displayName:"(GMT+12:00) Wake Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UA",displayName:"Ukraine",defaultTimeZoneId:"Europe/Kiev",timeZone:[{timeZoneId:"Europe/Kiev",displayName:"(GMT+03:00) Ukraine Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AE",displayName:"United Arab Emirates",defaultTimeZoneId:"Asia/Dubai",timeZone:[{timeZoneId:"Asia/Dubai",displayName:"(GMT+04:00) United Arab Emirates Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GB",displayName:"United Kingdom",defaultTimeZoneId:"Etc/GMT",timeZone:[{timeZoneId:"Etc/GMT",displayName:"(GMT+00:00) GMT"},{timeZoneId:"Europe/London",displayName:"(GMT+01:00) United Kingdom Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"US",displayName:"United States",defaultTimeZoneId:"America/Los_Angeles",timeZone:[{timeZoneId:"Pacific/Honolulu",displayName:"(GMT-10:00) Honolulu Time"},{timeZoneId:"America/Anchorage",displayName:"(GMT-08:00) Anchorage Time"},{timeZoneId:"America/Los_Angeles",displayName:"(GMT-07:00) Los Angeles Time"},{timeZoneId:"America/Boise",displayName:"(GMT-06:00) Boise Time"},{timeZoneId:"America/Denver",displayName:"(GMT-06:00) Denver Time"},{timeZoneId:"America/Phoenix",displayName:"(GMT-07:00) Phoenix Time"},{timeZoneId:"America/Chicago",displayName:"(GMT-05:00) Chicago Time"},{timeZoneId:"America/Detroit",displayName:"(GMT-04:00) Detroit Time"},{timeZoneId:"America/New_York",displayName:"(GMT-04:00) New York Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UY",displayName:"Uruguay",defaultTimeZoneId:"America/Montevideo",timeZone:[{timeZoneId:"America/Montevideo",displayName:"(GMT-03:00) Uruguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"UZ",displayName:"Uzbekistan",defaultTimeZoneId:"Asia/Tashkent",timeZone:[{timeZoneId:"Asia/Tashkent",displayName:"(GMT+05:00) Uzbekistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VU",displayName:"Vanuatu",defaultTimeZoneId:"Pacific/Efate",timeZone:[{timeZoneId:"Pacific/Efate",displayName:"(GMT+11:00) Vanuatu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VA",displayName:"Vatican City",defaultTimeZoneId:"Europe/Vatican",timeZone:[{timeZoneId:"Europe/Vatican",displayName:"(GMT+02:00) Vatican City Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"VE",displayName:"Venezuela",defaultTimeZoneId:"America/Caracas",timeZone:[{timeZoneId:"America/Caracas",displayName:"(GMT-04:00) Venezuela Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"VN",displayName:"Vietnam",defaultTimeZoneId:"Asia/Saigon",timeZone:[{timeZoneId:"Asia/Saigon",displayName:"(GMT+07:00) Vietnam Time"}],tosLocale:{language:"vi",country:"VN"}},{countryCode:"WF",displayName:"Wallis & Futuna",defaultTimeZoneId:"Pacific/Wallis",timeZone:[{timeZoneId:"Pacific/Wallis",displayName:"(GMT+12:00) Wallis & Futuna Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"EH",displayName:"Western Sahara",defaultTimeZoneId:"Africa/El_Aaiun",timeZone:[{timeZoneId:"Africa/El_Aaiun",displayName:"(GMT+01:00) Western Sahara Time"}],tosLocale:{language:"en",country:"GB"}}],a=i.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(r.keyBy)(i,"countryCode"),c=i.reduce((function(e,t){return t.timeZone.forEach((function(n){var r=n.timeZoneId;return e[r]=t.countryCode})),e}),{})},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(21),i=n.n(r),a=n(57),o=n.n(a),c=n(229),s=n(258),l=n(259),u=n(199),d=n(230),m=n(260),g=n(0),p=o()((function(e){return{widgetSlug:e,Widget:f(e)(c.a),WidgetRecoverableModules:f(e)(d.a),WidgetReportZero:f(e)(s.a),WidgetReportError:f(e)(l.a),WidgetNull:f(e)(u.a)}}));function f(t){return function(n){var r=Object(g.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var b=function(t){var n=p(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:f(t)(m.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(7),a=n.n(i),o=n(15),c=n.n(o),s=n(1),l=n(31),u=n(506),d=n(0),m=n(130),g=n(76),p=n(106);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,o=t.target,s=t.cta,f=void 0!==s&&s,v=t.className,h=t.styles,y=void 0===h?{}:h,O=t.slug,E=void 0===O?"":O,_=t.onDismiss,j=void 0===_?function(){}:_,S=t.onView,k=void 0===S?function(){}:S,A=t.onTourStart,T=void 0===A?function(){}:A,w=t.onTourEnd,D=void 0===w?function(){}:w,C=function(){return!!e.document.querySelector(o)},N=Object(d.useState)(C),I=c()(N,2),R=I[0],x=I[1];if(Object(u.a)((function(){C()&&x(!0)}),R?null:250),Object(d.useEffect)((function(){if(R&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,R]),!R)return null;var P=[{title:n,target:o,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:f,className:v}],M={last:a};return r.createElement(g.a,{slug:E},r.createElement(l.e,{callback:function(t){switch(t.type){case l.b.TOUR_START:T(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case l.b.TOUR_END:D(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case l.b.STEP_AFTER:j();break;case l.b.TOOLTIP:k()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:p.b,locale:M,steps:P,styles:b(b(b({},p.c),y),{},{options:b(b({},p.c.options),null==y?void 0:y.options),spotlight:b(b({},p.c.spotlight),null==y?void 0:y.spotlight)}),tooltipComponent:m.a,run:!0}))}JoyrideTooltip.propTypes={title:s.PropTypes.string.isRequired,content:s.PropTypes.string,dismissLabel:s.PropTypes.string,target:s.PropTypes.string.isRequired,onDismiss:s.PropTypes.func,onShow:s.PropTypes.func,className:s.PropTypes.string,styles:s.PropTypes.object,slug:s.PropTypes.string,onView:s.PropTypes.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(151),s=n(71),l=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,u=t.additionalCTA,d=t.type,m=void 0===d?"success":d,g=t.icon;return e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===m,"googlesitekit-subtle-notification--warning":"warning"===m})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},g,"success"===m&&!g&&e.createElement(c.a,{width:24,height:24}),"warning"===m&&!g&&e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,u))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,o=t.children;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(574),i=n(12),a=n.n(i),o=n(1),c=n.n(o),s=n(0),l=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,i=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,m=t.notificationID,g=t.onShow,p=t.shouldShowNotification,f=Object(d.e)(),b=Object(l.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(m)})),v=Object(l.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(s.useEffect)((function(){p&&!b&&(v(m),null==g||g())}),[b,m,g,v,p]),!p||!b)return null;var h=a()("googlesitekit-overlay-notification",n);return f===d.b?e.createElement("div",{className:h},i,c&&e.createElement(c,null)):e.createElement(r.a,{direction:"up",in:b},e.createElement("div",{className:h},o&&e.createElement(o,null),i))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(112),l=n(8),u=n(384),d=n(93),m=n(385),g=n(134);function DataBlock(t){var n=t.stat,r=void 0===n?null:n,i=t.className,a=void 0===i?"":i,p=t.title,f=void 0===p?"":p,b=t.datapoint,v=void 0===b?null:b,h=t.datapointUnit,y=void 0===h?"":h,O=t.change,E=void 0===O?null:O,_=t.changeDataUnit,j=void 0===_?"":_,S=t.context,k=void 0===S?"default":S,A=t.period,T=void 0===A?"":A,w=t.selected,D=void 0!==w&&w,C=t.source,N=t.sparkline,I=t.handleStatSelection,R=void 0===I?null:I,x=t.invertChangeColor,P=void 0!==x&&x,M=t.gatheringData,L=void 0!==M&&M,G=t.gatheringDataNoticeStyle,B=void 0===G?s.a.DEFAULT:G,V=t.badge,F=Object(c.useCallback)((function(){!L&&R&&R(r)}),[L,R,r]),W=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),F())}),[F]),Z=void 0===v?v:Object(l.C)(v,y),z="button"===k,U=z?"button":"";return e.createElement("div",{className:o()("googlesitekit-data-block",a,"googlesitekit-data-block--".concat(k),{"googlesitekit-data-block--selected":D,"googlesitekit-data-block--is-gathering-data":L}),tabIndex:z&&!L?"0":"-1",role:R&&U,onClick:F,onKeyDown:W,"aria-disabled":L||void 0,"aria-label":R&&f,"aria-pressed":R&&D},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===V?e.createElement(d.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):V,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},f)),!L&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},Z)),!L&&N&&e.createElement(u.a,{sparkline:N,invertChangeColor:P}),!L&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(m.a,{change:E,changeDataUnit:j,period:T,invertChangeColor:P}),C&&e.createElement(g.a,{className:"googlesitekit-data-block__source",name:C.name,href:C.link,external:null==C?void 0:C.external})),L&&e.createElement(s.b,{style:B}))}DataBlock.propTypes={stat:i.a.number,className:i.a.string,title:i.a.string,datapoint:i.a.oneOfType([i.a.string,i.a.number]),datapointUnit:i.a.string,change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),context:i.a.string,period:i.a.string,selected:i.a.bool,handleStatSelection:i.a.func,invertChangeColor:i.a.bool,gatheringData:i.a.bool,gatheringDataNoticeStyle:i.a.oneOf(Object.values(s.a)),badge:i.a.oneOfType([i.a.bool,i.a.node])},t.a=DataBlock}).call(this,n(4))},,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(3),l=n(14),u=n(24);function d(e){var t=Object(s.useDispatch)(u.b).setValue,n=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.2")})),r=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(i.a.mark((function a(){var o,c,s,l;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return c.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(s=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(l=document.hasFocus,document.hasFocus=function(){return document.hasFocus=l,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:s});case 12:case"end":return i.stop()}}),a)}))),[n,r,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(23),m=n.n(d),g=n(0),p=n(1),f=n.n(p),b=n(3),v=n(208),h=n(24),y=n(160);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=m()(t,["onDismiss","tooltipStateKey"]),a=Object(b.useDispatch)(h.b).setValue,c=Object(y.a)(r),l=c.rehideAdminMenu,d=c.rehideAdminSubMenu,p=Object(g.useCallback)(u()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,l,d,a,r]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:p},i))}AdminMenuTooltip.propTypes=E(E({},v.a.propTypes),{},{target:f.a.string,tooltipStateKey:f.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(3),s=n(20),l=n(114),u=n(76),d=n(14),m=n(9),g=n(34),p=n(8);function AudienceErrorModal(t){var n=t.apiErrors,r=t.hasOAuthError,i=t.inProgress,f=t.title,b=t.description,v=t.trackEventCategory,h=t.onCancel,y=void 0===h?function(){}:h,O=t.onRetry,E=void 0===O?function(){}:O,_=Array.isArray(n)?n:[n],j=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),S=Object(c.useSelect)((function(e){return e(m.p).getServiceEntityAccessURL()})),k=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!_.length&&!r)return null;var A,T,w,D,C=_.some((function(e){return Object(g.e)(e)}));return r?(A=Object(o.__)("Analytics update failed","google-site-kit"),T=Object(a.a)(Object(o.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(s.a,{href:k,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),w=Object(o.__)("Retry","google-site-kit")):C?(A=Object(o.__)("Insufficient permissions","google-site-kit"),T=Object(a.a)(Object(o.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(s.a,{href:j,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),w=Object(o.__)("Request access","google-site-kit"),D=S):(A=f||Object(o.__)("Failed to set up visitor groups","google-site-kit"),T=b||Object(o.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),w=Object(o.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(l.a,{dialogActive:!0,buttonLink:D,title:A,subtitle:T,handleConfirm:function(){var e;e=r?"auth_error_retry":C?"insufficient_permissions_error_request_access":"setup_error_retry",Object(p.J)(v,e).finally((function(){C||E()}))},confirmButton:w,handleDialog:function(){var e;e=r?"auth_error_cancel":C?"insufficient_permissions_error_cancel":"setup_error_cancel",Object(p.J)(v,e).finally(y)},onOpen:function(){var e;e=r?"auth_error":C?"insufficient_permissions_error":"setup_error",Object(p.J)(v,e)},onClose:y,danger:!0,inProgress:i}))}AudienceErrorModal.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool,inProgress:i.a.bool,title:i.a.string,description:i.a.string,trackEventCategory:i.a.string,onCancel:i.a.func,onRetry:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(10),l=n(474),u=Object(c.forwardRef)((function(t,n){var r=t.className,a=t.content,o=t.dismissLabel,c=t.Icon,u=void 0===c?l.a:c,d=t.onDismiss;return e.createElement("div",{ref:n,className:i()("googlesitekit-audience-segmentation-info-notice",r)},e.createElement(u,{width:"20",height:"20"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-info-notice__body"},e.createElement("p",null,a),o&&e.createElement(s.Button,{tertiary:!0,onClick:d,className:"googlesitekit-audience-segmentation-info-notice__dismiss"},o)))}));u.propTypes={className:o.a.string,content:o.a.string.isRequired,dismissLabel:o.a.string,Icon:o.a.elementType,onDismiss:o.a.func},t.a=u}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(57),s=n.n(c),l=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=s()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=o()(e,["metrics","dimensions"]);return d({metrics:g(t),dimensions:p(n)},r)})),g=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))},p=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=Object(c.forwardRef)((function(t,n){var r=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,s=t.Header,l=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":s},a),ref:n},s&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(s,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))}));s.defaultProps={children:void 0,noPadding:!1},s.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(27),s=n.n(c),l=n(23),u=n.n(l),d=n(1),m=n.n(d),g=n(0),p=n(118),f=n(136);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(g.useMemo)((function(){return{moduleSlug:s()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(p.a)(n,f.a,a),e.createElement(f.a,o()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:m.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BadgeWithTooltip}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(122);function BadgeWithTooltip(t){var n=t.className,r=void 0===n?"":n,i=t.label,a=t.onTooltipOpen,s=t.tooltipTitle;return e.createElement("span",{className:o()("googlesitekit-badge-with-tooltip","googlesitekit-badge",r)},i,s&&e.createElement(c.a,{onOpen:a,title:s}))}BadgeWithTooltip.propTypes={onTooltipOpen:i.a.func,tooltipTitle:i.a.node,className:i.a.string,label:i.a.node.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return SpinnerButton}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(313),m=n(247),g={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,r=t.onClick,a=void 0===r?function(){}:r,c=t.isSaving,s=void 0!==c&&c,l=t.spinnerPosition,p=void 0===l?g.AFTER:l,f=o()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,i()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":s,"googlesitekit-button-icon--spinner__before":p===g.BEFORE,"googlesitekit-button-icon--spinner__after":p===g.AFTER}),icon:s&&p===g.BEFORE?e.createElement(m.a,{size:14}):void 0,trailingIcon:s&&p===g.AFTER?e.createElement(m.a,{size:14}):void 0,onClick:a},f))}SpinnerButton.propTypes={className:s.a.string,onClick:s.a.func,isSaving:s.a.bool,spinnerPosition:s.a.oneOf(Object.values(g))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var r=n(627);function CircularProgress(t){return e.createElement(r.a,t)}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return m}));var r=n(27),i=n.n(r),a=n(13),o=n(25),c=n(8),s=function(e,t){if(!(null==t?void 0:t.length))return e;var n=[];return(null==e?void 0:e.length)&&(n=e[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(i()(e),[n]):e}),[])),e.map((function(e){return e.filter((function(e,r){return 0===r||t.includes(r-1)||n.includes(r-1)}))}))},l=function(e,t,n,r){var i={height:e||t,width:n||r};return i.width&&!i.height&&(i.height="100%"),i.height&&!i.width&&(i.width="100%"),i},u=function(e,t,n){var r=i()(e||[]);return t&&r.push({eventName:"ready",callback:t}),n&&r.push({eventName:"select",callback:n}),r},d=function(e,t,n,r,i,s){var l,u,d,m,g,p,f,b,v=Object(a.cloneDeep)(e);t&&"LineChart"===n&&((null==e||null===(l=e.vAxis)||void 0===l||null===(u=l.viewWindow)||void 0===u?void 0:u.min)||Object(a.set)(v,"vAxis.viewWindow.min",0),(null==e||null===(d=e.vAxis)||void 0===d||null===(m=d.viewWindow)||void 0===m?void 0:m.max)||Object(a.set)(v,"vAxis.viewWindow.max",100),(null==e||null===(g=e.hAxis)||void 0===g||null===(p=g.viewWindow)||void 0===p?void 0:p.min)||(Object(a.set)(v,"hAxis.viewWindow.min",Object(c.H)(r)),delete v.hAxis.ticks),(null==e||null===(f=e.hAxis)||void 0===f||null===(b=f.viewWindow)||void 0===b?void 0:b.max)||(Object(a.set)(v,"hAxis.viewWindow.max",Object(c.H)(i)),delete v.hAxis.ticks));if("LineChart"===n){var h,y,O;if((null==e||null===(h=e.hAxis)||void 0===h?void 0:h.maxTextLines)||Object(a.set)(v,"hAxis.maxTextLines",1),!(null==e||null===(y=e.hAxis)||void 0===y?void 0:y.minTextSpacing)){var E=s===o.b?50:100;Object(a.set)(v,"hAxis.minTextSpacing",E)}void 0===(null==e||null===(O=e.tooltip)||void 0===O?void 0:O.isHtml)&&(Object(a.set)(v,"tooltip.isHtml",!0),Object(a.set)(v,"tooltip.trigger","both"))}return Object(a.merge)(v,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),v},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(c.s)(),n=Intl.NumberFormat(t,{style:"currency",currency:e}),r=n.formatToParts(1e6);return r.reduce((function(e,t){var n=t.value;switch(t.type){case"group":return e+",";case"decimal":return e+".";case"currency":return e+n;case"literal":return e+(/^\s*$/.test(n)?n:"");case"integer":var i=n.replace(/\d/g,"#");return e+(Object(a.findLast)(r,(function(e){return"integer"===e.type}))===t?i.replace(/#$/,"0"):i);case"fraction":return e+n.replace(/\d/g,"0");default:return e}}),"")}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(9);function r(e){var t;return 400===(null==e?void 0:e.code)&&(null==e||null===(t=e.message)||void 0===t?void 0:t.includes("is not a valid dimension"))}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileText}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(171),u=n(8),d=n(189);function MetricTileText(t){var n=t.metricValue,r=t.metricValueFormat,a=t.subText,c=t.previousValue,s=t.currentValue,m=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),g=Object(u.n)(r);return e.createElement(d.a,i()({className:"googlesitekit-km-widget-tile--text"},m),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},n),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},a)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(l.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==g?void 0:g.style)})))}MetricTileText.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(53),i=n.n(r),a=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,l=o.preloadedData,u=o.rootURL;i.a.nonceEndpoint=s,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(u),i.a.preloadingMiddleware=Object(a.a)(l),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,n(26))},function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,i){if(n)return i(e);setTimeout((function(){n=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var s,l=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",u=Object(r.getStablePath)(c);if(o&&"GET"===l&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===l&&t[l]&&t[l][u]){var m=Promise.resolve(t[l][u]);return delete t[l][u],m}}return i(e)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(0),m=n(118),g=n(142);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=s()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(m.a)(n,g.a,a),e.createElement(g.a,o()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(l.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:s.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(520),o=n(200),c=n(3),s=n(24),l=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(s.b).setValue,d=r.message,m=Object(c.useSelect)((function(e){return e(s.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),m!==i?null:e.createElement(l.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(2),l=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,i=t.forceOpen,a=t.hasLeftSpacing,m=t.hasNoSpacing,g=t.onLearnMoreClick,p=void 0===g?function(){}:g,f=e.createElement(u.a,{className:o()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":m}),label:Object(s.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(l.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:r,onClick:p,external:!0,hideExternalIndicator:!0},Object(s.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:i},f):f}NewBadge.propTypes={tooltipTitle:i.a.string,learnMoreLink:i.a.string,forceOpen:i.a.bool,onLearnMoreClick:i.a.func,hasLeftSpacing:i.a.bool,hasNoSpacing:i.a.bool},t.a=NewBadge}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileError}));var r=n(85),i=n(122);function MetricTileError(t){var n=t.children,a=t.headerText,o=t.infoTooltip,c=t.title;return e.createElement("div",{className:"googlesitekit-km-widget-tile--error"},e.createElement(r.a,{title:c,headerText:a,headerContent:o&&e.createElement(i.a,{title:o}),description:"",error:!0},n))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,s=t.isCTALinkExternal,m=void 0!==s&&s,g=t.gaTrackingEventArgs,p=Object(l.a)(n),f=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:p.confirm(null==g?void 0:g.label,null==g?void 0:g.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:f,target:m?"_blank":"_self",trailingIcon:m?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:s.a.string,ctaLink:s.a.string,ctaLabel:s.a.string,onCTAClick:s.a.func,isCTALinkExternal:s.a.bool,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileMetric}));var r=n(1),i=n.n(r),a=n(8);function AudienceTileMetric(t){var n=t.TileIcon,r=t.title,i=t.metricValue,o=t.Badge,c=t.metricValueFormat;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(n,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__value"},Object(a.C)(i,c)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},r)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__badge-container"},e.createElement(o,null)))}AudienceTileMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,metricValue:i.a.number.isRequired,Badge:i.a.elementType.isRequired,metricValueFormat:i.a.object}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),i=n(95);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),o=r.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"currentColor"},e),a,o)}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return r.createElement("svg",i({viewBox:"0 0 16 16",fill:"none"},e),a)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateAccountField}));var r=n(12),i=n.n(r),a=n(10);function CreateAccountField(t){var n=t.hasError,r=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===r?null:e.createElement(a.TextField,{className:i()("mdc-text-field",{"mdc-text-field--error":n}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,value:r,id:"googlesitekit_analytics_account_create_".concat(c)})}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(3),o=n(54),c=n(9),s=n(6),l=n(472),u=n(108),d=n(8),m=n(18),g=Object(u.a)(l.a);function NoAudienceBannerWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(m.a)(),o=Object(a.useSelect)((function(e){var t=e(c.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),l=Object(a.useSelect)((function(e){return e(s.a).getConfiguredAudiences()})),u=Object(a.useSelect)((function(e){return e(s.a).didSetAudiences()})),p=null==l?void 0:l.every((function(e){return Array.isArray(o)&&!o.includes(e)}));return l&&(0===(null==l?void 0:l.length)||p)?e.createElement(n,{noPadding:!0},e.createElement(g,{onInView:function(){Object(d.J)("".concat(i,"_audiences-no-audiences"),"view_banner",u?"no-longer-available":"none-selected")}})):e.createElement(r,null)}NoAudienceBannerWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(o.a)({moduleName:"analytics-4"})(NoAudienceBannerWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(387),m=n(0),g=n(2),p=n(17),f=n(314),b=Object(m.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,l=t.className,u=t.danger,b=t.disabled,v=t.target,h=t.icon,y=t.trailingIcon,O=t["aria-label"],E=t.title,_=t.customizedTooltip,j=t.tooltip,S=t.inverse,k=t.hideTooltipTitle,A=void 0!==k&&k,T=t.tooltipEnterDelayInMS,w=void 0===T?100:T,D=t.tertiary,C=void 0!==D&&D,N=t.callout,I=t.calloutStyle,R=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),x=Object(m.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),P=Object(d.a)(n,x),M=a&&!b?"a":"button",L=e.createElement(M,i()({className:s()("mdc-button",l,{"mdc-button--raised":!c&&!C&&!N,"mdc-button--danger":u,"mdc-button--inverse":S,"mdc-button--tertiary":C,"mdc-button--callout":N,"mdc-button--callout-primary":N||"primary"===I,"mdc-button--callout-warning":"warning"===I,"mdc-button--callout-error":"error"===I}),href:b?void 0:a,ref:P,disabled:!!b,"aria-label":function(){var e=O;if("_blank"!==v)return e;var t=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:v||"_self",role:"a"===M?"button":void 0},R),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y),G=A?null:E||_||O;return!b&&(j&&G||h&&G&&void 0===r)?e.createElement(f.a,{title:G,enterDelay:w},L):L}));b.displayName="Button",b.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},b.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=b}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(628),m=n(0);function Tooltip(t){var n=t.children,r=t.popperClassName,a=t.tooltipClassName,c=t.onOpen,s=t.onClose,l=o()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),g=Object(m.useRef)(!1),p=c?function(){g.current||(g.current=!0,null==c||c())}:void 0,f=c?function(){g.current=!1,null==s||s()}:s;return e.createElement(d.a,i()({classes:{popper:u()("googlesitekit-tooltip-popper",r),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:p,onClose:f},l),n)}Tooltip.propTypes={children:s.a.node,popperClassName:s.a.string,tooltipClassName:s.a.string,onOpen:s.a.func,onClose:s.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)(Object(o.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileNoData}));var r=n(2);function AudienceTileNoData(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__no-data"},Object(r.__)("No data to show yet","google-site-kit"))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PartialDataNotice}));var r=n(1),i=n.n(r);function PartialDataNotice(t){var n=t.content;return e.createElement("span",{className:"googlesitekit-audience-segmentation-partial-data-notice"},n)}PartialDataNotice.propTypes={content:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#161B18",opacity:.1}),c=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#CBD0D3"}),s=r.createElement("path",{d:"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),l=r.createElement("path",{d:"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),u=r.createElement("path",{d:"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z",fill:"#77AD8C"}),d=r.createElement("path",{d:"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z",fill:"#5C9271"}),m=r.createElement("path",{d:"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z",fill:"#CBD0D3"}),g=r.createElement("path",{d:"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z",fill:"#EBEEF0"}),p=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z",fill:"#CBD0D3"}),f=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z",fill:"#B8BDB9"}),b=r.createElement("path",{d:"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z",fill:"#B8BDB9"}),v=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z",fill:"#B8BDB9"}),h=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z",fill:"#EBEEF0"}),y=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z",fill:"#CBD0D3"}),O=r.createElement("path",{d:"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z",fill:"#CBD0D3"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z",fill:"#CBD0D3"}),_=r.createElement("path",{d:"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),j=r.createElement("path",{d:"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),S=r.createElement("path",{d:"M39.988 67.196l.768 37.221",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),k=r.createElement("path",{d:"M31.757 63.326a27.536 27.536 0 00-2.058 5.225",stroke:"#1967D2",strokeWidth:2.748,strokeLinejoin:"round"}),A=r.createElement("path",{d:"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),T=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#70B2F5"}),w=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#77AD8C"}),D=r.createElement("path",{d:"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z",fill:"#5C9271"}),C=r.createElement("path",{d:"M45.22 104.418h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),N=r.createElement("path",{d:"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z",fill:"#CBD0D3"}),I=r.createElement("path",{d:"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z",fill:"#EBEEF0"}),R=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z",fill:"#CBD0D3"}),x=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z",fill:"#B8BDB9"}),P=r.createElement("path",{d:"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z",fill:"#B8BDB9"}),M=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z",fill:"#B8BDB9"}),L=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z",fill:"#EBEEF0"}),G=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z",fill:"#CBD0D3"}),B=r.createElement("path",{d:"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z",fill:"#CBD0D3"}),V=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z",fill:"#CBD0D3"}),F=r.createElement("path",{d:"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),W=r.createElement("path",{d:"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),Z=r.createElement("path",{d:"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),z=r.createElement("path",{d:"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),U=r.createElement("path",{d:"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),H=r.createElement("path",{d:"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z",fill:"#77AD8C"}),q=r.createElement("path",{d:"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z",fill:"#5C9271"}),K=r.createElement("path",{d:"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),Y=r.createElement("path",{d:"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z",fill:"#CBD0D3"}),J=r.createElement("path",{d:"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z",fill:"#EBEEF0"}),$=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z",fill:"#CBD0D3"}),Q=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z",fill:"#B8BDB9"}),X=r.createElement("path",{d:"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z",fill:"#B8BDB9"}),ee=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z",fill:"#B8BDB9"}),te=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z",fill:"#EBEEF0"}),ne=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z",fill:"#CBD0D3"}),re=r.createElement("path",{d:"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z",fill:"#CBD0D3"}),ie=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z",fill:"#CBD0D3"}),ae=r.createElement("path",{d:"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),oe=r.createElement("path",{d:"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),ce=r.createElement("path",{d:"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),se=r.createElement("path",{d:"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z",fill:"#77AD8C"}),le=r.createElement("path",{d:"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z",fill:"#5C9271"}),ue=r.createElement("path",{d:"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),de=r.createElement("path",{d:"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z",fill:"#CBD0D3"}),me=r.createElement("path",{d:"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z",fill:"#EBEEF0"}),ge=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z",fill:"#CBD0D3"}),pe=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z",fill:"#B8BDB9"}),fe=r.createElement("path",{d:"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z",fill:"#B8BDB9"}),be=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z",fill:"#B8BDB9"}),ve=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z",fill:"#EBEEF0"}),he=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z",fill:"#CBD0D3"}),ye=r.createElement("path",{d:"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z",fill:"#CBD0D3"}),Oe=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z",fill:"#CBD0D3"}),Ee=r.createElement("path",{d:"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"});t.a=function SvgNoAudienceBannerGraphic(e){return r.createElement("svg",i({viewBox:"0 0 211 109",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f,b,v,h,y,O,E,_,j,S,k,A,T,w,D,C,N,I,R,x,P,M,L,G,B,V,F,W,Z,z,U,H,q,K,Y,J,$,Q,X,ee,te,ne,re,ie,ae,oe,ce,se,le,ue,de,me,ge,pe,fe,be,ve,he,ye,Oe,Ee)}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=Object(c.forwardRef)((function(t,n){var r=t.className,a=t.children,o=t.Icon,c=t.SVGGraphic;return e.createElement("div",{ref:n,className:i()("googlesitekit-lean-cta-banner",r)},e.createElement("div",{className:"googlesitekit-lean-cta-banner__body"},o&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-icon"},e.createElement(o,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-content"},a)),c&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__graphic"},e.createElement(c,null)))}));s.propTypes={className:o.a.string,children:o.a.node.isRequired,Icon:o.a.elementType,SVGGraphic:o.a.elementType},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z",fill:"#F3F5F7"}),o=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#161B18",opacity:.1}),c=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#CBD0D3"}),s=r.createElement("path",{d:"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"}),l=r.createElement("path",{d:"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618",stroke:"#161B18",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),d=r.createElement("path",{d:"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z",fill:"#CBD0D3"}),m=r.createElement("path",{d:"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z",fill:"#999F9B"}),g=r.createElement("path",{d:"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),p=r.createElement("path",{d:"M159.169 21.79l-22.985 89.068",stroke:"#7B807D",strokeWidth:3.607,strokeMiterlimit:10,strokeLinecap:"round"}),f=r.createElement("path",{d:"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z",fill:"#E77D5B"}),b=r.createElement("path",{d:"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z",fill:"#962C0A"}),v=r.createElement("path",{d:"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationErrorFullWidth(e){return r.createElement("svg",i({viewBox:"0 0 233 117",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f,b,v)}},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EnhancedMeasurementSwitch}));var r=n(7),i=n.n(r),a=n(12),o=n.n(a),c=n(1),s=n.n(c),l=n(91),u=n(0),d=n(38),m=n(2),g=n(3),p=n(10),f=n(28),b=n(9),v=n(162),h=n(8),y=n(18);function EnhancedMeasurementSwitch(t){var n=t.className,r=t.onClick,a=t.disabled,c=void 0!==a&&a,s=t.loading,O=void 0!==s&&s,E=t.formName,_=void 0===E?b.i:E,j=t.isEnhancedMeasurementAlreadyEnabled,S=void 0!==j&&j,k=Object(g.useSelect)((function(e){return e(f.a).getValue(_,b.h)})),A=Object(y.a)(),T=Object(g.useDispatch)(f.a).setValues,w=Object(u.useCallback)((function(){T(_,i()({},b.h,!k)),Object(h.J)("".concat(A,"_analytics"),k?"deactivate_enhanced_measurement":"activate_enhanced_measurement"),null==r||r()}),[_,k,r,T,A]);return Object(l.a)((function(){T(b.i,i()({},b.j,!0))})),e.createElement("div",{className:o()("googlesitekit-analytics-enable-enhanced-measurement",n,{"googlesitekit-analytics-enable-enhanced-measurement--loading":O})},O&&e.createElement(p.ProgressBar,{small:!0,className:"googlesitekit-analytics-enable-enhanced-measurement__progress--settings-edit"}),!O&&S&&e.createElement("p",{className:"googlesitekit-margin-top-0"},"Enhanced measurement is enabled for this web data stream"),!O&&!S&&e.createElement(p.Switch,{label:Object(m.__)("Enable enhanced measurement","google-site-kit"),checked:k,disabled:c,onClick:w,hideLabel:!1}),e.createElement("p",null,Object(d.a)(Object(m.__)("This allows you to measure interactions with your content (e.g. file downloads, form completions, video views). <a>Learn more</a>","google-site-kit"),{a:e.createElement(v.a,{path:"/analytics/answer/9216061",external:!0})})))}EnhancedMeasurementSwitch.propTypes={onClick:s.a.func,disabled:s.a.bool,loading:s.a.bool,isEnhancedMeasurementAlreadyEnabled:s.a.bool}}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(10),s=n(151),l=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,o=t.ctaLink,m=t.ctaLabel,g=t.className,p=t.onCTAClick,f=t.isCTALinkExternal,b=t.dismissLabel,v=t.onDismiss,h=t.variant,y=void 0===h?d.SUCCESS:h,O=t.hideIcon,E=void 0!==O&&O;return e.createElement("div",{className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":y===d.SUCCESS,"googlesitekit-subtle-notification--warning":y===d.WARNING},g)},!E&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&y===d.SUCCESS&&e.createElement(s.a,{width:24,height:24}),!a&&y===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},b&&e.createElement(c.Button,{tertiary:!0,onClick:v},b),m&&e.createElement(c.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:p,target:f?"_blank":"_self",trailingIcon:f?e.createElement(l.a,{width:14,height:14}):void 0},m)))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,className:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func,variant:o.a.oneOf(Object.values(d)),hideIcon:o.a.bool},t.b=SubtleNotification}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var r=n(1),i=n.n(r),a=n(20),o=n(119);function SelectionPanelHeader(t){var n=t.children,r=t.title,i=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,r),e.createElement(a.a,{className:"googlesitekit-selection-panel-header__close",onClick:i,linkButton:!0},e.createElement(o.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:i.a.node,title:i.a.string,onCloseClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var r=n(1),i=n.n(r),a=n(345);function SelectionPanelItem(t){var n=t.children,r=t.id,i=t.slug,o=t.title,c=t.description,s=t.isItemSelected,l=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,m=t.suffix,g=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(a.a,{badge:g,checked:s,disabled:l,id:r,onChange:u,title:o,value:i},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),c,n),m&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},m))}SelectionPanelItem.propTypes={children:i.a.node,id:i.a.string,slug:i.a.string,title:i.a.string,description:i.a.string,isItemSelected:i.a.bool,isItemDisabled:i.a.bool,onCheckboxChange:i.a.func,subtitle:i.a.string,suffix:i.a.node,badge:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var r=n(21),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,r=void 0===n?Object(s.__)("Current selection","google-site-kit"):n,a=t.availableItemsTitle,o=void 0===a?Object(s.__)("Additional items","google-site-kit"):a,l=t.savedItemSlugs,u=void 0===l?[]:l,d=t.availableSavedItems,m=void 0===d?{}:d,g=t.availableUnsavedItems,p=void 0===g?{}:g,f=t.ItemComponent,b=function(t){return Object.keys(t).map((function(n){return e.createElement(f,i()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(p).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},r),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(m)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},o)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(p)))}SelectionPanelItems.propTypes={currentSelectionTitle:o.a.string,availableItemsTitle:o.a.string,savedItemSlugs:o.a.array,availableSavedItems:o.a.object,availableUnsavedItems:o.a.object,ItemComponent:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(13),u=n(1),d=n.n(u),m=n(0),g=n(38),p=n(2),f=n(3),b=n(10),v=n(116),h=n(8),y=n(9),O=n(40),E=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=t.selectedItemSlugs,c=void 0===a?[]:a,u=t.saveSettings,d=void 0===u?function(){}:u,_=t.saveError,j=t.itemLimitError,S=t.minSelectedItemCount,k=void 0===S?0:S,A=t.maxSelectedItemCount,T=void 0===A?0:A,w=t.isBusy,D=t.onSaveSuccess,C=void 0===D?function(){}:D,N=t.onCancel,I=void 0===N?function(){}:N,R=t.isOpen,x=t.closePanel,P=void 0===x?function(){}:x,M=Object(m.useState)(null),L=s()(M,2),G=L[0],B=L[1],V=Object(m.useState)(!1),F=s()(V,2),W=F[0],Z=F[1],z=Object(f.useSelect)((function(e){return e(y.p).isFetchingSyncAvailableAudiences()})),U=Object(m.useMemo)((function(){return!Object(l.isEqual)(Object(h.F)(c),Object(h.F)(r))}),[r,c]),H=(null==r?void 0:r.length)>0&&U?Object(p.__)("Apply changes","google-site-kit"):Object(p.__)("Save selection","google-site-kit"),q=Object(m.useCallback)(o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(c);case 2:t=e.sent,t.error||(C(),P(),B(H),Z(!0));case 5:case"end":return e.stop()}}),e)}))),[d,c,C,P,H]),K=Object(m.useCallback)((function(){P(),I()}),[P,I]),Y=Object(m.useState)(null),J=s()(Y,2),$=J[0],Q=J[1];Object(m.useEffect)((function(){null!==$&&$!==R&&R&&(B(null),Z(!1)),Q(R)}),[R,$]);var X=(null==c?void 0:c.length)||0,ee=z?e.createElement(O.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(g.a)(Object(p.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(p.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),X,T),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},_&&e.createElement(v.a,{error:_}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},U&&j?e.createElement(E.a,{noPrefix:!0,message:j}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(b.Button,{tertiary:!0,onClick:K,disabled:w},Object(p.__)("Cancel","google-site-kit")),e.createElement(b.SpinnerButton,{onClick:q,isSaving:w,disabled:X<k||X>T||w||!R&&W},G||H))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(344);function SelectionPanel(t){var n=t.children,r=t.isOpen,a=t.onOpen,o=t.closePanel,s=t.className;return e.createElement(c.a,{className:i()("googlesitekit-selection-panel",s),isOpen:r,onOpen:a,closeSheet:o,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:o.a.node,isOpen:o.a.bool,onOpen:o.a.func,closePanel:o.a.func,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var r=n(7),i=n.n(r),a=n(12),o=n.n(a),c=n(405),s=n.n(c),l=n(1),u=n.n(l),d=n(217),m=n(401),g=n(0),p=n(56),f=n(76);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,r=t.children,i=t.isOpen,a=t.onOpen,c=void 0===a?function(){}:a,l=t.closeSheet,u=void 0===l?function(){}:l,b=t.focusTrapOptions,h=void 0===b?{}:b,y=Object(g.useRef)();return Object(g.useEffect)((function(){i?(c(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[i,c]),Object(d.a)(y,u),Object(m.a)((function(e){return i&&p.c===e.keyCode}),u),e.createElement(f.a,null,e.createElement(s.a,{active:!!i,focusTrapOptions:v({fallbackFocus:"body"},h)},e.createElement("section",{ref:y,className:o()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":i}),role:"dialog","aria-modal":"true","aria-hidden":!i,tabIndex:"0"},r)),i&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10);function SelectionBox(t){var n=t.badge,r=t.checked,i=t.children,a=t.disabled,s=t.id,l=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:o()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":a})},e.createElement(c.Checkbox,{checked:r,description:i,disabled:a,id:s,name:s,onChange:l,value:d,badge:n},u))}SelectionBox.propTypes={badge:i.a.node,checked:i.a.bool,children:i.a.node,disabled:i.a.bool,id:i.a.string,onChange:i.a.func,title:i.a.string,value:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return r.createElement("svg",i({viewBox:"0 0 22 19"},e),a)}},,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return GoogleChart}));var i=n(7),a=n.n(i),o=n(27),c=n.n(o),s=n(21),l=n.n(s),u=n(15),d=n.n(u),m=n(23),g=n.n(m),p=(n(576),n(12)),f=n.n(p),b=n(11),v=n.n(b),h=n(1),y=n.n(h),O=n(408),E=n(91),_=n(200),j=n(0),S=n(40),k=n(6),A=n(112),T=n(3),w=n(493),D=n(494),C=n(24),N=n(18),I=n(169),R=n(249),x=n(8),P=n(25);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GoogleChart(t){var n=t.chartEvents,i=t.chartType,a=t.children,o=t.className,s=t.data,u=t.dateMarkers,m=t.getChartWrapper,p=t.height,b=t.loaded,h=t.loadingHeight,y=t.loadingWidth,M=t.onMouseOver,L=t.onMouseOut,G=t.onReady,B=t.onSelect,V=t.selectedStats,F=t.width,W=t.options,Z=t.gatheringData,z=g()(t,["chartEvents","chartType","children","className","data","dateMarkers","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),U=Object(_.a)(GoogleChart),H=Object(P.e)(),q=Object(T.useSelect)((function(e){return e(k.a).getDateRangeDates({offsetDays:0})})),K=q.startDate,Y=q.endDate,J=Object(N.a)(),$=Object(T.useSelect)((function(e){return e(C.b).getValue("googleChartsCollisionError")})),Q=Object(j.useState)(!1),X=d()(Q,2),ee=X[0],te=X[1],ne=Object(T.useDispatch)(C.b).setValue,re=Object(R.d)(s,V),ie="PieChart"===i?"circular":"square",ae=Object(R.e)(h,p,y,F),oe=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(S.a,l()({className:"googlesitekit-chart-loading__wrapper",shape:ie},ae))),ce=Object(j.useRef)(),se=Object(j.useRef)();Object(E.a)((function(){var e,t,n,i;void 0===$&&(Object(I.a)(J)&&(null===(e=r)||void 0===e||null===(t=e.google)||void 0===t?void 0:t.charts)&&(r.google.charts=void 0),!Object(I.a)(J)&&(null===(n=r)||void 0===n||null===(i=n.google)||void 0===i?void 0:i.charts)?ne("googleChartsCollisionError",!0):ne("googleChartsCollisionError",!1))})),Object(j.useEffect)((function(){return function(){if(se.current&&ce.current){var e=se.current.visualization.events;e.removeAllListeners(ce.current.getChart()),e.removeAllListeners(ce.current)}}}),[]),Object(j.useLayoutEffect)((function(){var e,t;M&&(null===(e=se.current)||void 0===e||e.visualization.events.addListener(ce.current.getChart(),"onmouseover",(function(e){M(e,{chartWrapper:ce.current,google:se.current})})));L&&(null===(t=se.current)||void 0===t||t.visualization.events.addListener(ce.current.getChart(),"onmouseout",(function(e){L(e,{chartWrapper:ce.current,google:se.current})})))}),[M,L]);var le=u.filter((function(e){return!!((t=new Date(e.date))&&K&&Y)&&!(t.getTime()<Object(x.H)(K).getTime()||t.getTime()>Object(x.H)(Y).getTime());var t}));if($)return null;if(!b)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",o)},oe);var ue=Object(R.b)([].concat(c()(n||[]),[{eventName:"ready",callback:function(){var e;if(ce.current&&le.length){var t=ce.current.getChart(),n=null==t?void 0:t.getChartLayoutInterface(),r=null==n?void 0:n.getChartAreaBoundingBox(),i=ce.current.getDataTable();if(n&&r&&i){le.forEach((function(e,t){var i=new Date(e.date),a=document.getElementById("googlesitekit-chart__date-marker-line--".concat(U,"-").concat(t));v()(a,"#googlesitekit-chart__date-marker-line--".concat(U,"-").concat(t," is missing from the DOM, but required to render date markers."));var o=Math.floor(n.getXLocation(Object(x.H)(Object(x.q)(i))));if(Object.assign(a.style,{left:"".concat(o-1,"px"),top:"".concat(Math.floor(r.top),"px"),height:"".concat(Math.floor(r.height),"px"),opacity:1}),e.text){var c=document.getElementById("googlesitekit-chart__date-marker-tooltip--".concat(U,"-").concat(t));v()(c,"#googlesitekit-chart__date-marker-tooltip--".concat(U,"-").concat(t," is missing from the DOM, but required to render date marker tooltips.")),Object.assign(c.style,{left:"".concat(o-9,"px"),top:"".concat(Math.floor(r.top)-18,"px"),opacity:1})}}));var a=null===(e=document.querySelector("#googlesitekit-chart-".concat(U," svg:first-of-type > g:first-of-type > g > g > text")))||void 0===e?void 0:e.parentElement.parentElement.parentElement;!!a&&document.querySelectorAll("#googlesitekit-chart-".concat(U," svg:first-of-type > g")).length>=3&&(a.style.transform="translateY(-10px)")}}}}]),G,B),de=Object(R.a)(W,Z,i,K,Y,H);return e.createElement(w.a,null,e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(i),o),id:"googlesitekit-chart-".concat(U),tabIndex:-1},e.createElement(O.a,l()({className:"googlesitekit-chart__inner",chartEvents:ue,chartLanguage:Object(x.s)(),chartType:i,chartVersion:"49",data:re,loader:oe,height:p,getChartWrapper:function(e,t){var n,r,i;(ee||te(!0),e!==ce.current)&&(null===(n=se.current)||void 0===n||n.visualization.events.removeAllListeners(null===(r=ce.current)||void 0===r?void 0:r.getChart()),null===(i=se.current)||void 0===i||i.visualization.events.removeAllListeners(ce.current));ce.current=e,se.current=t,m&&m(e,t)},width:F,options:de},z)),Z&&ee&&e.createElement(A.b,{style:A.a.OVERLAY}),!!le.length&&le.map((function(t,n){return e.createElement(D.a,{key:"googlesitekit-chart__date-marker--".concat(U,"-").concat(n),id:"".concat(U,"-").concat(n),text:t.text})})),a))}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,dateMarkers:y.a.arrayOf(y.a.shape({date:y.a.string.isRequired,text:y.a.string})),getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=L(L({},O.a.defaultProps),{},{dateMarkers:[],gatheringData:!1,loaded:!0})}).call(this,n(4),n(26))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(11),s=n.n(c),l=n(13),u=n(256),d=n(109),m=n(157),g=n(14),p=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},f=Object(l.memoize)(function(){var e=o()(i.a.mark((function e(t){var n,r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,r=t.ampMode,s()(Object(d.a)(n),"homeURL must be valid URL"),a=[n],g.b!==r){e.next=14;break}return e.prev=4,e.next=7,Object(u.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(m.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&a.push(o),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",a);case 14:return e.abrupt("return",a);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var i=n(2),a=n(10),o=n(3),c=n(380),s=n(381),l=n(213),u=n(89),d=n(25),m=n(24),g=n(6),p=n(19),f=n(18),b=n(35),v=n(8),h=n(9),y=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(f.a)(),n=Object(b.a)(),O=Object(d.e)(),E=Object(y.c)(),_=Object(o.useSelect)((function(e){return e(g.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),j=Object(o.useSelect)((function(e){var t=e(g.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),r=e(g.a).isAudienceSegmentationWidgetHidden(),i=e(p.a).isModuleActive("analytics-4"),a=!n||e(g.a).canViewSharedModule("analytics-4"),o=e(h.p).getAudienceSegmentationSetupCompletedBy(),c=e(g.a).getID();return y.b===E&&!1===t&&!1===r&&i&&a&&Number.isInteger(o)&&o!==c})),S=Object(o.useDispatch)(m.b).dismissOverlayNotification,k=function(){S("audienceSegmentationIntroductoryOverlayNotification")};return r.createElement(l.a,{shouldShowNotification:j,GraphicDesktop:c.a,GraphicMobile:s.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(i.__)("New! Visitor groups","google-site-kit")),r.createElement("p",null,Object(i.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(a.Button,{tertiary:!0,disabled:_,onClick:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){k()}))}},Object(i.__)("Got it","google-site-kit")),r.createElement(a.Button,{disabled:_,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",O),behavior:"smooth"})}),0),Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){k()}))}},Object(i.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return s.a}));var r=n(2);function i(e){var t,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.keyColumnIndex,c=void 0===o?0:o,s=a.maxSlices,l=a.withOthers,u=void 0!==l&&l,d=a.tooltipCallback,m=e||{},g=m.rows,p=void 0===g?[]:g,f=m.totals,b=void 0===f?[]:f,v="function"==typeof d,h=["Source","Percent"];v&&h.push({type:"string",role:"tooltip",p:{html:!0}});var y=(null==b||null===(t=b[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[c])||void 0===i?void 0:i.value)||0,O=[h],E=p.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),_=u,j=E.length,S=1;s>0?(_=u&&E.length>s,j=Math.min(E.length,_?s-1:s)):(_=!1,j=E.length);for(var k=function(e){var t=E[e],n=t.metricValues[c].value,r=y>0?n/y:0;S-=r;var i=[t.dimensionValues[0].value,r];if(v){var a=p.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));i.push(d(t,a,i))}O.push(i)},A=0;A<j;A++)k(A);if(_&&S>0){var T=[Object(r.__)("Others","google-site-kit"),S];v&&T.push(d(null,null,T)),O.push(T)}return O}var a=function(e){var t,n,r,i,a,o,c;if(void 0!==e){var s=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==s?void 0:s.length)||(null==s||null===(t=s[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===(null==e||null===(i=e.totals)||void 0===i||null===(a=i[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(c=o[0])||void 0===c?void 0:c.value)}},o=n(372),c=n(228),s=(n(95),n(272),n(430))},function(e,t,n){"use strict";var r=n(226);n.d(t,"b",(function(){return r.a}));n(190),n(353);var i=n(422);n.d(t,"c",(function(){return i.a}));var a=n(423);n.d(t,"e",(function(){return a.a}));var o=n(424);n.d(t,"d",(function(){return o.a}));var c=n(425);n.d(t,"a",(function(){return c.a}));var s=n(426);n.d(t,"f",(function(){return s.a}));var l=n(427);n.d(t,"g",(function(){return l.a}));var u=n(428);n.d(t,"h",(function(){return u.a}));n(227),n(312);var d=n(429);n.d(t,"i",(function(){return d.a}))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAContent}));var r=n(15),i=n.n(r),a=n(12),o=n.n(a),c=n(1),s=n.n(c),l=n(222),u=n(79),d=n(0),m=n(3),g=n(14),p=n(6),f=n(25),b=n(8),v=n(18),h=n(17),y=n(433),O=n(434),E=n(435),_=n(436);function KeyMetricsCTAContent(t){var n=t.className,r=t.title,a=t.description,c=t.actions,s=t.ga4Connected,j=Object(d.useRef)(),S=Object(f.e)(),k=Object(u.a)(),A=Object(v.a)(),T=S===f.b,w=S===f.c&&k<960,D=k>=1280,C=k>=960&&k<1280;s||(w=S===f.c&&k<800,C=k>=800&&k<1280);var N=Object(l.a)(j,{threshold:.25}),I=Object(d.useState)(!1),R=i()(I,2),x=R[0],P=R[1],M=!!(null==N?void 0:N.intersectionRatio),L=Object(m.useDispatch)(p.a).triggerSurvey,G=Object(m.useSelect)((function(e){return e(g.c).isUsingProxy()}));return Object(d.useEffect)((function(){M&&!x&&(s&&Object(b.J)("".concat(A,"_kmw-cta-notification"),"view_notification"),G&&L("view_kmw_setup_cta",{ttl:b.g}),P(!0))}),[M,A,s,x,G,L]),e.createElement("section",{ref:j,className:o()("googlesitekit-setup__wrapper","googlesitekit-setup__wrapper--key-metrics-setup-cta",n)},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{smSize:5,mdSize:6,lgSize:5,className:"googlesitekit-widget-key-metrics-content__wrapper"},e.createElement("div",{className:"googlesitekit-widget-key-metrics-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},r),e.createElement("p",null,a)),e.createElement("div",{className:"googlesitekit-widget-key-metrics-actions__wrapper"},c),w&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(E.a,null)),T&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(_.a,null))),C&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(O.a,null)),D&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper",smSize:6,mdSize:3,lgSize:6},e.createElement(y.a,null)))))}KeyMetricsCTAContent.propTypes={title:s.a.string,description:s.a.string,actions:s.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAFooter}));var r=n(1),i=n.n(r),a=n(2),o=n(17),c=n(20);function KeyMetricsCTAFooter(t){var n=t.onActionClick,r=void 0===n?function(){}:n,i=t.showDismiss;return e.createElement(o.k,{className:"googlesitekit-widget-key-metrics-footer"},e.createElement(o.a,{size:12,className:"googlesitekit-widget-key-metrics-footer__cta-wrapper"},!i&&e.createElement("span",null,Object(a.__)("Interested in specific metrics?","google-site-kit")),e.createElement(c.a,{onClick:r},i?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Select your own metrics","google-site-kit"))))}KeyMetricsCTAFooter.propTypes={onActionClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return r.createElement("svg",i({viewBox:"0 0 23 22",fill:"none"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Chip}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10),s=n(30),l=n(440);function Chip(t){var n=t.slug,r=t.label,i=t.isActive,a=t.onClick,u=t.selectedCount;return e.createElement(c.Button,{className:o()("googlesitekit-chip-tab-group__chip-item",{"googlesitekit-chip-tab-group__chip-item--active":i}),icon:n===s.b?e.createElement(l.a,{width:12,height:12}):null,trailingIcon:u>0?e.createElement("span",{className:"googlesitekit-chip-tab-group__chip-item-count"},"(",u,")"):null,onClick:function(){return a(n)}},r)}Chip.propTypes={slug:i.a.string.isRequired,label:i.a.string.isRequired,isActive:i.a.bool,selectedCount:i.a.number.isRequired,onClick:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTooltipMessage}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),l=n(20),u=n(14);function AudienceTooltipMessage(t){var n=t.audienceSlug,r=t.audienceName,i=Object(s.useSelect)((function(e){return e(u.c).getDocumentationLinkURL("visitor-groups")}));return Object(a.useMemo)((function(){switch(n){case"new-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who visited your site for the first time. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>New visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(l.a,{href:i,external:!0,hideExternalIndicator:!0})});case"returning-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who have visited your site at least once before. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>Returning visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(l.a,{href:i,external:!0,hideExternalIndicator:!0})});default:return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)("%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>","google-site-kit"),"<strong>".concat(r,"</strong>")),{strong:e.createElement("strong",null),link:e.createElement(l.a,{href:i,external:!0,hideExternalIndicator:!0})})}}),[n,r,i])}AudienceTooltipMessage.propTypes={audienceSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RetryButton}));var r=n(1),i=n.n(r),a=n(2),o=n(10),c=n(8),s=n(18);function RetryButton(t){var n=t.handleRetry,r=Object(s.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",onClick:function(){n(),Object(c.J)("".concat(r,"_audiences-sidebar"),"data_loading_error_retry")},tertiary:!0},Object(a.__)("Retry","google-site-kit"))}RetryButton.propTypes={handleRetry:i.a.func.isRequired}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(2),i=n(3),a=n(148),o=n(20),c=n(14);function Notice(){var t=Object(i.useSelect)((function(e){return e(c.c).getDocumentationLinkURL("ga4")}));return e.createElement(a.c,{type:a.a,LearnMore:function LearnMore(){return e.createElement(o.a,{href:t,external:!0},Object(r.__)("Learn more here.","google-site-kit"))},notice:Object(r.__)("Got a Google Analytics property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(3),i=n(19),a=n(6),o=n(30),c=n(9),s=n(64);function l(){return Object(r.useSelect)((function(e){var t=e(a.a).isItemDismissed(o.l),n=u(e,"search-console",s.b),r=u(e,"analytics-4",c.p);return!1===t&&n&&r}),[])}function u(e,t,n){if(e(i.a).isModuleConnected(t)){var r=e(n),a=r.isGatheringData,o=r.isDataAvailableOnLoad;return a(),o()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var r=n(271),i=n(3),a=n(24),o="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(i.useDispatch)(a.b).setValue;return Object(r.a)((function(){e(o,!0)})),null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var r=n(7),i=n.n(r),a=n(27),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(3),m=n(28),g=n(46),p=n(19),f=n(30),b=n(115);function MetricItem(t){var n=t.slug,r=t.title,a=t.description,c=t.savedItemSlugs,s=void 0===c?[]:c,v=Object(d.useSelect)((function(e){var t=e(p.a).getModule,r=e(g.a).getWidget(n);return null==r?void 0:r.modules.reduce((function(e,n){var r=t(n);return(null==r?void 0:r.connected)||!(null==r?void 0:r.name)?e:[].concat(o()(e),[r.name])}),[])})),h=Object(d.useSelect)((function(e){return e(m.a).getValue(f.j,f.i)})),y=Object(d.useSelect)((function(e){return e(m.a)})).getValue,O=Object(d.useDispatch)(m.a).setValues,E=Object(l.useCallback)((function(e){var t=y(f.j,f.i);O(f.j,i()({},f.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[y,O,n]),_=null==h?void 0:h.includes(n),j=!s.includes(n)&&v.length>0,S="key-metric-selection-checkbox-".concat(n);return e.createElement(b.c,{id:S,slug:n,title:r,description:a,isItemSelected:_,isItemDisabled:j,onCheckboxChange:E},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:s.a.string.isRequired,title:s.a.string.isRequired,description:s.a.string.isRequired,savedItemSlugs:s.a.array}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),i=n(3),a=n(6),o=n(19),c=n(32);function s(e){var t=Object(i.useSelect)((function(e){return e(a.a).hasCapability(a.K)})),n=Object(i.useSelect)((function(t){return t(o.a).getModuleStoreName(e)})),s=Object(i.useSelect)((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),l=Object(i.useDispatch)(c.a).navigateTo,u=Object(r.useCallback)((function(){return l(s)}),[s,l]);return s&&t?u:null}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},r.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},r.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),o=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=r.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},r.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},r.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),s=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},r.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},a,r.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},o),c),s)}},function(e,t){e.exports=googlesitekit.widgets},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0);function Sparkline(t){var n=t.sparkline,r=t.invertChangeColor,i=n;return i&&r&&(i=Object(a.cloneElement)(n,{invertChangeColor:r})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},i)}Sparkline.propTypes={sparkline:i.a.element,invertChangeColor:i.a.bool},t.a=Sparkline}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(2),s=n(8),l=n(86);function Change(t){var n=t.change,r=t.changeDataUnit,i=t.period,a=t.invertChangeColor,u=n;return r&&(u="%"===r?Object(s.C)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(s.C)(n,r)),i&&(u=Object(c.sprintf)(i,u)),e.createElement("div",{className:o()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(l.a,{direction:0<parseFloat(n)?"up":"down",invertColor:a})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))}Change.propTypes={change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),period:i.a.string,invertChangeColor:i.a.bool},t.a=Change}).call(this,n(4))},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(15),i=n.n(r),a=n(521),o=n(359),c=n(0),s=n(154),l=n(24),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sticky,n=void 0!==t&&t,r=Object(c.useContext)(s.a),u=Object(c.useState)(!1),d=i()(u,2),m=d[0],g=d[1],p=Object(o.a)((function(e){return e(l.b).getInViewResetCount()})),f=Object(o.a)((function(e){return e(l.b).getValue("forceInView")}));return Object(c.useEffect)((function(){r.value&&!m&&g(!0)}),[m,r,g]),Object(c.useEffect)((function(){f&&g(!0)}),[f]),Object(a.a)((function(){g(!1)}),[p]),!(!n||!m)||!!r.value}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return SetupSuccess}));var r=n(3),i=n(6),a=n(18),o=n(108),c=n(8),s=n(443),l=Object(o.a)(s.a),u="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return e(i.a).isItemDismissed(u)}));return void 0===n||n?null:e.createElement(l,{onInView:function(){Object(c.J)("".concat(t,"_audiences-setup-cta-settings-success"),"view_notification")}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(221),u=n(2),d=n(0),m=n(157),g=n(3),p=n(28),f=n(6),b=n(34),v=n(9);function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,r=t.onSuccess,a=t.onError,c=Object(l.a)(),h=Object(d.useState)([]),y=s()(h,2),O=y[0],E=y[1],_=Object(d.useState)([]),j=s()(_,2),S=j[0],k=j[1],A=Object(d.useState)(!1),T=s()(A,2),w=T[0],D=T[1],C=Object(g.useSelect)((function(e){return e(f.a).hasScope(v.g)})),N=Object(g.useSelect)((function(e){return e(p.a).getValue(v.c,"autoSubmit")})),I=Object(g.useDispatch)(p.a),R=I.setValues,x=Object(g.useDispatch)(f.a),P=x.setPermissionScopeError,M=Object(g.useDispatch)(v.p),L=M.enableAudienceGroup;n||(n=Object(m.a)(e.location.href,{notification:"audience_segmentation"}));var G=Object(d.useCallback)(o()(i.a.mark((function t(){var o,s,l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(D(!0),C){t.next=5;break}return R(v.c,{autoSubmit:!0}),P({code:b.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[v.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n,errorRedirectURL:e.location.href}}),t.abrupt("return");case 5:return R(v.c,{autoSubmit:!1}),t.next=8,L(S);case 8:if(t.t0=t.sent,t.t0){t.next=11;break}t.t0={};case 11:o=t.t0,s=o.error,l=o.failedSiteKitAudienceSlugs,s||l?null==a||a():null==r||r(),c()&&(s?(E([s]),k([])):Array.isArray(l)?(k(l),E([])):(E([]),k([])),D(!1));case 16:case"end":return t.stop()}}),t)}))),[C,R,L,S,c,P,n,a,r]);return Object(d.useEffect)((function(){C&&N&&G()}),[C,N,G]),{apiErrors:O,failedAudiences:S,isSaving:w,onEnableGroups:G}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedConversionTrackingNotice}));var r=n(12),i=n.n(r),a=n(3),o=n(14);function SetupEnhancedConversionTrackingNotice(t){var n=t.className,r=t.message,c=Object(a.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return c||void 0===c?null:e.createElement("p",{className:i()(n,"googlesitekit-color--surfaces-on-background-variant")},r)}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.522 143.34c2.283 6.363 5.534 12.204 9.6 17.248 15.98 19.643 39.589 21.308 61.242 16.393 21.924-5.009 42.593-15.632 60.484-31.083 10.296-8.905 20.465-19.956 34.097-20.448 5.118-.184 10.412 1.462 14.278 5.346 8.035 8.019 7.892 21.731 14.162 31.235 8.339 12.64 20.332 16.554 33.415 18.013 36.961 4.116 80.986-9.39 106.41-42.253 22.699-29.338 25.423-76.02-2.053-102.765-12.553-12.22-29.767-17.818-46.014-14.965-12.418 2.18-25.024 8.813-37.878 10.657-15.138 2.177-24.497-5.246-36.745-13.892-21.342-15.026-49.557-20.8-73.716-12.081-23.127 8.343-39.771 31.125-62.275 41.133-19.446 8.653-42.416 7.336-59.313 21.43C.225 83.98-4.8 117.641 4.522 143.34z",fill:"#F9FAF9"}),o=r.createElement("g",{filter:"url(#ga4-success-green_svg__filter0_d_826_6999)"},r.createElement("rect",{x:83,y:3,width:218.232,height:149,rx:11.919,fill:"#fff"}),r.createElement("rect",{x:82.409,y:2.409,width:219.414,height:150.182,rx:12.51,stroke:"#CBD0D3",strokeWidth:1.182})),c=r.createElement("path",{d:"M83 14.92C83 8.336 88.337 3 94.92 3h194.393c6.583 0 11.919 5.337 11.919 11.92v6.14H83v-6.14z",fill:"#EBEEF0"}),s=r.createElement("rect",{x:92.03,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),l=r.createElement("rect",{x:101.061,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),u=r.createElement("rect",{x:95.002,y:30.603,width:25.582,height:9.303,rx:4.651,fill:"#EBEEF0"}),d=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M111.598 49.79H96.481v-2.907h15.117v2.907zM108.11 57.93H96.481v-2.907h11.629v2.906zM104.621 66.07h-8.14v-2.908h8.14v2.907zM109.273 74.21H96.481v-2.908h12.792v2.907z",fill:"#EBEEF0"}),m=r.createElement("rect",{x:237.141,y:30.151,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),g=r.createElement("rect",{x:255.516,y:70.242,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),p=r.createElement("circle",{cx:262.167,cy:51.309,r:10.746,stroke:"#F5C3EA",strokeWidth:3.07}),f=r.createElement("path",{d:"M272.914 51.309c0 5.934-4.812 10.746-10.747 10.746-5.934 0-10.746-4.812-10.746-10.746 0-5.935 4.812-10.746 10.746-10.746",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),b=r.createElement("rect",{x:136.446,y:85.999,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),v=r.createElement("rect",{x:155.258,y:125.508,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),h=r.createElement("circle",{cx:161.911,cy:106.574,r:10.746,stroke:"#F5C3EA",strokeWidth:3.295}),y=r.createElement("path",{d:"M158.294 116.693c-5.589-1.997-8.5-8.147-6.502-13.736 1.997-5.588 8.147-8.5 13.736-6.502",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),O=r.createElement("rect",{x:136.446,y:30.151,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),E=r.createElement("rect",{x:141.639,y:37.492,width:44.008,height:3.07,rx:1.023,fill:"#CBD0D3"}),_=r.createElement("rect",{x:141.639,y:43.633,width:28.656,height:3.07,rx:1.023,fill:"#CBD0D3"}),j=r.createElement("rect",{x:141.523,y:50.459,width:82.925,height:23.693,rx:2.047,fill:"#fff"}),S=r.createElement("g",{mask:"url(#ga4-success-green_svg__a)"},r.createElement("path",{d:"M152.343 70.074c-8.033 0-11.243-1.866-13.358-3.732v11.195h87.156V57.906c-.668-1.348-2.296-4.908-7.984-4.908-7.346 0-13.306 14.277-24.284 14.277-10.977 0-12.308-6.84-18.628-6.84-7.984 0-12.551 9.639-22.902 9.639z",fill:"#F5C3EA",stroke:"#E399D3",strokeWidth:3.07}),r.createElement("path",{d:"M178.129 60.008a3.07 3.07 0 11-6.141-.001 3.07 3.07 0 016.141 0z",fill:"#AC629B"})),k=r.createElement("rect",{x:193.986,y:85.999,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),A=r.createElement("rect",{x:199.267,y:92.758,width:19.445,height:3.07,rx:1.023,fill:"#CBD0D3"}),T=r.createElement("rect",{x:199.267,y:98.898,width:10.234,height:3.07,rx:1.023,fill:"#CBD0D3"}),w=r.createElement("rect",{x:204.875,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 204.875 127.555)",fill:"#F5C3EA"}),D=r.createElement("rect",{x:213.062,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 213.062 127.555)",fill:"#F5C3EA"}),C=r.createElement("rect",{x:221.25,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 221.25 127.555)",fill:"#F5C3EA"}),N=r.createElement("rect",{x:229.438,y:127.555,width:8.188,height:3.07,rx:1.023,transform:"rotate(-90 229.438 127.555)",fill:"#E399D3"}),I=r.createElement("rect",{x:237.625,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 237.625 127.555)",fill:"#E399D3"}),R=r.createElement("rect",{x:245.812,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 245.812 127.555)",fill:"#E399D3"}),x=r.createElement("rect",{x:254,y:127.555,width:18.422,height:3.07,rx:1.023,transform:"rotate(-90 254 127.555)",fill:"#E399D3"}),P=r.createElement("rect",{x:262.188,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 262.188 127.555)",fill:"#E399D3"}),M=r.createElement("rect",{x:270.375,y:127.555,width:9.211,height:3.07,rx:1.023,transform:"rotate(-90 270.375 127.555)",fill:"#E399D3"}),L=r.createElement("path",{d:"M79.162 126.71l-10.25 43.198H55M95.27 126.71l5.124 12.447-8.786 30.751h12.447",stroke:"#000",strokeWidth:2.758,strokeLinecap:"round"}),G=r.createElement("path",{d:"M120.896 104.725c5.939.696 30.067 6.234 23.615-15.253l5.672-1.395",stroke:"#191C1A",strokeWidth:2.758,strokeLinecap:"round",strokeLinejoin:"round"}),B=r.createElement("path",{d:"M58.868 105.86c.72 9.731.871 20.959-1.877 30.341",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),V=r.createElement("circle",{cx:88.68,cy:97.424,r:32.215,fill:"#77AD8C"}),F=r.createElement("path",{d:"M98.93 111.803c-4.788 6.599-13.708 8.761-20.5.899",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),W=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.02 126.711c18.196 0 32.947-14.752 32.947-32.948a32.791 32.791 0 00-5.113-17.637 32.09 32.09 0 018.042 21.296c0 17.792-14.423 32.216-32.215 32.216a32.093 32.093 0 01-21.282-8.03 32.788 32.788 0 0017.62 5.103z",fill:"#59866A"}),Z=r.createElement("defs",null,r.createElement("filter",{id:"ga4-success-green_svg__filter0_d_826_6999",x:81.818,y:1.818,width:223.98,height:155.594,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.385,dy:4.231}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_826_6999"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_826_6999",result:"shape"})));t.a=function SvgGa4SuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 356 181",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f,b,v,h,y,O,E,_,r.createElement("mask",{id:"ga4-success-green_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:141,y:50,width:84,height:25},j),S,k,A,T,w,D,C,N,I,R,x,P,M,L,G,B,V,F,W,Z)}},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),l=n(9),u=n(8),d=n(18);function UseSnippetSwitch(t){var n=t.description,r=Object(d.a)(),i=Object(c.useSelect)((function(e){return e(l.p).getUseSnippet()})),m=Object(c.useDispatch)(l.p).setUseSnippet,g=Object(a.useCallback)((function(){var e=!i;m(e),Object(u.J)("".concat(r,"_analytics"),e?"enable_tag":"disable_tag","ga4")}),[i,m,r]);return void 0===i?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(s.Switch,{label:Object(o.__)("Place Google Analytics code","google-site-kit"),checked:i,onClick:g,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(40);function PreviewTable(t){for(var n=t.rows,r=t.rowHeight,i=t.padding,a=[],s=0;n>s;s++)a.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:r+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":i})},a)}PreviewTable.propTypes={rows:i.a.number,rowHeight:i.a.number,padding:i.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(4))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.reduce((function(e,t,r){return e+t+encodeURIComponent(n[r]||"")}),"")}n.d(t,"a",(function(){return r}))},,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeMetricsLink}));var r=n(0),i=n(2),a=n(3),o=n(24),c=n(6),s=n(30),l=n(20),u=n(275),d=n(432),m=n(8),g=n(18),p=n(496);function ChangeMetricsLink(){var t=Object(a.useSelect)((function(e){return e(c.a).getKeyMetrics()})),n=Object(g.a)(),f=Object(a.useDispatch)(o.b).setValue,b=Object(r.useCallback)((function(){f(s.k,!0),Object(m.J)("".concat(n,"_kmw"),"change_metrics")}),[f,n]),v=Array.isArray(t)&&(null==t?void 0:t.length)>0;return Object(p.a)(v),v?e.createElement(r.Fragment,null,e.createElement(l.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:b,leadingIcon:e.createElement(u.a,{width:22,height:22})},Object(i.__)("Change metrics","google-site-kit")),e.createElement(d.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InsufficientPermissionsError}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),l=n(14),u=n(20),d=n(264),m=n(8),g=n(18);function InsufficientPermissionsError(t){var n=t.moduleSlug,r=t.onRetry,i=t.infoTooltip,p=t.headerText,f=Object(g.a)(),b=Object(s.useSelect)((function(e){return e(l.c).getErrorTroubleshootingLinkURL({code:"".concat(n,"_insufficient_permissions")})}));Object(a.useEffect)((function(){Object(m.K)("".concat(f,"_kmw"),"insufficient_permissions_error")}),[f]);var v=Object(a.useCallback)((function(){Object(m.J)("".concat(f,"_kmw"),"insufficient_permissions_error_retry"),null==r||r()}),[r,f]);return e.createElement(d.a,{title:Object(c.__)("Insufficient permissions","google-site-kit"),headerText:p,infoTooltip:i},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("Permissions updated? <a>Retry</a>","google-site-kit"),{a:e.createElement(u.a,{onClick:v})})),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("You’ll need to contact your administrator. <a>Learn more</a>","google-site-kit"),{a:e.createElement(u.a,{href:b,external:!0,hideExternalIndicator:!0})}))))}InsufficientPermissionsError.propTypes={moduleSlug:i.a.string.isRequired,onRetry:i.a.func.isRequired,headerText:i.a.string,infoTooltip:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(91),u=n(2),d=n(0),m=n(3),g=n(10),p=n(360),f=n(361),b=n(6),v=n(14),h=n(30),y=n(24),O=n(54),E=n(110),_=n(8),j=n(18),S=n(376),k=n(377);function KeyMetricsSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(j.a)(),c=Object(S.a)(),s=Object(m.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-user-input")})),O=Object(E.b)(h.l),A=Object(E.c)(h.l).isTooltipVisible,T=Object(m.useDispatch)(b.a).dismissItem,w=Object(m.useDispatch)(y.b).setValue,D=function(){var e=o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(a,"_kmw-cta-notification"),"dismiss_notification");case 2:return O(),e.next=5,T(h.l);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),C=Object(d.useCallback)((function(){Object(_.J)("".concat(a,"_kmw"),"tooltip_dismiss")}),[a]),N=Object(d.useCallback)((function(){w(h.k,!0),Object(_.J)("".concat(a,"_kmw-cta-notification"),"confirm_pick_own_metrics")}),[w,a]),I=Object(d.useCallback)((function(){Object(_.J)("".concat(a,"_kmw-cta-notification"),"confirm_get_tailored_metrics")}),[a]);return Object(l.a)((function(){A&&Object(_.J)("".concat(a,"_kmw"),"tooltip_view")})),A?e.createElement(d.Fragment,null,e.createElement(r,null),e.createElement(E.a,{title:Object(u.__)("You can always set up goals from Settings later","google-site-kit"),content:Object(u.__)("The Key Metrics section will be added back to your dashboard once you set your goals in Settings","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),tooltipStateKey:h.l,onDismiss:C})):c?e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(f.a,{onActionClick:N})}},e.createElement(p.a,{title:Object(u.__)("Get personalized suggestions for user interaction metrics based on your goals","google-site-kit"),description:Object(u.__)("Answer 3 questions and we’ll suggest relevant metrics for your dashboard. These metrics will help you track how users interact with your site.","google-site-kit"),actions:e.createElement(d.Fragment,null,e.createElement(k.b,null),e.createElement(g.Button,{className:"googlesitekit-key-metrics-cta-button",href:s,onClick:I},Object(u.__)("Get tailored metrics","google-site-kit")),e.createElement(g.Button,{tertiary:!0,onClick:D},Object(u.__)("Maybe later","google-site-kit"))),ga4Connected:!0})):e.createElement(r,null)}KeyMetricsSetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType},t.a=Object(O.a)({moduleName:"analytics-4"})(KeyMetricsSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileNumeric}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(8),u=n(171),d=n(189);function MetricTileNumeric(t){var n=t.metricValue,r=t.metricValueFormat,a=t.subText,c=t.previousValue,s=t.currentValue,m=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),g=Object(l.n)(r);return e.createElement(d.a,i()({className:"googlesitekit-km-widget-tile--numeric"},m),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},Object(l.C)(n,g)),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},a)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(u.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==g?void 0:g.style)})))}MetricTileNumeric.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),metricValueFormat:s.a.oneOfType([s.a.string,s.a.object]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTable}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(13),u=n(12),d=n.n(u),m=n(189);function MetricTileTable(t){var n=t.rows,r=void 0===n?[]:n,a=t.columns,c=void 0===a?[]:a,s=t.limit,u=t.ZeroState,g=o()(t,["rows","columns","limit","ZeroState"]),p=null;return(null==r?void 0:r.length)>0?p=r.slice(0,s||r.length).map((function(t,n){return e.createElement("div",{key:n,className:"googlesitekit-table__body-row"},c.map((function(n,r){var i=n.Component,a=n.field,o=n.className,c=void 0!==a?Object(l.get)(t,a):void 0;return e.createElement("div",{key:r,className:d()("googlesitekit-table__body-item",o)},i&&e.createElement(i,{row:t,fieldValue:c}),!i&&c)})))})):u&&(p=e.createElement("div",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("div",{className:"googlesitekit-table__body-zero-data"},e.createElement(u,null)))),e.createElement(m.a,i()({className:"googlesitekit-km-widget-tile--table"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__table"},p))}MetricTileTable.propTypes={rows:s.a.array,columns:s.a.array,limit:s.a.number,ZeroState:s.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTablePlainText}));var r=n(1),i=n.n(r);function MetricTileTablePlainText(t){var n=t.content;return e.createElement("p",{className:"googlesitekit-km-widget-tile__table-plain-text"},n)}MetricTileTablePlainText.propTypes={content:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n(21),n(27),n(15),n(0),n(2),n(3),n(30),n(28),n(364),n(378),n(441),n(25)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(371),m=n(2),g=n(0),p=n(3),f=n(54),b=n(28),v=n(6),h=n(14),y=n(60),O=n(9),E=n(391),_=n(18),j=n(110),S=n(181),k=n(8),A=n(108),T=n(392),w=n(226),D=n(444),C=Object(A.a)(D.a);function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(_.a)(),c=Object(p.useDispatch)(y.a).invalidateResolution,l=Object(p.useDispatch)(b.a).setValues,u=Object(j.b)("audience_segmentation_setup_cta-notification"),d=Object(j.c)("audience_segmentation_setup_cta-notification").isTooltipVisible,f=Object(p.useSelect)((function(e){return e(v.a).isPromptDismissed("audience_segmentation_setup_cta-notification")})),S=Object(p.useSelect)((function(e){return e(v.a).getPromptDismissCount("audience_segmentation_setup_cta-notification")})),A=Object(p.useSelect)((function(e){return e(v.a).hasFinishedResolution("getDismissedPrompts",[])})),D=Object(p.useSelect)((function(e){return e(v.a).getConfiguredAudiences()})),N=Object(p.useSelect)((function(e){return e(b.a).getValue(O.c,"autoSubmit")})),I=Object(g.useState)(!1),R=s()(I,2),x=R[0],P=R[1],M=Object(p.useDispatch)(v.a),L=M.dismissItem,G=M.dismissPrompt,B=Object(T.a)({onSuccess:function(){c("getQueuedNotifications",[a]),G("audience_segmentation_setup_cta-notification",{expiresInSeconds:0}),L(E.a)},onError:function(){P(!0)}}),V=B.apiErrors,F=B.failedAudiences,W=B.isSaving,Z=B.onEnableGroups,z=Object(p.useSelect)((function(e){return e(O.p).isGatheringData(),e(O.p).isDataAvailableOnLoad()})),U=Object(p.useSelect)((function(e){return e(O.p).getAudienceSegmentationSetupCompletedBy()}));var H=Object(p.useDispatch)(v.a).clearPermissionScopeError,q=Object(p.useDispatch)(h.c).setSetupErrorCode,K=Object(g.useCallback)((function(){l(O.c,{autoSubmit:!1}),H(),q(null),P(!1)}),[H,q,l]),Y=Object(p.useSelect)((function(e){return e(h.c).getSetupErrorCode()})),J=N&&"access_denied"===Y;if(Object(g.useEffect)((function(){d&&Object(k.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_view")}),[d,a]),d)return e.createElement(g.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:Object(m.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(m.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(m.__)("Got it","google-site-kit"),onDismiss:function(){Object(k.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_dismiss")},tooltipStateKey:"audience_segmentation_setup_cta-notification"}));if(null!==U||void 0===D||(null==D?void 0:D.length)||!z||f||!A)return null;return e.createElement(g.Fragment,null,e.createElement(C,{Widget:n,onEnableGroups:function(){Object(k.J)("".concat(a,"_audiences-setup-cta-dashboard"),"confirm_notification").finally(Z)},isSaving:W,dismissCount:S,handleDismissClick:function(){u(),Object(k.J)("".concat(a,"_audiences-setup-cta-dashboard"),"dismiss_notification").finally(o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(S<1)){e.next=6;break}return t=2*k.g,e.next=4,G("audience_segmentation_setup_cta-notification",{expiresInSeconds:t});case 4:e.next=8;break;case 6:return e.next=8,G("audience_segmentation_setup_cta-notification");case 8:case"end":return e.stop()}}),e)}))))},onInView:function(){Object(k.J)("".concat(a,"_audiences-setup-cta-dashboard"),"view_notification")}}),(x||J)&&e.createElement(w.a,{hasOAuthError:J,apiErrors:V.length?V:F,onRetry:Z,inProgress:W,onCancel:J?K:function(){return P(!1)},trackEventCategory:"".concat(a,"_audiences-setup")}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.a=Object(d.a)(Object(f.a)({moduleName:"analytics-4"}),Object(S.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(0),m=n(3),g=n(54),p=n(9),f=n(6),b=n(448),v=n(163),h=n(190),y=n(312),O=n(199),E=n(34);function AudienceTilesWidget(t){var n=t.Widget,r=Object(m.useSelect)((function(e){var t=e(p.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),a=Object(m.useSelect)((function(e){return e(f.a).getConfiguredAudiences()})),c=Object(d.useState)(!1),l=s()(c,2),u=l[0],g=l[1],_=Object(m.useDispatch)(p.p),j=_.clearErrors,S=_.maybeSyncAvailableAudiences,k=_.syncAvailableAudiences,A=Object(m.useSelect)((function(e){return e(p.p).isSettingUpAudiences()})),T=Object(m.useSelect)((function(e){return e(p.p).getErrorForAction("syncAvailableAudiences")}));if(Object(d.useEffect)((function(){u||A||function(){var e=o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:g(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[u,A,S]),T){var w=Object(E.e)(T);return e.createElement(h.a,{errors:T,Widget:n,onRetry:w?void 0:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j("syncAvailableAudiences");case 2:return e.next=4,k();case 4:case"end":return e.stop()}}),e)}))),showRetryButton:!w})}return(null==a?void 0:a.some((function(e){return null==r?void 0:r.includes(e)})))?e.createElement(b.a,{Widget:n,widgetLoading:!u||!r||!a}):u?e.createElement(y.a,{Widget:n,WidgetNull:O.a}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(v.a,null)),e.createElement(n,{noPadding:!0},e.createElement(v.a,null))))}AudienceTilesWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(g.a)({moduleName:"analytics-4"})(AudienceTilesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceSelectionPanel}));var r=n(7),i=n.n(r),a=n(0),o=n(3),c=n(18),s=n(35),l=n(8),u=n(39),d=n(28),m=n(24),g=n(6),p=n(9),f=n(473),b=n(475),v=n(478),h=n(480),y=n(481),O=n(482),E=n(115),_=n(483),j=n(485);function AudienceSelectionPanel(){var t=Object(c.a)(),n=Object(s.a)(),r=Object(o.useSelect)((function(e){return e(m.b).getValue(u.i)})),S=Object(o.useSelect)((function(e){var t=e(p.p).getConfigurableAudiences,n=(0,e(g.a).getConfiguredAudiences)()||[],r=t()||[];return r.length&&n.length?r.filter((function(e){var t=e.name;return n.includes(t)})).map((function(e){return e.name})):[]})),k=Object(o.useSelect)((function(e){return e(d.a).getValue(u.c,"autoSubmit")})),A=Object(o.useDispatch)(d.a).setValues,T=Object(o.useDispatch)(m.b).setValue,w=Object(a.useCallback)((function(){var e;A(u.h,(e={},i()(e,u.f,S),i()(e,u.g,!1),e)),Object(l.J)("".concat(t,"_audiences-sidebar"),"audiences_sidebar_view")}),[S,A,t]),D=Object(a.useCallback)((function(){r&&(T(u.i,!1),T(u.e,!1))}),[T,r]);return e.createElement(E.e,{className:"googlesitekit-audience-selection-panel",closePanel:D,isOpen:r||k,onOpen:w},e.createElement(y.a,{closePanel:D}),e.createElement(b.a,{savedItemSlugs:S}),e.createElement(f.a,null),!n&&e.createElement(_.a,null),e.createElement(O.a,null),e.createElement(v.a,null),e.createElement(j.a,null),e.createElement(h.a,{closePanel:D,isOpen:r,savedItemSlugs:S}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceAreaFooter}));var r=n(2),i=n(3),a=n(6),o=n(9),c=n(19),s=n(134),l=n(35);function AudienceAreaFooter(){var t=Object(l.a)(),n=Object(i.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:o.f})})),u=Object(i.useSelect)((function(e){return t?null:e(o.p).getServiceReportURL("audiences",{dates:n})}));return Object(i.useSelect)((function(e){return e(c.a).isModuleConnected("analytics-4")}))?e.createElement(s.a,{className:"googlesitekit-audience-widget__source",name:Object(r._x)("Analytics","Service name","google-site-kit"),href:u,external:!0}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeGroupsLink}));var r=n(0),i=n(2),a=n(3),o=n(18),c=n(8),s=n(39),l=n(24),u=n(9),d=n(20),m=n(275);function ChangeGroupsLink(){var t=Object(o.a)(),n=Object(a.useInViewSelect)((function(e){return e(u.p).getConfigurableAudiences()}),[]),g=Object(a.useDispatch)(l.b).setValue,p=Object(r.useCallback)((function(){g(s.i,!0),Object(c.J)("".concat(t,"_audiences-sidebar"),"change_groups")}),[g,t]);return Array.isArray(n)&&(null==n?void 0:n.length)>0?e.createElement(r.Fragment,null,e.createElement(d.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:p,leadingIcon:e.createElement(m.a,{width:22,height:22})},Object(i.__)("Change groups","google-site-kit"))):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAnalyticsCTAWidget}));var r=n(1),i=n.n(r),a=n(38),o=n(0),c=n(2),s=n(3),l=n(486),u=n(487),d=n(20),m=n(19),g=n(176),p=n(25),f=n(319);function ConnectAnalyticsCTAWidget(t){var n=t.Widget,r=Object(p.e)()===p.c,i=Object(g.a)("analytics-4"),b=Object(s.useSelect)((function(e){return e(m.a).getModuleIcon("analytics-4")})),v=r?e.createElement("p",null,Object(a.a)(Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>","google-site-kit"),{a:e.createElement(d.a,{secondary:!0,onClick:i})})):e.createElement(o.Fragment,null,e.createElement("p",null,Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed","google-site-kit")),e.createElement(d.a,{secondary:!0,onClick:i},Object(c.__)("Connect Google Analytics","google-site-kit")));return e.createElement(n,{noPadding:!0},e.createElement(f.a,{Icon:b,SVGGraphic:r?u.a:l.a},v))}ConnectAnalyticsCTAWidget.propTypes={Widget:i.a.elementType.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(6),l=n(8),u=n(54),d=n(227),m=n(153),g=n(9),p=n(24),f=n(108),b=n(18),v=Object(f.a)(d.a);function InfoNoticeWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(b.a)(),u=Object(c.useInViewSelect)((function(e){var t=e(g.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))}),[]),d=Object(c.useInViewSelect)((function(e){return e(s.a).getConfiguredAudiences()}),[]),f=null==d?void 0:d.some((function(e){return null==u?void 0:u.includes(e)})),h=m.a.length,y=Object(c.useInViewSelect)((function(e){return e(s.a).isPromptDismissed(m.c)}),[]),O=Object(c.useSelect)((function(e){return e(p.b).getValue(m.b)})),E=Object(c.useInViewSelect)((function(e){return e(s.a).getPromptDismissCount(m.c)}),[]),_=Object(c.useDispatch)(s.a).dismissPrompt,j=Object(a.useCallback)((function(){void 0!==E&&Object(l.J)("".concat(i,"_audiences-info-notice"),"dismiss_notice",m.a[E].slug).finally((function(){var e=2*l.g,t=E+1<h?e:0;_(m.c,{expiresInSeconds:t})}))}),[E,_,h,i]);if(!0!==f||y||void 0===E||E>=h||!0===O)return e.createElement(r,null);var S=m.a[E],k=S.slug,A=S.content;return e.createElement(n,{noPadding:!0},e.createElement(v,{content:A,dismissLabel:Object(o.__)("Got it","google-site-kit"),onDismiss:j,onInView:function(){Object(l.J)("".concat(i,"_audiences-info-notice"),"view_notice",k)}}))}InfoNoticeWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"analytics-4"})(InfoNoticeWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SecondaryUserSetupWidget}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(91),m=n(0),g=n(3),p=n(163),f=n(9),b=n(190),v=n(34);function SecondaryUserSetupWidget(t){var n=t.Widget,r=Object(m.useState)(null),a=s()(r,2),c=a[0],l=a[1],u=Object(g.useSelect)((function(e){return e(f.p).isSettingUpAudiences()})),h=Object(g.useDispatch)(f.p).enableSecondaryUserAudienceGroup,y=function(){var e=o()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(null),e.next=3,h();case 3:t=e.sent,(n=t.error)&&l(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(d.a)((function(){u||o()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:t=e.sent,(n=t.error)&&l(n);case 5:case"end":return e.stop()}}),e)})))()})),c?e.createElement(b.a,{Widget:n,errors:c,onRetry:y,showRetryButton:!Object(v.e)(c)}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(p.a,null)),e.createElement(n,{noPadding:!0},e.createElement(p.a,null))))}SecondaryUserSetupWidget.propTypes={Widget:u.a.elementType.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(27),i=n.n(r),a=n(12),o=n.n(a),c=n(13),s=n(2),l=n(82),u=n(8),d=n(15),m=n.n(d),g=n(11),p=n.n(g);function f(e,t){var n=t.dateRangeLength;p()(Array.isArray(e),"report must be an array to partition."),p()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=function(t){return e.filter((function(e){return m()(e.dimensionValues,2)[1].value===t}))},i=-1*n;return{currentRange:r("date_range_0").slice(i),compareRange:r("date_range_1").slice(2*i,i)}}var b=n(354);function v(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var r=e.metricValues[t].value,i=e.dimensionValues[0].value,a=Object(b.a)(i);n.push([a,r])}})),n}function h(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Engagement Rate","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],g=i()((null==e?void 0:e.rows)||[]),p=g.length;if(2*n>p){for(var b=Object(u.H)(r),h=0;n>h;h++){var y=(b.getMonth()+1).toString(),O=b.getDate().toString(),E=b.getFullYear().toString()+(2>y.length?"0":"")+y+(2>O.length?"0":"")+O;if(h>p){var _=[{dimensionValues:[{value:E},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:E},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];g.unshift.apply(g,_)}b.setDate(b.getDate()-1)}g.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var j=a[t]===Object(s.__)("Session Duration","google-site-kit"),S=j?"timeofday":"number",k=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:S,label:a[t]},{type:S,label:Object(s.__)("Previous period","google-site-kit")}]],A=f(g,{dateRangeLength:n}),T=A.compareRange,w=A.currentRange,D=v(w,t),C=v(T,t),N=Object(l.b)(),I={weekday:"short",month:"short",day:"numeric"};return D.forEach((function(e,n){if(e[0]&&e[1]&&C[n]){var r=m[t],i=r(e[1]),c=r(C[n][1]),l=parseFloat(c),g=Object(u.i)(i,l),p=Object(u.p)(g),f=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(N,I),C[n][0].toLocaleDateString(N,I)),b=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),a[t],d[t](i),p,Object(u.C)(Math.abs(g),"%"));k.push([e[0],'<div class="'.concat(o()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":g>0,"googlesitekit-visualization-tooltip--down":g<0}),'">\n\t\t\t\t<p>').concat(f,"</p>\n\t\t\t\t<p>").concat(b,"</p>\n\t\t\t</div>"),j?Object(u.k)(i):i,j?Object(u.k)(c):c])}})),k}},function(e,t,n){"use strict";(function(e){var r=n(788),i=n(603),a=n(111),o=n(359),c=n(748),s=n(510),l=n(772),u=n(774),d=n(618);n.d(t,"f",(function(){return i.b})),n.d(t,"h",(function(){return a.a})),n.d(t,"i",(function(){return a.b})),n.d(t,"n",(function(){return o.a})),n.d(t,"k",(function(){return c.a})),n.d(t,"m",(function(){return s.a})),n.d(t,"p",(function(){return l.a})),n.d(t,"o",(function(){return u.a})),n.d(t,"a",(function(){return d.b}));var m=n(530);n.d(t,"l",(function(){return m.a}));var g=n(59);n.d(t,"b",(function(){return g.a})),n.d(t,"c",(function(){return g.b})),n.d(t,"d",(function(){return g.c})),n.d(t,"e",(function(){return g.d}));var p,f=n(164);n.d(t,"g",(function(){return f.a}));var b=Object(r.a)({},null===(p=e.wp)||void 0===p?void 0:p.data);b.combineStores=g.a,b.commonActions=g.b,b.commonControls=g.c,b.commonStore=g.d,b.createReducer=f.a,b.useInViewSelect=m.a,b.controls=i.b,b.createRegistryControl=a.a,b.createRegistrySelector=a.b,b.useSelect=o.a,b.useDispatch=c.a,b.useRegistry=s.a,b.withSelect=l.a,b.withDispatch=u.a,b.RegistryProvider=d.b,t.j=b}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupCompletedSurveyTrigger}));var r=n(0),i=n(3),a=n(14),o=n(6),c=n(8),s=n(205);function SetupCompletedSurveyTrigger(){var t=Object(i.useSelect)((function(e){return e(a.c).isKeyMetricsSetupCompleted()})),n=Object(i.useSelect)((function(e){return e(a.c).getKeyMetricsSetupCompletedBy()})),l=Object(i.useSelect)((function(e){return e(o.a).getID()}));return t?e.createElement(r.Fragment,null,e.createElement(s.a,{triggerID:"view_kmw",ttl:c.g}),n===l&&e.createElement(s.a,{triggerID:"view_kmw_setup_completed",ttl:c.g})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupDesktopSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(37).then(n.bind(null,793))}));function KeyMetricsSetupDesktopSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupSmallDesktopSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(39).then(n.bind(null,794))}));function KeyMetricsSetupSmallDesktopSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupTabletSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(40).then(n.bind(null,795))}));function KeyMetricsSetupTabletSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupMobileSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(38).then(n.bind(null,796))}));function KeyMetricsSetupMobileSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)( /* translators: %s: get help text. */ Object(o.__)("Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileLoader}));var r=n(40);function MetricTileLoader(){return e.createElement("div",{className:"googlesitekit-km-widget-tile__loading"},e.createElement(r.a,{className:"googlesitekit-km-widget-tile__loading-header",width:"100%",height:"14px"}),e.createElement(r.a,{className:"googlesitekit-km-widget-tile__loading-body",width:"100%",height:"53px"}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileHeader}));var r=n(1),i=n.n(r),a=n(122),o=n(105);function MetricTileHeader(t){var n=t.title,r=t.infoTooltip,i=t.loading;return e.createElement("div",{className:"googlesitekit-km-widget-tile__title-container"},e.createElement("h3",{className:"googlesitekit-km-widget-tile__title"},n),i?e.createElement(o.a,null,e.createElement(a.a,{title:r})):e.createElement(a.a,{title:r}))}MetricTileHeader.propTypes={title:i.a.string,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),loading:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2 5.309l1.474 2.14c.69 1.001 1.946 1.001 2.636 0L10 1.8",stroke:"#161B18",strokeWidth:1.6,strokeLinecap:"square"});t.a=function SvgCheck2(e){return r.createElement("svg",i({viewBox:"0 0 12 9",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M59.238 58.571c-2.136 20.178 4.272 29.099 20.48 53.216 16.209 24.118-29.092 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.443-3.208 57.819 12.98 90.86 5.9 33.04-7.08 46.385-42.599 43.153-68.059-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86-18.53 5.918-32.662 22.571-34.335 38.621z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter0_d_2200_11981)"},r.createElement("rect",{x:242.455,y:45.266,width:130.621,height:89.651,rx:10.957,transform:"rotate(15 242.455 45.266)",fill:"#fff"})),c=r.createElement("rect",{x:253.726,y:64.785,width:24.903,height:7.969,rx:3.985,transform:"rotate(15 253.726 64.785)",fill:"#EBEEF0"}),s=r.createElement("rect",{x:249.342,y:81.144,width:49.806,height:19.923,rx:9.961,transform:"rotate(15 249.342 81.144)",fill:"#FFDED3"}),l=r.createElement("rect",{x:240.436,y:114.357,width:99.428,height:8.773,rx:3.985,transform:"rotate(15 240.436 114.357)",fill:"#EBEEF0"}),u=r.createElement("path",{d:"M256.195 90.198l4.644 8.044m0 0l1.412-4.986m-1.412 4.986l-5.023-1.27",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),d=r.createElement("rect",{x:268.706,y:93.551,width:19.923,height:5.977,rx:1.992,transform:"rotate(15 268.706 93.55)",fill:"#fff"}),m=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter1_d_2200_11981)"},r.createElement("rect",{x:13.887,y:79.094,width:130.621,height:89.68,rx:10.957,transform:"rotate(-15 13.887 79.094)",fill:"#fff"})),g=r.createElement("rect",{x:32.989,y:90.122,width:62.386,height:7.798,rx:3.899,transform:"rotate(-15 32.99 90.122)",fill:"#EBEEF0"}),p=r.createElement("rect",{x:37.691,y:106.902,width:49.806,height:19.923,rx:9.961,transform:"rotate(-15 37.691 106.902)",fill:"#FFDED3"}),f=r.createElement("rect",{x:46.612,y:140.967,width:99.428,height:7.798,rx:3.899,transform:"rotate(-15 46.612 140.967)",fill:"#EBEEF0"}),b=r.createElement("path",{d:"M48.152 111.318l8.044 4.645m0 0l-1.27-5.024m1.27 5.024l-4.986 1.411",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),v=r.createElement("rect",{x:60.663,y:107.966,width:19.923,height:5.977,rx:1.992,transform:"rotate(-15 60.663 107.966)",fill:"#fff"}),h=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter2_d_2200_11981)"},r.createElement("rect",{x:126.251,y:37.4,width:130.621,height:89.68,rx:10.957,fill:"#fff"})),y=r.createElement("rect",{x:143.013,y:53.134,width:98.333,height:7.867,rx:3.933,fill:"#EBEEF0"}),O=r.createElement("rect",{x:142.369,y:70.423,width:49.806,height:19.923,rx:9.961,fill:"#B8E6CA"}),E=r.createElement("rect",{x:143.013,y:105.84,width:33.04,height:7.867,rx:3.933,fill:"#EBEEF0"}),_=r.createElement("path",{d:"M151.336 84.036l6.568-6.567m0 0l-5.182-.073m5.182.073l.073 5.18",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),j=r.createElement("rect",{x:164.287,y:77.395,width:19.923,height:5.977,rx:1.992,fill:"#fff"}),S=r.createElement("path",{d:"M59.237 58.571C57.1 78.75 63.509 87.67 79.717 111.787c16.209 24.118-29.091 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.444-3.208 57.82 12.98 90.86 5.9s46.385-42.599 43.153-68.059c-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86C75.042 25.867 60.91 42.52 59.237 58.57z",fill:"#B8E6CA"}),k=r.createElement("g",{mask:"url(#key-metrics-no-selected-items_svg__a)"},r.createElement("path",{d:"M227.674 108.973l11.312-8.418M218.925 98.852l2.868-12.68M205.623 102.87l-5.375-13.037",stroke:"#CBD0D3",strokeWidth:3.147,strokeMiterlimit:10}),r.createElement("path",{d:"M63.953 190.487c16.127 12.193 38.716 10.349 55.335 5.162 16.618-5.187 31.107-14.61 45.314-23.791 6.717-4.337 13.617-8.738 21.496-11.119 7.878-2.381 17.057-2.39 22.958 1.658 3.392 2.328 5.205 5.923 5.36 9.702",stroke:"#3C7251",strokeWidth:9.44,strokeLinejoin:"round"}),r.createElement("path",{d:"M215.831 109.67l-19.169 71.73",stroke:"#CBD0D3",strokeWidth:9.44,strokeMiterlimit:10,strokeLinecap:"round"}),r.createElement("path",{d:"M213.975 116.472l-19.169 71.731",stroke:"#161B18",strokeWidth:9.44,strokeMiterlimit:10})),A=r.createElement("defs",null,r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter0_d_2200_11981",x:205.773,y:35.772,width:176.33,height:147.36,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter1_d_2200_11981",x:.409,y:35.793,width:176.337,height:147.388,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter2_d_2200_11981",x:110.313,y:25.447,width:162.497,height:121.556,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})));t.a=function SvgKeyMetricsNoSelectedItems(e){return r.createElement("svg",i({viewBox:"0 0 383 238",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f,b,v,h,y,O,E,_,j,r.createElement("mask",{id:"key-metrics-no-selected-items_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:58,y:0,width:273,height:230},S),k,A)}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(17),l=n(25),u=n(320),d=n(34),m=n(117),g=n(315),p=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.errors,a=t.onRetry,p=t.onRequestAccess,f=t.showRetryButton,b=Object(l.e)(),v=b===l.b,h=b===l.c,y=i.some(d.e);return e.createElement(r,{ref:n,noPadding:!0,className:"googlesitekit-audience-segmentation-error-widget"},e.createElement(s.e,{collapsed:!0,className:"googlesitekit-audience-segmentation-error__widget-primary-cell"},e.createElement(s.k,null,e.createElement(s.a,{smSize:6,mdSize:8,lgSize:7},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},y?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Your visitor groups data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-error__actions"},f&&a?e.createElement(c.Button,{onClick:a,danger:!0},Object(o.__)("Retry","google-site-kit")):e.createElement(m.a,{moduleSlug:"analytics-4",error:i,GetHelpLink:y?g.a:void 0,hideGetHelpLink:!y,buttonVariant:"danger",getHelpClassName:"googlesitekit-error-retry-text",onRetry:a,onRequestAccess:p}))),!v&&!h&&e.createElement(s.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(u.a,{width:"233px"})),h&&e.createElement(s.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",mdSize:8},e.createElement(u.a,{width:"233px"})),v&&e.createElement(s.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:8},e.createElement(u.a,{width:"233px"})))))}));p.propTypes={Widget:i.a.elementType.isRequired,errors:i.a.arrayOf(i.a.object).isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired,showRetryButton:i.a.bool},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(2),l=n(157),u=n(84),d=n(32),m=n(14),g=n(6),p=n(8),f=n(18),b=n(3),v=n(10),h=n(151),y=Object(c.forwardRef)((function(t,n){var r=Object(f.a)(),a=Object(b.useSelect)((function(e){var t=e(m.c).getAdminURL("googlesitekit-dashboard");return Object(l.a)(t,{widgetArea:u.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),c=Object(b.useDispatch)(d.a).navigateTo,y=Object(b.useDispatch)(g.a).dismissItem;function O(){return y("settings_visitor_groups_setup_success_notification")}return e.createElement("div",{ref:n,className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(h.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(s.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(v.Button,{tertiary:!0,onClick:function(){Object(p.J)("".concat(r,"_audiences-setup-cta-settings-success"),"dismiss_notification").finally(O)}},Object(s.__)("Got it","google-site-kit")),e.createElement(v.Button,{onClick:function(){Object(p.J)("".concat(r,"_audiences-setup-cta-settings-success"),"confirm_notification").finally(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O();case 2:c(a);case 3:case"end":return e.stop()}}),e)}))))}},Object(s.__)("Show me","google-site-kit"))))}));t.a=y}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),o=n(0),c=n(445),s=n(446),l=n(447),u=n(10),d=n(17),m=n(25),g=Object(o.forwardRef)((function(t,n){var r=t.Widget,i=t.onEnableGroups,g=t.isSaving,p=t.dismissCount,f=t.handleDismissClick,b=Object(m.e)(),v=b===m.b,h=b===m.c;return e.createElement("div",{ref:n,className:"googlesitekit-widget-context"},e.createElement(d.e,{className:"googlesitekit-widget-area"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(r,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(d.e,{collapsed:!0},e.createElement(d.k,null,e.createElement(d.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(a.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(a.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(o.Fragment,null,e.createElement(u.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:i,isSaving:g},g?Object(a.__)("Enabling groups","google-site-kit"):Object(a.__)("Enable groups","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:f},p<1?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Don’t show again","google-site-kit"))))),!v&&!h&&e.createElement(d.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(c.a,null)),h&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(s.a,null)),v&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(l.a,null)))))))))}));g.propTypes={Widget:i.a.elementType.isRequired,onEnableGroups:i.a.func.isRequired,isSaving:i.a.bool.isRequired,dismissCount:i.a.number.isRequired,handleDismissClick:i.a.func.isRequired},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},r.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),r.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},r.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return r.createElement("svg",i({viewBox:"0 0 496 216",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},r.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},r.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},r.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},r.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 120",fill:"none"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTiles}));var r=n(27),i=n.n(r),a=n(15),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(10),d=n(3),m=n(25),g=n(6),p=n(9),f=n(449),b=n(122),v=n(365),h=n(190),y=n(466),O=n(163),E=n(469),_=n(471),j=n(253),S=n(18),k=n(35),A=n(8),T=function(e,t){var n,r,i,a=null==e||null===(n=e.rows)||void 0===n?void 0:n.find((function(e){var n,r;return(null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}));return 0===((null==a||null===(r=a.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0)};function AudienceTiles(t){var n=t.Widget,r=t.widgetLoading,a=Object(S.a)(),c=Object(k.a)(),s=Object(m.e)(),w=s===m.b||s===m.c,D=Object(d.useInViewSelect)((function(e){return e(g.a).getConfiguredAudiences()}),[]),C=Object(d.useInViewSelect)((function(e){return e(p.p).getAvailableAudiences()}),[]),N=Object(d.useSelect)((function(e){return e(p.p).getConfiguredSiteKitAndOtherAudiences()}))||[[],[]],I=o()(N,2),R=I[0],x=I[1],P=Object(d.useSelect)((function(e){return e(p.p).hasAudiencePartialData(R)})),M=Object(_.a)({isSiteKitAudiencePartialData:P,siteKitAudiences:R,otherAudiences:x}),L=M.report,G=M.reportLoaded,B=M.reportError,V=M.siteKitAudiencesReport,F=M.siteKitAudiencesReportLoaded,W=M.siteKitAudiencesReportError,Z=M.totalPageviews,z=M.totalPageviewsReportLoaded,U=M.totalPageviewsReportError,H=M.topCitiesReport,q=M.topCitiesReportLoaded,K=M.topCitiesReportErrors,Y=M.topContentReport,J=M.topContentReportLoaded,$=M.topContentReportErrors,Q=M.topContentPageTitlesReport,X=M.topContentPageTitlesReportLoaded,ee=M.topContentPageTitlesReportErrors,te=function(e,t){var n,r,i,a,o,c,s=(null==C||null===(n=C.filter((function(t){return t.name===e})))||void 0===n||null===(r=n[0])||void 0===r?void 0:r.displayName)||"",l=(null==C||null===(i=C.filter((function(t){return t.name===e})))||void 0===i||null===(a=i[0])||void 0===a?void 0:a.audienceSlug)||"",u=function(e){var t,n=R.some((function(t){return t.name===e})),r=null===(t=R.find((function(t){return t.name===e})))||void 0===t?void 0:t.audienceSlug,i=function(t){var i,a,o,c,s,l,u,d,m,g,p,f,b;if(n&&P){var v,h="new-visitors"===r?"new":"returning";b=null==V||null===(v=V.rows)||void 0===v?void 0:v.find((function(e){var n,r,i=e.dimensionValues;return(null==i||null===(n=i[0])||void 0===n?void 0:n.value)===h&&(null==i||null===(r=i[1])||void 0===r?void 0:r.value)===t}))}else{var y;b=null==L||null===(y=L.rows)||void 0===y?void 0:y.find((function(n){var r,i,a=n.dimensionValues;return(null==a||null===(r=a[0])||void 0===r?void 0:r.value)===e&&(null==a||null===(i=a[1])||void 0===i?void 0:i.value)===t}))}return[Number((null===(i=b)||void 0===i||null===(a=i.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value)||0),Number((null===(c=b)||void 0===c||null===(s=c.metricValues)||void 0===s||null===(l=s[1])||void 0===l?void 0:l.value)||0),Number((null===(u=b)||void 0===u||null===(d=u.metricValues)||void 0===d||null===(m=d[2])||void 0===m?void 0:m.value)||0),Number((null===(g=b)||void 0===g||null===(p=g.metricValues)||void 0===p||null===(f=p[3])||void 0===f?void 0:f.value)||0)]};return{current:i("date_range_0"),previous:i("date_range_1")}}(e),d=u.current,m=u.previous,g=d[0],p=m[0],f=d[1],b=m[1],v=d[2],h=m[2],y=d[3],O=m[3],E=null==H?void 0:H[t],_=null==Y?void 0:Y[t],j=(null==Q||null===(o=Q[t])||void 0===o||null===(c=o.rows)||void 0===c?void 0:c.reduce((function(e,t){return e[t.dimensionValues[0].value]=t.dimensionValues[1].value,e}),{}))||{},S=R.some((function(t){return t.name===e})),k=L,A=e;return S&&P&&(k=V,A="new-visitors"===l?"new":"returning"),{audienceName:s,audienceSlug:l,visitors:g,prevVisitors:p,visitsPerVisitors:f,prevVisitsPerVisitors:b,pagesPerVisit:v,prevPagesPerVisit:h,pageviews:y,prevPageviews:O,topCities:E,topContent:_,topContentTitles:j,isZeroData:T(k,A),isPartialData:!S&&ce[e]}},ne=null==D?void 0:D.reduce((function(e,t){return e[t]=[],[K,$,ee].forEach((function(n){var r=n[t];r&&!Object(j.a)(r)&&e[t].push(r)})),e}),{}),re=Object(d.useSelect)((function(e){return e(g.a).getDismissedItems()})),ie=Object(d.useSelect)((function(e){return e(g.a)})).isDismissingItem,ae=Object(d.useDispatch)(g.a).dismissItem,oe=Object(l.useCallback)((function(e){ae("audience-tile-".concat(e))}),[ae]),ce=Object(d.useInViewSelect)((function(e){return null==D?void 0:D.reduce((function(t,n){return t[n]=e(p.p).isAudiencePartialData(n),t}),{})}),[D]),se=Object(l.useRef)({}),le=Object(l.useMemo)((function(){for(var e=[],t=[],n=null==D?void 0:D.slice().filter((function(e){return C.some((function(t){return t.name===e}))})),r=function(){var r,i=n.shift(),a=null==re?void 0:re.includes("audience-tile-".concat(i)),o=R.some((function(e){return e.name===i})),c=L,s=i;o&&P&&(c=V,s="new-visitors"===(null===(r=R.find((function(e){return e.name===i})))||void 0===r?void 0:r.audienceSlug)?"new":"returning");var l=T(c,s),u=n.length+t.length>0;if(a&&l&&u)return"continue";a&&!l&&e.push(i),t.push(i)};(null==n?void 0:n.length)>0;)r();return[e,t]}),[C,D,re,P,L,R,V]),ue=o()(le,2),de=ue[0],me=ue[1];var ge,pe=(ge=[],L&&ge.push(B),V&&ge.push(W),!(!ge.every(Boolean)&&!U)||(null==D?void 0:D.every((function(e){return ne[e].length>0}))));Object(l.useEffect)((function(){de.forEach((function(e){var t="audience-tile-".concat(e);se.current[t]||(ae(t,{expiresInSeconds:1}),se.current[t]=!0)}))}),[de,ae,ie]);var fe=Object(d.useSelect)((function(e){return e(p.p).isFetchingSyncAvailableCustomDimensions()})),be=Object(d.useDispatch)(p.p).fetchSyncAvailableCustomDimensions,ve=Object.values($).some(j.a)||Object.values(ee).some(j.a);Object(l.useEffect)((function(){!c&&ve&&be()}),[be,ve,c]);var he=Object(l.useState)(me[0]),ye=o()(he,2),Oe=ye[0],Ee=ye[1],_e=Object(l.useCallback)((function(e){var t=me.indexOf(e);return-1===t?0:t}),[me]);Object(l.useEffect)((function(){me.includes(Oe)||Ee(me[0])}),[Oe,me]);var je=_e(Oe),Se=r||!G||!F||!z||!q||!J||!X||fe,ke=0;return e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},!1===pe&&!Se&&w&&me.length>0&&e.createElement(u.TabBar,{key:me.length,className:"googlesitekit-widget-audience-tiles__tabs",activeIndex:je,handleActiveIndexUpdate:function(e){return Ee(me[e])}},me.map((function(t,n){var r,i,o,c,s=(null==C||null===(r=C.filter((function(e){return e.name===t})))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.displayName)||"",l=(null==C||null===(o=C.filter((function(e){return e.name===t})))||void 0===o||null===(c=o[0])||void 0===c?void 0:c.audienceSlug)||"",d=e.createElement(v.a,{audienceName:s,audienceSlug:l});return e.createElement(u.Tab,{key:n,"aria-label":s},s,e.createElement(b.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){Object(A.J)("".concat(a,"_audiences-tile"),"view_tile_tooltip",l)}}))}))),e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},pe&&!Se&&e.createElement(h.a,{Widget:n,errors:[].concat(i()(Object.values(ne).flat(2)),[B,U])}),(!1===pe||Se)&&me.map((function(t,r){var i,a,o,c,s,l,u,d,m,g,p,b,h,E,_,j,S,k,A,T,D,C,N,I,R,x,P,M,L,G,B,V,F,W,z,U;if(w&&r!==je)return null;var H=te(t,r),q=H.audienceName,K=H.audienceSlug,Y=H.visitors,J=H.prevVisitors,$=H.visitsPerVisitors,Q=H.prevVisitsPerVisitors,X=H.pagesPerVisit,ee=H.prevPagesPerVisit,re=H.pageviews,ie=H.prevPageviews,ae=H.topCities,ce=H.topContent,se=H.topContentTitles,le=H.isZeroData,ue=H.isPartialData;return Se||void 0===le||void 0===ue?e.createElement(n,{key:t,noPadding:!0},e.createElement(O.a,null)):ne[t].length>0?e.createElement(y.a,{key:t,audienceSlug:K,errors:ne[t]}):e.createElement(f.a,{key:t,audienceTileNumber:ke++,audienceSlug:K,title:q,infoTooltip:e.createElement(v.a,{audienceName:q,audienceSlug:K}),visitors:{currentValue:Y,previousValue:J},visitsPerVisitor:{currentValue:$,previousValue:Q},pagesPerVisit:{currentValue:X,previousValue:ee},pageviews:{currentValue:re,previousValue:ie},percentageOfTotalPageViews:0!==Z?re/Z:0,topCities:{dimensionValues:[null==ae||null===(i=ae.rows)||void 0===i||null===(a=i[0])||void 0===a||null===(o=a.dimensionValues)||void 0===o?void 0:o[0],null==ae||null===(c=ae.rows)||void 0===c||null===(s=c[1])||void 0===s||null===(l=s.dimensionValues)||void 0===l?void 0:l[0],null==ae||null===(u=ae.rows)||void 0===u||null===(d=u[2])||void 0===d||null===(m=d.dimensionValues)||void 0===m?void 0:m[0]],metricValues:[null==ae||null===(g=ae.rows)||void 0===g||null===(p=g[0])||void 0===p||null===(b=p.metricValues)||void 0===b?void 0:b[0],null==ae||null===(h=ae.rows)||void 0===h||null===(E=h[1])||void 0===E||null===(_=E.metricValues)||void 0===_?void 0:_[0],null==ae||null===(j=ae.rows)||void 0===j||null===(S=j[2])||void 0===S||null===(k=S.metricValues)||void 0===k?void 0:k[0]],total:Y},topContent:{dimensionValues:[null==ce||null===(A=ce.rows)||void 0===A||null===(T=A[0])||void 0===T||null===(D=T.dimensionValues)||void 0===D?void 0:D[0],null==ce||null===(C=ce.rows)||void 0===C||null===(N=C[1])||void 0===N||null===(I=N.dimensionValues)||void 0===I?void 0:I[0],null==ce||null===(R=ce.rows)||void 0===R||null===(x=R[2])||void 0===x||null===(P=x.dimensionValues)||void 0===P?void 0:P[0]],metricValues:[null==ce||null===(M=ce.rows)||void 0===M||null===(L=M[0])||void 0===L||null===(G=L.metricValues)||void 0===G?void 0:G[0],null==ce||null===(B=ce.rows)||void 0===B||null===(V=B[1])||void 0===V||null===(F=V.metricValues)||void 0===F?void 0:F[0],null==ce||null===(W=ce.rows)||void 0===W||null===(z=W[2])||void 0===z||null===(U=z.metricValues)||void 0===U?void 0:U[0]]},topContentTitles:se,hasInvalidCustomDimensionError:ve,Widget:n,audienceResourceName:t,isZeroData:le,isPartialData:ue,isTileHideable:me.length>1,onHideTile:function(){return oe(t)}})})),!w&&e.createElement(E.a,{Widget:n,loading:Se,allTilesError:pe,visibleAudienceCount:me.length})))}AudienceTiles.propTypes={Widget:s.a.elementType.isRequired,widgetLoading:s.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTile}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(25),u=n(35),d=n(9),m=n(450),g=n(451),p=n(452),f=n(453),b=n(454),v=n(455),h=n(268),y=n(456),O=n(457),E=n(171),_=n(122),j=n(317),S=n(8),k=n(231),A=n(18),T=n(460);function AudienceTile(t){var n=t.audienceTileNumber,r=void 0===n?0:n,a=t.audienceSlug,o=t.title,w=t.infoTooltip,D=t.visitors,C=t.visitsPerVisitor,N=t.pagesPerVisit,I=t.pageviews,R=t.percentageOfTotalPageViews,x=t.topCities,P=t.topContent,M=t.topContentTitles,L=t.hasInvalidCustomDimensionError,G=t.Widget,B=t.audienceResourceName,V=t.isZeroData,F=t.isPartialData,W=t.isTileHideable,Z=t.onHideTile,z=Object(l.e)(),U=Object(A.a)(),H=Object(u.a)(),q=Object(s.useInViewSelect)((function(e){var t=e(d.p).getPropertyID();return t&&e(d.p).isPropertyPartialData(t)})),K=Object(s.useSelect)((function(e){return e(d.p).isSiteKitAudience(B)})),Y=Object(s.useInViewSelect)((function(e){return!K&&void 0!==q&&(!q&&B&&e(d.p).isAudiencePartialData(B))}),[q,K,B]),J=Object(s.useInViewSelect)((function(e){return void 0!==q&&(!q&&!Y&&e(d.p).isCustomDimensionPartialData("googlesitekit_post_type"))}),[Y]),$=Object(s.useInViewSelect)((function(e){return e(d.p).hasCustomDimensions("googlesitekit_post_type")}),[]),Q=[l.b,l.c].includes(z);return F&&V?e.createElement(T.a,{Widget:G,audienceSlug:a,title:o,infoTooltip:w,isMobileBreakpoint:Q,isTileHideable:W,onHideTile:Z}):e.createElement(G,{noPadding:!0},e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile",{"googlesitekit-audience-segmentation-tile--partial-data":Y})},!Q&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},o,w&&e.createElement(_.a,{title:w,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(S.J)("".concat(U,"_audiences-tile"),"view_tile_tooltip",a)}})),Y&&e.createElement(k.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(c.__)("Partial data","google-site-kit"),tooltipTitle:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit"),onTooltipOpen:function(){Object(S.J)("".concat(U,"_audiences-tile"),"view_tile_partial_data_tooltip",a)}})),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__metrics"},Q&&Y&&e.createElement(j.a,{content:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit")}),e.createElement(h.a,{TileIcon:m.a,title:Object(c.__)("Visitors","google-site-kit"),metricValue:D.currentValue,Badge:function Badge(){return e.createElement(E.a,{previousValue:D.previousValue,currentValue:D.currentValue})}}),e.createElement(h.a,{TileIcon:g.a,title:Object(c.__)("Visits per visitor","google-site-kit"),metricValue:C.currentValue,Badge:function Badge(){return e.createElement(E.a,{previousValue:C.previousValue,currentValue:C.currentValue})}}),e.createElement(h.a,{TileIcon:p.a,title:Object(c.__)("Pages per visit","google-site-kit"),metricValue:N.currentValue,Badge:function Badge(){return e.createElement(E.a,{previousValue:N.previousValue,currentValue:N.currentValue})},metricValueFormat:{style:"decimal",maximumFractionDigits:2}}),e.createElement(h.a,{TileIcon:f.a,title:Object(c.sprintf)( /* translators: %s: is a percentage value such as 33.3%. */ Object(c.__)("%s of total pageviews","google-site-kit"),Object(S.C)(R,{style:"percent",maximumFractionDigits:1})),metricValue:I.currentValue,Badge:function Badge(){return e.createElement(E.a,{previousValue:I.previousValue,currentValue:I.currentValue})}}),e.createElement(y.a,{TileIcon:b.a,title:Object(c.__)("Cities with the most visitors","google-site-kit"),topCities:x}),(!H||$&&!L)&&e.createElement(O.a,{audienceTileNumber:r,audienceSlug:a,TileIcon:v.a,title:Object(c.__)("Top content by pageviews","google-site-kit"),topContentTitles:M,topContent:P,isTopContentPartialData:J}))))}AudienceTile.propTypes={audienceTileNumber:o.a.number,audienceSlug:o.a.string.isRequired,title:o.a.string.isRequired,infoTooltip:o.a.oneOfType([o.a.string,o.a.element]),visitors:o.a.object,visitsPerVisitor:o.a.object,pagesPerVisit:o.a.object,pageviews:o.a.object,percentageOfTotalPageViews:o.a.number,topCities:o.a.object,topContent:o.a.object,topContentTitles:o.a.object,hasInvalidCustomDimensionError:o.a.bool,Widget:o.a.elementType.isRequired,audienceResourceName:o.a.string.isRequired,isZeroData:o.a.bool,isPartialData:o.a.bool,isTileHideable:o.a.bool,onHideTile:o.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitors(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitsPerVisitor(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPagesPerVisit(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPageviews(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconCities(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconTopContent(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCitiesMetric}));var r=n(1),i=n.n(r),a=n(8),o=n(316);function AudienceTileCitiesMetric(t){var n,r=t.TileIcon,i=t.title,c=t.topCities,s=(null==c||null===(n=c.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],l=!!s.length;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(r,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},i),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!l&&e.createElement(o.a,null),l&&s.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__cities-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-name"},null==t?void 0:t.value),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-value"},Object(a.C)((null==c||null===(r=c.metricValues[n])||void 0===r?void 0:r.value)/(null==c?void 0:c.total),{style:"percent",maximumFractionDigits:1})))})))))}AudienceTileCitiesMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,topCities:i.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceTilePagesMetric}));var i=n(1),a=n.n(i),o=n(0),c=n(157),s=n(2),l=n(3),u=n(25),d=n(28),m=n(14),g=n(6),p=n(9),f=n(34),b=n(231),v=n(458),h=n(226),y=n(84),O=n(18),E=n(8);function AudienceTilePagesMetric(t){var n=t.audienceTileNumber,i=t.audienceSlug,a=t.TileIcon,_=t.title,j=t.topContent,S=t.topContentTitles,k=t.isTopContentPartialData,A=Object(u.e)(),T=Object(O.a)(),w=p.e.googlesitekit_post_type.parameterName,D=Object(l.useSelect)((function(e){return!e(p.p).hasCustomDimensions(w)})),C=Object(l.useSelect)((function(e){return e(g.a).hasScope(p.g)})),N=Object(c.a)(e.location.href,{notification:"audience_segmentation",widgetArea:y.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),I=Object(c.a)(e.location.href,{widgetArea:y.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),R=Object(l.useSelect)((function(e){return e(d.a).getValue(p.d,"isAutoCreatingCustomDimensionsForAudience")})),x=Object(l.useSelect)((function(e){return e(p.p).isCreatingCustomDimension(w)})),P=Object(l.useSelect)((function(e){return e(p.p).isFetchingSyncAvailableCustomDimensions()})),M=Object(l.useSelect)((function(e){return e(p.p).getCreateCustomDimensionError(w)})),L=Object(l.useSelect)((function(e){return e(p.p).getPropertyID()})),G=Object(l.useDispatch)(p.p).clearError,B=Object(l.useDispatch)(d.a).setValues,V=Object(l.useDispatch)(g.a),F=V.setPermissionScopeError,W=V.clearPermissionScopeError,Z=Object(l.useSelect)((function(e){return e(d.a).getValue(p.d,"isRetrying")})),z=Object(l.useSelect)((function(e){return e(d.a).getValue(p.d,"autoSubmit")})),U=Object(l.useSelect)((function(e){return e(m.c).getSetupErrorCode()})),H=Object(l.useDispatch)(m.c).setSetupErrorCode,q=z&&"access_denied"===U,K=Object(o.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isRetrying;B(p.d,{autoSubmit:!0,isRetrying:t}),C||F({code:f.a,message:Object(s.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[p.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:N,errorRedirectURL:I}})}),[C,N,I,F,B]),Y=Object(o.useCallback)((function(){B(p.d,{autoSubmit:!1,isRetrying:!1}),H(null),W(),G("createCustomDimension",[L,p.e.googlesitekit_post_type])}),[G,W,L,H,B]),J=[u.b,u.c].includes(A),$=R||x||P;return r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},r.createElement(a,null)),r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},_,!J&&k&&r.createElement(b.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(s.__)("Partial data","google-site-kit"),onTooltipOpen:function(){Object(E.J)("".concat(T,"_audiences-tile"),"view_top_content_partial_data_tooltip",i)},tooltipTitle:Object(s.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")})),r.createElement(v.a,{topContentTitles:S,topContent:j,isTopContentPartialData:k,hasCustomDimension:!D,onCreateCustomDimension:K,isSaving:$}),0===n&&(M&&!$||Z&&!R||q)&&r.createElement(h.a,{apiErrors:[M],title:Object(s.__)("Failed to enable metric","google-site-kit"),description:Object(s.__)("Oops! Something went wrong. Retry enabling the metric.","google-site-kit"),onRetry:function(){return K({isRetrying:!0})},onCancel:Y,inProgress:$,hasOAuthError:q,trackEventCategory:"".concat(T,"_audiences-top-content-cta")})))}AudienceTilePagesMetric.propTypes={audienceTileNumber:a.a.number,audienceSlug:a.a.string.isRequired,TileIcon:a.a.elementType.isRequired,title:a.a.string.isRequired,topContent:a.a.object,topContentTitles:a.a.object,isTopContentPartialData:a.a.bool}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTilePagesMetricContent}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(25),s=n(6),l=n(9),u=n(316),d=n(20),m=n(317),g=n(8),p=n(108),f=n(18),b=n(35),v=n(459),h=Object(p.a)(v.a);function AudienceTilePagesMetricContent(t){var n,r=t.topContentTitles,i=t.topContent,p=t.isTopContentPartialData,v=t.hasCustomDimension,y=t.onCreateCustomDimension,O=t.isSaving,E=Object(f.a)(),_=Object(b.a)(),j=Object(c.e)(),S=[c.b,c.c].includes(j),k=(null==i||null===(n=i.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],A=!!k.length,T=Object(o.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})}));function ContentLinkComponent(t){var n=t.content,i=r[null==n?void 0:n.value],a=null==n?void 0:n.value,c=Object(o.useSelect)((function(e){return _?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:T})}));return _?e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__top-content-metric-name"},i):e.createElement(d.a,{href:c,title:i,external:!0,hideExternalIndicator:!0},i)}return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!v&&e.createElement(h,{onClick:function(){Object(g.J)("".concat(E,"_audiences-top-content-cta"),"create_custom_dimension").finally(y)},isSaving:O,onInView:function(){Object(g.J)("".concat(E,"_audiences-top-content-cta"),"view_cta")}}),v&&!A&&e.createElement(u.a,null),v&&A&&k.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__page-metric-container"},e.createElement(ContentLinkComponent,{content:t}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__page-metric-value"},Object(g.C)(null==i||null===(r=i.metricValues[n])||void 0===r?void 0:r.value)))})),S&&p&&e.createElement(m.a,{content:Object(a.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")}))}AudienceTilePagesMetricContent.propTypes={topContentTitles:i.a.object,topContent:i.a.object,isTopContentPartialData:i.a.bool,hasCustomDimension:i.a.bool,onCreateCustomDimension:i.a.func,isSaving:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(10),s=Object(a.forwardRef)((function(t,n){var r=t.onClick,i=t.isSaving;return e.createElement("div",{ref:n,className:"googlesitekit-audience-segmentation-tile-metric__no-data"},Object(o.__)("No data to show","google-site-kit"),e.createElement("p",null,Object(o.__)("Update Analytics to track metric","google-site-kit")),e.createElement(c.SpinnerButton,{danger:!0,onClick:r,isSaving:i,disabled:i},Object(o.__)("Update","google-site-kit")))}));s.propTypes={onClick:i.a.func.isRequired,isSaving:i.a.bool},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileZeroData}));var r=n(1),i=n.n(r),a=n(18),o=n(108),c=n(8),s=n(461),l=Object(o.a)(s.a);function AudienceTileZeroData(t){var n=t.Widget,r=t.audienceSlug,i=t.title,o=t.infoTooltip,s=t.isMobileBreakpoint,u=t.isTileHideable,d=t.onHideTile,m=Object(a.a)();return e.createElement(l,{Widget:n,audienceSlug:r,title:i,infoTooltip:o,isMobileBreakpoint:s,isTileHideable:u,onHideTile:function(){Object(c.J)("".concat(m,"_audiences-tile"),"temporarily_hide",r).finally(d)},onInView:function(){Object(c.J)("".concat(m,"_audiences-tile"),"view_tile_collecting_data",r)}})}AudienceTileZeroData.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),o=n(18),c=n(8),s=n(122),l=n(462),u=n(464),d=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.audienceSlug,a=t.title,d=t.infoTooltip,m=t.isMobileBreakpoint,g=t.isTileHideable,p=t.onHideTile,f=Object(o.a)();return e.createElement(r,{ref:n,noPadding:!0},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-container"},!m&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},a,d&&e.createElement(s.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(c.J)("".concat(f,"_audiences-tile"),"view_tile_tooltip",i)}}))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-content"},e.createElement(l.a,null),g&&e.createElement(u.a,{onHideTile:p})))))}));d.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingData}));var r=n(0),i=n(2),a=n(463);function AudienceTileCollectingData(){return e.createElement(r.Fragment,null,e.createElement(a.a,{className:"googlesitekit-audience-segmentation-tile__zero-data-image"}),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(i.__)("Site Kit is collecting data for this group.","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z",fill:"#EBEEF0"}),o=r.createElement("path",{d:"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),c=r.createElement("path",{d:"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#70B2F5"}),l=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#77AD8C"}),u=r.createElement("path",{d:"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z",fill:"#77AD8C",opacity:.2}),d=r.createElement("path",{d:"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273",stroke:"#161B18",strokeWidth:1.785,strokeLinecap:"round",strokeLinejoin:"round"}),m=r.createElement("path",{d:"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z",fill:"#7B807D"}),g=r.createElement("path",{d:"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),p=r.createElement("path",{d:"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),f=r.createElement("path",{d:"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726",stroke:"#B8BDB9",strokeWidth:3.173,strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationCollectingData(e){return r.createElement("svg",i({viewBox:"0 0 109 94",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingDataHideable}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(20),s=n(465);function AudienceTileCollectingDataHideable(t){var n=t.onHideTile;return e.createElement(a.Fragment,null,e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(o.__)("You can hide this group until data is available.","google-site-kit")),e.createElement(c.a,{secondary:!0,linkButton:!0,className:"googlesitekit-audience-segmentation-tile-hide-cta",onClick:n,leadingIcon:e.createElement(s.a,{width:22,height:22})},Object(o.__)("Temporarily hide","google-site-kit")))}AudienceTileCollectingDataHideable.propTypes={onHideTile:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z",fill:"#108080"});t.a=function SvgVisibility(e){return r.createElement("svg",i({viewBox:"0 0 19 19",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileError}));var r=n(1),i=n.n(r),a=n(34),o=n(467),c=n(108),s=n(18),l=n(8),u=Object(c.a)(o.a);function AudienceTileError(t){var n=t.audienceSlug,r=t.errors,i=Object(s.a)(),o=r.some((function(e){return Object(a.e)(e)}));return e.createElement(u,{errors:r,onInView:function(){var e=o?"insufficient_permissions_error":"data_loading_error";Object(l.J)("".concat(i,"_audiences-tile"),e,n)},onRetry:function(){Object(l.J)("".concat(i,"_audiences-tile"),"data_loading_error_retry",n)},onRequestAccess:function(){Object(l.J)("".concat(i,"_audiences-tile"),"insufficient_permissions_error_request_access",n)}})}AudienceTileError.propTypes={audienceSlug:i.a.string.isRequired,errors:i.a.array.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(34),s=n(468),l=n(117),u=n(315),d=Object(a.forwardRef)((function(t,n){var r=t.errors,i=t.onRetry,a=t.onRequestAccess,d=r.some((function(e){return Object(c.e)(e)}));return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error",ref:n},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__container"},e.createElement(s.a,{className:"googlesitekit-audience-segmentation-tile-error__image"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__body"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__message"},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-error__title"},d?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Data loading failed","google-site-kit"))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__actions"},e.createElement(l.a,{moduleSlug:"analytics-4",error:r,GetHelpLink:d?u.a:void 0,hideGetHelpLink:!d,buttonVariant:"danger",onRetry:i,onRequestAccess:a})))))}));d.propTypes={errors:i.a.array.isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z",fill:"#F3F5F7"}),o=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#161B18",opacity:.1}),c=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#CBD0D3"}),s=r.createElement("path",{d:"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"}),l=r.createElement("path",{d:"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224",stroke:"#161B18",strokeWidth:1.705,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),d=r.createElement("path",{d:"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z",fill:"#CBD0D3"}),m=r.createElement("path",{d:"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z",fill:"#999F9B"}),g=r.createElement("path",{d:"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),p=r.createElement("path",{d:"M145.07 26.773l-28 108.499",stroke:"#7B807D",strokeWidth:4.393,strokeMiterlimit:10,strokeLinecap:"round"}),f=r.createElement("path",{d:"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z",fill:"#E77D5B"}),b=r.createElement("path",{d:"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z",fill:"#962C0A"}),v=r.createElement("path",{d:"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAnalyticsAudienceSegmentationTileError(e){return r.createElement("svg",i({viewBox:"0 0 190 142",fill:"none"},e),a,o,c,s,l,u,d,m,g,p,f,b,v)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MaybePlaceholderTile}));var r=n(1),i=n.n(r),a=n(163),o=n(470);function MaybePlaceholderTile(t){var n=t.Widget,r=t.loading,i=t.allTilesError,c=t.visibleAudienceCount;return!1!==i&&!r||1!==c?null:r?e.createElement(n,{noPadding:!0},e.createElement(a.a,null)):e.createElement(o.a,{Widget:n})}MaybePlaceholderTile.propTypes={Widget:i.a.elementType.isRequired,loading:i.a.bool.isRequired,allTilesError:i.a.bool,visibleAudienceCount:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceholderTile}));var r=n(12),i=n.n(r),a=n(38),o=n(2),c=n(3),s=n(14),l=n(24),u=n(6),d=n(9),m=n(20),g=n(318),p=n(39);function PlaceholderTile(t){var n=t.Widget,r=Object(c.useSelect)((function(e){var t=e(u.a).getConfiguredAudiences();return e(d.p).getConfigurableAudiences().some((function(e){return"DEFAULT_AUDIENCE"!==e.audienceType&&!t.includes(e.name)}))})),f=Object(c.useSelect)((function(e){return e(s.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})})),b=Object(c.useDispatch)(l.b).setValue,v=e.createElement(m.a,{secondary:!0,href:f,external:!0,hideExternalIndicator:!0});return e.createElement(n,{className:"googlesitekit-audience-segmentation-tile-placeholder"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-placeholder__container"},e.createElement(g.a,{className:"googlesitekit-audience-segmentation-tile-placeholder__image"}),e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile-placeholder__body",{"googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences":!r})},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-placeholder__title"},r?Object(o.__)("Compare your group to other groups","google-site-kit"):Object(o.__)("Create more visitor groups","google-site-kit")),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile-placeholder__description"},r?Object(a.a)(Object(o.__)("<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v,SelectGroupLink:e.createElement(m.a,{secondary:!0,onClick:function(){return b(p.i,!0)}})}):Object(a.a)(Object(o.__)("Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v})))))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(7),i=n.n(r),a=n(3),o=n(6),c=n(9);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return Object(a.useSelect)((function(n){return t.every((function(t){var r=n(c.p).getPartialDataSiteKitAudience(t);if(void 0===r)return!1;var i={};return r?i.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":i.audienceResourceName=t,n(c.p).hasFinishedResolution("getReport",[l(l({},e),{},{dimensionFilters:l(l({},e.dimensionFilters),i)})])}))}))}function d(e,t){return Object(a.useSelect)((function(n){return t.reduce((function(t,r){var i=n(c.p).getPartialDataSiteKitAudience(r);if(void 0===i)return t;var a={};i?a.newVsReturning="new-visitors"===i.audienceSlug?"new":"returning":a.audienceResourceName=r;var o=n(c.p).getErrorForSelector("getReport",[l(l({},e),{},{dimensionFilters:l(l({},e.dimensionFilters),a)})]);return o&&(t[r]=o),t}),{})}))}function m(e){var t,n,r,i,s=e.isSiteKitAudiencePartialData,m=e.siteKitAudiences,g=e.otherAudiences,p=Object(a.useSelect)((function(e){return e(o.a).getConfiguredAudiences()})),f={audienceResourceName:p},b=Object(a.useSelect)((function(e){return e(o.a).getDateRangeDates({offsetDays:c.f,compare:!0})})),v=b.startDate,h=b.endDate,y=void 0===s?void 0:g.length>0||!1===s,O=m.length>0&&s,E=l(l({},b),{},{dimensions:[{name:"audienceResourceName"}],dimensionFilters:f,metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),_=Object(a.useInViewSelect)((function(e){if(void 0!==y)return y?e(c.p).getReport(E):null}),[y,E]),j=Object(a.useSelect)((function(e){if(void 0!==y)return!y||e(c.p).hasFinishedResolution("getReport",[E])})),S=Object(a.useSelect)((function(e){if(void 0!==y)return y?e(c.p).getErrorForSelector("getReport",[E]):null})),k=l(l({},b),{},{dimensions:[{name:"newVsReturning"}],dimensionFilters:{newVsReturning:["new","returning"]},metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),A=Object(a.useInViewSelect)((function(e){if(void 0!==O)return O?e(c.p).getReport(k):null}),[O,k]),T=Object(a.useSelect)((function(e){if(void 0!==O)return!O||e(c.p).hasFinishedResolution("getReport",[k])})),w=Object(a.useSelect)((function(e){if(void 0!==O)return O?e(c.p).getErrorForSelector("getReport",[k]):null})),D={startDate:v,endDate:h,metrics:[{name:"screenPageViews"}]},C=Object(a.useInViewSelect)((function(e){return e(c.p).getReport(D)})),N=Object(a.useSelect)((function(e){return e(c.p).hasFinishedResolution("getReport",[D])})),I=Object(a.useSelect)((function(e){return e(c.p).getErrorForSelector("getReport",[D])})),R=Number(null==C||null===(t=C.totals)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,x={startDate:v,endDate:h,dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3},P=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(x,p)})),M=u(x,p),L=d(x,p),G={startDate:v,endDate:h,dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3},B=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(G,p)})),V=u(G,p),F=d(G,p),W={startDate:v,endDate:h,dimensions:["pagePath","pageTitle"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:15};return{report:_,reportLoaded:j,reportError:S,siteKitAudiencesReport:A,siteKitAudiencesReportLoaded:T,siteKitAudiencesReportError:w,totalPageviews:R,totalPageviewsReportLoaded:N,totalPageviewsReportError:I,topCitiesReport:P,topCitiesReportLoaded:M,topCitiesReportErrors:L,topContentReport:B,topContentReportLoaded:V,topContentReportErrors:F,topContentPageTitlesReport:Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(W,p)})),topContentPageTitlesReportLoaded:u(W,p),topContentPageTitlesReportErrors:d(W,p)}}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(38),a=n(2),o=n(3),c=n(318),s=n(20),l=n(19),u=n(319),d=n(32),m=n(14),g=n(24),p=n(6),f=n(39),b=n(18),v=n(35),h=n(8),y=Object(r.forwardRef)((function(t,n){var r=Object(b.a)(),y=Object(v.a)(),O=Object(o.useSelect)((function(e){return e(p.a).didSetAudiences()})),E=Object(o.useSelect)((function(e){return e(l.a).getModuleIcon("analytics-4")})),_=Object(o.useSelect)((function(e){return e(m.c).getAdminURL("googlesitekit-settings")})),j=Object(o.useDispatch)(g.b).setValue,S=Object(o.useDispatch)(d.a).navigateTo,k=O?"no-longer-available":"none-selected";function A(){Object(h.J)("".concat(r,"_audiences-no-audiences"),"select_groups",k).finally((function(){j(f.i,!0)}))}return e.createElement(u.a,{ref:n,className:"googlesitekit-no-audience-banner",Icon:E,SVGGraphic:c.a},e.createElement("p",null,O&&Object(i.a)(Object(a.__)("It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.","google-site-kit"),{a:e.createElement(s.a,{secondary:!0,onClick:A})}),!O&&Object(i.a)(Object(a.__)("You don’t have any visitor groups selected. <a>Select groups</a>.","google-site-kit"),{a:e.createElement(s.a,{secondary:!0,onClick:A})})),!y&&e.createElement("p",null,Object(i.a)(Object(a.__)("You can deactivate this widget in <a>Settings</a>.","google-site-kit"),{a:e.createElement(s.a,{secondary:!0,onClick:function(){Object(h.J)("".concat(r,"_audiences-no-audiences"),"change_settings",k).finally((function(){S("".concat(_,"#/admin-settings"))}))}})})))}));t.a=y}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddGroupNotice}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(0),m=n(2),g=n(3),p=n(39),f=n(28),b=n(6),v=n(362),h=n(227),y=n(24),O=n(9);function AddGroupNotice(){var t=Object(d.useState)(!1),n=s()(t,2),r=n[0],a=n[1],c=Object(g.useSelect)((function(e){return e(b.a).isItemDismissed(p.a)})),l=Object(g.useSelect)((function(e){return e(y.b).getValue(p.i)})),u=Object(g.useSelect)((function(e){return e(O.p).isFetchingSyncAvailableAudiences()})),E=Object(g.useSelect)((function(e){return e(f.a).getValue(p.h,p.f)})),_=Object(g.useDispatch)(b.a).dismissItem,j=Object(d.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(p.a);case 2:case"end":return e.stop()}}),e)}))),[_]);return Object(d.useEffect)((function(){Array.isArray(E)&&(E.length>1&&a(!0),l||1!==(null==E?void 0:E.length)||a(!1))}),[E,l,a]),c||r||u||!(null==E?void 0:E.length)?null:e.createElement(h.a,{className:"googlesitekit-audience-selection-panel__add-group-notice",content:Object(m.__)("By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group","google-site-kit"),dismissLabel:Object(m.__)("Got it","google-site-kit"),Icon:v.a,onDismiss:j})}AddGroupNotice.propTypes={savedItemSlugs:u.a.array}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fill:"currentColor",d:"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z"});t.a=function SvgLightbulb(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItems}));var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(1),s=n.n(c),l=n(791),u=n(2),d=n(0),m=n(3),g=n(39),p=n(24),f=n(6),b=n(9),v=n(8),h=n(476),y=n(115),O=n(477);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AudienceItems(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=Object(d.useState)(!0),c=o()(a,2),s=c[0],E=c[1],j=Object(m.useDispatch)(f.a).setExpirableItemTimers,S=Object(m.useDispatch)(b.p).syncAvailableAudiences,k=Object(m.useSelect)((function(e){return e(p.b).getValue(g.i)})),A=Object(m.useSelect)((function(e){return e(b.p).isFetchingSyncAvailableAudiences()}));Object(d.useEffect)((function(){s&&k&&(S(),E(!1))}),[s,k,S]),Object(d.useEffect)((function(){if(!A&&k){var e=document.querySelector(".googlesitekit-audience-selection-panel .googlesitekit-selection-panel-item input");e&&e.focus()}}),[A,k]);var T=Object(m.useSelect)((function(e){var t=e(b.p),n=t.getConfigurableAudiences,r=t.getReport,i=t.getAudiencesUserCountReportOptions,a=t.getConfigurableSiteKitAndOtherAudiences,c=t.hasAudiencePartialData,s=n();if(void 0!==s){if(!s.length)return[];var l=a(),u=o()(l,2),d=u[0],m=u[1],g=c(d),p=e(f.a).getDateRangeDates({offsetDays:b.f}),v=g&&r(_(_({},p),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]})),h=!1===g||!0===g&&(null==m?void 0:m.length)>0?r(i(g?m:s)):{},y=(v||{}).rows,O=void 0===y?[]:y,E=(h||{}).rows,j=void 0===E?[]:E;return s.map((function(e){var t,n,r,i;return i="SITE_KIT_AUDIENCE"===e.audienceType&&g?S(O,"new-visitors"===e.audienceSlug?"new":"returning"):S(j,e.name),_(_({},e),{},{userCount:Number(null===(t=i)||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)||0})}))}function S(e,t){return e.find((function(e){var n,r;return(null==e||null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}))}})),w=function(e,t){var n=t.audienceType,r=t.description,a=t.displayName,o=t.name,c=t.userCount,s="";switch(n){case"DEFAULT_AUDIENCE":s=Object(u.__)("Created by default by Google Analytics","google-site-kit"),r="";break;case"SITE_KIT_AUDIENCE":s=Object(u.__)("Created by Site Kit","google-site-kit");break;case"USER_AUDIENCE":s=Object(u.__)("Already exists in your Analytics property","google-site-kit")}return _(_({},e),{},i()({},o,{title:a,subtitle:r,description:s,userCount:c,audienceType:n}))},D=null==T?void 0:T.filter((function(e){var t=e.name;return r.includes(t)})).reduce(w,{}),C=null==T?void 0:T.filter((function(e){var t=e.name;return!r.includes(t)})).reduce(w,{}),N=Object(m.useSelect)((function(e){if(void 0!==T){var t=e(f.a),n=t.hasFinishedResolution,r=t.hasExpirableItem;if(n("getExpirableItems"))return T.filter((function(e){var t=e.audienceType,n=e.name;return"DEFAULT_AUDIENCE"!==t&&!r("".concat(b.b).concat(n))})).map((function(e){var t=e.name;return"".concat(b.b).concat(t)}))}}));return Object(l.a)((function(){k&&void 0!==N&&N.length&&j(N.map((function(e){return{slug:e,expiresInSeconds:4*v.g}})))}),[k,j,N]),e.createElement(y.d,{availableItemsTitle:Object(u.__)("Additional groups","google-site-kit"),availableSavedItems:D,availableUnsavedItems:C,ItemComponent:A?O.a:h.a,savedItemSlugs:r})}AudienceItems.propTypes={savedItemSlugs:s.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItem}));var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(3),m=n(39),g=n(28),p=n(6),f=n(9),b=n(8),v=n(263),h=n(115),y=n(231);function AudienceItem(t){var n=t.slug,r=t.title,a=t.description,c=t.subtitle,s=t.userCount,O=t.audienceType,E="".concat(f.b).concat(n),_=Object(d.useSelect)((function(e){return e(g.a).getValue(m.h,m.f)})),j=Object(d.useSelect)((function(e){return e(p.a).hasExpirableItem(E)})),S=Object(d.useSelect)((function(e){return e(p.a).isExpirableItemActive(E)})),k=Object(d.useSelect)((function(e){return e(f.p).getAudienceUserCountReportErrors()}))||[],A=o()(k,2),T=A[0],w=A[1],D=[];w&&D.push(w),T&&D.push(T);var C=Object(d.useDispatch)(g.a).setValues,N=Object(d.useSelect)((function(e){return e(p.a).isItemDismissed("audience-tile-".concat(n))})),I=Object(l.useCallback)((function(e){var t;C(m.h,(t={},i()(t,m.f,e.target.checked?_.concat([n]):_.filter((function(e){return e!==n}))),i()(t,m.g,!0),t))}),[_,C,n]),R="DEFAULT_AUDIENCE"!==O&&(!1===j||S),x=null==_?void 0:_.includes(n),P="audience-selection-checkbox-".concat(n);function ItemBadge(){return N?e.createElement(y.a,{label:Object(u.__)("Temporarily hidden","google-site-kit"),tooltipTitle:Object(u.__)("Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.","google-site-kit")}):R?e.createElement(v.a,null):null}return e.createElement(h.c,{id:P,slug:n,title:r,subtitle:c,description:a,isItemSelected:x,onCheckboxChange:I,suffix:D.length?"-":Object(b.C)(s),badge:(N||R)&&e.createElement(ItemBadge,null)})}AudienceItem.propTypes={slug:s.a.string.isRequired,title:s.a.string.isRequired,description:s.a.string.isRequired,subtitle:s.a.string.isRequired,userCount:s.a.number.isRequired,audienceType:s.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItemPreviewBlock}));var r=n(40);function AudienceItemPreviewBlock(){return e.createElement("div",{className:"googlesitekit-selection-panel__loading"},e.createElement("div",{className:"googlesitekit-selection-panel__loading-left"},e.createElement(r.a,{width:"90px",height:"20px",className:"googlesitekit-selection-panel__loading-item"}),e.createElement(r.a,{width:"293px",height:"15px",className:"googlesitekit-selection-panel__loading-item"})),e.createElement("div",{className:"googlesitekit-selection-panel__loading-right"},e.createElement(r.a,{width:"43px",height:"20px",className:"googlesitekit-selection-panel__loading-item"})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(0),u=n(38),d=n(2),m=n(3),g=n(18),p=n(8),f=n(39),b=n(14),v=n(24),h=n(9),y=n(34),O=n(20),E=n(117),_=n(479),j=n(366);function ErrorNotice(){var t=Object(g.a)(),n=Object(m.useSelect)((function(e){return e(h.p).getErrorForAction("syncAvailableAudiences")})),r=Object(m.useSelect)((function(e){return e(h.p).getAudienceUserCountReportErrors()}))||[],a=s()(r,2),c=a[0],S=a[1],k=Object(m.useSelect)((function(e){return e(b.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),A=Object(m.useSelect)((function(e){return e(v.b).getValue(f.i)})),T=Object(m.useDispatch)(h.p),w=T.clearError,D=T.syncAvailableAudiences,C=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w("syncAvailableAudiences");case 2:D();case 3:case"end":return e.stop()}}),e)}))),[w,D]),N=[];n&&N.push(n),S&&N.push(S),c&&N.push(c);var I=N.length>0,R=N.some((function(e){return Object(y.e)(e)}));if(Object(l.useEffect)((function(){A&&I&&Object(p.J)("".concat(t,"_audiences-sidebar"),R?"insufficient_permissions_error":"data_loading_error")}),[I,R,A,t]),!N.length)return null;var x=[S,c].some((function(e){return!!e}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice"},e.createElement("p",null,R?Object(u.a)(Object(d.__)("Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(O.a,{href:k,external:!0,hideExternalIndicator:!0},Object(d.__)("Get help","google-site-kit"))}):Object(d.__)("Data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice-actions"},R||x?e.createElement(E.a,{moduleSlug:"analytics-4",error:N,hideGetHelpLink:!0,buttonVariant:"danger",RequestAccessButton:_.a,RetryButton:j.a}):e.createElement(j.a,{handleRetry:C})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RequestAccessButton}));var r=n(1),i=n.n(r),a=n(2),o=n(10),c=n(8),s=n(18);function RequestAccessButton(t){var n=t.requestAccessURL,r=Object(s.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",tertiary:!0,href:n,target:"_blank",onClick:function(){Object(c.J)("".concat(r,"_audiences-sidebar"),"insufficient_permissions_error_request_access")}},Object(a.__)("Request access","google-site-kit"))}RequestAccessButton.propTypes={requestAccessURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(27),o=n.n(a),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(7),m=n.n(d),g=n(1),p=n.n(g),f=n(0),b=n(2),v=n(3),h=n(18),y=n(8),O=n(39),E=n(28),_=n(6),j=n(9),S=n(115);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,r=t.isOpen,a=t.closePanel,c=t.savedItemSlugs,l=Object(h.a)(),d=Object(v.useSelect)((function(e){return e(E.a).getValue(O.h,O.f)})),m=Object(v.useSelect)((function(e){return e(_.a).getAudienceSettings()})),g=Object(v.useSelect)((function(e){return e(_.a).getErrorForAction("saveAudienceSettings",[A(A({},m),{},{configuredAudiences:d})])})),p=Object(v.useSelect)((function(e){return e(_.a).isSavingAudienceSettings()})),k=Object(v.useSelect)((function(e){var t=e(_.a).getDismissedItems();return null==t?void 0:t.filter((function(e){return e.startsWith("audience-tile-")}))})),T=Object(v.useSelect)((function(e){return e(j.p).getAvailableAudiences()})),w=Object(v.useDispatch)(_.a),D=w.saveAudienceSettings,C=w.removeDismissedItems,N=Object(v.useSelect)(_.a).getConfiguredAudiences,I=(null==d?void 0:d.length)||0;I<O.k?n=Object(b.sprintf)( /* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */ Object(b._n)("Select at least %1$d group (%2$d selected)","Select at least %1$d groups (%2$d selected)",O.k,"google-site-kit"),O.k,I):I>O.j&&(n=Object(b.sprintf)( /* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */ Object(b.__)("Select up to %1$d groups (%2$d selected)","google-site-kit"),O.j,I));var R=Object(f.useState)(null),x=u()(R,2),P=x[0],M=x[1],L=Object(f.useCallback)(function(){var e=s()(i.a.mark((function e(t){var n,r,a,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(null),e.next=3,D({configuredAudiences:t});case 3:if(n=e.sent,r=n.error){e.next=14;break}if(a=(null==k?void 0:k.filter((function(e){var n=e.replace("audience-tile-","");return!t.includes(n)})))||[],t.every((function(e){return null==k?void 0:k.includes("audience-tile-".concat(e))}))&&a.push("audience-tile-".concat(t[0])),!((null==a?void 0:a.length)>0)){e.next=14;break}return e.next=11,C.apply(void 0,o()(a));case 11:c=e.sent,(r=c.error)&&M(r);case 14:return e.abrupt("return",{error:r});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[k,C,D]),G=Object(f.useCallback)((function(){var e={USER_AUDIENCE:"user",SITE_KIT_AUDIENCE:"site-kit",DEFAULT_AUDIENCE:"default"},t=N(),n=Object.keys(e).map((function(n){var r=t.filter((function(e){var t=null==T?void 0:T.find((function(t){var n=t.name;return e===n}));return(null==t?void 0:t.audienceType)===n}));return"".concat(e[n],":").concat(r.length)})).join(",");Object(y.J)("".concat(l,"_audiences-sidebar"),"audiences_sidebar_save",n)}),[T,N,l]),B=Object(f.useCallback)((function(){Object(y.J)("".concat(l,"_audiences-sidebar"),"audiences_sidebar_cancel")}),[l]);return e.createElement(S.a,{savedItemSlugs:c,selectedItemSlugs:d,saveSettings:L,saveError:g||P,itemLimitError:n,minSelectedItemCount:O.k,maxSelectedItemCount:O.j,isBusy:p,isOpen:r,closePanel:a,onSaveSuccess:G,onCancel:B})}Footer.propTypes={isOpen:p.a.bool,closePanel:p.a.func.isRequired,savedItemSlugs:p.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),l=n(32),u=n(14),d=n(6),m=n(35),g=n(20),p=n(115);function Header(t){var n=t.closePanel,r=Object(m.a)(),i=Object(s.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),f=Object(s.useSelect)((function(e){return e(d.a).isSavingAudienceSettings()})),b=Object(s.useDispatch)(l.a).navigateTo,v=Object(a.useCallback)((function(){return b("".concat(i,"#/admin-settings"))}),[b,i]);return e.createElement(p.b,{title:Object(c.__)("Select visitor groups","google-site-kit"),onCloseClick:n},!r&&e.createElement("p",null,Object(o.a)(Object(c.__)("You can deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(g.a,{secondary:!0,onClick:v,disabled:f}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var r=n(2),i=n(38),a=n(3),o=n(14),c=n(20);function LearnMoreLink(){var t=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__learn-more"},Object(i.a)(Object(r.__)("Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>","google-site-kit"),{link:e.createElement(c.a,{secondary:!0,href:t,external:!0,hideExternalIndicator:!0}),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceCreationNotice}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(2),d=n(0),m=n(157),g=n(3),p=n(18),f=n(8),b=n(39),v=n(28),h=n(14),y=n(6),O=n(24),E=n(9),_=n(34),j=n(20),S=n(119),k=n(246),A=n(334),T=n(484);function AudienceCreationNotice(){var t=Object(p.a)(),n=Object(d.useState)(!1),i=l()(n,2),o=i[0],s=i[1],w=Object(g.useSelect)((function(e){var t=(0,e(E.p).getConfigurableAudiences)();if(void 0!==t)return t.length?t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})):[]})),D=Object(g.useDispatch)(y.a).dismissItem,C=Object(g.useDispatch)(O.b).setValue,N=Object(g.useSelect)((function(e){return e(y.a).isItemDismissed(b.d)})),I=Object(g.useSelect)((function(e){return e(y.a).isItemDismissed(b.b)})),R=Object(g.useSelect)((function(e){return e(y.a).hasScope(E.g)})),x=Object(g.useSelect)((function(e){return e(O.b).getValue(b.i)})),P=Object(m.a)(e.location.href,{notification:"audience_segmentation"}),M=Object(g.useDispatch)(v.a).setValues,L=Object(g.useDispatch)(y.a).setPermissionScopeError,G=Object(g.useDispatch)(E.p),B=G.createAudience,V=G.syncAvailableAudiences,F=Object(g.useSelect)((function(e){return e(v.a).getValue(b.c,"autoSubmit")})),W=Object(g.useSelect)((function(e){return e(v.a).getValue(b.c,"audienceToCreate")})),Z=Object(d.useState)([]),z=l()(Z,2),U=z[0],H=z[1],q=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s(t),R){e.next=5;break}return M(b.c,{autoSubmit:!0,audienceToCreate:t}),L({code:_.a,message:Object(u.__)("Additional permissions are required to create a new audience in Analytics.","google-site-kit"),data:{status:403,scopes:[E.g],skipModal:!0,redirectURL:P}}),e.abrupt("return");case 5:return M(b.c,{autoSubmit:!1,audienceToCreate:void 0}),e.next=8,B(E.r[t]);case 8:return n=e.sent,r=n.error,H(r?[r]:[]),e.next=13,V();case 13:s(!1),r||C(b.e,!0);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[R,B,V,M,L,P,C]),K=Object(g.useSelect)((function(e){return e(h.c).getSetupErrorCode()})),Y=F&&"access_denied"===K;Object(d.useEffect)((function(){function e(){return(e=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!R||!F){e.next=4;break}return C(b.i,!0),e.next=4,q(W);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[W,q,R,F,C]);var J=!N&&(null==w?void 0:w.length)<2;if(Object(d.useEffect)((function(){x&&J&&Object(f.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_notice")}),[x,J,t]),Object(d.useEffect)((function(){!x||R||I||Object(f.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_oauth_notice")}),[R,I,x,t]),!J)return null;var $=Object.keys(E.r).filter((function(e){return!w.some((function(t){return t.audienceSlug===e}))}));return r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-header"},r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-title"},Object(u.__)("Create groups suggested by Site Kit","google-site-kit")),r.createElement(j.a,{className:"googlesitekit-audience-selection-panel__audience-creation-notice-close",onClick:function(){D(b.d)},linkButton:!0},r.createElement(S.a,{width:"15",height:"15"}))),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-body"},$&&$.map((function(e){return r.createElement("div",{key:e,className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details"},r.createElement("h3",null,E.r[e].displayName),r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description"},E.r[e].description)),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button"},r.createElement(k.b,{spinnerPosition:k.a.BEFORE,onClick:function(){Object(f.J)("".concat(t,"_audiences-sidebar-create-audiences"),"create_audience",e).finally((function(){q(e)}))},isSaving:o===e},Object(u.__)("Create","google-site-kit"))))}))),!R&&!I&&r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-info"},r.createElement(A.b,{title:Object(u.__)("Creating these groups require more data tracking. You will be directed to update your Analytics property.","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),onDismiss:function(){Object(f.J)("".concat(t,"_audiences-sidebar-create-audiences"),"dismiss_oauth_notice").finally((function(){D(b.b)}))},variant:A.a.WARNING,hideIcon:!0})),(U.length>0||Y)&&r.createElement(T.a,{apiErrors:U,hasOAuthError:Y}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),l=n(18),u=n(34),d=n(8),m=n(39),g=n(14),p=n(24),f=n(9),b=n(10),v=n(20),h=n(71);function AudienceCreationErrorNotice(t){var n,r,i=t.apiErrors,y=t.hasOAuthError,O=Object(l.a)(),E=Array.isArray(i)?i:[i],_=Object(s.useSelect)((function(e){return e(g.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),j=Object(s.useSelect)((function(e){return e(f.p).getServiceEntityAccessURL()})),S=Object(s.useSelect)((function(e){return e(g.c).getErrorTroubleshootingLinkURL({code:"access_denied"})})),k=Object(s.useSelect)((function(e){return e(p.b).getValue(m.i)})),A=E.length>0,T=E.some((function(e){return Object(u.e)(e)}));return Object(a.useEffect)((function(){if(k&&(A||y)){var e="setup_error";y?e="auth_error":T&&(e="insufficient_permissions_error"),Object(d.J)("".concat(O,"_audiences-sidebar-create-audiences"),e)}}),[A,T,y,k,O]),E.length||y?(y?r=Object(o.a)(Object(c.__)("Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:S,external:!0,hideExternalIndicator:!0},Object(c.__)("get help","google-site-kit"))}):T?(n=Object(c.__)("Insufficient permissions","google-site-kit"),r=Object(o.a)(Object(c.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:_,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))})):(n=Object(c.__)("Analytics update failed","google-site-kit"),r=Object(c.__)("Click on Create to try again.","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice"},e.createElement(h.a,{width:24,height:24}),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__content"},n&&e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__title"},n),e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__description"},r)),T&&e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__actions"},e.createElement(b.Button,{href:j,target:"_blank",danger:!0,onClick:function(){Object(d.J)("".concat(O,"_audiences-sidebar-create-audiences"),"insufficient_permissions_error_request_access")}},Object(c.__)("Request access","google-site-kit"))))):null}AudienceCreationErrorNotice.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationSuccessNotice}));var r=n(0),i=n(2),a=n(3),o=n(18),c=n(8),s=n(39),l=n(24),u=n(10),d=n(151);function AudienceCreationSuccessNotice(){var t=Object(o.a)(),n=Object(a.useDispatch)(l.b).setValue,m=Object(a.useSelect)((function(e){return e(l.b).getValue(s.e)})),g=Object(a.useSelect)((function(e){return e(l.b).getValue(s.i)}));return Object(r.useEffect)((function(){g&&m&&Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"view_notification")}),[g,m,t]),m?e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice"},e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-icon"},e.createElement(d.a,{width:24,height:24})),e.createElement("p",{className:"googlesitekit-audience-selection-panel__success-notice-message"},Object(i.__)("Visitor group created successfully!","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-actions"},e.createElement(u.Button,{tertiary:!0,onClick:function(){Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"dismiss_notification").finally((function(){n(s.e,!1)}))}},Object(i.__)("Got it","google-site-kit")))):null}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("defs",null,r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__c",x:109.551,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__d",x:236.859,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h480v150H0z"}))),o=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),s=r.createElement("g",{mask:"url(#audience-connect-analytics-cta-graphic_svg__b)"},r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__c)"},r.createElement("rect",{x:125.551,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:139.555,y:93.193,width:39.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:82.189,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:118.259,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:139.535,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:138.555,y:129.263,width:41.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.141 65.862H126.286",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__d)"},r.createElement("rect",{x:252.859,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:266.809,y:93.193,width:38.859,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.809,y:82.189,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.805,y:118.259,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:266.844,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M358.094 65.862H252.862",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:265.812,y:129.263,width:40.852,height:7.002,rx:3.501,fill:"#EBEEF0"}));t.a=function SvgAudienceConnectAnalyticsCtaGraphic(e){return r.createElement("svg",i({viewBox:"-3 1 333.666 149.252",fill:"none"},e),a,r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic_svg__a)",transform:"translate(-73)"},o,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:72,y:12,width:332,height:228},c),s))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),c=r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)",mask:"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)"},r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),s=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714",x:77,y:17.181,width:399.32,height:185.111,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16714"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16714",result:"shape"})));t.a=function SvgAudienceConnectAnalyticsCtaGraphicTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)"},a,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:48,y:1,width:441,height:237},o),c),s)}},function(e,t){e.exports=googlesitekit.notifications},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var r=n(12),i=n.n(r),a=n(11),o=n.n(a),c=n(1),s=n.n(c),l=n(13),u=n(112);function ReportTable(t){var n=t.rows,r=t.columns,a=t.className,c=t.limit,s=t.zeroState,d=t.gatheringData,m=void 0!==d&&d;o()(Array.isArray(n),"rows must be an array."),o()(Array.isArray(r),"columns must be an array."),r.forEach((function(e){var t=e.Component,n=e.field,r=void 0===n?null:n;o()(t||null!==r,"each column must define a Component and/or a field.")})),o()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var g=r.filter((function(e){return!e.hideOnMobile})),p=r.some((function(e){return!!e.badge}));return e.createElement("div",{className:i()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":m},a)},e.createElement("table",{className:i()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(r.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(g.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},p&&e.createElement("tr",{className:i()("googlesitekit-table__head-badges",{"hidden-on-mobile":!r.some((function(e){var t=e.badge,n=e.hideOnMobile;return!!t&&!n}))})},r.map((function(t,n){var r=t.badge,a=t.primary,o=t.hideOnMobile,c=t.className;return e.createElement("th",{className:i()("googlesitekit-table__head-item","googlesitekit-table__head-item--badge",{"googlesitekit-table__head-item--primary":a,"hidden-on-mobile":o},c),key:"googlesitekit-table__head-row-badge-".concat(n)},r)}))),e.createElement("tr",{className:"googlesitekit-table__head-row"},r.map((function(t,n){var r=t.title,a=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:i()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o,"hidden-on-mobile":c},s),"data-tooltip":a,key:"googlesitekit-table__head-row-".concat(n)},r)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},m&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:r.length},e.createElement(u.b,null))),!m&&!(null==n?void 0:n.length)&&s&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:r.length},e.createElement(s,null))),!m&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},r.map((function(n,r){var a=n.Component,o=n.field,c=n.hideOnMobile,s=n.className,u=void 0!==o?Object(l.get)(t,o):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(r),className:i()("googlesitekit-table__body-item",{"hidden-on-mobile":c},s)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},a&&e.createElement(a,{row:t,fieldValue:u}),!a&&u))})))})))))}ReportTable.propTypes={rows:s.a.arrayOf(s.a.oneOfType([s.a.array,s.a.object])).isRequired,columns:s.a.arrayOf(s.a.shape({title:s.a.string,description:s.a.string,primary:s.a.bool,className:s.a.string,field:s.a.string,hideOnMobile:s.a.bool,Component:s.a.componentType,badge:s.a.node})).isRequired,className:s.a.string,limit:s.a.number,zeroState:s.a.func,gatheringData:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),o=n(1),c=n.n(o),s=n(13),l=n(12),u=n.n(l),d=n(0);function TableOverflowContainer(t){var n=t.children,i=Object(d.useState)(!1),o=a()(i,2),c=o[0],l=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(s.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;l(t<n-16&&0<n-16)}};return r.createElement("div",{onScroll:Object(s.debounce)(g,100),className:u()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},r.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccessibleWarningIcon}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(105),s=n(346);function AccessibleWarningIcon(t){var n=t.height,r=void 0===n?12:n,i=t.screenReaderText,l=void 0===i?Object(o.__)("Error","google-site-kit"):i,u=t.width,d=void 0===u?14:u;return e.createElement(a.Fragment,null,e.createElement(c.a,null,l),e.createElement(s.a,{width:d,height:r}))}AccessibleWarningIcon.propTypes={height:i.a.number,screenReaderText:i.a.string,width:i.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DataBlockGroup}));var i=n(91),a=n(625),o=n(0),c=n(161);function DataBlockGroup(t){var n=t.className,s=t.children,l=Object(o.useRef)(),u=function(){var t,n,r,i,a=null==l||null===(t=l.current)||void 0===t?void 0:t.querySelectorAll(".googlesitekit-data-block");if(a){var o=null===(n=a[0])||void 0===n?void 0:n.querySelector(".googlesitekit-data-block__datapoint");if(o){d(a,"");var c=parseInt(null===(r=e)||void 0===r||null===(i=r.getComputedStyle(o))||void 0===i?void 0:i.fontSize,10),s=c;a.forEach((function(t){var n,r,i,a=t.querySelector(".googlesitekit-data-block__datapoint");if(a){var o=parseInt(null===(n=e)||void 0===n||null===(r=n.getComputedStyle(a))||void 0===r?void 0:r.fontSize,10),c=null==a||null===(i=a.parentElement)||void 0===i?void 0:i.offsetWidth;if(a.scrollWidth>c&&o>14){for(;a.scrollWidth>c&&o>14;)o-=1,a.style.fontSize="".concat(o,"px");s=o}}})),c!==s&&d(a,"".concat(s,"px"))}}},d=function(e,t){e.forEach((function(e){var n=null==e?void 0:e.querySelector(".googlesitekit-data-block__datapoint");n&&(n.style.fontSize=t)}))},m=Object(c.a)(u,50);return Object(i.a)((function(){u(),e.addEventListener("resize",m)})),Object(a.a)((function(){return e.removeEventListener("resize",m)})),r.createElement("div",{ref:l,className:n},s)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),o=n(51),c=n.n(o),s=n(215),l=n.n(s),u=n(69),d=n.n(u),m=n(70),g=n.n(m),p=n(49),f=n.n(p),b=n(186),v=n.n(b),h=n(1),y=n.n(h),O=n(0),E=n(2),_=n(85),j=n(168),S=n(63),k=n(8);function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g()(this,n)}}var T=function(t){d()(GoogleChartErrorHandler,t);var n=A(GoogleChartErrorHandler);function GoogleChartErrorHandler(e){var t;return a()(this,GoogleChartErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(l()(t)),t}return c()(GoogleChartErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Google Charts error:",t,n),this.setState({error:t,info:n}),Object(k.J)("google_chart_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement("div",{className:"googlesitekit-googlechart-error-handler"},r.createElement(_.a,{description:r.createElement(O.Fragment,null,r.createElement("p",null,Object(E.__)("An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),r.createElement(j.a,{message:n.message,componentStack:i.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(E.__)("Error in Google Chart","google-site-kit")})):e}}]),GoogleChartErrorHandler}(O.Component);T.contextType=S.b,T.propTypes={children:y.a.node.isRequired},t.a=T}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateMarker}));var r=n(0),i=n(254),a=n(573),o=n(10),c=n(18),s=n(161),l=n(8);function DateMarker(t){var n=t.id,u=t.text,d=Object(c.a)(),m="".concat(d,"_ga4-data-collection-line");Object(r.useEffect)((function(){Object(l.J)(m,"chart_line_view")}),[m]);var g=Object(r.useCallback)((function(){Object(l.J)(m,"chart_tooltip_view")}),[m]),p=Object(s.a)(g,5e3,{leading:!0,trailing:!1});return e.createElement(r.Fragment,null,e.createElement("div",{id:"googlesitekit-chart__date-marker-line--".concat(n),className:"googlesitekit-chart__date-marker-line"}),u&&e.createElement("div",{id:"googlesitekit-chart__date-marker-tooltip--".concat(n),className:"googlesitekit-chart__date-marker-tooltip"},e.createElement(o.Tooltip,{title:u,onOpen:p},e.createElement("span",null,e.createElement(i.a,{fill:"currentColor",icon:a.a,size:18})))))}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(0),i=n(3),a=n(14),o=n(6),c=n(2),s=n(22),l={slug:"sharedKeyMetrics",contexts:[s.n,s.o,s.l,s.m],gaEventCategory:function(e){return"".concat(e,"_shared_key-metrics")},steps:[{target:".googlesitekit-km-change-metrics-cta",title:Object(c.__)("Personalize your key metrics","google-site-kit"),content:Object(c.__)("Another admin has set up these tailored metrics for your site. Click here to personalize them.","google-site-kit"),placement:"bottom-start"}]},u=function(e){var t=Object(i.useSelect)((function(e){return e(a.c).getKeyMetricsSetupCompletedBy()})),n=Object(i.useSelect)((function(e){return e(o.a).getID()})),c=Object(i.useDispatch)(o.a).triggerOnDemandTour,s=Number.isInteger(t)&&Number.isInteger(n)&&t>0&&n!==t;Object(r.useEffect)((function(){e&&s&&c(l)}),[e,s,c])}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return p}));var r=n(7),i=n.n(r),a=n(11),o=n.n(a),c=n(109),s=n(206),l=n(9);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=e.siteName,n=e.siteURL,r=e.timezone,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;o()(Object(c.a)(n),"A valid siteURL is required.");var u=new URL(n),d=u.hostname,m=u.pathname;return i()({accountName:t||d,propertyName:"".concat(d).concat(m).replace(/\/$/,""),dataStreamName:d,countryCode:s.c[r]||s.c[a],timezone:s.c[r]?r:a},l.h,!0)}var g=function(e){var t,n=null===(t=e.account)||void 0===t?void 0:t.match(/accounts\/([^/]+)/),r=null==n?void 0:n[1];return d(d({},e),{},{_id:r})},p=function(e){var t,n,r=null===(t=e.property)||void 0===t?void 0:t.match(/properties\/([^/]+)/),i=null==r?void 0:r[1],a=null===(n=e.parent)||void 0===n?void 0:n.match(/accounts\/([^/]+)/),o=null==a?void 0:a[1];return d(d({},e),{},{_id:i,_accountID:o})}},function(e,t,n){"use strict";function r(e){if(void 0!==e)return!e}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return TrackingExclusionSwitches}));var r,i=n(7),a=n.n(i),o=n(0),c=n(2),s=n(3),l=n(10),u=n(9),d=(r={},a()(r,"loggedinUsers",Object(c.__)("All logged-in users","google-site-kit")),a()(r,"contentCreators",Object(c.__)("Users that can write posts","google-site-kit")),r);function TrackingExclusionSwitches(){var t,n=Object(s.useSelect)((function(e){return e(u.p).getTrackingDisabled()})),r=Object(s.useDispatch)(u.p).setTrackingDisabled;t=n&&n.includes("loggedinUsers")?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes("contentCreators")?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var i=Object(o.useCallback)((function(e,t){var i=t?n.concat(e):n.filter((function(t){return t!==e}));r(i)}),[n,r]),a=Object(o.useCallback)((function(e){var t=e.target.checked;i("contentCreators",t)}),[i]),m=Object(o.useCallback)((function(e){var t=e.target.checked;i("loggedinUsers",t)}),[i]);return Array.isArray(n)?e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("h4",{className:"googlesitekit-settings-module__fields-group-title"},Object(c.__)("Exclude Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:d.loggedinUsers,checked:n.includes("loggedinUsers"),onClick:m,hideLabel:!1})),!n.includes("loggedinUsers")&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(l.Switch,{label:d.contentCreators,checked:n.includes("contentCreators"),onClick:a,hideLabel:!1}))),e.createElement("p",null,t))):null}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r);function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)}WidgetHeaderTitle.propTypes={title:i.a.string.isRequired},t.a=WidgetHeaderTitle}).call(this,n(4))},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectModuleCTATile}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),s=n(176),l=n(20),u=n(583),d=n(661);function ConnectModuleCTATile(t){var n=t.moduleSlug,r=Object(s.a)(n),i=Object(o.useSelect)((function(e){return e(c.a).getModule(n)})),m=Object(o.useSelect)((function(e){return e(c.a).getModuleIcon(n)}));return i?e.createElement("div",{className:"googlesitekit-widget--connectModuleCTATile"},e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile"},m&&e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__icon"},e.createElement(m,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__content"},e.createElement("p",{className:"googlesitekit-km-connect-module-cta-tile__text"},Object(a.sprintf)( /* translators: %s: module name */ Object(a.__)("%s is disconnected, some of your metrics can’t be displayed","google-site-kit"),i.name)),e.createElement(l.a,{secondary:!0,onClick:r},Object(a.sprintf)( /* translators: %s: module name */ Object(a.__)("Connect %s","google-site-kit"),i.name)))),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(u.a,null)),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(u.a,null)),e.createElement("div",{className:"googlesitekit-km-connect-module-cta-tile__ghost-card"},e.createElement(d.a,null))):null}ConnectModuleCTATile.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(359),i=n(0),a=n(390);function o(){}var c=function(e,t){var n=Object(a.a)({sticky:!0}),c=Object(i.useRef)(),s=Object(i.useCallback)(e,t),l=Object(r.a)(n?s:o);return n&&(c.current=l),c.current}},,,,function(e,t,n){"use strict";function r(e){return"string"==typeof e&&""!==e&&/^AW-[0-9]+$/.test(e)}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(2),u=n(0),d=n(42),m=n.n(d),g=n(3),p=n(10),f=n(9),b=n(14),v=n(6),h=n(28),y=n(32),O=n(34),E=n(8),_=n(499),j=n(17),S=n(144),k=n(548),A=n(549),T=n(550),w=n(551),D=n(552),C=n(330),N=n(18),I=n(393);function AccountCreate(){var t=Object(u.useState)(!1),n=s()(t,2),r=n[0],a=n[1],c=Object(g.useSelect)((function(e){return e(f.p).getAccountSummaries()})),d=Object(g.useSelect)((function(e){return e(f.p).hasFinishedResolution("getAccountSummaries")})),R=Object(g.useSelect)((function(e){return e(f.p).getAccountTicketTermsOfServiceURL()})),x=Object(g.useSelect)((function(e){return e(f.p).canSubmitAccountCreate()})),P=Object(g.useSelect)((function(e){return e(f.p).isDoingCreateAccount()})),M=Object(g.useSelect)((function(e){return e(v.a).hasScope(f.g)})),L=Object(g.useSelect)((function(e){return e(v.a).hasScope(f.n)})),G=Object(g.useSelect)((function(e){return e(h.a).hasForm(f.k)})),B=Object(g.useSelect)((function(e){return e(h.a).getValue(f.k,"autoSubmit")})),V=Object(g.useSelect)((function(e){return e(b.c).getReferenceSiteURL()})),F=Object(g.useSelect)((function(e){return e(b.c).getSiteName()})),W=Object(g.useSelect)((function(e){return e(b.c).getTimezone()})),Z=Object(N.a)(),z=Object(g.useDispatch)(h.a).setValues,U=Object(g.useDispatch)(y.a).navigateTo,H=Object(g.useDispatch)(f.p).createAccount,q=Object(g.useDispatch)(v.a).setPermissionScopeError,K=Object(g.useDispatch)(b.c),Y=K.setConversionTrackingEnabled,J=K.saveConversionTrackingSettings,$=M;Object(u.useEffect)((function(){R&&o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.invalidateCache("modules","analytics-4");case 2:U(R);case 3:case"end":return e.stop()}}),e)})))()}),[R,U]),Object(u.useEffect)((function(){G||z(f.k,Object(_.a)({siteName:F,siteURL:V,timezone:W}))}),[G,F,V,W,z]);var Q=Object(u.useCallback)(o()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],M||t.push(f.g),L||t.push(f.n),!(t.length>0)){e.next=7;break}return z(f.k,{autoSubmit:!0}),q({code:O.a,message:Object(l.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 7:return z(f.k,{autoSubmit:!1}),e.next=10,Object(E.J)("".concat(Z,"_analytics"),"create_account","proxy");case 10:return e.next=12,H();case 12:if(n=e.sent,n.error){e.next=19;break}return Y(!0),e.next=18,J();case 18:a(!0);case 19:case"end":return e.stop()}}),e)}))),[M,L,z,Z,H,q,Y,J]);Object(u.useEffect)((function(){$&&B&&Q()}),[$,B,Q]);var X=Object(g.useDispatch)(f.p).rollbackSettings,ee=Object(u.useCallback)((function(){return X()}),[X]);return P||r||!d||void 0===$?e.createElement(p.ProgressBar,null):e.createElement("div",null,e.createElement(S.a,{moduleSlug:"analytics-4",storeName:f.p}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(l.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(l.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(j.a,{size:6},e.createElement(A.a,null)),e.createElement(j.a,{size:6},e.createElement(T.a,null)),e.createElement(j.a,{size:6},e.createElement(D.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,null),e.createElement(k.a,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(C.a,{formName:f.k,className:"googlesitekit-margin-bottom-0"}),e.createElement(I.a,{className:"googlesitekit-margin-top-0",message:Object(l.__)("To track how visitors interact with your site, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")})),e.createElement("p",null,$&&e.createElement("span",null,Object(l.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!$&&e.createElement("span",null,Object(l.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(p.Button,{disabled:!x,onClick:Q},Object(l.__)("Create Account","google-site-kit")),c&&!!c.length&&e.createElement(p.Button,{tertiary:!0,className:"googlesitekit-setup-module__sub-action",onClick:ee},Object(l.__)("Back","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(3),l=n(9),u=n(8),d=n(18);function AccountSelect(t){var n=t.hasModuleAccess,r=t.onChange,i=Object(d.a)(),m=Object(s.useSelect)((function(e){return e(l.p).getAccountID()})),g=Object(s.useSelect)((function(e){return e(l.p).getAccountSummaries()})),p=Object(s.useSelect)((function(e){return e(l.p).hasFinishedResolution("getAccountSummaries")})),f=Object(s.useDispatch)(l.p).selectAccount,b=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(m!==n){f(n);var a=n===l.a?"change_account_new":"change_account";Object(u.J)("".concat(i,"_analytics"),a),r&&r()}}),[m,f,i,r]);return p?!1===n?e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:m,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:m},m)):e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:m,onEnhancedChange:b,enhanced:!0,outlined:!0},(g||[]).concat({_id:l.a,displayName:Object(o.__)("Set up a new account","google-site-kit")}).map((function(t,n){var r=t._id,i=t.displayName;return e.createElement(c.Option,{key:n,value:r},i)}))):e.createElement(c.ProgressBar,{small:!0})}AccountSelect.propTypes={hasModuleAccess:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AccountCreateLegacy}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(0),l=n(2),u=n(3),d=n(10),m=n(8),g=n(9),p=n(144),f=n(373),b=n(18);function AccountCreateLegacy(){var t=Object(u.useSelect)((function(e){return e(g.p).getAccountSummaries()})),n=Object(u.useSelect)((function(e){return e(g.p).hasFinishedResolution("getAccountSummaries")})),i=Object(u.useSelect)((function(e){return e(g.p).getAccountID()})),o=g.a===i,v=Object(u.useSelect)((function(e){return e(g.p).getServiceURL({path:"/provision/SignUp"})})),h=Object(b.a)(),y=Object(s.useCallback)(function(){var t=c()(a.a.mark((function t(n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(m.J)("".concat(h,"_analytics"),"create_account","custom-oauth");case 3:e.open(v,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[v,h]),O=Object(u.useDispatch)(g.p),E=O.resetAccountSummaries,_=O.resetAccountSettings,j=Object(s.useCallback)((function(){E(),_()}),[_,E]);return n?r.createElement("div",null,r.createElement(f.a,null),r.createElement(p.a,{moduleSlug:"analytics-4",storeName:g.p}),!o&&t&&0===t.length&&r.createElement("p",null,Object(l.__)('Looks like you don’t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),o&&r.createElement(s.Fragment,null,r.createElement("p",null,Object(l.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),r.createElement("p",null,Object(l.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(d.Button,{onClick:y},Object(l.__)("Create an account","google-site-kit")),r.createElement("div",{className:"googlesitekit-setup-module__sub-action"},r.createElement(d.Button,{tertiary:!0,onClick:j},Object(l.__)("Re-fetch My Account","google-site-kit"))))):r.createElement(d.ProgressBar,null)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamSelect}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(2),l=n(10),u=n(3),d=n(9),m=n(61),g=n(8),p=n(18);function WebDataStreamSelect(t){var n=t.hasModuleAccess,r=t.isDisabled,a=t.className,o=t.onChange,f=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),b=Object(u.useSelect)((function(e){return e(d.p).getSettings()||{}})),v=b.propertyID,h=b.webDataStreamID,y=b.measurementID,O=Object(u.useSelect)((function(e){return Object(m.e)(v)&&!1!==n?e(d.p).getWebDataStreams(v):[]})),E=Object(u.useSelect)((function(e){return!r&&e(d.p).isLoadingWebDataStreams({hasModuleAccess:n})})),_=Object(p.a)(),j=Object(u.useDispatch)(d.p),S=j.setWebDataStreamID,k=j.updateSettingsForMeasurementID,A=Object(c.useCallback)((function(e,t){var n,r,i=t.dataset.value;h!==i&&(S(i),k((null===(n=O.find((function(e){return e._id===i})))||void 0===n||null===(r=n.webStreamData)||void 0===r?void 0:r.measurementId)||""),Object(g.J)("".concat(_,"_analytics"),i===d.x?"change_webdatastream_new":"change_webdatastream","ga4"),o&&o())}),[O,h,S,k,_,o]);if(!Object(m.a)(f))return null;if(E)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var T=void 0===h||""===h||Object(m.i)(h);return!1===n?e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-webdatastream",a),label:Object(s.__)("Web Data Stream","google-site-kit"),value:y,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:y},y)):e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-webdatastream",a,{"mdc-select--invalid":!T}),label:Object(s.__)("Web Data Stream","google-site-kit"),value:h,onEnhancedChange:A,disabled:r||!Object(m.f)(v),enhanced:!0,outlined:!0},(O||[]).concat({_id:d.x,displayName:Object(s.__)("Set up a new web data stream","google-site-kit")}).map((function(t,n){var r=t._id,i=t.displayName,a=t.webStreamData,o=void 0===a?{}:a;return e.createElement(l.Option,{key:n,value:r},r!==d.x&&(null==o?void 0:o.measurementId)?Object(s.sprintf)( /* translators: 1: Data stream name. 2: Measurement ID. */ Object(s._x)("%1$s (%2$s)","Analytics data stream name and measurement ID","google-site-kit"),i,o.measurementId):i)})))}WebDataStreamSelect.propTypes={hasModuleAccess:o.a.bool,isDisabled:o.a.bool,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(2),l=n(10),u=n(3),d=n(9),m=n(61),g=n(8),p=n(18);function PropertySelect(t){var n=t.isDisabled,r=t.hasModuleAccess,a=t.className,o=t.onChange,f=void 0===o?function(){}:o,b=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),v=Object(u.useSelect)((function(e){return!1===r||n?null:e(d.p).getPropertySummaries(b)||[]})),h=Object(u.useSelect)((function(e){return e(d.p).getPropertyID()})),y=Object(u.useSelect)((function(e){return!n&&(e(d.p).isLoadingPropertySummaries()||e(d.p).isLoadingWebDataStreams({hasModuleAccess:r}))})),O=Object(p.a)(),E=Object(u.useDispatch)(d.p).selectProperty,_=Object(c.useCallback)((function(e,t){var n=t.dataset.value;h!==n&&(E(n),Object(g.J)("".concat(O,"_analytics"),n===d.q?"change_property_new":"change_property","ga4"),f())}),[f,h,E,O]);if(!Object(m.a)(b))return null;if(y)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var j=void 0===h||""===h||Object(m.f)(h);return!1===r?e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-property",a),label:Object(s.__)("Property","google-site-kit"),value:h,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:h},h)):e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-property",a,{"mdc-select--invalid":!j,"googlesitekit-analytics-4__select-property--loaded":!n&&!y}),label:Object(s.__)("Property","google-site-kit"),value:h,onEnhancedChange:_,disabled:n,enhanced:!0,outlined:!0},(v||[]).concat({_id:d.q,displayName:Object(s.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t._id,r=t.displayName;return e.createElement(l.Option,{key:n,value:n},n===d.q?r:Object(s.sprintf)( /* translators: 1: Property name. 2: Property ID. */ Object(s._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),r,n))})))}PropertySelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNameInput}));var r=n(12),i=n.n(r),a=n(91),o=n(0),c=n(2),s=n(109),l=n(3),u=n(28),d=n(14),m=n(9),g=n(491),p=n(10),f=n(61);function WebDataStreamNameInput(){var t=Object(l.useSelect)((function(e){return e(m.p).getPropertyID()})),n=Object(l.useSelect)((function(e){return e(m.p).getWebDataStreamID()})),r=Object(l.useSelect)((function(e){return e(u.a).getValue(m.m,"webDataStreamName")})),b=Object(l.useSelect)((function(e){return!!Object(f.e)(t)&&e(m.p).doesWebDataStreamExist(t,r)})),v=Object(l.useSelect)((function(e){return e(d.c).getReferenceSiteURL()})),h=Object(l.useDispatch)(u.a).setValues,y=Object(o.useCallback)((function(e){var t=e.currentTarget;h(m.m,{webDataStreamName:t.value})}),[h]);if(Object(a.a)((function(){if(!r&&Object(s.a)(v)){var e=new URL(v).hostname;h(m.m,{webDataStreamName:e})}})),n!==m.x)return null;var O=b||!r||!Object(f.h)(r),E=!1;return b?E=Object(c.__)("A web data stream with this name already exists.","google-site-kit"):r?Object(f.h)(r)||(E=Object(c.__)("This is not a valid web data stream name.","google-site-kit")):E=Object(c.__)("A web data stream name is required.","google-site-kit"),e.createElement("div",{className:"googlesitekit-analytics-webdatastreamname"},e.createElement(p.TextField,{className:i()({"mdc-text-field--error":O}),label:Object(c.__)("Web Data Stream Name","google-site-kit"),outlined:!0,helperText:E,trailingIcon:O&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(g.a,null)),value:r,onChange:y}))}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var r=n(0),i=n(2),a=n(10),o=n(3),c=n(206),s=n(9),l=n(28);function TimezoneSelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"timezone")})),u=Object(o.useDispatch)(l.a).setValues,d=Object(r.useCallback)((function(e,t){u(s.k,{timezone:t.dataset.value})}),[u]);return e.createElement(a.Select,{className:"googlesitekit-analytics__select-timezone",label:Object(i.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:d,disabled:!t,enhanced:!0,outlined:!0},(c.d[t]||[]).map((function(t,n){var r=t.timeZoneId,i=t.displayName;return e.createElement(a.Option,{key:n,value:r},i)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var r=n(0),i=n(2),a=n(307),o=n(3),c=n(9),s=n(28);function AccountField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"accountName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(r.useCallback)((function(e){n(c.k,{accountName:e})}),[n]);return e.createElement(a.a,{label:Object(i.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:l,name:"account"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var r=n(0),i=n(2),a=n(307),o=n(3),c=n(9),s=n(28);function PropertyField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"propertyName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(r.useCallback)((function(e){n(c.k,{propertyName:e})}),[n]);return e.createElement(a.a,{label:Object(i.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:l,name:"property"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var r=n(0),i=n(2),a=n(10),o=n(3),c=n(206),s=n(9),l=n(28);function CountrySelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useDispatch)(l.a).setValues,u=Object(r.useCallback)((function(e,r){var i=r.dataset.value;i!==t&&c.b[i]&&n(s.k,{countryCode:i,timezone:c.b[i].defaultTimeZoneId})}),[n,t]);return e.createElement(a.Select,{className:"googlesitekit-analytics__select-country",label:Object(i.__)("Country","google-site-kit"),value:t,onEnhancedChange:u,enhanced:!0,outlined:!0},c.a.map((function(t,n){var r=t.countryCode,i=t.displayName;return e.createElement(a.Option,{key:n,value:r},i)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamField}));var r=n(0),i=n(2),a=n(307),o=n(3),c=n(9),s=n(28);function WebDataStreamField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"dataStreamName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(r.useCallback)((function(e){n(c.k,{dataStreamName:e})}),[n]);return e.createElement(a.a,{label:Object(i.__)("Web Data Stream","google-site-kit"),value:t,hasError:!t,setValue:l,name:"dataStream"})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(7),i=n.n(r),a=n(16),o=n.n(a),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),m=n(14),g=n(351);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,r=t.isValidTag,a=t.tagMatchers;u()("string"==typeof n&&n,"storeName is required."),u()("function"==typeof r,"isValidTag must be a function."),u()(Array.isArray(a),"tagMatchers must be an Array.");var c={existingTag:void 0},l={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return u()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:r(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},p=(e={},i()(e,"FETCH_GET_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return o()(s.a.mark((function t(){var n,r,i,o,c,l,u,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(m.c).getHomeURL(),r=e.select(m.c).getAMPMode(),t.next=4,Object(g.b)({homeURL:n,ampMode:r});case 4:i=t.sent,o=b(i),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return l=c.value,t.next=12,e.dispatch(m.c).waitForHTMLForURL(l);case 12:if(u=e.select(m.c).getHTMLForURL(l),!(d=Object(g.a)(u,a))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),i()(e,"WAIT_FOR_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var r=e.subscribe((function(){t()&&(r(),n())}))}))}}))),e),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var i=r.existingTag;return f(f({},e),{},{existingTag:i});default:return e}},h={getExistingTag:s.a.mark((function e(){var t,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,l.fetchGetExistingTag();case 6:r=e.sent,t.dispatch(n).receiveGetExistingTag(r);case 8:case"end":return e.stop()}}),e)}))},y={getExistingTag:function(e){return e.existingTag},hasExistingTag:Object(d.createRegistrySelector)((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},O={initialState:c,actions:l,controls:p,reducer:v,resolvers:h,selectors:y};return f(f({},O),{},{STORE_NAME:n})}},,,,,,,,,,,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return k}));var i=n(21),a=n.n(i),o=n(5),c=n.n(o),s=n(16),l=n.n(s),u=n(13),d=n(0),m=n(157),g=n(2),p=n(3),f=n(28),b=n(32),v=n(6),h=n(9),y=n(172),O=n(107),E=n(34),_=n(253),j=n(35),S=n(808);function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.dimensions,i=t.infoTooltip,o=t.reportOptions,s=t.title;return function(t){function WithCustomDimensionsComponent(k){var A=Object(j.a)(),T=k.Widget,w=k.widgetSlug,D=y.a[w]||{},C=D.description,N=D.infoTooltip,I=D.requiredCustomDimensions,R=D.title,x=s||R,P=i||N||C,M=Object(d.useMemo)((function(){return Array.isArray(n)&&n.length?n:Array.isArray(I)&&I.length?I:null}),[I]),L=Object(p.useSelect)((function(e){return!M||e(h.p).hasCustomDimensions(M)})),G=Object(p.useSelect)((function(e){return e(f.a).getValue(h.l,"isAutoCreatingCustomDimensions")})),B=Object(p.useSelect)((function(e){return!!G||!!M&&M.some((function(t){return e(h.p).isCreatingCustomDimension(t)}))})),V=Object(p.useSelect)((function(e){if(!M)return[];var t=[];return M.forEach((function(n){var r=e(h.p).getCreateCustomDimensionError(n);r&&t.push(r)})),t})),F=Object(p.useSelect)((function(e){return!!M&&e(v.a).hasScope(h.g)})),W=Object(p.useSelect)((function(e){return!!M&&e(h.p).isSyncingAvailableCustomDimensions()})),Z=Object(m.a)(e.location.href,{notification:"custom_dimensions"}),z=Object(p.useSelect)((function(e){var t=e(v.a).getConnectURL({additionalScopes:[h.g],redirectURL:Z});return!!t&&e(b.a).isNavigatingTo(t)})),U=Object(p.useSelect)((function(e){return o?Object(u.isFunction)(o)?o(e):o:null})),H=Object(p.useSelect)((function(e){return U?e(h.p).getErrorForSelector("getReport",[U]):null})),q=B||W||z||void 0===L,K=Object(p.useSelect)((function(e){var t=e(h.p).isGatheringData();return!1!==t?t:q||!L?null:!!M&&e(h.p).areCustomDimensionsGatheringData(M)})),Y=Object(p.useSelect)((function(e){return M?e(h.p).getDataAvailabilityReportErrors(M):{}})),J=K&&Object.values(Y).some((function(e){return Object(_.a)(e)}))||!K&&Object(_.a)(H),$=Object(p.useSelect)((function(e){if(!J)return[];if(K){var t=e(h.p).getDataAvailabilityReportOptions;return Object.keys(Y).filter((function(e){return Object(_.a)(Y[e])})).map((function(e){return t(e)}))}return Object(_.a)(H)?[U]:[]})),Q=Object(p.useDispatch)(h.p),X=Q.clearError,ee=Q.scheduleSyncAvailableCustomDimensions,te=Object(p.useDispatch)(f.a).setValues,ne=Object(p.useDispatch)(v.a).setPermissionScopeError,re=Object(d.useCallback)((function(){q||(te(h.l,{autoSubmit:!0}),F||ne({code:E.a,message:Object(g.__)("Additional permissions are required to create new Analytics custom dimensions","google-site-kit"),data:{status:403,scopes:[h.g],skipModal:!0,redirectURL:Z}}))}),[F,q,ne,te,Z]);if(Object(d.useEffect)((function(){M&&J&&!W&&!A&&l()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all($.map((function(e){return X("getReport",[e])})));case 2:ee();case 3:case"end":return e.stop()}}),e)})))()}),[X,M,J,$,W,A,ee]),!M)return r.createElement(t,k);if(q||void 0===K)return r.createElement(O.h,{infoTooltip:P,loading:!0,moduleSlug:"analytics-4",title:x,Widget:T});var ie={headerText:x,infoTooltip:P};return(null==V?void 0:V.some(E.e))?r.createElement(O.b,a()({},ie,{moduleSlug:"analytics-4",onRetry:re})):(null==V?void 0:V.length)>0?r.createElement(S.a,a()({},ie,{error:V[0],onRetry:re})):!1===L?r.createElement(S.b,a()({},ie,{onRetry:re})):K?r.createElement(O.e,{infoTooltip:P,moduleSlug:"analytics-4",title:x,Widget:T,ZeroState:function ZeroState(){return Object(g.__)("Setup successful: Analytics is gathering data for this metric","google-site-kit")}}):r.createElement(t,k)}return WithCustomDimensionsComponent.displayName="WithCustomDimensions",(t.displayName||t.name)&&(WithCustomDimensionsComponent.displayName+="(".concat(t.displayName||t.name,")")),WithCustomDimensionsComponent}}}).call(this,n(26),n(4))},,,,,,,,,,,function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google={})}).call(this,n(26))},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GhostCardGreenSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(35).then(n.bind(null,1161))}));function GhostCardGreenSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"90px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n(220),i=n(20);function a(e){return{dimensionValues:[{value:e.replace(new RegExp("-","g"),"")}],metricValues:[{value:0}]}}var o=function(t,n,a){return Object(r.a)(e.createElement("p",null,e.createElement(i.a,{className:"googlesitekit-cta-link__tooltip",external:!0,href:t,"data-row-label":a},n)))}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdsConversionIDSettingsNotice}));var r=n(0),i=n(38),a=n(2),o=n(3),c=n(149),s=n(14),l=n(6),u=n(8),d=n(9),m=n(148),g=n(362),p=n(20),f=n(18),b=n(108),v=Object(b.a)(m.c);function AdsConversionIDSettingsNotice(){var t=Object(o.useSelect)((function(e){return e(s.c).getAdminURL("googlesitekit-settings")})),n=Object(o.useSelect)((function(e){if(e(l.a).isItemDismissed(c.d))return!1;var t=e(d.p).getAdsConversionIDMigratedAtMs();if(!t)return!1;var n=e(l.a).getReferenceDate();return Object(u.l)(n,4*u.g).getTime()<=t})),b=Object(f.a)(),h=Object(r.useCallback)((function(){Object(u.J)("".concat(b,"_GA_Ads_redirect"),"view_notification")}),[b]);return n?e.createElement(v,{onInView:h,className:"googlesitekit-settings-analytics-ads-conversion-id-notice",dismiss:c.d,dismissCallback:function(){Object(u.J)("".concat(b,"_GA_Ads_redirect"),"dismiss_notification")},dismissLabel:Object(a.__)("Got it","google-site-kit"),type:m.a,Icon:g.a,notice:Object(i.a)(Object(a.__)("Ads Conversion Tracking ID has been moved to <a>Ads settings</a>","google-site-kit"),{a:e.createElement(p.a,{href:"".concat(t,"#/connected-services/ads"),onClick:function(){Object(u.J)("".concat(b,"_GA_Ads_redirect"),"confirm_notification")}})})}):null}}).call(this,n(4))},,,,,,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return AudienceSegmentationSetupSuccessSubtleNotification}));var i=n(2),a=n(209),o=n(89),c=n(25),s=n(192),l=n(265),u=n(3),d=n(60),m="setup-success-notification-audiences";function AudienceSegmentationSetupSuccessSubtleNotification(t){var n=t.id,g=t.Notification,p=Object(c.e)(),f=Object(u.useDispatch)(d.a).dismissNotification;return r.createElement(g,null,r.createElement(a.a,{title:Object(i.__)("Success! Visitor groups added to your dashboard","google-site-kit"),description:Object(i.__)("Get to know how different types of visitors interact with your site, e.g. which pages they visit and for how long","google-site-kit"),dismissCTA:r.createElement(s.a,{id:n,primary:!1,dismissLabel:Object(i.__)("Got it","google-site-kit")}),additionalCTA:r.createElement(l.a,{id:n,ctaLabel:Object(i.__)("Show me","google-site-kit"),onCTAClick:function(t){t.preventDefault(),f(m),setTimeout((function(){e.scrollTo({top:Object(o.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",p),behavior:"smooth"})}),50)}})}))}}).call(this,n(26),n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectGA4CTAWidget}));var r=n(15),i=n.n(r),a=n(2),o=n(0),c=n(3),s=n(10),l=n(360),u=n(361),d=n(19),m=n(6),g=n(46),p=n(84),f=n(9),b=n(32),v=n(14),h=n(149),y=n(176),O=n(379),E=n(161);function ConnectGA4CTAWidget(t){var n=t.Widget,r=t.WidgetNull,_=Object(c.useSelect)((function(e){var t=e(m.a).getKeyMetrics(),n=e(g.a).getWidgets(p.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY);return t&&n?n.filter((function(e){var n=e.slug,r=e.modules;return t.includes(n)&&r.includes("analytics-4")})):[]})),j=Object(c.useSelect)((function(e){return e(d.a).isModuleActive("analytics-4")})),S=Object(c.useSelect)((function(e){var t=e(f.p).getAdminReauthURL();return!!t&&e(b.a).isNavigatingTo(t)})),k=Object(c.useSelect)((function(e){return e(d.a).isFetchingSetModuleActivation("analytics-4",!0)})),A=Object(c.useSelect)((function(e){var t=e(v.c).getAdminURL("googlesitekit-settings");return"".concat(t,"#connected-services/analytics-4/edit")})),T=Object(c.useSelect)((function(e){return e(b.a).isNavigatingTo(A)})),w=Object(c.useDispatch)(m.a).dismissItem,D=Object(y.a)("analytics-4"),C=Object(O.a)("analytics-4"),N=Object(o.useCallback)((function(){if(j)return C();D()}),[D,C,j]),I=Object(o.useState)(!1),R=i()(I,2),x=R[0],P=R[1],M=Object(E.a)(P,3e3);return Object(o.useEffect)((function(){k||S||T?P(!0):M(!1)}),[k,S,M,T]),!1!==Object(c.useSelect)((function(e){return e(m.a).isItemDismissed(h.g)}))||_.length<4?e.createElement(r,null):e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(u.a,{onActionClick:function(){return w(h.g)},showDismiss:!0})}},e.createElement(l.a,{className:"googlesitekit-km-connect-ga4-cta",title:Object(a.__)("Analytics is disconnected","google-site-kit"),description:Object(a.__)("Metrics cannot be displayed without Analytics","google-site-kit"),actions:e.createElement(s.SpinnerButton,{onClick:N,isSaving:x,disabled:x},Object(a.__)("Connect Analytics","google-site-kit"))}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(0),m=n(2),g=n(3),p=n(28),f=n(19),b=n(6),v=n(9),h=n(149),y=n(160),O=n(224),E=n(225),_=n(663),j=n(664),S=n(665),k=n(8),A=n(54),T=n(61),w=n(18);t.a=Object(A.a)({moduleName:"analytics-4"})((function EnhancedMeasurementActivationBanner(){var t=Object(w.a)(),n=Object(d.useState)(h.b),r=u()(n,2),a=r[0],c=r[1],l=Object(d.useState)(void 0),A=u()(l,2),D=A[0],C=A[1],N=Object(d.useState)(!1),I=u()(N,2),R=I[0],x=I[1],P=Object(d.useState)(null),M=u()(P,2),L=M[0],G=M[1],B=Object(g.useSelect)((function(e){return e(v.p).getPropertyID()})),V=Object(g.useSelect)((function(e){return e(v.p).getWebDataStreamID()})),F=Object(g.useSelect)((function(e){return e(b.a).isItemDismissed(h.e)})),W=Object(g.useSelect)((function(e){return e(f.a).hasModuleOwnershipOrAccess("analytics-4")})),Z=Object(g.useSelect)((function(e){if(Object(T.e)(B)&&Object(T.g)(V)&&W&&!F)return e(v.p).isEnhancedMeasurementStreamEnabled(B,V)})),z=Object(g.useSelect)((function(e){return e(b.a).hasScope(v.g)})),U=Object(g.useSelect)((function(e){return e(p.a).getValue(v.m,"autoSubmit")})),H=Object(g.useDispatch)(p.a).setValues,q=Object(g.useDispatch)(b.a).dismissItem,K=Object(g.useDispatch)(v.p).submitChanges,Y=Object(y.a)(h.f).isTooltipVisible,J=Object(O.a)(h.f),$=Object(d.useCallback)(s()(i.a.mark((function e(){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(!0),H(v.i,o()({},v.h,!0)),e.next=4,K();case 4:if(n=e.sent,r=n.error,x(!1),!r){e.next=11;break}return G(r),c(h.b),e.abrupt("return");case 11:Object(k.J)("".concat(t,"_enhanced-measurement-notification"),"confirm_notification"),c(h.c);case 13:case"end":return e.stop()}}),e)}))),[H,K,t]);return Object(d.useEffect)((function(){!1===Z&&void 0===D&&C(!0)}),[D,Z]),Object(d.useEffect)((function(){function e(){return(e=s()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return H(v.m,{autoSubmit:!1}),c(h.a),e.next=4,$();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}U&&z&&function(){e.apply(this,arguments)}()}),[z,H,$,U]),Y?e.createElement(E.a,{title:Object(m.__)("Enable enhanced measurement later here","google-site-kit"),content:Object(m.__)("You can always turn on enhanced measurement later in Site Kit Settings","google-site-kit"),dismissLabel:Object(m.__)("Got it","google-site-kit"),tooltipStateKey:h.f}):!D||F?null:a===h.b?e.createElement(j.a,{errorNotice:L,isSaving:R,onDismiss:function(){J(),q(h.e,{expiresInSeconds:k.f})},onSubmit:$}):a===h.a?e.createElement(_.a,null):a===h.c?e.createElement(S.a,null):null}))}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConversionTrackingToggle}));var r=n(15),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(3),l=n(14),u=n(67),d=n(178),m=n(645),g=n(18),p=n(8),f=n(1),b=n.n(f);function ConversionTrackingToggle(t){var n=t.children,r=t.loading,f=Object(g.a)(),b=Object(a.useState)(null),v=i()(b,1)[0],h=Object(a.useState)(!1),y=i()(h,2),O=y[0],E=y[1],_=Object(s.useSelect)((function(e){return e(l.c).isConversionTrackingEnabled()})),j=Object(s.useSelect)((function(e){return e(l.c).isFetchingSaveConversionTrackingSettings()})),S=Object(s.useDispatch)(l.c).setConversionTrackingEnabled;return e.createElement(a.Fragment,null,e.createElement(d.a,{loading:r,width:"180px",height:"21.3px"},e.createElement(c.Switch,{label:Object(o.__)("Enable enhanced conversion tracking","google-site-kit"),checked:_,disabled:j||r,onClick:function(){_?(Object(p.J)("".concat(f),"ect_disable"),E(!0)):(Object(p.J)("".concat(f),"ect_enable"),S(!0))},hideLabel:!1})),!!v&&e.createElement(u.a,{message:v.message}),e.createElement(d.a,{className:"googlesitekit-settings-conversion-tracking-switch-description--loading",loading:r,width:"750px",height:"42px",smallWidth:"386px",smallHeight:"84px",tabletWidth:"540px",tabletHeight:"84px"},e.createElement("p",{className:"googlesitekit-settings-module__fields-group-helper-text"},n)),O&&e.createElement(m.a,{onConfirm:function(){Object(p.J)("".concat(f),"ect_confirm_disable"),S(!1),E(!1)},onCancel:function(){Object(p.J)("".concat(f),"ect_cancel_disable"),E(!1)}}))}ConversionTrackingToggle.propTypes={children:b.a.node.isRequired,loading:b.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConfirmDisableConversionTrackingDialog}));var r=n(1),i=n.n(r),a=n(91),o=n(2),c=n(114),s=n(8),l=n(18);function ConfirmDisableConversionTrackingDialog(t){var n=t.onConfirm,r=t.onCancel,i=Object(l.a)(),u=Object(o.__)("By disabling enhanced conversion tracking, you will no longer have access to:","google-site-kit"),d=[Object(o.__)("Performance of your Ad campaigns","google-site-kit"),Object(o.__)("Tracking additional conversion-related events via Analytics","google-site-kit")];return Object(a.a)((function(){Object(s.J)("".concat(i),"ect_view_modal")})),e.createElement(c.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,title:Object(o.__)("Disable enhanced conversion tracking","google-site-kit"),subtitle:u,handleConfirm:n,handleDialog:r,onClose:r,provides:d,confirmButton:Object(o.__)("Disable","google-site-kit"),danger:!0})}ConfirmDisableConversionTrackingDialog.propTypes={onConfirm:i.a.func.isRequired,onCancel:i.a.func.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(11),i=n.n(r),a=n(8),o=function(e){var t=e.startDate,n=e.endDate,r=e.compareStartDate,o=e.compareEndDate;i()(Object(a.x)(t),"A valid startDate is required."),i()(Object(a.x)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(r||o)&&(i()(Object(a.x)(r)&&Object(a.x)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=r.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GhostCardRedSVG}));var r=n(0),i=n(2),a=n(40),o=n(139),c=Object(r.lazy)((function(){return n.e(36).then(n.bind(null,1162))}));function GhostCardRedSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"90px"})},e.createElement(o.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EntityOwnershipChangeNotice}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(19),u=n(6),d=n(159),m=n(68),g=n(8);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EntityOwnershipChangeNotice(t){var n=t.slug,r=Array.isArray(n)?n:[n],a=Object(s.useSelect)((function(e){var t=e(l.a),n=t.getModuleStoreName,a=t.getSharedRoles;return r.filter((function(e){var t;return!!(null===(t=a(e))||void 0===t?void 0:t.length)})).reduce((function(e,t){var r=n(t);return r?f(f({},e),{},i()({},t,r)):e}),{})})),o=Object(s.useSelect)((function(e){return Object.keys(a).reduce((function(t,n){var r,i,o=a[n],c=null===(r=e(o))||void 0===r?void 0:r.getOwnerID(),s=e(u.a).getID(),l=null===(i=e(o))||void 0===i?void 0:i.haveOwnedSettingsChanged();return l&&c!==s&&(t[n]=l),t}),{})})),p=Object.values(o).some((function(e){return e})),b=Object(s.useSelect)((function(e){return Object.keys(o).reduce((function(t,n){var r=e(l.a).getModule(n);return r&&t.push(r.name),t}),[])}));return p?e.createElement(d.a,{type:m.c,notice:Object(c.sprintf)( /* translators: %s: module name. */ Object(c.__)("By clicking confirm changes, you’re granting other users view-only access to data from %s via your Google account. You can always manage this later in the dashboard sharing settings.","google-site-kit"),Object(g.z)(b))}):null}EntityOwnershipChangeNotice.propTypes={slug:o.a.oneOfType([o.a.string,o.a.arrayOf(o.a.string)]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InProgressBanner}));var r=n(2),i=n(3),a=n(14),o=n(10),c=n(65),s=n(394);function InProgressBanner(){var t=Object(i.useSelect)((function(e){return e(a.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})}));return e.createElement(c.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("Setup in progress","google-site-kit"),description:Object(r.__)("Enhanced measurement is being enabled.","google-site-kit"),WinImageSVG:function WinImageSVG(){return e.createElement(s.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:t},e.createElement(o.CircularProgress,{size:20}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupBanner}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(1),l=n.n(s),u=n(0),d=n(2),m=n(157),g=n(3),p=n(10),f=n(28),b=n(32),v=n(14),h=n(6),y=n(9),O=n(34),E=n(8),_=n(65),j=n(394),S=n(116),k=n(205),A=n(18);function SetupBanner(t){var n=t.children,i=t.errorNotice,o=t.isDismissed,s=t.isSaving,l=t.onDismiss,T=t.onSubmit,w=Object(A.a)(),D=Object(m.a)(e.location.href,{notification:"enhanced_measurement"}),C=Object(g.useSelect)((function(e){return e(h.a).hasScope(y.g)})),N=Object(g.useSelect)((function(e){return e(v.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),I=Object(g.useSelect)((function(e){var t=e(h.a).getConnectURL({additionalScopes:[y.g],redirectURL:D});return!!t&&e(b.a).isNavigatingTo(t)})),R=Object(g.useDispatch)(f.a).setValues,x=Object(g.useDispatch)(h.a).setPermissionScopeError,P=Object(u.useCallback)(c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],!1===C&&t.push(y.g),!(t.length>0)){e.next=6;break}return R(y.m,{autoSubmit:!0}),x({code:O.a,message:Object(d.__)("Additional permissions are required to enable enhanced measurement for the selected web data stream","google-site-kit"),data:{status:403,scopes:t,skipModal:!0,redirectURL:D}}),e.abrupt("return");case 6:return e.next=8,T();case 8:case"end":return e.stop()}}),e)}))),[C,T,D,x,R]),M=Object(u.useCallback)((function(){Object(E.J)("".concat(w,"_enhanced-measurement-notification"),"dismiss_notification"),null==l||l()}),[l,w]),L=Object(u.useCallback)((function(){Object(E.J)("".concat(w,"_enhanced-measurement-notification"),"click_learn_more_link")}),[w]);Object(u.useEffect)((function(){Object(E.J)("".concat(w,"_enhanced-measurement-notification"),"view_notification")}),[w]);var G=C?Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required.","google-site-kit"):Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required — you’ll be redirected to give permission for Site Kit to enable it on your behalf.","google-site-kit");return r.createElement(_.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-setup-banner",title:Object(d.__)("Understand how visitors interact with your content","google-site-kit"),description:G,learnMoreLabel:Object(d.__)("Learn more","google-site-kit"),learnMoreURL:N,onLearnMoreClick:L,ctaComponent:r.createElement(p.SpinnerButton,{onClick:P,isSaving:s||I},Object(d.__)("Enable now","google-site-kit")),footer:r.createElement("p",{className:"googlesitekit-enhanced-measurement-setup-banner__footer-notice"},Object(d.__)("You can always add/edit this in the Site Kit Settings","google-site-kit")),dismiss:Object(d.__)("Maybe later","google-site-kit"),WinImageSVG:function WinImageSVG(){return r.createElement(j.a,null)},format:"small",dismissExpires:E.f,onDismiss:M},i&&r.createElement(S.a,{error:i}),!o&&r.createElement(k.a,{triggerID:"view_enhanced_measurement_cta",ttl:E.a}),n)}SetupBanner.propTypes={onSubmitSuccess:l.a.func,onDismiss:l.a.func,children:l.a.node}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SuccessBanner}));var r=n(2),i=n(0),a=n(3),o=n(14),c=n(6),s=n(149),l=n(65),u=n(394),d=n(18),m=n(8);function SuccessBanner(){var t=Object(d.a)(),n=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),g=Object(a.useDispatch)(c.a).dismissItem,p=Object(i.useCallback)((function(){g(s.e),Object(m.J)("".concat(t,"_enhanced-measurement-success"),"confirm_notification")}),[t,g]);return Object(i.useEffect)((function(){Object(m.J)("".concat(t,"_enhanced-measurement-success"),"view_notification")}),[t]),e.createElement(l.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("You successfully enabled enhanced measurement for your site","google-site-kit"),description:Object(r.__)("Your configured Analytics web data stream will now automatically measure interactions on your site in addition to standard page views measurement.","google-site-kit"),dismiss:Object(r.__)("OK, Got it","google-site-kit"),onDismiss:p,WinImageSVG:function WinImageSVG(){return e.createElement(u.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DetailsPermaLinks}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(3),l=n(14),u=n(20),d=n(8);function DetailsPermaLinks(t){var n=t.title,r=t.path,a=t.serviceURL,o=Object(s.useSelect)((function(e){return e(l.c).getReferenceSiteURL()})),m=Object(d.r)(o,r),g=Object(s.useSelect)((function(e){return e(l.c).getAdminURL("googlesitekit-dashboard",{permaLink:m})}));return e.createElement(c.Fragment,null,e.createElement(u.a,{href:a||g,external:!!a,hideExternalIndicator:!0},n),e.createElement(u.a,{className:i()("googlesitekit-display-block","googlesitekit-overflow-wrap-break-word"),href:m,target:"_blank",small:!0},r))}DetailsPermaLinks.propTypes={title:o.a.string,path:o.a.string,serviceURL:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(2),o=n(38),c=n(22),s=n(162);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={border:"0"},m={spotlight:u(u({},d),{},{margin:"-42px 0 0 6px",padding:"12px 0 20px 0"})},g={slug:"ga4Reporting",contexts:[c.n],version:"1.103.0",gaEventCategory:function(e){return"".concat(e,"_ga4-metrics")},steps:[{target:".googlesitekit-data-block--conversions .googlesitekit-data-block__title, .googlesitekit-analytics-cta--setup-conversions",styles:{spotlight:d},title:Object(a.__)("See the new metrics from Google Analytics","google-site-kit"),content:Object(o.a)(Object(a.__)('"Conversions" have replaced "Goals," since "Goals" no longer exist in GA4. <a>Learn how to set up Conversions</a>',"google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/12966437",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--sessions:not(.googlesitekit-table__head-item--badge)",styles:m,title:Object(a.__)('"Sessions" has replaced "Unique Pageviews"',"google-site-kit"),content:Object(o.a)(Object(a.__)("A session is a period of time during which a user interacts with your website or app. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/9191807",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--engagement-rate:not(.googlesitekit-table__head-item--badge)",title:Object(a.__)("New metric: engagement rate","google-site-kit"),styles:m,content:Object(o.a)(Object(a.__)("Engagement rate shows the percentage of engaged sessions, the opposite of bounce rate. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/11109416",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"}]};t.a=g}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(42),u=n.n(l),d=n(3),m=n(47);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.storeName,r=t.dataAvailable,a=void 0!==r&&r,c=t.selectDataAvailability;s()("string"==typeof e&&e,"module slug is required."),s()("string"==typeof n&&n,"store name is required."),s()("boolean"==typeof a,"dataAvailable must be a boolean."),s()("function"==typeof c,"selectDataAvailability must be a function.");var l=Object(m.a)({baseName:"saveDataAvailableState",controlCallback:function(){return u.a.set("modules",e,"data-available")}}),g={dataAvailableOnLoad:a,gatheringData:void 0},f={receiveIsGatheringData:function(e){return s()("boolean"==typeof e,"gatheringData must be a boolean."),{payload:{gatheringData:e},type:"RECEIVE_GATHERING_DATA"}},receiveIsDataAvailableOnLoad:function(e){return s()("boolean"==typeof e,"dataAvailableOnLoad must be a boolean."),{payload:{dataAvailableOnLoad:e},type:"RECEIVE_DATA_AVAILABLE_ON_LOAD"}}},b=o()({},"WAIT_FOR_DATA_AVAILABILITY_STATE",Object(d.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).selectDataAvailability()};return!!t()||new Promise((function(n){var r=e.subscribe((function(){t()&&(r(),n(!0))}))}))}}))),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"RECEIVE_GATHERING_DATA":var i=r.gatheringData;return p(p({},e),{},{gatheringData:i});case"RECEIVE_DATA_AVAILABLE_ON_LOAD":var a=r.dataAvailableOnLoad;return p(p({},e),{},{dataAvailableOnLoad:a});default:return e}},h={isGatheringData:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(void 0===(t=e.sent).select(n).isGatheringData()){e.next=5;break}return e.abrupt("return");case 5:if(!t.select(n).isDataAvailableOnLoad()){e.next=10;break}return e.next=9,f.receiveIsGatheringData(!1);case 9:return e.abrupt("return");case 10:return e.next=12,{payload:{},type:"WAIT_FOR_DATA_AVAILABILITY_STATE"};case 12:return r=t.select(n).selectDataAvailability(),e.next=15,f.receiveIsGatheringData(!r);case 15:if(!r){e.next=18;break}return e.next=18,l.actions.fetchSaveDataAvailableState();case 18:case"end":return e.stop()}}),e)}))},y={selectDataAvailability:c,isDataAvailableOnLoad:function(e){return e.dataAvailableOnLoad},isGatheringData:function(e){return e.gatheringData}};return Object(d.combineStores)(l,{actions:f,controls:b,initialState:g,reducer:v,resolvers:h,selectors:y})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var r=n(5),i=n.n(r),a=n(11),o=n.n(a),c=n(13),s=n(42),l=n.n(s),u=n(3),d=n(47),m=n(164),g=n(6),p=n(8),f=n(9),b="audience",v=[b,"customDimension","property"],h=Object(d.a)({baseName:"saveResourceDataAvailabilityDate",controlCallback:function(e){var t=e.resourceSlug,n=e.resourceType,r=e.date;return l.a.set("modules","analytics-4","save-resource-data-availability-date",{resourceSlug:t,resourceType:n,date:r})},argsToParams:function(e,t,n){return{resourceSlug:e,resourceType:t,date:n}},validateParams:function(e){var t=e.resourceSlug,n=e.resourceType,r=e.date;o()("string"==typeof t&&t.length>0,"resourceSlug must be a non-empty string."),o()(v.includes(n),"resourceType must be a valid resource type."),o()(Number.isInteger(r),"date must be an integer.")}}),y={resourceAvailabilityDates:void 0},O={receiveResourceDataAvailabilityDates:function(e){return o()(Object(c.isPlainObject)(e),"resourceAvailabilityDates must be a plain object."),{payload:{resourceAvailabilityDates:e},type:"RECEIVE_RESOURCE_DATA_AVAILABILITY_DATES"}},setResourceDataAvailabilityDate:function(e,t,n){return o()("string"==typeof e&&e.length>0,"resourceSlug must be a non-empty string."),o()(v.includes(t),"resourceType must be a valid resource type."),o()(Number.isInteger(n),"date must be an integer."),{payload:{resourceSlug:e,resourceType:t,date:n},type:"SET_RESOURCE_DATA_AVAILABILITY_DATE"}}},E=Object(m.a)((function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_RESOURCE_DATA_AVAILABILITY_DATES":var i=r.resourceAvailabilityDates;Object.keys(i).forEach((function(e){Array.isArray(i[e])&&(i[e]={})})),e.resourceAvailabilityDates=i;break;case"SET_RESOURCE_DATA_AVAILABILITY_DATE":var a=r.resourceSlug,o=r.resourceType,c=r.date;void 0===e.resourceAvailabilityDates&&(e.resourceAvailabilityDates={}),void 0===e.resourceAvailabilityDates[o]&&(e.resourceAvailabilityDates[o]={}),e.resourceAvailabilityDates[o][a]=c}})),_={getResourceDataAvailabilityDates:i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.commonActions.getRegistry();case 2:if(a=t.sent,void 0===(0,a.select)(f.p).getResourceDataAvailabilityDates()){t.next=6;break}return t.abrupt("return");case 6:if(!(o=null===(n=e._googlesitekitModulesData)||void 0===n||null===(r=n["analytics-4"])||void 0===r?void 0:r.resourceAvailabilityDates)){t.next=10;break}return t.next=10,O.receiveResourceDataAvailabilityDates(o);case 10:case"end":return t.stop()}}),t)})),getResourceDataAvailabilityDate:i.a.mark((function e(t,n){var r,a,o,c,s,l,d,m,p,v,y,E;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:if(r=e.sent,a=r.select,o=r.resolveSelect,void 0===a(f.p).getResourceDataAvailabilityDate(t,n)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,u.commonActions.await(o(f.p).getResourceDataAvailabilityDates());case 9:if(void 0!==e.sent[n][t]){e.next=54;break}return e.next=13,u.commonActions.await(o(f.p).getSettings());case 13:e.t0=n,e.next=e.t0===b?16:"customDimension"===e.t0?21:"property"===e.t0?24:27;break;case 16:return e.next=18,u.commonActions.await(o(f.p).getAvailableAudiences());case 18:if(a(f.p).hasAudiences(t)){e.next=20;break}return e.abrupt("return");case 20:return e.abrupt("break",28);case 21:if(a(f.p).hasCustomDimensions(t)){e.next=23;break}return e.abrupt("return");case 23:return e.abrupt("break",28);case 24:if(a(f.p).getPropertyID()===t){e.next=26;break}return e.abrupt("return");case 26:return e.abrupt("break",28);case 27:return e.abrupt("return");case 28:return e.next=30,u.commonActions.await(o(g.a).getAuthentication());case 30:if(a(g.a).isAuthenticated()){e.next=34;break}return e.next=33,O.setResourceDataAvailabilityDate(t,n,0);case 33:return e.abrupt("return");case 34:return e.next=36,u.commonActions.await(o(f.p).getPartialDataReportOptions(t,n));case 36:if(p=e.sent){e.next=39;break}return e.abrupt("return");case 39:return e.next=41,u.commonActions.await(o(f.p).getReport(p));case 41:if(v=e.sent,y=!!a(f.p).getErrorForSelector("getReport",[p]),!(!y&&(null==v||null===(c=v.rows)||void 0===c||null===(s=c[0])||void 0===s||null===(l=s.dimensionValues)||void 0===l||null===(d=l[0])||void 0===d||null===(m=d.value)||void 0===m?void 0:m.length))){e.next=52;break}return E=Number(v.rows[0].dimensionValues[0].value),e.next=48,O.setResourceDataAvailabilityDate(t,n,E);case 48:return e.next=50,h.actions.fetchSaveResourceDataAvailabilityDate(t,n,E);case 50:e.next=54;break;case 52:return e.next=54,O.setResourceDataAvailabilityDate(t,n,0);case 54:case"end":return e.stop()}}),e)})),getPartialDataReportOptions:i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:return t=e.sent,n=t.resolveSelect,e.next=6,u.commonActions.await(n(f.p).getPropertyCreateTime());case 6:case"end":return e.stop()}}),e)}))},j={getResourceDataAvailabilityDates:function(e){return e.resourceAvailabilityDates},getResourceDataAvailabilityDate:function(e,t,n){var r,i;return null===(r=e.resourceAvailabilityDates)||void 0===r||null===(i=r[n])||void 0===i?void 0:i[t]},isResourcePartialData:Object(u.createRegistrySelector)((function(e){return function(t,n,r){o()("string"==typeof n&&n.length>0,"resourceSlug must be a non-empty string."),o()(v.includes(r),"resourceType must be a valid resource type.");var i=e(f.p).isGatheringData();if(void 0!==i){if(i)return!0;var a=e(f.p).getResourceDataAvailabilityDate(n,r);if(void 0!==a){if(0===a)return!0;var c=e(g.a).getDateRangeDates({offsetDays:f.f}).startDate;return a>Number(c.replace(/-/g,""))}}}})),isAudiencePartialData:Object(u.createRegistrySelector)((function(e){return function(t,n){return e(f.p).isResourcePartialData(n,b)}})),isCustomDimensionPartialData:Object(u.createRegistrySelector)((function(e){return function(t,n){return e(f.p).isResourcePartialData(n,"customDimension")}})),isPropertyPartialData:Object(u.createRegistrySelector)((function(e){return function(t,n){return e(f.p).isResourcePartialData(n,"property")}})),getPartialDataReportOptions:Object(u.createRegistrySelector)((function(e){return function(t,n,r){if(e(f.p).getPropertyID()){var i=e(f.p).getPropertyCreateTime();if(i){var a=Object(p.q)(new Date(i)),o=e(g.a).getReferenceDate();switch(r){case b:return{startDate:a,endDate:o,dimensions:["date","audienceResourceName"],dimensionFilters:{audienceResourceName:n},metrics:["totalUsers"],orderby:[{dimension:{dimensionName:"date"}}],limit:1};case"customDimension":return{startDate:a,endDate:o,dimensions:["date","customEvent:".concat(n)],metrics:["eventCount"],limit:1};case"property":return{startDate:a,endDate:o,dimensions:["date"],metrics:["totalUsers"],limit:1}}}}}}))},S=Object(u.combineStores)(h,{actions:O,controls:{},initialState:y,reducer:E,resolvers:_,selectors:j});S.initialState,S.actions,S.controls,S.reducer,S.resolvers,S.selectors;t.b=S}).call(this,n(26))},,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var r=n(431);n.d(t,"combineStores",(function(){return r.b})),n.d(t,"commonActions",(function(){return r.c})),n.d(t,"commonControls",(function(){return r.d})),n.d(t,"commonStore",(function(){return r.e})),n.d(t,"controls",(function(){return r.f})),n.d(t,"createReducer",(function(){return r.g})),n.d(t,"useInViewSelect",(function(){return r.l})),n.d(t,"createRegistryControl",(function(){return r.h})),n.d(t,"createRegistrySelector",(function(){return r.i})),n.d(t,"useSelect",(function(){return r.n})),n.d(t,"useDispatch",(function(){return r.k})),n.d(t,"useRegistry",(function(){return r.m})),n.d(t,"withSelect",(function(){return r.p})),n.d(t,"withDispatch",(function(){return r.o})),n.d(t,"RegistryProvider",(function(){return r.a})),void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.data=r.j,t.default=r.j}.call(this,n(26))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnalyticsSettingsNotice}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(3),s=n(159),l=n(148),u=n(182),d=n(19);function AnalyticsSettingsNotice(t){var n,r=t.hasModuleAccess,i=Object(c.useSelect)((function(e){return e(d.a).getModule("analytics-4")})),m=(null==i||null===(n=i.owner)||void 0===n?void 0:n.login)?"<strong>".concat(i.owner.login,"</strong>"):Object(a.__)("Another admin","google-site-kit");return r?null:e.createElement(s.a,{type:l.a,Icon:u.a,notice:Object(o.a)(Object(a.sprintf)( /* translators: %s: module owner's name */ Object(a.__)("%s configured Analytics and you don’t have access to its configured property. Contact them to share access or change the configured property.","google-site-kit"),m),{strong:e.createElement("strong",null)})})}AnalyticsSettingsNotice.propTypes={hasModuleAccess:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptionalSettingsView}));var r=n(2),i=n(0),a=n(3),o=n(14),c=n(9),s=n(599),l=n(187),u=n(507);function OptionalSettingsView(){var t=Object(a.useSelect)((function(e){return e(c.p).getUseSnippet()})),n=Object(a.useSelect)((function(e){return e(c.p).getAdsConversionIDMigratedAtMs()})),d=Object(a.useSelect)((function(e){return e(c.p).getTrackingDisabled()||[]})),m=Object(a.useSelect)((function(e){return e(c.p).getAdsConversionID()})),g=Object(a.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Excluded from Analytics","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!!d.length&&d.map((function(e){return u.b[e]})).join(Object(r._x)(", ","list separator","google-site-kit")),!d.length&&Object(r.__)("Analytics is currently enabled for all visitors","google-site-kit")))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Enhanced Conversion Tracking","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},g&&Object(r.__)("Enabled","google-site-kit"),!1===g&&Object(r.__)("Disabled","google-site-kit"),void 0===g&&l.a)),t&&!n&&!!m&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Ads Conversion ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!!m&&e.createElement(l.b,{value:m}),!m&&Object(r.__)("None","google-site-kit")))),e.createElement(s.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyOrWebDataStreamNotAvailableError}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(9),s=n(61),l=n(67);function PropertyOrWebDataStreamNotAvailableError(t){var n=t.hasModuleAccess,r=t.isDisabled,i=Object(o.useSelect)((function(e){return e(c.p).getAccountID()})),u=Object(o.useSelect)((function(e){return e(c.p).getPropertyID()})),d=Object(o.useSelect)((function(e){return e(c.p).getMeasurementID()})),m=Object(o.useSelect)((function(e){return!1===n||r?[]:e(c.p).getPropertySummaries(i)})),g=Object(o.useSelect)((function(e){return e(c.p).hasFinishedSelectingAccount()})),p=Object(o.useSelect)((function(e){return Object(s.e)(u)&&!1!==n?e(c.p).getWebDataStreams(u):[]})),f=Object(o.useSelect)((function(e){return e(c.p).getErrorForSelector("getWebDataStreams",[u])})),b=Object(o.useSelect)((function(e){return e(c.p).getErrorForSelector("getAccountSummaries",[])}));if(!n||r||void 0===m||void 0===p||!Object(s.e)(u)||!1===g)return null;var v=m.some((function(e){return e._id===u}));return v&&d&&!f&&!p.some((function(e){return e.webStreamData.measurementId===d}))?e.createElement(l.a,{message:Object(a.sprintf)( /* translators: 1: Google Analytics Measurement ID. */ Object(a.__)("The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics.","google-site-kit"),d)}):v||b?null:e.createElement(l.a,{message:Object(a.sprintf)( /* translators: 1: Google Analytics Property ID. */ Object(a.__)("The previously selected property with ID %1$s is no longer available. Please select a new property to continue collecting data with Google Analytics.","google-site-kit"),u)})}PropertyOrWebDataStreamNotAvailableError.propTypes={hasModuleAccess:i.a.bool,isDisabled:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsControls}));var r=n(1),i=n.n(r),a=n(3),o=n(9),c=n(138),s=n(726),l=n(727),u=n(144),d=n(722),m=n(724);function SettingsControls(t){var n=t.hasModuleAccess,r=Object(a.useSelect)((function(e){return e(o.p).getPropertyID()})),i=Object(a.useSelect)((function(e){return e(o.p).getWebDataStreamID()}));return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(u.a,{moduleSlug:"analytics-4",storeName:o.p}),e.createElement(m.a,{hasModuleAccess:n,isDisabled:!r}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(c.c,{hasModuleAccess:n}),e.createElement(c.d,{hasModuleAccess:n,isDisabled:!r}),e.createElement(c.g,{hasModuleAccess:n,isDisabled:!r})),i===o.x&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(c.f,null)),e.createElement(d.a,{hasModuleAccess:n}),r&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(l.a,null)),e.createElement(s.a,{hasModuleAccess:n}))}SettingsControls.propTypes={hasModuleAccess:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEnhancedMeasurementSwitch}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(3),l=n(28),u=n(9),d=n(330),m=n(61);function SettingsEnhancedMeasurementSwitch(t){var n=t.hasModuleAccess,r=Object(s.useSelect)((function(e){return e(l.a).getValue(u.i,u.h)})),a=Object(s.useSelect)((function(e){return e(u.p).getPropertyID()})),o=Object(s.useSelect)((function(e){return e(u.p).getWebDataStreamID()})),g=Object(s.useSelect)((function(e){return e(u.p).isLoadingPropertySummaries()})),p=Object(s.useSelect)((function(e){return e(u.p).isLoadingWebDataStreams({hasModuleAccess:n})})),f=Object(s.useSelect)((function(e){if(!g&&!p)return Object(m.e)(a)&&Object(m.g)(o)?e(u.p).isEnhancedMeasurementStreamEnabled(a,o):null})),b=Object(s.useSelect)((function(e){if(!g&&!p&&void 0!==f)return Object(m.e)(a)&&Object(m.g)(o)?e(u.p).isEnhancedMeasurementStreamAlreadyEnabled(a,o):null})),v=Object(s.useSelect)((function(e){return!(Object(m.f)(a)&&Object(m.i)(o)&&!g&&!p)||a!==u.q&&o!==u.x&&(!e(u.p).hasFinishedResolution("getEnhancedMeasurementSettings",[a,o])||!e(u.p).hasFinishedResolution("isEnhancedMeasurementStreamAlreadyEnabled",[a,o]))})),h=Object(s.useDispatch)(l.a).setValues,y=Object(s.useDispatch)(u.p).setEnhancedMeasurementStreamEnabled,O=Object(c.useRef)((a===u.q||o===u.x)&&void 0!==r);return Object(c.useEffect)((function(){O.current?O.current=!1:void 0!==f&&Object(m.f)(a)&&Object(m.i)(o)&&(a===u.q||o===u.x?h(u.i,i()({},u.h,!0)):h(u.i,i()({},u.h,f)))}),[f,a,y,h,o]),e.createElement(d.a,{disabled:!n,loading:v,isEnhancedMeasurementAlreadyEnabled:b,onClick:function(){Object(m.e)(a)&&Object(m.g)(o)&&y(a,o,!r)}})}SettingsEnhancedMeasurementSwitch.propTypes={hasModuleAccess:o.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsUseSnippetSwitch}));var r=n(0),i=n(2),a=n(3),o=n(9),c=n(402);function SettingsUseSnippetSwitch(){var t,n=Object(a.useSelect)((function(e){return e(o.p).getUseSnippet()})),s=Object(a.useSelect)((function(e){return e(o.p).getExistingTag()})),l=Object(a.useSelect)((function(e){return e(o.p).getMeasurementID()}));return t=s?s===l?e.createElement(r.Fragment,null,e.createElement("p",null,Object(i.sprintf)( /* translators: %s: existing tag ID */ Object(i.__)("A tag %s for the selected property already exists on the site","google-site-kit"),s)),e.createElement("p",null,Object(i.__)("Consider removing the existing tag to avoid loading both tags on your site","google-site-kit"))):e.createElement(r.Fragment,null,e.createElement("p",null,Object(i.sprintf)( /* translators: %s: existing tag ID */ Object(i.__)("An existing tag %s was found on the page","google-site-kit"),s)),e.createElement("p",null,Object(i.__)("If you prefer to collect data using that existing tag, please select the corresponding account and property above","google-site-kit"))):n?e.createElement("p",null,Object(i.__)("Site Kit will add the code automatically","google-site-kit")):e.createElement("p",null,Object(i.__)("Site Kit will not add the code to your site","google-site-kit")),e.createElement(c.a,{description:t})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),l=n(138),u=n(9),d=n(725),m=n(599),g=n(662),p=n(61),f=n(644),b=n(14),v=n(20);function SettingsForm(t){var n=t.hasModuleAccess,r=Object(s.useSelect)((function(e){return e(u.p).getAccountID()})),i=Object(s.useSelect)((function(e){return e(b.c).getDocumentationLinkURL("enhanced-conversion-tracking")}));return e.createElement(a.Fragment,null,e.createElement(d.a,{hasModuleAccess:n}),Object(p.a)(r)&&e.createElement(l.e,null),n&&e.createElement(g.a,{slug:["analytics-4"]}),e.createElement(f.a,null,Object(o.a)(Object(c.__)("Conversion tracking is used for tracking additional conversion-related events via Analytics. <a>Learn more</a>","google-site-kit"),{a:e.createElement(v.a,{href:i,external:!0,"aria-label":Object(c.__)("Learn more about conversion tracking","google-site-kit")})})),Object(p.a)(r)&&e.createElement(m.a,null))}SettingsForm.propTypes={hasModuleAccess:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEnhancedMeasurementView}));var r=n(2),i=n(3),a=n(9),o=n(187),c=n(10),s=n(61);function SettingsEnhancedMeasurementView(){var t=Object(i.useSelect)((function(e){return e(a.p).getPropertyID()})),n=Object(i.useSelect)((function(e){return e(a.p).getWebDataStreamID()})),l=Object(i.useSelect)((function(e){return Object(s.e)(t)&&Object(s.g)(n)?e(a.p).isEnhancedMeasurementStreamEnabled(t,n):null}));return e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Enhanced Measurement","google-site-kit")),void 0===l&&e.createElement(c.ProgressBar,{small:!0,className:"googlesitekit-analytics-enable-enhanced-measurement__progress--settings-view"}),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement("span",null,!0===l&&e.createElement(o.b,{value:Object(r.__)("Enabled","google-site-kit")}),!1===l&&e.createElement(o.b,{value:Object(r.__)("Disabled","google-site-kit")}),null===l&&e.createElement(o.b,{value:null})))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedMeasurementSwitch}));var r=n(7),i=n.n(r),a=n(91),o=n(3),c=n(28),s=n(9),l=n(330),u=n(61);function SetupEnhancedMeasurementSwitch(){var t=Object(o.useSelect)((function(e){return e(s.p).getAccountID()})),n=Object(o.useSelect)((function(e){return e(s.p).getPropertyID()})),r=Object(o.useSelect)((function(e){return e(s.p).getWebDataStreamID()})),d=Object(o.useSelect)((function(e){return e(s.p).isLoadingPropertySummaries()})),m=Object(o.useSelect)((function(e){return e(s.p).isLoadingWebDataStreams({hasModuleAccess:!0})})),g=Object(o.useSelect)((function(e){if(!d&&!m)return Object(u.e)(n)&&Object(u.g)(r)?e(s.p).isEnhancedMeasurementStreamAlreadyEnabled(n,r):null})),p=Object(o.useSelect)((function(e){return!(Object(u.f)(n)&&Object(u.i)(r)&&!d&&!m)||n!==s.q&&r!==s.x&&!e(s.p).hasFinishedResolution("isEnhancedMeasurementStreamAlreadyEnabled",[n,r])})),f=Object(o.useDispatch)(c.a).setValues,b=Object(o.useSelect)((function(e){return e(c.a)})).getValue;return Object(a.a)((function(){b(s.m,"autoSubmit")||f(s.i,i()({},s.h,!0))})),Object(u.a)(t)?e.createElement(l.a,{loading:p,isEnhancedMeasurementAlreadyEnabled:g}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var r=n(0),i=n(2),a=n(3),o=n(9),c=n(402);function SetupUseSnippetSwitch(){var t=Object(a.useSelect)((function(e){return e(o.p).getExistingTag()})),n=t===Object(a.useSelect)((function(e){return e(o.p).getMeasurementID()}))?e.createElement(r.Fragment,null,e.createElement("p",null,Object(i.sprintf)( /* translators: %s: existing tag ID */ Object(i.__)("A tag %s for the selected property already exists on the site","google-site-kit"),t)),e.createElement("p",null,Object(i.__)("Consider removing the existing tag to avoid loading both tags on your site","google-site-kit"))):e.createElement(r.Fragment,null,e.createElement("p",null,Object(i.sprintf)( /* translators: %s: existing tag ID */ Object(i.__)("An existing tag %s was found on the page","google-site-kit"),t)),e.createElement("p",null,Object(i.__)("If you prefer to collect data using that existing Analytics tag, please select the corresponding account and property above","google-site-kit")));return e.createElement(c.a,{description:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupFormFields}));var r=n(7),i=n.n(r),a=n(2),o=n(0),c=n(3),s=n(9),l=n(28),u=n(138),d=n(730),m=n(731);function SetupFormFields(){var t=Object(c.useSelect)((function(e){return e(s.p).getAccountSummaries()}))||[],n=Object(c.useSelect)((function(e){return e(s.p).hasExistingTag()})),r=Object(c.useSelect)((function(e){return e(s.p).getExistingTag()})),g=Object(c.useSelect)((function(e){return e(s.p).getMeasurementID()})),p=Object(c.useSelect)((function(e){return e(s.p).getWebDataStreamID()})),f=Object(c.useDispatch)(l.a).setValues,b=Object(c.useDispatch)(s.p).setUseSnippet;Object(o.useEffect)((function(){n&&b(r!==g)}),[b,n,r,g]);var v=Object(o.useCallback)((function(){f(s.i,i()({},s.h,!0))}),[f]);return e.createElement(o.Fragment,null,!!t.length&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(a.__)("Please select the account information below. You can change this later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(u.c,{onChange:v}),e.createElement(u.d,{onChange:v}),e.createElement(u.g,{onChange:v})),p===s.x&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(u.f,null)),n&&e.createElement(m.a,null),e.createElement(d.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(3),m=n(10),g=n(9),p=n(6),f=n(28),b=n(32),v=n(34),h=n(732),y=n(144),O=n(18),E=n(8),_=n(14),j=n(393);function SetupForm(t){var n=t.finishSetup,r=Object(d.useSelect)((function(e){return e(p.a).hasScope(g.g)})),a=Object(d.useSelect)((function(e){return e(f.a).getValue(g.m,"autoSubmit")})),c=Object(d.useSelect)((function(e){return e(g.p).canSubmitChanges()})),s=Object(d.useSelect)((function(e){return e(g.p).isDoingSubmitChanges()||e(b.a).isNavigating()})),S=Object(O.a)(),k=Object(d.useDispatch)(f.a).setValues,A=Object(d.useDispatch)(g.p).submitChanges,T=Object(d.useDispatch)(_.c),w=T.setConversionTrackingEnabled,D=T.saveConversionTrackingSettings,C=Object(d.useSelect)((function(e){return e(f.a).getValue(g.i,g.h)})),N=Object(l.useCallback)(function(){var e=o()(i.a.mark((function e(t){var r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),k(g.m,{autoSubmit:!1}),e.next=4,A();case 4:if(r=e.sent,a=r.error,Object(v.f)(a)&&k(g.m,{autoSubmit:!0}),a){e.next=15;break}return w(!0),e.next=11,D();case 11:if(!0!==C){e.next=14;break}return e.next=14,Object(E.J)("".concat(S,"_analytics"),"ga4_setup_enhanced_measurement_enabled");case 14:n();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,C,w,D,k,A,S]);return Object(l.useEffect)((function(){a&&r&&N({preventDefault:function(){}})}),[r,a,N]),e.createElement("form",{className:"googlesitekit-analytics-setup__form",onSubmit:N},e.createElement(y.a,{moduleSlug:"analytics-4",storeName:g.p}),e.createElement(h.a,null),e.createElement(j.a,{message:Object(u.__)("To track how visitors interact with your site, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(m.SpinnerButton,{disabled:!c||s,isSaving:s},Object(u.__)("Complete setup","google-site-kit"))))}SetupForm.propTypes={finishSetup:s.a.func},SetupForm.defaultProps={finishSetup:function(){}}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M48 46.376a6.629 6.629 0 01-2.18 4.952 6.466 6.466 0 01-5.11 1.625c-3.339-.495-5.789-3.433-5.708-6.848V6.891C34.925 3.475 37.379.537 40.72.045a6.469 6.469 0 015.102 1.631A6.63 6.63 0 0148 6.622v39.754z",fill:"#F9AB00"}),r.createElement("path",{d:"M6.5 40.002a6.489 6.489 0 014.594 1.901 6.51 6.51 0 011.906 4.6 6.51 6.51 0 01-1.906 4.596A6.489 6.489 0 016.5 53a6.489 6.489 0 01-4.594-1.9A6.51 6.51 0 010 46.501a6.51 6.51 0 011.905-4.6A6.489 6.489 0 016.5 40v.002zM24.348 20.002c-3.62.197-6.429 3.256-6.346 6.908v17.644c0 4.79 2.092 7.696 5.16 8.314a6.498 6.498 0 005.442-1.358A6.61 6.61 0 0031 46.4V26.605a6.624 6.624 0 00-1.912-4.668A6.519 6.519 0 0024.459 20l-.111.002z",fill:"#E37400",fillRule:"nonzero"}));t.a=function SvgAnalytics(e){return r.createElement("svg",i({viewBox:"0 0 48 53"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(3),a=n(9);function o(){var e=Object(i.useDispatch)(a.p).setUseSnippet,t=Object(i.useSelect)((function(e){return e(a.p).getExistingTag()})),n=Object(i.useSelect)((function(e){return e(a.p).getMeasurementID()})),o=Object(r.useRef)(!0);Object(r.useEffect)((function(){if(t&&void 0!==n){if(""===n||o.current)return void(o.current=!1);e(n!==t)}}),[e,t,n])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(27),s=n.n(c),l=n(7),u=n.n(l),d=n(11),m=n.n(d),g=n(13),p=n(42),f=n.n(p),b=n(3),v=n(59),h=n(9),y=n(14),O=n(47),E=n(61);function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=Object(O.a)({baseName:"getWebDataStreams",controlCallback:function(e){var t=e.propertyID;return f.a.get("modules","analytics-4","webdatastreams",{propertyID:t},{useCache:!1})},reducerCallback:function(e,t,n){var r=n.propertyID;return k(k({},e),{},{webdatastreams:k(k({},e.webdatastreams),{},u()({},r,Array.isArray(t)?t:[]))})},argsToParams:function(e){return{propertyID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.propertyID;m()(Object(E.e)(t),"A valid GA4 propertyID is required.")}}),T=Object(O.a)({baseName:"getWebDataStreamsBatch",controlCallback:function(e){var t=e.propertyIDs;return f.a.get("modules","analytics-4","webdatastreams-batch",{propertyIDs:t},{useCache:!1})},reducerCallback:function(e,t){return k(k({},e),{},{webdatastreams:k(k({},e.webdatastreams),t||{})})},argsToParams:function(e){return{propertyIDs:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.propertyIDs;m()(Array.isArray(t),"GA4 propertyIDs must be an array."),t.forEach((function(e){m()(Object(E.e)(e),"A valid GA4 propertyID is required.")}))}}),w=Object(O.a)({baseName:"createWebDataStream",controlCallback:function(e){var t=e.propertyID,n=e.displayName;return f.a.set("modules","analytics-4","create-webdatastream",{propertyID:t,displayName:n})},reducerCallback:function(e,t,n){var r=n.propertyID;return k(k({},e),{},{webdatastreams:k(k({},e.webdatastreams),{},u()({},r,[].concat(s()(e.webdatastreams[r]||[]),[t])))})},argsToParams:function(e,t){return{propertyID:e,displayName:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.propertyID,n=e.displayName;m()(Object(E.e)(t),"A valid GA4 propertyID is required."),m()(Object(E.h)(n),"A valid web data stream name is required.")}}),D={createWebDataStream:Object(v.f)((function(e,t){m()(e,"GA4 propertyID is required."),m()(t,"Web data stream name is required.")}),o.a.mark((function e(t,n){var r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.actions.fetchCreateWebDataStream(t,n);case 2:return r=e.sent,i=r.response,a=r.error,e.abrupt("return",{response:i,error:a});case 6:case"end":return e.stop()}}),e)}))),matchWebDataStream:o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D.waitForWebDataStreams(t);case 2:return e.next=4,b.commonActions.getRegistry();case 4:return n=e.sent,e.abrupt("return",n.select(h.p).getMatchingWebDataStreamByPropertyID(t));case 6:case"end":return e.stop()}}),e)})),waitForWebDataStreams:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{propertyID:t},type:"WAIT_FOR_WEBDATASTREAMS"};case 2:case"end":return e.stop()}}),e)}))},C=u()({},"WAIT_FOR_WEBDATASTREAMS",Object(b.createRegistryControl)((function(e){var t=e.resolveSelect;return function(){var e=i()(o.a.mark((function e(n){var r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.payload,i=r.propertyID,e.next=4,t(h.p).getWebDataStreams(i);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}))),N={getWebDataStreams:o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.commonActions.getRegistry();case 2:if(n=e.sent,void 0!==n.select(h.p).getWebDataStreams(t)){e.next=7;break}return e.next=7,A.actions.fetchGetWebDataStreams(t);case 7:case"end":return e.stop()}}),e)})),getWebDataStreamsBatch:o.a.mark((function e(t){var n,r,i,a,c,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.commonActions.getRegistry();case 2:if(n=e.sent,r=n.select(h.p).getWebDataStreamsBatch(t)||{},i=Object.keys(r),!((a=Object(g.difference)(t,i)).length>0)){e.next=15;break}c=0;case 8:if(!(c<a.length)){e.next=15;break}return s=a.slice(c,c+h.o),e.next=12,T.actions.fetchGetWebDataStreamsBatch(s);case 12:c+=h.o,e.next=8;break;case 15:case"end":return e.stop()}}),e)}))},I={getWebDataStreams:function(e,t){return e.webdatastreams[t]},getMatchingWebDataStream:Object(b.createRegistrySelector)((function(e){return function(t,n){return e(h.p).getMatchingWebDataStreams(n)[0]||null}})),getMatchingWebDataStreams:Object(b.createRegistrySelector)((function(e){return function(t,n){m()(Array.isArray(n),"datastreams must be an array.");var r,i=[],a=_(n);try{for(a.s();!(r=a.n()).done;){var o,c=r.value;e(y.c).isSiteURLMatch(null===(o=c.webStreamData)||void 0===o?void 0:o.defaultUri)&&i.push(c)}}catch(e){a.e(e)}finally{a.f()}return i}})),getMatchingWebDataStreamByPropertyID:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=e(h.p).getWebDataStreams(n);if(void 0!==r)return e(h.p).getMatchingWebDataStream(r)||null}})),getWebDataStreamsBatch:function(e,t){return Object(g.pick)(e.webdatastreams,t)},getMatchedMeasurementIDsByPropertyIDs:Object(b.createRegistrySelector)((function(e){return function(t,n){m()(Array.isArray(n)&&(null==n?void 0:n.length),"propertyIDs must be an array containing GA4 propertyIDs."),n.forEach((function(e){m()(Object(E.e)(e),"A valid GA4 propertyID is required.")}));var r=e(h.p).getWebDataStreamsBatch(n);if(void 0!==r)return n.reduce((function(t,n){var i;if(!(null===(i=r[n])||void 0===i?void 0:i.length))return t;var a=e(h.p).getMatchingWebDataStream(r[n]);if(!a)return t;var o=a.webStreamData.measurementId;return k(k({},t),{},u()({},n,o))}),{})}})),getAnalyticsConfigByMeasurementIDs:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=Array.isArray(n)?n:[n],i=e(h.p).getAccountSummaries();if(Array.isArray(i)){var a=e(h.p).getAccountID();i=s()(i).sort((function(e){return e._id===a?-1:0}));var o={},c=[];if(i.forEach((function(e){var t=e._id;e.propertySummaries.forEach((function(e){var n=e._id;c.push(n),o[n]={accountID:t,propertyID:n}}))})),0===c.length)return null;var l=e(h.p).getWebDataStreamsBatch(c);if(e(h.p).hasFinishedResolution("getWebDataStreamsBatch",[c])){var u;for(var d in l){var m;if(null===(m=l[d])||void 0===m?void 0:m.length){var g,p=_(l[d]);try{for(p.s();!(g=p.n()).done;){var f=g.value,b=f._id,v=f.webStreamData,O=v.defaultUri,E=v.measurementId;if(r.includes(E)){var j=k(k({},o[d]),{},{webDataStreamID:b,measurementID:E});if(u||(u=j),1===r.length||e(y.c).isSiteURLMatch(O))return j}}}catch(e){p.e(e)}finally{p.f()}}}return u||null}}}})),isLoadingWebDataStreams:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=n.hasModuleAccess;if(!e(h.p).hasFinishedResolution("getAccountSummaries"))return!0;var i=e(h.p).getPropertyID();return!(!Object(E.e)(i)||!1===r||e(h.p).hasFinishedResolution("getWebDataStreams",[i]))||(!1===e(h.p).hasFinishedSelectingAccount()||(!!e(h.p).isMatchingAccountProperty()||e(h.p).isResolving("getProperty",[i])))}})),doesWebDataStreamExist:Object(b.createRegistrySelector)((function(e){return function(t,n,r){m()(Object(E.e)(n),"A valid GA4 propertyID is required.");var i=e(h.p).getWebDataStreams(n);if(void 0!==i)return i.some((function(e){return e.displayName===r}))}}))},R=Object(b.combineStores)(A,T,w,{initialState:{webdatastreams:{}},actions:D,controls:C,reducer:function(e,t){t.type;return e},resolvers:N,selectors:I}),x=(R.initialState,R.actions);R.controls,R.reducer,R.resolvers,R.selectors;t.b=R},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(2),i=n(3),a=n(6),o=n(509);function Header(){var t=Object(i.useSelect)((function(e){return e(a.a).getDateRangeNumberOfDays()})),n=Object(r.sprintf)( /* translators: %s: number of days */ Object(r._n)("Top content over the last %s day","Top content over the last %s days",t,"google-site-kit"),t);return e.createElement(o.a,{title:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(2),i=n(3),a=n(6),o=n(9),c=n(134),s=n(35);function Footer(){var t=Object(s.a)(),n=Object(i.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:o.f})})),l=Object(i.useSelect)((function(e){return t?null:e(o.p).getServiceReportURL("all-pages-and-screens",{dates:n,otherArgs:{collectionId:"life-cycle"}})}));return e.createElement(c.a,{href:l,name:Object(r._x)("Analytics","Service name","google-site-kit"),external:!0})}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(855);n.d(t,"a",(function(){return r.a}));var i=n(856);n.d(t,"b",(function(){return i.a}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(8),p=n(131),f=n(54);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EngagedTrafficSourceWidget(t){var n,r,i,a,o,p,f,b,h,y,O,E,_,j,S=t.Widget,k=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{dimensions:["sessionDefaultChannelGroup"],metrics:[{name:"engagedSessions"}],orderBy:"engagedSessions",limit:1}),A=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(k)}),[k]),T=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[k])})),w=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[k])})),D=A||{},C=D.rows,N=void 0===C?[]:C,I=D.totals,R=void 0===I?[]:I,x=function(e,t){return function(n){return Object(c.get)(n,"dimensionValues.".concat(t,".value"))===e}},P=(null===(n=N.filter(x("date_range_0",1))[0])||void 0===n||null===(r=n.dimensionValues)||void 0===r?void 0:r[0].value)||"-",M=parseFloat(null===(i=N.filter(x("date_range_0",1))[0])||void 0===i||null===(a=i.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value)||0,L=parseFloat(null===(p=R.filter(x("date_range_0",1))[0])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value)||0,G=M/L||0,B=(parseFloat(null===(h=N.filter(x("date_range_1",1))[0])||void 0===h||null===(y=h.metricValues)||void 0===y||null===(O=y[0])||void 0===O?void 0:O.value)||0)/(parseFloat(null===(E=R.filter(x("date_range_1",1))[0])||void 0===E||null===(_=E.metricValues)||void 0===_||null===(j=_[0])||void 0===j?void 0:j.value)||0)||0,V={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(m.g,{Widget:S,widgetSlug:u.g,metricValue:P,metricValueFormat:V,subText:Object(s.sprintf)( /* translators: 1. Percentage of total engaged sessions. 2: Total number of engaged sessions. */ Object(s.__)("%1$s of %2$s engaged sessions","google-site-kit"),Object(g.C)(G,V),Object(g.C)(L,{style:"decimal"})),previousValue:B,currentValue:G,loading:w,error:T,moduleSlug:"analytics-4"})}EngagedTrafficSourceWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:p.a})(EngagedTrafficSourceWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(6),l=n(9),u=n(107),d=n(20),m=n(138),g=n(8),p=n(54),f=n(131),b=n(35);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LeastEngagingPagesWidget(t){var n,r,i,a,o=t.Widget,p=Object(b.a)(),f=Object(c.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})})),v=h(h({},f),{},{dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}]}),y=Object(c.useInViewSelect)((function(e){return e(l.p).getReport(v)}),[v]),O=parseInt((null==y?void 0:y.rowCount)/2,10),E=parseInt(null==y||null===(n=y.rows)||void 0===n||null===(r=n[O])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value,10)||0,_=h(h({},f),{},{dimensions:["pagePath"],metrics:["bounceRate","screenPageViews"],orderby:[{metric:{metricName:"bounceRate"},desc:!0},{metric:{metricName:"screenPageViews"},desc:!0}],metricFilters:{screenPageViews:{operation:"GREATER_THAN_OR_EQUAL",value:{int64Value:E}}},limit:3}),j=Object(c.useSelect)((function(e){return e(l.p).hasFinishedResolution("getReport",[v])})),S=Object(c.useSelect)((function(e){return e(l.p).getErrorForSelector("getReport",[v])})),k=Object(c.useInViewSelect)((function(e){if(j)return S?null:e(l.p).getReport(_)}),[j,S,_]),A=Object(c.useSelect)((function(e){var t=e(l.p).getErrorForSelector("getReport",[_]);return S&&t?[S,t]:S||t||void 0})),T=Object(c.useInViewSelect)((function(e){return A?void 0:e(l.p).getPageTitles(k,_)}),[A,k,_]),w=Object(c.useSelect)((function(e){return!e(l.p).hasFinishedResolution("getReport",[_])||void 0===T||!j})),D={style:"percent",signDisplay:"never",maximumFractionDigits:1},C=(k||{}).rows,N=void 0===C?[]:C,I=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,r=T[n],i=Object(c.useSelect)((function(e){return p?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:f})}));return p?e.createElement(u.f,{content:r}):e.createElement(d.a,{href:i,title:r,external:!0,hideExternalIndicator:!0},r)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n,D))}}];return e.createElement(u.e,{Widget:o,widgetSlug:s.h,loading:w,rows:N,columns:I,ZeroState:m.h,error:A,moduleSlug:"analytics-4"})}LeastEngagingPagesWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(LeastEngagingPagesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(6),l=n(9),u=n(107),d=n(20),m=n(138),g=n(54),p=n(131),f=n(35),b=n(8);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MostEngagingPagesWidget(t){var n,r,i,a,o=t.Widget,g=Object(f.a)(),p=Object(c.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})})),v=h(h({},p),{},{dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],limit:1}),y=Object(c.useInViewSelect)((function(e){return e(l.p).getReport(v)}),[v]),O=Math.round((null==y||null===(n=y.totals)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)/(null==y?void 0:y.rowCount))||0,E=h(h({},p),{},{dimensions:["pagePath"],metrics:["engagementRate","screenPageViews"],orderby:[{metric:{metricName:"engagementRate"},desc:!0},{metric:{metricName:"screenPageViews"},desc:!0}],metricFilters:{screenPageViews:{filterType:"numericFilter",operation:"GREATER_THAN_OR_EQUAL",value:{int64Value:O}}},limit:3}),_=Object(c.useSelect)((function(e){return e(l.p).getErrorForSelector("getReport",[v])})),j=Object(c.useSelect)((function(e){var t=e(l.p).getErrorForSelector("getReport",[E]);return _&&t?[_,t]:_||t||void 0})),S=Object(c.useSelect)((function(e){return e(l.p).hasFinishedResolution("getReport",[v])})),k=Object(c.useInViewSelect)((function(e){if(S)return _?null:e(l.p).getReport(E)}),[S,_,E]),A=Object(c.useInViewSelect)((function(e){return j?void 0:e(l.p).getPageTitles(k,E)}),[j,k,E]),T=Object(c.useSelect)((function(e){return!e(l.p).hasFinishedResolution("getReport",[E])||!S||void 0===A})),w=(k||{}).rows,D=void 0===w?[]:w,C={style:"percent",signDisplay:"never",maximumFractionDigits:1},N=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,r=A[n],i=Object(c.useSelect)((function(e){return g?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:p})}));return g?e.createElement(u.f,{content:r}):e.createElement(d.a,{href:i,title:r,external:!0,hideExternalIndicator:!0},r)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(b.C)(n,C))}}];return e.createElement(u.e,{Widget:o,widgetSlug:s.i,loading:T,rows:D,columns:N,ZeroState:m.h,error:j,moduleSlug:"analytics-4"})}MostEngagingPagesWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(g.a)({moduleName:"analytics-4",FallbackComponent:p.a})(MostEngagingPagesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(82),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NewVisitorsWidget(t){var n,r,i,a,o,p,f,b,h,y,O=t.Widget,E=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{dimensions:["newVsReturning"],metrics:[{name:"activeUsers"}]}),_=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(E)}),[E]),j=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[E])})),S=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[E])})),k=_||{},A=k.rows,T=void 0===A?[]:A,w=k.totals,D=void 0===w?[]:w,C=(null===(n=T.find((y="date_range_0",function(e){return"new"===Object(c.get)(e,"dimensionValues.0.value")&&Object(c.get)(e,"dimensionValues.1.value")===y})))||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,N=Number(null===(a=D[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(p=o[0])||void 0===p?void 0:p.value)||0,I=Number(null===(f=D[1])||void 0===f||null===(b=f.metricValues)||void 0===b||null===(h=b[0])||void 0===h?void 0:h.value)||0;return e.createElement(m.d,{Widget:O,widgetSlug:u.j,metricValue:C,subText:Object(s.sprintf)( /* translators: %d: Number of total visitors visiting the site. */ Object(s.__)("of %s total visitors","google-site-kit"),Object(g.d)(N,{style:"decimal"})),previousValue:I,currentValue:N,loading:S,error:j,moduleSlug:"analytics-4"})}NewVisitorsWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(NewVisitorsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(6),l=n(9),u=n(107),d=n(20),m=n(138),g=n(8),p=n(54),f=n(131),b=n(35);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function PopularContentWidget(t){var n=t.Widget,r=Object(b.a)(),i=Object(c.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})})),a=h(h({},i),{},{dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3}),o=Object(c.useInViewSelect)((function(e){return e(l.p).getReport(a)}),[a]),p=Object(c.useSelect)((function(e){return e(l.p).getErrorForSelector("getReport",[a])})),f=Object(c.useInViewSelect)((function(e){return p?void 0:e(l.p).getPageTitles(o,a)}),[p,o,a]),v=Object(c.useSelect)((function(e){return!e(l.p).hasFinishedResolution("getReport",[a])||void 0===f})),y=(o||{}).rows,O=void 0===y?[]:y,E=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,a=f[n],o=Object(c.useSelect)((function(e){return r?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:i})}));return r?e.createElement(u.f,{content:a}):e.createElement(d.a,{href:o,title:a,external:!0,hideExternalIndicator:!0},a)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(u.e,{Widget:n,widgetSlug:s.m,loading:v,rows:O,columns:E,ZeroState:m.h,error:p,moduleSlug:"analytics-4"})}PopularContentWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(PopularContentWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(371),u=n(2),d=n(0),m=n(38),g=n(3),p=n(6),f=n(14),b=n(9),v=n(24),h=n(30),y=n(107),O=n(20),E=n(8),_=n(54),j=n(131),S=n(35),k=n(565);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e){var t=e(p.a).getDateRangeDates({offsetDays:b.f}),n=e(f.c).getProductPostType();return T(T({},t),{},{dimensions:["pagePath"],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:n}},metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3})}function PopularProductsWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(S.a)(),o=Object(g.useSelect)((function(e){return e(f.c).getProductPostType()})),c=Object(g.useSelect)((function(e){return e(p.a).getDateRangeDates({offsetDays:b.f})})),s=Object(g.useDispatch)(v.b).setValue,l=Object(d.useState)(!0),_=i()(l,2),j=_[0],k=_[1],A=Object(d.useCallback)((function(){k(!1),s(h.k,!0),setTimeout((function(){k(!0)}),0)}),[s]),T=Object(g.useSelect)(w),D=Object(g.useSelect)((function(e){return e(p.a).isKeyMetricActive(p.n)})),C=D||o,N=Object(g.useInViewSelect)((function(e){return C?e(b.p).getReport(T):void 0}),[C,T]),I=Object(g.useSelect)((function(e){return e(b.p).getErrorForSelector("getReport",[T])})),R=Object(g.useInViewSelect)((function(e){return!I&&N?e(b.p).getPageTitles(N,T):void 0}),[I,N,T]),x=Object(g.useSelect)((function(e){return C?!e(b.p).hasFinishedResolution("getReport",[T])||void 0===R:void 0})),P=(N||{}).rows,M=void 0===P?[]:P,L=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,r=R[n],i=Object(g.useSelect)((function(e){return a?null:e(b.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:c})}));return a?e.createElement(y.f,{content:r}):e.createElement(O.a,{href:i,title:r,external:!0,hideExternalIndicator:!0},r)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(E.C)(n))}}];if(!C)return e.createElement(r,null);var G=Object(m.a)(Object(u.__)("Products on your site which visitors viewed the most. Site Kit detected these are your product pages. If this is inaccurate, you can <a>replace</a> this with another metric","google-site-kit"),{a:e.createElement(O.a,{onClick:A})}),B=Object(u.__)("Analytics doesn’t have data for your site’s products yet","google-site-kit");return!o&&D&&(B=Object(u.__)("No product posts currently detected on your site. This metric applies only to sites with product posts.","google-site-kit")),e.createElement(y.e,{Widget:n,widgetSlug:p.n,loading:x,rows:M,columns:L,infoTooltip:j?G:null,ZeroState:function ZeroState(){return B},error:I,moduleSlug:"analytics-4"})}PopularProductsWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType.isRequired},t.a=Object(l.a)(Object(_.a)({moduleName:"analytics-4",FallbackComponent:j.a}),Object(k.a)({reportOptions:w}))(PopularProductsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnalyticsUpdateError}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(10),l=n(3),u=n(14),d=n(20),m=n(264),g=n(8),p=n(18);function AnalyticsUpdateError(t){var n=t.onRetry,r=t.error,i=t.infoTooltip,f=t.headerText,b=Object(p.a)(),v=Object(l.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL(r)}));Object(a.useEffect)((function(){Object(g.K)("".concat(b,"_kmw"),"analytics_update_error")}),[b]);var h=Object(a.useCallback)((function(){Object(g.J)("".concat(b,"_kmw"),"analytics_update_error_retry"),null==n||n()}),[n,b]);return e.createElement(m.a,{title:Object(c.__)("Analytics update failed","google-site-kit"),headerText:f,infoTooltip:i},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement(s.Button,{onClick:h},Object(c.__)("Retry","google-site-kit")),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("Retry didn’t work? <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{href:v,external:!0,hideExternalIndicator:!0})}))))}AnalyticsUpdateError.propTypes={error:i.a.shape({}).isRequired,onRetry:i.a.func.isRequired,headerText:i.a.string,infoTooltip:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CustomDimensionsMissingError}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(264),l=n(8),u=n(18);function CustomDimensionsMissingError(t){var n=t.onRetry,r=t.infoTooltip,i=t.headerText,d=Object(u.a)();Object(a.useEffect)((function(){Object(l.K)("".concat(d,"_kmw"),"custom_dimension_missing_error")}),[d]);var m=Object(a.useCallback)((function(){Object(l.J)("".concat(d,"_kmw"),"custom_dimension_missing_error_retry"),null==n||n()}),[n,d]);return e.createElement(s.a,{title:Object(o.__)("No data to show","google-site-kit"),headerText:i,infoTooltip:r},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement(c.Button,{onClick:m},Object(o.__)("Update","google-site-kit")),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.__)("Update Analytics to track metric","google-site-kit"))))}CustomDimensionsMissingError.propTypes={onRetry:i.a.func.isRequired,headerText:i.a.string,infoTooltip:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(8),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReturningVisitorsWidget(t){var n,r,i,a,o,p,f,b,h,y,O,E,_=t.Widget,j=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{dimensions:["newVsReturning"],metrics:[{name:"activeUsers"}]}),S=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(j)}),[j]),k=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[j])})),A=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[j])})),T=S||{},w=T.rows,D=void 0===w?[]:w,C=T.totals,N=void 0===C?[]:C,I=function(e){return function(t){return"returning"===Object(c.get)(t,"dimensionValues.0.value")&&Object(c.get)(t,"dimensionValues.1.value")===e}},R=(null===(n=D.find(I("date_range_0")))||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,x=(null===(a=N[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(p=o[0])||void 0===p?void 0:p.value)||0,P=(null===(f=D.find(I("date_range_1")))||void 0===f||null===(b=f.metricValues)||void 0===b||null===(h=b[0])||void 0===h?void 0:h.value)||0,M=(null===(y=N[1])||void 0===y||null===(O=y.metricValues)||void 0===O||null===(E=O[0])||void 0===E?void 0:E.value)||0,L=x>0?R/x:0,G=M>0?P/M:0;return e.createElement(m.d,{Widget:_,widgetSlug:u.o,metricValue:L,metricValueFormat:{style:"percent",signDisplay:"never",maximumFractionDigits:1},subText:Object(s.sprintf)( /* translators: %d: Number of total visitors visiting the site. */ Object(s.__)("of %s total visitors","google-site-kit"),Object(g.C)(x,{style:"decimal"})),previousValue:G,currentValue:L,loading:A,error:k,moduleSlug:"analytics-4"})}ReturningVisitorsWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(ReturningVisitorsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(6),d=n(9),m=n(138),g=n(8),p=n(107),f=n(54),b=n(131);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopCitiesWidget(t){var n,r,a,o=t.Widget,c=h(h({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})}))),{},{dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3}),s=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(c)}),[c]),f=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[c])})),b=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[c])})),v=s||{},y=v.rows,O=void 0===y?[]:y,E=v.totals,_=null===(n=(void 0===E?[]:E)[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(a=r[0])||void 0===a?void 0:a.value,j=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0];return e.createElement(p.f,{content:r.value})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n/_,{style:"percent",maximumFractionDigits:1}))}}];return e.createElement(p.e,{Widget:o,widgetSlug:u.q,loading:b,rows:O,columns:j,ZeroState:m.h,error:f,moduleSlug:"analytics-4"})}TopCitiesWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:b.a})(TopCitiesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(6),d=n(9),m=n(138),g=n(8),p=n(107),f=n(54),b=n(131);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopCitiesDrivingLeadsWidget(t){var n=t.Widget,r=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),a=Object(l.useSelect)((function(e){return e(d.p).getDetectedEvents()})),o=["submit_lead_form","contact","generate_lead"].filter((function(e){return null==a?void 0:a.includes(e)}));o.includes("submit_lead_form")&&o.includes("contact")&&o.splice(o.indexOf("contact"),1);var c=h(h({},r),{},{dimensions:["city","eventName"],dimensionFilters:{eventName:{filterType:"inListFilter",value:o},city:{filterType:"stringFilter",matchType:"EXACT",value:"(not set)",notExpression:!0}},metrics:[{name:"eventCount"}],orderby:[{metric:{metricName:"eventCount"},desc:!0}],limit:3}),s=Object(l.useInViewSelect)((function(e){return(null==o?void 0:o.length)?e(d.p).getReport(c):void 0}),[o,c]),f=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[c])})),b=Object(l.useSelect)((function(e){return(null==o?void 0:o.length)?!e(d.p).hasFinishedResolution("getReport",[c]):void 0})),v=(s||{}).rows,y=void 0===v?[]:v,O=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0];return e.createElement(p.f,{content:r.value})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(p.e,{Widget:n,widgetSlug:u.s,loading:b,rows:y,columns:O,ZeroState:m.h,error:f,moduleSlug:"analytics-4"})}TopCitiesDrivingLeadsWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:b.a})(TopCitiesDrivingLeadsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(6),d=n(9),m=n(138),g=n(8),p=n(107),f=n(54),b=n(131);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopCitiesDrivingAddToCartWidget(t){var n=t.Widget,r=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),a=Object(l.useSelect)((function(e){return e(d.p).getDetectedEvents()})),o=null==a?void 0:a.includes("add_to_cart"),c=h(h({},r),{},{dimensions:["city"],dimensionFilters:{city:{filterType:"stringFilter",matchType:"EXACT",value:"(not set)",notExpression:!0}},metrics:[{name:"addToCarts"}],orderby:[{metric:{metricName:"addToCarts"},desc:!0}],limit:3}),s=Object(l.useInViewSelect)((function(e){return o?e(d.p).getReport(c):void 0}),[c]),f=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[c])})),b=Object(l.useSelect)((function(e){return o?!e(d.p).hasFinishedResolution("getReport",[c]):void 0})),v=(s||{}).rows,y=void 0===v?[]:v,O=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0];return e.createElement(p.f,{content:r.value})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(p.e,{Widget:n,widgetSlug:u.r,loading:b,rows:y,columns:O,ZeroState:m.h,error:f,moduleSlug:"analytics-4"})}TopCitiesDrivingAddToCartWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:b.a})(TopCitiesDrivingAddToCartWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(6),d=n(9),m=n(138),g=n(8),p=n(107),f=n(54),b=n(131);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopCitiesDrivingPurchasesWidget(t){var n=t.Widget,r=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),a=Object(l.useSelect)((function(e){return e(d.p).getDetectedEvents()})),o=null==a?void 0:a.includes("purchase"),c=h(h({},r),{},{dimensions:["city"],dimensionFilters:{city:{filterType:"stringFilter",matchType:"EXACT",value:"(not set)",notExpression:!0}},metrics:[{name:"ecommercePurchases"}],metricFilters:{ecommercePurchases:{operation:"GREATER_THAN",value:{int64Value:0}}},orderby:[{metric:{metricName:"ecommercePurchases"},desc:!0}],limit:3}),s=Object(l.useInViewSelect)((function(e){return o?e(d.p).getReport(c):void 0}),[o,c]),f=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[c])})),b=Object(l.useSelect)((function(e){return o?!e(d.p).hasFinishedResolution("getReport",[c]):void 0})),v=(s||{}).rows,y=void 0===v?[]:v,O=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0];return e.createElement(p.f,{content:r.value})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(p.e,{Widget:n,widgetSlug:u.t,loading:b,rows:y,columns:O,ZeroState:m.h,error:f,moduleSlug:"analytics-4"})}TopCitiesDrivingPurchasesWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:b.a})(TopCitiesDrivingPurchasesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(255),u=n(6),d=n(9),m=n(8),g=n(13),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopDeviceDrivingPurchases(t){var n,r,i,a,o,p,f,b,h,y,O,E,_,j,S,k,A,T,w,D,C,N,I=t.Widget,R=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})})),x=Object(s.useSelect)((function(e){return e(d.p).getDetectedEvents()})),P=null==x?void 0:x.includes("purchase"),M=v(v({},R),{},{metrics:[{name:"ecommercePurchases"}]}),L=v(v({},R),{},{dimensions:["deviceCategory"],metrics:[{name:"ecommercePurchases"}],limit:1,orderBy:"ecommercePurchases"}),G=Object(s.useInViewSelect)((function(e){return P?e(d.p).getReport(M):void 0}),[P,M]),B=!!(null==G?void 0:G.rows)&&((null==G||null===(n=G.rows)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)>0||(null==G||null===(o=G.rows)||void 0===o||null===(p=o[1])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value)>0),V=Object(s.useInViewSelect)((function(e){return P&&B?e(d.p).getReport(L):void 0}),[B,P,L]),F=Object(s.useSelect)((function(e){var t=e(d.p).getErrorForSelector("getReport",[L]),n=e(d.p).getErrorForSelector("getReport",[M]);return t&&n?[t,n]:t||n||void 0})),W=Object(s.useSelect)((function(e){return P&&B?!e(d.p).hasFinishedResolution("getReport",[M])||!e(d.p).hasFinishedResolution("getReport",[L]):void 0})),Z=function(e,t){return function(n){return Object(g.get)(n,"dimensionValues.".concat(t,".value"))===e}},z=(G||{}).rows,U=void 0===z?[]:z,H=(V||{}).rows,q=void 0===H?[]:H,K=(null===(h=q.filter(Z("date_range_0",1))[0])||void 0===h||null===(y=h.dimensionValues)||void 0===y?void 0:y[0].value)||"-",Y=parseInt(null===(O=U.filter(Z("date_range_0",0))[0])||void 0===O||null===(E=O.metricValues)||void 0===E||null===(_=E[0])||void 0===_?void 0:_.value,10)||0,J=parseInt(null===(j=q.filter(Z("date_range_0",1))[0])||void 0===j||null===(S=j.metricValues)||void 0===S||null===(k=S[0])||void 0===k?void 0:k.value,10)||0,$=Y?J/Y:0,Q=parseInt(null===(A=U.filter(Z("date_range_1",0))[0])||void 0===A||null===(T=A.metricValues)||void 0===T||null===(w=T[0])||void 0===w?void 0:w.value,10)||0,X=parseInt(null===(D=q.filter(Z("date_range_1",1))[0])||void 0===D||null===(C=D.metricValues)||void 0===C||null===(N=C[0])||void 0===N?void 0:N.value,10)||0,ee=Q?X/Q:0,te={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(l.a,{Widget:I,widgetSlug:u.w,metricValue:K,metricValueFormat:te,subText:Object(c.sprintf)( /* translators: %d: Percentage of purchases for the current top device compared to the number of purchases for all devices. */ Object(c.__)("%s of total purchases","google-site-kit"),Object(m.C)($,te)),previousValue:ee,currentValue:$,loading:W,error:F,moduleSlug:"analytics-4"})}TopDeviceDrivingPurchases.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopDeviceDrivingPurchases)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(6),d=n(9),m=n(138),g=n(8),p=n(107),f=n(54),b=n(131);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopCountriesWidget(t){var n,r,a,o=t.Widget,c=h(h({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})}))),{},{dimensions:["country"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3}),s=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(c)}),[c]),f=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[c])})),b=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[c])})),v=s||{},y=v.rows,O=void 0===y?[]:y,E=v.totals,_=null===(n=(void 0===E?[]:E)[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(a=r[0])||void 0===a?void 0:a.value,j=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0];return e.createElement(p.f,{content:r.value})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n/_,{style:"percent",maximumFractionDigits:1}))}}];return e.createElement(p.e,{Widget:o,widgetSlug:u.v,loading:b,rows:O,columns:j,ZeroState:m.h,error:f,moduleSlug:"analytics-4"})}TopCountriesWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4",FallbackComponent:b.a})(TopCountriesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(255),u=n(6),d=n(9),m=n(8),g=n(13),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopTrafficSourceWidget(t){var n,r,i,a,o,p,f,b,h,y,O,E,_,j,S=t.Widget,k=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})})),A=v(v({},k),{},{metrics:[{name:"totalUsers"}]}),T=v(v({},k),{},{dimensions:["sessionDefaultChannelGroup"],metrics:[{name:"totalUsers"}],limit:1,orderBy:"totalUsers"}),w=Object(s.useInViewSelect)((function(e){return e(d.p).getReport(A)}),[A]),D=Object(s.useInViewSelect)((function(e){return e(d.p).getReport(T)}),[T]),C=Object(s.useSelect)((function(e){var t=e(d.p).getErrorForSelector("getReport",[T]),n=e(d.p).getErrorForSelector("getReport",[A]);return t&&n?[t,n]:t||n||void 0})),N=Object(s.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[A])||!e(d.p).hasFinishedResolution("getReport",[T])})),I=function(e,t){return function(n){return Object(g.get)(n,"dimensionValues.".concat(t,".value"))===e}},R=(w||{}).rows,x=void 0===R?[]:R,P=(D||{}).rows,M=void 0===P?[]:P,L=(null===(n=M.filter(I("date_range_0",1))[0])||void 0===n||null===(r=n.dimensionValues)||void 0===r?void 0:r[0].value)||"-",G=parseInt(null===(i=x.filter(I("date_range_0",0))[0])||void 0===i||null===(a=i.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value,10)||0,B=parseInt(null===(p=M.filter(I("date_range_0",1))[0])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value,10)||0,V=G?B/G:0,F=parseInt(null===(h=x.filter(I("date_range_1",0))[0])||void 0===h||null===(y=h.metricValues)||void 0===y||null===(O=y[0])||void 0===O?void 0:O.value,10)||0,W=parseInt(null===(E=M.filter(I("date_range_1",1))[0])||void 0===E||null===(_=E.metricValues)||void 0===_||null===(j=_[0])||void 0===j?void 0:j.value,10)||0,Z=F?W/F:0,z={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(l.a,{Widget:S,widgetSlug:u.A,metricValue:L,metricValueFormat:z,subText:Object(c.sprintf)( /* translators: %d: Percentage of users for the current top traffic source compared to the number of total users for all traffic sources. */ Object(c.__)("%s of total traffic","google-site-kit"),Object(m.C)(V,z)),previousValue:Z,currentValue:V,loading:N,error:C,moduleSlug:"analytics-4"})}TopTrafficSourceWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopTrafficSourceWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(255),u=n(6),d=n(9),m=n(8),g=n(13),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopTrafficSourceDrivingAddToCartWidget(t){var n,r,i,a,o,p,f,b,h,y,O,E,_,j,S=t.Widget,k=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})})),A=Object(s.useSelect)((function(e){return e(d.p).getDetectedEvents()})),T=null==A?void 0:A.includes("add_to_cart"),w=v(v({},k),{},{metrics:[{name:"addToCarts"}]}),D=v(v({},k),{},{dimensions:["sessionDefaultChannelGroup"],metrics:[{name:"addToCarts"}],limit:1,orderBy:"addToCarts"}),C=Object(s.useInViewSelect)((function(e){return T?e(d.p).getReport(w):void 0}),[T,w]),N=Object(s.useInViewSelect)((function(e){return T?e(d.p).getReport(D):void 0}),[T,D]),I=Object(s.useSelect)((function(e){var t=e(d.p).getErrorForSelector("getReport",[D]),n=e(d.p).getErrorForSelector("getReport",[w]);return t&&n?[t,n]:t||n||void 0})),R=Object(s.useSelect)((function(e){return T?!e(d.p).hasFinishedResolution("getReport",[w])||!e(d.p).hasFinishedResolution("getReport",[D]):void 0})),x=function(e,t){return function(n){return Object(g.get)(n,"dimensionValues.".concat(t,".value"))===e}},P=(C||{}).rows,M=void 0===P?[]:P,L=(N||{}).rows,G=void 0===L?[]:L,B=(null===(n=G.filter(x("date_range_0",1))[0])||void 0===n||null===(r=n.dimensionValues)||void 0===r?void 0:r[0].value)||"-",V=parseInt(null===(i=M.filter(x("date_range_0",0))[0])||void 0===i||null===(a=i.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value,10)||0,F=parseInt(null===(p=G.filter(x("date_range_0",1))[0])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value,10)||0,W=V?F/V:0,Z=parseInt(null===(h=M.filter(x("date_range_1",0))[0])||void 0===h||null===(y=h.metricValues)||void 0===y||null===(O=y[0])||void 0===O?void 0:O.value,10)||0,z=parseInt(null===(E=G.filter(x("date_range_1",1))[0])||void 0===E||null===(_=E.metricValues)||void 0===_||null===(j=_[0])||void 0===j?void 0:j.value,10)||0,U=Z?z/Z:0,H={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(l.a,{Widget:S,widgetSlug:u.B,metricValue:B,metricValueFormat:H,subText:Object(c.sprintf)( /* translators: %s: Percentage of add to carts for the current top traffic source compared to the number of total add to carts for all traffic sources. */ Object(c.__)("%s of total add to carts","google-site-kit"),Object(m.C)(W,H)),previousValue:U,currentValue:W,loading:R,error:I,moduleSlug:"analytics-4"})}TopTrafficSourceDrivingAddToCartWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopTrafficSourceDrivingAddToCartWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(255),u=n(6),d=n(9),m=n(8),g=n(13),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){var n,r,i,a,o=null==e||null===(n=e[0])||void 0===n||null===(r=n.dimensionValues)||void 0===r?void 0:r.find((function(e){return e.value===t}));return null==e||null===(i=e[0])||void 0===i||null===(a=i.dimensionValues)||void 0===a?void 0:a.indexOf(o)}function TopTrafficSourceDrivingLeadsWidget(t){var n,r,i,a,o,p,f,b,y,O,E,_,j,S,k=t.Widget,A=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})})),T=Object(s.useSelect)((function(e){return e(d.p).getDetectedEvents()})),w=["submit_lead_form","contact","generate_lead"].filter((function(e){return null==T?void 0:T.includes(e)}));w.includes("submit_lead_form")&&w.includes("contact")&&w.splice(w.indexOf("contact"),1);var D=v(v({},A),{},{metrics:[{name:"eventCount"}],dimensions:["eventName"],dimensionFilters:{eventName:{filterType:"inListFilter",value:w}}}),C=v(v({},A),{},{dimensions:["sessionDefaultChannelGroup","eventName"],dimensionFilters:{eventName:{filterType:"inListFilter",value:w}},metrics:[{name:"eventCount"}],limit:1,orderBy:"eventCount"}),N=Object(s.useInViewSelect)((function(e){return w.length?e(d.p).getReport(D):void 0}),[w,D]),I=Object(s.useInViewSelect)((function(e){return w.length?e(d.p).getReport(C):void 0}),[w,C]),R=Object(s.useSelect)((function(e){var t=e(d.p).getErrorForSelector("getReport",[C]),n=e(d.p).getErrorForSelector("getReport",[D]);return t&&n?[t,n]:t||n||void 0})),x=Object(s.useSelect)((function(e){if(w.length)return!e(d.p).hasFinishedResolution("getReport",[D])||!e(d.p).hasFinishedResolution("getReport",[C])})),P=function(e,t){return function(n){return Object(g.get)(n,"dimensionValues.".concat(t,".value"))===e}},M=(N||{}).rows,L=void 0===M?[]:M,G=(I||{}).rows,B=void 0===G?[]:G,V=h(B,"date_range_0"),F=(null===(n=B.filter(P("date_range_0",V))[0])||void 0===n||null===(r=n.dimensionValues)||void 0===r?void 0:r[0].value)||"-",W=h(L,"date_range_0"),Z=parseInt(null===(i=L.filter(P("date_range_0",W))[0])||void 0===i||null===(a=i.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value,10)||0,z=h(B,"date_range_0"),U=parseInt(null===(p=B.filter(P("date_range_0",z))[0])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value,10)||0,H=Z?U/Z:0,q=h(L,"date_range_1"),K=parseInt(null===(y=L.filter(P("date_range_1",q))[0])||void 0===y||null===(O=y.metricValues)||void 0===O||null===(E=O[0])||void 0===E?void 0:E.value,10)||0,Y=h(B,"date_range_1"),J=parseInt(null===(_=B.filter(P("date_range_1",Y))[0])||void 0===_||null===(j=_.metricValues)||void 0===j||null===(S=j[0])||void 0===S?void 0:S.value,10)||0,$=K?J/K:0,Q={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(l.a,{Widget:k,widgetSlug:u.C,metricValue:F,metricValueFormat:Q,subText:Object(c.sprintf)( /* translators: %d: Percentage of leads for the current top traffic source compared to the number of total leads for all traffic sources. */ Object(c.__)("%s of total leads","google-site-kit"),Object(m.C)(H,Q)),previousValue:$,currentValue:H,loading:x,error:R,moduleSlug:"analytics-4"})}TopTrafficSourceDrivingLeadsWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopTrafficSourceDrivingLeadsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(2),u=n(3),d=n(6),m=n(9),g=n(530),p=n(255),f=n(8),b=n(54),v=n(131);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopConvertingTrafficSourceWidget(t){var n,r,a,o=t.Widget,c=y(y({},Object(u.useSelect)((function(e){return e(d.a).getDateRangeDates({offsetDays:m.f,compare:!0})}))),{},{dimensions:["sessionDefaultChannelGroup"],metrics:[{name:"sessionConversionRate"}],limit:1,orderBy:"sessionConversionRate"}),s=Object(g.a)((function(e){return e(m.p).getReport(c)}),[c]),b=Object(u.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[c])})),v=Object(u.useSelect)((function(e){return!e(m.p).hasFinishedResolution("getReport",[c])})),h=function(e){return(null==s?void 0:s.rows)?s.rows.filter((function(t){return i()(t.dimensionValues,2)[1].value===e}))[0]:null},O=h("date_range_0"),E=h("date_range_1"),_=(null==O||null===(n=O.dimensionValues)||void 0===n?void 0:n[0].value)||"-",j=parseFloat((null==O||null===(r=O.metricValues)||void 0===r?void 0:r[0].value)||"0"),S=parseFloat((null==E||null===(a=E.metricValues)||void 0===a?void 0:a[0].value)||"0"),k={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(p.a,{Widget:o,widgetSlug:d.u,metricValue:_,metricValueFormat:k,subText:Object(l.sprintf)( /* translators: %d: Percentage of visits that led to conversions. */ Object(l.__)("%s of visits led to conversions","google-site-kit"),Object(f.C)(j,k)),previousValue:S,currentValue:j,loading:v,error:b,moduleSlug:"analytics-4"})}TopConvertingTrafficSourceWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(b.a)({moduleName:"analytics-4",FallbackComponent:v.a})(TopConvertingTrafficSourceWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(2),s=n(3),l=n(255),u=n(6),d=n(9),m=n(8),g=n(13),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopTrafficSourceDrivingPurchasesWidget(t){var n,r,i,a,o,p,f,b,h,y,O,E,_,j,S,k,A,T,w,D,C,N,I=t.Widget,R=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})})),x=Object(s.useSelect)((function(e){return e(d.p).getDetectedEvents()})),P=null==x?void 0:x.includes("purchase"),M=v(v({},R),{},{metrics:[{name:"ecommercePurchases"}]}),L=v(v({},R),{},{dimensions:["sessionDefaultChannelGroup"],metrics:[{name:"ecommercePurchases"}],limit:1,orderBy:"ecommercePurchases"}),G=Object(s.useInViewSelect)((function(e){return P?e(d.p).getReport(M):void 0}),[P,M]),B=!!(null==G?void 0:G.rows)&&((null==G||null===(n=G.rows)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)>0||(null==G||null===(o=G.rows)||void 0===o||null===(p=o[1])||void 0===p||null===(f=p.metricValues)||void 0===f||null===(b=f[0])||void 0===b?void 0:b.value)>0),V=Object(s.useInViewSelect)((function(e){return P&&B?e(d.p).getReport(L):void 0}),[P,B,L]),F=Object(s.useSelect)((function(e){var t=e(d.p).getErrorForSelector("getReport",[L]),n=e(d.p).getErrorForSelector("getReport",[M]);return t&&n?[t,n]:t||n||void 0})),W=Object(s.useSelect)((function(e){return P?!e(d.p).hasFinishedResolution("getReport",[M])||!e(d.p).hasFinishedResolution("getReport",[L])&&B:void 0})),Z=function(e,t){return function(n){return Object(g.get)(n,"dimensionValues.".concat(t,".value"))===e}},z=(G||{}).rows,U=void 0===z?[]:z,H=(V||{}).rows,q=void 0===H?[]:H,K=(null===(h=q.filter(Z("date_range_0",1))[0])||void 0===h||null===(y=h.dimensionValues)||void 0===y?void 0:y[0].value)||"-",Y=parseInt(null===(O=U.filter(Z("date_range_0",0))[0])||void 0===O||null===(E=O.metricValues)||void 0===E||null===(_=E[0])||void 0===_?void 0:_.value,10)||0,J=parseInt(null===(j=q.filter(Z("date_range_0",1))[0])||void 0===j||null===(S=j.metricValues)||void 0===S||null===(k=S[0])||void 0===k?void 0:k.value,10)||0,$=Y?J/Y:0,Q=parseInt(null===(A=U.filter(Z("date_range_1",0))[0])||void 0===A||null===(T=A.metricValues)||void 0===T||null===(w=T[0])||void 0===w?void 0:w.value,10)||0,X=parseInt(null===(D=q.filter(Z("date_range_1",1))[0])||void 0===D||null===(C=D.metricValues)||void 0===C||null===(N=C[0])||void 0===N?void 0:N.value,10)||0,ee=Q?X/Q:0,te={style:"percent",signDisplay:"never",maximumFractionDigits:1};return e.createElement(l.a,{Widget:I,widgetSlug:u.D,metricValue:K,metricValueFormat:te,subText:Object(c.sprintf)( /* translators: %s: Percentage of purchases for the current top traffic source compared to the number of total purchases for all traffic sources. */ Object(c.__)("%s of total purchases","google-site-kit"),Object(m.C)($,te)),previousValue:ee,currentValue:$,loading:W,error:F,moduleSlug:"analytics-4"})}TopTrafficSourceDrivingPurchasesWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopTrafficSourceDrivingPurchasesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(82),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function PagesPerVisitWidget(t){var n,r,i,a,o,p,f,b,h,y=t.Widget,O=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{metrics:[{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),E=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(O)}),[O]),_=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[O])})),j=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[O])})),S=(E||{}).rows,k=void 0===S?[]:S,A=function(e){return function(t){return Object(c.get)(t,"dimensionValues.0.value")===e}},T=Number(null===(n=k.find(A("date_range_0")))||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,w=Number(null===(a=k.find(A("date_range_1")))||void 0===a||null===(o=a.metricValues)||void 0===o||null===(p=o[0])||void 0===p?void 0:p.value)||0,D=Number(null===(f=k.find(A("date_range_0")))||void 0===f||null===(b=f.metricValues)||void 0===b||null===(h=b[1])||void 0===h?void 0:h.value)||0;return e.createElement(m.d,{Widget:y,widgetSlug:u.k,metricValue:T,metricValueFormat:{style:"decimal",maximumFractionDigits:2},subText:Object(s.sprintf)( /* translators: %s: Number of total page views. */ Object(s.__)("%s page views","google-site-kit"),Object(g.d)(D,{style:"decimal"})),previousValue:w,currentValue:T,loading:j,error:_,moduleSlug:"analytics-4"})}PagesPerVisitWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(PagesPerVisitWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(82),p=n(54),f=n(131);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VisitLengthWidget(t){var n,r,i,a,o,p,f,b,h,y=t.Widget,O=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{metrics:[{name:"averageSessionDuration"},{name:"sessions"}]}),E=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(O)}),[O]),_=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[O])})),j=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[O])})),S=(E||{}).rows,k=void 0===S?[]:S,A=function(e){return function(t){return Object(c.get)(t,"dimensionValues.0.value")===e}},T=Number(null===(n=k.find(A("date_range_0")))||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,w=Number(null===(a=k.find(A("date_range_1")))||void 0===a||null===(o=a.metricValues)||void 0===o||null===(p=o[0])||void 0===p?void 0:p.value)||0,D=Number(null===(f=k.find(A("date_range_0")))||void 0===f||null===(b=f.metricValues)||void 0===b||null===(h=b[1])||void 0===h?void 0:h.value)||0;return e.createElement(m.d,{Widget:y,widgetSlug:u.F,metricValue:T,metricValueFormat:"s",subText:Object(s.sprintf)( /* translators: %s: Number of total page views. */ Object(s.__)("%s total visits","google-site-kit"),Object(g.d)(D,{style:"decimal"})),previousValue:w,currentValue:T,loading:j,error:_,moduleSlug:"analytics-4"})}VisitLengthWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(VisitLengthWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(6),l=n(9),u=n(107),d=n(20),m=n(138),g=n(8),p=n(54),f=n(131),b=n(35);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopReturningVisitorPages(t){var n=t.Widget,r=Object(b.a)(),i=Object(c.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})})),a=h(h({},i),{},{dimensions:["pagePath"],dimensionFilters:{newVsReturning:"returning"},metrics:[{name:"activeUsers"}],orderby:[{metric:{metricName:"activeUsers"},desc:!0}],limit:3}),o=Object(c.useInViewSelect)((function(e){return e(l.p).getReport(a)}),[a]),p=Object(c.useSelect)((function(e){return e(l.p).getErrorForSelector("getReport",[a])})),f=Object(c.useInViewSelect)((function(e){return p?void 0:e(l.p).getPageTitles(o,a)}),[p,o,a]),v=Object(c.useSelect)((function(e){return!e(l.p).hasFinishedResolution("getReport",[a])||void 0===f})),y=(o||{}).rows,O=void 0===y?[]:y,E=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,a=f[n],o=Object(c.useSelect)((function(e){return r?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:i})}));return r?e.createElement(u.f,{content:a}):e.createElement(d.a,{href:o,title:a,external:!0,hideExternalIndicator:!0},a)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(u.e,{Widget:n,widgetSlug:s.z,loading:v,rows:O,columns:E,ZeroState:m.h,error:p,moduleSlug:"analytics-4"})}TopReturningVisitorPages.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopReturningVisitorPages)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),s=n(2),l=n(3),u=n(6),d=n(9),m=n(107),g=n(54),p=n(131),f=n(8);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VisitsPerVisitorWidget(t){var n,r,i,a,o,g,p,b,h,y=t.Widget,O=v(v({},Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f,compare:!0})}))),{},{metrics:[{name:"sessionsPerUser"},{name:"sessions"}]}),E=Object(l.useInViewSelect)((function(e){return e(d.p).getReport(O)}),[O]),_=Object(l.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[O])})),j=Object(l.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[O])})),S=(E||{}).rows,k=void 0===S?[]:S,A=function(e){return function(t){return Object(c.get)(t,"dimensionValues.0.value")===e}},T=(null===(n=k.find(A("date_range_0")))||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,w=(null===(a=k.find(A("date_range_1")))||void 0===a||null===(o=a.metricValues)||void 0===o||null===(g=o[0])||void 0===g?void 0:g.value)||0,D=Number(null===(p=k.find(A("date_range_0")))||void 0===p||null===(b=p.metricValues)||void 0===b||null===(h=b[1])||void 0===h?void 0:h.value)||0;return e.createElement(m.d,{Widget:y,widgetSlug:u.E,metricValue:T,subText:Object(s.sprintf)( /* translators: %d: Number of total visits to the site. */ Object(s.__)("%s total visits","google-site-kit"),Object(f.C)(D,{style:"decimal"})),previousValue:Number(w),currentValue:Number(T),loading:j,error:_,moduleSlug:"analytics-4"})}VisitsPerVisitorWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(g.a)({moduleName:"analytics-4",FallbackComponent:p.a})(VisitsPerVisitorWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(371),u=n(2),d=n(3),m=n(9),g=n(20),p=n(8),f=n(107),b=n(54),v=n(131),h=n(35),y=n(565),O=n(6);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e){var t=Object(p.t)(e,1);return{startDate:Object(p.t)(e,3),endDate:t}}function S(e){var t=Object(p.t)(e,1),n=Object(p.t)(e,2),r=Object(p.t)(e,3);return _(_({},j(e)),{},{dimensions:["pagePath"],dimensionFilters:{"customEvent:googlesitekit_post_date":{filterType:"inListFilter",value:[t.replace(/-/g,""),n.replace(/-/g,""),r.replace(/-/g,"")]}},metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3})}function CustomZeroDataMessage(){return Object(u.__)("No data to display: either no pages were published in the last three days, or they haven’t received any visitors yet","google-site-kit")}function TopRecentTrendingPagesWidget(t){var n=t.Widget,r=Object(h.a)(),a=Object(d.useSelect)((function(e){var t=e(O.a).getReferenceDate();return[j(t),S(t)]})),o=i()(a,2),c=o[0],s=o[1],l=Object(d.useInViewSelect)((function(e){return e(m.p).getReport(s)}),[s]),u=Object(d.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[s])})),b=Object(d.useInViewSelect)((function(e){return!u&&l?e(m.p).getPageTitles(l,s):void 0}),[u,l,s]),v=Object(d.useSelect)((function(e){return!e(m.p).hasFinishedResolution("getReport",[s])||void 0===b})),y=(l||{}).rows,E=void 0===y?[]:y,_=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,i=b[n],a=Object(d.useSelect)((function(e){return r?null:e(m.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:c})}));return r?e.createElement(f.f,{content:i}):e.createElement(g.a,{href:a,title:i,external:!0,hideExternalIndicator:!0},i)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(p.C)(n))}}];return e.createElement(f.e,{Widget:n,widgetSlug:O.y,loading:v,rows:E,columns:_,ZeroState:CustomZeroDataMessage,error:u,moduleSlug:"analytics-4"})}TopRecentTrendingPagesWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(l.a)(Object(b.a)({moduleName:"analytics-4",FallbackComponent:v.a}),Object(y.a)({reportOptions:function(e){return S(e(O.a).getReferenceDate())}}))(TopRecentTrendingPagesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(371),u=n(3),d=n(6),m=n(9),g=n(8),p=n(138),f=n(107),b=n(54),v=n(565),h=n(131);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e){return O(O({},e(d.a).getDateRangeDates({offsetDays:m.f})),{},{dimensions:["customEvent:googlesitekit_post_categories"],dimensionFilters:{"customEvent:googlesitekit_post_categories":{filterType:"stringFilter",matchType:"EXACT",value:"(not set)",notExpression:!0}},metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3})}function TopCategoriesWidget(t){var n=t.Widget,r=Object(u.useSelect)(E),a=Object(u.useInViewSelect)((function(e){return e(m.p).getReport(r)}),[r]),o=Object(u.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[r])})),c=Object(u.useSelect)((function(e){return!e(m.p).hasFinishedResolution("getReport",[r])})),s=(a||{}).rows,l=void 0===s?[]:s,b=[{field:"dimensionValues",Component:function Component(t){var n=t.fieldValue,r=i()(n,1)[0],a="string"==typeof(null==r?void 0:r.value)?r.value.split("; "):[],o=Object(g.z)(a.map(String),{style:"narrow"});return e.createElement(f.f,{content:o})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(f.e,{Widget:n,widgetSlug:d.p,loading:c,rows:l,columns:b,ZeroState:p.h,error:o,moduleSlug:"analytics-4"})}TopCategoriesWidget.propTypes={Widget:s.a.elementType.isRequired},t.a=Object(l.a)(Object(b.a)({moduleName:"analytics-4",FallbackComponent:h.a}),Object(v.a)({reportOptions:E}))(TopCategoriesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(6),l=n(9),u=n(107),d=n(20),m=n(138),g=n(8),p=n(54),f=n(131),b=n(35);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TopPagesDrivingLeadsWidget(t){var n=t.Widget,r=Object(b.a)(),i=Object(c.useSelect)((function(e){return e(s.a).getDateRangeDates({offsetDays:l.f})})),a=Object(c.useSelect)((function(e){return e(l.p).getDetectedEvents()})),o=["submit_lead_form","contact","generate_lead"].filter((function(e){return null==a?void 0:a.includes(e)}));o.includes("submit_lead_form")&&o.includes("contact")&&o.splice(o.indexOf("contact"),1);var p=h(h({},i),{},{dimensions:["pagePath","eventName"],dimensionFilters:{eventName:{filterType:"inListFilter",value:o}},metrics:[{name:"eventCount"}],orderby:[{metric:{metricName:"eventCount"},desc:!0}],limit:3}),f=Object(c.useInViewSelect)((function(e){return(null==o?void 0:o.length)?e(l.p).getReport(p):void 0}),[o,p]),v=Object(c.useSelect)((function(e){return e(l.p).getErrorForSelector("getReport",[p])})),y=Object(c.useInViewSelect)((function(e){if((null==o?void 0:o.length)&&!v)return e(l.p).getPageTitles(f,p)}),[o,v,f,p]),O=Object(c.useSelect)((function(e){if(null==o?void 0:o.length)return!e(l.p).hasFinishedResolution("getReport",[p])||void 0===y})),E=(f||{}).rows,_=void 0===E?[]:E,j=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue,a=y[n],o=Object(c.useSelect)((function(e){return r?null:e(l.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:n},dates:i})}));return r?e.createElement(u.f,{content:a}):e.createElement(d.a,{href:o,title:a,external:!0,hideExternalIndicator:!0},a)}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(g.C)(n))}}];return e.createElement(u.e,{Widget:n,widgetSlug:s.x,loading:O,rows:_,columns:j,ZeroState:m.h,error:v,moduleSlug:"analytics-4"})}TopPagesDrivingLeadsWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a})(TopPagesDrivingLeadsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(371),s=n(3),l=n(6),u=n(9),d=n(107),m=n(138),g=n(565),p=n(54),f=n(131),b=n(8);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return h(h({},e(l.a).getDateRangeDates({offsetDays:u.f})),{},{dimensions:["customEvent:googlesitekit_post_author"],dimensionFilters:{"customEvent:googlesitekit_post_author":{filterType:"stringFilter",matchType:"EXACT",value:"(not set)",notExpression:!0}},metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3})}function PopularAuthorsWidget(t){var n=t.Widget,r=Object(s.useSelect)(y),i=Object(s.useInViewSelect)((function(e){return e(u.p).getReport(r)}),[r]),a=Object(s.useSelect)((function(e){return e(u.p).getErrorForSelector("getReport",[r])})),o=Object(s.useSelect)((function(e){return!e(u.p).hasFinishedResolution("getReport",[r])})),c=(i||{}).rows,g=void 0===c?[]:c,p=[{field:"dimensionValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement(d.f,{content:n})}},{field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(b.C)(n))}}];return e.createElement(d.e,{Widget:n,widgetSlug:l.l,loading:o,rows:g,columns:p,ZeroState:m.h,error:a,moduleSlug:"analytics-4"})}PopularAuthorsWidget.propTypes={Widget:o.a.elementType.isRequired},t.a=Object(c.a)(Object(p.a)({moduleName:"analytics-4",FallbackComponent:f.a}),Object(g.a)({reportOptions:y}))(PopularAuthorsWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),i=n(10),a=n(9),o=n(14),c=n(19),s=n(762),l=n(728),u=n(138);function SettingsEdit(){var t=Object(r.useSelect)((function(e){return e(a.p).getAccountSummaries()}))||[],n=Object(r.useSelect)((function(e){return e(a.p).getAccountID()})),d=Object(r.useSelect)((function(e){return e(a.p).isDoingSubmitChanges()})),m=Object(r.useSelect)((function(e){return e(a.p).hasFinishedResolution("getAccountSummaries")})),g=Object(r.useSelect)((function(e){return e(o.c).isUsingProxy()})),p=Object(r.useSelect)((function(e){var t=e(c.a),n=t.hasModuleOwnershipOrAccess,r=t.getErrorForAction,i=n("analytics-4");if(i)return!0;var a=r("checkModuleAccess",["analytics-4"]);return void 0!==i||a?!1!==i&&"module_not_connected"===(null==a?void 0:a.code):void 0}));Object(s.a)();var f,b=a.a===n;return f=d||!m||void 0===p?e.createElement(i.ProgressBar,null):!t.length||b?g?e.createElement(u.a,null):e.createElement(u.b,null):e.createElement(l.a,{hasModuleAccess:p}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},f)}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(266),i=n.n(r),a=n(2),o=n(38),c=n(3),s=n(9),l=n(723),u=n(729),d=n(144),m=n(187),g=n(20),p=n(105),f=n(404);function b(){var e=i()(["/a","p","/admin/account/settings"]);return b=function(){return e},e}function SettingsView(){var t=Object(c.useSelect)((function(e){return e(s.p).getAccountID()})),n=Object(c.useSelect)((function(e){return e(s.p).getPropertyID()})),r=Object(c.useSelect)((function(e){return e(s.p).getMeasurementID()})),i=Object(c.useSelect)((function(e){return e(s.p).getGoogleTagID()})),v=Object(c.useSelect)((function(e){return e(s.p).getUseSnippet()})),h=Object(c.useSelect)((function(e){return e(s.p).getServiceURL({path:Object(f.a)(b(),t,n)})})),y=Object(c.useSelect)((function(e){return e(s.p).getServiceEntityAccessURL()}));return n&&n!==s.q?e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement(d.a,{moduleSlug:"analytics-4",storeName:s.p}),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Account","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(m.b,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(g.a,{href:h,external:!0},Object(o.a)(Object(a.__)("Edit <VisuallyHidden>account </VisuallyHidden>in Analytics","google-site-kit"),{VisuallyHidden:e.createElement(p.a,null)}))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(m.b,{value:n}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(o.a)(Object(a.__)("<VisuallyHidden>Google Analytics</VisuallyHidden> Measurement ID","google-site-kit"),{VisuallyHidden:e.createElement(p.a,null)})),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(m.b,{value:r}))),i&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Google Tag ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(m.b,{value:i}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(g.a,{href:y,external:!0},Object(o.a)(Object(a.__)("Edit <VisuallyHidden>web data stream </VisuallyHidden>in Analytics","google-site-kit"),{VisuallyHidden:e.createElement(p.a,null)}))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},v&&e.createElement("span",null,Object(a.__)("Snippet is inserted","google-site-kit")),!1===v&&e.createElement("span",null,Object(a.__)("Snippet is not inserted","google-site-kit")),void 0===v&&m.a))),e.createElement(u.a,null),e.createElement(l.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(2),m=n(0),g=n(3),p=n(10),f=n(761),b=n(733),v=n(14),h=n(9),y=n(762),O=n(138);function SetupMain(t){var n=t.finishSetup,r=Object(g.useSelect)((function(e){return e(h.p).getAccountSummaries()})),a=Object(g.useSelect)((function(e){return e(h.p).getAccountID()})),c=Object(g.useSelect)((function(e){return e(h.p).hasFinishedResolution("getAccountSummaries")})),l=Object(g.useSelect)((function(e){return e(v.c).isUsingProxy()})),u=Object(g.useDispatch)(h.p).setAccountID,E=Object(g.useDispatch)(h.p),_=E.findMatchedAccount,j=E.matchAndSelectProperty,S=Object(m.useState)(!1),k=s()(S,2),A=k[0],T=k[1];Object(m.useEffect)((function(){r&&(a||function(){var e=o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(!0),e.next=3,_();case 3:t=e.sent,T(!1),t&&(u(t._id),j(t._id));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()())}),[_,r,u,a,j]),Object(y.a)();var w,D=h.a===a;return w=!c||A?e.createElement(p.ProgressBar,null):D||Array.isArray(r)&&!r.length?l?e.createElement(O.a,null):e.createElement(O.b,null):e.createElement(b.a,{finishSetup:n}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(f.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("Analytics","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},w))}SetupMain.propTypes={finishSetup:u.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(2),s=n(0),l=n(109),u=n(3),d=n(9),m=n(357),g=n(14),p=n(6),f=n(24),b=n(104),v=n(8),h=n(54),y=n(134),O=n(984),E=n(985),_=n(986),j=n(987),S=n(35),k=n(205);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=Object(h.a)({moduleName:"analytics-4"})((function DashboardAllTrafficWidgetGA4(t){var n=t.Widget,r=t.WidgetReportError,a=Object(S.a)(),h=Object(u.useSelect)((function(e){return!a||e(p.a).canViewSharedModule("analytics-4")})),A=Object(u.useInViewSelect)((function(e){return h&&e(d.p).isGatheringData()})),w=void 0!==A,D=Object(s.useState)(!0),C=o()(D,2),N=C[0],I=C[1],R=Object(s.useState)(""),x=o()(R,2),P=x[0],M=x[1],L=Object(u.useSelect)((function(e){return e(p.a).getDateRange()})),G=Object(u.useSelect)((function(e){return e(f.b).getValue(d.v)||"sessionDefaultChannelGrouping"})),B=Object(u.useSelect)((function(e){return e(f.b).getValue(d.w)})),V=Object(u.useSelect)((function(e){return e(g.c).getCurrentEntityURL()})),F=Object(u.useSelect)((function(e){return e(p.a).getDateRangeDates({compare:!0,offsetDays:d.f})})),W=F.startDate,Z=F.endDate,z=F.compareStartDate,U=F.compareEndDate,H={startDate:W,endDate:Z,metrics:[{name:"totalUsers"}]},q=T(T({},H),{},{compareStartDate:z,compareEndDate:U,dimensions:[G],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:6}),K=T(T({},H),{},{dimensions:["date"],orderby:[{dimension:{dimensionName:"date"}}]}),Y=T(T({},H),{},{compareStartDate:z,compareEndDate:U});V&&(q.url=V,K.url=V,Y.url=V),G&&B&&(K.dimensionFilters=i()({},G,B),Y.dimensionFilters=i()({},G,B));var J,$=Object(u.useSelect)((function(e){return h&&e(d.p).hasFinishedResolution("getReport",[q])})),Q=Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[q])})),X=Object(u.useInViewSelect)((function(e){return h&&e(d.p).getReport(q)}),[h,q]),ee=Object(u.useSelect)((function(e){return h&&e(d.p).hasFinishedResolution("getReport",[K])})),te=Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[K])})),ne=Object(u.useInViewSelect)((function(e){return h&&e(d.p).getReport(K)}),[h,K]),re=Object(u.useSelect)((function(e){return h&&e(d.p).hasFinishedResolution("getReport",[Y])})),ie=Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[Y])})),ae=Object(u.useInViewSelect)((function(e){return h&&e(d.p).getReport(Y)}),[h,Y]),oe={dates:{startDate:W,endDate:Z,compareStartDate:z,compareEndDate:U}};switch(G){case"country":J="user-demographics-detail",oe.details={metric:"activeUsers",dimension:"country"},oe.otherArgs={collectionId:"user"};break;case"deviceCategory":J="user-technology-detail",oe.details={metric:"activeUsers",dimension:"deviceCategory"},oe.otherArgs={collectionId:"user"};break;case"sessionDefaultChannelGrouping":default:J="lifecycle-traffic-acquisition-v2",oe.otherArgs={collectionId:"life-cycle"}}Object(l.a)(V)&&(oe.filters={unifiedPagePathScreen:Object(v.u)(V)});var ce=Object(u.useSelect)((function(e){return a?null:e(d.p).getServiceReportURL(J,oe)}));Object(s.useEffect)((function(){L!==P?(I(!0),M(L)):$&&re&&ee&&I(!1)}),[$,re,ee,L,P]);var se=Object(u.useDispatch)(f.b).setValue;Object(s.useEffect)((function(){N&&$&&re&&ee&&se(d.t,!0)}),[N,$,re,ee,se]);var le=[Q,Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[e(d.p).getSampleReportArgs()])})),ie,te].filter(Boolean);if(Q||ie||te)return e.createElement(n,null,e.createElement(r,{moduleSlug:"analytics-4",error:le}));var ue=Object(m.d)(X);return e.createElement(n,{className:"googlesitekit-widget--footer-v2 googlesitekit-widget__analytics--all-traffic",Footer:function Footer(){return e.createElement(y.a,{className:"googlesitekit-data-block__source",name:Object(c._x)("Analytics","Service name","google-site-kit"),href:ce,external:!0})},noPadding:!0},e.createElement(b.b,null,e.createElement(b.c,null,e.createElement(b.a,{className:"googlesitekit-widget--analyticsAllTraffic__totals",lgSize:7,mdSize:8},e.createElement(O.a,{loaded:w&&re&&!N,report:ae,error:ie,dimensionValue:B,gatheringData:A}),e.createElement(E.a,{loaded:w&&ee&&!N,error:te,report:ne,gatheringData:A})),e.createElement(b.a,{className:"googlesitekit-widget--analyticsAllTraffic__dimensions",lgSize:5,mdSize:8},e.createElement(_.a,{loaded:w&&!N,dimensionName:G,gatheringData:A,isZeroData:ue}),e.createElement(j.a,{dimensionName:G,dimensionValue:B,gatheringData:A,loaded:w&&$&&!N,report:X})))),!a&&e.createElement(k.a,{triggerID:"view_ga4_dashboard",ttl:v.a}))}))}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(2),o=n(109),c=n(3),s=n(9),l=n(6),u=n(14),d=n(104),m=n(40),g=n(214),p=n(989),f=n(134),b=n(54),v=n(990),h=n(8),y=n(509),O=n(35),E=n(492);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=Object(b.a)({moduleName:"analytics-4"})((function DashboardOverallPageMetricsWidgetGA4(t){var n=t.Widget,r=t.WidgetReportError,i=Object(c.useInViewSelect)((function(e){return e(s.p).isGatheringData()})),b=Object(O.a)(),_=Object(c.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:s.f,compare:!0})})),S=Object(c.useSelect)((function(e){return e(u.c).getCurrentEntityURL()})),k=j(j({},_),{},{dimensions:["date"],metrics:[{name:"screenPageViews"},{name:"sessions"},{name:"engagementRate"},{name:"averageSessionDuration"}],orderby:[{dimension:{dimensionName:"date"}}],url:S}),A={dates:_,otherArgs:{collectionId:"life-cycle"}};Object(o.a)(S)&&(A.filters={unifiedPagePathScreen:Object(h.u)(S)});var T=Object(c.useSelect)((function(e){return!e(s.p).hasFinishedResolution("getReport",[k])})),w=Object(c.useSelect)((function(e){return e(s.p).getErrorForSelector("getReport",[k])})),D=Object(c.useSelect)((function(e){return b?null:e(s.p).getServiceReportURL("all-pages-and-screens",A)})),C=Object(c.useInViewSelect)((function(e){return e(s.p).getReport(k)}),[k]),N=Object(c.useSelect)((function(e){return e(l.a).getDateRangeNumberOfDays()}));function Footer(){return e.createElement(f.a,{className:"googlesitekit-data-block__source",name:Object(a._x)("Analytics","Service name","google-site-kit"),href:D,external:!0})}if(T||void 0===i)return e.createElement(n,{Footer:Footer},e.createElement(m.a,{width:"100%",height:"222px"}));if(w)return e.createElement(n,{Footer:Footer},e.createElement(r,{moduleSlug:"analytics-4",error:w}));var I=Object(v.a)(C,_.startDate);return e.createElement(n,{Header:function Header(){return e.createElement(y.a,{title:Object(a.sprintf)( /* translators: %s: number of days */ Object(a._n)("Overall page metrics over the last %s day","Overall page metrics over the last %s days",N,"google-site-kit"),N)})},Footer:Footer},e.createElement(d.b,null,e.createElement(E.a,{className:"mdc-layout-grid__inner"},I.map((function(t){var n=t.metric,r=t.title,a=t.sparkLineData,o=t.datapointUnit,c=t.total,s=t.change;return e.createElement(d.a,{key:n,smSize:2,lgSize:3},e.createElement(g.a,{title:r,datapoint:c,datapointUnit:o,change:s,changeDataUnit:"%",gatheringData:i,sparkline:e.createElement(p.a,{data:a,change:s,gatheringData:i})}))})))))}))}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(13),u=n(2),d=n(3),m=n(6),g=n(9),p=n(8),f=n(54),b=n(490),v=n(666),h=n(489),y=n(403),O=n(138),E=n(778),_=n(779),j=n(35),S=n(667);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ModulePopularPagesWidgetGA4(t){var n,r=t.Widget,a=t.WidgetReportError,o=Object(d.useInViewSelect)((function(e){return e(g.p).isGatheringData()})),c=Object(d.useSelect)((function(e){return e(m.a).getDateRangeDates({offsetDays:g.f})})),s=Object(j.a)(),f=A(A({},c),{},{dimensions:["pagePath"],metrics:[{name:"screenPageViews"},{name:"sessions"},{name:"engagementRate"},{name:"averageSessionDuration"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:10}),k=Object(d.useSelect)((function(e){return e(g.p).getErrorForSelector("getReport",[f])})),T=Object(d.useInViewSelect)((function(e){return e(g.p).getReport(f)}),[f]),w=Object(d.useInViewSelect)((function(e){return k?void 0:e(g.p).getPageTitles(T,f)}),[k,T,f]),D=Object(d.useSelect)((function(e){var t=e(g.p).hasFinishedResolution("getReport",[f]);return void 0!==k||t&&void 0!==w})),C=Object(d.useSelect)((function(e){return e(m.a).getCurrentTour()===S.a})),N=!D||void 0===o;if(N&&!C)return e.createElement(r,{Header:E.a,Footer:_.a,noPadding:!0},e.createElement(y.a,{padding:!0}));if(k)return e.createElement(r,{Header:E.a,Footer:_.a},e.createElement(a,{moduleSlug:"analytics-4",error:k}));var I=[{title:Object(u.__)("Title","google-site-kit"),description:Object(u.__)("Page Title","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,r=i()(n.dimensionValues,2),a=r[0].value,o=r[1].value,l=Object(d.useSelect)((function(e){return s?null:e(g.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:o},dates:c})}));return e.createElement(v.a,{title:a,path:o,serviceURL:l})}},{title:Object(u.__)("Pageviews","google-site-kit"),description:Object(u.__)("Pageviews","google-site-kit"),field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(p.C)(n,{style:"decimal"}))}},{title:Object(u.__)("Sessions","google-site-kit"),description:Object(u.__)("Sessions","google-site-kit"),hideOnMobile:!0,field:"metricValues.1.value",className:"googlesitekit-table__head-item--sessions",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(p.C)(n,{style:"decimal"}))}},{title:Object(u.__)("Engagement Rate","google-site-kit"),description:Object(u.__)("Engagement Rate","google-site-kit"),hideOnMobile:!0,field:"metricValues.2.value",className:"googlesitekit-table__head-item--engagement-rate",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(p.C)(n,"%"))}},{title:Object(u.__)("Session Duration","google-site-kit"),description:Object(u.__)("Session Duration","google-site-kit"),hideOnMobile:!0,field:"metricValues.3.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(p.C)(n,"s"))}}],R=(null==T||null===(n=T.rows)||void 0===n?void 0:n.length)?Object(l.cloneDeep)(T.rows):[],x=O.h;return N&&C?(R=[],x=function ZeroState(){return e.createElement(y.a,{rows:R.length||10})}):R.forEach((function(e){var t=e.dimensionValues[0].value;e.dimensionValues.unshift({value:w[t]})})),e.createElement(r,{Header:E.a,Footer:_.a,noPadding:!0},e.createElement(b.a,null,e.createElement(h.a,{rows:R,columns:I,zeroState:x,gatheringData:o})))}ModulePopularPagesWidgetGA4.propTypes={Widget:s.a.elementType.isRequired,WidgetReportError:s.a.elementType.isRequired,WidgetReportZero:s.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4"})(ModulePopularPagesWidgetGA4)}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TotalUserCount}));var r=n(15),i=n.n(r),a=n(7),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),m=n(254),g=n(1240),p=n(2),f=n(3),b=n(6),v=n(8),h=n(86),y=n(40),O=n(141),E=n(24),_=n(9),j=n(20),S=n(112);function TotalUserCount(t){var n,r,a,c,s,l,k,A,T,w=t.loaded,D=t.error,C=t.report,N=t.dimensionValue,I=t.gatheringData,R=Object(f.useSelect)((function(e){return e(b.a).getDateRange()})),x=Object(f.useDispatch)(E.b).setValues;if(!w)return e.createElement(y.a,{className:"googlesitekit-widget--analyticsAllTraffic__totalcount--loading",width:"220px",height:"90px",shape:"square"});if(D)return e.createElement(O.a,{moduleSlug:"analytics-4",error:D});var P=(C||{}).totals||[],M=i()(P,2),L=M[0],G=M[1],B=Object(v.h)(null==G||null===(n=G.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value,null==L||null===(a=L.metricValues)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.value),V=null,F=null===(s=Object(v.o)()[R])||void 0===s?void 0:s.days;return F&&(V=Object(p.sprintf)( /* translators: %s: number of days */ Object(p.__)("compared to the previous %s days","google-site-kit"),F)),e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__totalcount googlesitekit-data-block"},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-data-block__title"},!N&&e.createElement("span",null,Object(p.__)("All Visitors","google-site-kit")," "),N&&e.createElement(d.Fragment,null,N&&e.createElement(j.a,{onClick:function(){var e;x((e={},o()(e,_.w,""),o()(e,_.u,""),e))}},Object(p.__)("All Visitors","google-site-kit")),!N&&e.createElement("span",null,Object(p.__)("All Visitors","google-site-kit")),e.createElement(m.a,{icon:g.a,size:"18",fill:"currentColor"}),e.createElement("span",null,N))),I&&e.createElement(S.b,{style:S.a.LARGE}),!I&&e.createElement(d.Fragment,null,!!(null==L||null===(l=L.metricValues)||void 0===l||null===(k=l[0])||void 0===k?void 0:k.value)&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},Object(v.C)(null==L||null===(A=L.metricValues)||void 0===A||null===(T=A[0])||void 0===T?void 0:T.value)),e.createElement("div",{className:"googlesitekit-data-block__change"},!!B&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(h.a,{direction:0<=B?"up":"down",width:9,height:9})),e.createElement("span",{className:u()("googlesitekit-data-block__value",{"googlesitekit-data-block__value--up":0<B,"googlesitekit-data-block__value--down":0>B})},Object(v.C)(Math.abs(B),{style:"percent",maximumFractionDigits:1})),e.createElement("span",{className:"googlesitekit-data-block__suffix"},V))))}TotalUserCount.propTypes={loaded:s.a.bool,report:s.a.object,dimensionValue:s.a.string,gatheringData:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserCountGraph}));var r=n(15),i=n.n(r),a=n(511),o=n.n(a),c=n(27),s=n.n(c),l=n(13),u=n(1),d=n.n(u),m=n(2),g=n(3),p=n(24),f=n(6),b=n(9),v=n(349),h=n(354),y=n(141),O=n(591),E=n(35),_=n(8);function UserCountGraph(t){var n,r,a,c,u,d,j,S,k,A=t.loaded,T=t.error,w=t.report,D=t.gatheringData,C=Object(E.a)(),N=Object(g.useSelect)((function(e){return e(f.a).getDateRangeDates({offsetDays:b.f})})),I=N.startDate,R=N.endDate,x=Object(g.useSelect)((function(e){return e(p.b).getValue(b.u)||"#3c7251"})),P=Object(g.useSelect)((function(e){return C?null:e(b.p).getPropertyCreateTime()}));if(T)return e.createElement(y.a,{moduleSlug:"analytics-4",error:T});if(Array.isArray(null==w?void 0:w.rows))k=w.rows;else if(D)k=[];else{var M=Object(_.H)(I);M.setDate(M.getDate()+1);var L=Object(_.q)(M);k=[Object(O.a)(I),Object(O.a)(L),Object(O.a)(R)]}var G=[[{type:"date",label:Object(m.__)("Day","google-site-kit")},{type:"number",label:Object(m.__)("Users","google-site-kit")}]].concat(s()(k.map((function(e){var t=e.metricValues,n=e.dimensionValues;return[Object(h.a)(n[0].value),t[0].value]})))),B=G.slice(1).map((function(e){return i()(e,1)[0]})),V=o()(B).slice(1),F=Object(l.cloneDeep)(UserCountGraph.chartOptions);return F.series[0].color=x,F.hAxis.ticks=V,(null==w||null===(n=w.totals)||void 0===n||null===(r=n[0])||void 0===r||null===(a=r.metricValues)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.value)&&0!==parseInt(null==w||null===(u=w.totals)||void 0===u||null===(d=u[0])||void 0===d||null===(j=d.metricValues)||void 0===j||null===(S=j[0])||void 0===S?void 0:S.value,10)?F.vAxis.viewWindow.max=void 0:F.vAxis.viewWindow.max=100,e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__user-count-chart"},e.createElement(v.a,{chartType:"LineChart",data:G,dateMarkers:P?[{date:Object(_.q)(new Date(P)),text:Object(m.__)("Google Analytics property created","google-site-kit")}]:void 0,height:"368px",loadingHeight:"340px",loaded:A,options:F,gatheringData:D,width:"100%"}))}UserCountGraph.propTypes={loaded:d.a.bool,error:d.a.shape({}),report:d.a.object,gatheringData:d.a.bool},UserCountGraph.chartOptions={animation:{startup:!0},curveType:"function",height:340,width:"100%",colors:["#3c7251"],chartArea:{left:7,right:40,height:300,top:21},legend:{position:"none"},hAxis:{backgroundColor:"#eef4fd",format:"MMM d",gridlines:{color:"#ffffff"},textPosition:"out",textStyle:{color:"#616161",fontSize:12}},vAxis:{gridlines:{color:"#ece9f1"},lineWidth:3,minorGridlines:{color:"#ffffff"},minValue:0,textStyle:{color:"#616161",fontSize:12},textPosition:"out",viewWindow:{min:0}},series:{0:{lineWidth:3,targetAxisIndex:1}},focusTarget:"category",crosshair:{color:"#3c7251",opacity:.1,orientation:"vertical",trigger:"both"}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DimensionTabs}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(2),l=n(10),u=n(3),d=n(24),m=n(9),g=n(40),p=n(8),f=n(18),b=[{tabText:Object(s.__)("Channels","google-site-kit"),dimensionName:"sessionDefaultChannelGrouping"},{tabText:Object(s.__)("Locations","google-site-kit"),dimensionName:"country"},{tabText:Object(s.__)("Devices","google-site-kit"),dimensionName:"deviceCategory"}];function DimensionTabs(t){var n=t.dimensionName,r=t.gatheringData,a=t.loaded,o=t.isZeroData,s=Object(f.a)(),v=Object(u.useDispatch)(d.b).setValues,h=b.findIndex((function(e){return e.dimensionName===n})),y=Object(c.useCallback)((function(e){var t,n=(b[e]||{}).dimensionName;v((t={},i()(t,m.v,n),i()(t,m.w,""),i()(t,m.u,""),i()(t,m.s,null),t)),Object(p.J)("".concat(s,"_all-traffic-widget"),"tab_select",n)}),[v,s]);return a?e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs hidden-on-mobile"},e.createElement(l.TabBar,{activeIndex:h,handleActiveIndexUpdate:y},b.map((function(t){return e.createElement(l.Tab,{key:t.dimensionName,className:"mdc-tab--min-width",focusOnActivate:!1,disabled:r||o},e.createElement("span",{className:"mdc-tab__text-label"},t.tabText))})))),e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs--small"},e.createElement(l.Select,{enhanced:!0,onEnhancedChange:y,outlined:!0,value:"dimension-name-".concat(h),disabled:r||o},b.map((function(t,n){return e.createElement(l.Option,{key:t.dimensionName,value:"dimension-name-".concat(n)},t.tabText)}))))):e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs--loading"},e.createElement(g.a,{width:"100px",height:"40px",shape:"square"}),e.createElement(g.a,{width:"100px",height:"40px",shape:"square"}),e.createElement(g.a,{width:"100px",height:"40px",shape:"square"}))}DimensionTabs.propTypes={dimensionName:o.a.string.isRequired,gatheringData:o.a.bool,isZeroData:o.a.bool,loaded:o.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserDimensionsPieChart}));var i=n(7),a=n.n(i),o=n(15),c=n.n(o),s=n(12),l=n.n(s),u=n(1),d=n.n(u),m=n(13),g=n(0),p=n(2),f=n(56),b=n(3),v=n(14),h=n(24),y=n(357),O=n(9),E=n(8),_=n(349),j=n(20),S=n(40),k=n(988),A=n(112),T=n(18),w=n(591);function UserDimensionsPieChart(t){var n,i,o,s,u,d,D,C,N=t.dimensionName,I=t.dimensionValue,R=t.gatheringData,x=t.loaded,P=t.report,M=Object(g.useState)(!1),L=c()(M,2),G=L[0],B=L[1],V=Object(g.useState)(!1),F=c()(V,2),W=F[0],Z=F[1],z=Object(T.a)(),U=Object(b.useSelect)((function(e){return e(v.c).getGoogleSupportURL({path:"/analytics/answer/13331684"})})),H=Object(b.useSelect)((function(e){return e(v.c).getGoogleSupportURL({path:"/analytics/answer/13504892"})})),q=Object(b.useSelect)((function(e){return e(h.b).getValue(O.u)})),K=Object(b.useSelect)((function(e){return e(h.b).getValue(O.s)})),Y=Object(b.useSelect)((function(e){return e(O.p).hasZeroData()})),J=Object(b.useDispatch)(h.b).setValues,$=Object(g.useRef)(),Q=Object(g.useRef)();Object(g.useEffect)((function(){var t=function(e){var t,n=(e||{}).target;if(null==n||null===(t=n.classList)||void 0===t?void 0:t.contains("googlesitekit-cta-link__tooltip")){var r=n.dataset.rowLabel;"(other)"!==r&&"(not set)"!==r||Object(E.J)("".concat(z,"_all-traffic-widget"),"help_click",r)}},n=Q.current,r=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(null==t?void 0:t.keyCode)===f.c&&W&&(Z(!1),J((e={},a()(e,O.w,""),a()(e,O.u,""),a()(e,O.s,null),e)))},i=function(e){var t;W&&!(null==e||null===(t=e.target)||void 0===t?void 0:t.closest(".googlesitekit-widget--analyticsAllTraffic__dimensions-chart"))&&Z(!1)};return n&&(n.addEventListener("click",t),e.addEventListener("click",i),e.addEventListener("keyup",r)),function(){n&&(n.removeEventListener("click",t),e.removeEventListener("click",i),e.removeEventListener("keyup",r))}}),[J,K,I,q,z,W]);var X={current:null==P||null===(n=P.totals)||void 0===n||null===(i=n[0])||void 0===i||null===(o=i.metricValues)||void 0===o||null===(s=o[0])||void 0===s?void 0:s.value,previous:null==P||null===(u=P.totals)||void 0===u||null===(d=u[1])||void 0===d||null===(D=d.metricValues)||void 0===D||null===(C=D[0])||void 0===C?void 0:C.value};((null==P?void 0:P.rows)||[]).forEach((function(e){var t=e.dimensionValues,n=e.metricValues,r=t[1].value;"date_range_0"===r?X.current-=n[0].value:"date_range_1"===r&&(X.previous-=n[0].value)}));var ee=Object(y.b)(P,{keyColumnIndex:0,maxSlices:5,withOthers:!0,tooltipCallback:function(e,t,n){var r,i,a,o=(null==t||null===(r=t.metricValues)||void 0===r?void 0:r[0].value)>0?100*(null==e||null===(i=e.metricValues)||void 0===i?void 0:i[0].value)/(null==t||null===(a=t.metricValues)||void 0===a?void 0:a[0].value)-100:100;null===e&&X.previous>0&&(o=100*X.current/X.previous-100);var c=Object(E.p)(o),s=e?e.metricValues[0].value:X.current,u=Object(p.sprintf)( /* translators: 1: numeric value of users, 2: up or down arrow , 3: different change in percentage, %%: percent symbol */ Object(p._x)("Users: <strong>%1$s</strong> <em>%2$s %3$s%%</em>","Stat information for the user dimensions chart tooltip","google-site-kit"),Object(E.D)(s),c,Object(E.D)(Math.abs(o),{maximumFractionDigits:2})),d=n[0].toLowerCase(),m="googlesitekit-visualization-tooltip-".concat(d.replace(/\W+/,"_")),g="<p>\n\t\t\t\t\t".concat( /* translators: %s: dimension label */ Object(p.sprintf)(Object(p.__)("%s:","google-site-kit"),n[0].toUpperCase()),"\n\t\t\t\t\t<b>").concat(Object(E.D)(n[1],{maximumFractionDigits:1,style:"percent"}),"</b>\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\t\t").concat(u,"\n\t\t\t\t</p>");if(d===Object(p.__)("Others","google-site-kit").toLowerCase())switch(N){case"country":g+="<p>".concat(Object(p.__)("See the full list of locations in Analytics","google-site-kit"),"</p>");break;case"deviceCategory":g+="<p>".concat(Object(p.__)("See the full list of devices in Analytics","google-site-kit"),"</p>");break;case"sessionDefaultChannelGrouping":default:g+="<p>".concat(Object(p.__)("See the full list of channels in Analytics","google-site-kit"),"</p>")}return U&&"(other)"===d&&(g+=Object(w.b)(U,Object(p.sprintf)( /* translators: %s: pie slice label */ Object(p.__)('Learn more about what "%s" means',"google-site-kit"),d),d)),H&&"(not set)"===d&&(g+=Object(w.b)(H,Object(p.sprintf)( /* translators: %s: pie slice label */ Object(p.__)('Learn more about what "%s" means',"google-site-kit"),d),d)),g='<div class="'.concat(l()("googlesitekit-visualization-tooltip",m,{"googlesitekit-visualization-tooltip--up":o>0,"googlesitekit-visualization-tooltip--down":o<0}),'">\n\t\t\t\t\t').concat(g,"\n\t\t\t\t</div>")}}),te=UserDimensionsPieChart.chartOptions.slices,ne=Object(m.cloneDeep)(UserDimensionsPieChart.chartOptions),re={sessionDefaultChannelGrouping:Object(p.__)("<span>By</span> channels","google-site-kit"),country:Object(p.__)("<span>By</span> locations","google-site-kit"),deviceCategory:Object(p.__)("<span>By</span> devices","google-site-kit")};R&&(re={sessionDefaultChannelGrouping:Object(p.__)("gathering data…","google-site-kit")},ne.pieSliceText="none",ne.tooltip.trigger="none",ne.sliceVisibilityThreshold=1);var ie=x?Object(E.G)(re[N]||"",{ALLOWED_TAGS:["span"],ALLOWED_ATTR:[]}):{__html:""},ae=Object(y.c)(P);ae&&(ne.pieSliceText="none"),ne.tooltip.trigger=W?"selection":"focus";var oe=Y;return r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__dimensions-container"},r.createElement("div",{ref:Q,className:l()("googlesitekit-widget--analyticsAllTraffic__dimensions-chart",{"googlesitekit-widget--analyticsAllTraffic__slice-selected":!!I,"googlesitekit-widget--analyticsAllTraffic__selectable":G})},oe&&r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__chart-zero-data"},R&&r.createElement(A.b,{style:A.a.SMALL_OVERLAY}),r.createElement(k.a,null)),!oe&&r.createElement(_.a,{chartType:"PieChart",data:ee||[],getChartWrapper:function(e){$.current=e},gatheringData:R,height:"368px",loaded:x,loadingHeight:"300px",loadingWidth:"300px",onMouseOut:function(){B(!1)},onMouseOver:function(e,t){var n=t.chartWrapper,r=e.row;null==r&&B(!1);var i=n.getDataTable();B(i.getValue(r,0)!==Object(p.__)("Others","google-site-kit"))},onReady:function(e){var t,n,r=e.chartWrapper.getChart();if(I&&!(null===(t=r.getSelection())||void 0===t?void 0:t.length)){var i,o,c,s,l=ee.findIndex((function(e){return e[0]===I}))-1;if(l>=0){if(r.setSelection([{row:l}]),K!==l||((null===(i=te[l])||void 0===i?void 0:i.color)||q)!==q)J((c={},a()(c,O.s,l),a()(c,O.u,(null===(o=te[l])||void 0===o?void 0:o.color)||q),c))}else J((s={},a()(s,O.w,""),a()(s,O.u,""),a()(s,O.s,null),s))}!I&&(null===(n=r.getSelection())||void 0===n?void 0:n.length)&&(r.setSelection([]),null!==K&&J(a()({},O.s,null))),I||""===q||J(a()({},O.u,""))},onSelect:function(e){var t,n=e.chartWrapper,r=n.getChart(),i=((null===(t=r.getSelection())||void 0===t?void 0:t[0])||{}).row;if(null==i){var o;J((o={},a()(o,O.w,""),a()(o,O.u,""),a()(o,O.s,null),o))}else{var c=n.getDataTable();if(c){var s,l,u=c.getValue(i,0);if(Object(p.__)("Others","google-site-kit")===u)null==K?r.setSelection([]):r.setSelection([{row:K}]);else Z(!0),J((l={},a()(l,O.u,null===(s=te[i])||void 0===s?void 0:s.color),a()(l,O.w,u),a()(l,O.s,i),l)),Object(E.J)("".concat(z,"_all-traffic-widget"),"slice_select","".concat(N,":").concat(u))}}},options:ne,width:"100%"},r.createElement("div",{className:l()({"googlesitekit-widget--analyticsAllTraffic__dimensions-chart-gathering-data":R,"googlesitekit-widget--analyticsAllTraffic__dimensions-chart-title":!R}),dangerouslySetInnerHTML:ie})),r.createElement("div",{"aria-label":R?Object(p.__)("A pie chart for Analytics that is gathering data, so has no data to display.","google-site-kit"):void 0,className:l()("googlesitekit-widget--analyticsAllTraffic__legend",{"googlesitekit-widget--analyticsAllTraffic__legend--single":ae}),role:"region"},x&&!oe&&(null==ee?void 0:ee.slice(1).map((function(e,t){var n,i=c()(e,1)[0],o=i===I,s=null===(n=te[t])||void 0===n?void 0:n.color,u=Object(p.__)("Others","google-site-kit")===i;return r.createElement(j.a,{key:i,onClick:function(){return function(e){var t;if($.current){var n=$.current.getDataTable().getValue(e,0);if(!(Object(p.__)("Others","google-site-kit")===n)){var r,i=((null===(t=$.current.getChart().getSelection())||void 0===t?void 0:t[0])||{}).row;if(i===e)Z(!1),J((r={},a()(r,O.w,""),a()(r,O.u,""),a()(r,O.s,null),r));else if(n){var o,c;Z(!0),J((c={},a()(c,O.u,null===(o=te[i])||void 0===o?void 0:o.color),a()(c,O.w,n),a()(c,O.s,e),c)),Object(E.J)("".concat(z,"_all-traffic-widget"),"slice_select","".concat(N,":").concat(n))}}}}(t)},className:l()("googlesitekit-widget--analyticsAllTraffic__legend-slice",{"googlesitekit-widget--analyticsAllTraffic__legend-active":o,"googlesitekit-widget--analyticsAllTraffic__legend-others":u}),disabled:R},r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:s}}),r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__label","data-label":i},i),r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__underlay",style:{backgroundColor:s}}))}))),!x&&r.createElement(g.Fragment,null,r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),r.createElement(S.a,{height:"18px",width:"68px",shape:"square"})),r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),r.createElement(S.a,{height:"18px",width:"52px",shape:"square"})),r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),r.createElement(S.a,{height:"18px",width:"40px",shape:"square"})),r.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},r.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),r.createElement(S.a,{height:"18px",width:"52px",shape:"square"}))))))}UserDimensionsPieChart.defaultProps={dimensionName:"sessionDefaultChannelGrouping"},UserDimensionsPieChart.chartOptions={chartArea:{left:"auto",height:300,top:"auto",width:"100%"},backgroundColor:"transparent",fontSize:12,height:368,legend:{position:"none"},pieHole:.6,pieSliceTextStyle:{color:"#131418",fontSize:12},slices:{0:{color:"#fece72"},1:{color:"#a983e6"},2:{color:"#bed4ff"},3:{color:"#ee92da"},4:{color:"#ff9b7a"}},title:null,tooltip:{isHtml:!0,trigger:"focus"},width:"100%"},UserDimensionsPieChart.propTypes={dimensionName:d.a.string.isRequired,dimensionValue:d.a.string,gatheringData:d.a.bool,report:d.a.object,loaded:d.a.bool}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119 238c65.722 0 119-53.278 119-119C238 53.278 184.722 0 119 0 53.278 0 0 53.278 0 119c0 65.722 53.278 119 119 119zm0-42c42.526 0 77-34.474 77-77s-34.474-77-77-77-77 34.474-77 77 34.474 77 77 77z",fill:"currentColor"});t.a=function SvgPieChartZeroData(e){return r.createElement("svg",i({viewBox:"0 0 238 238",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(349);function Sparkline(t){var n=t.change,r=t.data,i=t.invertChangeColor,o=t.loadingHeight;if(!r)return null;var c=[];if(null===n)c.push("green");else{var s=i?"red":"green",l=i?"green":"red";c.push(0<=(parseFloat(n)||0)?s:l)}var u={title:"",backgroundColor:"transparent",curveType:"line",width:"100%",height:"50",enableInteractivity:!1,chartArea:{height:"100%",width:"100%"},legend:{position:"none"},axisFontSize:0,hAxis:{baselineColor:"none",ticks:[]},vAxis:{baselineColor:"none",ticks:[]},axes:[],colors:c};return r.slice(1).some((function(e){return e[1]>0}))||(u.vAxis.minValue=0,u.vAxis.maxValue=1),e.createElement("div",{className:"googlesitekit-analytics-sparkline-chart-wrap"},e.createElement(a.a,{chartType:"LineChart",data:r,loadingHeight:o,options:u}))}Sparkline.propTypes={invertChangeColor:i.a.bool,loadingHeight:i.a.string},Sparkline.defaultProps={invertChangeColor:!1,loadingHeight:"46px"},t.a=Sparkline}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(23),i=n.n(r),a=n(2),o=n(354),c=n(8);function s(e,t){var n,r,s=[{metric:"screenPageViews",title:Object(a.__)("Pageviews","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Pageviews"}]],total:0,change:0},{metric:"sessions",title:Object(a.__)("Sessions","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Sessions"}]],total:0,change:0},{metric:"engagementRate",title:Object(a.__)("Engagement Rate","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Engagement Rate"}]],datapointUnit:"%",total:0,change:0},{metric:"averageSessionDuration",title:Object(a.__)("Session Duration","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Session Duration"}]],datapointUnit:"s",total:0,change:0}],l=e||{},u=l.totals,d=void 0===u?[]:u,m=l.rows,g=void 0===m?[]:m,p=(null===(n=d[0])||void 0===n?void 0:n.metricValues)||[],f=(null===(r=d[1])||void 0===r?void 0:r.metricValues)||[],b=Object(c.H)(t).getTime(),v=g.filter((function(e){var t=e.dimensionValues;return"date_range_0"===t[1].value&&Object(o.a)(t[0].value).getTime()>=b}));return s.map((function(e,t){var n,r,a,s=e.datapointDivider,l=void 0===s?1:s,u=i()(e,["datapointDivider"]);return v.forEach((function(e){var n=e.dimensionValues,r=e.metricValues,i=n[0].value,a=Object(o.a)(i);u.sparkLineData.push([a,r[t].value])})),u.total=((null===(n=p[t])||void 0===n?void 0:n.value)||0)/l,u.change=Object(c.h)((null===(r=f[t])||void 0===r?void 0:r.value)||0,(null===(a=p[t])||void 0===a?void 0:a.value)||0),u}))}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(11),o=n.n(a),c=n(42),s=n.n(c),l=n(3),u=n(9),d=n(47),m=n(500);function g(e){return Object(l.createRegistrySelector)((function(t){return function(){var n,r=t(u.p).getConversionReportingEventsChange()||{};return Object(m.a)(Object(m.a)(null===(n=r[e])||void 0===n?void 0:n.length))}}))}var p=Object(d.a)({baseName:"dismissNewConversionReportingEvents",controlCallback:function(){return s.a.set("modules","analytics-4","clear-conversion-reporting-new-events")}}),f=Object(d.a)({baseName:"dismissLostConversionReportingEvents",controlCallback:function(){return s.a.set("modules","analytics-4","clear-conversion-reporting-lost-events")}}),b={detectedEventsChange:void 0},v={getConversionReportingEventsChange:i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.commonActions.getRegistry();case 2:if(!t.sent.select(u.p).getConversionReportingEventsChange()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitModulesData){t.next=8;break}return e.console.error("Could not load modules data."),t.abrupt("return");case 8:return n=e._googlesitekitModulesData["analytics-4"],r=n.newEvents,a=n.lostEvents,t.next=11,h.receiveConversionReportingInlineData({newEvents:r,lostEvents:a});case 11:case"end":return t.stop()}}),t)}))},h={dismissNewConversionReportingEvents:function(){return p.actions.fetchDismissNewConversionReportingEvents()},dismissLostConversionReportingEvents:function(){return f.actions.fetchDismissLostConversionReportingEvents()},receiveConversionReportingInlineData:function(e){return o()(e,"data is required."),{payload:{data:e},type:"RECEIVE_CONVERSION_REPORTING_INLINE_DATA"}}},y=Object(l.createReducer)((function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_CONVERSION_REPORTING_INLINE_DATA":var r=n.data,i=r.newEvents,a=r.lostEvents;e.detectedEventsChange={newEvents:i,lostEvents:a}}})),O={hasConversionReportingEvents:Object(l.createRegistrySelector)((function(e){return function(t,n){var r=Array.isArray(n)?n:[n],i=e(u.p).getDetectedEvents();return!!(null==i?void 0:i.length)&&r.some((function(e){return i.includes(e)}))}})),getConversionReportingEventsChange:function(e){return e.detectedEventsChange},hasNewConversionReportingEvents:g("newEvents"),hasLostConversionReportingEvents:g("lostEvents")};t.a=Object(l.combineStores)(p,f,{initialState:b,actions:h,resolvers:v,selectors:O,reducer:y})}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(33),i=n.n(r),a=n(5),o=n.n(a),c=n(7),s=n.n(c),l=n(11),u=n.n(l),d=n(42),m=n.n(d),g=n(3),p=n(6),f=n(47),b=n(164),v=n(9),h=n(8);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=Object(f.a)({baseName:"saveCustomDimensionDataAvailableState",controlCallback:function(e){var t=e.customDimension;return m.a.set("modules","analytics-4","custom-dimension-data-available",{customDimension:t})},argsToParams:function(e){return{customDimension:e}},validateParams:function(e){var t=e.customDimension;u()("string"==typeof t&&t.length>0,"customDimension must be a non-empty string.")}}),_={customDimensionsGatheringData:Object.keys(v.e).reduce((function(e,t){return O(O({},e),{},s()({},t,void 0))}),{})},j={receiveIsCustomDimensionGatheringData:function(e,t){return u()("string"==typeof e&&e.length>0,"customDimension must be a non-empty string."),u()("boolean"==typeof t,"gatheringData must be a boolean."),{payload:{customDimension:e,gatheringData:t},type:"RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA"}},checkCustomDimensionDataAvailability:o.a.mark((function e(t){var n,r,i,a,c,s,l,u,d,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:return a=e.sent,c=a.select,s=a.resolveSelect,e.next=7,g.commonActions.await(s(v.p).getSettings());case 7:if(c(v.p).hasCustomDimensions(t)){e.next=11;break}return e.next=10,j.receiveIsCustomDimensionGatheringData(t,!0);case 10:return e.abrupt("return");case 11:return e.next=13,g.commonActions.await(s(p.a).getAuthentication());case 13:if(c(p.a).isAuthenticated()){e.next=17;break}return e.next=16,j.receiveIsCustomDimensionGatheringData(t,!0);case 16:return e.abrupt("return");case 17:return e.next=19,g.commonActions.await(s(v.p).getDataAvailabilityReportOptions(t));case 19:if(l=e.sent){e.next=24;break}return e.next=23,j.receiveIsCustomDimensionGatheringData(t,!0);case 23:return e.abrupt("return");case 24:return e.next=26,g.commonActions.await(s(v.p).getReport(l));case 26:return u=e.sent,d=!!c(v.p).getErrorForSelector("getReport",[l]),m=d||!(null==u||null===(n=u.rows)||void 0===n?void 0:n.length)||1===u.rowCount&&"(not set)"===(null===(r=u.rows[0].dimensionValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value),e.next=31,j.receiveIsCustomDimensionGatheringData(t,m);case 31:if(m){e.next=34;break}return e.next=34,E.actions.fetchSaveCustomDimensionDataAvailableState(t);case 34:case"end":return e.stop()}}),e)}))},S=Object(b.a)((function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA":var i=r.customDimension,a=r.gatheringData;e.customDimensionsGatheringData[i]=a}})),k={isCustomDimensionGatheringData:o.a.mark((function t(n){var r,i,a;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.commonActions.getRegistry();case 2:if(void 0===t.sent.select(v.p).isCustomDimensionGatheringData(n)){t.next=5;break}return t.abrupt("return");case 5:if(!(null===(r=e._googlesitekitModulesData)||void 0===r||null===(i=r["analytics-4"])||void 0===i||null===(a=i.customDimensionsDataAvailable)||void 0===a?void 0:a[n])){t.next=10;break}return t.next=9,j.receiveIsCustomDimensionGatheringData(n,!1);case 9:return t.abrupt("return");case 10:return t.next=12,j.checkCustomDimensionDataAvailability(n);case 12:case"end":return t.stop()}}),t)})),getDataAvailabilityReportOptions:o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:return t=e.sent,n=t.resolveSelect,e.next=6,g.commonActions.await(n(v.p).getPropertyCreateTime());case 6:case"end":return e.stop()}}),e)}))},A={isCustomDimensionGatheringData:function(e,t){return e.customDimensionsGatheringData[t]},areCustomDimensionsGatheringData:Object(g.createRegistrySelector)((function(e){return function(t,n){for(var r=e(v.p).isCustomDimensionGatheringData,a=function(){var e=c[o];if(n.some((function(t){return r(t)===e})))return{v:e}},o=0,c=[void 0,!0];o<c.length;o++){var s=a();if("object"===i()(s))return s.v}return!1}})),getDataAvailabilityReportOptions:Object(g.createRegistrySelector)((function(e){return function(t,n){if(u()(n,"customDimension is required."),e(v.p).getPropertyID()){var r=e(v.p).getPropertyCreateTime();if(r){var i=e(p.a).getReferenceDate();return{startDate:Object(h.q)(new Date(r)),endDate:i,dimensions:["customEvent:".concat(n)],metrics:[{name:"eventCount"}],limit:2}}}}})),getDataAvailabilityReportErrors:Object(g.createRegistrySelector)((function(e){return function(t,n){u()(n,"customDimensions is required."),u()(Array.isArray(n),"customDimensions must be an array.");var r=e(v.p),i=r.getDataAvailabilityReportOptions,a=r.getErrorForSelector;return n.reduce((function(e,t){var n=i(t);if(!n)return e;var r=a("getReport",[n]);return r?O(O({},e),{},s()({},t,r)):e}),{})}}))},T=Object(g.combineStores)(E,{actions:j,controls:{},initialState:_,reducer:S,resolvers:k,selectors:A});T.initialState,T.actions,T.controls,T.reducer,T.resolvers,T.selectors;t.a=T}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(27),s=n.n(c),l=n(7),u=n.n(l),d=n(11),m=n.n(d),g=n(13),p=n(111),f=n(42),b=n.n(f),v=n(3),h=n(6),y=n(14),O=n(19),E=n(43),_=n(9),j=n(8),S=n(47),k=n(61),A=n(763),T=n(59),w=n(41);function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=Object(S.a)({baseName:"getProperty",controlCallback:function(e){var t=e.propertyID;return b.a.get("modules","analytics-4","property",{propertyID:t},{useCache:!1})},reducerCallback:function(e,t,n){var r=n.propertyID;return I(I({},e),{},{propertiesByID:I(I({},e.propertiesByID),{},u()({},r,t))})},argsToParams:function(e){return{propertyID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.propertyID;m()(t,"propertyID is required.")}}),x=Object(S.a)({baseName:"getProperties",controlCallback:function(e){var t=e.accountID;return b.a.get("modules","analytics-4","properties",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var r=n.accountID;return I(I({},e),{},{properties:I(I({},e.properties),{},u()({},r,t)),propertiesByID:t.reduce((function(e,t){return I(I({},e),{},u()({},t._id,t))}),e.propertiesByID||{})})},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;m()(t,"accountID is required.")}}),P=Object(S.a)({baseName:"createProperty",controlCallback:function(e){var t=e.accountID;return b.a.set("modules","analytics-4","create-property",{accountID:t})},reducerCallback:function(e,t,n){var r=n.accountID;return I(I({},e),{},{properties:I(I({},e.properties),{},u()({},r,[].concat(s()(e.properties[r]||[]),[t])))})},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;m()(t,"accountID is required.")}}),M=Object(S.a)({baseName:"getGoogleTagSettings",controlCallback:function(e){var t=e.measurementID;return b.a.get("modules","analytics-4","google-tag-settings",{measurementID:t})},reducerCallback:function(e,t){return I(I({},e),{},{googleTagSettings:t})},argsToParams:function(e){return{measurementID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.measurementID;m()(t,"measurementID is required.")}}),L=Object(S.a)({baseName:"setGoogleTagIDMismatch",controlCallback:function(e){var t=e.hasMismatchedTag;return b.a.set("modules","analytics-4","set-google-tag-id-mismatch",{hasMismatchedTag:t})},reducerCallback:function(e,t){return I(I({},e),{},{hasMismatchedTag:!!t})},argsToParams:function(e){return{hasMismatchedTag:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.hasMismatchedTag;m()(Object(g.isBoolean)(t),"hasMismatchedTag must be boolean.")}}),G={properties:{},propertiesByID:{},hasMismatchedTag:void 0,isMatchingAccountProperty:!1,isWebDataStreamAvailable:!0},B={createProperty:function(e){return m()(e,"accountID is required."),o.a.mark((function t(){var n,r,i,a,c;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v.commonActions.getRegistry();case 2:return n=t.sent,r=n.dispatch,t.next=6,P.actions.fetchCreateProperty(e);case 6:if(i=t.sent,a=i.response,c=i.error,!a){t.next=12;break}return t.next=12,r(_.p).resetAccountSummaries();case 12:return t.abrupt("return",{response:a,error:c});case 13:case"end":return t.stop()}}),t)}))()},selectProperty:Object(T.f)((function(e){m()(Object(k.f)(e),"A valid propertyID selection is required.")}),o.a.mark((function e(t){var n,r,i,a,c,s,l,u,d;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:if(n=e.sent,r=n.dispatch(_.p),i=r.setPropertyCreateTime,a=r.setSettings,c=r.setWebDataStreamID,s=r.updateSettingsForMeasurementID,a({propertyID:t,propertyCreateTime:0}),s(""),_.q!==t){e.next=9;break}return c(_.x),e.abrupt("return");case 9:if(c(""),!t){e.next=15;break}return e.next=13,v.commonActions.await(n.resolveSelect(_.p).getProperty(t));case 13:(null==(l=e.sent)?void 0:l.createTime)&&i(l.createTime);case 15:return e.next=17,A.a.waitForWebDataStreams(t);case 17:if((u=n.select(_.p).getMatchingWebDataStreamByPropertyID(t))||(null==(d=n.select(_.p).getWebDataStreams(t))?void 0:d.length)&&(u=d[0]),!u){e.next=23;break}return c(u._id),s(u.webStreamData.measurementId),e.abrupt("return");case 23:c(_.x);case 24:case"end":return e.stop()}}),e)}))),findMatchedProperty:o.a.mark((function e(){var t,n,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,v.commonActions.await(t.resolveSelect(_.p).getAccountSummaries());case 5:if(n=e.sent,Array.isArray(n)&&0!==n.length){e.next=8;break}return e.abrupt("return",null);case 8:return r=t.select(y.c).getReferenceSiteURL(),i=n.reduce((function(e,t){var n=t.propertySummaries;return[].concat(s()(e),s()((n||[]).map((function(e){return e._id}))))}),[]),e.next=12,v.commonActions.await(t.dispatch(_.p).matchPropertyByURL(i,r));case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}}),e)})),matchAccountProperty:o.a.mark((function e(t){var n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:return n=e.sent,e.next=5,B.waitForPropertySummaries(t);case 5:return r=n.select(y.c).getReferenceSiteURL(),i=n.select(_.p).getPropertySummaries(t),e.next=9,B.matchPropertyByURL((i||[]).map((function(e){return e._id})),r);case 9:return a=e.sent,e.abrupt("return",a);case 11:case"end":return e.stop()}}),e)})),matchAndSelectProperty:o.a.mark((function e(t){var n,r,i,a=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:"",e.next=3,{payload:{isMatchingAccountProperty:!0},type:"MATCHING_ACCOUNT_PROPERTY"};case 3:return e.next=5,B.matchAccountProperty(t);case 5:if(r=e.sent,!(i=(null==r?void 0:r._id)||n)){e.next=10;break}return e.next=10,B.selectProperty(i);case 10:return e.next=12,{payload:{isMatchingAccountProperty:!1},type:"MATCHING_ACCOUNT_PROPERTY"};case 12:return e.abrupt("return",r);case 13:case"end":return e.stop()}}),e)})),matchPropertyByURL:o.a.mark((function e(t,n){var r,i,a,c,s,l,u,d,m,g,p,f;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:r=e.sent,i=(Array.isArray(n)?n:[n]).filter((function(e){return"string"==typeof e})).map(j.B),a=0;case 5:if(!(a<t.length)){e.next=52;break}return c=t.slice(a,a+_.o),e.next=9,v.commonActions.await(r.resolveSelect(_.p).getWebDataStreamsBatch(c));case 9:s=e.sent,e.t0=o.a.keys(s);case 11:if((e.t1=e.t0()).done){e.next=49;break}l=e.t1.value,u=D(s[l]),e.prev=14,u.s();case 16:if((d=u.n()).done){e.next=39;break}m=d.value,g=D(i),e.prev=19,g.s();case 21:if((p=g.n()).done){e.next=29;break}if(p.value!==Object(j.B)(null===(f=m.webStreamData)||void 0===f?void 0:f.defaultUri)){e.next=27;break}return e.next=26,v.commonActions.await(r.resolveSelect(_.p).getProperty(l));case 26:return e.abrupt("return",e.sent);case 27:e.next=21;break;case 29:e.next=34;break;case 31:e.prev=31,e.t2=e.catch(19),g.e(e.t2);case 34:return e.prev=34,g.f(),e.finish(34);case 37:e.next=16;break;case 39:e.next=44;break;case 41:e.prev=41,e.t3=e.catch(14),u.e(e.t3);case 44:return e.prev=44,u.f(),e.finish(44);case 47:e.next=11;break;case 49:a+=_.o,e.next=5;break;case 52:return e.abrupt("return",null);case 53:case"end":return e.stop()}}),e,null,[[14,41,44,47],[19,31,34,37]])})),matchPropertyByMeasurementID:o.a.mark((function e(t,n){var r,i,a,c,s,l,u,d,m,g,p,f;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:r=e.sent,i=Array.isArray(n)?n:[n],a=0;case 5:if(!(a<t.length)){e.next=52;break}return c=t.slice(a,a+_.o),e.next=9,v.commonActions.await(r.resolveSelect(_.p).getWebDataStreamsBatch(c));case 9:s=e.sent,e.t0=o.a.keys(s);case 11:if((e.t1=e.t0()).done){e.next=49;break}l=e.t1.value,u=D(s[l]),e.prev=14,u.s();case 16:if((d=u.n()).done){e.next=39;break}m=d.value,g=D(i),e.prev=19,g.s();case 21:if((p=g.n()).done){e.next=29;break}if(p.value!==(null===(f=m.webStreamData)||void 0===f?void 0:f.measurementId)){e.next=27;break}return e.next=26,v.commonActions.await(r.resolveSelect(_.p).getProperty(l));case 26:return e.abrupt("return",e.sent);case 27:e.next=21;break;case 29:e.next=34;break;case 31:e.prev=31,e.t2=e.catch(19),g.e(e.t2);case 34:return e.prev=34,g.f(),e.finish(34);case 37:e.next=16;break;case 39:e.next=44;break;case 41:e.prev=41,e.t3=e.catch(14),u.e(e.t3);case 44:return e.prev=44,u.f(),e.finish(44);case 47:e.next=11;break;case 49:a+=_.o,e.next=5;break;case 52:return e.abrupt("return",null);case 53:case"end":return e.stop()}}),e,null,[[14,41,44,47],[19,31,34,37]])})),waitForPropertySummaries:o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_PROPERTY_SUMMARIES"};case 2:case"end":return e.stop()}}),e)})),updateSettingsForMeasurementID:o.a.mark((function e(t){var n,r,i,a,c,s,l,u,d;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:if(n=e.sent,r=n.select,i=n.dispatch,a=n.resolveSelect,t){e.next=9;break}return i(_.p).setSettings({measurementID:t,googleTagAccountID:"",googleTagContainerID:"",googleTagID:""}),e.abrupt("return");case 9:return i(_.p).setMeasurementID(t),e.next=12,v.commonActions.await(a(h.a).getAuthentication());case 12:if(r(h.a).hasScope(E.h)){e.next=14;break}return e.abrupt("return");case 14:return e.next=16,M.actions.fetchGetGoogleTagSettings(t);case 16:if(c=e.sent,s=c.response,!c.error){e.next=21;break}return e.abrupt("return");case 21:l=s.googleTagAccountID,u=s.googleTagContainerID,d=s.googleTagID,i(_.p).setSettings({googleTagAccountID:l,googleTagContainerID:u,googleTagID:d});case 23:case"end":return e.stop()}}),e)})),setHasMismatchedGoogleTagID:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L.actions.fetchSetGoogleTagIDMismatch(t);case 2:case"end":return e.stop()}}),e)})),receiveHasMismatchGoogleTagID:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{type:"SET_HAS_MISMATCHED_GOOGLE_TAG_ID",payload:{hasMismatchedTag:!!t}});case 1:case"end":return e.stop()}}),e)})),setIsWebDataStreamAvailable:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{type:"SET_IS_WEBDATASTREAM_AVAILABLE",payload:{isWebDataStreamAvailable:t}});case 1:case"end":return e.stop()}}),e)})),syncGoogleTagSettings:o.a.mark((function e(){var t,n,r,i,a,c,s,l,u,d,m,g,p,f,b,y,S,k,A;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:if(t=e.sent,n=t.select,r=t.dispatch,i=t.resolveSelect,n(h.a).hasScope(E.h)){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,v.commonActions.await(i(O.a).getModules());case 11:if(a=n(O.a),(0,a.isModuleConnected)("analytics-4")){e.next=14;break}return e.abrupt("return");case 14:return e.next=16,v.commonActions.await(i(_.p).getSettings());case 16:if(c=n(_.p),s=c.getGoogleTagID,l=c.getMeasurementID,u=c.getGoogleTagLastSyncedAtMs,d=c.getGoogleTagAccountID,m=c.getGoogleTagContainerID,g=l()){e.next=20;break}return e.abrupt("return");case 20:if(!((p=u())&&Date.now()-p<1e3*j.b)){e.next=23;break}return e.abrupt("return");case 23:if(!(f=s())){e.next=38;break}return e.next=27,v.commonActions.await(i(_.p).getGoogleTagContainer(g));case 27:if(b=e.sent){e.next=33;break}return e.next=31,B.setIsWebDataStreamAvailable(!1);case 31:e.next=36;break;case 33:if(b.tagIds.includes(f)){e.next=36;break}return e.next=36,B.setHasMismatchedGoogleTagID(!0);case 36:e.next=40;break;case 38:return e.next=40,B.updateSettingsForMeasurementID(g);case 40:return y=d(),S=m(),e.next=44,v.commonActions.await(i(_.p).getGoogleTagContainerDestinations(y,S))||[];case 44:k=e.sent,A=k.map((function(e){return e.destinationId})),r(_.p).setSettings({googleTagContainerDestinationIDs:A,googleTagLastSyncedAtMs:Date.now()}),r(_.p).saveSettings();case 48:case"end":return e.stop()}}),e)}))},V=u()({},"WAIT_FOR_PROPERTY_SUMMARIES",Object(v.createRegistryControl)((function(e){var t=e.resolveSelect;return i()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(_.p).getAccountSummaries();case 2:case"end":return e.stop()}}),e)})))})));var F={getProperties:o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(k.a)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,v.commonActions.getRegistry();case 4:if(n=e.sent,void 0!==n.select(_.p).getProperties(t)){e.next=9;break}return e.next=9,x.actions.fetchGetProperties(t);case 9:case"end":return e.stop()}}),e)})),getProperty:o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:if(n=e.sent,void 0!==n.select(_.p).getProperty(t)){e.next=7;break}return e.next=7,R.actions.fetchGetProperty(t);case 7:case"end":return e.stop()}}),e)})),getPropertyCreateTime:o.a.mark((function e(){var t,n,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,v.commonActions.await(t.resolveSelect(_.p).getSettings());case 5:if(n=t.select(_.p).getPropertyID(),!t.select(_.p).getPropertyCreateTime()&&Object(k.e)(n)){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,v.commonActions.await(Object(w.d)("analytics4-properties-getPropertyCreateTime-".concat(n)));case 11:if(!(r=e.sent).cacheHit){e.next=15;break}return t.dispatch(_.p).setPropertyCreateTime(r.value),e.abrupt("return");case 15:return e.next=17,v.commonActions.await(t.resolveSelect(_.p).getProperty(n));case 17:if(null==(i=e.sent)?void 0:i.createTime){e.next=20;break}return e.abrupt("return");case 20:return e.next=22,v.commonActions.await(Object(w.f)("analytics4-properties-getPropertyCreateTime-".concat(n),i.createTime));case 22:t.dispatch(_.p).setPropertyCreateTime(i.createTime);case 23:case"end":return e.stop()}}),e)})),hasMismatchedGoogleTagID:o.a.mark((function t(){var n,r,i,a;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v.commonActions.getRegistry();case 2:if(n=t.sent,void 0!==n.select(_.p).hasMismatchedGoogleTagID()){t.next=11;break}if(e._googlesitekitModulesData){t.next=8;break}return e.console.error("Could not load modules/analytics-4 data."),t.abrupt("return");case 8:return a=null===(r=e._googlesitekitModulesData)||void 0===r||null===(i=r["analytics-4"])||void 0===i?void 0:i.tagIDMismatch,t.next=11,z.receiveHasMismatchGoogleTagID(a);case 11:case"end":return t.stop()}}),t)}))},W={getProperties:function(e,t){return e.properties[t]},getProperty:function(e,t){return e.propertiesByID[t]},getPropertySummaries:Object(p.b)((function(e){return function(t,n){var r=e(_.p).getAccountSummaries();if(void 0!==r){var i=r.find((function(e){return e._id===n}));return i?i.propertySummaries:[]}}})),isMatchingAccountProperty:function(e){return e.isMatchingAccountProperty},hasMismatchedGoogleTagID:function(e){return e.hasMismatchedTag},isWebDataStreamAvailable:function(e){return e.isWebDataStreamAvailable},isLoadingPropertySummaries:Object(p.b)((function(e){return function(){return!e(_.p).hasFinishedResolution("getAccountSummaries")||e(_.p).isMatchingAccountProperty()||!1===e(_.p).hasFinishedSelectingAccount()}}))},Z=Object(v.combineStores)(P,x,R,M,L,{initialState:G,actions:B,controls:V,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"MATCHING_ACCOUNT_PROPERTY":return I(I({},e),r);case"SET_HAS_MISMATCHED_GOOGLE_TAG_ID":return I(I({},e),{},{hasMismatchedTag:r.hasMismatchedTag});case"SET_IS_WEBDATASTREAM_AVAILABLE":return I(I({},e),{},{isWebDataStreamAvailable:r.isWebDataStreamAvailable});default:return e}},resolvers:F,selectors:W}),z=(Z.initialState,Z.actions);Z.controls,Z.reducer,Z.resolvers,Z.selectors;t.a=Z}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r,i=n(5),a=n.n(i),o=n(7),c=n.n(o),s=n(2),l=n(13),u=n(42),d=n.n(u),m=n(3),g=n(47),p=n(668),f=n(6),b=n(14),v=n(9),h=n(8),y=n(357),O=n(61);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=Object(g.a)({baseName:"getReport",controlCallback:function(e){var t=e.options;return d.a.get("modules","analytics-4","report",Object(y.e)(t))},reducerCallback:function(e,t,n){var r=n.options;return _(_({},e),{},{reports:_(_({},e.reports),{},c()({},Object(h.I)(r),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;return Object(O.l)(t)}}),S=Object(p.a)("analytics-4",{storeName:v.p,dataAvailable:null===(r=e._googlesitekitModulesData)||void 0===r?void 0:r["data_available_analytics-4"],selectDataAvailability:Object(m.createRegistrySelector)((function(e){return function(){var t=e(v.p).hasZeroData(),n=e(v.p).getSampleReportArgs();if(e(v.p).hasFinishedResolution("getReport",[n])&&void 0!==t){if(e(v.p).getErrorForSelector("getReport",[n]))return null;if(!1===t)return!0;var r=e(f.a).isAuthenticated();if(void 0!==r){if(!r)return!1;var i=e(v.p).getPropertyCreateTime();if(void 0!==i){if(0===i)return!1;var a=e(f.a).getReferenceDate();return!(i>Object(h.l)(a,3*h.a).getTime())}}}}}))}),k={getReport:a.a.mark((function e(){var t,n,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,m.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(v.p).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,j.actions.fetchGetReport(t);case 9:case"end":return e.stop()}}),e)}))},A={getReport:function(e,t){return e.reports[Object(h.I)(t)]},getPageTitles:Object(m.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.startDate,a=r.endDate;if(Object(l.isPlainObject)(n)){var o=[],c=5,u=n.dimensionHeaders,d=n.rows;if(Array.isArray(u)&&Array.isArray(d)){var m=u.findIndex((function(e){return"pagePath"===e.name}));d.forEach((function(e){var t=e.dimensionValues;o.includes(t[m].value)||o.push(t[m].value)}))}var g={};if(!o.length)return g;var p={startDate:i,endDate:a,dimensions:["pagePath","pageTitle"],dimensionFilters:{pagePath:o.sort()},metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:c*o.length},f=e(v.p).getReport(p);if(void 0!==f)return((null==f?void 0:f.rows)||[]).forEach((function(e){var t=e.dimensionValues;g[t[0].value]||(g[t[0].value]=t[1].value)})),o.forEach((function(e){g[e]||(g[e]=Object(s.__)("(unknown)","google-site-kit"))})),g}}})),hasZeroData:Object(m.createRegistrySelector)((function(e){return function(t,n){var r=n||e(v.p).getSampleReportArgs(),i=e(v.p).getReport(r);if(e(v.p).hasFinishedResolution("getReport",[r]))return!!e(v.p).getErrorForSelector("getReport",[r])||Object(y.d)(i)}})),getSampleReportArgs:Object(m.createRegistrySelector)((function(e){return function(){var t=e(f.a).getDateRangeDates({offsetDays:v.f}),n={dimensions:["date"],metrics:[{name:"totalUsers"}],startDate:t.startDate,endDate:t.endDate},r=e(b.c).getCurrentEntityURL();return r&&(n.url=r),n}})),getReportForAllAudiences:Object(m.createRegistrySelector)((function(e){return function(t,n,r){return null==r?void 0:r.map((function(t){var r=e(v.p).getPartialDataSiteKitAudience(t);if(void 0!==r){var i={};return r?i.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":i.audienceResourceName=t,e(v.p).getReport(_(_({},n),{},{dimensionFilters:_(_({},n.dimensionFilters),i)}))}}))}}))},T=Object(m.combineStores)(j,S,{initialState:{reports:{}},resolvers:k,selectors:A});T.initialState,T.actions,T.controls,T.reducer,T.resolvers,T.selectors;t.a=T}).call(this,n(26))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),a=n(179),o=n.n(a),c=n(382),s=n.n(c),l=n(488),u=n.n(l),d=n(5),m=n.n(d),g=n(16),p=n.n(g),f=n(2),b=(n(131),n(639),n(849)),v=n(850),h=n(851),y=n(852),O=n(853),E=n(854),_=n(857),j=n(858),S=n(859),k=n(860),A=n(861),T=n(862),w=n(863),D=n(864),C=n(865),N=n(866),I=n(867),R=n(868),x=n(869),P=n(870),M=n(871),L=n(872),G=n(873),B=n(874),V=n(875),F=n(876),W=n(761),Z=n(9),z=n(84),U=n(6),H=(n(599),n(722),n(723),n(724),n(725),n(877)),q=(n(726),n(729),n(728),n(727),n(878)),K=(n(730),n(731),n(732),n(733),n(879)),Y=(n(640),n(880)),J=n(881),$=n(882),Q=n(358),X=n(0),ee=n(28),te=n(19);var ne=n(14);var re=n(91),ie=n(717);function DashboardMainEffectComponent(){var e,t,n,i,a,o,c,s,l,u;return e=Object(r.useSelect)((function(e){return e(te.a).isModuleConnected("analytics-4")})),t=Object(r.useSelect)((function(e){return e(Z.p).getPropertyID()})),n=Object(r.useSelect)((function(e){return e(U.a).hasScope(Z.g)})),i=Object(r.useSelect)((function(e){return e(ee.a).getValue(Z.d,"autoSubmit")})),a=Object(r.useDispatch)(ee.a).setValues,o=Object(r.useDispatch)(Z.p),c=o.fetchCreateCustomDimension,s=o.receiveIsCustomDimensionGatheringData,l=o.fetchSyncAvailableCustomDimensions,Object(X.useEffect)((function(){function r(){return(r=p()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,Z.e.googlesitekit_post_type);case 2:return s("googlesitekit_post_type",!0),e.next=5,l();case 5:a(Z.d,{isAutoCreatingCustomDimensionsForAudience:!1,isRetrying:!1});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}e&&n&&i&&(a(Z.d,{autoSubmit:!1,isAutoCreatingCustomDimensionsForAudience:!0}),function(){r.apply(this,arguments)}())}),[i,c,l,n,e,t,s,a]),function(){var e=Object(r.useSelect)((function(e){return e(ne.c).isKeyMetricsSetupCompleted()})),t=Object(r.useSelect)((function(e){return e(te.a).isModuleConnected("analytics-4")})),n=Object(r.useSelect)((function(e){return e(U.a).hasScope(Z.g)})),i=Object(r.useSelect)((function(e){return e(ee.a).getValue(Z.l,"autoSubmit")})),a=Object(r.useDispatch)(ee.a).setValues,o=Object(r.useDispatch)(Z.p).createCustomDimensions;Object(X.useEffect)((function(){function r(){return(r=p()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:a(Z.l,{isAutoCreatingCustomDimensions:!1});case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}e&&t&&n&&i&&(a(Z.l,{autoSubmit:!1,isAutoCreatingCustomDimensions:!0}),function(){r.apply(this,arguments)}())}),[i,o,n,e,t,a])}(),u=Object(ie.useDispatch)(Z.p).syncGoogleTagSettings,Object(re.a)((function(){u()})),null}var ae=n(606),oe=n(60),ce=n(22),se=n(44),le=n(27),ue=n.n(le),de=n(7),me=n.n(de),ge=n(11),pe=n.n(ge),fe=n(13),be=n(42),ve=n.n(be),he=n(47),ye=n(62),Oe=n(59),Ee=n(61);var _e=n(499);function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=ye.a.receiveError,Ae=ye.a.clearError,Te=ye.a.clearErrors,we=Object(he.a)({baseName:"getAccountSummaries",controlCallback:function(e){var t=e.pageToken;return ve.a.get("modules","analytics-4","account-summaries",{pageToken:t},{useCache:!1})},argsToParams:function(e){return{pageToken:e}},reducerCallback:function(e,t){return Se(Se({},e),{},{accountSummaries:[].concat(ue()(e.accountSummaries||[]),ue()(t.accountSummaries||[]))})}}),De=Object(he.a)({baseName:"createAccount",controlCallback:function(e){var t=e.data;return ve.a.set("modules","analytics-4","create-account-ticket",t)},reducerCallback:function(e,t){var n=t.accountTicketId;return Se(Se({},e),{},{accountTicketID:n})},argsToParams:function(e){return{data:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data;pe()(Object(fe.isPlainObject)(t),"data must be an object.")}}),Ce={accountSummaries:void 0,accountTicketID:void 0,finishedSelectingAccount:void 0},Ne={resetAccountSummaries:m.a.mark((function e(){var t,n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ACCOUNT_SUMMARIES"};case 6:return e.abrupt("return",n(Z.p).invalidateResolutionForStoreSelector("getAccountSummaries"));case 7:case"end":return e.stop()}}),e)})),resetAccountSettings:function(){return{payload:{},type:"RESET_ACCOUNT_SETTINGS"}},createAccount:m.a.mark((function e(){var t,n,i,a,o,c,s;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.select(ee.a),i=n.getValue,a={displayName:i(Z.k,"accountName"),propertyName:i(Z.k,"propertyName"),dataStreamName:i(Z.k,"dataStreamName"),timezone:i(Z.k,"timezone"),regionCode:i(Z.k,"countryCode"),enhancedMeasurementStreamEnabled:i(Z.k,Z.h)},e.next=7,Ae("createAccount",[]);case 7:return e.next=9,De.actions.fetchCreateAccount(a);case 9:if(o=e.sent,c=o.response,!(s=o.error)){e.next=15;break}return e.next=15,ke(s,"createAccount",[]);case 15:return e.abrupt("return",{response:c,error:s});case 16:case"end":return e.stop()}}),e)})),selectAccount:Object(Oe.f)((function(e){pe()(Object(Ee.b)(e),"A valid accountID is required to select.")}),m.a.mark((function e(t){var n,i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return n=e.sent,i={type:"FINISH_SELECTING_ACCOUNT",payload:{}},e.next=6,{type:"START_SELECTING_ACCOUNT",payload:{}};case 6:return e.next=8,Te();case 8:if(n.dispatch(Z.p).setSettings({accountID:t,propertyID:"",webDataStreamID:""}),Z.a!==t){e.next=13;break}return e.next=12,i;case 12:return e.abrupt("return");case 13:return e.next=15,r.commonActions.await(n.dispatch(Z.p).matchAndSelectProperty(t,Z.q));case 15:return e.next=17,i;case 17:case"end":return e.stop()}}),e)}))),findMatchedAccount:m.a.mark((function e(){var t,n,i,a;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,r.commonActions.await(t.dispatch(Z.p).findMatchedProperty());case 5:if(n=e.sent){e.next=8;break}return e.abrupt("return",null);case 8:return e.next=10,r.commonActions.await(t.resolveSelect(Z.p).getAccountSummaries());case 10:return i=e.sent,a=i.find((function(e){return e.propertySummaries.some((function(e){return e._id===n._id}))})),e.abrupt("return",a||null);case 13:case"end":return e.stop()}}),e)})),transformAndSortAccountSummaries:function(){return{type:"TRANSFORM_AND_SORT_ACCOUNT_SUMMARIES"}}},Ie=Object(r.createReducer)((function(e,t){var n,r,i;switch(t.type){case"START_SELECTING_ACCOUNT":e.finishedSelectingAccount=!1;break;case"FINISH_SELECTING_ACCOUNT":e.finishedSelectingAccount=!0;break;case"RESET_ACCOUNT_SUMMARIES":e.accountSummaries=void 0;break;case"RESET_ACCOUNT_SETTINGS":e.settings.accountID=void 0,e.settings.propertyID=void 0,e.settings.measurementID=void 0,e.settings.webDataStreamID=void 0;break;case"TRANSFORM_AND_SORT_ACCOUNT_SUMMARIES":return(null===(n=e.accountSummaries)||void 0===n?void 0:n.length)?(e.accountSummaries=e.accountSummaries.map((function(e){var t=Object(_e.b)(e);return t.propertySummaries=(t.propertySummaries||[]).map((function(e){return Object(_e.c)(e)})),t})),e.accountSummaries=(r=e.accountSummaries,i="displayName",ue()(r).sort((function(e,t){var n,r,a=(null===(n=e[i])||void 0===n?void 0:n.toLowerCase())||"",o=(null===(r=t[i])||void 0===r?void 0:r.toLowerCase())||"";return a.localeCompare(o)}))),e):e}})),Re={getAccountSummaries:m.a.mark((function e(){var t,n,i,a,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,n="",void 0!==t.select(Z.p).getAccountSummaries()){e.next=15;break}case 6:return e.next=8,we.actions.fetchGetAccountSummaries(n);case 8:if(i=e.sent,a=i.error,o=i.response,n=(null==o?void 0:o.nextPageToken)||"",!a){e.next=14;break}return e.abrupt("break",15);case 14:if(n){e.next=6;break}case 15:return e.next=17,Ne.transformAndSortAccountSummaries();case 17:case"end":return e.stop()}}),e)}))},xe={getAccountSummaries:function(e){return e.accountSummaries},isDoingCreateAccount:function(e){return Object.values(e.isFetchingCreateAccount).some(Boolean)},getAccountTicketTermsOfServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=t.accountTicketID;if(void 0!==n){var r=e(Z.p).getServiceURL({path:"/termsofservice/".concat(n),query:{provisioningSignup:"false"}});if(r)return r}}})),canSubmitAccountCreate:Object(r.createRegistrySelector)((function(e){return function(){var t=e(ee.a).getValue;return!!t(Z.k,"accountName")&&(!!t(Z.k,"propertyName")&&(!!t(Z.k,"dataStreamName")&&(!!t(Z.k,"timezone")&&!!t(Z.k,"countryCode"))))}})),hasFinishedSelectingAccount:function(e){return e.finishedSelectingAccount}},Pe=Object(r.combineStores)(we,De,{initialState:Ce,actions:Ne,controls:{},reducer:Ie,resolvers:Re,selectors:xe}),Me=(Pe.initialState,Pe.actions,Pe.controls,Pe.reducer,Pe.resolvers,Pe.selectors,Pe),Le=n(15),Ge=n.n(Le),Be=n(8),Ve=n(34),Fe=n(709);function We(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function He(e,t,n,r){return qe.apply(this,arguments)}function qe(){return(qe=p()(m.a.mark((function e(t,n,r,i){var a,o,c,s,l,u,d;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.select,o=t.resolveSelect,c=a(Z.p).getAudiencesUserCountReportOptions(n,{startDate:r,endDate:i}),e.next=4,o(Z.p).getReport(c);case 4:if(s=e.sent,!(l=a(Z.p).getErrorForSelector("getReport",[c]))){e.next=8;break}return e.abrupt("return",{error:l});case 8:return u=ue()(s.rows||[]).sort((function(e,t){var n,r,i,a;return((null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)||0)-((null===(i=e.metricValues)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)||0)})),d=u.filter((function(e){var t,n=e.metricValues;return(null==n||null===(t=n[0])||void 0===t?void 0:t.value)>0})),e.abrupt("return",{audienceResourceNames:d.map((function(e){var t,n=e.dimensionValues;return null==n||null===(t=n[0])||void 0===t?void 0:t.value}))});case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ke=Object(he.a)({baseName:"createAudience",controlCallback:function(e){var t=e.audience;return ve.a.set("modules","analytics-4","create-audience",{audience:t})},argsToParams:function(e){return{audience:e}},validateParams:function(e){var t=e.audience;Object(Ee.j)(t)}}),Ye=Object(he.a)({baseName:"syncAvailableAudiences",controlCallback:function(){return ve.a.set("modules","analytics-4","sync-audiences")},reducerCallback:function(e,t){return Ue(Ue({},e),{},{settings:Ue(Ue({},e.settings),{},{availableAudiences:ue()(t)})})}}),Je={createAudience:Object(Oe.f)(Ee.j,m.a.mark((function e(t){var n,r,i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ke.actions.fetchCreateAudience(t);case 2:return n=e.sent,r=n.response,i=n.error,e.abrupt("return",{response:r,error:i});case 6:case"end":return e.stop()}}),e)}))),syncAvailableAudiences:m.a.mark((function e(){var t,n,i,a,o,c,s,l,u,d;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.select,i=t.dispatch,a=t.resolveSelect,e.next=6,r.commonActions.await(a(U.a).getAuthentication());case 6:if(n(U.a).isAuthenticated()){e.next=10;break}return o=n(Z.p).getAvailableAudiences(),e.abrupt("return",{response:null!=o?o:[]});case 10:return e.next=12,Ye.actions.fetchSyncAvailableAudiences();case 12:if(c=e.sent,s=c.response,!(l=c.error)){e.next=17;break}return e.abrupt("return",{response:s,error:l});case 17:return u=n(U.a).getConfiguredAudiences(),d=null==u?void 0:u.filter((function(e){return null==s?void 0:s.some((function(t){return t.name===e}))})),u&&d&&d!==u&&i(U.a).setConfiguredAudiences(d||[]),e.abrupt("return",{response:s,error:l});case 21:case"end":return e.stop()}}),e)})),maybeSyncAvailableAudiences:m.a.mark((function e(){var t,n,i,a,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.select,i=t.dispatch,a=t.resolveSelect,e.next=6,r.commonActions.await(a(U.a).getAuthentication());case 6:if(n(U.a).isAuthenticated()){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,r.commonActions.await(a(Z.p).getSettings());case 11:if((o=n(Z.p).getAvailableAudiencesLastSyncedAt())&&!(1e3*o<Date.now()-36e5)){e.next=15;break}return e.next=15,r.commonActions.await(i(Z.p).syncAvailableAudiences());case 15:case"end":return e.stop()}}),e)})),retrieveInitialAudienceSelection:m.a.mark((function e(t){var n,i,a,o,c,s,l,u,d,g,p,f,b;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(n=e.sent,i=n.select,a=[],!((o=t.filter((function(e){return"USER_AUDIENCE"===e.audienceType}))).length>0)){e.next=17;break}return c=i(U.a).getReferenceDate(),s=Object(Be.t)(c,90+Z.f),e.next=11,r.commonActions.await(He(n,o,s,c));case 11:if(l=e.sent,u=l.audienceResourceNames,!(d=l.error)){e.next=16;break}return e.abrupt("return",{error:d});case 16:a.push.apply(a,ue()(u.slice(0,2)));case 17:return a.length<2&&(g=t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})),p=["new-visitors","returning-visitors"],f=g.sort((function(e,t){return p.indexOf(e.audienceSlug)-p.indexOf(t.audienceSlug)})),b=f.slice(0,2-a.length).map((function(e){return e.name})),a.push.apply(a,ue()(b))),e.abrupt("return",{configuredAudiences:a});case 19:case"end":return e.stop()}}),e)})),enableAudienceGroup:m.a.mark((function e(t){var n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"START_AUDIENCES_SETUP"};case 2:return e.next=4,Je.enableAudienceGroupMain(t);case 4:return n=e.sent,e.next=7,{type:"FINISH_AUDIENCES_SETUP"};case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})),enableAudienceGroupMain:m.a.mark((function e(t){var n,i,a,o,c,s,l,u,d,g,p,f,b,v,h,y,O,E,_,j,S,k,A,T,w,D,C,N;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return n=e.sent,i=n.dispatch,a=n.select,o=n.resolveSelect,e.next=6,r.commonActions.await(i(Z.p).syncAvailableAudiences());case 6:if(c=e.sent,s=c.response,!(l=c.error)){e.next=11;break}return e.abrupt("return",{error:l});case 11:if(u=[],null==t?void 0:t.length){e.next=21;break}return e.next=15,r.commonActions.await(i(Z.p).retrieveInitialAudienceSelection(s));case 15:if(d=e.sent,g=d.error,p=d.configuredAudiences,!g){e.next=20;break}return e.abrupt("return",{error:g});case 20:u.push.apply(u,ue()(p));case 21:if(1!==u.length){e.next=28;break}if(!(f=s.find((function(e){return"purchasers"===e.audienceSlug})))){e.next=28;break}return e.next=26,r.commonActions.await(o(Z.p).getResourceDataAvailabilityDate(f.name,Fe.a));case 26:e.sent&&u.push(f.name);case 28:if(0!==u.length){e.next=50;break}return b=["new-visitors","returning-visitors"],v=(null==t?void 0:t.length)?t:b,e.next=33,r.commonActions.await(Promise.all(v.map((function(e){return i(Z.p).createAudience(Z.r[e])}))));case 33:if(h=e.sent,y=[],O=null,h.forEach((function(e,t){var n=v[t];e.error?Object(Ve.e)(e.error)?O=e.error:y.push(n):u.push(e.response.name)})),!O){e.next=39;break}return e.abrupt("return",{error:O});case 39:return e.next=41,r.commonActions.await(o(U.a).getAudienceSettings());case 41:if(!(y.length>0)){e.next=43;break}return e.abrupt("return",{failedSiteKitAudienceSlugs:y});case 43:return E=a(U.a).getConfiguredAudiences()||[],u.push.apply(u,ue()(E)),e.next=47,r.commonActions.await(i(Z.p).syncAvailableAudiences());case 47:_=e.sent,j=_.response,b.forEach((function(e){var t=j.find((function(t){return t.audienceSlug===e}));t&&!u.includes(t.name)&&u.push(t.name)}));case 50:return e.next=52,r.commonActions.await(o(Z.p).getAvailableCustomDimensions());case 52:if(a(Z.p).hasCustomDimensions("googlesitekit_post_type")){e.next=63;break}return S=a(Z.p).getPropertyID(),e.next=56,r.commonActions.await(i(Z.p).fetchCreateCustomDimension(S,Z.e.googlesitekit_post_type));case 56:if(k=e.sent,!(A=k.error)){e.next=60;break}return e.abrupt("return",{error:A});case 60:return i(Z.p).receiveIsCustomDimensionGatheringData("googlesitekit_post_type",!0),e.next=63,r.commonActions.await(i(Z.p).fetchSyncAvailableCustomDimensions());case 63:return i(U.a).setConfiguredAudiences(u),e.next=66,r.commonActions.await(i(U.a).saveAudienceSettings());case 66:if(T=e.sent,!(w=T.error)){e.next=70;break}return e.abrupt("return",{error:w});case 70:return e.next=72,r.commonActions.await(i(U.a).setExpirableItemTimers(u.map((function(e){return{slug:"".concat(Z.b).concat(e),expiresInSeconds:1}}))));case 72:return D=a(U.a).getID(),i(Z.p).setAudienceSegmentationSetupCompletedBy(D),e.next=76,r.commonActions.await(i(Z.p).saveSettings());case 76:if(C=e.sent,!(N=C.saveSettingsError)){e.next=80;break}return e.abrupt("return",{error:N});case 80:return i(U.a).triggerSurvey("audience_segmentation_setup_completed"),e.abrupt("return",{});case 82:case"end":return e.stop()}}),e)})),enableSecondaryUserAudienceGroup:m.a.mark((function e(){var t;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"START_AUDIENCES_SETUP"};case 2:return e.next=4,Je.enableSecondaryUserAudienceGroupMain();case 4:return t=e.sent,e.next=7,{type:"FINISH_AUDIENCES_SETUP"};case 7:return e.abrupt("return",t);case 8:case"end":return e.stop()}}),e)})),enableSecondaryUserAudienceGroupMain:m.a.mark((function e(){var t,n,i,a,o,c,s,l,u,d,g,p;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,i=t.resolveSelect,e.next=6,r.commonActions.await(n(Z.p).syncAvailableAudiences());case 6:if(a=e.sent,o=a.response,!(c=a.error)){e.next=11;break}return e.abrupt("return",{error:c});case 11:return e.next=13,r.commonActions.await(n(Z.p).retrieveInitialAudienceSelection(o));case 13:if(s=e.sent,l=s.error,u=s.configuredAudiences,!l){e.next=18;break}return e.abrupt("return",{error:l});case 18:if(!(u.length<2)){e.next=25;break}if(!(d=o.find((function(e){return"purchasers"===e.audienceSlug})))){e.next=25;break}return e.next=23,r.commonActions.await(i(Z.p).getResourceDataAvailabilityDate(d.name,Fe.a));case 23:e.sent&&u.push(d.name);case 25:return n(U.a).setConfiguredAudiences(u),e.next=28,r.commonActions.await(n(U.a).saveAudienceSettings());case 28:if(g=e.sent,!(p=g.error)){e.next=32;break}return e.abrupt("return",{error:p});case 32:if(!(u.length>0)){e.next=35;break}return e.next=35,r.commonActions.await(n(U.a).setExpirableItemTimers(u.map((function(e){return{slug:"".concat(Z.b).concat(e),expiresInSeconds:1}}))));case 35:return e.abrupt("return",{});case 36:case"end":return e.stop()}}),e)}))},$e={getAvailableAudiences:m.a.mark((function e(){var t,n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,n=t.select,null!==n(Z.p).getAvailableAudiences()){e.next=8;break}return e.next=8,Je.syncAvailableAudiences();case 8:case"end":return e.stop()}}),e)}))},Qe={isSettingUpAudiences:function(e){return e.isSettingUpAudiences},isDefaultAudience:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(Z.p).getAvailableAudiences();if(void 0!==r){var i=r.find((function(e){return e.name===n}));return"DEFAULT_AUDIENCE"===(null==i?void 0:i.audienceType)}}})),isSiteKitAudience:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(Z.p).getAvailableAudiences();if(void 0!==r){var i=r.find((function(e){return e.name===n}));return"SITE_KIT_AUDIENCE"===(null==i?void 0:i.audienceType)}}})),isUserAudience:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(Z.p).getAvailableAudiences();if(void 0!==r){var i=r.find((function(e){return e.name===n}));return"USER_AUDIENCE"===(null==i?void 0:i.audienceType)}}})),hasAudiences:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=Array.isArray(n)?n:[n],i=e(Z.p).getAvailableAudiences();if(void 0!==i)return null!==i&&r.every((function(e){return i.some((function(t){return t.name===e}))}))}})),getConfigurableAudiences:Object(r.createRegistrySelector)((function(e){return function(){var t=e(Z.p),n=t.getAvailableAudiences,r=t.getResourceDataAvailabilityDate,i=n();if(void 0!==i)return Array.isArray(i)?i.filter((function(e){var t=e.audienceSlug,n=e.name;return"purchasers"!==t||!!r(n,"audience")})):[]}})),getAudiencesUserCountReportOptions:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.startDate,a=r.endDate,o=e(U.a).getDateRangeDates({offsetDays:Z.f});return{startDate:i||o.startDate,endDate:a||o.endDate,metrics:[{name:"totalUsers"}],dimensions:[{name:"audienceResourceName"}],dimensionFilters:{audienceResourceName:(n||[]).map((function(e){return e.name}))}}}})),getAudienceUserCountReportErrors:Object(r.createRegistrySelector)((function(e){return function(){var t=e(Z.p),n=t.getConfigurableAudiences,r=t.getAudiencesUserCountReportOptions,i=t.getSiteKitAudiencesUserCountReportOptions,a=t.getErrorForSelector,o=t.getConfigurableSiteKitAndOtherAudiences,c=t.hasAudiencePartialData,s=n();if(void 0!==s){var l=o(),u=Ge()(l,2),d=u[0],m=u[1],g=c(d);if(void 0!==g)return[g?a("getReport",[i()]):void 0,!1===g||(null==m?void 0:m.length)>0?a("getReport",[r(g?m:s)]):void 0]}}})),getSiteKitAudiencesUserCountReportOptions:Object(r.createRegistrySelector)((function(e){return function(){var t=e(U.a).getDateRangeDates({offsetDays:Z.f});return{startDate:t.startDate,endDate:t.endDate,metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]}}})),hasAudiencePartialData:Object(r.createRegistrySelector)((function(e){return function(t,n){if(void 0!==n){var r,i=We(n||[]);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=e(Z.p).isAudiencePartialData(a.name);if(void 0===o)return;if(o)return!0}}catch(e){i.e(e)}finally{i.f()}return!1}}})),getPartialDataSiteKitAudience:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(Z.p).getAvailableAudiences();if(void 0!==r){var i=r.find((function(e){return e.name===n}));if("SITE_KIT_AUDIENCE"!==(null==i?void 0:i.audienceType))return null;var a=e(Z.p).isAudiencePartialData(n);if(void 0!==a)return a?i:null}}})),getConfigurableSiteKitAndOtherAudiences:Object(r.createRegistrySelector)((function(e){return function(){var t=e(Z.p).getConfigurableAudiences();if(void 0!==t){if(!(null==t?void 0:t.length))return[];var n=t.reduce((function(e,t){var n=Ge()(e,2),r=n[0],i=n[1];return"SITE_KIT_AUDIENCE"===t.audienceType?r.push(t):i.push(t),[r,i]}),[[],[]]),r=Ge()(n,2);return[r[0],r[1]]}}})),getConfiguredSiteKitAndOtherAudiences:Object(r.createRegistrySelector)((function(e){return function(){var t=e(U.a).getConfiguredAudiences(),n=e(Z.p).getAvailableAudiences();if(void 0!==t&&void 0!==n){if(!(null==t?void 0:t.length))return[];var r=t.reduce((function(e,t){var r=Ge()(e,2),i=r[0],a=r[1],o=n.find((function(e){return e.name===t}));return"SITE_KIT_AUDIENCE"===(null==o?void 0:o.audienceType)?i.push(o):a.push(o),[i,a]}),[[],[]]),i=Ge()(r,2);return[i[0],i[1]]}}}))},Xe=Object(r.combineStores)(Ke,Ye,{initialState:{isSettingUpAudiences:!1},actions:Je,controls:{},reducer:function(e,t){switch(t.type){case"START_AUDIENCES_SETUP":return Ue(Ue({},e),{},{isSettingUpAudiences:!0});case"FINISH_AUDIENCES_SETUP":return Ue(Ue({},e),{},{isSettingUpAudiences:!1});default:return e}},resolvers:$e,selectors:Qe}),et=(Xe.initialState,Xe.actions,Xe.controls,Xe.reducer,Xe.resolvers,Xe.selectors,Xe),tt=n(183),nt=n(149),rt=n(534);function it(){return(it=p()(m.a.mark((function e(t){var n,r,i,a,o,c,s,l,u,d,g,p,f,b,v,h,y,O;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,r=t.dispatch,(i=n(Z.p).getPropertyID())!==Z.q){e.next=16;break}return a=n(Z.p).getAccountID(),e.next=6,r(Z.p).createProperty(a);case 6:if(o=e.sent,c=o.response,!(s=o.error)){e.next=11;break}return e.abrupt("return",{error:s});case 11:return i=c._id,r(Z.p).setPropertyID(i),r(Z.p).setWebDataStreamID(Z.x),e.next=16,r(Z.p).updateSettingsForMeasurementID("");case 16:if(l=n(Z.p).getWebDataStreamID(),!i||l!==Z.x){e.next=36;break}if(u=n(ee.a).getValue(Z.m,"webDataStreamName"),d=!1,!Object(Ee.e)(i)){e.next=24;break}return e.next=23,r(Z.p).waitForWebDataStreams(i);case 23:d=n(Z.p).doesWebDataStreamExist(i,u);case 24:if(!Object(Ee.h)(u)||!1!==d){e.next=36;break}return e.next=27,r(Z.p).createWebDataStream(i,u);case 27:if(g=e.sent,p=g.response,!(f=g.error)){e.next=32;break}return e.abrupt("return",{error:f});case 32:return l=p._id,r(Z.p).setWebDataStreamID(l),e.next=36,r(Z.p).updateSettingsForMeasurementID(p.webStreamData.measurementId);case 36:if(!Object(Ee.e)(i)||!Object(Ee.g)(l)){e.next=45;break}if(!(b=n(ee.a).getValue(Z.i,Z.h))){e.next=45;break}return e.next=41,ct({select:n,dispatch:r,propertyID:i,webDataStreamID:l,isEnhancedMeasurementEnabled:b});case 41:if(v=e.sent,!(h=v.error)){e.next=45;break}return e.abrupt("return",{error:h});case 45:return e.next=47,at(n,r);case 47:if(y=e.sent,!(O=y.error)){e.next=51;break}return e.abrupt("return",{error:O});case 51:return r(U.a).resetAudienceSettings(),e.next=54,ve.a.invalidateCache("modules","analytics-4");case 54:return e.abrupt("return",{});case 55:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function at(e,t){return ot.apply(this,arguments)}function ot(){return(ot=p()(m.a.mark((function e(t,n){var r,i,a,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t(Z.p).haveSettingsChanged()){e.next=8;break}return e.next=4,n(Z.p).saveSettings();case 4:if(r=e.sent,!(i=r.error)){e.next=8;break}return e.abrupt("return",{error:i});case 8:if(!t(ne.c).haveConversionTrackingSettingsChanged()){e.next=16;break}return e.next=12,n(ne.c).saveConversionTrackingSettings();case 12:if(a=e.sent,!(o=a.error)){e.next=16;break}return e.abrupt("return",{error:o});case 16:return e.abrupt("return",{});case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ct(e){return st.apply(this,arguments)}function st(){return(st=p()(m.a.mark((function e(t){var n,r,i,a,o,c,s;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.dispatch,i=t.propertyID,a=t.webDataStreamID,o=t.isEnhancedMeasurementEnabled,e.next=3,r(Z.p).setEnhancedMeasurementStreamEnabled(i,a,o);case 3:if(!n(Z.p).haveEnhancedMeasurementSettingsChanged(i,a)){e.next=14;break}return e.next=6,r(Z.p).updateEnhancedMeasurementSettings(i,a);case 6:if(c=e.sent,!(s=c.error)){e.next=10;break}return e.abrupt("return",{error:s});case 10:if(!n(ee.a).getValue(Z.i,Z.j)){e.next=14;break}return e.next=14,r(U.a).dismissItem(nt.e);case 14:return e.abrupt("return",{});case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var lt=o.a.createModuleStore("analytics-4",{ownedSettingsSlugs:["accountID","propertyID","webDataStreamID","measurementID","googleTagID","googleTagAccountID","googleTagContainerID"],storeName:Z.p,settingSlugs:["accountID","adsConversionID","adSenseLinked","adSenseLinkedLastSyncedAt","propertyID","webDataStreamID","measurementID","useSnippet","ownerID","googleTagID","googleTagAccountID","googleTagContainerID","googleTagContainerDestinationIDs","googleTagLastSyncedAtMs","availableCustomDimensions","propertyCreateTime","trackingDisabled","adsConversionIDMigratedAtMs","adsLinked","adsLinkedLastSyncedAt","availableAudiences","availableAudiencesLastSyncedAt","audienceSegmentationSetupCompletedBy","detectedEvents"],submitChanges:function(e){return it.apply(this,arguments)},rollbackChanges:function(e){var t=e.select,n=e.dispatch;t(Z.p).haveSettingsChanged()&&(n(Z.p).rollbackSettings(),n(ne.c).resetConversionTrackingSettings()),n(Z.p).resetEnhancedMeasurementSettings()},validateCanSubmitChanges:function(e){var t=Object(Oe.e)(e)(Z.p),n=t.haveAnyGA4SettingsChanged,r=t.isDoingSubmitChanges,i=t.getPropertyID,a=t.getWebDataStreamID,o=t.doesWebDataStreamExist,c=t.getAdsConversionID;pe()(n(),tt.b),pe()(!r(),tt.a);var s=i();pe()(Object(Ee.f)(s),"a valid propertyID is required to submit changes");var l=a();if(pe()(Object(Ee.i)(l),"a valid webDataStreamID is required to submit changes"),l===Z.x){var u=e(ee.a).getValue(Z.m,"webDataStreamName");pe()(Object(Ee.h)(u),"a valid web data stream name is required to submit changes"),Object(Ee.e)(s)&&pe()(!1===o(s,u),"a web data stream with the same name already exists")}var d=c();""!==d&&pe()(Object(rt.a)(d),"a valid ads adsConversionID is required to submit changes")},validateHaveSettingsChanged:function(e,t,n){var r=t.settings,i=t.savedSettings,a=e(ne.c).haveConversionTrackingSettingsChanged();n&&pe()(!Object(fe.isEqual)(Object(fe.pick)(r,n),Object(fe.pick)(i,n))||a,tt.b),pe()(!Object(fe.isEqual)(r,i)||a,tt.b)}}),ut=lt.actions.setPropertyCreateTime;lt.actions.setPropertyCreateTime=function(e){return ut(Object(Be.j)(e))};var dt=lt,mt=n(164),gt=Object(he.a)({baseName:"getGoogleTagContainer",controlCallback:function(e){var t=e.measurementID;return ve.a.get("modules","analytics-4","container-lookup",{destinationID:t},{useCache:!1})},reducerCallback:Object(mt.a)((function(e,t,n){var r=n.measurementID;e.containers[r]=t})),argsToParams:function(e){return{measurementID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.measurementID;pe()(t,"measurementID is required.")}}),pt=Object(he.a)({baseName:"getGoogleTagContainerDestinations",controlCallback:function(e){var t=e.gtmAccountID,n=e.gtmContainerID;return ve.a.get("modules","analytics-4","container-destinations",{accountID:t,containerID:n},{useCache:!1})},reducerCallback:Object(mt.a)((function(e,t,n){var r,i=n.gtmAccountID,a=n.gtmContainerID;e.containerDestinations[i]=e.containerDestinations[i]||{},e.containerDestinations[i][a]=e.containerDestinations[i][a]||[],(r=e.containerDestinations[i][a]).push.apply(r,ue()(t))})),argsToParams:function(e,t){return{gtmAccountID:e,gtmContainerID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gtmAccountID,n=e.gtmContainerID;pe()(t,"gtmAccountID is required."),pe()(n,"gtmContainerID is required.")}}),ft={getGoogleTagContainer:m.a.mark((function e(t){var n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(n=e.sent,void 0!==n.select(Z.p).getGoogleTagContainer(t)){e.next=7;break}return e.next=7,gt.actions.fetchGetGoogleTagContainer(t);case 7:case"end":return e.stop()}}),e)})),getGoogleTagContainerDestinations:m.a.mark((function e(t,n){var i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(i=e.sent,void 0!==i.select(Z.p).getGoogleTagContainerDestinations(t,n)){e.next=7;break}return e.next=7,pt.actions.fetchGetGoogleTagContainerDestinations(t,n);case 7:case"end":return e.stop()}}),e)}))},bt=Object(r.combineStores)(gt,pt,{initialState:{containers:{},containerDestinations:{}},actions:{},controls:{},reducer:function(e,t){t.type;return e},resolvers:ft,selectors:{getGoogleTagContainer:function(e,t){return e.containers[t]},getGoogleTagContainerDestinations:function(e,t,n){var r;return null===(r=e.containerDestinations[t])||void 0===r?void 0:r[n]}}}),vt=(bt.initialState,bt.actions,bt.controls,bt.reducer,bt.resolvers,bt.selectors,bt),ht=Object(he.a)({baseName:"getConversionEvents",controlCallback:function(){return ve.a.get("modules","analytics-4","conversion-events",{})},reducerCallback:Object(mt.a)((function(e,t){e.conversionEvents=t}))}),yt={conversionEvents:void 0},Ot={getConversionEvents:m.a.mark((function e(){var t;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,!t.select(Z.p).getConversionEvents()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,ht.actions.fetchGetConversionEvents();case 8:case"end":return e.stop()}}),e)}))},Et=Object(r.combineStores)(ht,{initialState:yt,resolvers:Ot,selectors:{getConversionEvents:function(e){return e.conversionEvents}}}),_t=(Et.initialState,Et.actions,Et.controls,Et.reducer,Et.resolvers,Et.selectors,Et),jt=n(991),St=n(172);function kt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return At(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return At(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function At(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Dt=["parameterName","displayName","description","scope","disallowAdsPersonalization"],Ct=Object(he.a)({baseName:"createCustomDimension",controlCallback:function(e){var t=e.propertyID,n=e.customDimension;return ve.a.set("modules","analytics-4","create-custom-dimension",{propertyID:t,customDimension:n})},argsToParams:function(e,t){return{propertyID:e,customDimension:t}},validateParams:function(e){var t=e.propertyID,n=e.customDimension;pe()(Object(Ee.e)(t),"A valid GA4 propertyID is required."),pe()(Object(fe.isPlainObject)(n),"Custom dimension must be a plain object."),Object.keys(n).forEach((function(e){pe()(Dt.includes(e),'Custom dimension must contain only valid keys. Invalid key: "'.concat(e,'"'))}))}}),Nt=Object(he.a)({baseName:"syncAvailableCustomDimensions",controlCallback:function(){return ve.a.set("modules","analytics-4","sync-custom-dimensions")},reducerCallback:function(e,t){return wt(wt({},e),{},{settings:wt(wt({},e.settings),{},{availableCustomDimensions:ue()(t)})})}}),It={customDimensionsBeingCreated:[],syncTimeoutID:void 0},Rt={createCustomDimensions:m.a.mark((function e(){var t,n,i,a,o,c,s,l,u,d,g,p;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,r.commonActions.await(Promise.all([t.resolveSelect(Z.p).getSettings(),t.resolveSelect(U.a).getKeyMetricsSettings(),t.resolveSelect(U.a).getUserInputSettings()]));case 5:if(n=t.select(U.a).getKeyMetrics(),i=n.flatMap((function(e){var t=St.a[e];return(null==t?void 0:t.requiredCustomDimensions)||[]})),a=ue()(new Set(i)),o=t.select(Z.p).getAvailableCustomDimensions(),(c=a.filter((function(e){return!(null==o?void 0:o.includes(e))}))).length){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,{type:"SET_CUSTOM_DIMENSIONS_BEING_CREATED",payload:{customDimensions:c}};case 14:s=t.select(Z.p).getPropertyID(),l=kt(c),e.prev=16,l.s();case 18:if((u=l.n()).done){e.next=29;break}if(d=u.value,!(g=Z.e[d])){e.next=27;break}return e.next=24,Ct.actions.fetchCreateCustomDimension(s,g);case 24:p=e.sent,p.error||t.dispatch(Z.p).receiveIsCustomDimensionGatheringData(d,!0);case 27:e.next=18;break;case 29:e.next=34;break;case 31:e.prev=31,e.t0=e.catch(16),l.e(e.t0);case 34:return e.prev=34,l.f(),e.finish(34);case 37:if(!(c.length>0)){e.next=40;break}return e.next=40,Nt.actions.fetchSyncAvailableCustomDimensions();case 40:return e.next=42,{type:"SET_CUSTOM_DIMENSIONS_BEING_CREATED",payload:{customDimensions:[]}};case 42:case"end":return e.stop()}}),e,null,[[16,31,34,37]])})),setSyncTimeoutID:function(e){return{payload:{syncTimeoutID:e},type:"SET_SYNC_TIMEOUT_ID"}},scheduleSyncAvailableCustomDimensions:m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS"};case 2:case"end":return e.stop()}}),e)}))},xt=me()({},"SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS",Object(r.createRegistryControl)((function(e){var t=e.select,n=e.dispatch;return function(){var e=t(Z.p),r=e.getSyncTimeoutID,i=e.isFetchingSyncAvailableCustomDimensions,a=n(Z.p),o=a.fetchSyncAvailableCustomDimensions,c=a.setSyncTimeoutID,s=r(),l=i();if(s&&(clearTimeout(s),c(void 0)),!l){var u=setTimeout(p()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:c(void 0);case 3:case"end":return e.stop()}}),e)}))),2e3);c(u)}}}))),Pt={getAvailableCustomDimensions:m.a.mark((function e(){var t,n,i,a,o,c;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.select,i=t.resolveSelect,a=n(U.a),o=a.isAuthenticated,c=a.hasCapability,e.next=8,r.commonActions.await(i(te.a).isModuleConnected("analytics-4"));case 8:if(e.sent){e.next=11;break}return e.abrupt("return");case 11:return e.next=13,r.commonActions.await(i(Z.p).getSettings());case 13:if(!n(Z.p).getAvailableCustomDimensions()&&o()){e.next=16;break}return e.abrupt("return");case 16:return e.next=18,r.commonActions.await(i(U.a).getCapabilities());case 18:if(c(U.K)){e.next=20;break}return e.abrupt("return");case 20:return e.next=22,Nt.actions.fetchSyncAvailableCustomDimensions();case 22:case"end":return e.stop()}}),e)}))},Mt={hasCustomDimensions:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=Array.isArray(n)?n:[n],i=e(Z.p).getAvailableCustomDimensions();if(void 0!==i)return!!i&&r.every((function(e){return i.includes(e)}))}})),isCreatingCustomDimension:function(e,t){return!!(null==e?void 0:e.customDimensionsBeingCreated.includes(t))},getCreateCustomDimensionError:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(Z.p).getPropertyID();return e(Z.p).getErrorForAction("createCustomDimension",[r,Z.e[n]])}})),isSyncingAvailableCustomDimensions:Object(r.createRegistrySelector)((function(e){return function(t){return e(Z.p).isFetchingSyncAvailableCustomDimensions()||!!(null==t?void 0:t.syncTimeoutID)}})),getSyncTimeoutID:function(e){return null==e?void 0:e.syncTimeoutID}},Lt=Object(r.combineStores)(Ct,Nt,{initialState:It,actions:Rt,resolvers:Pt,controls:xt,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"SET_CUSTOM_DIMENSIONS_BEING_CREATED":return wt(wt({},e),{},{customDimensionsBeingCreated:r.customDimensions});case"SET_SYNC_TIMEOUT_ID":return wt(wt({},e),{},{syncTimeoutID:r.syncTimeoutID});default:return e}},selectors:Mt}),Gt=(Lt.initialState,Lt.actions,Lt.controls,Lt.reducer,Lt.resolvers,Lt.selectors,Lt),Bt=n(992),Vt=n(111);function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zt=["name","streamEnabled","scrollsEnabled","outboundClicksEnabled","siteSearchEnabled","videoEngagementEnabled","fileDownloadsEnabled","pageChangesEnabled","formInteractionsEnabled","searchQueryParameter","uriQueryParameter"];function zt(e){pe()(Object(fe.isPlainObject)(e),"Enhanced measurement settings must be an object."),Object.keys(e).forEach((function(e){pe()(Zt.includes(e),'Enhanced measurement settings must contain only valid keys. Invalid key: "'.concat(e,'"'))}))}var Ut=Object(mt.a)((function(e,t,n){var r=n.propertyID,i=n.webDataStreamID;e.enhancedMeasurement[r]||(e.enhancedMeasurement[r]={}),e.enhancedMeasurement[r][i]||(e.enhancedMeasurement[r][i]={}),e.enhancedMeasurement[r][i].settings=t,e.enhancedMeasurement[r][i].savedSettings=t})),Ht=Object(he.a)({baseName:"getEnhancedMeasurementSettings",controlCallback:function(e){var t=e.propertyID,n=e.webDataStreamID;return ve.a.get("modules","analytics-4","enhanced-measurement-settings",{propertyID:t,webDataStreamID:n},{useCache:!1})},reducerCallback:Ut,argsToParams:function(e,t){return{propertyID:e,webDataStreamID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.propertyID,n=e.webDataStreamID;pe()(Object(Ee.e)(t),"A valid GA4 propertyID is required."),pe()(Object(Ee.g)(n),"A valid GA4 webDataStreamID is required.")}}),qt=Object(he.a)({baseName:"updateEnhancedMeasurementSettings",controlCallback:function(e){var t=e.propertyID,n=e.webDataStreamID,r=e.enhancedMeasurementSettings;return ve.a.set("modules","analytics-4","enhanced-measurement-settings",{propertyID:t,webDataStreamID:n,enhancedMeasurementSettings:r})},reducerCallback:Ut,argsToParams:function(e,t,n){return{propertyID:e,webDataStreamID:t,enhancedMeasurementSettings:n}},validateParams:function(e){var t=e.propertyID,n=e.webDataStreamID,r=e.enhancedMeasurementSettings;pe()(Object(Ee.e)(t),"A valid GA4 propertyID is required."),pe()(Object(Ee.g)(n),"A valid GA4 webDataStreamID is required."),zt(r)}}),Kt={setEnhancedMeasurementSettings:function(e,t,n){return pe()(Object(Ee.e)(e),"A valid GA4 propertyID is required."),pe()(Object(Ee.g)(t),"A valid GA4 webDataStreamID is required."),zt(n),{type:"SET_ENHANCED_MEASUREMENT_SETTINGS",payload:{propertyID:e,webDataStreamID:t,settings:n}}},setEnhancedMeasurementStreamEnabled:Object(Oe.f)((function(e,t,n){pe()(Object(Ee.e)(e),"A valid GA4 propertyID is required."),pe()(Object(Ee.g)(t),"A valid GA4 webDataStreamID is required."),pe()(void 0!==n,"enabled is required."),pe()("boolean"==typeof n,"enabled must be a boolean.")}),m.a.mark((function e(t,n,i){var a,o,c,s;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return a=e.sent,e.next=5,r.commonActions.await(a.resolveSelect(Z.p).getEnhancedMeasurementSettings(t,n));case 5:if(o=e.sent){e.next=8;break}return e.abrupt("return",null);case 8:return c=i||null,s=Wt(Wt({},o),{},{streamEnabled:c}),e.next=12,r.commonActions.await(a.dispatch(Z.p).setEnhancedMeasurementSettings(t,n,s));case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}}),e)}))),resetEnhancedMeasurementSettings:function(){return{type:"RESET_ENHANCED_MEASUREMENT_SETTINGS",payload:{}}},updateEnhancedMeasurementSettings:Object(Oe.f)((function(e,t){pe()(Object(Ee.e)(e),"A valid GA4 propertyID is required."),pe()(Object(Ee.g)(t),"A valid GA4 webDataStreamID is required.")}),m.a.mark((function e(t,n){var i,a;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return i=e.sent,e.next=5,r.commonActions.await(i.resolveSelect(Z.p).getEnhancedMeasurementSettings(t,n));case 5:if(a=e.sent){e.next=8;break}return e.abrupt("return",null);case 8:return e.next=10,qt.actions.fetchUpdateEnhancedMeasurementSettings(t,n,a);case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}}),e)})))},Yt=Object(mt.a)((function(e,t){var n=t.type,r=t.payload;switch(n){case"SET_ENHANCED_MEASUREMENT_SETTINGS":var i=r.propertyID,a=r.webDataStreamID,o=r.settings;e.enhancedMeasurement[i]||(e.enhancedMeasurement[i]={}),e.enhancedMeasurement[i][a]||(e.enhancedMeasurement[i][a]={}),e.enhancedMeasurement[i][a].settings=o;break;case"RESET_ENHANCED_MEASUREMENT_SETTINGS":for(var c in e.enhancedMeasurement)for(var s in e.enhancedMeasurement[c]){var l=e.enhancedMeasurement[c][s];l.savedSettings?l.settings=l.savedSettings:delete e.enhancedMeasurement[c][s]}}})),Jt={getEnhancedMeasurementSettings:m.a.mark((function e(t,n){var i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(i=e.sent,void 0!==i.select(Z.p).getEnhancedMeasurementSettings(t,n)){e.next=7;break}return e.next=7,Ht.actions.fetchGetEnhancedMeasurementSettings(t,n);case 7:case"end":return e.stop()}}),e)})),isEnhancedMeasurementStreamAlreadyEnabled:m.a.mark((function e(t,n){var i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(i=e.sent,void 0!==i.select(Z.p).isEnhancedMeasurementStreamAlreadyEnabled(t,n)){e.next=7;break}return e.next=7,Ht.actions.fetchGetEnhancedMeasurementSettings(t,n);case 7:case"end":return e.stop()}}),e)}))},$t={getEnhancedMeasurementSettings:function(e,t,n){var r,i;return null===(r=e.enhancedMeasurement[t])||void 0===r||null===(i=r[n])||void 0===i?void 0:i.settings},isEnhancedMeasurementStreamEnabled:Object(Vt.b)((function(e){return function(t,n,r){var i=e(Z.p).getEnhancedMeasurementSettings(n,r);if(void 0!==i)return!!i.streamEnabled}})),isEnhancedMeasurementStreamAlreadyEnabled:function(e,t,n){var r,i=((null===(r=e.enhancedMeasurement[t])||void 0===r?void 0:r[n])||{}).savedSettings;if(void 0!==i)return!!i.streamEnabled},haveEnhancedMeasurementSettingsChanged:function(e,t,n){var r,i=(null===(r=e.enhancedMeasurement[t])||void 0===r?void 0:r[n])||{},a=i.settings,o=i.savedSettings;return!Object(fe.isEqual)(a,o)},haveAnyGA4SettingsChanged:Object(Vt.b)((function(e){return function(){var t=e(Z.p),n=t.getPropertyID,r=t.getWebDataStreamID,i=t.haveEnhancedMeasurementSettingsChanged;if((0,t.haveSettingsChanged)())return!0;var a=n(),o=r();return!!(Object(Ee.e)(a)&&Object(Ee.g)(o)&&i(a,o))}}))},Qt=Object(r.combineStores)(Ht,qt,{initialState:{enhancedMeasurement:{}},actions:Kt,controls:{},reducer:Yt,resolvers:Jt,selectors:$t}),Xt=(Qt.initialState,Qt.actions,Qt.controls,Qt.reducer,Qt.resolvers,Qt.selectors,Qt),en=n(993),tn=n(994),nn=n(357);function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var on=Object(he.a)({baseName:"getPivotReport",controlCallback:function(e){var t=e.options;return ve.a.get("modules","analytics-4","pivot-report",Object(nn.e)(t))},reducerCallback:function(e,t,n){var r=n.options;return an(an({},e),{},{pivotReports:an(an({},e.pivotReports),{},me()({},Object(Be.I)(r),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;return Object(Ee.k)(t)}}),cn={getPivotReport:m.a.mark((function e(){var t,n,i=arguments;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,r.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(Z.p).getPivotReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,on.actions.fetchGetPivotReport(t);case 9:case"end":return e.stop()}}),e)}))},sn={getPivotReport:function(e,t){return e.pivotReports[Object(Be.I)(t)]}},ln=Object(r.combineStores)(on,{initialState:{pivotReports:{}},resolvers:cn,selectors:sn}),un=(ln.initialState,ln.actions,ln.controls,ln.reducer,ln.resolvers,ln.selectors,ln),dn=n(266),mn=n.n(dn),gn=n(157),pn=n(404),fn=n(660);function bn(e){pe()(Object(fe.isPlainObject)(e),"A valid details object is required.");var t=e.metric,n=e.dimension;if(pe()(!t||"string"==typeof t,"A valid metric string is required."),pe()(!n||"string"==typeof n,"A valid dimension string is required."),Object(fe.isEmpty)(e))return{};var r={};return t&&(r[nt.k]=JSON.stringify([t])),n&&(r[nt.j]=JSON.stringify([n])),r}function vn(e){if(pe()(Object(fe.isPlainObject)(e),"A valid filters object is required."),pe()(Reflect.ownKeys(e).every((function(t){var n=e[t];return"string"==typeof t&&"string"==typeof n})),"A valid set of dimension names and values is required."),Object(fe.isEmpty)(e))return{};var t=Object.entries(e).map((function(e){var t=Ge()(e,2);return{type:1,fieldName:t[0],evaluationType:1,expressionList:[t[1]],complement:!1,isCaseSensitive:!0,expression:""}}));return me()({},nt.h,JSON.stringify(t))}function hn(){var e=mn()(["/a","p","/admin/streams/table/",""]);return hn=function(){return e},e}function yn(){var e=mn()(["/p","/reports/explorer"]);return yn=function(){return e},e}function On(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?On(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):On(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _n={selectors:{getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.path,i=n.query,a="https://analytics.google.com/analytics/web/";if(i&&(a=Object(gn.a)(a,i)),r){var o="/".concat(r.replace(/^\//,""));a="".concat(a,"#").concat(o)}var c=e(U.a).getAccountChooserURL(a);if(void 0!==c)return c}})),getServiceReportURL:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};pe()(n,"type is required to get a service report URL.");var i=e(Z.p).getPropertyID();if(i){var a=r.dates,o=r.details,c=void 0===o?{}:o,s=r.filters,l=void 0===s?{}:s,u=r.otherArgs,d=void 0===u?{}:u,m=En(En(En(me()({},nt.i,"maui"),a?Object(fn.a)(a):{}),bn(c)),vn(l)),g=Object.entries(m).map((function(e){var t=Ge()(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(r)})).join("&"),p=Object(gn.a)(Object(pn.a)(yn(),i),En({params:g,r:n},d));return e(Z.p).getServiceURL({query:{pli:1},path:p})}}})),getServiceEntityAccessURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(Z.p).getAccountID(),n=e(Z.p).getPropertyID(),r=e(Z.p).getWebDataStreamID();if(t&&n&&r)return e(Z.p).getServiceURL({path:Object(pn.a)(hn(),t,n,r)})}}))}},jn=n(553);function Sn(){for(var e=[/__gaTracker\s*\(\s*['|"]create['|"]\s*,\s*['|"](G-[a-zA-Z0-9]+)['|"], ?['|"]auto['|"]\s*\)/i,/_gaq\.push\s*\(\s*\[\s*['|"][^_]*_setAccount['|"]\s*,\s*['|"](G-[a-zA-Z0-9]+)['|"]\s*],?\s*\)/i,/<amp-analytics\s+[^>]*type="gtag"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"gtag_id"\s*:\s*"(G-[a-zA-Z0-9]+)"/i,/<amp-analytics\s+[^>]*type="googleanalytics"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"account"\s*:\s*"(G-[a-zA-Z0-9]+)"/i],t=0,n=["","www\\."];t<n.length;t++){var r=n[t];e.push(new RegExp("<script\\s+[^>]*src=['|\"]https?://".concat(r,"googletagmanager\\.com/gtag/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^>]*><\/script>"),"i"),new RegExp("<script\\s+[^>]*src=['|\"]https?://".concat(r,"googletagmanager\\.com/gtag/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^/]*/>"),"i"))}for(var i=0,a=["__gaTracker","ga","gtag"];i<a.length;i++){var o=a[i];e.push(new RegExp("".concat(o,"\\s*\\(\\s*['|\"]create['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"],\\s*['|\"]auto['|\"]\\s*\\)"),"i"),new RegExp("".concat(o,"\\s*\\(\\s*['|\"]config['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\\s*\\)"),"i"))}return e}Sn();var kn=Object(jn.a)({storeName:Z.p,tagMatchers:Sn(),isValidTag:Ee.d});kn.resolvers.getExistingTag=m.a.mark((function e(){var t,n,i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(n=t.select(Z.p).getExistingTag())){e.next=8;break}return e.next=7,kn.actions.fetchGetExistingTag();case 7:n=e.sent;case 8:if(null===n){e.next=13;break}return e.next=11,r.commonActions.await(t.resolveSelect(Z.p).getGoogleTagContainer(n));case 11:(null==(i=e.sent)?void 0:i.tagIds.includes(n))||(n=null);case 13:t.dispatch(Z.p).receiveGetExistingTag(n);case 14:case"end":return e.stop()}}),e)}));var An,Tn,wn,Dn=Object(r.combineStores)(kn),Cn=(Dn.initialState,Dn.actions,Dn.controls,Dn.reducer,Dn.resolvers,Dn.selectors,Dn),Nn=n(763),In=n(133),Rn=Object(r.combineStores)(Me,et,dt,vt,_t,jt.a,Object(In.a)(Z.p),Gt,Bt.a,Xt,Fe.b,en.a,tn.a,un,_n,Cn,Nn.b);Rn.initialState,Rn.actions,Rn.controls,Rn.reducer,Rn.resolvers,Rn.selectors;i.a.registerStore(Z.p,Rn),o.a.registerModule("analytics-4",{storeName:Z.p,SettingsEditComponent:H.a,SettingsViewComponent:q.a,SetupComponent:K.a,DashboardMainEffectComponent:DashboardMainEffectComponent,Icon:W.a,features:[Object(f.__)("Audience overview","google-site-kit"),Object(f.__)("Top pages","google-site-kit"),Object(f.__)("Top acquisition channels","google-site-kit")]}),(An=s.a).registerWidget("analyticsAllTrafficGA4",{Component:Y.a,width:An.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["analytics-4"]},[z.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,z.AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY]),An.registerWidget("analyticsAudienceTiles",{Component:Q.e,width:An.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return!!e(U.a).getConfiguredAudiences()}},[z.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION]),An.registerWidget("analyticsAudienceSecondaryUserSetup",{Component:Q.i,width:An.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){if(!e(te.a).isModuleConnected("analytics-4"))return!1;var t=e(Z.p).getAvailableAudiences(),n=e(U.a).getConfiguredAudiences(),r=e(Z.p).getAudienceSegmentationSetupCompletedBy();return(null==t?void 0:t.length)&&null===n&&null!==r}},[z.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION]),An.registerWidget("audienceConnectAnalyticsCTA",{Component:Q.g,width:An.WIDGET_WIDTHS.FULL,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){var t=e(te.a).isModuleConnected("analytics-4"),n=e(U.a).getConfiguredAudiences(),r=e(U.a).isAudienceSegmentationWidgetHidden();return(null==n?void 0:n.length)>0&&!1===r&&!t}},[z.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION]),An.registerWidget("analyticsAudienceInfoNotice",{Component:Q.h,width:An.WIDGET_WIDTHS.FULL,priority:2,wrapWidget:!1,modules:["analytics-4"]},[z.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION]),An.registerWidget("analyticsOverallPageMetricsGA4",{Component:J.a,width:An.WIDGET_WIDTHS.FULL,priority:3,wrapWidget:!1,modules:["analytics-4"]},[z.AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY]),An.registerWidget("analyticsModulePopularPagesGA4",{Component:$.a,width:An.WIDGET_WIDTHS.FULL,priority:4,wrapWidget:!1,modules:["analytics-4"]},[z.AREA_MAIN_DASHBOARD_CONTENT_PRIMARY]),An.registerWidget(U.y,{Component:G.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.y)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.l,{Component:F.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.l)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.p,{Component:B.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.p)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.m,{Component:O.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.m)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.n,{Component:E.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.n)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.k,{Component:x.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.k)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.F,{Component:P.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.F)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.E,{Component:L.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.E)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.i,{Component:h.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.i)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.h,{Component:v.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.h)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.z,{Component:M.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.z)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.j,{Component:y.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.j)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.o,{Component:_.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.o)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.A,{Component:D.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.A)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.B,{Component:C.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.B)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.C,{Component:N.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.C)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.D,{Component:R.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.D)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.g,{Component:b.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.g)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.u,{Component:I.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.u)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.q,{Component:j.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.q)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.s,{Component:S.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.s)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.x,{Component:V.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.x)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.r,{Component:k.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.r)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.t,{Component:A.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.t)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.w,{Component:T.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.w)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),An.registerWidget(U.v,{Component:w.a,width:An.WIDGET_WIDTHS.QUARTER,priority:1,wrapWidget:!1,modules:["analytics-4"],isActive:function(e){return e(U.a).isKeyMetricActive(U.v)}},[z.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY]),Tn=u.a,Object(se.b)("audienceSegmentation")&&Tn.registerNotification(ae.a,{Component:ae.b,priority:10,areaSlug:oe.b.BANNERS_BELOW_NAV,viewContexts:[ce.n],checkRequirements:(wn=p()(m.a.mark((function e(t){var n,r,i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,e.next=3,r(Z.p).getSettings();case 3:return i=n(U.a).getConfiguredAudiences(),e.abrupt("return",Array.isArray(i));case 5:case"end":return e.stop()}}),e)}))),function(e){return wn.apply(this,arguments)}),isDismissible:!0})}],[[1228,1,0]]]); dist/assets/js/googlesitekit-modules-f137613a7b6e587d2f09.js 0000604 00000264102 14717744000 0017055 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[16],{100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=r(58),i=r(37),a=r(44);function o(t,r){var o,c=Object(n.a)(r),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,v=t.pluginVersion;return function(){var r=e.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var n=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:v||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:n,user_identifier:l}});var d=r.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,r(26))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r(5),i=r.n(n),a=r(7),o=r.n(a),c=r(16),s=r.n(c),u=r(58);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r,n){var a=Object(u.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return r(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,r,i=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},l),{},{event_callback:s})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,i){return t.apply(this,arguments)}}()}},104:function(e,t,r){"use strict";var n=r(123);r.d(t,"a",(function(){return n.a}));var i=r(124);r.d(t,"c",(function(){return i.a}));var a=r(125);r.d(t,"b",(function(){return a.a}))},1201:function(e,t,r){"use strict";r.r(t),function(e){var n=r(3),i=r.n(n),a=r(815);Object(a.b)(i.a);var o=Object(a.a)(i.a);void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.modules=o,t.default=o}.call(this,r(26))},123:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Cell}));var n=r(21),i=r.n(n),a=r(7),o=r.n(a),c=r(23),s=r.n(c),u=r(1),l=r.n(u),d=r(12),g=r.n(d);function Cell(t){var r,n=t.className,a=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,f=t.smAlignRight,v=t.mdAlignRight,p=t.lgAlignRight,b=t.smSize,h=t.smStart,m=t.smOrder,S=t.mdSize,O=t.mdStart,y=t.mdOrder,E=t.lgSize,j=t.lgStart,k=t.lgOrder,R=t.size,w=t.children,_=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},_,{className:g()(n,"mdc-layout-grid__cell",(r={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":v,"mdc-layout-grid__cell--align-right-desktop":p},o()(r,"mdc-layout-grid__cell--span-".concat(R),12>=R&&R>0),o()(r,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(r,"mdc-layout-grid__cell--start-".concat(j,"-desktop"),12>=j&&j>0),o()(r,"mdc-layout-grid__cell--order-".concat(k,"-desktop"),12>=k&&k>0),o()(r,"mdc-layout-grid__cell--span-".concat(S,"-tablet"),8>=S&&S>0),o()(r,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(r,"mdc-layout-grid__cell--order-".concat(y,"-tablet"),8>=y&&y>0),o()(r,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(r,"mdc-layout-grid__cell--start-".concat(h,"-phone"),4>=h&&h>0),o()(r,"mdc-layout-grid__cell--order-".concat(m,"-phone"),4>=m&&m>0),r))}),w)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,r(4))},124:function(e,t,r){"use strict";(function(e){var n=r(21),i=r.n(n),a=r(23),o=r.n(a),c=r(1),s=r.n(c),u=r(12),l=r.n(u),d=r(0),g=Object(d.forwardRef)((function(t,r){var n=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:r,className:l()("mdc-layout-grid__inner",n)},c),a)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,r(4))},125:function(e,t,r){"use strict";(function(e){var n=r(21),i=r.n(n),a=r(23),o=r.n(a),c=r(1),s=r.n(c),u=r(12),l=r.n(u),d=r(0),g=Object(d.forwardRef)((function(t,r){var n=t.alignLeft,a=t.fill,c=t.className,s=t.children,u=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":n,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":a})},d,{ref:r}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,r(4))},126:function(e,t,r){"use strict";var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),n.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return n.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,r){"use strict";var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),n.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return n.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,r){"use strict";var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=n.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return n.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n="core/site",i="primary",a="secondary"},183:function(e,t,r){"use strict";r.d(t,"a",(function(){return j})),r.d(t,"b",(function(){return k})),r.d(t,"c",(function(){return R})),r.d(t,"g",(function(){return w})),r.d(t,"f",(function(){return _})),r.d(t,"d",(function(){return A})),r.d(t,"e",(function(){return C}));var n=r(16),i=r.n(n),a=r(5),o=r.n(a),c=r(7),s=r.n(c),u=r(11),l=r.n(u),d=r(13),g=r(42),f=r.n(g),v=r(3),p=r(59),b=r(78),h=r(47),m=r(62);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=m.a.clearError,E=m.a.receiveError,j="cannot submit changes while submitting changes",k="cannot submit changes if settings have not changed",R=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n.ownedSettingsSlugs,a=void 0===i?void 0:i,c=n.storeName,u=void 0===c?void 0:c,g=n.settingSlugs,m=void 0===g?[]:g,S=n.initialSettings,j=void 0===S?void 0:S,k=n.validateHaveSettingsChanged,R=void 0===k?C():k;l()(e,"type is required."),l()(t,"identifier is required."),l()(r,"datapoint is required.");var w=u||"".concat(e,"/").concat(t),_={ownedSettingsSlugs:a,settings:j,savedSettings:void 0},A=Object(h.a)({baseName:"getSettings",controlCallback:function(){return f.a.get(e,t,r,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),N=Object(h.a)({baseName:"saveSettings",controlCallback:function(n){var i=n.values;return f.a.set(e,t,r,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(Object(d.isPlainObject)(t),"values is required.")}}),M={},D={setSettings:function(e){return l()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,r,n,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,y("saveSettings",[]);case 5:return r=t.select(w).getSettings(),e.next=8,N.actions.fetchSaveSettings(r);case 8:if(n=e.sent,i=n.response,!(a=n.error)){e.next=14;break}return e.next=14,E(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},T={},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;switch(r){case"SET_SETTINGS":var i=n.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==M[r]?M[r](e,{type:r,payload:n}):e}},x={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.commonActions.getRegistry();case 2:if(t=e.sent,t.select(w).getSettings()){e.next=7;break}return e.next=7,A.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},P=Object(p.g)(R),L=P.safeSelector,q=P.dangerousSelector,U={haveSettingsChanged:L,__dangerousHaveSettingsChanged:q,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){l()(t,"setting is required.");var r=e.settings,n=e.savedSettings;return!(!r||!n)&&!Object(d.isEqual)(r[t],n[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(v.createRegistrySelector)((function(e){return function(){var t=e(w).getOwnedSettingsSlugs();return e(w).haveSettingsChanged(t)}}))};m.forEach((function(e){var t=Object(b.b)(e),r=Object(b.a)(e);D["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(r)}},M["SET_".concat(r)]=function(t,r){var n=r.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,n))})},U["get".concat(t)]=Object(v.createRegistrySelector)((function(t){return function(){return(t(w).getSettings()||{})[e]}}))}));var H=Object(v.combineStores)(v.commonStore,A,N,{initialState:_,actions:D,controls:T,reducer:I,resolvers:x,selectors:U});return O(O({},H),{},{STORE_NAME:w})};function w(e,t){return function(){var r=i()(o.a.mark((function r(n){var i,a,c,s;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=n.select,a=n.dispatch,!i(t).haveSettingsChanged()){r.next=8;break}return r.next=4,a(t).saveSettings();case 4:if(c=r.sent,!(s=c.error)){r.next=8;break}return r.abrupt("return",{error:s});case 8:return r.next=10,f.a.invalidateCache("modules",e);case 10:return r.abrupt("return",{});case 11:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()}function _(e){return function(t){var r=t.select,n=t.dispatch;return r(e).haveSettingsChanged()?n(e).rollbackSettings():{}}}function A(e){return function(t){var r=Object(p.e)(t)(e),n=r.haveSettingsChanged,i=r.isDoingSubmitChanges;l()(!i(),j),l()(n(),k)}}function C(){return function(e,t,r){var n=t.settings,i=t.savedSettings;r&&l()(!Object(d.isEqual)(Object(d.pick)(n,r),Object(d.pick)(i,r)),k),l()(!Object(d.isEqual)(n,i),k)}}},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,r){"use strict";(function(e){var n=r(21),i=r.n(n),a=r(23),o=r.n(a),c=r(12),s=r.n(c),u=r(1),l=r.n(u),d=r(140),g=r(0),f=r(2),v=r(126),p=r(127),b=r(128),h=r(80),m=r(77),S=Object(g.forwardRef)((function(t,r){var n,a=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,g=void 0!==l&&l,S=t.back,O=void 0!==S&&S,y=t.caps,E=void 0!==y&&y,j=t.children,k=t.className,R=void 0===k?"":k,w=t.danger,_=void 0!==w&&w,A=t.disabled,C=void 0!==A&&A,N=t.external,M=void 0!==N&&N,D=t.hideExternalIndicator,T=void 0!==D&&D,I=t.href,x=void 0===I?"":I,P=t.inverse,L=void 0!==P&&P,q=t.noFlex,U=void 0!==q&&q,H=t.onClick,G=t.small,B=void 0!==G&&G,F=t.standalone,V=void 0!==F&&F,K=t.linkButton,z=void 0!==K&&K,W=t.to,$=t.leadingIcon,J=t.trailingIcon,Q=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),X=x||W||!H?W?"ROUTER_LINK":M?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",Y="BUTTON"===X||"BUTTON_DISABLED"===X?"button":"ROUTER_LINK"===X?d.b:"a",Z=("EXTERNAL_LINK"===X&&(n=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===X&&(n=Object(f._x)("(disabled)","screen reader text","google-site-kit")),n?a?"".concat(a," ").concat(n):"string"==typeof j?"".concat(j," ").concat(n):void 0:a),ee=$,te=J;return O&&(ee=e.createElement(b.a,{width:14,height:14})),M&&!T&&(te=e.createElement(h.a,{width:14,height:14})),g&&!L&&(te=e.createElement(v.a,{width:14,height:14})),g&&L&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Y,i()({"aria-label":Z,className:s()("googlesitekit-cta-link",R,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":L,"googlesitekit-cta-link--small":B,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":_,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":z,"googlesitekit-cta-link--no-flex":!!U}),disabled:C,href:"LINK"!==X&&"EXTERNAL_LINK"!==X||C?void 0:x,onClick:H,rel:"EXTERNAL_LINK"===X?"noopener noreferrer":void 0,ref:r,target:"EXTERNAL_LINK"===X?"_blank":void 0,to:W},Q),!!ee&&e.createElement(m.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},j),!!te&&e.createElement(m.a,{marginLeft:5},te))}));S.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=S}).call(this,r(4))},212:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return WarningNotice}));var n=r(12),i=r.n(n),a=r(1),o=r.n(a);function WarningNotice(t){var r=t.children,n=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",n)},r)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,r(4))},219:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return AdBlockerWarning}));var n=r(1),i=r.n(n),a=r(3),o=r(14),c=r(19),s=r(374);function AdBlockerWarning(t){var r=t.moduleSlug,n=t.className,i=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(r)})),u=Object(a.useSelect)((function(e){var t;return null===(t=e(i))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),l=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(r,"-ad-blocker-detected"))}));return e.createElement(s.a,{className:n,getHelpLink:l,warningMessage:u})}AdBlockerWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,r(4))},3:function(e,t){e.exports=googlesitekit.data},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return S}));var n=r(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},v=Object(n.a)(f),p=v.enableTracking,b=v.disableTracking,h=(v.isTrackingEnabled,v.initializeSnippet),m=v.trackEvent,S=v.trackEventOnce;function O(e){e?p():b()}c&&s&&h()}).call(this,r(26))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},374:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return AdBlockerWarningMessage}));var n=r(1),i=r.n(n),a=r(2),o=r(38),c=r(20),s=r(212),u=r(375);function AdBlockerWarningMessage(t){var r=t.className,n=void 0===r?"":r,i=t.getHelpLink,l=void 0===i?"":i,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:n},Object(o.a)(Object(a.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:l,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(u.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:i.a.string,getHelpLink:i.a.string,warningMessage:i.a.string}}).call(this,r(4))},375:function(e,t,r){"use strict";var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=n.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return n.createElement("svg",i({viewBox:"0 0 13 14",fill:"none"},e),a)}},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var a=new Set((null===(n=e)||void 0===n||null===(i=n._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,r(26))},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(5),i=r.n(n),a=r(7),o=r.n(a),c=r(11),s=r.n(c),u=r(13),l=r(62),d=r(78),g=r(8);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e){return e},b=function(){return{}},h=function(){},m=l.a.clearError,S=l.a.receiveError,O=function(e){var t,r,n=i.a.mark(x),a=e.baseName,c=e.controlCallback,l=e.reducerCallback,f=void 0===l?p:l,O=e.argsToParams,y=void 0===O?b:O,E=e.validateParams,j=void 0===E?h:E;s()(a,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof f,"reducerCallback must be a function."),s()("function"==typeof y,"argsToParams must be a function."),s()("function"==typeof j,"validateParams must be a function.");try{j(y()),r=!1}catch(e){r=!0}var k=Object(d.b)(a),R=Object(d.a)(a),w="FETCH_".concat(R),_="START_".concat(w),A="FINISH_".concat(w),C="CATCH_".concat(w),N="RECEIVE_".concat(R),M="fetch".concat(k),D="receive".concat(k),T="isFetching".concat(k),I=o()({},T,{});function x(e,t){var r,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:_};case 2:return n.next=4,m(a,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:w};case 7:return r=n.sent,n.next=10,P[D](r,e);case 10:return n.next=12,{payload:{params:e},type:A};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,S(o,a,t);case 19:return n.next=21,{payload:{params:e},type:C};case 21:return n.abrupt("return",{response:r,error:o});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var P=(t={},o()(t,M,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=y.apply(void 0,t);return j(n),x(n,t)})),o()(t,D,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(Object(u.isPlainObject)(t),"params is required."),j(t)):t={},{payload:{response:e,params:t},type:N}})),t),L=o()({},w,(function(e){var t=e.payload;return c(t.params)})),q=o()({},T,(function(e){if(void 0===e[T])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=y.apply(void 0,n),j(t)}catch(e){return!1}return!!e[T][Object(g.I)(t)]}));return{initialState:I,actions:P,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case _:var i=n.params;return v(v({},e),{},o()({},T,v(v({},e[T]),{},o()({},Object(g.I)(i),!0))));case N:var a=n.response,c=n.params;return f(e,a,c);case A:var s=n.params;return v(v({},e),{},o()({},T,v(v({},e[T]),{},o()({},Object(g.I)(s),!1))));case C:var u=n.params;return v(v({},e),{},o()({},T,v(v({},e[T]),{},o()({},Object(g.I)(u),!1))));default:return e}},resolvers:{},selectors:q}}},545:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n=r(5),i=r.n(n),a=r(7),o=r.n(a),c=r(11),s=r.n(c),u=r(42),l=r.n(u),d=r(3),g=r(47);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.client,u=void 0===c||c,f=a.server,p=void 0===f||f,b=a.storeName,h=void 0===b?void 0:b;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var m=h||"".concat(t,"/").concat(r),S={serverNotifications:p?void 0:{},clientNotifications:u?void 0:{}},O=Object(g.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return v(v({},e),{},{serverNotifications:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,t))}),{})})}}),y={addNotification:function(e){return s()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return s()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var a=i.notification;return v(v({},t),{},{clientNotifications:v(v({},t.clientNotifications||{}),{},o()({},a.id,a))});case"REMOVE_NOTIFICATION":var c=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var s=v({},t.clientNotifications);return delete s[c],v(v({},t),{},{clientNotifications:s});default:return t}},k={getNotifications:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,t.select(m).getNotifications()){e.next=7;break}return e.next=7,O.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};p||delete k.getNotifications;var R={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(v(v({},t||{}),r||{}))}},w=Object(d.combineStores)(O,{initialState:S,actions:y,controls:E,reducer:j,resolvers:k,selectors:R});return v(v({},w),{},{STORE_NAME:m})}}).call(this,r(26))},546:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ModuleSettingsWarning}));var n=r(3),i=r(19),a=r(6),o=r(212),c=r(219);function ModuleSettingsWarning(t){var r=t.slug,s=Object(n.useSelect)((function(e){var t;return null===(t=e(i.a))||void 0===t?void 0:t.getCheckRequirementsError(r)}));return s?a.c===s.code?e.createElement(c.a,{moduleSlug:r}):e.createElement(o.a,null,s.message):null}}).call(this,r(4))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(37);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return w})),r.d(t,"b",(function(){return _})),r.d(t,"c",(function(){return A})),r.d(t,"d",(function(){return N})),r.d(t,"e",(function(){return M})),r.d(t,"g",(function(){return T})),r.d(t,"f",(function(){return I}));var n,i=r(5),a=r.n(i),o=r(27),c=r.n(o),s=r(7),u=r.n(s),l=r(11),d=r.n(l),g=r(57),f=r.n(g),v=r(13),p=r(111);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return h(h({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=C(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),n},S=m,O=m,y=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},E=m,j=m,k=m,R=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=k.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:S.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:y.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||R}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:j.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},_={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},A=(n={},u()(n,"GET_REGISTRY",Object(p.a)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),C=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},N={actions:_,controls:A,reducer:R},M=function(e){return function(t){return D(e(t))}},D=f()((function(e){return Object(v.mapValues)(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return d()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,i=Object(p.b)((function(t){return function(r){var i=!n,a=!!n;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,r].concat(c)),i}catch(e){return a}}})),a=Object(p.b)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];e.apply(void 0,[t,r].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function I(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"e",(function(){return a})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"H",(function(){return s})),r.d(t,"M",(function(){return u})),r.d(t,"O",(function(){return l})),r.d(t,"K",(function(){return d})),r.d(t,"L",(function(){return g})),r.d(t,"J",(function(){return f})),r.d(t,"I",(function(){return v})),r.d(t,"N",(function(){return p})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return m})),r.d(t,"j",(function(){return S})),r.d(t,"l",(function(){return O})),r.d(t,"m",(function(){return y})),r.d(t,"n",(function(){return E})),r.d(t,"o",(function(){return j})),r.d(t,"q",(function(){return k})),r.d(t,"s",(function(){return R})),r.d(t,"r",(function(){return w})),r.d(t,"t",(function(){return _})),r.d(t,"w",(function(){return A})),r.d(t,"u",(function(){return C})),r.d(t,"v",(function(){return N})),r.d(t,"x",(function(){return M})),r.d(t,"y",(function(){return D})),r.d(t,"A",(function(){return T})),r.d(t,"B",(function(){return I})),r.d(t,"C",(function(){return x})),r.d(t,"D",(function(){return P})),r.d(t,"k",(function(){return L})),r.d(t,"F",(function(){return q})),r.d(t,"z",(function(){return U})),r.d(t,"G",(function(){return H})),r.d(t,"E",(function(){return G})),r.d(t,"i",(function(){return B})),r.d(t,"p",(function(){return F})),r.d(t,"Q",(function(){return V})),r.d(t,"P",(function(){return K}));var n="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",v="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",h="kmAnalyticsEngagedTrafficSource",m="kmAnalyticsLeastEngagingPages",S="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",y="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",k="kmAnalyticsTopCities",R="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",_="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",N="kmAnalyticsTopCountries",M="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",T="kmAnalyticsTopTrafficSource",I="kmAnalyticsTopTrafficSourceDrivingAddToCart",x="kmAnalyticsTopTrafficSourceDrivingLeads",P="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",q="kmAnalyticsVisitLength",U="kmAnalyticsTopReturningVisitorPages",H="kmSearchConsolePopularKeywords",G="kmAnalyticsVisitsPerVisitor",B="kmAnalyticsMostEngagingPages",F="kmAnalyticsTopCategories",V=[b,h,m,S,O,y,E,j,F,k,R,w,_,A,C,N,D,T,I,L,q,U,G,B,F],K=[].concat(V,[H])},62:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return h}));var n=r(7),i=r.n(n),a=r(33),o=r.n(a),c=r(111),s=r(11),u=r.n(s),l=r(94),d=r.n(l),g=r(8);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(r&&Array.isArray(r),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function h(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.errors;return u()(t,"baseName is required."),n[p(t,r)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var r=Object.keys(e.errors).find((function(r){return e.errors[r]===t}));return r?{baseName:r.substring(0,r.indexOf("::")),args:e.errorArgs[r]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(r,n){var i=t(e).getMetaDataForError(n);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var a=n.baseName,o=n.args,c=n.error,s=p(a,o);return v(v({},e),{},{errors:v(v({},e.errors||{}),{},i()({},s,c)),errorArgs:v(v({},e.errorArgs||{}),{},i()({},s,o))});case"CLEAR_ERROR":var u=n.baseName,l=n.args,d=v({},e),g=p(u,l);return d.errors=v({},e.errors||{}),d.errorArgs=v({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var f=n.baseName,b=v({},e);if(f)for(var h in b.errors=v({},e.errors||{}),b.errorArgs=v({},e.errorArgs||{}),b.errors)(h===f||h.startsWith("".concat(f,"::")))&&(delete b.errors[h],delete b.errorArgs[h]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(33),i=r.n(n),a=r(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return IconWrapper}));var n=r(1),i=r.n(n);function IconWrapper(t){var r=t.children,n=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:n,marginRight:i}},r)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,r(4))},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return i.b})),r.d(t,"K",(function(){return i.c})),r.d(t,"G",(function(){return a.a})),r.d(t,"L",(function(){return a.b})),r.d(t,"I",(function(){return l})),r.d(t,"n",(function(){return d.a})),r.d(t,"C",(function(){return d.d})),r.d(t,"D",(function(){return d.e})),r.d(t,"z",(function(){return d.c})),r.d(t,"s",(function(){return d.b})),r.d(t,"A",(function(){return p})),r.d(t,"k",(function(){return b})),r.d(t,"j",(function(){return h})),r.d(t,"d",(function(){return j})),r.d(t,"c",(function(){return k})),r.d(t,"e",(function(){return R})),r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return _})),r.d(t,"g",(function(){return A})),r.d(t,"f",(function(){return C})),r.d(t,"o",(function(){return N})),r.d(t,"x",(function(){return M})),r.d(t,"q",(function(){return D})),r.d(t,"H",(function(){return T})),r.d(t,"t",(function(){return I})),r.d(t,"w",(function(){return x})),r.d(t,"l",(function(){return P})),r.d(t,"p",(function(){return L.b})),r.d(t,"i",(function(){return L.a})),r.d(t,"u",(function(){return q.b})),r.d(t,"r",(function(){return q.a})),r.d(t,"B",(function(){return q.c})),r.d(t,"y",(function(){return U})),r.d(t,"v",(function(){return H})),r.d(t,"F",(function(){return F})),r.d(t,"E",(function(){return V.a})),r.d(t,"h",(function(){return K})),r.d(t,"M",(function(){return z})),r.d(t,"m",(function(){return W}));var n=r(13),i=r(36),a=r(72),o=r(33),c=r.n(o),s=r(94),u=r.n(s),l=function(e){return u()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};r(97);var d=r(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function v(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,r=0,n=[g,f,v];r<n.length;r++){t=(0,n[r])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},h=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},m=r(15),S=r.n(m),O=r(11),y=r.n(O),E=r(2),j="Invalid dateString parameter, it must be a string.",k='Invalid date range, it must be a string with the format "last-x-days".',R=60,w=60*R,_=24*w,A=7*_,C=30*_;function N(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var r=new Date(e);return Object(n.isDate)(r)&&!isNaN(r)}function D(e){y()(Object(n.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,r.length<2?"0".concat(r):r].join("-")}function T(e){y()(M(e),j);var t=e.split("-"),r=S()(t,3),n=r[0],i=r[1],a=r[2];return new Date(n,i-1,a)}function I(e,t){return D(P(e,t*_))}function x(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function P(e,t){y()(M(e)||Object(n.isDate)(e)&&!isNaN(e),j);var r=M(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var L=r(98),q=r(83);function U(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function H(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var G=r(27),B=r.n(G),F=function(e){return Array.isArray(e)?B()(e).sort():e},V=r(88);function K(e,t){var r=function(e){return"0"===e||0===e};if(r(e)&&r(t))return 0;if(r(e)||Number.isNaN(e))return null;var n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var z=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},W=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},80:function(e,t,r){"use strict";var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=n.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return n.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(145),i=r.n(n)()(e)}).call(this,r(26))},815:function(e,t,r){"use strict";r.d(t,"b",(function(){return L})),r.d(t,"a",(function(){return q}));var n=r(11),i=r.n(n),a=r(3),o=r(545),c=r(183),s=r(62),u=r(7),l=r.n(u),d=r(5),g=r.n(d),f=r(16),v=r.n(f),p=r(157),b=r(14),h=r(6);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.storeName,n=void 0===r?void 0:r,o=t.requiresSetup,c=void 0===o||o;i()(n,"storeName is required.");var s={},u={},d=l()({},"WAIT_FOR_REAUTH_RESOLVERS",Object(a.createRegistryControl)((function(e){return v()(g.a.mark((function t(){var r,n,i,a,o,c;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.resolveSelect,n=r(h.a),i=n.getAuthentication,a=n.getConnectURL,o=r(b.c),c=o.getSiteInfo,t.next=5,Promise.all([i(),c(),a()]);case 5:case"end":return t.stop()}}),t)})))}))),f=function(e){return e},m={getAdminReauthURL:g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"WAIT_FOR_REAUTH_RESOLVERS"};case 2:case"end":return e.stop()}}),e)}))},O={getAdminScreenURL:Object(a.createRegistrySelector)((function(e){return function(t,r){return e(b.c).getAdminURL("googlesitekit-dashboard",r)}})),getAdminReauthURL:Object(a.createRegistrySelector)((function(t){return function(r){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t(h.a).needsReauthentication();if(void 0!==a){var o={};c||!0!==i||(o.notification="authentication_success",o.reAuth=void 0);var s=t(n).getAdminScreenURL(S({slug:e,reAuth:i},o));if(void 0!==s){if(!a)return s;var u=t(h.a).getConnectURL({redirectURL:s});return Object(p.a)(u,{status:i})}}}}))};return{STORE_NAME:n,initialState:s,actions:u,controls:d,reducer:f,resolvers:m,selectors:O}},y=r(59);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=s.a.clearError,R=s.a.receiveError;function w(e){var t,r=e||{},n=r.submitChanges,i=void 0===n?function(){return{}}:n,o=r.rollbackChanges,c=void 0===o?function(){return{}}:o,s=r.validateCanSubmitChanges,u=void 0===s?function(){}:s,d={submitChanges:g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k("submitChanges",[]);case 2:return e.next=4,{type:"START_SUBMIT_CHANGES",payload:{}};case 4:return e.next=6,{type:"SUBMIT_CHANGES",payload:{}};case 6:if(!(null==(t=e.sent)?void 0:t.error)){e.next=10;break}return e.next=10,R(t.error,"submitChanges",[]);case 10:return e.next=12,{type:"FINISH_SUBMIT_CHANGES",payload:{}};case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e)})),rollbackChanges:g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"ROLLBACK_CHANGES",payload:{}};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},f=(t={},l()(t,"SUBMIT_CHANGES",Object(a.createRegistryControl)((function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return i.apply(void 0,[e].concat(r))}}))),l()(t,"ROLLBACK_CHANGES",Object(a.createRegistryControl)((function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return c.apply(void 0,[e].concat(r))}}))),t),v=Object(y.g)(u);return{initialState:{isDoingSubmitChanges:!1},actions:d,controls:f,reducer:function(e,t){switch(t.type){case"START_SUBMIT_CHANGES":return j(j({},e),{},{isDoingSubmitChanges:!0});case"FINISH_SUBMIT_CHANGES":return j(j({},e),{},{isDoingSubmitChanges:!1});default:return e}},resolvers:{},selectors:{canSubmitChanges:v.safeSelector,__dangerousCanSubmitChanges:v.dangerousSelector,isDoingSubmitChanges:function(e){return!!e.isDoingSubmitChanges}}}}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.storeName,n=t.settingSlugs,u=t.ownedSettingsSlugs,l=void 0===u?void 0:u,d=t.initialSettings,g=void 0===d?void 0:d,f=t.requiresSetup,v=void 0===f||f,p=t.submitChanges,b=t.rollbackChanges,h=t.validateHaveSettingsChanged,m=void 0===h?null:h,S=t.validateCanSubmitChanges,E=t.validateIsSetupBlocked,j=void 0===E?void 0:E;i()(e,"slug is required."),i()(r,"storeName is required.");var k=Object(o.a)("modules",e,"notifications",{storeName:r}),R=O(e,{storeName:r,requiresSetup:v}),_={};if(v&&j){var A=Object(y.g)(j,{negate:!0}),C=A.safeSelector,N=A.dangerousSelector;_.selectors={isSetupBlocked:C,__dangerousIsSetupBlocked:N}}var M={};if(void 0!==n){var D=Object(c.c)("modules",e,"settings",{ownedSettingsSlugs:l,storeName:r,settingSlugs:n,initialSettings:g,validateHaveSettingsChanged:m||Object(c.e)()}),T=w({submitChanges:p||Object(c.g)(e,r),rollbackChanges:b||Object(c.f)(r),validateCanSubmitChanges:S||Object(c.d)(r)});M=Object(a.combineStores)(k,D,T,R,Object(s.b)(r),_)}else M=Object(a.combineStores)(a.commonStore,k,R,_,Object(s.b)(r),w({submitChanges:p,validateCanSubmitChanges:S}));return M.STORE_NAME=r,M}var A=r(19);function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var M,D={actions:{setModuleSettingsPanelState:function(e,t){i()(e,"slug is required.");var r=["closed","edit","view"];return i()(r.includes(t),"value should be one of ".concat(r.join()," ")),{payload:{slug:e,value:t},type:"SET_MODULE_SETTINGS_PANEL_STATE"}}},initialState:{settingsPanel:{currentModule:null,isEditing:!1}},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_MODULE_SETTINGS_PANEL_STATE":var i=n.slug,a=n.value,o=N({},e.settingsPanel);return o.currentModule="closed"===a?null:i,o.isEditing="edit"===a,N(N({},e),{},{settingsPanel:o});default:return e}},selectors:{getModuleSettingsPanelState:function(e,t){i()(t,"slug is required.");var r=e.settingsPanel,n=r.currentModule,a=r.isEditing;return n===t?a?"edit":"view":"closed"},isModuleSettingsPanelOpen:function(e,t){return i()(t,"slug is required."),t===e.settingsPanel.currentModule},isModuleSettingsPanelClosed:function(e,t){return i()(t,"slug is required."),t!==e.settingsPanel.currentModule},isModuleSettingsPanelEdit:function(e,t){i()(t,"slug is required.");var r=e.settingsPanel,n=r.currentModule,a=r.isEditing;return t===n&&a},isModuleSettingsPanelLocked:function(e,t){i()(t,"slug is required.");var r=e.settingsPanel,n=r.currentModule,a=r.isEditing;return t!==n&&a}}},T={actions:{submitChanges:Object(y.f)((function(e){i()(e,"slug is required.")}),g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"SUBMIT_MODULE_CHANGES",payload:{slug:t}};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),rollbackChanges:Object(y.f)((function(e){i()(e,"slug is required.")}),g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"ROLLBACK_MODULE_CHANGES",payload:{slug:t}};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))},controls:(M={},l()(M,"SUBMIT_MODULE_CHANGES",Object(a.createRegistryControl)((function(e){return function(t){var r=t.payload.slug,n=e.select(A.a).getModuleStoreName(r);if(!n)return{error:"The module '".concat(r,"' does not have a store.")};var i=e.dispatch(n).submitChanges;return i?i(r):{error:"The module '".concat(r,"' does not have a submitChanges() action.")}}}))),l()(M,"ROLLBACK_MODULE_CHANGES",Object(a.createRegistryControl)((function(e){return function(t){var r=t.payload.slug,n=e.select(A.a).getModuleStoreName(r);if(!n)return{error:"The module '".concat(r,"' does not have a store.")};var i=e.dispatch(n).rollbackChanges;return i?i(r):void 0}}))),M),selectors:{isDoingSubmitChanges:Object(a.createRegistrySelector)((function(e){return function(t,r){var n,a;i()(r,"slug is required.");var o=e(A.a).getModuleStoreName(r);return!!(null===(n=e(o))||void 0===n||null===(a=n.isDoingSubmitChanges)||void 0===a?void 0:a.call(n))}})),canSubmitChanges:Object(a.createRegistrySelector)((function(e){return function(t,r){var n,a;i()(r,"slug is required.");var o=e(A.a).getModuleStoreName(r);return!!(null===(n=e(o))||void 0===n||null===(a=n.canSubmitChanges)||void 0===a?void 0:a.call(n))}})),haveSettingsChanged:Object(a.createRegistrySelector)((function(e){return function(t,r){var n,a;i()(r,"slug is required.");var o=e(A.a).getModuleStoreName(r);return!!(null===(n=e(o))||void 0===n||null===(a=n.haveSettingsChanged)||void 0===a?void 0:a.call(n))}}))}},I=r(945),x=r(948),P=Object(a.combineStores)(a.commonStore,I.a,Object(s.b)(A.a),D,T,x.a),L=(P.initialState,P.actions,P.controls,P.reducer,P.resolvers,P.selectors,function(e){e.registerStore(A.a,P)});function q(e){var t=e.dispatch;return{createModuleStore:_,activateModule:function(e){return t(A.a).activateModule(e)},deactivateModule:function(e){return t(A.a).deactivateModule(e)},registerModule:function(e,r){return t(A.a).registerModule(e,r)}}}},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return j})),r.d(t,"d",(function(){return k})),r.d(t,"e",(function(){return w})),r.d(t,"c",(function(){return _})),r.d(t,"b",(function(){return A}));var n=r(15),i=r.n(n),a=r(33),o=r.n(a),c=r(7),s=r.n(c),u=r(23),l=r.n(u),d=r(13),g=r(57),f=r.n(g),v=r(2);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},m=function(e){var t=S(e),r=t.hours,n=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(i):"".concat(r,":").concat(n,":").concat(i)},S=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=S(e),n=r.hours,i=r.minutes,a=r.seconds;return{hours:n,minutes:i,seconds:a,formatUnit:function(){var r=t.unitDisplay,o=b(b({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,b(b({},o),{},{unit:"second"})):Object(v.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(v._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,b(b({},o),{},{unit:"second"})):"",i?w(i,b(b({},o),{},{unit:"minute"})):"",n?w(n,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(v.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(v.__)("%ds","google-site-kit"),a);if(0===e)return t;var r=Object(v.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(v.__)("%dm","google-site-kit"),i),o=Object(v.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(v.__)("%dh","google-site-kit"),n);return Object(v.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(v._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?r:"",n?o:"").trim()}}},y=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(v.sprintf)(// translators: %s: an abbreviated number in millions. Object(v.__)("%sM","google-site-kit"),w(y(e),e%10==0?{}:t)):1e4<=e?Object(v.sprintf)(// translators: %s: an abbreviated number in thousands. Object(v.__)("%sK","google-site-kit"),w(y(e))):1e3<=e?Object(v.sprintf)(// translators: %s: an abbreviated number in thousands. Object(v.__)("%sK","google-site-kit"),w(y(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function j(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r=j(t),n=r.style,i=void 0===n?"metric":n;return"metric"===i?E(e):"duration"===i?h(e,r):"durationISO"===i?m(e):w(e,r)}var R=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,a=l()(t,["locale"]);try{return new Intl.NumberFormat(n,a).format(e)}catch(t){R("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),v=f[0],p=f[1];c[v]&&p===c[v]||(s.includes(v)||(u[v]=p))}try{return new Intl.NumberFormat(n,u).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(n,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(v.__)(", ","google-site-kit");return e.join(u)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(26))},83:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c}));var n=r(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),i=e.replace(r.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},86:function(e,t,r){"use strict";(function(e){var n=r(1),i=r.n(n),a=r(12),o=r.n(a);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(11),i=r.n(n),a=function(e,t){var r=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:e.slice(n),compareRange:e.slice(2*n,n)}}},945:function(e,t,r){"use strict";(function(e){var n,i=r(15),a=r.n(i),o=r(16),c=r.n(o),s=r(5),u=r.n(s),l=r(7),d=r.n(l),g=r(57),f=r.n(g),v=r(11),p=r.n(v),b=r(13),h=r(2),m=r(42),S=r.n(m),O=r(3),y=r(19),E=r(14),j=r(6),k=r(47),R=r(8),w=r(946),_=r(59),A=u.a.mark(F);function C(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){d()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={slug:"",storeName:null,name:"",description:"",homepage:null,internal:!1,active:!1,connected:!1,dependencies:[],dependants:[],order:10,features:[],Icon:null,SettingsEditComponent:null,SettingsViewComponent:null,SettingsSetupIncompleteComponent:w.a,SetupComponent:null,onCompleteSetup:void 0,checkRequirements:function(){return!0},DashboardMainEffectComponent:null,DashboardEntityEffectComponent:null},I=f()((function(e,t){var r=Object(b.merge)({},e,t);return Object.keys(r).map((function(e){var t=D(D({},r[e]),{},{slug:e});return Object(b.defaults)(t,{name:e},T),t})).sort((function(e,t){return e.order-t.order})).reduce((function(e,t){return D(D({},e),{},d()({},t.slug,t))}),{})})),x=f()((function(e,t){return Object.values(e).reduce((function(e,r){return t.includes(r.slug)?D(D({},e),{},d()({},r.slug,r)):e}),{})})),P=Object(k.a)({baseName:"getModules",controlCallback:function(){return S.a.get("core","modules","list",null,{useCache:!1})},reducerCallback:function(e,t){return D(D({},e),{},{isAwaitingModulesRefresh:!1,serverDefinitions:t.reduce((function(e,t){return D(D({},e),{},d()({},t.slug,t))}),{})})}}),L=Object(k.a)({baseName:"setModuleActivation",controlCallback:function(e){var t=e.slug,r=e.active;return S.a.set("core","modules","activation",{slug:t,active:r})},reducerCallback:function(e){return D(D({},e),{},{isAwaitingModulesRefresh:!0})},argsToParams:function(e,t){return{slug:e,active:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.active;p()(t,"slug is required."),p()(void 0!==r,"active is required.")}}),q=Object(k.a)({baseName:"checkModuleAccess",controlCallback:function(e){var t=e.slug;return S.a.set("core","modules","check-access",{slug:t})},reducerCallback:function(e,t,r){var n=t.access,i=r.slug;return D(D({},e),{},{moduleAccess:D(D({},e.moduleAccess),{},d()({},i,n))})},argsToParams:function(e){return{slug:e}},validateParams:function(e){var t=e.slug;p()(t,"slug is required.")}}),U=Object(k.a)({baseName:"recoverModules",controlCallback:function(e){var t=e.slugs;return S.a.set("core","modules","recover-modules",{slugs:t})},reducerCallback:function(e,t){return D(D({},e),{},{recoveredModules:t})},argsToParams:function(e){return{slugs:e}},validateParams:function(e){var t=e.slugs;p()(t,"slugs is required.")}}),H={clientDefinitions:{},serverDefinitions:void 0,isAwaitingModulesRefresh:!1,checkRequirementsResults:{},moduleAccess:{},recoverableModules:void 0,sharedOwnershipModules:void 0,recoveredModules:void 0},G={activateModule:u.a.mark((function e(t){var r,n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,G.setModuleActivation(t,!0);case 2:if(r=e.sent,n=r.response,i=r.error,!0!==(null==n?void 0:n.success)){e.next=10;break}return e.next=8,{payload:{slug:t},type:"SELECT_MODULE_REAUTH_URL"};case 8:return a=e.sent,e.abrupt("return",{response:D(D({},n),{},{moduleReauthURL:a}),error:i});case 10:return e.abrupt("return",{response:n,error:i});case 11:case"end":return e.stop()}}),e)})),deactivateModule:u.a.mark((function e(t){var r,n,i;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,G.setModuleActivation(t,!1);case 2:return r=e.sent,n=r.response,i=r.error,e.abrupt("return",{response:n,error:i});case 6:case"end":return e.stop()}}),e)})),setModuleActivation:Object(_.f)((function(e,t){p()(e,"slug is required."),p()(void 0!==t,"active is required.")}),u.a.mark((function e(t,r){var n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L.actions.fetchSetModuleActivation(t,r);case 2:if(n=e.sent,i=n.response,a=n.error,!0!==(null==i?void 0:i.success)){e.next=8;break}return e.next=8,{payload:{},type:"REFETCH_AUTHENTICATION"};case 8:return e.abrupt("return",{response:i,error:a});case 9:case"end":return e.stop()}}),e)}))),registerModule:Object(_.f)((function(e){p()(e,"module slug is required")}),u.a.mark((function e(t){var r,n,i,a,o,c,s,l,d,g,f,v,p,b,h,m,S,E,j=arguments;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=j.length>1&&void 0!==j[1]?j[1]:{},n=r.storeName,i=r.name,a=r.description,o=r.features,c=r.Icon,s=r.order,l=r.homepage,d=r.SettingsEditComponent,g=r.SettingsViewComponent,f=r.SetupComponent,v=r.SettingsSetupIncompleteComponent,p=r.checkRequirements,b=r.onCompleteSetup,h=r.DashboardMainEffectComponent,m=r.DashboardEntityEffectComponent,S={storeName:n,name:i,description:a,features:o,Icon:c,order:s,homepage:l,SettingsEditComponent:d,SettingsViewComponent:g,SetupComponent:f,onCompleteSetup:b,SettingsSetupIncompleteComponent:v,checkRequirements:p,DashboardMainEffectComponent:h,DashboardEntityEffectComponent:m},e.next=4,{payload:{settings:S,slug:t},type:"REGISTER_MODULE"};case 4:return e.next=6,O.commonActions.getRegistry();case 6:(E=e.sent).dispatch(y.a).invalidateResolution("canActivateModule",[t]),E.dispatch(y.a).invalidateResolution("getCheckRequirementsError",[t]);case 9:case"end":return e.stop()}}),e)}))),receiveCheckRequirementsError:function(e,t){return p()(e,"slug is required"),p()(Object(b.isPlainObject)(t),"error is required and must be an object"),{payload:{slug:e,error:t},type:"RECEIVE_CHECK_REQUIREMENTS_ERROR"}},receiveCheckRequirementsSuccess:function(e){return p()(e,"slug is required"),{payload:{slug:e},type:"RECEIVE_CHECK_REQUIREMENTS_SUCCESS"}},receiveRecoverableModules:function(e){return p()(e,"recoverableModules is required."),{payload:{recoverableModules:e},type:"RECEIVE_RECOVERABLE_MODULES"}},recoverModules:Object(_.f)((function(e){p()(Array.isArray(e),"slugs must be an array")}),u.a.mark((function e(t){var r,n,i,a,o,c,s,l,d,g,f;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.commonActions.getRegistry();case 2:return r=e.sent,n=r.dispatch,i=r.select,e.next=7,U.actions.fetchRecoverModules(t);case 7:a=e.sent,o=a.response,c=o.success,s=Object.keys(c).filter((function(e){return!!c[e]})),l=C(s),e.prev=12,l.s();case 14:if((d=l.n()).done){e.next=21;break}return g=d.value,f=i(y.a).getModuleStoreName(g),e.next=19,O.commonActions.await(n(f).fetchGetSettings());case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),l.e(e.t0);case 26:return e.prev=26,l.f(),e.finish(26);case 29:if(!s.length){e.next=35;break}return e.next=32,P.actions.fetchGetModules();case 32:return n(y.a).invalidateResolution("getRecoverableModules",[]),e.next=35,O.commonActions.await(n(j.a).refreshCapabilities());case 35:return e.abrupt("return",{response:o});case 36:case"end":return e.stop()}}),e,null,[[12,23,26,29]])}))),receiveSharedOwnershipModules:function(e){return p()(e,"sharedOwnershipModules is required."),{payload:{sharedOwnershipModules:e},type:"RECEIVE_SHARED_OWNERSHIP_MODULES"}},clearRecoveredModules:function(){return{payload:{},type:"CLEAR_RECOVERED_MODULES"}}},B=(n={},d()(n,"REFETCH_AUTHENTICATION",Object(O.createRegistryControl)((function(e){var t=e.dispatch;return function(){return t(j.a).fetchGetAuthentication()}}))),d()(n,"SELECT_MODULE_REAUTH_URL",Object(O.createRegistryControl)((function(e){var t=e.select,r=e.resolveSelect;return function(){var e=c()(u.a.mark((function e(n){var i,a,o,c;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=n.payload,o=a.slug,e.next=4,r(y.a).getModule(o);case 4:if(c=t(y.a).getModuleStoreName(o)){e.next=7;break}return e.abrupt("return");case 7:if(!(null===(i=t(c))||void 0===i?void 0:i.getAdminReauthURL)){e.next=11;break}return e.next=10,r(c).getAdminReauthURL();case 10:return e.abrupt("return",e.sent);case 11:return e.abrupt("return",t(E.c).getAdminURL("googlesitekit-dashboard"));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}))),n);function F(){var e,t;return u.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,O.commonActions.getRegistry();case 2:return e=r.sent,t=e.resolveSelect,r.next=6,O.commonActions.await(t(y.a).getModules());case 6:case"end":return r.stop()}}),A)}var V={getModules:u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.commonActions.getRegistry();case 2:if(t=e.sent,t.select(y.a).getModules()){e.next=7;break}return e.next=7,P.actions.fetchGetModules();case 7:case"end":return e.stop()}}),e)})),canActivateModule:u.a.mark((function e(t){var r,n,i,a,o,c,s;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.commonActions.getRegistry();case 2:return r=e.sent,n=r.select,i=r.resolveSelect,e.next=6,O.commonActions.await(i(y.a).getModule(t));case 6:if(a=e.sent){e.next=9;break}return e.abrupt("return");case 9:if(o=[],a.dependencies.forEach((function(e){var t=n(y.a).getModule(e);(null==t?void 0:t.active)||o.push(t.name)})),!o.length){e.next=18;break} /* translators: Error message text. 1: A flattened list of module names. 2: A module name. */return c=Object(h.__)("You need to set up %1$s to gain access to %2$s.","google-site-kit"),s=Object(h.sprintf)(c,Object(R.z)(o),a.name),e.next=16,G.receiveCheckRequirementsError(t,{code:y.b,message:s,data:{inactiveModules:o}});case 16:e.next=29;break;case 18:return e.prev=18,e.next=21,O.commonActions.await(a.checkRequirements(r));case 21:return e.next=23,G.receiveCheckRequirementsSuccess(t);case 23:e.next=29;break;case 25:return e.prev=25,e.t0=e.catch(18),e.next=29,G.receiveCheckRequirementsError(t,e.t0);case 29:case"end":return e.stop()}}),e,null,[[18,25]])})),hasModuleAccess:u.a.mark((function e(t){var r;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.commonActions.getRegistry();case 2:if(r=e.sent,void 0!==r.select(y.a).hasModuleAccess(t)){e.next=7;break}return e.next=7,q.actions.fetchCheckModuleAccess(t);case 7:case"end":return e.stop()}}),e)})),getRecoverableModules:u.a.mark((function e(){var t,r,n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,O.commonActions.await(t.resolveSelect(y.a).getModules());case 5:return r=e.sent,n=Object.entries(r||{}).reduce((function(e,t){var r=a()(t,2),n=r[0],i=r[1];return i.recoverable&&!i.internal&&e.push(n),e}),[]),e.next=9,G.receiveRecoverableModules(n);case 9:case"end":return e.stop()}}),e)})),getSharedOwnershipModules:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O.commonActions.getRegistry();case 2:if(!t.sent.select(y.a).getSharedOwnershipModules()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitDashboardSharingData){t.next=8;break}return e.console.error("Could not load core/modules dashboard sharing."),t.abrupt("return");case 8:return r=e._googlesitekitDashboardSharingData.sharedOwnershipModules,t.next=11,G.receiveSharedOwnershipModules(r);case 11:case"end":return t.stop()}}),t)})),getModule:F,isModuleActive:F,isModuleConnected:F},K={getModules:function(e){var t=e.clientDefinitions,r=e.serverDefinitions;if(void 0!==r)return I(r,t)},getModule:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModules();if(void 0!==n)return void 0===n[r]?null:n[r]}})),getModuleIcon:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n)return null===n||null===n.Icon?null:n.Icon}})),getModuleDependencyNames:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n){if(null===n)return[];var i=e(y.a).getModules();return n.dependencies.map((function(e){var t;return(null===(t=i[e])||void 0===t?void 0:t.name)||e}))}}})),getModuleDependantNames:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n){if(null===n)return[];var i=e(y.a).getModules();return n.dependants.map((function(e){var t;return(null===(t=i[e])||void 0===t?void 0:t.name)||e}))}}})),getModuleStoreName:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n)return null===n?null:n.storeName}})),isModuleAvailable:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n)return null!==n}})),isModuleActive:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n)return null===n?null:n.active}})),isModuleConnected:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModule(r);if(void 0!==n)return null===n?null:n.active&&n.connected}})),isDoingSetModuleActivation:Object(O.createRegistrySelector)((function(e){return function(t,r){if(e(y.a).getModule(r))return!!e(y.a).isFetchingSetModuleActivation(r,!0)||(!!e(y.a).isFetchingSetModuleActivation(r,!1)||t.isAwaitingModulesRefresh)}})),canActivateModule:function(e,t){p()(t,"slug is required");var r=e.checkRequirementsResults[t];if(void 0!==r)return!0===r||!0===(null==r?void 0:r.canActivate)},getCheckRequirementsError:Object(O.createRegistrySelector)((function(e){return function(t,r){p()(r,"slug is required.");var n=t.checkRequirementsResults;return void 0===e(y.a).canActivateModule(r)||!0===n[r]?null:n[r]}})),getModuleFeatures:Object(O.createRegistrySelector)((function(e){return function(t,r){var n,i=e(y.a).getModules();if(void 0!==i)return Array.isArray(null===(n=i[r])||void 0===n?void 0:n.features)?i[r].features:[]}})),hasModuleAccess:function(e,t){return e.moduleAccess[t]},hasModuleOwnershipOrAccess:Object(O.createRegistrySelector)((function(e){return function(t,r){var n=e(y.a).getModuleStoreName(r);if(void 0!==n){if(null===e(n))return!1;var i=e(n).getOwnerID(),a=e(j.a).getID();if(void 0!==i&&void 0!==a)return i===a||e(y.a).hasModuleAccess(r)}}})),getRecoverableModules:Object(O.createRegistrySelector)((function(e){return function(t){var r=e(y.a).getModules();if(void 0!==t.recoverableModules&&void 0!==r)return x(r,t.recoverableModules)}})),hasRecoverableModules:function(e){if(void 0!==e.recoverableModules)return Object.keys(e.recoverableModules).length>0},getSharedOwnershipModules:Object(O.createRegistrySelector)((function(e){return function(t){var r=e(y.a).getModules();if(void 0!==t.sharedOwnershipModules&&void 0!==r)return Object.values(r).reduce((function(e,r){return t.sharedOwnershipModules.includes(r.slug)?D(D({},e),{},d()({},r.slug,r)):e}),{})}})),getShareableModules:Object(O.createRegistrySelector)((function(e){return function(){var t=e(y.a).getModules();if(void 0!==t)return Object.keys(t).reduce((function(e,r){return t[r].shareable?D(d()({},r,t[r]),e):e}),{})}})),getRecoveredModules:function(e){return e.recoveredModules}},z=Object(O.combineStores)(P,L,q,U,{initialState:H,actions:G,controls:B,reducer:function(t,r){var n=r.type,i=r.payload;switch(n){case"REGISTER_MODULE":var a=i.slug,o=i.settings;return t.clientDefinitions[a]?(e.console.warn('Could not register module with slug "'.concat(a,'". Module "').concat(a,'" is already registered.')),t):D(D({},t),{},{clientDefinitions:D(D({},t.clientDefinitions),{},d()({},a,o))});case"RECEIVE_CHECK_REQUIREMENTS_ERROR":var c=i.slug,s=i.error;return D(D({},t),{},{checkRequirementsResults:D(D({},t.checkRequirementsResults),{},d()({},c,s))});case"RECEIVE_CHECK_REQUIREMENTS_SUCCESS":var u=i.slug;return D(D({},t),{},{checkRequirementsResults:D(D({},t.checkRequirementsResults),{},d()({},u,!0))});case"RECEIVE_RECOVERABLE_MODULES":var l=i.recoverableModules;return D(D({},t),{},{recoverableModules:l});case"RECEIVE_SHARED_OWNERSHIP_MODULES":var g=i.sharedOwnershipModules;return D(D({},t),{},{sharedOwnershipModules:g});case"CLEAR_RECOVERED_MODULES":return D(D({},t),{},{recoveredModules:void 0});default:return t}},resolvers:V,selectors:K});z.initialState,z.actions,z.controls,z.reducer,z.resolvers,z.selectors;t.a=z}).call(this,r(26))},946:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return DefaultSettingsSetupIncomplete}));var n=r(1),i=r.n(n),a=r(38),o=r(2),c=r(3),s=r(20),u=r(546),l=r(104),d=r(19);function DefaultSettingsSetupIncomplete(t){var r=t.slug,n=Object(c.useSelect)((function(e){return e(d.a).getModuleStoreName(r)})),i=Object(c.useSelect)((function(e){var t,r;return null===(t=e(n))||void 0===t||null===(r=t.getAdminReauthURL)||void 0===r?void 0:r.call(t)})),g=Object(c.useSelect)((function(e){var t;return null===(t=e(d.a))||void 0===t?void 0:t.getCheckRequirementsError(r)}));return e.createElement(l.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__fields-group googlesitekit-settings-module__fields-group--no-border"},e.createElement(u.a,{slug:r})),e.createElement("div",{className:"googlesitekit-settings-module__fields-group-title"},Object(a.a)(Object(o.__)("Setup incomplete: <a>continue module setup</a>","google-site-kit"),{a:e.createElement(s.a,{className:"googlesitekit-settings-module__edit-button",href:i,disabled:!!g})})))}DefaultSettingsSetupIncomplete.propTypes={slug:i.a.string.isRequired}}).call(this,r(4))},948:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(15),o=r.n(a),c=r(949),s=r.n(c),u=r(7),l=r.n(u),d=r(11),g=r.n(d),f=r(13),v=r(42),p=r.n(v),b=r(3),h=r(47),m=r(19),S=r(59);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var E=["all_admins","owner"],j={sharingSettings:void 0,savedSharingSettings:void 0,shareableRoles:void 0,isDoingSubmitSharingChanges:void 0,defaultSharedOwnershipModuleSettings:void 0},k=Object(h.a)({baseName:"saveSharingSettings",controlCallback:function(e){var t=e.savedSharingSettings;return p.a.set("core","modules","sharing-settings",t)},reducerCallback:function(e,t){var r=t.settings;return y(y({},e),{},{savedSharingSettings:r,sharingSettings:r})},argsToParams:function(e){return{savedSharingSettings:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.savedSharingSettings;g()(t,"savedSharingSettings is required.")}}),R=Object(h.a)({baseName:"resetSharingSettings",controlCallback:function(e){return s()(e),p.a.set("core","modules","sharing-settings",{},{method:"DELETE"})},reducerCallback:function(e){return y(y({},e),{},{savedSharingSettings:{},sharingSettings:{}})}}),w={setSharingManagement:function(e,t){return g()(e,"moduleSlug is required."),g()(E.includes(t),"management must be one of: ".concat(E.join(", "),".")),{payload:{moduleSlug:e,management:t},type:"SET_SHARING_MANAGEMENT"}},setSharedRoles:function(e,t){return g()(e,"moduleSlug is required."),g()(Array.isArray(t)&&t.every((function(e){return"string"==typeof e})),"roles must be an array of strings."),{payload:{moduleSlug:e,roles:t},type:"SET_SHARED_ROLES"}},saveSharingSettings:i.a.mark((function e(){var t,r,n,a,c,s,u,l,d,g,f;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,{type:"START_SUBMIT_SHARING_CHANGES",payload:{}};case 5:return r=t.select(m.a).getSharingSettings(),e.next=8,k.actions.fetchSaveSharingSettings(r);case 8:if(n=e.sent,a=n.response,!(c=n.error)&&Object.keys(a.newOwnerIDs).length)for(s=0,u=Object.entries(a.newOwnerIDs);s<u.length;s++)l=o()(u[s],2),d=l[0],g=l[1],f=t.select(m.a).getModuleStoreName(d),t.dispatch(f).setOwnerID(g);return e.next=14,{type:"FINISH_SUBMIT_SHARING_CHANGES",payload:{}};case 14:return e.abrupt("return",{response:a,error:c});case 15:case"end":return e.stop()}}),e)})),resetSharingSettings:i.a.mark((function e(){var t,r,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"START_SUBMIT_SHARING_CHANGES",payload:{}};case 2:return e.next=4,R.actions.fetchResetSharingSettings();case 4:return t=e.sent,r=t.response,n=t.error,e.next=9,{type:"FINISH_SUBMIT_SHARING_CHANGES",payload:{}};case 9:return e.abrupt("return",{response:r,error:n});case 10:case"end":return e.stop()}}),e)})),receiveGetSharingSettings:function(e){return g()(e,"sharingSettings is required."),{payload:{sharingSettings:e},type:"RECEIVE_GET_SHARING_SETTINGS"}},receiveShareableRoles:function(e){return g()(e,"shareableRoles is required."),{payload:{shareableRoles:e},type:"RECEIVE_SHAREABLE_ROLES"}},rollbackSharingSettings:function(){return{payload:{},type:"ROLLBACK_SHARING_SETTINGS"}},receiveDefaultSharedOwnershipModuleSettings:function(e){return g()(e,"defaultSharedOwnershipModuleSettings is required."),{payload:{defaultSharedOwnershipModuleSettings:e},type:"RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS"}}},_={getSharingSettings:i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.commonActions.getRegistry();case 2:if(!t.sent.select(m.a).getSharingSettings()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitDashboardSharingData){t.next=8;break}return e.console.error("Could not load core/modules dashboard sharing settings."),t.abrupt("return");case 8:return r=e._googlesitekitDashboardSharingData.settings,t.next=11,M.receiveGetSharingSettings(r);case 11:case"end":return t.stop()}}),t)})),getShareableRoles:i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.commonActions.getRegistry();case 2:if(!t.sent.select(m.a).getShareableRoles()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitDashboardSharingData){t.next=8;break}return e.console.error("Could not load core/modules dashboard sharing roles."),t.abrupt("return");case 8:return r=e._googlesitekitDashboardSharingData.roles,t.next=11,M.receiveShareableRoles(r);case 11:case"end":return t.stop()}}),t)})),getDefaultSharedOwnershipModuleSettings:i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.commonActions.getRegistry();case 2:if(!t.sent.select(m.a).getDefaultSharedOwnershipModuleSettings()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitDashboardSharingData){t.next=8;break}return e.console.error("Could not load core/modules dashboard sharing."),t.abrupt("return");case 8:return r=e._googlesitekitDashboardSharingData.defaultSharedOwnershipModuleSettings,t.next=11,w.receiveDefaultSharedOwnershipModuleSettings(r);case 11:case"end":return t.stop()}}),t)}))};var A=Object(S.g)((function(e){var t=Object(S.e)(e)(m.a),r=t.isDoingSubmitSharingChanges,n=t.haveSharingSettingsChanged;g()(!r(),"cannot submit sharing changes while submitting changes"),g()(n(),"cannot submit changes if sharing settings have not changed")})),C={canSubmitSharingChanges:A.safeSelector,__dangerousCanSubmitSharingChanges:A.dangerousSelector,getSharingSettings:function(e){return e.sharingSettings},getShareableRoles:function(e){return e.shareableRoles},getSharingManagement:Object(b.createRegistrySelector)((function(e){return function(t,r){var n;g()(r,"moduleSlug is required.");var i=e(m.a).getSharingSettings();if(void 0!==i)return(null===(n=i[r])||void 0===n?void 0:n.management)||null}})),getSharedRoles:Object(b.createRegistrySelector)((function(e){return function(t,r){var n;g()(r,"moduleSlug is required.");var i=e(m.a).getSharingSettings();if(void 0!==i)return(null===(n=i[r])||void 0===n?void 0:n.sharedRoles)||null}})),haveSharingSettingsChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.sharingSettings,n=e.savedSharingSettings;return t?!Object(f.isEqual)(Object(f.pick)(r,t),Object(f.pick)(n,t)):!Object(f.isEqual)(r,n)},haveSharingSettingsExpanded:function(e,t){var r=["management","sharedRoles"];g()(r.includes(t),"key must be one of: ".concat(r.join(", "),"."));var n=e.sharingSettings,i=e.savedSharingSettings;if(void 0!==n&&void 0!==i)return"management"===t?Object.keys(n).some((function(e){var t,r,a;return(null===(t=i[e])||void 0===t?void 0:t.management)!==(null===(r=n[e])||void 0===r?void 0:r.management)&&"all_admins"===(null===(a=n[e])||void 0===a?void 0:a.management)})):"sharedRoles"===t&&Object.keys(n).some((function(e){var t,r;return(null===(t=n[e])||void 0===t||null===(r=t.sharedRoles)||void 0===r?void 0:r.filter((function(t){var r,n;return!(null===(r=i[e])||void 0===r||null===(n=r.sharedRoles)||void 0===n?void 0:n.includes(t))})).length)>0}))},haveModuleSharingSettingsChanged:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;g()(t,"moduleSlug is required.");var n=e.sharingSettings,i=e.savedSharingSettings;if(void 0!==n&&void 0!==i)return r?!Object(f.isEqual)(Object(f.pick)(n[t],r),Object(f.pick)(i[t],r)):!Object(f.isEqual)(n[t],i[t])},isDoingSubmitSharingChanges:function(e){return!!e.isDoingSubmitSharingChanges},getDefaultSharedOwnershipModuleSettings:function(e){return e.defaultSharedOwnershipModuleSettings},haveSharingSettingsUpdated:function(e){var t=e.savedSharingSettings,r=e.sharedOwnershipModules;return!Object(f.isEmpty)(t)&&!Object(f.isEmpty)(r)&&Object.keys(t).some((function(e){var n=t[e],i=n.sharedRoles,a=n.management,o=r.includes(e)?"all_admins":"owner";return i.length>0||a!==o}))}},N=Object(b.combineStores)(k,R,{initialState:j,actions:w,selectors:C,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_SHARING_MANAGEMENT":var i=n.moduleSlug,a=n.management;return y(y({},e),{},{sharingSettings:y(y({},e.sharingSettings),{},l()({},i,y(y({},e.sharingSettings[i]),{},{management:a})))});case"SET_SHARED_ROLES":var o=n.moduleSlug,c=n.roles;return y(y({},e),{},{sharingSettings:y(y({},e.sharingSettings),{},l()({},o,y(y({},e.sharingSettings[o]),{},{sharedRoles:c})))});case"RECEIVE_GET_SHARING_SETTINGS":var s=n.sharingSettings;return y(y({},e),{},{sharingSettings:s,savedSharingSettings:s});case"RECEIVE_SHAREABLE_ROLES":var u=n.shareableRoles;return y(y({},e),{},{shareableRoles:u});case"START_SUBMIT_SHARING_CHANGES":return y(y({},e),{},{isDoingSubmitSharingChanges:!0});case"FINISH_SUBMIT_SHARING_CHANGES":return y(y({},e),{},{isDoingSubmitSharingChanges:!1});case"ROLLBACK_SHARING_SETTINGS":return y(y({},e),{},{sharingSettings:e.savedSharingSettings});case"RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS":var d=n.defaultSharedOwnershipModuleSettings;return y(y({},e),{},{defaultSharedOwnershipModuleSettings:d});default:return e}},resolvers:_}),M=(N.initialState,N.actions);N.selectors,N.reducer;t.a=N}).call(this,r(26))},97:function(e,t,r){"use strict";(function(e){r(50),r(51)}).call(this,r(26))},98:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return o}));var n=r(220),i=r(86),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=r.invertColor,o=void 0!==a&&a;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(4))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(7),i=r.n(n),a=r(13),o=r(100),c=r(101);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,r),d=Object(c.a)(i,r,s,n),g={},f=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);g[n]||(g[n]=Object(a.once)(d)),g[n].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,r(26))}},[[1201,1,0]]]); dist/assets/js/googlesitekit-modules-pagespeed-insights-c88ecf4fb9fabd4b00ce.js 0000604 00000244344 14717744000 0023354 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[20],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=r(58),a=r(37),i=r(44);function o(t,r){var o,c=Object(n.a)(r),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,p=t.isAuthenticated,f=t.pluginVersion;return function(){var r=e.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var n=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:f||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:p?"1":"0",user_properties:{user_roles:n,user_identifier:u}});var d=r.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),r.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,r(26))},1e3:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return LabReportMetrics}));var n=r(1),a=r.n(n),i=r(38),o=r(2),c=r(571),s=r(764),l=r(780),u=r(34),d=r(117),g=r(67);function LabReportMetrics(t){var r,n,a,p,f,m,b=t.data,v=t.error,h=null==b||null===(r=b.lighthouseResult)||void 0===r||null===(n=r.audits)||void 0===n?void 0:n["largest-contentful-paint"],O=null==b||null===(a=b.lighthouseResult)||void 0===a||null===(p=a.audits)||void 0===p?void 0:p["cumulative-layout-shift"],_=null==b||null===(f=b.lighthouseResult)||void 0===f||null===(m=f.audits)||void 0===m?void 0:m["total-blocking-time"];if(v){var y=Object(u.b)(v);return e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics"},e.createElement("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--error"},e.createElement(g.a,{message:y}),e.createElement(d.a,{moduleSlug:"pagespeed-insights",error:v})))}return e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics"},e.createElement("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--first"},e.createElement("p",null,Object(i.a)(Object(o.__)("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:e.createElement(s.a,null)}))),e.createElement("table",{className:"googlesitekit-table googlesitekit-table--with-list"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,Object(o.__)("Metric Name","google-site-kit")),e.createElement("th",null,Object(o.__)("Metric Value","google-site-kit")))),e.createElement("tbody",null,e.createElement(c.a,{title:Object(o._x)("Largest Contentful Paint","core web vitals name","google-site-kit"),description:Object(o.__)("Time it takes for the page to load","google-site-kit"),displayValue:(null==h?void 0:h.displayValue)||"0",category:Object(l.a)((null==h?void 0:h.score)||0)}),e.createElement(c.a,{title:Object(o._x)("Cumulative Layout Shift","core web vitals name","google-site-kit"),description:Object(o.__)("How stable the elements on the page are","google-site-kit"),displayValue:(null==O?void 0:O.displayValue)||"0",category:Object(l.a)((null==O?void 0:O.score)||0)}),e.createElement(c.a,{title:Object(o.__)("Total Blocking Time","google-site-kit"),description:Object(o.__)("How long people had to wait after the page loaded before they could click something","google-site-kit"),displayValue:(null==_?void 0:_.displayValue)||"0",category:Object(l.a)((null==_?void 0:_.score)||0),hintText:e.createElement("br",null),isLast:!0}))))}LabReportMetrics.propTypes={data:a.a.object,error:a.a.object}}).call(this,r(4))},1001:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return FieldReportMetrics}));var n=r(1),a=r.n(n),i=r(12),o=r.n(i),c=r(38),s=r(2),l=r(571),u=r(764),d=r(1002),g=r(67),p=r(117),f=r(34),m=r(517);function FieldReportMetrics(t){var r,n=t.data,a=t.error,i=(null==n||null===(r=n.loadingExperience)||void 0===r?void 0:r.metrics)||{},b=i.LARGEST_CONTENTFUL_PAINT_MS,v=i.CUMULATIVE_LAYOUT_SHIFT_SCORE,h=i.INTERACTION_TO_NEXT_PAINT;if(a){var O=Object(f.b)(a);return e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics"},e.createElement("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--error"},e.createElement(g.a,{message:O}),e.createElement(p.a,{moduleSlug:"pagespeed-insights",error:a})))}if(!b&&!v&&!h)return e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics googlesitekit-pagespeed-insights-web-vitals-metrics--field-data-unavailable"},e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content"},e.createElement("h3",null,Object(s.__)("Field data unavailable","google-site-kit")),e.createElement("p",null,Object(s.__)("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"))));var _=(Math.round((null==b?void 0:b.percentile)/100)/10).toFixed(1),y=((null==v?void 0:v.percentile)/100).toFixed(2);return e.createElement("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics"},e.createElement("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--first"},e.createElement("p",null,Object(c.a)(Object(s.__)("Field data shows how real users actually loaded and interacted with your page over time. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:e.createElement(u.a,null)}))),e.createElement("table",{className:o()("googlesitekit-table","googlesitekit-table--with-list")},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,Object(s.__)("Metric Name","google-site-kit")),e.createElement("th",null,Object(s.__)("Metric Value","google-site-kit")))),e.createElement("tbody",null,e.createElement(l.a,{title:Object(s._x)("Largest Contentful Paint","core web vitals name","google-site-kit"),description:Object(s.__)("Time it takes for the page to load","google-site-kit"),displayValue:Object(s.sprintf)( /* translators: %s: number of seconds */ Object(s._x)("%s s","duration","google-site-kit"),_),category:null==b?void 0:b.category,isUnavailable:!b}),e.createElement(l.a,{title:Object(s._x)("Cumulative Layout Shift","core web vitals name","google-site-kit"),description:Object(s.__)("How stable the elements on the page are","google-site-kit"),displayValue:y,category:null==v?void 0:v.category,isUnavailable:!v}),e.createElement(l.a,{title:Object(s._x)("Interaction to Next Paint","core web vitals name","google-site-kit"),description:Object(s.__)("How quickly your page responds when people interact with it","google-site-kit"),displayValue:Object(s.sprintf)( /* translators: %s: number of milliseconds */ Object(s._x)("%s ms","duration","google-site-kit"),null==h?void 0:h.percentile),category:(null==h?void 0:h.category)||m.a,isLast:!0,isUnavailable:!h,hintText:Object(c.a)(Object(s.__)("INP is a new Core Web Vital that replaced FID in March 2024. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:e.createElement(d.a,null)})}))))}FieldReportMetrics.propTypes={data:a.a.object,error:a.a.object}}).call(this,r(4))},1002:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return INPLearnMoreLink}));var n=r(2),a=r(20);function INPLearnMoreLink(){return e.createElement(a.a,{href:"https://web.dev/inp-cwv/",external:!0,"aria-label":Object(n.__)("Learn more about INP replacing FID.","google-site-kit")},Object(n.__)("Learn more","google-site-kit"))}}).call(this,r(4))},1003:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Recommendations}));var n=r(1),a=r.n(n),i=r(12),o=r.n(i),c=r(2),s=r(102),l=r(1004),u=r(1005),d=r(17);function Recommendations(t){var r=t.className,n=t.recommendations,a=t.referenceURL,i=t.strategy;return(null==n?void 0:n.length)?e.createElement("div",{className:o()("googlesitekit-pagespeed--recommendations",r)},e.createElement("div",{className:"googlesitekit-pagespeed-recommendations__title"},Object(c.__)("Recommendations on how to improve your site","google-site-kit")),n.map((function(t){var r=t.id,n=t.title;return e.createElement(u.a,{key:r,auditID:r,title:n,referenceURL:a,strategy:i})}))):e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,null,Object(c.__)("No recommendations for now","google-site-kit")),e.createElement(d.a,{className:"googlesitekit-pagespeed__zero-recommendations"},e.createElement(l.a,null))))}Recommendations.propTypes={className:a.a.string,recommendations:a.a.arrayOf(a.a.object),referenceURL:a.a.string.isRequired,strategy:a.a.oneOf([s.f,s.e]).isRequired},Recommendations.defaultProps={className:""}}).call(this,r(4))},1004:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M281.11 316.17a16 16 0 01-20.69 15.23M118.86 316.17a16 16 0 0020.69 15.23M201 300.22h-66.19a16 16 0 00-16 15.95h0",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9.4}),o=n.createElement("path",{d:"M198.06 300.22h67.1a16 16 0 0115.95 15.95h0",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9.4}),c=n.createElement("path",{d:"M249.64 206.74c-1.42 24.59 12.3 59.39 35.05 71.31 15.3 8 34.85 1.6 37.66-16.54C324.46 247.84 316.82 233 308 223c0 0 14.73-2.8 14.73-21.22M150.36 206.74c1.42 24.59-12.3 59.39-35.05 71.31-15.3 8-34.85 1.6-37.66-16.54C75.54 247.84 83.18 233 92 223c0 0-14.73-2.8-14.73-21.22",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9.4}),s=n.createElement("path",{fill:"#F9AB00",d:"M145.23 76.68h109.53v219.7H145.23z"}),l=n.createElement("path",{d:"M172.74 142.94c13.38 16.48 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66}),u=n.createElement("path",{stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9.4,d:"M260.42 331.4l-141.56-45.03-10.4 28.08"}),d=n.createElement("path",{stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9.4,d:"M139.55 331.4l141.56-45.03 10.4 28.08"}),g=n.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),p=n.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"});t.a=function SvgZeroStateYellow(e){return n.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,s,l,u,d,g,p)}},1005:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Recommendation}));var n=r(1),a=r.n(n),i=r(0),o=r(3),c=r(102),s=r(1006),l=r(8),u=r(18);function Recommendation(t){var r=t.auditID,n=t.title,a=t.referenceURL,d=t.strategy,g=Object(u.a)(),p=Object(i.useCallback)((function(){Object(l.J)("".concat(g,"_pagespeed-widget"),"stack_pack_expand",r)}),[r,g]),f=Object(o.useSelect)((function(e){return e(c.d).getStackPackDescription(a,d,r,"wordpress")}));if(!f)return null;var m=Object(l.A)(f.description);return e.createElement(s.a,{id:r,title:n,onOpen:p},e.createElement("div",{dangerouslySetInnerHTML:Object(l.G)(m,{ALLOWED_TAGS:["a","p"],ALLOWED_ATTR:["href","rel","target"]})}))}Recommendation.propTypes={auditID:a.a.string.isRequired,title:a.a.string.isRequired,referenceURL:a.a.string.isRequired,strategy:a.a.oneOf([c.f,c.e]).isRequired}}).call(this,r(4))},1006:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Accordion}));var n=r(15),a=r.n(n),i=r(1),o=r.n(i),c=r(12),s=r.n(c),l=r(0),u=r(56),d=r(669),g=r(77);function Accordion(t){var r=t.title,n=t.children,i=t.initialOpen,o=t.onOpen,c=t.onClose,p=t.disabled,f=Object(l.useState)(!!i),m=a()(f,2),b=m[0],v=m[1];Object(l.useEffect)((function(){b&&o&&"function"==typeof o?o():!b&&c&&"function"==typeof c&&c()}),[b,c,o]),Object(l.useEffect)((function(){p&&b&&v(!1)}),[p,b]);var h=Object(l.useCallback)((function(e){("keydown"!==e.type||[u.b,u.e].includes(e.keyCode))&&(e.preventDefault(),v(!b))}),[b]);return e.createElement("div",{className:s()("googlesitekit-accordion",{"googlesitekit-accordion--disabled":p})},e.createElement("div",{className:s()("googlesitekit-accordion__header",{"is-active":b}),onClick:h,onKeyDown:h,tabIndex:p?-1:0,role:"button"},r,e.createElement(g.a,null,e.createElement(d.a,{width:12,height:12}))),e.createElement("div",{className:s()("googlesitekit-accordion__content",{"is-active":b})},n))}Accordion.propTypes={title:o.a.node.isRequired,children:o.a.node.isRequired,initialOpen:o.a.bool,onOpen:o.a.func,onClose:o.a.func,disabled:o.a.bool}}).call(this,r(4))},1007:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ReportDetailsLink}));var n=r(2),a=r(38),i=r(3),o=r(102),c=r(14),s=r(20);function ReportDetailsLink(){var t=Object(i.useSelect)((function(e){return e(c.c).getCurrentReferenceURL()})),r=Object(i.useSelect)((function(e){return e(o.d).getServiceURL({path:"report",query:{url:t}})}));return e.createElement("p",null,Object(a.a)(Object(n.sprintf)( /* translators: %s: link with translated service name */ Object(n.__)("View details at %s","google-site-kit"),"<a>".concat(Object(n._x)("PageSpeed Insights","Service name","google-site-kit"),"</a>")),{a:e.createElement(s.a,{href:r,external:!0})}))}}).call(this,r(4))},1008:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return DashboardPageSpeedLoading}));var n=r(781),a=r(40);function DashboardPageSpeedLoading(){return e.createElement("div",{className:"googlesitekit-pagespeed-widget__content"},e.createElement("header",{className:"googlesitekit-pagespeed-widget__header"},e.createElement("div",{className:"googlesitekit-pagespeed-widget__data-src-tabs"},e.createElement(n.a,{count:3,smallWidth:"70px",smallHeight:"48px",width:"120px",height:"48px"})),e.createElement("div",{className:"googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper"},e.createElement(n.a,{count:2,width:"56px",height:"32px"}))),e.createElement("section",{className:"googlesitekit-pagespeed-widget__values"},e.createElement(n.a,{count:5,smallWidth:"100%",smallHeight:"90px",width:"100%",height:"78px"})),e.createElement("div",{className:"googlesitekit-pagespeed-report__row"},e.createElement(a.a,{width:"130px",height:"40px"})),e.createElement("div",{className:"googlesitekit-pagespeed-report__footer"},e.createElement(a.a,{width:"224px",height:"40px"})))}}).call(this,r(4))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r(5),a=r.n(n),i=r(7),o=r.n(i),c=r(16),s=r.n(c),l=r(58);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r,n){var i=Object(l.a)(t);return function(){var t=s()(a.a.mark((function t(o,c,s,l){var u;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return r(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,r,a=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(a),e()};i("event",c,d(d({},u),{},{event_callback:s})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,a){return t.apply(this,arguments)}}()}},102:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"f",(function(){return a})),r.d(t,"e",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return c})),r.d(t,"c",(function(){return s})),r.d(t,"h",(function(){return l})),r.d(t,"g",(function(){return u}));var n="modules/pagespeed-insights",a="mobile",i="desktop",o="data_lab",c="data_field",s="data_recommendations",l="dashboardPageSpeedWidgetStrategy",u="dashboardPageSpeedWidgetDataSource"},104:function(e,t,r){"use strict";var n=r(123);r.d(t,"a",(function(){return n.a}));var a=r(124);r.d(t,"c",(function(){return a.a}));var i=r(125);r.d(t,"b",(function(){return i.a}))},117:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ReportErrorActions}));var n=r(7),a=r.n(n),i=r(1),o=r.n(i),c=r(0),s=r(38),l=r(2),u=r(3),d=r(10),g=r(14),p=r(19),f=r(34),m=r(35),b=r(20);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ReportErrorActions(t){var r=t.moduleSlug,n=t.error,a=t.GetHelpLink,i=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,O=t.onRequestAccess,_=t.getHelpClassName,y=t.RequestAccessButton,E=t.RetryButton,k=Object(m.a)(),j=Object(u.useSelect)((function(e){return e(p.a).getModuleStoreName(r)})),w=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),R=Array.isArray(n)?n:[n],A=Object(u.useSelect)((function(e){return R.map((function(t){var r,n=null===(r=e(j))||void 0===r?void 0:r.getSelectorDataForError(t);return h(h({},t),{},{selectorData:n})}))})),N=null==A?void 0:A.filter((function(e){return Object(f.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),S=!!N.length,D=Object(u.useSelect)((function(e){var t=h({},S?N[0]:R[0]);return Object(f.e)(t)&&(t.code="".concat(r,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),T=Object(u.useDispatch)(),L=R.some((function(e){return Object(f.e)(e)})),P=Object(c.useCallback)((function(){N.forEach((function(e){var t=e.selectorData;T(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[T,N,v]),I=w&&L&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},I&&("function"==typeof y?e.createElement(y,{requestAccessURL:w}):e.createElement(d.Button,{onClick:O,href:w,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Request access","google-site-kit"))),S&&e.createElement(c.Fragment,null,"function"==typeof E?e.createElement(E,{handleRetry:P}):e.createElement(d.Button,{onClick:P,danger:"danger"===o,tertiary:"tertiary"===o},Object(l.__)("Retry","google-site-kit")),!i&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:D,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!S&&!i&&e.createElement("div",{className:_},"function"==typeof a?e.createElement(a,{linkURL:D}):e.createElement(b.a,{href:D,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,r(4))},122:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return InfoTooltip}));var n=r(12),a=r.n(n),i=r(1),o=r.n(i),c=r(10),s=r(277);function InfoTooltip(t){var r=t.onOpen,n=t.title,i=t.tooltipClassName;return n?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:a()("googlesitekit-info-tooltip__content",i),title:n,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:r},e.createElement("span",null,e.createElement(s.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:o.a.func,title:o.a.oneOfType([o.a.string,o.a.element]),tooltipClassName:o.a.string}}).call(this,r(4))},123:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Cell}));var n=r(21),a=r.n(n),i=r(7),o=r.n(i),c=r(23),s=r.n(c),l=r(1),u=r.n(l),d=r(12),g=r.n(d);function Cell(t){var r,n=t.className,i=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,p=t.smAlignRight,f=t.mdAlignRight,m=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,O=t.mdSize,_=t.mdStart,y=t.mdOrder,E=t.lgSize,k=t.lgStart,j=t.lgOrder,w=t.size,R=t.children,A=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},A,{className:g()(n,"mdc-layout-grid__cell",(r={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":p,"mdc-layout-grid__cell--align-right-tablet":f,"mdc-layout-grid__cell--align-right-desktop":m},o()(r,"mdc-layout-grid__cell--span-".concat(w),12>=w&&w>0),o()(r,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(r,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(r,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(r,"mdc-layout-grid__cell--span-".concat(O,"-tablet"),8>=O&&O>0),o()(r,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(r,"mdc-layout-grid__cell--order-".concat(y,"-tablet"),8>=y&&y>0),o()(r,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(r,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(r,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),r))}),R)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,r(4))},1235:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),i=r(179),o=r.n(i),c=r(382),s=r.n(c),l=r(2),u=r(84),d=r(883),g=r(995),p=r(0);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var m=p.createElement("defs",null,p.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"},p.createElement("stop",{offset:0,stopColor:"#fff",stopOpacity:.1}),p.createElement("stop",{offset:1,stopColor:"#fff",stopOpacity:0})),p.createElement("linearGradient",{id:"pagespeed-insights_svg__a",x1:1572.36,y1:11164.11,x2:1691.74,y2:11283.49,gradientTransform:"matrix(.5 0 0 .5 -675.69 -5476.24)",gradientUnits:"userSpaceOnUse"},p.createElement("stop",{offset:0,stopColor:"#212121",stopOpacity:.2}),p.createElement("stop",{offset:1,stopColor:"#212121",stopOpacity:0}))),b=p.createElement("path",{d:"M183.93 25.08v121.19a12.53 12.53 0 01-12.54 12.54H12.58A12.53 12.53 0 010 146.27V25.08z",fill:"#e1e1e1"}),v=p.createElement("path",{d:"M12.58 0h158.81a12.53 12.53 0 0112.54 12.54v12.54H0V12.54A12.53 12.53 0 0112.58 0z",fill:"#c2c2c2"}),h=p.createElement("path",{d:"M171.39 0H12.58A12.57 12.57 0 000 12.54v1A12.58 12.58 0 0112.58 1h158.81a12.59 12.59 0 0112.54 12.54v-1A12.58 12.58 0 00171.39 0z",fillOpacity:.2,fill:"#fff"}),O=p.createElement("path",{fill:"#212121",fillOpacity:.1,d:"M0 25.08h183.93v1H0z"}),_=p.createElement("path",{d:"M91.91 62.69a66.76 66.76 0 00-66.76 66.86c0 1.4-.09 3.14 0 4.18h29.13a36.26 36.26 0 010-4.18 37.64 37.64 0 0157.36-32l21-21a66.62 66.62 0 00-40.73-13.86z",fill:"#4285f4"}),y=p.createElement("path",{d:"M132.64 76.52l-21 21a37.59 37.59 0 0117.9 32 36.26 36.26 0 010 4.18h29.27c.08-1 0-2.78 0-4.18a66.73 66.73 0 00-26.17-53z",fill:"#f44336"}),E=p.createElement("circle",{fill:"#eee",cx:16.76,cy:12.54,r:4.18}),k=p.createElement("circle",{fill:"#eee",cx:33.48,cy:12.54,r:4.18}),j=p.createElement("path",{fill:"#212121",fillOpacity:.1,d:"M171.41 157.76H12.54A12.57 12.57 0 010 145.23v1a12.57 12.57 0 0012.54 12.54h158.87a12.58 12.58 0 0012.59-12.5v-1a12.58 12.58 0 01-12.54 12.53z"}),w=p.createElement("path",{d:"M132.86 79.06a2.06 2.06 0 00.39-1.22 2.1 2.1 0 00-2.09-2.09 2 2 0 00-1.28.46l-45.57 35.07a12.53 12.53 0 1018.37 16.41l30.17-48.65z",fill:"#9e9e9e"}),R=p.createElement("path",{d:"M132.82 76.58a2 2 0 01.43 1.26 2.06 2.06 0 01-.39 1.22l-30.17 48.65a12.53 12.53 0 01-18.84 3.05l28.08 28.07h59.47a12.53 12.53 0 0012.54-12.54v-18.61z",fill:"url(#pagespeed-insights_svg__a)"}),A=p.createElement("path",{d:"M183.93 12.54A12.53 12.53 0 00171.39 0H12.58A12.53 12.53 0 000 12.54v133.73a12.53 12.53 0 0012.54 12.54h158.85a12.53 12.53 0 0012.54-12.54z",fill:"url(#pagespeed-insights_svg__b)"});var N=function SvgPagespeedInsights(e){return p.createElement("svg",f({viewBox:"0 0 183.95 158.81"},e),m,b,v,h,O,_,y,E,k,j,w,p.createElement("path",{d:"M84.31 112.33l45.57-35.09a2.06 2.06 0 011.28-.46 2.09 2.09 0 012 1.55 2 2 0 00-2-2.59 2 2 0 00-1.28.46l-45.57 35.07a12.5 12.5 0 00-4.87 9.92v.56a12.49 12.49 0 014.87-9.42z",style:{isolation:"isolate"},opacity:.2,fill:"#fff"}),p.createElement("path",{d:"M132.86 79.06l-30.17 48.65a12.51 12.51 0 01-23.21-5.93v.48a12.52 12.52 0 0023.24 6.5l30.14-48.66a2 2 0 00.39-1.22 1.91 1.91 0 00-.08-.54 2.31 2.31 0 01-.31.72z",style:{isolation:"isolate"},opacity:.2,fill:"#212121"}),R,A)},S=r(102),D=r(5),T=r.n(D),L=r(7),P=r.n(L),I=r(11),M=r.n(I),x=r(109),C=r(42),H=r.n(C),F=r(47);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U,W=Object(F.a)({baseName:"getReport",controlCallback:function(e){var t=e.strategy,r=e.url;return H.a.get("modules","pagespeed-insights","pagespeed",{strategy:t,url:r})},reducerCallback:function(e,t,r){var n=r.strategy,a=r.url;return z(z({},e),{},{reports:z(z({},e.reports),{},P()({},"".concat(n,"::").concat(a),z({},t)))})},argsToParams:function(e,t){return{strategy:t,url:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strategy,r=e.url;M()(Object(x.a)(r),"a valid url is required to fetch a report."),M()("string"==typeof t,"a valid strategy is required to fetch a report.")}}),V={getReport:T.a.mark((function e(t,r){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&r){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,W.actions.fetchGetReport(t,r);case 4:case"end":return e.stop()}}),e)}))},q={getReport:function(e,t,r){return e.reports["".concat(r,"::").concat(t)]},getAudits:Object(n.createRegistrySelector)((function(e){return function(t,r,n){var a=e(S.d).getReport(r,n);if(void 0!==a){var i=((a||{}).lighthouseResult||{}).audits;return i||{}}}})),getAuditsWithStackPack:Object(n.createRegistrySelector)((function(e){return function(t,r,n,a){var i=e(S.d).getAudits(r,n);if(!i)return{};var o={};return Object.keys(i).forEach((function(t){e(S.d).getStackPackDescription(r,n,t,a)&&(o[t]=i[t])})),o}})),getStackPackDescription:Object(n.createRegistrySelector)((function(e){return function(t,r,n,a,i){var o=e(S.d).getReport(r,n);if(void 0!==o){var c=((o||{}).lighthouseResult||[]).stackPacks;if(!Array.isArray(c))return null;var s=c.find((function(e){var t=e.id,r=e.descriptions;return t===i&&!!r[a]}));return s?{id:s.id,icon:s.iconDataURL,title:s.title,description:s.descriptions[a]}:null}}}))},Y=Object(n.combineStores)(W,{initialState:{reports:{}},resolvers:V,selectors:q}),G=(Y.initialState,Y.actions,Y.controls,Y.reducer,Y.resolvers,Y.selectors,Y),K=r(157),$={selectors:{getServiceURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.path,n=t.query,a="https://pagespeed.web.dev";if(r){var i=r.match(/^\//)?r:"/".concat(r);return Object(K.a)("".concat(a).concat(i),n)}return Object(K.a)(a,n)}}},J=o.a.createModuleStore("pagespeed-insights",{storeName:S.d,requiresSetup:!1,settingSlugs:["ownerID"]}),Z=Object(n.combineStores)(J,G,$);a.a.registerStore(S.d,Z),o.a.registerModule("pagespeed-insights",{storeName:S.d,SettingsViewComponent:d.a,Icon:N,features:[Object(l.__)("Website performance reports for mobile and desktop","google-site-kit")]}),(U=s.a).registerWidget("pagespeedInsightsWebVitals",{Component:g.a,width:U.WIDGET_WIDTHS.FULL,wrapWidget:!1,modules:["pagespeed-insights"]},[u.AREA_MAIN_DASHBOARD_SPEED_PRIMARY,u.AREA_ENTITY_DASHBOARD_SPEED_PRIMARY])},124:function(e,t,r){"use strict";(function(e){var n=r(21),a=r.n(n),i=r(23),o=r.n(i),c=r(1),s=r.n(c),l=r(12),u=r.n(l),d=r(0),g=Object(d.forwardRef)((function(t,r){var n=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:r,className:u()("mdc-layout-grid__inner",n)},c),i)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,r(4))},125:function(e,t,r){"use strict";(function(e){var n=r(21),a=r.n(n),i=r(23),o=r.n(i),c=r(1),s=r.n(c),l=r(12),u=r.n(l),d=r(0),g=Object(d.forwardRef)((function(t,r){var n=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":n,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":i})},d,{ref:r}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,r(4))},126:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),n.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return n.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),n.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return n.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return n.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return i}));var n="core/site",a="primary",i="secondary"},17:function(e,t,r){"use strict";var n=r(245);r.d(t,"i",(function(){return n.a}));var a=r(309);r.d(t,"f",(function(){return a.a}));var i=r(310);r.d(t,"h",(function(){return i.a}));var o=r(311);r.d(t,"j",(function(){return o.a}));var c=r(308);r.d(t,"g",(function(){return c.a}));var s=r(90),l=r.n(s);r.d(t,"b",(function(){return l.a})),r.d(t,"c",(function(){return s.DialogContent})),r.d(t,"d",(function(){return s.DialogFooter}));var u=r(104);r.d(t,"a",(function(){return u.a})),r.d(t,"e",(function(){return u.b})),r.d(t,"k",(function(){return u.c}))},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,r){"use strict";var n=r(0),a=r(63);t.a=function(){return Object(n.useContext)(a.b)}},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="core/modules",a="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,r){"use strict";(function(e){var n=r(21),a=r.n(n),i=r(23),o=r.n(i),c=r(12),s=r.n(c),l=r(1),u=r.n(l),d=r(140),g=r(0),p=r(2),f=r(126),m=r(127),b=r(128),v=r(80),h=r(77),O=Object(g.forwardRef)((function(t,r){var n,i=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,O=t.back,_=void 0!==O&&O,y=t.caps,E=void 0!==y&&y,k=t.children,j=t.className,w=void 0===j?"":j,R=t.danger,A=void 0!==R&&R,N=t.disabled,S=void 0!==N&&N,D=t.external,T=void 0!==D&&D,L=t.hideExternalIndicator,P=void 0!==L&&L,I=t.href,M=void 0===I?"":I,x=t.inverse,C=void 0!==x&&x,H=t.noFlex,F=void 0!==H&&H,B=t.onClick,z=t.small,U=void 0!==z&&z,W=t.standalone,V=void 0!==W&&W,q=t.linkButton,Y=void 0!==q&&q,G=t.to,K=t.leadingIcon,$=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Z=M||G||!B?G?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":S?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===Z||"BUTTON_DISABLED"===Z?"button":"ROUTER_LINK"===Z?d.b:"a",Q=("EXTERNAL_LINK"===Z&&(n=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Z&&(n=Object(p._x)("(disabled)","screen reader text","google-site-kit")),n?i?"".concat(i," ").concat(n):"string"==typeof k?"".concat(k," ").concat(n):void 0:i),ee=K,te=$;return _&&(ee=e.createElement(b.a,{width:14,height:14})),T&&!P&&(te=e.createElement(v.a,{width:14,height:14})),g&&!C&&(te=e.createElement(f.a,{width:14,height:14})),g&&C&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(X,a()({"aria-label":Q,className:s()("googlesitekit-cta-link",w,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":C,"googlesitekit-cta-link--small":U,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":A,"googlesitekit-cta-link--disabled":S,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":Y,"googlesitekit-cta-link--no-flex":!!F}),disabled:S,href:"LINK"!==Z&&"EXTERNAL_LINK"!==Z||S?void 0:M,onClick:B,rel:"EXTERNAL_LINK"===Z?"noopener noreferrer":void 0,ref:r,target:"EXTERNAL_LINK"===Z?"_blank":void 0,to:G},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));O.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=O}).call(this,r(4))},22:function(e,t,r){"use strict";r.d(t,"n",(function(){return n})),r.d(t,"l",(function(){return a})),r.d(t,"o",(function(){return i})),r.d(t,"m",(function(){return o})),r.d(t,"s",(function(){return c})),r.d(t,"h",(function(){return s})),r.d(t,"r",(function(){return l})),r.d(t,"i",(function(){return u})),r.d(t,"j",(function(){return d})),r.d(t,"q",(function(){return g})),r.d(t,"k",(function(){return p})),r.d(t,"t",(function(){return f})),r.d(t,"u",(function(){return m})),r.d(t,"p",(function(){return b})),r.d(t,"b",(function(){return v})),r.d(t,"e",(function(){return h})),r.d(t,"a",(function(){return O})),r.d(t,"d",(function(){return _})),r.d(t,"c",(function(){return y})),r.d(t,"f",(function(){return E})),r.d(t,"g",(function(){return k}));var n="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",p="adBlockingRecovery",f="wpDashboard",m="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",O="content",_="speed",y="monetization",E=[n,a,i,o,c,l,g,b],k=[i,o,d,m]},24:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a}));var n="core/ui",a="activeContextID"},25:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r(79),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(n.a)();return e>1280?a:e>960?i:e>600?o:c}},277:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return n.createElement("svg",a({viewBox:"0 0 16 16",fill:"none"},e),i)}},3:function(e,t){e.exports=googlesitekit.data},34:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return u})),r.d(t,"b",(function(){return d}));r(13);var n=r(2),a="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===a}function s(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(n.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(n.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(22),a=r(18);function i(){var e=Object(a.a)();return n.g.includes(e)}},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return _})),r.d(t,"b",(function(){return h})),r.d(t,"c",(function(){return O}));var n=r(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,p={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},f=Object(n.a)(p),m=f.enableTracking,b=f.disableTracking,v=(f.isTrackingEnabled,f.initializeSnippet),h=f.trackEvent,O=f.trackEventOnce;function _(e){e?m():b()}c&&s&&v()}).call(this,r(26))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},382:function(e,t){e.exports=googlesitekit.widgets},40:function(e,t,r){"use strict";(function(e){var n=r(7),a=r.n(n),i=r(1),o=r.n(i),c=r(12),s=r.n(c),l=r(25);function PreviewBlock(t){var r,n,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,p=t.smallHeight,f=t.tabletWidth,m=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),O={width:(r={},a()(r,l.b,g),a()(r,l.c,f),a()(r,l.a,b),a()(r,l.d,b),r),height:(n={},a()(n,l.b,p),a()(n,l.c,m),a()(n,l.a,v),a()(n,l.d,b),n)};return e.createElement("div",{className:s()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:O.width[h]||o,height:O.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,r(4))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,r){"use strict";(function(e){var n,a;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var i=new Set((null===(n=e)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,r(26))},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return _}));var n=r(5),a=r.n(n),i=r(7),o=r.n(i),c=r(11),s=r.n(c),l=r(13),u=r(62),d=r(78),g=r(8);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){return e},b=function(){return{}},v=function(){},h=u.a.clearError,O=u.a.receiveError,_=function(e){var t,r,n=a.a.mark(M),i=e.baseName,c=e.controlCallback,u=e.reducerCallback,p=void 0===u?m:u,_=e.argsToParams,y=void 0===_?b:_,E=e.validateParams,k=void 0===E?v:E;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof p,"reducerCallback must be a function."),s()("function"==typeof y,"argsToParams must be a function."),s()("function"==typeof k,"validateParams must be a function.");try{k(y()),r=!1}catch(e){r=!0}var j=Object(d.b)(i),w=Object(d.a)(i),R="FETCH_".concat(w),A="START_".concat(R),N="FINISH_".concat(R),S="CATCH_".concat(R),D="RECEIVE_".concat(w),T="fetch".concat(j),L="receive".concat(j),P="isFetching".concat(j),I=o()({},P,{});function M(e,t){var r,o;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:A};case 2:return n.next=4,h(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:R};case 7:return r=n.sent,n.next=10,x[L](r,e);case 10:return n.next=12,{payload:{params:e},type:N};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,O(o,i,t);case 19:return n.next=21,{payload:{params:e},type:S};case 21:return n.abrupt("return",{response:r,error:o});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var x=(t={},o()(t,T,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=y.apply(void 0,t);return k(n),M(n,t)})),o()(t,L,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(Object(l.isPlainObject)(t),"params is required."),k(t)):t={},{payload:{response:e,params:t},type:D}})),t),C=o()({},R,(function(e){var t=e.payload;return c(t.params)})),H=o()({},P,(function(e){if(void 0===e[P])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=y.apply(void 0,n),k(t)}catch(e){return!1}return!!e[P][Object(g.I)(t)]}));return{initialState:I,actions:x,controls:C,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case A:var a=n.params;return f(f({},e),{},o()({},P,f(f({},e[P]),{},o()({},Object(g.I)(a),!0))));case D:var i=n.response,c=n.params;return p(e,i,c);case N:var s=n.params;return f(f({},e),{},o()({},P,f(f({},e[P]),{},o()({},Object(g.I)(s),!1))));case S:var l=n.params;return f(f({},e),{},o()({},P,f(f({},e[P]),{},o()({},Object(g.I)(l),!1))));default:return e}},resolvers:{},selectors:H}}},495:function(e,t,r){"use strict";(function(e){var n=r(7),a=r.n(n),i=r(1),o=r.n(i);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Spinner(t){var r=t.isSaving,n=t.style,a=void 0===n?{}:n;return e.createElement("span",{className:"spinner",style:s({display:r?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},a)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,r(4))},517:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return i}));var n="fast",a="average",i="slow"},54:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=r(3),a=r(19),i=r(78);function o(t){var r=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(i){var s=Object(n.useSelect)((function(e){return e(a.a).getModule(r)}),[r]);if(!s)return null;var l=o||i.WidgetNull||null;if(!1===s.active)return l&&e.createElement(l,i);if(!1===s.connected){var u=c||l;return u&&e.createElement(u,i)}return e.createElement(t,i)}return WhenActiveComponent.displayName="When".concat(Object(i.c)(r),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,r(4))},571:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ReportMetric}));var n=r(7),a=r.n(n),i=r(1),o=r.n(i),c=r(12),s=r.n(c),l=r(2),u=r(517),d=r(93),g=r(122);function ReportMetric(t){var r,n=t.title,i=t.description,o=t.displayValue,c=t.category,p=t.experimental,f=t.isLast,m=t.isHidden,b=t.isUnavailable,v=t.hintText;return c=null===(r=c)||void 0===r?void 0:r.toLowerCase(),e.createElement("tr",{className:s()("googlesitekit-pagespeed-report__row","googlesitekit-pagespeed-report-metric",{"googlesitekit-pagespeed-report__row--last":f,"googlesitekit-pagespeed-report__row--hidden":m,"googlesitekit-pagespeed-report__row--unavailable":b})},e.createElement("td",null,e.createElement("div",{className:"googlesitekit-pagespeed-report-metric__title"},n,!!p&&e.createElement(d.a,{label:Object(l.__)("Experimental","google-site-kit"),className:"googlesitekit-pagespeed-report-metric__badge"}),b&&e.createElement(g.a,{title:Object(l.__)("Field data is still being gathered for this metric and will become available once your site gets sufficient traffic","google-site-kit")})),e.createElement("div",{className:"googlesitekit-pagespeed-report-metric__description"},i),v&&e.createElement("div",{className:"googlesitekit-pagespeed-report-metric__hint-text"},v)),e.createElement("td",{className:s()("googlesitekit-pagespeed-report-metric-value",a()({},"googlesitekit-pagespeed-report-metric--".concat(c),!!c))},e.createElement("div",{className:"googlesitekit-pagespeed-report-metric-value-container"},e.createElement("div",{className:"googlesitekit-pagespeed-report-metric-value__display-value"},b?"—":o),e.createElement("div",{className:"googlesitekit-pagespeed-report-metric-value__rating"},b&&e.createElement("span",null,Object(l.__)("gathering data","google-site-kit")),!b&&c===u.b&&e.createElement("span",null,Object(l._x)("Good","Performance rating","google-site-kit")),!b&&c===u.a&&e.createElement("span",null,Object(l._x)("Needs improvement","Performance rating","google-site-kit")),!b&&c===u.c&&e.createElement("span",null,Object(l._x)("Poor","Performance rating","google-site-kit"))))))}ReportMetric.propTypes={title:o.a.string.isRequired,description:o.a.string.isRequired,displayValue:o.a.string.isRequired,category:o.a.string,experimental:o.a.bool,isLast:o.a.bool,isHidden:o.a.bool,hintText:o.a.node}}).call(this,r(4))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(37);function a(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},62:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return v}));var n=r(7),a=r.n(n),i=r(33),o=r.n(i),c=r(111),s=r(11),l=r.n(s),u=r(94),d=r.n(u),g=r(8);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(e,"error is required."),l()(t,"baseName is required."),l()(r&&Array.isArray(r),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return l()(e,"baseName is required."),l()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){l()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.errors;return l()(t,"baseName is required."),n[m(t,r)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var r=Object.keys(e.errors).find((function(r){return e.errors[r]===t}));return r?{baseName:r.substring(0,r.indexOf("::")),args:e.errorArgs[r]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(r,n){var a=t(e).getMetaDataForError(n);if(a){var i=a.baseName,o=a.args;if(!!t(e)[i])return{storeName:e,name:i,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,o=n.args,c=n.error,s=m(i,o);return f(f({},e),{},{errors:f(f({},e.errors||{}),{},a()({},s,c)),errorArgs:f(f({},e.errorArgs||{}),{},a()({},s,o))});case"CLEAR_ERROR":var l=n.baseName,u=n.args,d=f({},e),g=m(l,u);return d.errors=f({},e.errors||{}),d.errorArgs=f({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var p=n.baseName,b=f({},e);if(p)for(var v in b.errors=f({},e.errors||{}),b.errorArgs=f({},e.errorArgs||{}),b.errors)(v===p||v.startsWith("".concat(p,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0),a=Object(n.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},669:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M10.6.6L12 2 6 8 0 2 1.4.6 6 5.2z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgChevronDownV2(e){return n.createElement("svg",a({viewBox:"0 0 12 8"},e),i)}},67:function(e,t,r){"use strict";(function(e){var n=r(1),a=r.n(n),i=r(109),o=r(2),c=r(8);function ErrorText(t){var r=t.message,n=t.reconnectURL,a=t.noPrefix;if(!r)return null;var s=r;void 0!==a&&a||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),r)),n&&Object(i.a)(n)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),n));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:a.a.string.isRequired,reconnectURL:a.a.string,noPrefix:a.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,r(4))},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(33),a=r.n(n),i=r(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,r="object"===a()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},764:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return MetricsLearnMoreLink}));var n=r(2),a=r(20);function MetricsLearnMoreLink(){return e.createElement(a.a,{href:"https://web.dev/user-centric-performance-metrics/#how-metrics-are-measured",external:!0,"aria-label":Object(n.__)("Learn more how metrics are measured.","google-site-kit")},Object(n.__)("Learn more","google-site-kit"))}}).call(this,r(4))},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return IconWrapper}));var n=r(1),a=r.n(n);function IconWrapper(t){var r=t.children,n=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:n,marginRight:a}},r)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,r(4))},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},a=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},780:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(517);function a(e){return.9<=e?n.b:.5<=e?n.a:n.c}},781:function(e,t,r){"use strict";(function(e){var n=r(1),a=r.n(n),i=r(40);function PreviewBlocks(t){for(var r=t.width,n=t.height,a=t.shape,o=t.count,c=t.smallWidth,s=t.smallHeight,l=t.tabletWidth,u=t.tabletHeight,d=t.desktopWidth,g=t.desktopHeight,p=[],f=0;f++<o;)p.push(e.createElement(i.a,{width:r,height:n,shape:a,smallWidth:c,smallHeight:s,tabletWidth:l,tabletHeight:u,desktopWidth:d,desktopHeight:g,key:f}));return p}PreviewBlocks.propTypes={width:a.a.string,height:a.a.string,shape:a.a.string,count:a.a.number,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.a.string},PreviewBlocks.defaultProps={width:"100px",height:"100px",shape:"square",count:1},t.a=PreviewBlocks}).call(this,r(4))},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return a.b})),r.d(t,"K",(function(){return a.c})),r.d(t,"G",(function(){return i.a})),r.d(t,"L",(function(){return i.b})),r.d(t,"I",(function(){return u})),r.d(t,"n",(function(){return d.a})),r.d(t,"C",(function(){return d.d})),r.d(t,"D",(function(){return d.e})),r.d(t,"z",(function(){return d.c})),r.d(t,"s",(function(){return d.b})),r.d(t,"A",(function(){return m})),r.d(t,"k",(function(){return b})),r.d(t,"j",(function(){return v})),r.d(t,"d",(function(){return k})),r.d(t,"c",(function(){return j})),r.d(t,"e",(function(){return w})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return A})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return S})),r.d(t,"o",(function(){return D})),r.d(t,"x",(function(){return T})),r.d(t,"q",(function(){return L})),r.d(t,"H",(function(){return P})),r.d(t,"t",(function(){return I})),r.d(t,"w",(function(){return M})),r.d(t,"l",(function(){return x})),r.d(t,"p",(function(){return C.b})),r.d(t,"i",(function(){return C.a})),r.d(t,"u",(function(){return H.b})),r.d(t,"r",(function(){return H.a})),r.d(t,"B",(function(){return H.c})),r.d(t,"y",(function(){return F})),r.d(t,"v",(function(){return B})),r.d(t,"F",(function(){return W})),r.d(t,"E",(function(){return V.a})),r.d(t,"h",(function(){return q})),r.d(t,"M",(function(){return Y})),r.d(t,"m",(function(){return G}));var n=r(13),a=r(36),i=r(72),o=r(33),c=r.n(o),s=r(94),l=r.n(s),u=function(e){return l()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var a=t[n];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),r[n]=a})),r}(e)))};r(97);var d=r(82);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>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function f(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,r=0,n=[g,p,f];r<n.length;r++){t=(0,n[r])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=r(15),O=r.n(h),_=r(11),y=r.n(_),E=r(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',w=60,R=60*w,A=24*R,N=7*A,S=30*A;function D(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var r=new Date(e);return Object(n.isDate)(r)&&!isNaN(r)}function L(e){y()(Object(n.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,r.length<2?"0".concat(r):r].join("-")}function P(e){y()(T(e),k);var t=e.split("-"),r=O()(t,3),n=r[0],a=r[1],i=r[2];return new Date(n,a-1,i)}function I(e,t){return L(x(e,t*A))}function M(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function x(e,t){y()(T(e)||Object(n.isDate)(e)&&!isNaN(e),k);var r=T(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var C=r(98),H=r(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var z=r(27),U=r.n(z),W=function(e){return Array.isArray(e)?U()(e).sort():e},V=r(88);function q(e,t){var r=function(e){return"0"===e||0===e};if(r(e)&&r(t))return 0;if(r(e)||Number.isNaN(e))return null;var n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var Y=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},G=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},80:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return n.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(145),a=r.n(n)()(e)}).call(this,r(26))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return k})),r.d(t,"d",(function(){return j})),r.d(t,"e",(function(){return R})),r.d(t,"c",(function(){return A})),r.d(t,"b",(function(){return N}));var n=r(15),a=r.n(n),i=r(33),o=r.n(i),c=r(7),s=r.n(c),l=r(23),u=r.n(l),d=r(13),g=r(57),p=r.n(g),f=r(2);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=_(e,t),n=r.formatUnit,a=r.formatDecimal;try{return n()}catch(e){return a()}},h=function(e){var t=O(e),r=t.hours,n=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(a):"".concat(r,":").concat(n,":").concat(a)},O=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e),n=r.hours,a=r.minutes,i=r.seconds;return{hours:n,minutes:a,seconds:i,formatUnit:function(){var r=t.unitDisplay,o=b(b({unitDisplay:void 0===r?"short":r},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?R(i,b(b({},o),{},{unit:"second"})):Object(f.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?R(i,b(b({},o),{},{unit:"second"})):"",a?R(a,b(b({},o),{},{unit:"minute"})):"",n?R(n,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(f.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(f.__)("%ds","google-site-kit"),i);if(0===e)return t;var r=Object(f.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(f.__)("%dm","google-site-kit"),a),o=Object(f.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(f.__)("%dh","google-site-kit"),n);return Object(f.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?r:"",n?o:"").trim()}}},y=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in millions. Object(f.__)("%sM","google-site-kit"),R(y(e),e%10==0?{}:t)):1e4<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands. Object(f.__)("%sK","google-site-kit"),R(y(e))):1e3<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands. Object(f.__)("%sK","google-site-kit"),R(y(e),e%10==0?{}:t)):R(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r=k(t),n=r.style,a=void 0===n?"metric":n;return"metric"===a?E(e):"duration"===a?v(e,r):"durationISO"===a?h(e):R(e,r)}var w=p()(console.warn),R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?N():r,i=u()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(i);d<g.length;d++){var p=a()(g[d],2),f=p[0],m=p[1];c[f]&&m===c[f]||(s.includes(f)||(l[f]=m))}try{return new Intl.NumberFormat(n,l).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?N():r,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(n,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(f.__)(", ","google-site-kit");return e.join(l)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(26))},83:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c}));var n=r(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),a=e.replace(r.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},84:function(e,t,r){"use strict";r.r(t),r.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return n})),r.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return a})),r.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return i})),r.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),r.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),r.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),r.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return l})),r.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),r.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),r.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var n="mainDashboardKeyMetricsPrimary",a="mainDashboardTrafficPrimary",i="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",l="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:n,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:a,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:l,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},86:function(e,t,r){"use strict";(function(e){var n=r(1),a=r.n(n),i=r(12),o=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(11),a=r.n(n),i=function(e,t){var r=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:e.slice(n),compareRange:e.slice(2*n,n)}}},883:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return SettingsView}));var n=r(2),a=r(3),i=r(8),o=r(102);function SettingsView(){var t=Object(a.useSelect)((function(e){return e(o.d).getAdminScreenURL()})),r=Object(n.sprintf)( /* translators: %s: is the URL to the Site Kit dashboard. */ Object(n.__)('To view insights, <a href="%s">visit the dashboard</a>',"google-site-kit"),"".concat(t,"#speed"));return e.createElement("p",{dangerouslySetInnerHTML:Object(i.G)(r,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})})}}).call(this,r(4))},93:function(e,t,r){"use strict";(function(e){var n=r(21),a=r.n(n),i=r(23),o=r.n(i),c=r(12),s=r.n(c),l=r(1),u=r.n(l),d=r(0),g=Object(d.forwardRef)((function(t,r){var n=t.label,i=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:r},u,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":l})}),n)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,r(4))},97:function(e,t,r){"use strict";(function(e){r(50),r(51)}).call(this,r(26))},98:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o}));var n=r(220),a=r(86),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,o=void 0!==i&&i;return Object(n.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(4))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(7),a=r.n(n),i=r(13),o=r(100),c=r(101);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},u),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(a,r),d=Object(c.a)(a,r,s,n),g={},p=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);g[n]||(g[n]=Object(i.once)(d)),g[n].apply(g,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:p}}}).call(this,r(26))},995:function(e,t,r){"use strict";(function(e){var n=r(996),a=r(54);t.a=Object(a.a)({moduleName:"pagespeed-insights"})((function DashboardPageSpeedWidget(t){var r=t.Widget;return e.createElement(r,{className:"googlesitekit-pagespeed-widget",noPadding:!0},e.createElement(n.a,null))}))}).call(this,r(4))},996:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return DashboardPageSpeed}));var n=r(5),a=r.n(n),i=r(16),o=r.n(i),c=r(7),s=r.n(c),l=r(15),u=r.n(l),d=r(12),g=r.n(d),p=r(222),f=r(0),m=r(2),b=r(42),v=r.n(b),h=r(10),O=r(3),_=r(997),y=r(20),E=r(1e3),k=r(1001),j=r(1003),w=r(1007),R=r(36),A=r(14),N=r(24),S=r(102),D=r(495),T=r(18),L=r(1008);function DashboardPageSpeed(){var t=Object(f.useRef)(),r=Object(f.useState)(!1),n=u()(r,2),i=n[0],c=n[1],l=Object(T.a)(),d=Object(O.useSelect)((function(e){return e(A.c).getCurrentReferenceURL()})),b=Object(O.useSelect)((function(e){return e(N.b).getValue(S.h)}))||S.f,P=Object(O.useSelect)((function(e){return e(N.b).getValue(S.g)}))||S.b,I=Object(O.useSelect)((function(e){var t=e(S.d);return{isFetchingMobile:!t.hasFinishedResolution("getReport",[d,S.f]),errorMobile:t.getErrorForSelector("getReport",[d,S.f]),isFetchingDesktop:!t.hasFinishedResolution("getReport",[d,S.e]),errorDesktop:t.getErrorForSelector("getReport",[d,S.e])}})),M=I.isFetchingMobile,x=I.isFetchingDesktop,C=I.errorMobile,H=I.errorDesktop,F=Object(O.useInViewSelect)((function(e){return e(S.d).getReport(d,S.f)}),[d]),B=Object(O.useInViewSelect)((function(e){return e(S.d).getReport(d,S.e)}),[d]),z=Object(O.useDispatch)(N.b).setValues,U=Object(O.useDispatch)(S.d).invalidateResolution,W=Object(p.a)(t,{threshold:.25}),V=!!(null==W?void 0:W.intersectionRatio),q=b===S.f?M:x;Object(f.useEffect)((function(){V&&!i&&(Object(R.b)("".concat(l,"_pagespeed-widget"),"widget_view"),Object(R.b)("".concat(l,"_pagespeed-widget"),"default_tab_view",P.replace("data_","")),c(!0))}),[V,P,l,i]);var Y=Object(f.useCallback)((function(e){var t;switch(e){case 0:z(s()({},S.g,S.b)),t="lab";break;case 1:z(s()({},S.g,S.a)),t="field";break;case 2:z(s()({},S.g,S.c)),t="recommendations"}Object(R.b)("".concat(l,"_pagespeed-widget"),"tab_select",t)}),[z,l]),G=Object(f.useCallback)((function(e){e.slug===S.e?z(s()({},S.h,S.e)):z(s()({},S.h,S.f))}),[z]),K=Object(f.useCallback)(function(){var e=o()(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,v.a.invalidateCache("modules","pagespeed-insights","pagespeed");case 3:U("getReport",[d,S.e]),U("getReport",[d,S.f]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[U,d]),$=b===S.f?F:B,J=b===S.f?C:H,Z=Object(O.useSelect)((function(e){return e(S.d).hasFinishedResolution("getReport",[d,b])})),X=Object(O.useInViewSelect)((function(e){if(J)return[];var t=e(S.d).getAuditsWithStackPack(d,b,"wordpress");return t&&Object.keys(t).length?Object.values(t).filter((function(e){var t=e.scoreDisplayMode,r=e.score;return"metricSavings"===t&&r<1})).sort((function(e,t){return e.score===t.score?e.id<t.id?-1:1:e.score-t.score})).map((function(e){return{id:e.id,title:e.title}})):[]}),[d,b,Z]);Object(f.useEffect)((function(){var e,t;(null==F||null===(e=F.loadingExperience)||void 0===e?void 0:e.metrics)&&(null==B||null===(t=B.loadingExperience)||void 0===t?void 0:t.metrics)&&z(s()({},S.g,S.a))}),[F,B,z]);var Q=!d||q&&!$||!P,ee=P===S.a&&["LARGEST_CONTENTFUL_PAINT_MS","CUMULATIVE_LAYOUT_SHIFT_SCORE","FIRST_INPUT_DELAY_MS"].every((function(e){var t,r;return null==$||null===(t=$.loadingExperience)||void 0===t||null===(r=t.metrics)||void 0===r?void 0:r[e]}));return Q?e.createElement("div",{id:"googlesitekit-pagespeed-header",className:"googlesitekit-pagespeed-widget__content-wrapper googlesitekit-pagespeed-widget__content-wrapper--loading"},e.createElement(L.a,null)):e.createElement("div",{id:"googlesitekit-pagespeed-header",className:"googlesitekit-pagespeed-widget__content-wrapper"},e.createElement("div",{className:"googlesitekit-pagespeed-widget__content"},e.createElement("header",{className:"googlesitekit-pagespeed-widget__header",ref:t},e.createElement("div",{className:"googlesitekit-pagespeed-widget__data-src-tabs"},e.createElement(h.TabBar,{activeIndex:[S.b,S.a,S.c].indexOf(P),handleActiveIndexUpdate:Y},e.createElement(h.Tab,{focusOnActivate:!1,"aria-labelledby":"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.b),disabled:q},e.createElement("span",{id:"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.b),className:"mdc-tab__text-label"},Object(m.__)("In the Lab","google-site-kit"))),e.createElement(h.Tab,{focusOnActivate:!1,"aria-labelledby":"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.a),disabled:q},e.createElement("span",{id:"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.a),className:"mdc-tab__text-label"},Object(m.__)("In the Field","google-site-kit"))),e.createElement(h.Tab,{focusOnActivate:!1,"aria-labelledby":"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.c),disabled:q},e.createElement("span",{id:"googlesitekit-pagespeed-widget__data-src-tab-".concat(S.c),className:"mdc-tab__text-label"},Object(m.__)("How to improve","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper"},e.createElement(_.a,{activeTab:b,disabled:q,handleDeviceSizeUpdate:G}))),q&&!Q&&e.createElement("div",{className:"googlesitekit-pagespeed-widget__refreshing-progress-bar-wrapper"},e.createElement(h.ProgressBar,{compress:!0})),e.createElement("section",{className:g()({"googlesitekit-pagespeed-widget__refreshing":q})},P===S.b&&e.createElement(E.a,{data:$,error:J}),P===S.a&&e.createElement(k.a,{data:$,error:J}),P===S.c&&e.createElement(j.a,{className:g()({"googlesitekit-pagespeed-widget__refreshing":q}),recommendations:X,referenceURL:d,strategy:b})),(P===S.b||ee)&&e.createElement("div",{className:"googlesitekit-pagespeed-report__row"},e.createElement(h.Button,{className:g()({"googlesitekit-pagespeed__recommendations-cta--hidden":!(null==X?void 0:X.length)}),disabled:q,onClick:function(){return Y(2)}},Object(m.__)("How to improve","google-site-kit"))),e.createElement("div",{className:g()("googlesitekit-pagespeed-report__footer",{"googlesitekit-pagespeed-report__footer--with-action":P===S.b})},P===S.b&&!Q&&e.createElement("div",null,e.createElement(y.a,{onClick:K,disabled:q},Object(m.__)("Run test again","google-site-kit")),e.createElement(D.a,{isSaving:q})),e.createElement(w.a,null))))}}).call(this,r(4))},997:function(e,t,r){"use strict";(function(e){var n=r(1),a=r.n(n),i=r(0),o=r(2),c=r(10),s=r(998),l=r(999);function DeviceSizeTabBar(t){var r=t.activeTab,n=t.disabled,a=void 0!==n&&n,u=t.handleDeviceSizeUpdate,d=t.deviceSizes,g=void 0===d?[{slug:"mobile",label:Object(o.__)("Mobile","google-site-kit"),icon:e.createElement(s.a,{width:"15",height:"22"})},{slug:"desktop",label:Object(o.__)("Desktop","google-site-kit"),icon:e.createElement(l.a,{width:"23",height:"17"})}]:d,p=Object(i.useCallback)((function(e){var t=g[e];u(t,e)}),[g,u]);if(!(null==g?void 0:g.length))return null;var f=g.findIndex((function(e){return e.slug===r}));return e.createElement(c.TabBar,{className:"googlesitekit-device-size-tab-bar",activeIndex:f,handleActiveIndexUpdate:p},g.map((function(t,r){var n=t.icon,i=t.label;return e.createElement(c.Tab,{key:"google-sitekit-device-size-tab-key-".concat(r),"aria-label":i,disabled:a,focusOnActivate:!1},n)})))}DeviceSizeTabBar.propTypes={activeTab:a.a.string,disabled:a.a.bool,deviceSizes:a.a.arrayOf(a.a.shape({label:a.a.string,slug:a.a.string,icon:a.a.node})),handleDeviceSizeUpdate:a.a.func},DeviceSizeTabBar.defaultProps={handleDeviceSizeUpdate:function(){}},t.a=DeviceSizeTabBar}).call(this,r(4))},998:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=n.createElement("path",{d:"M17 1.01L7 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.99zM17 19H7V5h10v14z",fill:"currentColor"});t.a=function SvgDeviceSizeMobileIcon(e){return n.createElement("svg",a({viewBox:"5 1 14 22"},e),i,o)}},999:function(e,t,r){"use strict";var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=n.createElement("path",{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-2h-4zM4 6h16v10H4V6z",fill:"currentColor"});t.a=function SvgDeviceSizeDesktopIcon(e){return n.createElement("svg",a({viewBox:"0 4 24 16"},e),i,o)}}},[[1235,1,0]]]); dist/assets/js/googlesitekit-modules-reader-revenue-manager-0aca4740f1f170a04318.js 0000604 00000513324 14717744000 0023340 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[21],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var a=Object(s.a)(t);return function(){var t=l()(i.a.mark((function t(o,c,l,s){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(i),e()};a("event",c,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),a=n.n(i),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),f=n(24),g=n(6),p=n(36),m=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},O={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},y={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},E="feature_tooltip_view",_="feature_tooltip_advance",j="feature_tooltip_return",k="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),x=Object(d.useDispatch)(f.b).setValue,N=Object(d.useDispatch)(g.a).dismissTour,R=Object(d.useRegistry)(),P=Object(b.a)(),C=Object(d.useSelect)((function(e){return e(f.b).getValue(u)})),A=Object(d.useSelect)((function(e){return e(f.b).getValue(w)&&!1===e(g.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),x(w,!0)}));var D=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(P):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,E,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,k,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===s&&Object(p.b)(u,S,s),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,j,s),n===c.a.NEXT&&Object(p.b)(u,_,s))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(a),b=f&&d===c.b.STEP_AFTER,v=m||b;if(c.b.STEP_BEFORE===d){var h,O,y=o.target;"string"==typeof o.target&&(y=e.document.querySelector(o.target)),null===(h=y)||void 0===h||null===(O=h.scrollIntoView)||void 0===O||O.call(h,{block:"center"})}g?function(e,t){x(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),N(i)),s&&s(t,R)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:y,locale:O,run:A,showProgress:!0,stepIndex:C,steps:D,styles:h,tooltipComponent:m.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},110:function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var i=n(160);n.d(t,"c",(function(){return i.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,f=t.storeName,g=t.message,p=void 0===g?r.message:g,m=t.noPrefix,b=void 0!==m&&m,v=t.Icon,h=Object(c.useDispatch)(),O=Object(c.useSelect)((function(e){return f?e(f).getSelectorDataForError(r):null})),y=Object(a.useCallback)((function(){h(O.storeName).invalidateResolution(O.name,O.args)}),[h,O]);if(!r||Object(s.f)(r))return null;var E=d&&Object(s.d)(r,O);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),E&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:y},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),f=n(14),g=n(19),p=n(34),m=n(35),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,O=t.onRequestAccess,y=t.getHelpClassName,E=t.RequestAccessButton,_=t.RetryButton,j=Object(m.a)(),k=Object(u.useSelect)((function(e){return e(g.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(k))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(k).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],x=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(k))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:r})}))})),N=null==x?void 0:x.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),R=!!N.length,P=Object(u.useSelect)((function(e){var t=h({},R?N[0]:w[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(f.c).getErrorTroubleshootingLinkURL(t)})),C=Object(u.useDispatch)(),A=w.some((function(e){return Object(p.e)(e)})),D=Object(c.useCallback)((function(){N.forEach((function(e){var t=e.selectorData;C(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[C,N,v]),T=S&&A&&!j;return e.createElement("div",{className:"googlesitekit-report-error-actions"},T&&("function"==typeof E?e.createElement(E,{requestAccessURL:S}):e.createElement(d.Button,{onClick:O,href:S,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),R&&e.createElement(c.Fragment,null,"function"==typeof _?e.createElement(_,{handleRetry:D}):e.createElement(d.Button,{onClick:D,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:P,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!R&&!a&&e.createElement("div",{className:y},"function"==typeof i?e.createElement(i,{linkURL:P}):e.createElement(b.a,{href:P,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(3),a=n(46);function o(e,t,n){var o=Object(i.useDispatch)(a.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},119:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),f=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,O=t.mdSize,y=t.mdStart,E=t.mdOrder,_=t.lgSize,j=t.lgStart,k=t.lgOrder,S=t.size,w=t.children,x=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},x,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--order-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--span-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--start-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},1232:function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),a=n(179),o=n.n(a),c=n(488),l=n.n(c),s=n(5),u=n.n(s),d=n(16),f=n.n(d),g=n(2),p=n(519),m=n(14),b=n(48),v=n(91),h=n(35);function DashboardMainEffectComponent(){var e=Object(h.a)(),t=Object(r.useDispatch)(b.b).maybeSyncPublicationOnboardingState;return Object(v.a)((function(){e||t()})),null}n(734);var O=n(887),y=n(888),E=n(889),_=n(765),j=n(584),k=n(554),S=n(60),w=n(22),x=n(11),N=n.n(x),R=n(183),P=n(59);var C=o.a.createModuleStore("reader-revenue-manager",{storeName:b.b,validateCanSubmitChanges:function(e){var t=Object(P.e)(e)(b.b),n=t.haveSettingsChanged,r=t.isDoingSubmitChanges,i=t.getPublicationID,a=t.getPublicationOnboardingState;N()(!r(),R.a),N()(n(),R.b);var o=i(),c=a();N()(Object(j.c)(o),"a valid publicationID is required"),N()(Object(j.b)(c),"a valid publication onboarding state is required")},ownedSettingsSlugs:["publicationID"],settingSlugs:["ownerID","publicationID","publicationOnboardingState","publicationOnboardingStateLastSyncedAtMs"]}),A=n(7),D=n.n(A),T=n(13),F=n(42),I=n.n(F),L=n(19),M=n(24),B=n(47),U=n(62),G=n(8);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){D()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var V=Object(B.a)({baseName:"getPublications",controlCallback:function(){return I.a.get("modules",b.d,"publications",{},{useCache:!1})},reducerCallback:function(e,t){return z(z({},e),{},{publications:t})}}),W={publications:void 0},H={syncPublicationOnboardingState:u.a.mark((function e(){var t,n,i,a,o,c,l;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,r.commonActions.await(t.resolveSelect(b.b).getSettings());case 5:if(n=e.sent,void 0!==(i=t.select(b.b).getPublicationID())){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,H.resetPublications();case 11:return e.next=13,r.commonActions.await(t.resolveSelect(b.b).getPublications())||[];case 13:if(a=e.sent,o=a.find((function(e){return e.publicationId===i}))){e.next=17;break}return e.abrupt("return");case 17:if(c=o.onboardingState,t.dispatch(b.b).setPublicationOnboardingState(c),!t.select(b.b).hasSettingChanged("publicationID")){e.next=22;break}return e.abrupt("return");case 22:return t.dispatch(b.b).setPublicationOnboardingStateLastSyncedAtMs(Date.now()),e.next=25,r.commonActions.await(t.dispatch(b.b).saveSettings());case 25:(l=n.publicationOnboardingState)&&c!==l&&c===b.c.ONBOARDING_COMPLETE&&t.dispatch(M.b).setValue(b.k,!0);case 27:case"end":return e.stop()}}),e)})),maybeSyncPublicationOnboardingState:u.a.mark((function e(){var t,n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,r.commonActions.await(t.resolveSelect(L.a).isModuleConnected(b.d));case 5:if(e.sent){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,r.commonActions.await(t.resolveSelect(b.b).getSettings());case 10:if(!t.select(b.b).hasSettingChanged("publicationID")){e.next=13;break}return e.abrupt("return");case 13:if(!((n=t.select(b.b).getPublicationOnboardingStateLastSyncedAtMs())&&Date.now()-n<1e3*G.b)){e.next=16;break}return e.abrupt("return");case 16:return e.next=18,H.syncPublicationOnboardingState();case 18:case"end":return e.stop()}}),e)})),findMatchedPublication:u.a.mark((function e(){var t,n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.resolveSelect,e.next=6,r.commonActions.await(n(b.b).getPublications());case 6:if(0!==(i=e.sent).length){e.next=9;break}return e.abrupt("return",null);case 9:if(1!==i.length){e.next=11;break}return e.abrupt("return",i[0]);case 11:return a=i.find((function(e){return e.onboardingState===b.c.ONBOARDING_COMPLETE})),e.abrupt("return",a||i[0]);case 13:case"end":return e.stop()}}),e)})),resetPublications:u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,{type:"RESET_PUBLICATIONS"};case 5:return e.next=7,U.a.clearErrors("getPublications");case 7:return e.abrupt("return",t.dispatch(b.b).invalidateResolutionForStoreSelector("getPublications"));case 8:case"end":return e.stop()}}),e)})),selectPublication:Object(P.f)((function(e){N()(Object(T.isPlainObject)(e),"A valid publication object is required."),["publicationId","onboardingState"].forEach((function(t){N()(e.hasOwnProperty(t),"The publication object must contain ".concat(t))}))}),u.a.mark((function e(t){var n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.publicationId,i=t.onboardingState,e.next=3,r.commonActions.getRegistry();case 3:return a=e.sent,e.abrupt("return",a.dispatch(b.b).setSettings({publicationID:n,publicationOnboardingState:i,publicationOnboardingStateLastSyncedAtMs:Date.now()}));case 5:case"end":return e.stop()}}),e)})))},K={getPublications:u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==t.select(b.b).getPublications()){e.next=7;break}return e.next=7,V.actions.fetchGetPublications();case 7:case"end":return e.stop()}}),e)}))},J=Object(r.combineStores)(V,{initialState:W,actions:H,controls:{},reducer:function(e,t){switch(t.type){case"RESET_PUBLICATIONS":return z(z({},e),{},{publications:W.publications});default:return e}},resolvers:K,selectors:{getPublications:function(e){return e.publications}}}),Y=(J.initialState,J.actions,J.controls,J.reducer,J.resolvers,J.selectors,J),$=n(157),Z=n(6);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){D()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee,te,ne={selectors:{getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.path,i=n.query,a="https://publishercenter.google.com";if(r){var o="/".concat(r.replace(/^\//,""));a="".concat(a).concat(o)}a=Object($.a)(a,X(X({},i),{},{utm_source:"sitekit"}));var c=e(Z.a).getAccountChooserURL(a);if(void 0!==c)return c}}))}},re=Object(r.combineStores)(C,Y,ne);re.initialState,re.actions,re.controls,re.reducer,re.resolvers,re.selectors;i.a.registerStore(b.b,re),o.a.registerModule("reader-revenue-manager",{storeName:b.b,SettingsEditComponent:y.a,SettingsViewComponent:E.a,SetupComponent:O.a,DashboardMainEffectComponent:DashboardMainEffectComponent,Icon:_.a,features:[Object(g.__)("Reader Revenue Manager publication tracking (your Reader Revenue Manager account will still remain active)","google-site-kit")],checkRequirements:(ee=f()(u.a.mark((function e(t){var n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resolveSelect(m.c).getSiteInfo();case 2:if(n=t.select(m.c).getHomeURL(),!Object(j.a)(n)){e.next=5;break}return e.abrupt("return");case 5:throw{code:b.a,message:Object(g.__)("The site should use HTTPS to set up Reader Revenue Manager","google-site-kit"),data:null};case 6:case"end":return e.stop()}}),e)}))),function(e){return ee.apply(this,arguments)})}),l.a.registerNotification("setup-success-notification-rrm",{Component:k.b,priority:10,areaSlug:S.b.BANNERS_BELOW_NAV,viewContexts:[w.n],checkRequirements:(te=f()(u.a.mark((function e(t){var n,r,i,a,o;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,i=Object(p.a)(location.href,"notification"),a=Object(p.a)(location.href,"slug"),e.next=5,r(b.b).getSettings();case 5:return e.next=7,n(b.b).getPublicationOnboardingState();case 7:if(o=e.sent,"authentication_success"!==i||a!==b.d||void 0===o){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)}))),function(e){return te.apply(this,arguments)}),isDismissible:!1})},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));f.displayName="Row",f.propTypes={className:l.a.string,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));f.displayName="Grid",f.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(166),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),f=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,p=t.step,m=t.tooltipProps,b=u>1?Object(f.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:l()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,s.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},141:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n(0),s=n(2),u=n(3),d=n(19),f=n(34),g=n(150),p=n(81),m=n(67),b=n(85),v=n(117),h=n(35);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(h.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),O=Array.isArray(i)?i:[i],E=function(e){return Object(f.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(g.a)(e.message,o)):Object(f.b)(e)},_=Object(c.uniqWith)(O.map((function(e){var t;return y(y({},e),{},{message:E(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),j=O.some((function(e){return Object(f.e)(e)}));j||1!==_.length?!j&&_.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var k=e.createElement(l.Fragment,null,_.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(m.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},p.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(b.a,{title:n,description:k,error:!0},e.createElement(v.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},142:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(116),c=n(19),l=n(34),s=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,u=t.storeName,d=Object(a.useSelect)((function(e){return e(u).getErrors()})),f=Object(a.useSelect)((function(e){return e(c.a).getModule(i)})),g=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||g.includes(e.message))&&(g.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(l.e)(t)&&(i=Object(s.a)(i,f)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:u,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},148:function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var i=n(68);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},151:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},159:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(198),u=n(211),d=n(68),f=n(6),g=n(10),p=n(0),m=Object(p.forwardRef)((function(t,n){var r=t.className,a=t.children,o=t.type,p=t.dismiss,m=void 0===p?"":p,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,O=t.Icon,y=void 0===O?Object(d.d)(o):O,E=t.OuterCTA,_=Object(l.useDispatch)(f.a).dismissItem,j=Object(l.useSelect)((function(e){return m?e(f.a).isItemDismissed(m):void 0}));if(m&&j)return null;var k=a?u.a:s.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(y,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(k,t)),m&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{tertiary:!0,onClick:function(){_(m),b()}},h)),E&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(E,null)))}));m.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},m.defaultProps={type:d.a},t.a=m}).call(this,n(4))},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(24);function a(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),l=Object(s.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(d.a,i()({},c,{href:l}))}SupportLink.propTypes={path:l.a.string.isRequired,query:l.a.object,hash:l.a.string}}).call(this,n(4))},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(6),d=n(19),f=n(32),g=n(36),p=n(18);function m(e){var t=Object(p.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(l.useDispatch)(d.a).activateModule,m=Object(l.useDispatch)(f.a).navigateTo,b=Object(l.useDispatch)(s.c).setInternalServerError,v=Object(c.useCallback)(o()(i.a.mark((function n(){var r,o,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(g.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:m(c.moduleReauthURL),n.next=12;break;case 11:b({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,m,b,t]);return(null==n?void 0:n.name)&&r?v:null}},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},181:function(e,t,n){"use strict";n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return m.a})),n.d(t,"g",(function(){return m.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return b})),n.d(t,"e",(function(){return s}));var r=n(15),i=n.n(r),a=n(27),o=n.n(a),c=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function f(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,l=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(p,m){if(s(t[p.slug]))return n.push(0),void r.push(o);var b=d(a,p),v=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(m,e,t);null!==v&&0!==d(b.sort(l)[0].counter,v).filter(g).length||b.some(g)&&(b=(b=b.sort(f)).filter(g));var h=b[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[m]++,9===a){var O=u(n,a),y=i()(O,2);n=y[0],a=y[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var p=u(n,a),m=i()(p,2);n=m[0],a=m[1]}return{columnWidths:n,rowIndexes:r}}var g=n(13);function p(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],o=null==t?void 0:t[a.slug],l=null==o?void 0:o.Component,s=null==o||null===(i=o.metadata)||void 0===i?void 0:i.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,p,m,b;if(a.push(null),s=t[n.slug],u=i[o],s)if(f=s,p=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],m=u,b=i[o+1],m===b&&Object(g.isEqual)(f,p))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var v=d.reduce((function(e,t){return e+t}),0);a[o]=s,l[o]=v,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var m=n(207);function b(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},182:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"g",(function(){return w})),n.d(t,"f",(function(){return x})),n.d(t,"d",(function(){return N})),n.d(t,"e",(function(){return R}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(7),l=n.n(c),s=n(11),u=n.n(s),d=n(13),f=n(42),g=n.n(f),p=n(3),m=n(59),b=n(78),v=n(47),h=n(62);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.a.clearError,_=h.a.receiveError,j="cannot submit changes while submitting changes",k="cannot submit changes if settings have not changed",S=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,a=void 0===i?void 0:i,c=r.storeName,s=void 0===c?void 0:c,f=r.settingSlugs,h=void 0===f?[]:f,O=r.initialSettings,j=void 0===O?void 0:O,k=r.validateHaveSettingsChanged,S=void 0===k?R():k;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var w=s||"".concat(e,"/").concat(t),x={ownedSettingsSlugs:a,settings:j,savedSettings:void 0},N=Object(v.a)({baseName:"getSettings",controlCallback:function(){return g.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return y(y({},e),{},{savedSettings:y({},t),settings:y(y({},t),e.settings||{})})}}),P=Object(v.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return g.a.set(e,t,n,i)},reducerCallback:function(e,t){return y(y({},e),{},{savedSettings:y({},t),settings:y({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(Object(d.isPlainObject)(t),"values is required.")}}),C={},A={setSettings:function(e){return u()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,E("saveSettings",[]);case 5:return n=t.select(w).getSettings(),e.next=8,P.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(a=r.error)){e.next=14;break}return e.next=14,_(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},D={},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return y(y({},e),{},{settings:y(y({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return y(y({},e),{},{settings:e.savedSettings});default:return void 0!==C[n]?C[n](e,{type:n,payload:r}):e}},F={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(w).getSettings()){e.next=7;break}return e.next=7,N.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},I=Object(m.g)(S),L=I.safeSelector,M=I.dangerousSelector,B={haveSettingsChanged:L,__dangerousHaveSettingsChanged:M,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(d.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(w).getOwnedSettingsSlugs();return e(w).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);A["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},C["SET_".concat(n)]=function(t,n){var r=n.payload.value;return y(y({},t),{},{settings:y(y({},t.settings||{}),{},l()({},e,r))})},B["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(w).getSettings()||{})[e]}}))}));var U=Object(p.combineStores)(p.commonStore,N,P,{initialState:x,actions:A,controls:D,reducer:T,resolvers:F,selectors:B});return y(y({},U),{},{STORE_NAME:w})};function w(e,t){return function(){var n=i()(o.a.mark((function n(r){var i,a,c,l;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,a=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,a(t).saveSettings();case 4:if(c=n.sent,!(l=c.error)){n.next=8;break}return n.abrupt("return",{error:l});case 8:return n.next=10,g.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function x(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function N(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;u()(!i(),j),u()(r(),k)}}function R(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&u()(!Object(d.isEqual)(Object(d.pick)(r,n),Object(d.pick)(i,n)),k),u()(!Object(d.isEqual)(r,i),k)}}},187:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),a=" ";function DisplaySetting(e){return e.value||a}DisplaySetting.propTypes={value:i.a.oneOfType([i.a.string,i.a.bool,i.a.number])},t.b=DisplaySetting},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(2),u=n(3),d=n(120),f=n(60),g=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,l=void 0===c?Object(s.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,m=void 0===p?0:p,b=t.disabled,v=t.onDismiss,h=void 0===v?function(){}:v,O=t.gaTrackingEventArgs,y=Object(d.a)(n),E=Object(u.useDispatch)(f.a).dismissNotification,_=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==h?void 0:h(t);case 2:y.dismiss(null==O?void 0:O.label,null==O?void 0:O.value),E(n,{expiresInSeconds:m});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(g.Button,{tertiary:!a,onClick:_,disabled:b},l)}Dismiss.propTypes={id:l.a.string,primary:l.a.bool,dismissLabel:l.a.string,dismissExpires:l.a.number,disabled:l.a.bool,onDismiss:l.a.func,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(0),l=n(519),s=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(l.a)(r.location.href,t)||n),u=o()(a,2),d=u[0],f=u[1],g=function(e){f(e);var n=Object(s.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,g]}}).call(this,n(26))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),f=n(0),g=n(2),p=n(126),m=n(127),b=n(128),v=n(80),h=n(77),O=Object(f.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,f=void 0!==u&&u,O=t.back,y=void 0!==O&&O,E=t.caps,_=void 0!==E&&E,j=t.children,k=t.className,S=void 0===k?"":k,w=t.danger,x=void 0!==w&&w,N=t.disabled,R=void 0!==N&&N,P=t.external,C=void 0!==P&&P,A=t.hideExternalIndicator,D=void 0!==A&&A,T=t.href,F=void 0===T?"":T,I=t.inverse,L=void 0!==I&&I,M=t.noFlex,B=void 0!==M&&M,U=t.onClick,G=t.small,q=void 0!==G&&G,z=t.standalone,V=void 0!==z&&z,W=t.linkButton,H=void 0!==W&&W,K=t.to,J=t.leadingIcon,Y=t.trailingIcon,$=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Z=F||K||!U?K?"ROUTER_LINK":C?"EXTERNAL_LINK":"LINK":R?"BUTTON_DISABLED":"BUTTON",Q="BUTTON"===Z||"BUTTON_DISABLED"===Z?"button":"ROUTER_LINK"===Z?d.b:"a",X=("EXTERNAL_LINK"===Z&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Z&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof j?"".concat(j," ").concat(r):void 0:a),ee=J,te=Y;return y&&(ee=e.createElement(b.a,{width:14,height:14})),C&&!D&&(te=e.createElement(v.a,{width:14,height:14})),f&&!L&&(te=e.createElement(p.a,{width:14,height:14})),f&&L&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Q,i()({"aria-label":X,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":L,"googlesitekit-cta-link--small":q,"googlesitekit-cta-link--caps":_,"googlesitekit-cta-link--danger":x,"googlesitekit-cta-link--disabled":R,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!B}),disabled:R,href:"LINK"!==Z&&"EXTERNAL_LINK"!==Z||R?void 0:F,onClick:U,rel:"EXTERNAL_LINK"===Z?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Z?"_blank":void 0,to:K},$),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},j),!!te&&e.createElement(h.a,{marginLeft:5},te))}));O.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=O}).call(this,n(4))},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(21),i=n.n(r),a=n(57),o=n.n(a),c=n(229),l=n(258),s=n(259),u=n(199),d=n(230),f=n(260),g=n(0),p=o()((function(e){return{widgetSlug:e,Widget:m(e)(c.a),WidgetRecoverableModules:m(e)(d.a),WidgetReportZero:m(e)(l.a),WidgetReportError:m(e)(s.a),WidgetNull:m(e)(u.a)}}));function m(t){return function(n){var r=Object(g.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var b=function(t){var n=p(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:m(t)(f.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},208:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(7),a=n.n(i),o=n(15),c=n.n(o),l=n(1),s=n(31),u=n(506),d=n(0),f=n(130),g=n(76),p=n(106);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,o=t.target,l=t.cta,m=void 0!==l&&l,v=t.className,h=t.styles,O=void 0===h?{}:h,y=t.slug,E=void 0===y?"":y,_=t.onDismiss,j=void 0===_?function(){}:_,k=t.onView,S=void 0===k?function(){}:k,w=t.onTourStart,x=void 0===w?function(){}:w,N=t.onTourEnd,R=void 0===N?function(){}:N,P=function(){return!!e.document.querySelector(o)},C=Object(d.useState)(P),A=c()(C,2),D=A[0],T=A[1];if(Object(u.a)((function(){P()&&T(!0)}),D?null:250),Object(d.useEffect)((function(){if(D&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,D]),!D)return null;var F=[{title:n,target:o,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:m,className:v}],I={last:a};return r.createElement(g.a,{slug:E},r.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:x(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:R(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:j();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:p.b,locale:I,steps:F,styles:b(b(b({},p.c),O),{},{options:b(b({},p.c.options),null==O?void 0:O.options),spotlight:b(b({},p.c.spotlight),null==O?void 0:O.spotlight)}),tooltipComponent:f.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},209:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(151),l=n(71),s=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,u=t.additionalCTA,d=t.type,f=void 0===d?"success":d,g=t.icon;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===f,"googlesitekit-subtle-notification--warning":"warning"===f})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},g,"success"===f&&!g&&e.createElement(c.a,{width:24,height:24}),"warning"===f&&!g&&e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,u))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,o=t.children;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(574),i=n(12),a=n.n(i),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,i=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,f=t.notificationID,g=t.onShow,p=t.shouldShowNotification,m=Object(d.e)(),b=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(f)})),v=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){p&&!b&&(v(f),null==g||g())}),[b,f,g,v,p]),!p||!b)return null;var h=a()("googlesitekit-overlay-notification",n);return m===d.b?e.createElement("div",{className:h},i,c&&e.createElement(c,null)):e.createElement(r.a,{direction:"up",in:b},e.createElement("div",{className:h},o&&e.createElement(o,null),i))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return j}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",O="content",y="speed",E="monetization",_=[r,i,a,o,c,s,f,b],j=[a,o,d,m]},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),r=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(i.a.mark((function a(){var o,c,l,s;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return c.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:l});case 12:case"end":return i.stop()}}),a)}))),[n,r,t,e])}},225:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(23),f=n.n(d),g=n(0),p=n(1),m=n.n(p),b=n(3),v=n(208),h=n(24),O=n(160);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=f()(t,["onDismiss","tooltipStateKey"]),a=Object(b.useDispatch)(h.b).setValue,c=Object(O.a)(r),s=c.rehideAdminMenu,d=c.rehideAdminSubMenu,p=Object(g.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,r]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:p},i))}AdminMenuTooltip.propTypes=E(E({},v.a.propTypes),{},{target:m.a.string,tooltipStateKey:m.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},229:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var r=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},230:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(27),l=n.n(c),s=n(23),u=n.n(s),d=n(1),f=n.n(d),g=n(0),p=n(118),m=n(136);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(g.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(p.a)(n,m.a,a),e.createElement(m.a,o()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:f.a.string.isRequired},m.a.propTypes)}).call(this,n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},258:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),i=n.n(r),a=n(21),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(118),g=n(142);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,a),e.createElement(g.a,o()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(4))},259:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},260:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(520),o=n(200),c=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=r.message,f=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),f!==i?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},265:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,l=t.isCTALinkExternal,f=void 0!==l&&l,g=t.gaTrackingEventArgs,p=Object(s.a)(n),m=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:p.confirm(null==g?void 0:g.label,null==g?void 0:g.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:m,target:f?"_blank":"_self",trailingIcon:f?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,isCTALinkExternal:l.a.bool,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},333:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(0);function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,i=!1,a=function(){r=e.setTimeout((function(){i=!0}),n)},o=function(){e.clearTimeout(r),i&&(i=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",a),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",a),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},334:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(10),l=n(151),s=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,o=t.ctaLink,f=t.ctaLabel,g=t.className,p=t.onCTAClick,m=t.isCTALinkExternal,b=t.dismissLabel,v=t.onDismiss,h=t.variant,O=void 0===h?d.SUCCESS:h,y=t.hideIcon,E=void 0!==y&&y;return e.createElement("div",{className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":O===d.SUCCESS,"googlesitekit-subtle-notification--warning":O===d.WARNING},g)},!E&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&O===d.SUCCESS&&e.createElement(l.a,{width:24,height:24}),!a&&O===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},b&&e.createElement(c.Button,{tertiary:!0,onClick:v},b),f&&e.createElement(c.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:p,target:m?"_blank":"_self",trailingIcon:m?e.createElement(s.a,{width:14,height:14}):void 0},f)))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,className:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func,variant:o.a.oneOf(Object.values(d)),hideIcon:o.a.bool},t.b=SubtleNotification}).call(this,n(4))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function l(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,f=i.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},p=Object(r.a)(g),m=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,O=p.trackEventOnce;function y(e){e?m():b()}c&&l&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),l=n.n(c),s=n(13),u=n(62),d=n(78),f=n(8);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},b=function(){return{}},v=function(){},h=u.a.clearError,O=u.a.receiveError,y=function(e){var t,n,r=i.a.mark(F),a=e.baseName,c=e.controlCallback,u=e.reducerCallback,g=void 0===u?m:u,y=e.argsToParams,E=void 0===y?b:y,_=e.validateParams,j=void 0===_?v:_;l()(a,"baseName is required."),l()("function"==typeof c,"controlCallback is required and must be a function."),l()("function"==typeof g,"reducerCallback must be a function."),l()("function"==typeof E,"argsToParams must be a function."),l()("function"==typeof j,"validateParams must be a function.");try{j(E()),n=!1}catch(e){n=!0}var k=Object(d.b)(a),S=Object(d.a)(a),w="FETCH_".concat(S),x="START_".concat(w),N="FINISH_".concat(w),R="CATCH_".concat(w),P="RECEIVE_".concat(S),C="fetch".concat(k),A="receive".concat(k),D="isFetching".concat(k),T=o()({},D,{});function F(e,t){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:x};case 2:return r.next=4,h(a,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:w};case 7:return n=r.sent,r.next=10,I[A](n,e);case 10:return r.next=12,{payload:{params:e},type:N};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,O(o,a,t);case 19:return r.next=21,{payload:{params:e},type:R};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var I=(t={},o()(t,C,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,t);return j(r),F(r,t)})),o()(t,A,(function(e,t){return l()(void 0!==e,"response is required."),n?(l()(Object(s.isPlainObject)(t),"params is required."),j(t)):t={},{payload:{response:e,params:t},type:P}})),t),L=o()({},w,(function(e){var t=e.payload;return c(t.params)})),M=o()({},D,(function(e){if(void 0===e[D])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=E.apply(void 0,r),j(t)}catch(e){return!1}return!!e[D][Object(f.I)(t)]}));return{initialState:T,actions:I,controls:L,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case x:var i=r.params;return p(p({},e),{},o()({},D,p(p({},e[D]),{},o()({},Object(f.I)(i),!0))));case P:var a=r.response,c=r.params;return g(e,a,c);case N:var l=r.params;return p(p({},e),{},o()({},D,p(p({},e[D]),{},o()({},Object(f.I)(l),!1))));case R:var s=r.params;return p(p({},e),{},o()({},D,p(p({},e[D]),{},o()({},Object(f.I)(s),!1))));default:return e}},resolvers:{},selectors:M}}},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g}));var r="non_https_site",i="modules/reader-revenue-manager",a="reader-revenue-manager",o={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},c="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="readerRevenueManagerNoticesForm",d="showPublicationCreate",f="resetPublications",g="syncPublication"},488:function(e,t){e.exports=googlesitekit.notifications},508:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(371),o=n(0),c=n(38),l=n(2),s=n(3),u=n(10),d=n(25),f=n(176),g=n(557),p=n(181),m=n(19),b=n(6),v=n(48),h=n(17),O=n(558),y=n(559),E=n(560),_=n(20),j=n(8),k=n(110),S=n(18);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,i=Object(S.a)(),a=Object(d.e)(),g=a===d.b,p=a===d.c,w=Object(f.a)(v.d),x=Object(o.useCallback)((function(){Object(j.J)("".concat(i,"_rrm-setup-notification"),"confirm_notification").finally((function(){w()}))}),[w,i]),N=Object(k.b)(v.f),R=Object(k.c)(v.f).isTooltipVisible,P=Object(s.useSelect)((function(e){return e(b.a).isPromptDismissed(v.f)})),C=Object(s.useSelect)((function(e){return e(b.a).getPromptDismissCount(v.f)})),A=Object(s.useSelect)((function(e){return e(b.a).hasFinishedResolution("getDismissedPrompts",[])})),D=Object(s.useDispatch)(b.a),T=D.dismissPrompt,F=D.triggerSurvey,I=Object(o.useCallback)((function(){Object(j.J)("".concat(i,"_rrm-setup-notification"),"dismiss_notification").finally((function(){var e=C<1?2*j.g:0;N(),T(v.f,{expiresInSeconds:e})}))}),[C,T,N,i]),L=Object(s.useSelect)((function(e){return e(m.a).canActivateModule(v.d)})),M=!1===P&&L&&!0===A;return Object(o.useEffect)((function(){M&&(Object(j.J)("".concat(i,"_rrm-setup-notification"),"view_notification"),F("view_reader_revenue_manager_cta"))}),[M,F,i]),R?e.createElement(o.Fragment,null,e.createElement(r,null),e.createElement(k.a,{title:"",content:Object(l.__)("You can always enable Reader Revenue Manager from Settings later","google-site-kit"),dismissLabel:Object(l.__)("Got it","google-site-kit"),tooltipStateKey:v.f})):M?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(h.e,{className:"googlesitekit-widget-area"},e.createElement(h.k,null,e.createElement(h.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(h.e,{collapsed:!0},e.createElement(h.k,null,e.createElement(h.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(c.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(_.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})}),e.createElement("br",null),e.createElement("br",null),Object(l.__)("* Support for subscriptions coming soon","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:x},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:I},C<1?Object(l.__)("Maybe later","google-site-kit"):Object(l.__)("Don’t show again","google-site-kit")))),!g&&!p&&e.createElement(h.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(O.a,null)),p&&e.createElement(h.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(y.a,null)),g&&e.createElement(h.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(E.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(g.a)({moduleName:v.d}),Object(p.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},516:function(e,t,n){"use strict";var r=n(884);n.d(t,"b",(function(){return r.a}));var i=n(885);n.d(t,"a",(function(){return i.a}));var a=n(886);n.d(t,"c",(function(){return a.a}))},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),i=n(18),a=r.n,o=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?o:null}},543:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),i=n(213),a=n(555),o=n(556),c=n(35),l=n(18),s=n(52),u=n(80),d=n(8),f=n(10),g=n(3),p=n(6),m=n(24),b=n(22),v=n(48);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(c.a)(),h=Object(s.c)(),O=Object(g.useSelect)((function(e){return e(p.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),y=Object(g.useDispatch)(m.b).dismissOverlayNotification,E=Object(g.useSelect)((function(e){return e(v.b).getServiceURL()})),_=Object(g.useSelect)((function(e){return e(m.b).getValue(v.k)})),j=!1===O&&!0===_&&!n&&h===b.n,k=Object(g.useSelect)((function(e){return e(p.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){y("rrmPublicationApprovedOverlayNotification")};return e.createElement(i.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:a.a,GraphicMobile:o.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:j,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(f.Button,{tertiary:!0,disabled:k,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(f.Button,{disabled:k,href:E,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},544:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RRMSetupSuccessSubtleNotification}));var i=n(21),a=n.n(i),o=n(7),c=n.n(o),l=n(15),s=n.n(l),u=n(0),d=n(2),f=n(3),g=n(193),p=n(333),m=n(28),b=n(48),v=n(209),h=n(265),O=n(192),y=b.c.ONBOARDING_COMPLETE,E=b.c.PENDING_VERIFICATION,_=b.c.ONBOARDING_ACTION_REQUIRED;function RRMSetupSuccessSubtleNotification(t){var n=t.id,i=t.Notification,o=Object(g.a)("notification"),l=s()(o,2)[1],j=Object(g.a)("slug"),k=s()(j,2)[1],S=[E,_],w=Object(f.useSelect)((function(e){return e(b.b).getPublicationOnboardingState()})),x=Object(f.useSelect)((function(e){return e(b.b).getPublicationID()})),N=Object(f.useSelect)((function(e){return e(b.b).getServiceURL({path:"reader-revenue-manager",query:{publication:x}})})),R=Object(f.useSelect)((function(e){return e(m.a).getValue(b.e,b.j)&&S.includes(w)})),P=Object(f.useDispatch)(m.a).setValues,C=Object(f.useDispatch)(b.b).syncPublicationOnboardingState,A=function(){l(void 0),k(void 0)},D=function(t){t.preventDefault(),S.includes(w)&&P(b.e,c()({},b.j,!0)),e.open(N,"_blank")},T=Object(u.useCallback)((function(){R&&C()}),[R,C]);Object(p.a)(T,15e3);var F={gaTrackingEventArgs:{label:w}};return w===y?r.createElement(i,F,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),dismissCTA:r.createElement(O.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:A},F)),additionalCTA:r.createElement(h.a,a()({id:n,ctaLabel:Object(d.__)("Customize settings","google-site-kit"),ctaLink:N,onCTAClick:D,isCTALinkExternal:!0},F))})):w===E?r.createElement(i,F,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(O.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:A},F)),additionalCTA:r.createElement(h.a,a()({id:n,ctaLabel:Object(d.__)("Check publication status","google-site-kit"),ctaLink:N,onCTAClick:D,isCTALinkExternal:!0},F))})):w===_?r.createElement(i,F,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(O.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:A},F)),additionalCTA:r.createElement(h.a,a()({id:n,ctaLabel:Object(d.__)("Complete publication setup","google-site-kit"),ctaLink:N,onCTAClick:D,isCTALinkExternal:!0},F)),type:"warning"})):null}}).call(this,n(26),n(4))},554:function(e,t,n){"use strict";var r=n(543);n.d(t,"a",(function(){return r.a}));n(508);var i=n(544);n.d(t,"b",(function(){return i.a}))},555:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 348 163",fill:"none"},e),a,o)}},556:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 118",fill:"none"},e),a,o)}},557:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent;return function(t){function WhenInactiveComponent(a){var c=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!c)return null;var l=o||a.WidgetNull||null;return!0===c.active?l&&e.createElement(l,a):e.createElement(t,a)}return WhenInactiveComponent.displayName="When".concat(Object(a.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},558:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",i({viewBox:"0 0 479 272",fill:"none"},e),a,o,c,l,s,u,d)}},559:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 140",fill:"none"},e),a,o)}},560:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 140",fill:"none"},e),a,o)}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},584:function(e,t,n){"use strict";(function(e){function r(e){return"string"==typeof e&&/^[a-zA-Z0-9_-]+$/.test(e)}function i(e){if("string"!=typeof e)return!1;return["ONBOARDING_STATE_UNSPECIFIED","ONBOARDING_ACTION_REQUIRED","PENDING_VERIFICATION","ONBOARDING_COMPLETE"].includes(e)}n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var a=function(t){try{if("string"!=typeof t||!t)throw new TypeError("Invalid URL: ".concat(t));return"https:"===new URL(t).protocol}catch(t){return e.console.warn("Invalid URL:",t),!1}}}).call(this,n(26))},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return C})),n.d(t,"g",(function(){return D})),n.d(t,"f",(function(){return T}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),l=n(7),s=n.n(l),u=n(11),d=n.n(u),f=n(57),g=n.n(f),p=n(13),m=n(111);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return v(v({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=R(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},O=h,y=h,E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},_=h,j=h,k=h,S=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=k.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:y.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||S}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:j.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},x={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},N=(r={},s()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),s()(r,"AWAIT",(function(e){return e.payload.value})),r),R=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},P={actions:x,controls:N,reducer:S},C=function(e){return function(t){return A(e(t))}},A=g()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),l=1;l<o;l++)c[l-1]=arguments[l];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function T(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return O})),n.d(t,"l",(function(){return y})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return j})),n.d(t,"q",(function(){return k})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return N})),n.d(t,"u",(function(){return R})),n.d(t,"v",(function(){return P})),n.d(t,"x",(function(){return C})),n.d(t,"y",(function(){return A})),n.d(t,"A",(function(){return D})),n.d(t,"B",(function(){return T})),n.d(t,"C",(function(){return F})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return L})),n.d(t,"F",(function(){return M})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return U})),n.d(t,"E",(function(){return G})),n.d(t,"i",(function(){return q})),n.d(t,"p",(function(){return z})),n.d(t,"Q",(function(){return V})),n.d(t,"P",(function(){return W}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",O="kmAnalyticsNewVisitors",y="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",_="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",k="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",x="kmAnalyticsTopCitiesDrivingPurchases",N="kmAnalyticsTopDeviceDrivingPurchases",R="kmAnalyticsTopConvertingTrafficSource",P="kmAnalyticsTopCountries",C="kmAnalyticsTopPagesDrivingLeads",A="kmAnalyticsTopRecentTrendingPages",D="kmAnalyticsTopTrafficSource",T="kmAnalyticsTopTrafficSourceDrivingAddToCart",F="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",M="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",U="kmSearchConsolePopularKeywords",G="kmAnalyticsVisitsPerVisitor",q="kmAnalyticsMostEngagingPages",z="kmAnalyticsTopCategories",V=[b,v,h,O,y,E,_,j,z,k,S,w,x,N,R,P,A,D,T,L,M,B,G,q,z],W=[].concat(V,[U])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(7),i=n.n(r),a=n(33),o=n.n(a),c=n(111),l=n(11),s=n.n(l),u=n(94),d=n.n(u),f=n(8);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(f.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var b={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"error is required."),s()(t,"baseName is required."),s()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return s()(e,"baseName is required."),s()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){s()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return s()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var a=r.baseName,o=r.args,c=r.error,l=m(a,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},l,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},l,o))});case"CLEAR_ERROR":var s=r.baseName,u=r.args,d=p({},e),f=m(s,u);return d.errors=p({},e.errors||{}),d.errorArgs=p({},e.errorArgs||{}),delete d.errors[f],delete d.errorArgs[f],d;case"CLEAR_ERRORS":var g=r.baseName,b=p({},e);if(g)for(var v in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(v===g||v.startsWith("".concat(g,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var l=n;void 0!==i&&i||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return O}));var r=n(7),i=n.n(r),a=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return a.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,f=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},g=n(182),p=n(92),m="warning",b="info",v="suggestion",h=(d={},i()(d,b,l),i()(d,m,g.a),i()(d,v,f),d),O=function(e){return h[e]||p.a}},71:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},734:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(7),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(2),g=n(10),p=n(3),m=n(20),b=n(144),v=n(28),h=n(48),O=n(516);function SetupForm(t){var n=t.onCompleteSetup,r=Object(p.useSelect)((function(e){return e(h.b).canSubmitChanges()})),a=Object(p.useSelect)((function(e){return e(h.b).isDoingSubmitChanges()})),c=Object(p.useSelect)((function(e){return e(h.b).getPublications()})),s=Object(p.useSelect)((function(e){return e(h.b).getPublicationID()})),u=Object(p.useSelect)((function(e){return e(h.b).getServiceURL()})),y=Object(p.useDispatch)(v.a).setValues,E=Object(p.useDispatch)(h.b),_=E.findMatchedPublication,j=E.selectPublication,k=Object(d.useCallback)((function(){y(h.g,l()({},h.h,!0))}),[y]),S=Object(d.useCallback)((function(e){e.preventDefault(),n()}),[n]);return Object(d.useEffect)((function(){s||function(){var e=o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:(t=e.sent)&&j(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[_,s,j]),c?e.createElement("form",{onSubmit:S},e.createElement(b.a,{moduleSlug:h.d,storeName:h.b}),e.createElement("p",{className:"googlesitekit-margin-bottom-0"},1===c.length?Object(f.__)("Site Kit will connect your existing publication","google-site-kit"):Object(f.__)("Select your preferred publication to connect with Site Kit","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(O.c,null)),e.createElement(O.b,null),e.createElement(m.a,{external:!0,href:u,onClick:k},Object(f.__)("Create new publication","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(g.SpinnerButton,{disabled:!r||a,isSaving:a},Object(f.__)("Complete setup","google-site-kit")))):null}SetupForm.propTypes={onCompleteSetup:u.a.func.isRequired}}).call(this,n(4))},76:function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},765:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M26.666 0H13.333v13.333h13.333V0z",fill:"url(#reader-revenue-manager_svg__paint0_linear_63_914)"}),o=r.createElement("path",{d:"M40 13.335V40L26.667 26.667V0L40 13.335z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M13.333 26.665V40L0 26.665h13.333z",fill:"#0D652D"}),l=r.createElement("path",{d:"M13.333 13.333v13.332H0V0l13.333 13.333z",fill:"#34A853"}),s=r.createElement("path",{d:"M26.666 26.665H13.333V40h13.333V26.665z",fill:"url(#reader-revenue-manager_svg__paint1_linear_63_914)"}),u=r.createElement("defs",null,r.createElement("linearGradient",{id:"reader-revenue-manager_svg__paint0_linear_63_914",x1:36.564,y1:6.667,x2:-14.942,y2:6.667,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.11,stopColor:"#EA8600"}),r.createElement("stop",{offset:.14,stopColor:"#EF9601"}),r.createElement("stop",{offset:.19,stopColor:"#F4A702"}),r.createElement("stop",{offset:.26,stopColor:"#F8B303"}),r.createElement("stop",{offset:.34,stopColor:"#FABA03"}),r.createElement("stop",{offset:.59,stopColor:"#FBBC04"})),r.createElement("linearGradient",{id:"reader-revenue-manager_svg__paint1_linear_63_914",x1:-10.143,y1:33.332,x2:89.334,y2:33.332,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.04,stopColor:"#174EA6"}),r.createElement("stop",{offset:.12,stopColor:"#1F59B5"}),r.createElement("stop",{offset:.27,stopColor:"#3675DE"}),r.createElement("stop",{offset:.34,stopColor:"#4285F4"})));t.a=function SvgReaderRevenueManager(e){return r.createElement("svg",i({viewBox:"0 0 40 40",fill:"none"},e),a,o,c,l,s,u)}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return k})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return R})),n.d(t,"o",(function(){return P})),n.d(t,"x",(function(){return C})),n.d(t,"q",(function(){return A})),n.d(t,"H",(function(){return D})),n.d(t,"t",(function(){return T})),n.d(t,"w",(function(){return F})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return L.b})),n.d(t,"i",(function(){return L.a})),n.d(t,"u",(function(){return M.b})),n.d(t,"r",(function(){return M.a})),n.d(t,"B",(function(){return M.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return U})),n.d(t,"F",(function(){return z})),n.d(t,"E",(function(){return V.a})),n.d(t,"h",(function(){return W})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),O=n.n(h),y=n(11),E=n.n(y),_=n(2),j="Invalid dateString parameter, it must be a string.",k='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,x=24*w,N=7*x,R=30*x;function P(){var e=function(e){return Object(_.sprintf)( /* translators: %s: number of days */ Object(_._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 C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function A(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function D(e){E()(C(e),j);var t=e.split("-"),n=O()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function T(e,t){return A(I(e,t*x))}function F(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){E()(C(e)||Object(r.isDate)(e)&&!isNaN(e),j);var n=C(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var L=n(98),M=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function U(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var G=n(27),q=n.n(G),z=function(e){return Array.isArray(e)?q()(e).sort():e},V=n(88);function W(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return j})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return N}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),f=n(57),g=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=O(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},O=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,b(b({},o),{},{unit:"second"})):"",i?w(i,b(b({},o),{},{unit:"minute"})):"",r?w(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(E(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(E(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(E(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function j(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=j(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?v(e,n):"durationISO"===i?h(e):w(e,n)}var S=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),p=g[0],m=g[1];c[p]&&m===c[p]||(l.includes(p)||(s[p]=m))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},85:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10),l=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,f=t.ctaType,g=t.error,p=t.onClick,m=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":g})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===f&&e.createElement(c.Button,{"aria-label":m,href:s,onClick:p},u),u&&"link"===f&&e.createElement(l.a,{href:s,onClick:p,"aria-label":m,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},884:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationOnboardingStateNotice}));var r=n(7),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(28),s=n(48),u=n(334),d=n(8),f=n(18),g=n(333),p=s.c.PENDING_VERIFICATION,m=s.c.ONBOARDING_ACTION_REQUIRED;function PublicationOnboardingStateNotice(){var t=Object(f.a)(),n=Object(c.useSelect)((function(e){return e(s.b).getPublicationOnboardingState()})),r=[p,m],b=Object(c.useSelect)((function(e){return e(s.b).getPublicationID()})),v=Object(c.useSelect)((function(e){return e(s.b).getServiceURL({path:"reader-revenue-manager",query:{publication:b}})})),h=Object(c.useSelect)((function(e){return e(l.a).getValue(s.e,s.j)&&r.includes(n)})),O=Object(c.useDispatch)(l.a).setValues,y=Object(c.useDispatch)(s.b).syncPublicationOnboardingState,E=n&&r.includes(n),_=Object(a.useCallback)((function(){O(s.e,i()({},s.j,!0)),Object(d.J)("".concat(t,"_rrm-onboarding-state-notification"),"confirm_notification",n)}),[n,O,t]),j=Object(a.useCallback)((function(){h&&y()}),[h,y]);if(Object(a.useEffect)((function(){E&&Object(d.J)("".concat(t,"_rrm-onboarding-state-notification"),"view_notification",n)}),[n,E,t]),Object(g.a)(j,15e3),!E)return null;var k=p===n?Object(o.__)("Your publication is still awaiting review. You can check its status in Reader Revenue Manager.","google-site-kit"):Object(o.__)("Your publication requires further setup in Reader Revenue Manager","google-site-kit"),S=p===n?Object(o.__)("Check publication status","google-site-kit"):Object(o.__)("Complete publication setup","google-site-kit");return e.createElement(u.b,{className:"googlesitekit-publication-onboarding-state-notice",title:k,ctaLabel:S,ctaLink:v,isCTALinkExternal:!0,variant:"warning",onCTAClick:_})}}).call(this,n(4))},885:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationCreate}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(7),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(38),g=n(2),p=n(3),m=n(10),b=n(28),v=n(48),h=n(80),O=n(162);function PublicationCreate(t){var n=t.onCompleteSetup,r=Object(p.useSelect)((function(e){return e(v.b).getPublications()})),a=Object(p.useSelect)((function(e){return e(v.b).getServiceURL()})),c=Object(p.useDispatch)(b.a).setValues,s=Object(p.useDispatch)(v.b).selectPublication,u=r&&r.length>0,y=Object(d.useCallback)((function(){c(v.g,l()({},v.h,!0))}),[c]),E=Object(d.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,s(r[0]);case 4:n();case 5:case"end":return e.stop()}}),e)}))),[u,n,r,s]);return void 0===r?null:e.createElement("div",{className:"googlesitekit-setup-module__publication-create-screen"},!u&&e.createElement(d.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g.__)("To complete your Reader Revenue Manager account setup you will need to create a publication and set up Reader Revenue Manager in Publisher Center.","google-site-kit")),e.createElement("p",{className:"googlesitekit-setup-module__description"},Object(f.a)(Object(g.__)("Once you have created your publication, it is submitted for review. <a>Learn more</a>","google-site-kit"),{a:e.createElement(O.a,{path:"/news/publisher-center/answer/11449914",external:!0,"aria-label":Object(g.__)("Learn more about setting up Reader Revenue Manager","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(m.Button,{href:a,target:"_blank",trailingIcon:e.createElement(h.a,{width:14,height:14}),onClick:y},Object(g.__)("Create publication","google-site-kit")))),u&&e.createElement(d.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g.__)("You have successfully created your publication and it is now awaiting review. This might take up to 2 weeks.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(m.SpinnerButton,{onClick:E},Object(g.__)("Complete setup","google-site-kit")))))}PublicationCreate.propTypes={onCompleteSetup:u.a.func.isRequired}}).call(this,n(4))},886:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationSelect}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(0),s=n(48),u=n(10),d=n(584),f=n(3);function PublicationSelect(t){var n=t.isDisabled,r=t.hasModuleAccess,a=t.className,o=t.onChange,g=void 0===o?function(){}:o,p=Object(f.useSelect)((function(e){return e(s.b).getPublicationID()})),m=Object(f.useSelect)((function(e){return!1===r||n?null:e(s.b).getPublications()||[]})),b=Object(f.useSelect)((function(e){return!1===r||n||e(s.b).hasFinishedResolution("getPublications")})),v=Object(f.useDispatch)(s.b).selectPublication,h=Object(l.useCallback)((function(e,t){var n=t.dataset.value,r=m.find((function(e){return e.publicationId===n}));v(r),g()}),[m,v,g]);if(!b)return e.createElement(u.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var O=void 0===p||""===p||Object(d.c)(p);return!1===r?e.createElement(u.Select,{className:i()(a),label:Object(c.__)("Publication","google-site-kit"),value:p,enhanced:!0,outlined:!0,disabled:!0},e.createElement(u.Option,{value:p},p)):e.createElement(u.Select,{className:i()(a,{"mdc-select--invalid":!O}),label:Object(c.__)("Publication","google-site-kit"),value:p,onEnhancedChange:h,disabled:n,enhanced:!0,outlined:!0},(m||[]).map((function(t){var n=t.publicationId,r=t.displayName;return e.createElement(u.Option,{key:n,value:n},Object(c.sprintf)( /* translators: 1: Publication display name, 2: Publication ID */ Object(c.__)("%1$s (%2$s)","google-site-kit"),r,n))})))}PublicationSelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(4))},887:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(7),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(817),g=n(2),p=n(28),m=n(48),b=n(3),v=n(333),h=n(10),O=n(516),y=n(765),E=n(734);function SetupMain(t){var n=t.finishSetup,r=void 0===n?function(){}:n,a=Object(b.useSelect)((function(e){return e(m.b).getPublications()})),c=Object(b.useSelect)((function(e){return e(m.b).hasFinishedResolution("getPublications")})),s=Object(b.useSelect)((function(e){return e(p.a).getValue(m.g,m.i)})),u=Object(b.useSelect)((function(e){return e(p.a).getValue(m.g,m.h)})),_=Object(b.useSelect)((function(e){return e(m.b).getPublicationID()})),j=Object(b.useDispatch)(p.a).setValues,k=Object(b.useDispatch)(m.b),S=k.resetPublications,w=k.submitChanges,x=Object(d.useCallback)((function(){u&&S()}),[S,u]);Object(v.a)(x,15e3),Object(d.useEffect)((function(){s||!c||void 0===a||a.length||j(m.g,l()({},m.i,!0))}),[c,s,a,j]);var N=Object(f.a)(_);Object(d.useEffect)((function(){N!==_&&u&&j(m.g,l()({},m.h,!1))}),[N,_,j,u]);var R,P=Object(d.useCallback)(o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:t=e.sent,t.error||r();case 5:case"end":return e.stop()}}),e)}))),[r,w]);return R=c?s?e.createElement(O.a,{onCompleteSetup:P}):e.createElement(E.a,{onCompleteSetup:P}):e.createElement(h.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--reader-revenue-manager"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(y.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("Reader Revenue Manager","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},R))}SetupMain.propTypes={finishSetup:u.a.func}}).call(this,n(4))},888:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(38),i=n(2),a=n(10),o=n(3),c=n(19),l=n(48),s=n(67),u=n(516),d=n(148),f=n(182);function SettingsEdit(){var t=Object(o.useSelect)((function(e){return e(l.b).isDoingSubmitChanges()})),n=Object(o.useSelect)((function(e){var t=e(c.a),n=t.hasModuleOwnershipOrAccess,r=t.getErrorForAction,i=n(l.d);if(i)return!0;var a=r("checkModuleAccess",[l.d]);return void 0!==i||a?!1!==i&&"module_not_connected"===(null==a?void 0:a.code):void 0})),g=Object(o.useSelect)((function(e){return e(l.b).getPublicationID()})),p=Object(o.useSelect)((function(e){if(void 0!==n){if(!1===n)return!1;var t=e(l.b).getPublications();if(Array.isArray(t))return t.some((function(e){return e.publicationId===g}))}})),m=Object(o.useSelect)((function(e){var t,n=e(c.a).getModule(l.d);return(null==n||null===(t=n.owner)||void 0===t?void 0:t.login)?"<strong>".concat(n.owner.login,"</strong>"):Object(i.__)("Another admin","google-site-kit")}));return t||void 0===n?e.createElement(a.ProgressBar,null):e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--reader-revenue-manager"},n&&!1===p&&e.createElement(s.a,{message:Object(i.sprintf)( /* translators: 1: Publication ID. */ Object(i.__)("The previously selected publication with ID %s was not found. Please select a new publication.","google-site-kit"),g)}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(u.c,{hasModuleAccess:n})),n&&p&&e.createElement(u.b,null),!n&&e.createElement(d.c,{type:d.a,Icon:f.a,notice:Object(r.a)(Object(i.sprintf)( /* translators: %s: module owner's name */ Object(i.__)("%s configured Reader Revenue Manager and you don’t have access to its configured publication. Contact them to share access or change the configured publication.","google-site-kit"),m),{strong:e.createElement("strong",null)})}))}}).call(this,n(4))},889:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(38),i=n(2),a=n(3),o=n(187),c=n(20),l=n(105),s=n(19),u=n(48),d=n(516);function SettingsView(){var t=Object(a.useSelect)((function(e){return e(u.b).getPublicationID()})),n=Object(a.useSelect)((function(e){return e(u.b).getServiceURL({path:"reader-revenue-manager",query:{publication:t}})})),f=Object(a.useSelect)((function(e){var t=e(s.a),n=t.hasModuleOwnershipOrAccess,r=t.getErrorForAction,i=n(u.d);if(i)return!0;var a=r("checkModuleAccess",[u.d]);return void 0!==i||a?!1!==i&&"module_not_connected"===(null==a?void 0:a.code):void 0}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--reader-revenue-manager"},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-margin-bottom-0"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Publication","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(o.b,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only googlesitekit-margin-bottom-0\t"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(c.a,{href:n,external:!0},Object(r.a)(Object(i.__)("Edit <VisuallyHidden>publication </VisuallyHidden>in Reader Revenue Manager","google-site-kit"),{VisuallyHidden:e.createElement(l.a,null)}))))),f&&e.createElement(d.b,null))}}).call(this,n(4))},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},96:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(7),a=n.n(i),o=n(46),c=n(142),l=n(136),s=(r={},a()(r,o.c.QUARTER,3),a()(r,o.c.HALF,6),a()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,l.a]},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(i,n),d=Object(c.a)(i,n,l,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(a.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1232,1,0]]]); dist/assets/js/googlesitekit-modules-search-console-338c440d2a515b691bf2.js 0000604 00000747641 14717744000 0021754 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[22],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(58),i=n(37),o=n(44);function a(t,n){var a,c=Object(r.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,g=t.userRoles,d=void 0===g?[]:g,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){a=!0;var r=(null==d?void 0:d.length)?d.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:p||"",enabled_features:Array.from(o.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var g=n.createElement("script");return g.setAttribute(i.b,""),g.async=!0,g.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(g),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},1009:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardPopularKeywordsWidget}));var r=n(7),i=n.n(r),o=n(2),a=n(3),c=n(64),s=n(14),l=n(6),u=n(403),g=n(134),d=n(367),f=n(490),p=n(489),m=n(20),b=n(8),v=n(406),h=n(35);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DashboardPopularKeywordsWidget(t){var n=t.Widget,r=t.WidgetReportError,i=Object(h.a)(),y=Object(a.useInViewSelect)((function(e){return e(c.b).isGatheringData()})),_=Object(a.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:c.a})})),j=O(O({},_),{},{dimensions:"query",limit:10}),k=Object(a.useSelect)((function(e){return e(s.c).getCurrentEntityURL()}));k&&(j.url=k);var E=Object(a.useInViewSelect)((function(e){return e(c.b).getReport(j)}),[j]),S=Object(a.useSelect)((function(e){return e(c.b).getErrorForSelector("getReport",[j])})),w=Object(a.useSelect)((function(e){return!e(c.b).hasFinishedResolution("getReport",[j])})),A=Object(a.useSelect)((function(e){return i?null:e(c.b).getServiceReportURL(O(O({},Object(d.b)(_)),{},{page:k?"!".concat(k):void 0}))}));function Footer(){return e.createElement(g.a,{className:"googlesitekit-data-block__source",name:Object(o._x)("Search Console","Service name","google-site-kit"),href:A,external:!0})}if(S)return e.createElement(n,{Footer:Footer},e.createElement(r,{moduleSlug:"search-console",error:S}));if(w||void 0===y)return e.createElement(n,{noPadding:!0,Footer:Footer},e.createElement(u.a,{padding:!0}));var T=[{title:k?Object(o.__)("Top search queries for your page","google-site-kit"):Object(o.__)("Top search queries for your site","google-site-kit"),description:Object(o.__)("Most searched for keywords related to your content","google-site-kit"),primary:!0,field:"keys.0",Component:function Component(t){var n=t.fieldValue,r=Object(a.useSelect)((function(e){if(i)return null;var t=e(l.a).getDateRangeDates({offsetDays:c.a}),r=e(s.c).getCurrentEntityURL();return e(c.b).getServiceReportURL(O(O({},Object(d.b)(t)),{},{query:"!".concat(n),page:r?"!".concat(r):void 0}))}));return i?e.createElement("span",null,n):e.createElement(m.a,{href:r,external:!0,hideExternalIndicator:!0},n)}},{title:Object(o.__)("Clicks","google-site-kit"),description:Object(o.__)("Number of times users clicked on your content in search results","google-site-kit"),Component:function Component(t){var n=t.row;return e.createElement("span",null,Object(b.C)(n.clicks,{style:"decimal"}))}},{title:Object(o.__)("Impressions","google-site-kit"),description:Object(o.__)("Counted each time your content appears in search results","google-site-kit"),Component:function Component(t){var n=t.row;return e.createElement("span",null,Object(b.C)(n.impressions,{style:"decimal"}))}}];return e.createElement(n,{noPadding:!0,Footer:Footer},e.createElement(f.a,null,e.createElement(p.a,{rows:E,columns:T,zeroState:v.d,gatheringData:y})))}}).call(this,n(4))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n,r){var o=Object(l.a)(t);return function(){var t=s()(i.a.mark((function t(a,c,s,l){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:a,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(a,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};o("event",c,g(g({},u),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},1010:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),o=n(15),a=n.n(o),c=n(1),s=n.n(c),l=n(13),u=n(0),g=n(2),d=n(109),f=n(3),p=n(64),m=n(14),b=n(6),v=n(8),h=n(40),y=n(782),O=n(1011),_=n(1012),j=n(1015),k=n(406),E=n(19),S=n(17),w=n(25),A=n(35),T=n(9);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SearchFunnelWidgetGA4(t){var n=t.Widget,r=t.WidgetReportError,i=Object(u.useState)(0),o=a()(i,2),c=o[0],s=o[1],C=Object(w.e)(),R=Object(A.a)(),P=Object(f.useSelect)((function(e){return e(E.a).isModuleAvailable("analytics-4")})),N=Object(f.useSelect)((function(e){return!!P&&(!R||e(b.a).canViewSharedModule("analytics-4"))})),x=Object(f.useSelect)((function(e){return e(E.a).isModuleConnected("analytics-4")})),I=Object(f.useSelect)((function(e){return e(E.a).isModuleActive("analytics-4")})),L=Object(f.useSelect)((function(e){return e(b.a).getDateRangeNumberOfDays()})),M=Object(f.useSelect)((function(e){return e(m.c).getCurrentEntityURL()})),F=Object(f.useSelect)((function(e){return e(b.a).getDateRangeDates({compare:!0,offsetDays:p.a})})),z=F.endDate,G=F.compareStartDate,q=Object(f.useSelect)((function(e){return e(b.a).getDateRangeDates({compare:!0,offsetDays:T.f})})),V=Object(f.useSelect)((function(e){if(!R)return!1;var t=e(E.a).getRecoverableModules();return void 0!==t?Object.keys(t).includes("analytics-4"):void 0})),B=Object(f.useInViewSelect)((function(e){return x&&N&&!V?e(T.p).getConversionEvents():[]}),[x,N,V]),W={startDate:G,endDate:z,dimensions:"date"},U=D(D({},q),{},{metrics:[{name:"conversions"},{name:"engagementRate"}],dimensionFilters:{sessionDefaultChannelGrouping:["Organic Search"]}}),H=D(D(D({},q),U),{},{dimensions:[{name:"date"}],orderby:[{dimension:{dimensionName:"date"}}]}),K=D(D({},q),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"date"}],dimensionFilters:{sessionDefaultChannelGrouping:["Organic Search"]},orderby:[{dimension:{dimensionName:"date"}}]});Object(d.a)(M)&&(W.url=M,U.url=M,H.url=M,K.url=M);var Y=Object(f.useInViewSelect)((function(e){return e(p.b).getReport(W)}),[W]),$=Object(f.useSelect)((function(e){return e(p.b).getErrorForSelector("getReport",[W])})),J=Object(f.useSelect)((function(e){return!e(p.b).hasFinishedResolution("getReport",[W])})),Z=Object(f.useInViewSelect)((function(e){return x&&N&&!V?e(T.p).getReport(U):null}),[x,N,V,U]),X=Object(f.useInViewSelect)((function(e){return x&&N&&!V?e(T.p).getReport(H):null}),[x,N,V,H]),Q=Object(f.useInViewSelect)((function(e){return x&&N&&!V?e(T.p).getReport(K):null}),[x,N,V,K]),ee=Object(f.useSelect)((function(e){if(!x||!N||V)return!1;var t=e(T.p).hasFinishedResolution;return!(t("getReport",[U])&&t("getReport",[H])&&t("getReport",[K])&&t("getConversionEvents",[]))})),te=Object(f.useSelect)((function(e){if(!x||V)return null;var t=e(T.p).getErrorForSelector;return t("getReport",[U])||t("getReport",[H])||t("getReport",[K])||t("getConversionEvents",[])})),ne=Object(f.useInViewSelect)((function(e){return!(!x||!N||V)&&e(T.p).isGatheringData()}),[x,N,V]),re=Object(f.useInViewSelect)((function(e){return e(p.b).isGatheringData()}));function WidgetFooter(){return e.createElement(O.a,{metrics:SearchFunnelWidgetGA4.metrics,selectedStats:c})}return $?e.createElement(n,{Header:y.a,Footer:WidgetFooter},e.createElement(r,{moduleSlug:"search-console",error:$})):J||ee||void 0===ne||void 0===re?e.createElement(n,{Header:y.a,Footer:WidgetFooter,noPadding:!0},e.createElement(h.a,{width:"100%",height:"190px",padding:!0}),e.createElement(h.a,{width:"100%",height:"270px",padding:!0})):e.createElement(n,{noPadding:!0,Header:y.a,Footer:WidgetFooter},e.createElement(_.a,{ga4Data:Z,ga4ConversionsData:B,ga4VisitorsData:Q,searchConsoleData:Y,handleStatsSelection:s,selectedStats:c,dateRangeLength:L,error:te,WidgetReportError:r,showRecoverableAnalytics:V}),(0===c||1===c)&&e.createElement(j.a,{data:Y,dateRangeLength:L,selectedStats:c,metrics:SearchFunnelWidgetGA4.metrics,gatheringData:re}),N&&(!I||!x)&&w.b===C&&e.createElement(S.e,null,e.createElement(S.k,null,e.createElement(S.a,null,e.createElement(k.a,{title:Object(g.__)("Conversions completed","google-site-kit")})))),2===c&&e.createElement(k.b,{data:Q,dateRangeLength:L,selectedStats:0,metrics:SearchFunnelWidgetGA4.metrics,dataLabels:[Object(g.__)("Unique Visitors","google-site-kit")],tooltipDataFormats:[function(e){return parseFloat(e).toLocaleString()}],statsColor:SearchFunnelWidgetGA4.metrics[c].color,gatheringData:ne,moduleSlug:"analytics-4"}),N&&(3===c||4===c)&&e.createElement(k.b,{data:X,dateRangeLength:L,selectedStats:c-3,metrics:SearchFunnelWidgetGA4.metrics,dataLabels:[Object(g.__)("Conversions","google-site-kit"),Object(g.__)("Engagement Rate %","google-site-kit")],tooltipDataFormats:[function(e){return parseFloat(e).toLocaleString()},function(e){return Object(v.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})}],chartDataFormats:[l.identity,function(e){return 100*e}],statsColor:SearchFunnelWidgetGA4.metrics[c].color,gatheringData:ne,moduleSlug:"analytics-4"}))}SearchFunnelWidgetGA4.metrics=[{id:"impressions",color:"#6380b8",label:Object(g.__)("Impressions","google-site-kit"),metric:"impressions",service:"search-console"},{id:"clicks",color:"#4bbbbb",label:Object(g.__)("Clicks","google-site-kit"),metric:"clicks",service:"search-console"},{id:"users",color:"#3c7251",label:Object(g.__)("Users","google-site-kit"),service:"analytics-4"},{id:"conversions",color:"#8e68cb",label:Object(g.__)("Conversions","google-site-kit"),service:"analytics-4"},{id:"engagement-rate",color:"#8e68cb",label:Object(g.__)("Engagement Rate","google-site-kit"),service:"analytics-4"}],SearchFunnelWidgetGA4.propTypes={Widget:s.a.elementType.isRequired,WidgetReportZero:s.a.elementType.isRequired,WidgetReportError:s.a.elementType.isRequired},t.a=SearchFunnelWidgetGA4}).call(this,n(4))},1011:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(109),s=n(2),l=n(64),u=n(6),g=n(14),d=n(367),f=n(8),p=n(9),m=n(134),b=n(3),v=n(35);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SourceLinkAnalytics4(){var t=Object(v.a)(),n=Object(b.useSelect)((function(e){if(t)return null;var n=e(p.p).getServiceReportURL,r=e(g.c).getCurrentEntityURL(),i={dates:e(u.a).getDateRangeDates({compare:!0,offsetDays:p.f}),filters:{sessionSource:"google"},otherArgs:{collectionId:"life-cycle"}};return Object(c.a)(r)&&(i.filters.unifiedPagePathScreen=Object(f.u)(r)),n("lifecycle-traffic-acquisition-v2",i)}));return e.createElement(m.a,{href:n,name:Object(s._x)("Analytics","Service name","google-site-kit"),external:!0})}function SourceLinkSearch(t){var n=t.metric,r=Object(v.a)(),o=Object(b.useSelect)((function(e){if(r)return null;var t=e(l.b),o=t.getServiceReportURL,a=t.getPropertyID,c=t.isDomainProperty,s=Object(f.L)(e(g.c).getReferenceSiteURL()),p=e(g.c).getCurrentEntityURL(),m=e(u.a).getDateRangeDates({offsetDays:l.a}),b=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({resource_id:a(),metrics:n},Object(d.b)(m));return p?b.page="!".concat(p):c()&&s&&(b.page="*".concat(s)),o(b)}),[n]);return e.createElement(m.a,{href:o,name:Object(s._x)("Search Console","Service name","google-site-kit"),external:!0})}function Footer(t){var n=t.metrics,r=t.selectedStats;if(!(null==n?void 0:n[r]))return null;var i=n[r],o=i.service,a=i.metric;return"search-console"===o?e.createElement(SourceLinkSearch,{metric:a}):e.createElement(SourceLinkAnalytics4,null)}Footer.propTypes={metrics:a.a.arrayOf(a.a.object).isRequired,selectedStats:a.a.number.isRequired},t.a=Footer}).call(this,n(4))},1012:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Overview}));var r=n(21),i=n.n(r),o=n(7),a=n.n(o),c=n(27),s=n.n(c),l=n(1),u=n.n(l),g=n(13),d=n(0),f=n(2),p=n(3),m=n(17),b=n(367),v=n(8),h=n(19),y=n(24),O=n(6),_=n(14),j=n(64),k=n(9),E=n(52),S=n(214),w=n(35),A=n(18),T=n(1013),C=n(263),D=n(667),R=n(492);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t){var n,r,i,o,a,c,s,l,u,g,d,f,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{datapoint:(null==e||null===(n=e.totals)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.metricValues)||void 0===i||null===(o=i[t])||void 0===o?void 0:o.value)/p,change:Object(v.h)(null==e||null===(a=e.totals)||void 0===a||null===(c=a[1])||void 0===c||null===(s=c.metricValues)||void 0===s||null===(l=s[t])||void 0===l?void 0:l.value,null==e||null===(u=e.totals)||void 0===u||null===(g=u[0])||void 0===g||null===(d=g.metricValues)||void 0===d||null===(f=d[t])||void 0===f?void 0:f.value)}}function Overview(t){var n=t.ga4Data,r=t.ga4ConversionsData,o=t.ga4VisitorsData,a=t.searchConsoleData,c=t.selectedStats,l=t.handleStatsSelection,u=t.dateRangeLength,P=t.error,I=t.WidgetReportError,L=t.showRecoverableAnalytics,M=Object(E.c)(),F=Object(w.a)(),z=Object(A.a)(),G=Object(p.useSelect)((function(e){return e(h.a).isModuleAvailable("analytics-4")})),q=Object(p.useSelect)((function(e){return!!G&&(!F||e(O.a).canViewSharedModule("analytics-4"))})),V=Object(p.useSelect)((function(e){return e(y.b).getValue("showGA4ReportingTour")})),B=Object(p.useSelect)((function(e){return e(h.a).isModuleConnected("analytics-4")})),W=Object(p.useSelect)((function(e){return e(h.a).isModuleActive("analytics-4")})),U=Object(p.useInViewSelect)((function(e){return!!B&&e(k.p).isGatheringData()}),[B]),H=Object(p.useInViewSelect)((function(e){return e(j.b).isGatheringData()})),K=Object(p.useSelect)((function(e){return e(O.a).isAuthenticated()})),Y=Object(p.useSelect)((function(e){return e(_.c).getGoogleSupportURL({path:"/analytics/answer/12195621"})})),$=Object(b.a)(a,u),J=$.totalClicks,Z=$.totalImpressions,X=$.totalClicksChange,Q=$.totalImpressionsChange,ee=null,te=null,ne=null,re=null,ie=null,oe=null;if(W&&Object(g.isPlainObject)(n)&&Object(g.isPlainObject)(o)){var ae,ce,se,le,ue,ge,de,fe;ee=x(n,0,100).change,te=null==n||null===(ae=n.totals)||void 0===ae||null===(ce=ae[0])||void 0===ce||null===(se=ce.metricValues)||void 0===se||null===(le=se[0])||void 0===le?void 0:le.value;var pe=x(n,1);ne=pe.datapoint,re=pe.change,ie=null==o||null===(ue=o.totals)||void 0===ue||null===(ge=ue[0])||void 0===ge||null===(de=ge.metricValues)||void 0===de||null===(fe=de[0])||void 0===fe?void 0:fe.value,oe=x(o,0,100).change}var me=q&&B&&!P&&!L,be=Object(p.useDispatch)(O.a).triggerOnDemandTour;Object(d.useEffect)((function(){me&&V&&M===E.b&&be(D.a)}),[me,M,be,V]);var ve=Object(d.useCallback)((function(){Object(v.J)("".concat(z,"_ga4-new-badge"),"click_learn_more_link")}),[z]),he=K&&me&&M===E.b&&(!(null==r?void 0:r.length)||1===(null==r?void 0:r.length)&&"purchase"===r[0].eventName&&"0"===te),ye={smSize:2,mdSize:he?4:2,lgSize:3},Oe={smSize:4,mdSize:4,lgSize:6},_e=[{id:"impressions",stat:0,title:Object(f.__)("Total Impressions","google-site-kit"),datapoint:Z,change:Q,isGatheringData:H},{id:"clicks",stat:1,title:Object(f.__)("Total Clicks","google-site-kit"),datapoint:J,change:X,isGatheringData:H}].concat(s()(me?[{id:"visitors",stat:2,title:Object(f.__)("Unique Visitors from Search","google-site-kit"),datapoint:ie,change:oe,isGatheringData:U}]:[]),s()(me&&M===E.b&&!he?[{id:"conversions",stat:3,title:Object(f.__)("Conversions","google-site-kit"),datapoint:te,change:ee,isGatheringData:U}]:[]),s()(me&&M===E.a?[{id:"engagement-rate",stat:4,title:Object(f.__)("Engagement Rate","google-site-kit"),datapoint:ne,datapointUnit:"%",change:re,isGatheringData:U,badge:e.createElement(C.a,{tooltipTitle:Object(f.__)("Sessions which lasted 10 seconds or longer, had 1 or more conversion events, or 2 or more page views.","google-site-kit"),learnMoreLink:Y,onLearnMoreClick:ve})}]:[])),je={2:Oe,3:{smSize:4,mdSize:4,lgSize:9},4:{smSize:4,mdSize:8,lgSize:12}},ke={2:N(N({},Oe),{},{smSize:2}),3:{smSize:2,mdSize:4,lgSize:4},4:ye};return e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,je[_e.length],e.createElement(R.a,{className:"mdc-layout-grid__inner"},_e.map((function(t,n){return e.createElement(m.a,i()({key:t.id},ke[_e.length]),e.createElement(S.a,{stat:t.stat,className:"googlesitekit-data-block--".concat(t.id," googlesitekit-data-block--button-").concat(n+1),title:t.title,datapoint:t.datapoint,datapointUnit:t.datapointUnit?t.datapointUnit:void 0,change:t.change,changeDataUnit:"%",context:"button",selected:c===t.stat,handleStatSelection:l,gatheringData:t.isGatheringData}))})))),e.createElement(T.a,{canViewSharedAnalytics4:q,error:P,halfCellProps:Oe,quarterCellProps:ye,showGA4:me,showConversionsCTA:he,showRecoverableAnalytics:L,WidgetReportError:I})))}Overview.propTypes={ga4Data:u.a.object,ga4ConversionsData:u.a.arrayOf(u.a.object),ga4VisitorsData:u.a.object,searchConsoleData:u.a.arrayOf(u.a.object),selectedStats:u.a.number.isRequired,handleStatsSelection:u.a.func.isRequired,error:u.a.object,WidgetReportError:u.a.elementType.isRequired}}).call(this,n(4))},1013:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptionalCells}));var r=n(21),i=n.n(r),o=n(1),a=n.n(o),c=n(0),s=n(2),l=n(3),u=n(17),g=n(19),d=n(406),f=n(1014),p=n(136),m=n(25);function OptionalCells(t){var n=t.canViewSharedAnalytics4,r=t.error,o=t.halfCellProps,a=t.quarterCellProps,b=t.showGA4,v=t.showConversionsCTA,h=t.showRecoverableGA4,y=t.WidgetReportError,O=Object(m.e)(),_=Object(l.useSelect)((function(e){return e(g.a).isModuleConnected("analytics-4")})),j=Object(l.useSelect)((function(e){return e(g.a).isModuleActive("analytics-4")})),k=j&&_;return e.createElement(c.Fragment,null,n&&(!_||!j)&&e.createElement(u.a,o,m.b!==O&&e.createElement(d.a,{title:Object(s.__)("Conversions completed","google-site-kit")})),!h&&n&&k&&r&&e.createElement(u.a,o,e.createElement(y,{moduleSlug:"analytics-4",error:r})),b&&e.createElement(u.a,i()({},a,{smSize:4}),v&&e.createElement(f.a,null)),n&&k&&h&&e.createElement(u.a,o,e.createElement(p.a,{moduleSlugs:["analytics-4"]})))}OptionalCells.propTypes={canViewSharedAnalytics4:a.a.bool.isRequired,error:a.a.object,halfCellProps:a.a.object.isRequired,quarterCellProps:a.a.object.isRequired,showGA4:a.a.bool.isRequired,showConversionsCTA:a.a.bool.isRequired,showRecoverableGA4:a.a.bool,WidgetReportError:a.a.elementType.isRequired}}).call(this,n(4))},1014:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateConversionCTA}));var r=n(91),i=n(2),o=n(0),a=n(3),c=n(10),s=n(396),l=n(766),u=n(8),g=n(18),d=n(14);function CreateConversionCTA(){var t=Object(g.a)(),n="".concat(t,"_search-traffic-widget"),f=Object(a.useSelect)((function(e){return e(d.c).getGoogleSupportURL({path:"/analytics/answer/12844695"})})),p=Object(o.useCallback)((function(){Object(u.J)(n,"click_ga4_conversions_cta")}),[n]);return Object(r.a)((function(){Object(u.J)(n,"view_ga4_conversions_cta")})),e.createElement("div",{className:"googlesitekit-analytics-cta googlesitekit-analytics-cta--setup-conversions"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},e.createElement(s.a,{title:Object(i.__)("Conversions completed","google-site-kit"),GraphSVG:l.a})),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(i.__)("Set up conversion events to track how well your site fulfills your business objectives","google-site-kit")),e.createElement(c.Button,{href:f,target:"_blank",onClick:p},Object(i.__)("Set up conversions","google-site-kit"))))}}).call(this,n(4))},1015:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SearchConsoleStats}));var r=n(7),i=n.n(r),o=n(15),a=n.n(o),c=n(511),s=n.n(c),l=n(1),u=n.n(l),g=n(2),d=n(367),f=n(17),p=n(88),m=n(349);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SearchConsoleStats(t){var n=t.data,r=t.metrics,i=t.selectedStats,o=t.dateRangeLength,c=t.gatheringData,l=Object(p.a)(n,{dateRangeLength:o}),u=l.compareRange,g=l.currentRange,b=Object(d.c)(g,u,r[i].label,r[i].metric,o),h=b.slice(1).map((function(e){return a()(e,1)[0]})),y=s()(h).slice(1),O=v(v({},SearchConsoleStats.chartOptions),{},{hAxis:{format:"MMM d",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12},ticks:y},series:{0:{color:r[i].color,targetAxisIndex:0},1:{color:r[i].color,targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}}),_=!b.slice(1).some((function(e){return e[2]>0||e[3]>0}));return O.vAxis.viewWindow.max=_?1:void 0,e.createElement(f.e,{className:"googlesitekit-search-console-site-stats"},e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(m.a,{chartType:"LineChart",data:b,loadingHeight:"270px",loadingWidth:"100%",options:O,gatheringData:c}))))}SearchConsoleStats.propTypes={data:u.a.arrayOf(u.a.object).isRequired,dateRangeLength:u.a.number.isRequired,metrics:u.a.arrayOf(u.a.object).isRequired,selectedStats:u.a.number.isRequired},SearchConsoleStats.chartOptions={chart:{title:Object(g.__)("Search Traffic Summary","google-site-kit")},curveType:"function",height:270,width:"100%",chartArea:{height:"80%",left:60,right:25},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},vAxis:{direction:1,gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},tooltip:{isHtml:!0,trigger:"both"},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"}}}).call(this,n(4))},1016:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PopularKeywordsWidget}));var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(2),s=n(3),l=n(6),u=n(64),g=n(367),d=n(8),f=n(20),p=n(35),m=n(107),b=n(406);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function PopularKeywordsWidget(t){var n=t.Widget,r=Object(p.a)(),i=Object(s.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:u.a})})),o=h(h({},i),{},{dimensions:"query",limit:100}),a=Object(s.useInViewSelect)((function(e){return e(u.b).getReport(o)}),[o]),v=Object(s.useSelect)((function(e){return e(u.b).getErrorForSelector("getReport",[o])}),[o]),y=Object(s.useSelect)((function(e){return!e(u.b).hasFinishedResolution("getReport",[o])})),O=Object(g.b)(i),_=[{field:"keys.0",Component:function Component(t){var n=t.fieldValue,i=Object(s.useSelect)((function(e){return r?null:e(u.b).getServiceReportURL(h(h({},O),{},{query:"!".concat(n)}))}));return r?e.createElement(m.f,{content:n}):e.createElement(f.a,{href:i,external:!0,hideExternalIndicator:!0},n)}},{field:"ctr",Component:function Component(t){var n=t.fieldValue;return e.createElement("strong",null,Object(c.sprintf)( /* translators: %s: clickthrough rate value */ Object(c.__)("%s CTR","google-site-kit"),Object(d.C)(n,"%")))}}],j=(a||[]).sort((function(e,t){var n=e.ctr,r=void 0===n?0:n,i=t.ctr;return(void 0===i?0:i)-r}));return e.createElement(m.e,{Widget:n,widgetSlug:l.G,loading:y,rows:j,columns:_,ZeroState:b.d,limit:3,error:v,moduleSlug:"search-console"})}PopularKeywordsWidget.propTypes={Widget:a.a.elementType.isRequired}}).call(this,n(4))},1017:function(e,t,n){"use strict";(function(e){var r,i=n(5),o=n.n(i),a=n(7),c=n.n(a),s=n(11),l=n.n(s),u=n(13),g=n(42),d=n.n(g),f=n(3),p=n(6),m=n(14),b=n(64),v=n(8),h=n(47),y=n(146),O=n(367),_=n(668);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=Object(h.a)({baseName:"getReport",storeName:b.b,controlCallback:function(e){var t=e.options;return d.a.get("modules","search-console","searchanalytics",t)},reducerCallback:function(e,t,n){var r=n.options;return k(k({},e),{},{reports:k(k({},e.reports),{},c()({},Object(v.I)(r),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;l()(Object(u.isPlainObject)(t),"Options for Search Console report must be an object."),l()(Object(y.a)(t),"Either date range or start/end dates must be provided for Search Console report.");var n=t.dimensions;n&&l()(Object(y.d)(n),"Dimensions for Search Console report must be either a string or an array of strings")}}),S=Object(_.a)("search-console",{storeName:b.b,dataAvailable:null===(r=e._googlesitekitModulesData)||void 0===r?void 0:r["data_available_search-console"],selectDataAvailability:Object(f.createRegistrySelector)((function(e){return function(){var t=e(b.b).getSampleReportArgs(),n=e(b.b).getReport(t);if(e(b.b).hasFinishedResolution("getReport",[t]))return e(b.b).getErrorForSelector("getReport",[t])||!Array.isArray(n)?null:!!n.length}}))}),w={getReport:o.a.mark((function e(){var t,n,r=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,f.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(b.b).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,E.actions.fetchGetReport(t);case 9:case"end":return e.stop()}}),e)}))},A={getReport:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.reports;return n[Object(v.I)(t)]},hasZeroData:Object(f.createRegistrySelector)((function(e){return function(){var t=e(b.b).isGatheringData();if(void 0!==t){if(!0===t)return!0;var n=e(b.b).getSampleReportArgs(),r=e(b.b).getReport(n);if(e(b.b).hasFinishedResolution("getReport",[n]))return!!Array.isArray(r)&&Object(O.e)(r)}}})),getSampleReportArgs:Object(f.createRegistrySelector)((function(e){return function(){var t=e(m.c).getCurrentEntityURL(),n=e(p.a).getDateRangeDates({compare:!0,offsetDays:b.a}),r={startDate:n.compareStartDate,endDate:n.endDate,dimensions:"date"};return t&&(r.url=t),r}}))},T=Object(f.combineStores)(E,S,{initialState:{reports:{}},resolvers:w,selectors:A});T.initialState,T.actions,T.controls,T.reducer,T.resolvers,T.selectors;t.a=T}).call(this,n(26))},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var o=n(125);n.d(t,"b",(function(){return o.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,o=a()(t,["className","children"]);return r?e.createElement("span",i()({},o,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),o=n.n(i),a=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),g=n(3),d=n(24),f=n(6),p=n(36),m=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},y={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},_="feature_tooltip_view",j="feature_tooltip_advance",k="feature_tooltip_return",E="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),A=Object(g.useDispatch)(d.b).setValue,T=Object(g.useDispatch)(f.a).dismissTour,C=Object(g.useRegistry)(),D=Object(b.a)(),R=Object(g.useSelect)((function(e){return e(d.b).getValue(u)})),P=Object(g.useSelect)((function(e){return e(d.b).getValue(w)&&!1===e(f.a).isTourDismissed(i)}));Object(a.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),A(w,!0)}));var N=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,o=e.status,a=e.type,l=t+1,u="function"==typeof s?s(D):s;a===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,_,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,E,l):n===c.a.NEXT&&o===c.d.FINISHED&&a===c.b.TOUR_END&&i===l&&Object(p.b)(u,S,l),r===c.c.COMPLETE&&o!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,k,l),n===c.a.NEXT&&Object(p.b)(u,j,l))}(t);var n=t.action,r=t.index,o=t.status,a=t.step,g=t.type,d=n===c.a.CLOSE,f=!d&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(g),m=[c.d.FINISHED,c.d.SKIPPED].includes(o),b=d&&g===c.b.STEP_AFTER,v=m||b;if(c.b.STEP_BEFORE===g){var h,y,O=a.target;"string"==typeof a.target&&(O=e.document.querySelector(a.target)),null===(h=O)||void 0===h||null===(y=h.scrollIntoView)||void 0===y||y.call(h,{block:"center"})}f?function(e,t){A(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),T(i)),l&&l(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:y,run:P,showProgress:!0,stepIndex:R,steps:N,styles:h,tooltipComponent:m.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},107:function(e,t,n){"use strict";var r=n(415);n.d(t,"a",(function(){return r.a}));var i=n(416);n.d(t,"b",(function(){return i.a}));var o=n(417);n.d(t,"c",(function(){return o.a}));var a=n(418);n.d(t,"d",(function(){return a.a}));var c=n(419);n.d(t,"e",(function(){return c.a}));var s=n(420);n.d(t,"f",(function(){return s.a}));var l=n(255);n.d(t,"g",(function(){return l.a}));var u=n(189);n.d(t,"h",(function(){return u.a}));n(421)},110:function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var i=n(160);n.d(t,"c",(function(){return i.a}));var o=n(225);n.d(t,"a",(function(){return o.a}))},112:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(12),s=n.n(c),l=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",i()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:a.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},115:function(e,t,n){"use strict";var r=n(343),i=n(339);n.d(t,"b",(function(){return i.a}));var o=n(340);n.d(t,"c",(function(){return o.a}));var a=n(341);n.d(t,"d",(function(){return a.a}));var c=n(342);n.d(t,"a",(function(){return c.a})),t.e=r.a},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),o=n(0),a=n(2),c=n(3),s=n(10),l=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,g=void 0!==i&&i,d=t.storeName,f=t.message,p=void 0===f?r.message:f,m=t.noPrefix,b=void 0!==m&&m,v=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return d?e(d).getSelectorDataForError(r):null})),O=Object(o.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!r||Object(l.f)(r))return null;var _=g&&Object(l.d)(r,y);return g||(p=Object(a.sprintf)( /* translators: %s: Error message from Google API. */ Object(a.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(o.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),_&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(a.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(0),s=n(38),l=n(2),u=n(3),g=n(10),d=n(14),f=n(19),p=n(34),m=n(35),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,o=t.hideGetHelpLink,a=t.buttonVariant,v=t.onRetry,y=t.onRequestAccess,O=t.getHelpClassName,_=t.RequestAccessButton,j=t.RetryButton,k=Object(m.a)(),E=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(E))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(E).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],A=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(E))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:r})}))})),T=null==A?void 0:A.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),C=!!T.length,D=Object(u.useSelect)((function(e){var t=h({},C?T[0]:w[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(d.c).getErrorTroubleshootingLinkURL(t)})),R=Object(u.useDispatch)(),P=w.some((function(e){return Object(p.e)(e)})),N=Object(c.useCallback)((function(){T.forEach((function(e){var t=e.selectorData;R(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[R,T,v]),x=S&&P&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},x&&("function"==typeof _?e.createElement(_,{requestAccessURL:S}):e.createElement(g.Button,{onClick:y,href:S,target:"_blank",danger:"danger"===a,tertiary:"tertiary"===a},Object(l.__)("Request access","google-site-kit"))),C&&e.createElement(c.Fragment,null,"function"==typeof j?e.createElement(j,{handleRetry:N}):e.createElement(g.Button,{onClick:N,danger:"danger"===a,tertiary:"tertiary"===a},Object(l.__)("Retry","google-site-kit")),!o&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:D,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!C&&!o&&e.createElement("div",{className:O},"function"==typeof i?e.createElement(i,{linkURL:D}):e.createElement(b.a,{href:D,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.oneOfType([a.a.arrayOf(a.a.object),a.a.object]).isRequired,GetHelpLink:a.a.elementType,hideGetHelpLink:a.a.bool,buttonVariant:a.a.string,onRetry:a.a.func,onRequestAccess:a.a.func,getHelpClassName:a.a.string,RequestAccessButton:a.a.elementType,RetryButton:a.a.elementType}}).call(this,n(4))},119:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),o)}},122:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var r=n(12),i=n.n(r),o=n(1),a=n.n(o),c=n(10),s=n(277);function InfoTooltip(t){var n=t.onOpen,r=t.title,o=t.tooltipClassName;return r?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:i()("googlesitekit-info-tooltip__content",o),title:r,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(s.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:a.a.func,title:a.a.oneOfType([a.a.string,a.a.element]),tooltipClassName:a.a.string}}).call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),o=n(7),a=n.n(o),c=n(23),s=n.n(c),l=n(1),u=n.n(l),g=n(12),d=n.n(g);function Cell(t){var n,r=t.className,o=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,g=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,_=t.mdOrder,j=t.lgSize,k=t.lgStart,E=t.lgOrder,S=t.size,w=t.children,A=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},A,{className:d()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":o,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":g,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},a()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),a()(n,"mdc-layout-grid__cell--span-".concat(j,"-desktop"),12>=j&&j>0),a()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),a()(n,"mdc-layout-grid__cell--order-".concat(E,"-desktop"),12>=E&&E>0),a()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),a()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),a()(n,"mdc-layout-grid__cell--order-".concat(_,"-tablet"),8>=_&&_>0),a()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),a()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),a()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},1234:function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),o=n(179),a=n.n(o),c=n(382),s=n.n(c),l=n(890),u=(n(735),n(894)),g=n(1009),d=n(1010),f=n(84),p=n(0);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var b=p.createElement("path",{fill:"#525252",d:"M97.15 2.73c.46-.55 1.37-1.64 1.82-2.2 27-.1 53.98-.04 80.97-.02.44.5 1.32 1.5 1.75 2 .1.15.4.43.5.57.18.16.5.48.68.65.25.23.77.67 1.03.9.33.3.98.92 1.3 1.24.26.25.76.75 1 1 .25.23.7.7.96.94.25.25.74.75.98 1 .25.25.76.75 1 1 .27.26.78.76 1.03 1.02.25.25.76.75 1.02 1 .23.25.72.73.96.97l1 1c.24.24.73.73.98 1 .3.3.93.94 1.24 1.26.23.26.67.78.9 1.04.17.2.5.55.67.73.18.2.56.6.75.78.43.45 1.3 1.3 1.72 1.76.14.15.43.46.57.6.07.13.25.37.33.48.27.56.8 1.67 1.08 2.22.2 5.67-.07 11.34.06 17-7.7-.1-15.4-.1-23.08.02.26-.16.8-.47 1.07-.63-.7-6.6-.7-13.24-.58-19.87-26.28-.02-52.56-.02-78.83 0 .17 6.83-.08 13.64-.44 20.46l1.27.04c-7.8-.1-15.63-.12-23.44-.02.12-5.66-.14-11.32.03-16.98.3-.57.86-1.72 1.15-2.3.1-.1.26-.34.35-.46.15-.16.45-.47.6-.63.44-.45 1.33-1.3 1.77-1.75.2-.18.6-.56.78-.75.22-.22.65-.64.86-.85.24-.23.7-.7.94-.94.25-.24.74-.73.98-1 .25-.22.74-.72 1-.96.23-.26.72-.75.96-1 .24-.23.7-.7.94-.95.2-.23.63-.67.84-.9.32-.32.96-1 1.28-1.33l1.28-1.2c.2-.2.62-.6.83-.8.23-.22.7-.68.9-.9.26-.24.75-.73 1-.97s.72-.73.97-.97c.23-.24.7-.7.94-.94l.8-.8c.1-.14.35-.4.46-.54zm37.7 166.57c2.8-14.95 12.87-28.3 26.16-35.56.2 12.76.08 25.53-.04 38.3.03 2.54-.08 5.12.42 7.63 6.28 4 13.18 6.96 19.6 10.74 6.25-3.25 12.47-6.6 18.7-9.9 2.18-.66 1.4-3.2 1.62-4.93-.06-13.9-.1-27.82 0-41.73 10.12 4.16 17.33 12.82 23 21.85 1.95 6.62 4.35 13.27 4.08 20.3.38 16.85-9.32 33.53-24.3 41.32-1.08.74-2.8 1.17-2.66 2.8-.96 9.1-.42 18.3.17 27.4h-41c.3-9.72.8-19.43-.05-29.14-7.56-3.6-14.02-9.35-18.68-16.3-6.28-9.55-8.7-21.48-7.03-32.76z"}),v=p.createElement("path",{fill:"#4d4d4d",d:"M96.68 3.26c.12-.13.36-.4.47-.53-.1.13-.35.4-.47.53zm85.02-.76c.12.14.4.42.52.56-.13-.14-.4-.42-.53-.56zM95.9 4.06c.2-.2.6-.6.78-.8-.2.2-.6.6-.78.8zm86.32-1c.17.16.5.48.67.65-.2-.15-.5-.47-.7-.63zM94.96 5c.23-.24.7-.7.94-.94-.24.24-.7.7-.94.93zm87.94-1.3c.25.23.77.67 1.03.9-.26-.23-.78-.67-1.04-.9zM93.98 5.96c.24-.24.73-.73.98-.97-.25.22-.74.7-.98.95zm89.95-1.36c.32.3.97.92 1.3 1.24-.33-.32-.98-.94-1.3-1.25zM93 6.93c.25-.24.74-.73.98-.97l-.97.97zm92.22-1.1l1 1-1-1zm-93.12 2c.22-.22.68-.7.9-.9-.22.2-.68.68-.9.9zm94.13-1l.95.95c-.24-.24-.7-.7-.95-.94zm-94.97 1.8c.2-.2.62-.6.83-.8-.23.2-.64.6-.85.8zm95.92-.85zm-97.2 2.05l1.28-1.2-1.28 1.2zm98.18-1.06c.25.26.76.76 1 1.02-.24-.28-.75-.78-1-1.04zm-99.46 2.4c.32-.33.96-1 1.28-1.34-.32.34-.96 1-1.28 1.34zM189.17 9.8c.26.24.77.74 1.02 1-.27-.26-.78-.76-1.04-1zm-101.3 2.25c.2-.22.62-.66.83-.88-.2.22-.63.66-.84.88zM190.2 10.8c.25.25.76.75 1.02 1-.26-.25-.77-.75-1.03-1zM86.92 13c.24-.23.7-.7.94-.95-.23.24-.7.72-.94.96zm104.3-1.2c.24.25.73.73.97.97-.26-.24-.75-.72-1-.96zM85.95 14c.24-.26.73-.75.97-1-.24.25-.73.74-.97 1zm106.25-1.23zm-107.24 2.2c.25-.24.74-.74 1-.98-.26.22-.75.72-1 .96zm108.24-1.2c.24.25.73.74.98 1-.25-.26-.74-.75-1-1zm-109.22 2.2c.25-.26.74-.75.98-1-.24.25-.73.74-.98 1zm110.2-1.2c.3.3.93.95 1.24 1.27-.3-.32-.93-.96-1.24-1.28zM83.04 16.9c.24-.23.7-.7.94-.94l-.94.94zm112.38-.86c.23.26.67.78.9 1.04-.23-.26-.67-.78-.9-1.04zm-113.24 1.7c.22-.2.65-.63.86-.84-.2.2-.64.63-.86.85zm114.14-.66c.17.2.5.55.67.73-.2-.16-.5-.52-.7-.7zM81.4 18.5c.2-.18.6-.56.78-.75-.2.2-.6.57-.8.76zm115.6-.7c.18.2.56.6.75.78-.2-.2-.57-.58-.76-.77zM79.02 20.88c.15-.16.45-.47.6-.63-.15.16-.45.47-.6.63zm120.45-.55zm-120.8 1c.1-.1.26-.33.35-.45-.1.12-.26.35-.34.46zm121.37-.4c.08.13.26.37.34.48-.08-.1-.26-.33-.34-.45z",opacity:.47}),h=p.createElement("path",{fill:"#d8d9da",d:"M40.3 40.66c12.4-.04 24.8.04 37.2-.04 7.8-.1 15.62-.1 23.43.02 25.83.02 51.66.02 77.5 0 7.68-.1 15.38-.12 23.08-.02 13.27.05 26.5.06 39.76 0C253.9 53.07 266.42 65.67 279 78.2v165.98c-1.32 1.53-2.82 3.45-5.07 3.3-8.86.12-17.72 0-26.57.04-.42-18.84-.05-37.68-.18-56.52-.1-4.3.55-8.73-.8-12.9 1.9-4.46.78-9.4 1.04-14.1-.2-15.05.4-30.14-.3-45.2-.66-11.58-.07-23.2-.3-34.8-.15-1.27.04-2.84-1-3.78-2.52-2.72-6.54-1.6-9.8-1.8-64.34.05-128.67.04-193 0-3.28.2-7.3-.97-9.8 1.8-1.05.92-.9 2.46-1.05 3.7-.24 11.63.4 23.27-.3 34.88-.26 3.07-.36 6.15-.32 9.23.15 39.83-.14 79.66.14 119.5-8.9-.26-17.78.14-26.65-.05-2.24.14-3.72-1.78-5.06-3.27V78.3c13.35-12.6 26.9-25.07 40.3-37.64zM52.6 86.8c6.7-1.8 13.87 5.82 11.3 12.38-1.67 5.15-8.2 8.87-13.24 6.06-3.68-1.78-6.6-5.98-5.97-10.17.94-3.9 3.8-7.48 7.9-8.26zm19.16 9.23c-.2-6.04 6.67-11.2 12.37-8.95 4.2 1 6.32 5.1 7.3 8.96-.83 3.42-2 7.26-5.5 8.8-5.96 4.1-14.94-1.8-14.17-8.8zm-26.43 38.3c23.17-.1 46.34.07 69.5-.05.3 26.85.12 53.72.08 80.58-23.2 0-46.4.14-69.6-.05.13-26.8.05-53.63.04-80.45zm.8 96.92c31.16-.04 62.33-.07 93.5.02 0 5.4-.08 10.82.12 16.23-2.8-.12-5.63-.16-8.44-.1-3.52.13-7.07.16-10.6-.02-1.46-.03-2.9-.03-4.37 0-23.74.25-47.48-.03-71.23.13 1.76-5.24.62-10.83 1.03-16.24z"}),y=p.createElement("path",{fill:"#4189f8",d:"M33.22 80.23c2.5-2.78 6.52-1.6 9.8-1.8 64.33.03 128.66.04 193-.02 3.26.24 7.28-.9 9.8 1.83 1.04.94.85 2.5 1 3.78.23 11.6-.36 23.23.3 34.8-71.75.1-143.5.1-215.26 0 .7-11.6.07-23.24.3-34.87.16-1.24 0-2.78 1.06-3.7m19.38 6.6c-4.1.77-6.95 4.35-7.9 8.25-.65 4.2 2.28 8.4 5.96 10.17 5.03 2.8 11.57-.9 13.24-6.06 2.57-6.58-4.6-14.2-11.3-12.4m19.16 9.23c-.77 7 8.2 12.9 14.16 8.82 3.5-1.55 4.68-5.4 5.5-8.8-.97-3.86-3.1-7.97-7.3-8.97-5.7-2.25-12.55 2.9-12.36 8.95z"}),O=p.createElement("path",{fill:"#fff",d:"M31.86 118.8c71.75.1 143.5.1 215.27 0 .68 15.06.08 30.15.3 45.2-.27 4.7.86 9.64-1.05 14.1-7.74-7.1-13.8-15.87-22.07-22.42-5.66-9.03-12.87-17.7-23-21.85-.1 13.9-.05 27.82 0 41.73-2.63-1.17-4.42-3.44-6.27-5.52-4.96-5.4-10.38-10.37-15.13-15.95-6.08-7-13.2-13.03-18.9-20.37-13.28 7.26-23.35 20.6-26.15 35.56-1.67 11.27.75 23.2 7.03 32.76 4.66 6.94 11.12 12.7 18.68 16.3.85 9.7.35 19.4.04 29.13h-20.85c-.2-5.4-.13-10.83-.12-16.24-31.17-.1-62.34-.06-93.5-.02-.4 5.4.73 11-1.04 16.26-4.48 0-8.95-.02-13.4.02-.3-39.83 0-79.66-.16-119.5-.04-3.07.06-6.15.3-9.22m13.48 15.54c0 26.82.1 53.65-.05 80.47 23.2.2 46.42.08 69.63.07.05-26.86.22-53.73-.07-80.58-23.16.1-46.33-.04-69.5.05z"}),_=p.createElement("path",{fill:"#bdbdbd",d:"M161 133.74c5.7 7.34 12.82 13.36 18.9 20.35 4.74 5.56 10.16 10.53 15.12 15.93 1.85 2.08 3.64 4.35 6.27 5.52-.24 1.72.54 4.27-1.64 4.93-6.23 3.3-12.45 6.64-18.7 9.9-6.42-3.77-13.32-6.74-19.6-10.73-.5-2.5-.4-5.1-.42-7.64.12-12.75.24-25.52.06-38.3zm63.3 21.94c8.27 6.55 14.34 15.32 22.08 22.42 1.35 4.17.7 8.6.8 12.9.13 18.84-.24 37.68.18 56.52-15.26-.04-30.5-.02-45.77 0-.6-9.13-1.15-18.32-.2-27.43-.13-1.64 1.6-2.07 2.66-2.8 15-7.8 24.7-24.47 24.3-41.33.28-7.02-2.12-13.67-4.06-20.3z"});var j=function SvgSearchConsole(e){return p.createElement("svg",m({viewBox:"0 0 279 248"},e),b,v,h,y,O,_)},k=n(64),E=n(1016),S=n(6),w=n(5),A=n.n(w),T=n(16),C=n.n(T),D=n(11),R=n.n(D),P=n(42),N=n.n(P),x=n(59),I=n(367),L=n(183);function M(){return(M=C()(A.a.mark((function e(t){var n,r,i,o;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,r=t.dispatch,!n(k.b).haveSettingsChanged()){e.next=8;break}return e.next=4,r(k.b).saveSettings();case 4:if(i=e.sent,!(o=i.error)){e.next=8;break}return e.abrupt("return",{error:o});case 8:return e.next=10,N.a.invalidateCache("modules","search-console");case 10:return e.abrupt("return",{});case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var F=a.a.createModuleStore("search-console",{ownedSettingsSlugs:["propertyID"],storeName:k.b,settingSlugs:["propertyID","ownerID"],requiresSetup:!1,submitChanges:function(e){return M.apply(this,arguments)},validateCanSubmitChanges:function(e){var t=Object(x.e)(e)(k.b),n=t.getPropertyID,r=t.haveSettingsChanged;R()(Object(I.d)(n()),"a valid propertyID is required to submit changes"),R()(r(),L.b)}}),z=n(1017),G=n(7),q=n.n(G),V=n(23),B=n.n(V),W=n(157),U=n(14),H=n(8);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){q()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $={getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.path,i=n.query,o="https://search.google.com/search-console";if(r){var a="/".concat(r.replace(/^\//,""));o="".concat(o).concat(a)}i&&(o=Object(W.a)(o,i));var c=e(S.a).getAccountChooserURL(o);if(void 0!==c)return c}})),getServiceReportURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e(k.b).getPropertyID(),i=$.isDomainProperty(t),o=e(U.c).getReferenceSiteURL(),a=n.page,c=void 0===a?i?"*".concat(Object(H.L)(o)):void 0:a,s=B()(n,["page"]),l="/performance/search-analytics",u=Y(Y({page:c},s),{},{resource_id:r});return $.getServiceURL(t,{path:l,query:u})}})),getServiceEntityAccessURL:Object(r.createRegistrySelector)((function(e){return function(t){var n={resource_id:e(k.b).getPropertyID()};return $.getServiceURL(t,{query:n})}})),isDomainProperty:Object(r.createRegistrySelector)((function(e){return function(){var t=e(k.b).getPropertyID();return t&&t.startsWith("sc-domain:")}}))},J={selectors:$},Z=n(47);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){q()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee,te=Object(Z.a)({baseName:"getMatchedProperties",controlCallback:function(){return N.a.get("modules","search-console","matched-sites",{},{useCache:!0})},reducerCallback:function(e,t){return Q(Q({},e),{},{properties:t})}}),ne={properties:void 0},re={getMatchedProperties:A.a.mark((function e(){var t;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==t.select(k.b).getMatchedProperties()){e.next=7;break}return e.next=7,te.actions.fetchGetMatchedProperties();case 7:case"end":return e.stop()}}),e)}))},ie=Object(r.combineStores)(te,{initialState:ne,actions:{},controls:{},reducer:function(e,t){t.type;return e},resolvers:re,selectors:{getMatchedProperties:function(e){return e.properties}}}),oe=(ie.initialState,ie.actions,ie.controls,ie.reducer,ie.resolvers,ie.selectors,ie),ae=Object(r.combineStores)(F,z.a,J,oe);ae.initialState,ae.actions,ae.controls,ae.reducer,ae.resolvers,ae.selectors;i.a.registerStore(k.b,ae),a.a.registerModule("search-console",{storeName:k.b,SettingsEditComponent:u.a,SettingsViewComponent:l.a,Icon:j}),(ee=s.a).registerWidget("searchConsolePopularKeywords",{Component:g.a,width:[ee.WIDGET_WIDTHS.HALF,ee.WIDGET_WIDTHS.FULL],priority:1,wrapWidget:!1,modules:["search-console"]},[f.AREA_MAIN_DASHBOARD_CONTENT_PRIMARY,f.AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY]),ee.registerWidget("searchFunnelGA4",{Component:d.a,width:[ee.WIDGET_WIDTHS.FULL],priority:3,wrapWidget:!1,modules:["search-console"]},[f.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,f.AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY]),ee.registerWidget(S.G,{Component:E.a,width:ee.WIDGET_WIDTHS.QUARTER,priority:2,wrapWidget:!1,modules:["search-console"],isActive:function(e){return e(S.a).isKeyMetricActive(S.G)}},[f.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY])},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(12),u=n.n(l),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.className,o=t.children,c=a()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),o)}));d.displayName="Row",d.propTypes={className:s.a.string,children:s.a.node},d.defaultProps={className:""},t.a=d}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(12),u=n.n(l),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.alignLeft,o=t.fill,c=t.className,s=t.children,l=t.collapsed,g=a()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":o})},g,{ref:n}),s)}));d.displayName="Grid",d.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},d.defaultProps={className:""},t.a=d}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),o)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),o)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),o)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),o=n(166),a=n.n(o),c=n(12),s=n.n(c),l=n(1),u=n.n(l),g=n(10),d=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,p=t.step,m=t.tooltipProps,b=u>1?Object(d.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:s()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(a.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(o.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(g.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,l.title&&e.createElement(g.Button,i()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(g.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},134:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,i=t.className,o=t.external;return Object(u.a)()?null:e.createElement("div",{className:a()("googlesitekit-source-link",i)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:o})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),o=n(2),a=n(3),c=n(19),s=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(a.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(o.sprintf)( /* translators: %s: Module name */ Object(o.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(o.sprintf)( /* translators: %s: List of module names */ Object(o.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(o._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(s.a,{title:Object(o.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},139:function(e,t,n){"use strict";(function(e,r){var i=n(50),o=n.n(i),a=n(51),c=n.n(a),s=n(69),l=n.n(s),u=n(70),g=n.n(u),d=n(49),f=n.n(d),p=n(1),m=n.n(p),b=n(0),v=n(2),h=n(67);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g()(this,n)}}var O=function(t){l()(MediaErrorHandler,t);var n=y(MediaErrorHandler);function MediaErrorHandler(e){var t;return o()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?r.createElement(h.a,{message:n}):t}}]),MediaErrorHandler}(b.Component);O.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},O.propTypes={children:m.a.node.isRequired,errorMessage:m.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r="core/site",i="primary",o="secondary"},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),o=n(3),a=n(116),c=n(19),s=n(34),l=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,u=t.storeName,g=Object(o.useSelect)((function(e){return e(u).getErrors()})),d=Object(o.useSelect)((function(e){return e(c.a).getModule(i)})),f=[];return g.filter((function(e){return!(!(null==e?void 0:e.message)||f.includes(e.message))&&(f.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(s.e)(t)&&(i=Object(l.a)(i,d)),e.createElement(a.a,{key:n,error:t,hasButton:r,storeName:u,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},146:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var r=n(33),i=n.n(r);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function a(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},148:function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var i=n(68);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,o=void 0===i?"":i,a=n.name,c=void 0===a?"":a,s=n.owner,l=void 0===s?{}:s;if(!o||!c)return e;var u="",g="";return"analytics-4"===o?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===o&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(g=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),g||(g=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(g)}},159:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),o=n(1),a=n.n(o),c=n(2),s=n(3),l=n(198),u=n(211),g=n(68),d=n(6),f=n(10),p=n(0),m=Object(p.forwardRef)((function(t,n){var r=t.className,o=t.children,a=t.type,p=t.dismiss,m=void 0===p?"":p,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,y=t.Icon,O=void 0===y?Object(g.d)(a):y,_=t.OuterCTA,j=Object(s.useDispatch)(d.a).dismissItem,k=Object(s.useSelect)((function(e){return m?e(d.a).isItemDismissed(m):void 0}));if(m&&k)return null;var E=o?u.a:l.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(a),{"googlesitekit-settings-notice--single-row":!o,"googlesitekit-settings-notice--multi-row":o})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(E,t)),m&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){j(m),b()}},h)),_&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(_,null)))}));m.propTypes={className:a.a.string,children:a.a.node,notice:a.a.node.isRequired,type:a.a.oneOf([g.a,g.c,g.b]),Icon:a.a.elementType,LearnMore:a.a.elementType,CTA:a.a.elementType,OuterCTA:a.a.elementType,dismissLabel:a.a.string,dismissCallback:a.a.func},m.defaultProps={type:g.a},t.a=m}).call(this,n(4))},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(24);function o(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(232),i=n(13),o=n(0);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(o.useEffect)((function(){return function(){return a.cancel()}}),[a]),a}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(3),u=n(14),g=n(20);function SupportLink(t){var n=t.path,r=t.query,o=t.hash,c=a()(t,["path","query","hash"]),s=Object(l.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:r,hash:o})}));return e.createElement(g.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),o=n(2),a=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(a.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(o.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),i=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var o=n(310);n.d(t,"h",(function(){return o.a}));var a=n(311);n.d(t,"j",(function(){return a.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},171:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(8);function ChangeBadge(t){var n=t.previousValue,r=t.currentValue,i=t.isAbsolute?r-n:Object(c.h)(n,r),o=i<0,s=0===i;return null===i?null:e.createElement("div",{className:a()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":o,"googlesitekit-change-badge--zero":s})},Object(c.C)(i,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:i.a.bool,previousValue:i.a.number.isRequired,currentValue:i.a.number.isRequired}}).call(this,n(4))},172:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(7),i=n.n(r),o=n(2),a=n(6),c=n(14),s=n(9),l=n(44);function u(e,t,n){return!!Object(l.b)("conversionReporting")&&(e(s.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(a.a).isKeyMetricActive(n))}var g,d=n(30);function f(e,t){return!t||!(!t||!e(s.p).getAdSenseLinked())}function p(e,t){return!t||e(s.p).hasCustomDimensions(this.requiredCustomDimensions)}var m=(g={},i()(g,a.f,{title:Object(o.__)("Top earning pages","google-site-kit"),description:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:f,displayInList:f,metadata:{group:d.d.SLUG}}),i()(g,a.y,{title:Object(o.__)("Top recent trending pages","google-site-kit"),description:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(g,a.l,{title:Object(o.__)("Most popular authors by pageviews","google-site-kit"),description:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(g,a.p,{title:Object(o.__)("Top categories by pageviews","google-site-kit"),description:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(g,a.m,{title:Object(o.__)("Most popular content by pageviews","google-site-kit"),description:Object(o.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(g,a.n,{title:Object(o.__)("Most popular products by pageviews","google-site-kit"),description:Object(o.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(a.a).isKeyMetricActive(a.n)||e(c.c).getProductPostType()},displayInWidgetArea:p,metadata:{group:d.g.SLUG}}),i()(g,a.k,{title:Object(o.__)("Pages per visit","google-site-kit"),description:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.F,{title:Object(o.__)("Visit length","google-site-kit"),description:Object(o.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(o.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.E,{title:Object(o.__)("Visits per visitor","google-site-kit"),description:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.i,{title:Object(o.__)("Most engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(g,a.h,{title:Object(o.__)("Least engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(o.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(g,a.z,{title:Object(o.__)("Top pages by returning visitors","google-site-kit"),description:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.j,{title:Object(o.__)("New visitors","google-site-kit"),description:Object(o.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(o.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.o,{title:Object(o.__)("Returning visitors","google-site-kit"),description:Object(o.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(o.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(g,a.A,{title:Object(o.__)("Top traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.B,{title:Object(o.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.g.SLUG}}),i()(g,a.C,{title:Object(o.__)("Top traffic source driving leads","google-site-kit"),description:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.f.SLUG}}),i()(g,a.D,{title:Object(o.__)("Top traffic source driving purchases","google-site-kit"),description:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.g.SLUG}}),i()(g,a.g,{title:Object(o.__)("Most engaged traffic source","google-site-kit"),description:Object(o.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.u,{title:Object(o.__)("Top converting traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.q,{title:Object(o.__)("Top cities driving traffic","google-site-kit"),description:Object(o.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.s,{title:Object(o.__)("Top cities driving leads","google-site-kit"),description:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.f.SLUG}}),i()(g,a.r,{title:Object(o.__)("Top cities driving add to cart","google-site-kit"),description:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.g.SLUG}}),i()(g,a.t,{title:Object(o.__)("Top cities driving purchases","google-site-kit"),description:Object(o.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.g.SLUG}}),i()(g,a.w,{title:Object(o.__)("Top device driving purchases","google-site-kit"),description:Object(o.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.g.SLUG}}),i()(g,a.v,{title:Object(o.__)("Top countries driving traffic","google-site-kit"),description:Object(o.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.G,{title:Object(o.__)("Top performing keywords","google-site-kit"),description:Object(o.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(o.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(g,a.x,{title:Object(o.__)("Top pages driving leads","google-site-kit"),description:Object(o.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(l.b)("conversionReporting")},displayInList:u,metadata:{group:d.f.SLUG}}),g)},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),o=n(16),a=n.n(o),c=n(0),s=n(3),l=n(14),u=n(6),g=n(19),d=n(32),f=n(36),p=n(18);function m(e){var t=Object(p.a)(),n=Object(s.useSelect)((function(t){return t(g.a).getModule(e)})),r=Object(s.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),o=Object(s.useDispatch)(g.a).activateModule,m=Object(s.useDispatch)(d.a).navigateTo,b=Object(s.useDispatch)(l.c).setInternalServerError,v=Object(c.useCallback)(a()(i.a.mark((function n(){var r,a,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o(e);case 2:if(r=n.sent,a=r.error,c=r.response,a){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:m(c.moduleReauthURL),n.next=12;break;case 11:b({id:"".concat(e,"-setup-error"),description:a.message});case 12:case"end":return n.stop()}}),n)}))),[o,e,m,b,t]);return(null==n?void 0:n.name)&&r?v:null}},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},182:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),o)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return S})),n.d(t,"g",(function(){return w})),n.d(t,"f",(function(){return A})),n.d(t,"d",(function(){return T})),n.d(t,"e",(function(){return C}));var r=n(16),i=n.n(r),o=n(5),a=n.n(o),c=n(7),s=n.n(c),l=n(11),u=n.n(l),g=n(13),d=n(42),f=n.n(d),p=n(3),m=n(59),b=n(78),v=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=h.a.clearError,j=h.a.receiveError,k="cannot submit changes while submitting changes",E="cannot submit changes if settings have not changed",S=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,o=void 0===i?void 0:i,c=r.storeName,l=void 0===c?void 0:c,d=r.settingSlugs,h=void 0===d?[]:d,y=r.initialSettings,k=void 0===y?void 0:y,E=r.validateHaveSettingsChanged,S=void 0===E?C():E;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var w=l||"".concat(e,"/").concat(t),A={ownedSettingsSlugs:o,settings:k,savedSettings:void 0},T=Object(v.a)({baseName:"getSettings",controlCallback:function(){return f.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),D=Object(v.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return f.a.set(e,t,n,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(Object(g.isPlainObject)(t),"values is required.")}}),R={},P={setSettings:function(e){return u()(Object(g.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:a.a.mark((function e(){var t,n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_("saveSettings",[]);case 5:return n=t.select(w).getSettings(),e.next=8,D.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(o=r.error)){e.next=14;break}return e.next=14,j(o,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:o});case 15:case"end":return e.stop()}}),e)}))},N={},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==R[n]?R[n](e,{type:n,payload:r}):e}},I={getSettings:a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(w).getSettings()){e.next=7;break}return e.next=7,T.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},L=Object(m.g)(S),M=L.safeSelector,F=L.dangerousSelector,z={haveSettingsChanged:M,__dangerousHaveSettingsChanged:F,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(g.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(w).getOwnedSettingsSlugs();return e(w).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);P["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},R["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},z["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(w).getSettings()||{})[e]}}))}));var G=Object(p.combineStores)(p.commonStore,T,D,{initialState:A,actions:P,controls:N,reducer:x,resolvers:I,selectors:z});return O(O({},G),{},{STORE_NAME:w})};function w(e,t){return function(){var n=i()(a.a.mark((function n(r){var i,o,c,s;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,o=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,o(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,f.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function A(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function T(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;u()(!i(),k),u()(r(),E)}}function C(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&u()(!Object(g.isEqual)(Object(g.pick)(r,n),Object(g.pick)(i,n)),E),u()(!Object(g.isEqual)(r,i),E)}}},187:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),i=n.n(r),o=" ";function DisplaySetting(e){return e.value||o}DisplaySetting.propTypes={value:i.a.oneOfType([i.a.string,i.a.bool,i.a.number])},t.b=DisplaySetting},189:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileWrapper}));var r=n(12),i=n.n(r),o=n(13),a=n(1),c=n.n(a),s=n(0),l=n(2),u=n(172),g=n(437),d=n(438),f=n(264),p=n(439),m=n(117),b=n(34),v=n(8),h=n(18);function MetricTileWrapper(t){var n,r,a,c=t.className,y=t.children,O=t.error,_=t.loading,j=t.moduleSlug,k=t.Widget,E=t.widgetSlug,S=t.title,w=void 0===S?null===(n=u.a[E])||void 0===n?void 0:n.title:S,A=t.infoTooltip,T=void 0===A?(null===(r=u.a[E])||void 0===r?void 0:r.infoTooltip)||(null===(a=u.a[E])||void 0===a?void 0:a.description):A,C=Object(h.a)(),D=!!O&&Object(o.castArray)(O).some(b.e),R=Object(s.useCallback)((function(){Object(v.J)("".concat(C,"_kmw"),"data_loading_error_retry")}),[C]);return Object(s.useEffect)((function(){O&&Object(v.J)("".concat(C,"_kmw"),"data_loading_error")}),[C,O]),O?e.createElement(f.a,{title:D?Object(l.__)("Insufficient permissions","google-site-kit"):Object(l.__)("Data loading failed","google-site-kit"),headerText:w,infoTooltip:T},e.createElement(m.a,{moduleSlug:j,error:O,onRetry:R,GetHelpLink:D?g.a:void 0,getHelpClassName:"googlesitekit-error-retry-text"})):e.createElement(k,{noPadding:!0},e.createElement("div",{className:i()("googlesitekit-km-widget-tile",c)},e.createElement(p.a,{title:w,infoTooltip:T,loading:_}),e.createElement("div",{className:"googlesitekit-km-widget-tile__body"},_&&e.createElement(d.a,null),!_&&y)))}MetricTileWrapper.propTypes={Widget:c.a.elementType.isRequired,loading:c.a.bool,title:c.a.string,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),moduleSlug:c.a.string.isRequired}}).call(this,n(4))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),o=n(186),a=n.n(o),c=n(1),s=n.n(c),l=n(0),u=n(2),g=n(254),d=n(412),f=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,o=Object(l.useState)(!1),c=i()(o,2),s=c[0],m=c[1];return e.createElement(p.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){a()("`".concat(n,"\n").concat(r,"`")),m(!0)},trailingIcon:e.createElement(g.a,{className:"mdc-button__icon",icon:s?d.a:f.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),o=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(o.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(12),s=n.n(c),l=n(1),u=n.n(l),g=n(140),d=n(0),f=n(2),p=n(126),m=n(127),b=n(128),v=n(80),h=n(77),y=Object(d.forwardRef)((function(t,n){var r,o=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,d=void 0!==u&&u,y=t.back,O=void 0!==y&&y,_=t.caps,j=void 0!==_&&_,k=t.children,E=t.className,S=void 0===E?"":E,w=t.danger,A=void 0!==w&&w,T=t.disabled,C=void 0!==T&&T,D=t.external,R=void 0!==D&&D,P=t.hideExternalIndicator,N=void 0!==P&&P,x=t.href,I=void 0===x?"":x,L=t.inverse,M=void 0!==L&&L,F=t.noFlex,z=void 0!==F&&F,G=t.onClick,q=t.small,V=void 0!==q&&q,B=t.standalone,W=void 0!==B&&B,U=t.linkButton,H=void 0!==U&&U,K=t.to,Y=t.leadingIcon,$=t.trailingIcon,J=a()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Z=I||K||!G?K?"ROUTER_LINK":R?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===Z||"BUTTON_DISABLED"===Z?"button":"ROUTER_LINK"===Z?g.b:"a",Q=("EXTERNAL_LINK"===Z&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Z&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?o?"".concat(o," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:o),ee=Y,te=$;return O&&(ee=e.createElement(b.a,{width:14,height:14})),R&&!N&&(te=e.createElement(v.a,{width:14,height:14})),d&&!M&&(te=e.createElement(p.a,{width:14,height:14})),d&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(X,i()({"aria-label":Q,className:s()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":V,"googlesitekit-cta-link--caps":j,"googlesitekit-cta-link--danger":A,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":W,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!z}),disabled:C,href:"LINK"!==Z&&"EXTERNAL_LINK"!==Z||C?void 0:I,onClick:G,rel:"EXTERNAL_LINK"===Z?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Z?"_blank":void 0,to:K},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=y}).call(this,n(4))},205:function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(0),i=n(1),o=n.n(i),a=n(3),c=n(14),s=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,o=Object(a.useSelect)((function(e){return e(c.c).isUsingProxy()})),l=Object(a.useDispatch)(s.a).triggerSurvey;return Object(r.useEffect)((function(){o&&l(t,{ttl:i})}),[o,t,i,l]),null}SurveyViewTrigger.propTypes={triggerID:o.a.string.isRequired,ttl:o.a.number}},208:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(7),o=n.n(i),a=n(15),c=n.n(a),s=n(1),l=n(31),u=n(506),g=n(0),d=n(130),f=n(76),p=n(106);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,o=t.dismissLabel,a=t.target,s=t.cta,m=void 0!==s&&s,v=t.className,h=t.styles,y=void 0===h?{}:h,O=t.slug,_=void 0===O?"":O,j=t.onDismiss,k=void 0===j?function(){}:j,E=t.onView,S=void 0===E?function(){}:E,w=t.onTourStart,A=void 0===w?function(){}:w,T=t.onTourEnd,C=void 0===T?function(){}:T,D=function(){return!!e.document.querySelector(a)},R=Object(g.useState)(D),P=c()(R,2),N=P[0],x=P[1];if(Object(u.a)((function(){D()&&x(!0)}),N?null:250),Object(g.useEffect)((function(){if(N&&e.ResizeObserver){var t=e.document.querySelector(a),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[a,N]),!N)return null;var I=[{title:n,target:a,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:m,className:v}],L={last:o};return r.createElement(f.a,{slug:_},r.createElement(l.e,{callback:function(t){switch(t.type){case l.b.TOUR_START:A(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case l.b.TOUR_END:C(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case l.b.STEP_AFTER:k();break;case l.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:p.b,locale:L,steps:I,styles:b(b(b({},p.c),y),{},{options:b(b({},p.c.options),null==y?void 0:y.options),spotlight:b(b({},p.c.spotlight),null==y?void 0:y.spotlight)}),tooltipComponent:d.a,run:!0}))}JoyrideTooltip.propTypes={title:s.PropTypes.string.isRequired,content:s.PropTypes.string,dismissLabel:s.PropTypes.string,target:s.PropTypes.string.isRequired,onDismiss:s.PropTypes.func,onShow:s.PropTypes.func,className:s.PropTypes.string,styles:s.PropTypes.object,slug:s.PropTypes.string,onView:s.PropTypes.func}}).call(this,n(26),n(4))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),o=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,a=t.children;return e.createElement(o.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},a),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},214:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(0),s=n(112),l=n(8),u=n(384),g=n(93),d=n(385),f=n(134);function DataBlock(t){var n=t.stat,r=void 0===n?null:n,i=t.className,o=void 0===i?"":i,p=t.title,m=void 0===p?"":p,b=t.datapoint,v=void 0===b?null:b,h=t.datapointUnit,y=void 0===h?"":h,O=t.change,_=void 0===O?null:O,j=t.changeDataUnit,k=void 0===j?"":j,E=t.context,S=void 0===E?"default":E,w=t.period,A=void 0===w?"":w,T=t.selected,C=void 0!==T&&T,D=t.source,R=t.sparkline,P=t.handleStatSelection,N=void 0===P?null:P,x=t.invertChangeColor,I=void 0!==x&&x,L=t.gatheringData,M=void 0!==L&&L,F=t.gatheringDataNoticeStyle,z=void 0===F?s.a.DEFAULT:F,G=t.badge,q=Object(c.useCallback)((function(){!M&&N&&N(r)}),[M,N,r]),V=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),q())}),[q]),B=void 0===v?v:Object(l.C)(v,y),W="button"===S,U=W?"button":"";return e.createElement("div",{className:a()("googlesitekit-data-block",o,"googlesitekit-data-block--".concat(S),{"googlesitekit-data-block--selected":C,"googlesitekit-data-block--is-gathering-data":M}),tabIndex:W&&!M?"0":"-1",role:N&&U,onClick:q,onKeyDown:V,"aria-disabled":M||void 0,"aria-label":N&&m,"aria-pressed":N&&C},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===G?e.createElement(g.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):G,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},m)),!M&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},B)),!M&&R&&e.createElement(u.a,{sparkline:R,invertChangeColor:I}),!M&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(d.a,{change:_,changeDataUnit:k,period:A,invertChangeColor:I}),D&&e.createElement(f.a,{className:"googlesitekit-data-block__source",name:D.name,href:D.link,external:null==D?void 0:D.external})),M&&e.createElement(s.b,{style:z}))}DataBlock.propTypes={stat:i.a.number,className:i.a.string,title:i.a.string,datapoint:i.a.oneOfType([i.a.string,i.a.number]),datapointUnit:i.a.string,change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),context:i.a.string,period:i.a.string,selected:i.a.bool,handleStatSelection:i.a.func,invertChangeColor:i.a.bool,gatheringData:i.a.bool,gatheringDataNoticeStyle:i.a.oneOf(Object.values(s.a)),badge:i.a.oneOfType([i.a.bool,i.a.node])},t.a=DataBlock}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return o})),n.d(t,"m",(function(){return a})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",o="mainDashboardViewOnly",a="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",g="adminBarViewOnly",d="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",y="content",O="speed",_="monetization",j=[r,i,o,a,c,l,d,b],k=[o,a,g,m]},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),o=n(16),a=n.n(o),c=n(0),s=n(3),l=n(14),u=n(24);function g(e){var t=Object(s.useDispatch)(u.b).setValue,n=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.2")})),r=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(a()(i.a.mark((function o(){var a,c,s,l;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return c.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(s=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(l=document.hasFocus,document.hasFocus=function(){return document.hasFocus=l,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!a,rehideAdminSubMenu:s});case 12:case"end":return i.stop()}}),o)}))),[n,r,t,e])}},225:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),i=n.n(r),o=n(21),a=n.n(o),c=n(5),s=n.n(c),l=n(16),u=n.n(l),g=n(23),d=n.n(g),f=n(0),p=n(1),m=n.n(p),b=n(3),v=n(208),h=n(24),y=n(160);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=d()(t,["onDismiss","tooltipStateKey"]),o=Object(b.useDispatch)(h.b).setValue,c=Object(y.a)(r),l=c.rehideAdminMenu,g=c.rehideAdminSubMenu,p=Object(f.useCallback)(u()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),g&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:o(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,l,g,o,r]);return e.createElement(v.a,a()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:p},i))}AdminMenuTooltip.propTypes=_(_({},v.a.propTypes),{},{target:m.a.string,tooltipStateKey:m.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},228:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),o=n(23),a=n.n(o),c=n(57),s=n.n(c),l=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=s()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=a()(e,["metrics","dimensions"]);return g({metrics:f(t),dimensions:p(n)},r)})),f=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))},p=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))}},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},249:function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return d}));var r=n(27),i=n.n(r),o=n(13),a=n(25),c=n(8),s=function(e,t){if(!(null==t?void 0:t.length))return e;var n=[];return(null==e?void 0:e.length)&&(n=e[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(i()(e),[n]):e}),[])),e.map((function(e){return e.filter((function(e,r){return 0===r||t.includes(r-1)||n.includes(r-1)}))}))},l=function(e,t,n,r){var i={height:e||t,width:n||r};return i.width&&!i.height&&(i.height="100%"),i.height&&!i.width&&(i.width="100%"),i},u=function(e,t,n){var r=i()(e||[]);return t&&r.push({eventName:"ready",callback:t}),n&&r.push({eventName:"select",callback:n}),r},g=function(e,t,n,r,i,s){var l,u,g,d,f,p,m,b,v=Object(o.cloneDeep)(e);t&&"LineChart"===n&&((null==e||null===(l=e.vAxis)||void 0===l||null===(u=l.viewWindow)||void 0===u?void 0:u.min)||Object(o.set)(v,"vAxis.viewWindow.min",0),(null==e||null===(g=e.vAxis)||void 0===g||null===(d=g.viewWindow)||void 0===d?void 0:d.max)||Object(o.set)(v,"vAxis.viewWindow.max",100),(null==e||null===(f=e.hAxis)||void 0===f||null===(p=f.viewWindow)||void 0===p?void 0:p.min)||(Object(o.set)(v,"hAxis.viewWindow.min",Object(c.H)(r)),delete v.hAxis.ticks),(null==e||null===(m=e.hAxis)||void 0===m||null===(b=m.viewWindow)||void 0===b?void 0:b.max)||(Object(o.set)(v,"hAxis.viewWindow.max",Object(c.H)(i)),delete v.hAxis.ticks));if("LineChart"===n){var h,y,O;if((null==e||null===(h=e.hAxis)||void 0===h?void 0:h.maxTextLines)||Object(o.set)(v,"hAxis.maxTextLines",1),!(null==e||null===(y=e.hAxis)||void 0===y?void 0:y.minTextSpacing)){var _=s===a.b?50:100;Object(o.set)(v,"hAxis.minTextSpacing",_)}void 0===(null==e||null===(O=e.tooltip)||void 0===O?void 0:O.isHtml)&&(Object(o.set)(v,"tooltip.isHtml",!0),Object(o.set)(v,"tooltip.trigger","both"))}return Object(o.merge)(v,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),v},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(c.s)(),n=Intl.NumberFormat(t,{style:"currency",currency:e}),r=n.formatToParts(1e6);return r.reduce((function(e,t){var n=t.value;switch(t.type){case"group":return e+",";case"decimal":return e+".";case"currency":return e+n;case"literal":return e+(/^\s*$/.test(n)?n:"");case"integer":var i=n.replace(/\d/g,"#");return e+(Object(o.findLast)(r,(function(e){return"integer"===e.type}))===t?i.replace(/#$/,"0"):i);case"fraction":return e+n.replace(/\d/g,"0");default:return e}}),"")}},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",o="desktop",a="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?o:e>600?a:c}},255:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileText}));var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(171),u=n(8),g=n(189);function MetricTileText(t){var n=t.metricValue,r=t.metricValueFormat,o=t.subText,c=t.previousValue,s=t.currentValue,d=a()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),f=Object(u.n)(r);return e.createElement(g.a,i()({className:"googlesitekit-km-widget-tile--text"},d),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},n),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},o)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(l.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==f?void 0:f.style)})))}MetricTileText.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},263:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(0),s=n(2),l=n(10),u=n(93),g=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,i=t.forceOpen,o=t.hasLeftSpacing,d=t.hasNoSpacing,f=t.onLearnMoreClick,p=void 0===f?function(){}:f,m=e.createElement(u.a,{className:a()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":d}),label:Object(s.__)("New","google-site-kit"),hasLeftSpacing:o});return n?e.createElement(l.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(g.a,{href:r,onClick:p,external:!0,hideExternalIndicator:!0},Object(s.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:i},m):m}NewBadge.propTypes={tooltipTitle:i.a.string,learnMoreLink:i.a.string,forceOpen:i.a.bool,onLearnMoreClick:i.a.func,hasLeftSpacing:i.a.bool,hasNoSpacing:i.a.bool},t.a=NewBadge}).call(this,n(4))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileError}));var r=n(85),i=n(122);function MetricTileError(t){var n=t.children,o=t.headerText,a=t.infoTooltip,c=t.title;return e.createElement("div",{className:"googlesitekit-km-widget-tile--error"},e.createElement(r.a,{title:c,headerText:o,headerContent:a&&e.createElement(i.a,{title:a}),description:"",error:!0},n))}}).call(this,n(4))},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13),i=n(95);function o(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},275:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),a=r.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"currentColor"},e),o,a)}},277:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return r.createElement("svg",i({viewBox:"0 0 16 16",fill:"none"},e),o)}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},30:function(e,t,n){"use strict";n.d(t,"l",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"k",(function(){return a})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return s})),n.d(t,"o",(function(){return l})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return g})),n.d(t,"b",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return h}));var r=n(2),i="key-metrics-setup-cta-widget",o="key-metrics-acr-subtle-notification",a="googlesitekit-key-metrics-selection-panel-opened",c="key-metrics-selection-form",s="key-metrics-selected",l=2,u=4,g=8,d="current-selection",f={SLUG:"visitors",LABEL:Object(r.__)("Visitors","google-site-kit")},p={SLUG:"driving-traffic",LABEL:Object(r.__)("Driving traffic","google-site-kit")},m={SLUG:"generating-leads",LABEL:Object(r.__)("Generating leads","google-site-kit")},b={SLUG:"selling-products",LABEL:Object(r.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(r.__)("Content performance","google-site-kit")},h=[f,p,m,b,v]},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},339:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var r=n(1),i=n.n(r),o=n(20),a=n(119);function SelectionPanelHeader(t){var n=t.children,r=t.title,i=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,r),e.createElement(o.a,{className:"googlesitekit-selection-panel-header__close",onClick:i,linkButton:!0},e.createElement(a.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:i.a.node,title:i.a.string,onCloseClick:i.a.func}}).call(this,n(4))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return g}));n(13);var r=n(2),i="missing_required_scopes",o="insufficientPermissions",a="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[o,a].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function g(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},340:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var r=n(1),i=n.n(r),o=n(345);function SelectionPanelItem(t){var n=t.children,r=t.id,i=t.slug,a=t.title,c=t.description,s=t.isItemSelected,l=t.isItemDisabled,u=t.onCheckboxChange,g=t.subtitle,d=t.suffix,f=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(o.a,{badge:f,checked:s,disabled:l,id:r,onChange:u,title:a,value:i},g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},g),c,n),d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},d))}SelectionPanelItem.propTypes={children:i.a.node,id:i.a.string,slug:i.a.string,title:i.a.string,description:i.a.string,isItemSelected:i.a.bool,isItemDisabled:i.a.bool,onCheckboxChange:i.a.func,subtitle:i.a.string,suffix:i.a.node,badge:i.a.node}}).call(this,n(4))},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var r=n(21),i=n.n(r),o=n(1),a=n.n(o),c=n(0),s=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,r=void 0===n?Object(s.__)("Current selection","google-site-kit"):n,o=t.availableItemsTitle,a=void 0===o?Object(s.__)("Additional items","google-site-kit"):o,l=t.savedItemSlugs,u=void 0===l?[]:l,g=t.availableSavedItems,d=void 0===g?{}:g,f=t.availableUnsavedItems,p=void 0===f?{}:f,m=t.ItemComponent,b=function(t){return Object.keys(t).map((function(n){return e.createElement(m,i()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(p).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},r),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(d)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},a)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},b(p)))}SelectionPanelItems.propTypes={currentSelectionTitle:a.a.string,availableItemsTitle:a.a.string,savedItemSlugs:a.a.array,availableSavedItems:a.a.object,availableUnsavedItems:a.a.object,ItemComponent:a.a.elementType}}).call(this,n(4))},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var r=n(5),i=n.n(r),o=n(16),a=n.n(o),c=n(15),s=n.n(c),l=n(13),u=n(1),g=n.n(u),d=n(0),f=n(38),p=n(2),m=n(3),b=n(10),v=n(116),h=n(8),y=n(9),O=n(40),_=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,o=t.selectedItemSlugs,c=void 0===o?[]:o,u=t.saveSettings,g=void 0===u?function(){}:u,j=t.saveError,k=t.itemLimitError,E=t.minSelectedItemCount,S=void 0===E?0:E,w=t.maxSelectedItemCount,A=void 0===w?0:w,T=t.isBusy,C=t.onSaveSuccess,D=void 0===C?function(){}:C,R=t.onCancel,P=void 0===R?function(){}:R,N=t.isOpen,x=t.closePanel,I=void 0===x?function(){}:x,L=Object(d.useState)(null),M=s()(L,2),F=M[0],z=M[1],G=Object(d.useState)(!1),q=s()(G,2),V=q[0],B=q[1],W=Object(m.useSelect)((function(e){return e(y.p).isFetchingSyncAvailableAudiences()})),U=Object(d.useMemo)((function(){return!Object(l.isEqual)(Object(h.F)(c),Object(h.F)(r))}),[r,c]),H=(null==r?void 0:r.length)>0&&U?Object(p.__)("Apply changes","google-site-kit"):Object(p.__)("Save selection","google-site-kit"),K=Object(d.useCallback)(a()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(c);case 2:t=e.sent,t.error||(D(),I(),z(H),B(!0));case 5:case"end":return e.stop()}}),e)}))),[g,c,D,I,H]),Y=Object(d.useCallback)((function(){I(),P()}),[I,P]),$=Object(d.useState)(null),J=s()($,2),Z=J[0],X=J[1];Object(d.useEffect)((function(){null!==Z&&Z!==N&&N&&(z(null),B(!1)),X(N)}),[N,Z]);var Q=(null==c?void 0:c.length)||0,ee=W?e.createElement(O.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(f.a)(Object(p.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(p.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Q,A),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},j&&e.createElement(v.a,{error:j}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},U&&k?e.createElement(_.a,{noPrefix:!0,message:k}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(b.Button,{tertiary:!0,onClick:Y,disabled:T},Object(p.__)("Cancel","google-site-kit")),e.createElement(b.SpinnerButton,{onClick:K,isSaving:T,disabled:Q<S||Q>A||T||!N&&V},F||H))))}SelectionPanelFooter.propTypes={savedItemSlugs:g.a.array,selectedItemSlugs:g.a.array,saveSettings:g.a.func,saveError:g.a.object,itemLimitError:g.a.string,minSelectedItemCount:g.a.number,maxSelectedItemCount:g.a.number,isBusy:g.a.bool,onSaveSuccess:g.a.func,onCancel:g.a.func,isOpen:g.a.bool,closePanel:g.a.func}}).call(this,n(4))},343:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var r=n(12),i=n.n(r),o=n(1),a=n.n(o),c=n(344);function SelectionPanel(t){var n=t.children,r=t.isOpen,o=t.onOpen,a=t.closePanel,s=t.className;return e.createElement(c.a,{className:i()("googlesitekit-selection-panel",s),isOpen:r,onOpen:o,closeSheet:a,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:a.a.node,isOpen:a.a.bool,onOpen:a.a.func,closePanel:a.a.func,className:a.a.string}}).call(this,n(4))},344:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var r=n(7),i=n.n(r),o=n(12),a=n.n(o),c=n(405),s=n.n(c),l=n(1),u=n.n(l),g=n(217),d=n(401),f=n(0),p=n(56),m=n(76);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,r=t.children,i=t.isOpen,o=t.onOpen,c=void 0===o?function(){}:o,l=t.closeSheet,u=void 0===l?function(){}:l,b=t.focusTrapOptions,h=void 0===b?{}:b,y=Object(f.useRef)();return Object(f.useEffect)((function(){i?(c(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[i,c]),Object(g.a)(y,u),Object(d.a)((function(e){return i&&p.c===e.keyCode}),u),e.createElement(m.a,null,e.createElement(s.a,{active:!!i,focusTrapOptions:v({fallbackFocus:"body"},h)},e.createElement("section",{ref:y,className:a()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":i}),role:"dialog","aria-modal":"true","aria-hidden":!i,tabIndex:"0"},r)),i&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},345:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(10);function SelectionBox(t){var n=t.badge,r=t.checked,i=t.children,o=t.disabled,s=t.id,l=t.onChange,u=t.title,g=t.value;return e.createElement("div",{className:a()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":o})},e.createElement(c.Checkbox,{checked:r,description:i,disabled:o,id:s,name:s,onChange:l,value:g,badge:n},u))}SelectionBox.propTypes={badge:i.a.node,checked:i.a.bool,children:i.a.node,disabled:i.a.bool,id:i.a.string,onChange:i.a.func,title:i.a.string,value:i.a.string}}).call(this,n(4))},349:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return GoogleChart}));var i=n(7),o=n.n(i),a=n(27),c=n.n(a),s=n(21),l=n.n(s),u=n(15),g=n.n(u),d=n(23),f=n.n(d),p=(n(576),n(12)),m=n.n(p),b=n(11),v=n.n(b),h=n(1),y=n.n(h),O=n(408),_=n(91),j=n(200),k=n(0),E=n(40),S=n(6),w=n(112),A=n(3),T=n(493),C=n(494),D=n(24),R=n(18),P=n(169),N=n(249),x=n(8),I=n(25);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GoogleChart(t){var n=t.chartEvents,i=t.chartType,o=t.children,a=t.className,s=t.data,u=t.dateMarkers,d=t.getChartWrapper,p=t.height,b=t.loaded,h=t.loadingHeight,y=t.loadingWidth,L=t.onMouseOver,M=t.onMouseOut,F=t.onReady,z=t.onSelect,G=t.selectedStats,q=t.width,V=t.options,B=t.gatheringData,W=f()(t,["chartEvents","chartType","children","className","data","dateMarkers","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),U=Object(j.a)(GoogleChart),H=Object(I.e)(),K=Object(A.useSelect)((function(e){return e(S.a).getDateRangeDates({offsetDays:0})})),Y=K.startDate,$=K.endDate,J=Object(R.a)(),Z=Object(A.useSelect)((function(e){return e(D.b).getValue("googleChartsCollisionError")})),X=Object(k.useState)(!1),Q=g()(X,2),ee=Q[0],te=Q[1],ne=Object(A.useDispatch)(D.b).setValue,re=Object(N.d)(s,G),ie="PieChart"===i?"circular":"square",oe=Object(N.e)(h,p,y,q),ae=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(E.a,l()({className:"googlesitekit-chart-loading__wrapper",shape:ie},oe))),ce=Object(k.useRef)(),se=Object(k.useRef)();Object(_.a)((function(){var e,t,n,i;void 0===Z&&(Object(P.a)(J)&&(null===(e=r)||void 0===e||null===(t=e.google)||void 0===t?void 0:t.charts)&&(r.google.charts=void 0),!Object(P.a)(J)&&(null===(n=r)||void 0===n||null===(i=n.google)||void 0===i?void 0:i.charts)?ne("googleChartsCollisionError",!0):ne("googleChartsCollisionError",!1))})),Object(k.useEffect)((function(){return function(){if(se.current&&ce.current){var e=se.current.visualization.events;e.removeAllListeners(ce.current.getChart()),e.removeAllListeners(ce.current)}}}),[]),Object(k.useLayoutEffect)((function(){var e,t;L&&(null===(e=se.current)||void 0===e||e.visualization.events.addListener(ce.current.getChart(),"onmouseover",(function(e){L(e,{chartWrapper:ce.current,google:se.current})})));M&&(null===(t=se.current)||void 0===t||t.visualization.events.addListener(ce.current.getChart(),"onmouseout",(function(e){M(e,{chartWrapper:ce.current,google:se.current})})))}),[L,M]);var le=u.filter((function(e){return!!((t=new Date(e.date))&&Y&&$)&&!(t.getTime()<Object(x.H)(Y).getTime()||t.getTime()>Object(x.H)($).getTime());var t}));if(Z)return null;if(!b)return e.createElement("div",{className:m()("googlesitekit-chart","googlesitekit-chart-loading__forced",a)},ae);var ue=Object(N.b)([].concat(c()(n||[]),[{eventName:"ready",callback:function(){var e;if(ce.current&&le.length){var t=ce.current.getChart(),n=null==t?void 0:t.getChartLayoutInterface(),r=null==n?void 0:n.getChartAreaBoundingBox(),i=ce.current.getDataTable();if(n&&r&&i){le.forEach((function(e,t){var i=new Date(e.date),o=document.getElementById("googlesitekit-chart__date-marker-line--".concat(U,"-").concat(t));v()(o,"#googlesitekit-chart__date-marker-line--".concat(U,"-").concat(t," is missing from the DOM, but required to render date markers."));var a=Math.floor(n.getXLocation(Object(x.H)(Object(x.q)(i))));if(Object.assign(o.style,{left:"".concat(a-1,"px"),top:"".concat(Math.floor(r.top),"px"),height:"".concat(Math.floor(r.height),"px"),opacity:1}),e.text){var c=document.getElementById("googlesitekit-chart__date-marker-tooltip--".concat(U,"-").concat(t));v()(c,"#googlesitekit-chart__date-marker-tooltip--".concat(U,"-").concat(t," is missing from the DOM, but required to render date marker tooltips.")),Object.assign(c.style,{left:"".concat(a-9,"px"),top:"".concat(Math.floor(r.top)-18,"px"),opacity:1})}}));var o=null===(e=document.querySelector("#googlesitekit-chart-".concat(U," svg:first-of-type > g:first-of-type > g > g > text")))||void 0===e?void 0:e.parentElement.parentElement.parentElement;!!o&&document.querySelectorAll("#googlesitekit-chart-".concat(U," svg:first-of-type > g")).length>=3&&(o.style.transform="translateY(-10px)")}}}}]),F,z),ge=Object(N.a)(V,B,i,Y,$,H);return e.createElement(T.a,null,e.createElement("div",{className:m()("googlesitekit-chart","googlesitekit-chart--".concat(i),a),id:"googlesitekit-chart-".concat(U),tabIndex:-1},e.createElement(O.a,l()({className:"googlesitekit-chart__inner",chartEvents:ue,chartLanguage:Object(x.s)(),chartType:i,chartVersion:"49",data:re,loader:ae,height:p,getChartWrapper:function(e,t){var n,r,i;(ee||te(!0),e!==ce.current)&&(null===(n=se.current)||void 0===n||n.visualization.events.removeAllListeners(null===(r=ce.current)||void 0===r?void 0:r.getChart()),null===(i=se.current)||void 0===i||i.visualization.events.removeAllListeners(ce.current));ce.current=e,se.current=t,d&&d(e,t)},width:q,options:ge},W)),B&&ee&&e.createElement(w.b,{style:w.a.OVERLAY}),!!le.length&&le.map((function(t,n){return e.createElement(C.a,{key:"googlesitekit-chart__date-marker--".concat(U,"-").concat(n),id:"".concat(U,"-").concat(n),text:t.text})})),o))}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,dateMarkers:y.a.arrayOf(y.a.shape({date:y.a.string.isRequired,text:y.a.string})),getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=M(M({},O.a.defaultProps),{},{dateMarkers:[],gatheringData:!1,loaded:!0})}).call(this,n(4),n(26))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(22),i=n(18);function o(){var e=Object(i.a)();return r.g.includes(e)}},354:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},357:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return s.a}));var r=n(2);function i(e){var t,n,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.keyColumnIndex,c=void 0===a?0:a,s=o.maxSlices,l=o.withOthers,u=void 0!==l&&l,g=o.tooltipCallback,d=e||{},f=d.rows,p=void 0===f?[]:f,m=d.totals,b=void 0===m?[]:m,v="function"==typeof g,h=["Source","Percent"];v&&h.push({type:"string",role:"tooltip",p:{html:!0}});var y=(null==b||null===(t=b[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[c])||void 0===i?void 0:i.value)||0,O=[h],_=p.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),j=u,k=_.length,E=1;s>0?(j=u&&_.length>s,k=Math.min(_.length,j?s-1:s)):(j=!1,k=_.length);for(var S=function(e){var t=_[e],n=t.metricValues[c].value,r=y>0?n/y:0;E-=r;var i=[t.dimensionValues[0].value,r];if(v){var o=p.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));i.push(g(t,o,i))}O.push(i)},w=0;w<k;w++)S(w);if(j&&E>0){var A=[Object(r.__)("Others","google-site-kit"),E];v&&A.push(g(null,null,A)),O.push(A)}return O}var o=function(e){var t,n,r,i,o,a,c;if(void 0!==e){var s=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==s?void 0:s.length)||(null==s||null===(t=s[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===(null==e||null===(i=e.totals)||void 0===i||null===(o=i[0])||void 0===o||null===(a=o.metricValues)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.value)}},a=n(372),c=n(228),s=(n(95),n(272),n(430))},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},o=i.activeModules,a=void 0===o?[]:o,c=i.isSiteKitScreen,s=i.trackingEnabled,l=i.trackingID,u=i.referenceSiteURL,g=i.userIDHash,d=i.isAuthenticated,f={activeModules:a,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:g,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():b()}c&&s&&v()}).call(this,n(26))},360:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAContent}));var r=n(15),i=n.n(r),o=n(12),a=n.n(o),c=n(1),s=n.n(c),l=n(222),u=n(79),g=n(0),d=n(3),f=n(14),p=n(6),m=n(25),b=n(8),v=n(18),h=n(17),y=n(433),O=n(434),_=n(435),j=n(436);function KeyMetricsCTAContent(t){var n=t.className,r=t.title,o=t.description,c=t.actions,s=t.ga4Connected,k=Object(g.useRef)(),E=Object(m.e)(),S=Object(u.a)(),w=Object(v.a)(),A=E===m.b,T=E===m.c&&S<960,C=S>=1280,D=S>=960&&S<1280;s||(T=E===m.c&&S<800,D=S>=800&&S<1280);var R=Object(l.a)(k,{threshold:.25}),P=Object(g.useState)(!1),N=i()(P,2),x=N[0],I=N[1],L=!!(null==R?void 0:R.intersectionRatio),M=Object(d.useDispatch)(p.a).triggerSurvey,F=Object(d.useSelect)((function(e){return e(f.c).isUsingProxy()}));return Object(g.useEffect)((function(){L&&!x&&(s&&Object(b.J)("".concat(w,"_kmw-cta-notification"),"view_notification"),F&&M("view_kmw_setup_cta",{ttl:b.g}),I(!0))}),[L,w,s,x,F,M]),e.createElement("section",{ref:k,className:a()("googlesitekit-setup__wrapper","googlesitekit-setup__wrapper--key-metrics-setup-cta",n)},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{smSize:5,mdSize:6,lgSize:5,className:"googlesitekit-widget-key-metrics-content__wrapper"},e.createElement("div",{className:"googlesitekit-widget-key-metrics-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},r),e.createElement("p",null,o)),e.createElement("div",{className:"googlesitekit-widget-key-metrics-actions__wrapper"},c),T&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(_.a,null)),A&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(j.a,null))),D&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(O.a,null)),C&&e.createElement(h.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper",smSize:6,mdSize:3,lgSize:6},e.createElement(y.a,null)))))}KeyMetricsCTAContent.propTypes={title:s.a.string,description:s.a.string,actions:s.a.node}}).call(this,n(4))},361:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAFooter}));var r=n(1),i=n.n(r),o=n(2),a=n(17),c=n(20);function KeyMetricsCTAFooter(t){var n=t.onActionClick,r=void 0===n?function(){}:n,i=t.showDismiss;return e.createElement(a.k,{className:"googlesitekit-widget-key-metrics-footer"},e.createElement(a.a,{size:12,className:"googlesitekit-widget-key-metrics-footer__cta-wrapper"},!i&&e.createElement("span",null,Object(o.__)("Interested in specific metrics?","google-site-kit")),e.createElement(c.a,{onClick:r},i?Object(o.__)("Maybe later","google-site-kit"):Object(o.__)("Select your own metrics","google-site-kit"))))}KeyMetricsCTAFooter.propTypes={onActionClick:i.a.func}}).call(this,n(4))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Chip}));var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(10),s=n(30),l=n(440);function Chip(t){var n=t.slug,r=t.label,i=t.isActive,o=t.onClick,u=t.selectedCount;return e.createElement(c.Button,{className:a()("googlesitekit-chip-tab-group__chip-item",{"googlesitekit-chip-tab-group__chip-item--active":i}),icon:n===s.b?e.createElement(l.a,{width:12,height:12}):null,trailingIcon:u>0?e.createElement("span",{className:"googlesitekit-chip-tab-group__chip-item-count"},"(",u,")"):null,onClick:function(){return o(n)}},r)}Chip.propTypes={slug:i.a.string.isRequired,label:i.a.string.isRequired,isActive:i.a.bool,selectedCount:i.a.number.isRequired,onClick:i.a.func.isRequired}}).call(this,n(4))},367:function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"a",(function(){return m}));var r=n(13),i=n(8);function o(e){if(void 0!==e)return!Array.isArray(e)||!e.length||!e.some((function(e){return e.clicks>0||e.ctr>0||e.impressions>0||e.position>0}))}var a=n(12),c=n.n(a),s=n(2),l=function(e,t,n,r,o){var a=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:"number",label:n},{type:"number",label:Object(s.__)("Previous period","google-site-kit")}]],l=Object(i.s)(),u={weekday:"short",month:"short",day:"numeric"};return e.forEach((function(e,g){var d,f,p=e[r],m=e.keys[0],b=(null===(d=t[g])||void 0===d?void 0:d[r])||0,v=(null===(f=t[g])||void 0===f?void 0:f.keys[0])||Object(i.t)(m,o),h=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),Object(i.H)(m).toLocaleDateString(l,u),Object(i.H)(v).toLocaleDateString(l,u)),y=Object(i.h)(b,p),O=Object(i.i)(p,b),_=Object(i.p)(O),j=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,Math.abs(p).toFixed(2).replace(/(.00|0)$/,""),_,Object(i.C)(y));a.push([Object(i.H)(m),'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":O>0,"googlesitekit-visualization-tooltip--down":O<0}),'">\n\t\t\t\t<p>').concat(h,"</p>\n\t\t\t\t<p>").concat(j,"</p>\n\t\t\t</div>"),p,b])})),a},u=n(11),g=n.n(u),d=function(e){var t=e.startDate,n=e.endDate;return g()(Object(i.x)(t),"A valid startDate is required."),g()(Object(i.x)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}};function f(e){return"string"==typeof e&&e.length>0}function p(e){var t=[[{type:"string",label:"Day"},{type:"number",label:"Clicks"},{type:"number",label:"Impressions"},{type:"number",label:"CTR"},{type:"number",label:"Position"}]],n=0,o=0,a=0,c=0,s=e.length;return Object(r.each)(e,(function(e){var s=Object(i.H)(e.keys[0]);t.push([s.getMonth()+1+"/"+s.getUTCDate(),e.clicks,e.impressions,Object(r.round)(e.ctr,3),Object(r.round)(e.position,3)]),n+=e.clicks,o+=e.impressions,a+=e.ctr,c+=e.position})),{dataMap:t,totalClicks:n,totalImpressions:o,averageCTR:s>0?a/s:0,averagePosition:s>0?c/s:0}}var m=function(e,t){var n=Object(i.E)(e,{dateRangeLength:t}),r=n.compareRange,o=p(n.currentRange),a=p(r);return{dataMap:o.dataMap,totalClicks:o.totalClicks,totalImpressions:o.totalImpressions,averageCTR:o.averageCTR,averagePosition:o.averagePosition,totalClicksChange:Object(i.h)(a.totalClicks,o.totalClicks),totalImpressionsChange:Object(i.h)(a.totalImpressions,o.totalImpressions),averageCTRChange:Object(i.h)(a.averageCTR,o.averageCTR),averagePositionChange:Object(i.h)(a.averagePosition,o.averagePosition)}}},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},372:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},376:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(3),i=n(19),o=n(6),a=n(30),c=n(9),s=n(64);function l(){return Object(r.useSelect)((function(e){var t=e(o.a).isItemDismissed(a.l),n=u(e,"search-console",s.b),r=u(e,"analytics-4",c.p);return!1===t&&n&&r}),[])}function u(e,t,n){if(e(i.a).isModuleConnected(t)){var r=e(n),o=r.isGatheringData,a=r.isDataAvailableOnLoad;return o(),a()}}},377:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var r=n(271),i=n(3),o=n(24),a="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(i.useDispatch)(o.b).setValue;return Object(r.a)((function(){e(a,!0)})),null}},378:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var r=n(7),i=n.n(r),o=n(27),a=n.n(o),c=n(1),s=n.n(c),l=n(0),u=n(2),g=n(3),d=n(28),f=n(46),p=n(19),m=n(30),b=n(115);function MetricItem(t){var n=t.slug,r=t.title,o=t.description,c=t.savedItemSlugs,s=void 0===c?[]:c,v=Object(g.useSelect)((function(e){var t=e(p.a).getModule,r=e(f.a).getWidget(n);return null==r?void 0:r.modules.reduce((function(e,n){var r=t(n);return(null==r?void 0:r.connected)||!(null==r?void 0:r.name)?e:[].concat(a()(e),[r.name])}),[])})),h=Object(g.useSelect)((function(e){return e(d.a).getValue(m.j,m.i)})),y=Object(g.useSelect)((function(e){return e(d.a)})).getValue,O=Object(g.useDispatch)(d.a).setValues,_=Object(l.useCallback)((function(e){var t=y(m.j,m.i);O(m.j,i()({},m.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[y,O,n]),j=null==h?void 0:h.includes(n),k=!s.includes(n)&&v.length>0,E="key-metric-selection-checkbox-".concat(n);return e.createElement(b.c,{id:E,slug:n,title:r,description:o,isItemSelected:j,isItemDisabled:k,onCheckboxChange:_},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:s.a.string.isRequired,title:s.a.string.isRequired,description:s.a.string.isRequired,savedItemSlugs:s.a.array}}).call(this,n(4))},379:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),i=n(3),o=n(6),a=n(19),c=n(32);function s(e){var t=Object(i.useSelect)((function(e){return e(o.a).hasCapability(o.K)})),n=Object(i.useSelect)((function(t){return t(a.a).getModuleStoreName(e)})),s=Object(i.useSelect)((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),l=Object(i.useDispatch)(c.a).navigateTo,u=Object(r.useCallback)((function(){return l(s)}),[s,l]);return s&&t?u:null}},382:function(e,t){e.exports=googlesitekit.widgets},384:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(0);function Sparkline(t){var n=t.sparkline,r=t.invertChangeColor,i=n;return i&&r&&(i=Object(o.cloneElement)(n,{invertChangeColor:r})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},i)}Sparkline.propTypes={sparkline:i.a.element,invertChangeColor:i.a.bool},t.a=Sparkline}).call(this,n(4))},385:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(2),s=n(8),l=n(86);function Change(t){var n=t.change,r=t.changeDataUnit,i=t.period,o=t.invertChangeColor,u=n;return r&&(u="%"===r?Object(s.C)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(s.C)(n,r)),i&&(u=Object(c.sprintf)(i,u)),e.createElement("div",{className:a()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(l.a,{direction:0<parseFloat(n)?"up":"down",invertColor:o})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))}Change.propTypes={change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),period:i.a.string,invertChangeColor:i.a.bool},t.a=Change}).call(this,n(4))},396:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PreviewGraph}));var r=n(1),i=n.n(r),o=n(562);function PreviewGraph(t){var n=t.title,r=t.GraphSVG,i=t.showIcons;return e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph"},e.createElement("h3",{className:"googlesitekit-analytics-cta__preview-graph--title"},n),e.createElement("div",null,e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph--icons"},e.createElement(o.a,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),e.createElement("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})))}PreviewGraph.propTypes={title:i.a.string.isRequired,GraphSVG:i.a.elementType.isRequired,showIcons:i.a.bool},PreviewGraph.defaultProps={showIcons:!0}}).call(this,n(4))},40:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,r,o=t.className,a=t.width,c=t.height,u=t.shape,g=t.padding,d=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),y={width:(n={},i()(n,l.b,d),i()(n,l.c,p),i()(n,l.a,b),i()(n,l.d,b),n),height:(r={},i()(r,l.b,f),i()(r,l.c,m),i()(r,l.a,v),i()(r,l.d,b),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",o,{"googlesitekit-preview-block--padding":g}),style:{width:y.width[h]||a,height:y.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:a.a.string,width:a.a.string,height:a.a.string,shape:a.a.string,padding:a.a.bool,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},403:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(40);function PreviewTable(t){for(var n=t.rows,r=t.rowHeight,i=t.padding,o=[],s=0;n>s;s++)o.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:r+"px"})));return e.createElement("div",{className:a()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":i})},o)}PreviewTable.propTypes={rows:i.a.number,rowHeight:i.a.number,padding:i.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(4))},406:function(e,t,n){"use strict";n.d(t,"c",(function(){return r.a})),n.d(t,"d",(function(){return ZeroDataMessage})),n.d(t,"a",(function(){return l.a})),n.d(t,"b",(function(){return u.a}));var r=n(891),i=n(1),o=n.n(i),a=n(2),c=n(3),s=n(14);function ZeroDataMessage(e){var t=e.skipPrefix,n=Object(c.useSelect)((function(e){return e(s.c).getCurrentEntityURL()}));return t?n?Object(a.__)("Your page hasn’t appeared in Search yet","google-site-kit"):Object(a.__)("Your site hasn’t appeared in Search yet","google-site-kit"):n?Object(a.__)("No data to display: your page hasn’t appeared in Search yet","google-site-kit"):Object(a.__)("No data to display: your site hasn’t appeared in Search yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:o.a.bool};var l=n(892),u=n(893)},415:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeMetricsLink}));var r=n(0),i=n(2),o=n(3),a=n(24),c=n(6),s=n(30),l=n(20),u=n(275),g=n(432),d=n(8),f=n(18),p=n(496);function ChangeMetricsLink(){var t=Object(o.useSelect)((function(e){return e(c.a).getKeyMetrics()})),n=Object(f.a)(),m=Object(o.useDispatch)(a.b).setValue,b=Object(r.useCallback)((function(){m(s.k,!0),Object(d.J)("".concat(n,"_kmw"),"change_metrics")}),[m,n]),v=Array.isArray(t)&&(null==t?void 0:t.length)>0;return Object(p.a)(v),v?e.createElement(r.Fragment,null,e.createElement(l.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:b,leadingIcon:e.createElement(u.a,{width:22,height:22})},Object(i.__)("Change metrics","google-site-kit")),e.createElement(g.a,null)):null}}).call(this,n(4))},416:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InsufficientPermissionsError}));var r=n(1),i=n.n(r),o=n(0),a=n(38),c=n(2),s=n(3),l=n(14),u=n(20),g=n(264),d=n(8),f=n(18);function InsufficientPermissionsError(t){var n=t.moduleSlug,r=t.onRetry,i=t.infoTooltip,p=t.headerText,m=Object(f.a)(),b=Object(s.useSelect)((function(e){return e(l.c).getErrorTroubleshootingLinkURL({code:"".concat(n,"_insufficient_permissions")})}));Object(o.useEffect)((function(){Object(d.K)("".concat(m,"_kmw"),"insufficient_permissions_error")}),[m]);var v=Object(o.useCallback)((function(){Object(d.J)("".concat(m,"_kmw"),"insufficient_permissions_error_retry"),null==r||r()}),[r,m]);return e.createElement(g.a,{title:Object(c.__)("Insufficient permissions","google-site-kit"),headerText:p,infoTooltip:i},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(a.a)(Object(c.__)("Permissions updated? <a>Retry</a>","google-site-kit"),{a:e.createElement(u.a,{onClick:v})})),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(a.a)(Object(c.__)("You’ll need to contact your administrator. <a>Learn more</a>","google-site-kit"),{a:e.createElement(u.a,{href:b,external:!0,hideExternalIndicator:!0})}))))}InsufficientPermissionsError.propTypes={moduleSlug:i.a.string.isRequired,onRetry:i.a.func.isRequired,headerText:i.a.string,infoTooltip:i.a.string}}).call(this,n(4))},417:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),o=n(16),a=n.n(o),c=n(1),s=n.n(c),l=n(91),u=n(2),g=n(0),d=n(3),f=n(10),p=n(360),m=n(361),b=n(6),v=n(14),h=n(30),y=n(24),O=n(54),_=n(110),j=n(8),k=n(18),E=n(376),S=n(377);function KeyMetricsSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,o=Object(k.a)(),c=Object(E.a)(),s=Object(d.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-user-input")})),O=Object(_.b)(h.l),w=Object(_.c)(h.l).isTooltipVisible,A=Object(d.useDispatch)(b.a).dismissItem,T=Object(d.useDispatch)(y.b).setValue,C=function(){var e=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.J)("".concat(o,"_kmw-cta-notification"),"dismiss_notification");case 2:return O(),e.next=5,A(h.l);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=Object(g.useCallback)((function(){Object(j.J)("".concat(o,"_kmw"),"tooltip_dismiss")}),[o]),R=Object(g.useCallback)((function(){T(h.k,!0),Object(j.J)("".concat(o,"_kmw-cta-notification"),"confirm_pick_own_metrics")}),[T,o]),P=Object(g.useCallback)((function(){Object(j.J)("".concat(o,"_kmw-cta-notification"),"confirm_get_tailored_metrics")}),[o]);return Object(l.a)((function(){w&&Object(j.J)("".concat(o,"_kmw"),"tooltip_view")})),w?e.createElement(g.Fragment,null,e.createElement(r,null),e.createElement(_.a,{title:Object(u.__)("You can always set up goals from Settings later","google-site-kit"),content:Object(u.__)("The Key Metrics section will be added back to your dashboard once you set your goals in Settings","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),tooltipStateKey:h.l,onDismiss:D})):c?e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(m.a,{onActionClick:R})}},e.createElement(p.a,{title:Object(u.__)("Get personalized suggestions for user interaction metrics based on your goals","google-site-kit"),description:Object(u.__)("Answer 3 questions and we’ll suggest relevant metrics for your dashboard. These metrics will help you track how users interact with your site.","google-site-kit"),actions:e.createElement(g.Fragment,null,e.createElement(S.b,null),e.createElement(f.Button,{className:"googlesitekit-key-metrics-cta-button",href:s,onClick:P},Object(u.__)("Get tailored metrics","google-site-kit")),e.createElement(f.Button,{tertiary:!0,onClick:C},Object(u.__)("Maybe later","google-site-kit"))),ga4Connected:!0})):e.createElement(r,null)}KeyMetricsSetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType},t.a=Object(O.a)({moduleName:"analytics-4"})(KeyMetricsSetupCTAWidget)}).call(this,n(4))},418:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileNumeric}));var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(8),u=n(171),g=n(189);function MetricTileNumeric(t){var n=t.metricValue,r=t.metricValueFormat,o=t.subText,c=t.previousValue,s=t.currentValue,d=a()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),f=Object(l.n)(r);return e.createElement(g.a,i()({className:"googlesitekit-km-widget-tile--numeric"},d),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},Object(l.C)(n,f)),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},o)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(u.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==f?void 0:f.style)})))}MetricTileNumeric.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),metricValueFormat:s.a.oneOfType([s.a.string,s.a.object]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},419:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTable}));var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(1),s=n.n(c),l=n(13),u=n(12),g=n.n(u),d=n(189);function MetricTileTable(t){var n=t.rows,r=void 0===n?[]:n,o=t.columns,c=void 0===o?[]:o,s=t.limit,u=t.ZeroState,f=a()(t,["rows","columns","limit","ZeroState"]),p=null;return(null==r?void 0:r.length)>0?p=r.slice(0,s||r.length).map((function(t,n){return e.createElement("div",{key:n,className:"googlesitekit-table__body-row"},c.map((function(n,r){var i=n.Component,o=n.field,a=n.className,c=void 0!==o?Object(l.get)(t,o):void 0;return e.createElement("div",{key:r,className:g()("googlesitekit-table__body-item",a)},i&&e.createElement(i,{row:t,fieldValue:c}),!i&&c)})))})):u&&(p=e.createElement("div",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("div",{className:"googlesitekit-table__body-zero-data"},e.createElement(u,null)))),e.createElement(d.a,i()({className:"googlesitekit-km-widget-tile--table"},f),e.createElement("div",{className:"googlesitekit-km-widget-tile__table"},p))}MetricTileTable.propTypes={rows:s.a.array,columns:s.a.array,limit:s.a.number,ZeroState:s.a.elementType}}).call(this,n(4))},42:function(e,t){e.exports=googlesitekit.api},420:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTablePlainText}));var r=n(1),i=n.n(r);function MetricTileTablePlainText(t){var n=t.content;return e.createElement("p",{className:"googlesitekit-km-widget-tile__table-plain-text"},n)}MetricTileTablePlainText.propTypes={content:i.a.string.isRequired}}).call(this,n(4))},421:function(e,t,n){"use strict";(function(e){n(21),n(27),n(15),n(0),n(2),n(3),n(30),n(28),n(364),n(378),n(441),n(25)}).call(this,n(4))},430:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(27),i=n.n(r),o=n(12),a=n.n(o),c=n(13),s=n(2),l=n(82),u=n(8),g=n(15),d=n.n(g),f=n(11),p=n.n(f);function m(e,t){var n=t.dateRangeLength;p()(Array.isArray(e),"report must be an array to partition."),p()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=function(t){return e.filter((function(e){return d()(e.dimensionValues,2)[1].value===t}))},i=-1*n;return{currentRange:r("date_range_0").slice(i),compareRange:r("date_range_1").slice(2*i,i)}}var b=n(354);function v(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var r=e.metricValues[t].value,i=e.dimensionValues[0].value,o=Object(b.a)(i);n.push([o,r])}})),n}function h(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Engagement Rate","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],d=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],f=i()((null==e?void 0:e.rows)||[]),p=f.length;if(2*n>p){for(var b=Object(u.H)(r),h=0;n>h;h++){var y=(b.getMonth()+1).toString(),O=b.getDate().toString(),_=b.getFullYear().toString()+(2>y.length?"0":"")+y+(2>O.length?"0":"")+O;if(h>p){var j=[{dimensionValues:[{value:_},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:_},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];f.unshift.apply(f,j)}b.setDate(b.getDate()-1)}f.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var k=o[t]===Object(s.__)("Session Duration","google-site-kit"),E=k?"timeofday":"number",S=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:E,label:o[t]},{type:E,label:Object(s.__)("Previous period","google-site-kit")}]],w=m(f,{dateRangeLength:n}),A=w.compareRange,T=w.currentRange,C=v(T,t),D=v(A,t),R=Object(l.b)(),P={weekday:"short",month:"short",day:"numeric"};return C.forEach((function(e,n){if(e[0]&&e[1]&&D[n]){var r=d[t],i=r(e[1]),c=r(D[n][1]),l=parseFloat(c),f=Object(u.i)(i,l),p=Object(u.p)(f),m=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(R,P),D[n][0].toLocaleDateString(R,P)),b=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),o[t],g[t](i),p,Object(u.C)(Math.abs(f),"%"));S.push([e[0],'<div class="'.concat(a()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":f>0,"googlesitekit-visualization-tooltip--down":f<0}),'">\n\t\t\t\t<p>').concat(m,"</p>\n\t\t\t\t<p>").concat(b,"</p>\n\t\t\t</div>"),k?Object(u.k)(i):i,k?Object(u.k)(c):c])}})),S}},432:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupCompletedSurveyTrigger}));var r=n(0),i=n(3),o=n(14),a=n(6),c=n(8),s=n(205);function SetupCompletedSurveyTrigger(){var t=Object(i.useSelect)((function(e){return e(o.c).isKeyMetricsSetupCompleted()})),n=Object(i.useSelect)((function(e){return e(o.c).getKeyMetricsSetupCompletedBy()})),l=Object(i.useSelect)((function(e){return e(a.a).getID()}));return t?e.createElement(r.Fragment,null,e.createElement(s.a,{triggerID:"view_kmw",ttl:c.g}),n===l&&e.createElement(s.a,{triggerID:"view_kmw_setup_completed",ttl:c.g})):null}}).call(this,n(4))},433:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupDesktopSVG}));var r=n(0),i=n(2),o=n(40),a=n(139),c=Object(r.lazy)((function(){return n.e(37).then(n.bind(null,793))}));function KeyMetricsSetupDesktopSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"235px"})},e.createElement(a.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},434:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupSmallDesktopSVG}));var r=n(0),i=n(2),o=n(40),a=n(139),c=Object(r.lazy)((function(){return n.e(39).then(n.bind(null,794))}));function KeyMetricsSetupSmallDesktopSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"235px"})},e.createElement(a.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},435:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupTabletSVG}));var r=n(0),i=n(2),o=n(40),a=n(139),c=Object(r.lazy)((function(){return n.e(40).then(n.bind(null,795))}));function KeyMetricsSetupTabletSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"235px"})},e.createElement(a.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},436:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupMobileSVG}));var r=n(0),i=n(2),o=n(40),a=n(139),c=Object(r.lazy)((function(){return n.e(38).then(n.bind(null,796))}));function KeyMetricsSetupMobileSVG(){return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"235px"})},e.createElement(a.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},437:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r=n(1),i=n.n(r),o=n(38),a=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(o.a)( /* translators: %s: get help text. */ Object(a.__)("Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(a.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:i.a.string.isRequired}}).call(this,n(4))},438:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileLoader}));var r=n(40);function MetricTileLoader(){return e.createElement("div",{className:"googlesitekit-km-widget-tile__loading"},e.createElement(r.a,{className:"googlesitekit-km-widget-tile__loading-header",width:"100%",height:"14px"}),e.createElement(r.a,{className:"googlesitekit-km-widget-tile__loading-body",width:"100%",height:"53px"}))}}).call(this,n(4))},439:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileHeader}));var r=n(1),i=n.n(r),o=n(122),a=n(105);function MetricTileHeader(t){var n=t.title,r=t.infoTooltip,i=t.loading;return e.createElement("div",{className:"googlesitekit-km-widget-tile__title-container"},e.createElement("h3",{className:"googlesitekit-km-widget-tile__title"},n),i?e.createElement(a.a,null,e.createElement(o.a,{title:r})):e.createElement(o.a,{title:r}))}MetricTileHeader.propTypes={title:i.a.string,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),loading:i.a.bool}}).call(this,n(4))},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var o=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return t instanceof Set&&t.has(e)}}).call(this,n(26))},440:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M2 5.309l1.474 2.14c.69 1.001 1.946 1.001 2.636 0L10 1.8",stroke:"#161B18",strokeWidth:1.6,strokeLinecap:"square"});t.a=function SvgCheck2(e){return r.createElement("svg",i({viewBox:"0 0 12 9",fill:"none"},e),o)}},441:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M59.238 58.571c-2.136 20.178 4.272 29.099 20.48 53.216 16.209 24.118-29.092 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.443-3.208 57.819 12.98 90.86 5.9 33.04-7.08 46.385-42.599 43.153-68.059-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86-18.53 5.918-32.662 22.571-34.335 38.621z",fill:"#B8E6CA"}),a=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter0_d_2200_11981)"},r.createElement("rect",{x:242.455,y:45.266,width:130.621,height:89.651,rx:10.957,transform:"rotate(15 242.455 45.266)",fill:"#fff"})),c=r.createElement("rect",{x:253.726,y:64.785,width:24.903,height:7.969,rx:3.985,transform:"rotate(15 253.726 64.785)",fill:"#EBEEF0"}),s=r.createElement("rect",{x:249.342,y:81.144,width:49.806,height:19.923,rx:9.961,transform:"rotate(15 249.342 81.144)",fill:"#FFDED3"}),l=r.createElement("rect",{x:240.436,y:114.357,width:99.428,height:8.773,rx:3.985,transform:"rotate(15 240.436 114.357)",fill:"#EBEEF0"}),u=r.createElement("path",{d:"M256.195 90.198l4.644 8.044m0 0l1.412-4.986m-1.412 4.986l-5.023-1.27",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),g=r.createElement("rect",{x:268.706,y:93.551,width:19.923,height:5.977,rx:1.992,transform:"rotate(15 268.706 93.55)",fill:"#fff"}),d=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter1_d_2200_11981)"},r.createElement("rect",{x:13.887,y:79.094,width:130.621,height:89.68,rx:10.957,transform:"rotate(-15 13.887 79.094)",fill:"#fff"})),f=r.createElement("rect",{x:32.989,y:90.122,width:62.386,height:7.798,rx:3.899,transform:"rotate(-15 32.99 90.122)",fill:"#EBEEF0"}),p=r.createElement("rect",{x:37.691,y:106.902,width:49.806,height:19.923,rx:9.961,transform:"rotate(-15 37.691 106.902)",fill:"#FFDED3"}),m=r.createElement("rect",{x:46.612,y:140.967,width:99.428,height:7.798,rx:3.899,transform:"rotate(-15 46.612 140.967)",fill:"#EBEEF0"}),b=r.createElement("path",{d:"M48.152 111.318l8.044 4.645m0 0l-1.27-5.024m1.27 5.024l-4.986 1.411",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),v=r.createElement("rect",{x:60.663,y:107.966,width:19.923,height:5.977,rx:1.992,transform:"rotate(-15 60.663 107.966)",fill:"#fff"}),h=r.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter2_d_2200_11981)"},r.createElement("rect",{x:126.251,y:37.4,width:130.621,height:89.68,rx:10.957,fill:"#fff"})),y=r.createElement("rect",{x:143.013,y:53.134,width:98.333,height:7.867,rx:3.933,fill:"#EBEEF0"}),O=r.createElement("rect",{x:142.369,y:70.423,width:49.806,height:19.923,rx:9.961,fill:"#B8E6CA"}),_=r.createElement("rect",{x:143.013,y:105.84,width:33.04,height:7.867,rx:3.933,fill:"#EBEEF0"}),j=r.createElement("path",{d:"M151.336 84.036l6.568-6.567m0 0l-5.182-.073m5.182.073l.073 5.18",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),k=r.createElement("rect",{x:164.287,y:77.395,width:19.923,height:5.977,rx:1.992,fill:"#fff"}),E=r.createElement("path",{d:"M59.237 58.571C57.1 78.75 63.509 87.67 79.717 111.787c16.209 24.118-29.091 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.444-3.208 57.82 12.98 90.86 5.9s46.385-42.599 43.153-68.059c-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86C75.042 25.867 60.91 42.52 59.237 58.57z",fill:"#B8E6CA"}),S=r.createElement("g",{mask:"url(#key-metrics-no-selected-items_svg__a)"},r.createElement("path",{d:"M227.674 108.973l11.312-8.418M218.925 98.852l2.868-12.68M205.623 102.87l-5.375-13.037",stroke:"#CBD0D3",strokeWidth:3.147,strokeMiterlimit:10}),r.createElement("path",{d:"M63.953 190.487c16.127 12.193 38.716 10.349 55.335 5.162 16.618-5.187 31.107-14.61 45.314-23.791 6.717-4.337 13.617-8.738 21.496-11.119 7.878-2.381 17.057-2.39 22.958 1.658 3.392 2.328 5.205 5.923 5.36 9.702",stroke:"#3C7251",strokeWidth:9.44,strokeLinejoin:"round"}),r.createElement("path",{d:"M215.831 109.67l-19.169 71.73",stroke:"#CBD0D3",strokeWidth:9.44,strokeMiterlimit:10,strokeLinecap:"round"}),r.createElement("path",{d:"M213.975 116.472l-19.169 71.731",stroke:"#161B18",strokeWidth:9.44,strokeMiterlimit:10})),w=r.createElement("defs",null,r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter0_d_2200_11981",x:205.773,y:35.772,width:176.33,height:147.36,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter1_d_2200_11981",x:.409,y:35.793,width:176.337,height:147.388,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),r.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter2_d_2200_11981",x:110.313,y:25.447,width:162.497,height:121.556,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.985}),r.createElement("feGaussianBlur",{stdDeviation:7.969}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})));t.a=function SvgKeyMetricsNoSelectedItems(e){return r.createElement("svg",i({viewBox:"0 0 383 238",fill:"none"},e),o,a,c,s,l,u,g,d,f,p,m,b,v,h,y,O,_,j,k,r.createElement("mask",{id:"key-metrics-no-selected-items_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:58,y:0,width:273,height:230},E),S,w)}},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},o="core/widgets"},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),c=n(11),s=n.n(c),l=n(13),u=n(62),g=n(78),d=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},b=function(){return{}},v=function(){},h=u.a.clearError,y=u.a.receiveError,O=function(e){var t,n,r=i.a.mark(I),o=e.baseName,c=e.controlCallback,u=e.reducerCallback,f=void 0===u?m:u,O=e.argsToParams,_=void 0===O?b:O,j=e.validateParams,k=void 0===j?v:j;s()(o,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof f,"reducerCallback must be a function."),s()("function"==typeof _,"argsToParams must be a function."),s()("function"==typeof k,"validateParams must be a function.");try{k(_()),n=!1}catch(e){n=!0}var E=Object(g.b)(o),S=Object(g.a)(o),w="FETCH_".concat(S),A="START_".concat(w),T="FINISH_".concat(w),C="CATCH_".concat(w),D="RECEIVE_".concat(S),R="fetch".concat(E),P="receive".concat(E),N="isFetching".concat(E),x=a()({},N,{});function I(e,t){var n,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:A};case 2:return r.next=4,h(o,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:w};case 7:return n=r.sent,r.next=10,L[P](n,e);case 10:return r.next=12,{payload:{params:e},type:T};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),a=r.t0,r.next=19,y(a,o,t);case 19:return r.next=21,{payload:{params:e},type:C};case 21:return r.abrupt("return",{response:n,error:a});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var L=(t={},a()(t,R,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=_.apply(void 0,t);return k(r),I(r,t)})),a()(t,P,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(l.isPlainObject)(t),"params is required."),k(t)):t={},{payload:{response:e,params:t},type:D}})),t),M=a()({},w,(function(e){var t=e.payload;return c(t.params)})),F=a()({},N,(function(e){if(void 0===e[N])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=_.apply(void 0,r),k(t)}catch(e){return!1}return!!e[N][Object(d.I)(t)]}));return{initialState:x,actions:L,controls:M,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case A:var i=r.params;return p(p({},e),{},a()({},N,p(p({},e[N]),{},a()({},Object(d.I)(i),!0))));case D:var o=r.response,c=r.params;return f(e,o,c);case T:var s=r.params;return p(p({},e),{},a()({},N,p(p({},e[N]),{},a()({},Object(d.I)(s),!1))));case C:var l=r.params;return p(p({},e),{},a()({},N,p(p({},e[N]),{},a()({},Object(d.I)(l),!1))));default:return e}},resolvers:{},selectors:F}}},489:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var r=n(12),i=n.n(r),o=n(11),a=n.n(o),c=n(1),s=n.n(c),l=n(13),u=n(112);function ReportTable(t){var n=t.rows,r=t.columns,o=t.className,c=t.limit,s=t.zeroState,g=t.gatheringData,d=void 0!==g&&g;a()(Array.isArray(n),"rows must be an array."),a()(Array.isArray(r),"columns must be an array."),r.forEach((function(e){var t=e.Component,n=e.field,r=void 0===n?null:n;a()(t||null!==r,"each column must define a Component and/or a field.")})),a()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var f=r.filter((function(e){return!e.hideOnMobile})),p=r.some((function(e){return!!e.badge}));return e.createElement("div",{className:i()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":d},o)},e.createElement("table",{className:i()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(r.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(f.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},p&&e.createElement("tr",{className:i()("googlesitekit-table__head-badges",{"hidden-on-mobile":!r.some((function(e){var t=e.badge,n=e.hideOnMobile;return!!t&&!n}))})},r.map((function(t,n){var r=t.badge,o=t.primary,a=t.hideOnMobile,c=t.className;return e.createElement("th",{className:i()("googlesitekit-table__head-item","googlesitekit-table__head-item--badge",{"googlesitekit-table__head-item--primary":o,"hidden-on-mobile":a},c),key:"googlesitekit-table__head-row-badge-".concat(n)},r)}))),e.createElement("tr",{className:"googlesitekit-table__head-row"},r.map((function(t,n){var r=t.title,o=t.description,a=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:i()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":a,"hidden-on-mobile":c},s),"data-tooltip":o,key:"googlesitekit-table__head-row-".concat(n)},r)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},d&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:r.length},e.createElement(u.b,null))),!d&&!(null==n?void 0:n.length)&&s&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:r.length},e.createElement(s,null))),!d&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},r.map((function(n,r){var o=n.Component,a=n.field,c=n.hideOnMobile,s=n.className,u=void 0!==a?Object(l.get)(t,a):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(r),className:i()("googlesitekit-table__body-item",{"hidden-on-mobile":c},s)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},o&&e.createElement(o,{row:t,fieldValue:u}),!o&&u))})))})))))}ReportTable.propTypes={rows:s.a.arrayOf(s.a.oneOfType([s.a.array,s.a.object])).isRequired,columns:s.a.arrayOf(s.a.shape({title:s.a.string,description:s.a.string,primary:s.a.bool,className:s.a.string,field:s.a.string,hideOnMobile:s.a.bool,Component:s.a.componentType,badge:s.a.node})).isRequired,className:s.a.string,limit:s.a.number,zeroState:s.a.func,gatheringData:s.a.bool}}).call(this,n(4))},490:function(e,t,n){"use strict";(function(e,r){var i=n(15),o=n.n(i),a=n(1),c=n.n(a),s=n(13),l=n(12),u=n.n(l),g=n(0);function TableOverflowContainer(t){var n=t.children,i=Object(g.useState)(!1),a=o()(i,2),c=a[0],l=a[1],d=Object(g.useRef)();Object(g.useEffect)((function(){f();var t=Object(s.debounce)(f,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var f=function(){if(d.current){var e=d.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;l(t<n-16&&0<n-16)}};return r.createElement("div",{onScroll:Object(s.debounce)(f,100),className:u()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},r.createElement("div",{ref:d,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(26),n(4))},492:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DataBlockGroup}));var i=n(91),o=n(625),a=n(0),c=n(161);function DataBlockGroup(t){var n=t.className,s=t.children,l=Object(a.useRef)(),u=function(){var t,n,r,i,o=null==l||null===(t=l.current)||void 0===t?void 0:t.querySelectorAll(".googlesitekit-data-block");if(o){var a=null===(n=o[0])||void 0===n?void 0:n.querySelector(".googlesitekit-data-block__datapoint");if(a){g(o,"");var c=parseInt(null===(r=e)||void 0===r||null===(i=r.getComputedStyle(a))||void 0===i?void 0:i.fontSize,10),s=c;o.forEach((function(t){var n,r,i,o=t.querySelector(".googlesitekit-data-block__datapoint");if(o){var a=parseInt(null===(n=e)||void 0===n||null===(r=n.getComputedStyle(o))||void 0===r?void 0:r.fontSize,10),c=null==o||null===(i=o.parentElement)||void 0===i?void 0:i.offsetWidth;if(o.scrollWidth>c&&a>14){for(;o.scrollWidth>c&&a>14;)a-=1,o.style.fontSize="".concat(a,"px");s=a}}})),c!==s&&g(o,"".concat(s,"px"))}}},g=function(e,t){e.forEach((function(e){var n=null==e?void 0:e.querySelector(".googlesitekit-data-block__datapoint");n&&(n.style.fontSize=t)}))},d=Object(c.a)(u,50);return Object(i.a)((function(){u(),e.addEventListener("resize",d)})),Object(o.a)((function(){return e.removeEventListener("resize",d)})),r.createElement("div",{ref:l,className:n},s)}}).call(this,n(26),n(4))},493:function(e,t,n){"use strict";(function(e,r){var i=n(50),o=n.n(i),a=n(51),c=n.n(a),s=n(215),l=n.n(s),u=n(69),g=n.n(u),d=n(70),f=n.n(d),p=n(49),m=n.n(p),b=n(186),v=n.n(b),h=n(1),y=n.n(h),O=n(0),_=n(2),j=n(85),k=n(168),E=n(63),S=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var A=function(t){g()(GoogleChartErrorHandler,t);var n=w(GoogleChartErrorHandler);function GoogleChartErrorHandler(e){var t;return o()(this,GoogleChartErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(l()(t)),t}return c()(GoogleChartErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Google Charts error:",t,n),this.setState({error:t,info:n}),Object(S.J)("google_chart_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement("div",{className:"googlesitekit-googlechart-error-handler"},r.createElement(j.a,{description:r.createElement(O.Fragment,null,r.createElement("p",null,Object(_.__)("An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),r.createElement(k.a,{message:n.message,componentStack:i.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(_.__)("Error in Google Chart","google-site-kit")})):e}}]),GoogleChartErrorHandler}(O.Component);A.contextType=E.b,A.propTypes={children:y.a.node.isRequired},t.a=A}).call(this,n(26),n(4))},494:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateMarker}));var r=n(0),i=n(254),o=n(573),a=n(10),c=n(18),s=n(161),l=n(8);function DateMarker(t){var n=t.id,u=t.text,g=Object(c.a)(),d="".concat(g,"_ga4-data-collection-line");Object(r.useEffect)((function(){Object(l.J)(d,"chart_line_view")}),[d]);var f=Object(r.useCallback)((function(){Object(l.J)(d,"chart_tooltip_view")}),[d]),p=Object(s.a)(f,5e3,{leading:!0,trailing:!1});return e.createElement(r.Fragment,null,e.createElement("div",{id:"googlesitekit-chart__date-marker-line--".concat(n),className:"googlesitekit-chart__date-marker-line"}),u&&e.createElement("div",{id:"googlesitekit-chart__date-marker-tooltip--".concat(n),className:"googlesitekit-chart__date-marker-tooltip"},e.createElement(a.Tooltip,{title:u,onOpen:p},e.createElement("span",null,e.createElement(i.a,{fill:"currentColor",icon:o.a,size:18})))))}}).call(this,n(4))},496:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(0),i=n(3),o=n(14),a=n(6),c=n(2),s=n(22),l={slug:"sharedKeyMetrics",contexts:[s.n,s.o,s.l,s.m],gaEventCategory:function(e){return"".concat(e,"_shared_key-metrics")},steps:[{target:".googlesitekit-km-change-metrics-cta",title:Object(c.__)("Personalize your key metrics","google-site-kit"),content:Object(c.__)("Another admin has set up these tailored metrics for your site. Click here to personalize them.","google-site-kit"),placement:"bottom-start"}]},u=function(e){var t=Object(i.useSelect)((function(e){return e(o.c).getKeyMetricsSetupCompletedBy()})),n=Object(i.useSelect)((function(e){return e(a.a).getID()})),c=Object(i.useDispatch)(a.a).triggerOnDemandTour,s=Number.isInteger(t)&&Number.isInteger(n)&&t>0&&n!==t;Object(r.useEffect)((function(){e&&s&&c(l)}),[e,s,c])}},509:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r);function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)}WidgetHeaderTitle.propTypes={title:i.a.string.isRequired},t.a=WidgetHeaderTitle}).call(this,n(4))},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c}));var r=n(22),i=n(18),o=r.n,a=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?o:e===r.l||e===r.m?a:null}},54:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(3),i=n(19),o=n(78);function a(t){var n=t.moduleName,a=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(o){var s=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!s)return null;var l=a||o.WidgetNull||null;if(!1===s.active)return l&&e.createElement(l,o);if(!1===s.connected){var u=c||l;return u&&e.createElement(u,o)}return e.createElement(t,o)}return WhenActiveComponent.displayName="When".concat(Object(o.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},561:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var r=n(15),i=n.n(r),o=n(1),a=n.n(o),c=n(0),s=n(2),l=n(10),u=n(3),g=n(19),d=n(9),f=n(32),p=n(176),m=n(379),b=n(161);function ActivateAnalyticsCTA(t){var n=t.children,r=Object(p.a)("analytics-4"),o=Object(m.a)("analytics-4"),a=Object(u.useSelect)((function(e){return e(g.a).isModuleActive("analytics-4")})),v=Object(u.useSelect)((function(e){return e(g.a).isModuleAvailable("analytics-4")})),h=Object(c.useState)(!1),y=i()(h,2),O=y[0],_=y[1],j=Object(u.useSelect)((function(e){if(!v)return!1;var t=e(d.p).getAdminReauthURL();return!!t&&e(f.a).isNavigatingTo(t)})),k=Object(u.useSelect)((function(e){return!!v&&e(g.a).isFetchingSetModuleActivation("analytics-4",!0)})),E=Object(b.a)(_,3e3);Object(c.useEffect)((function(){k||j?_(!0):E(!1)}),[k,j,E]);var S=a?o:r;return v&&S?e.createElement("div",{className:"googlesitekit-analytics-cta"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},n),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(s.__)("See how many people visit your site from Search and track how you’re achieving your goals","google-site-kit")),e.createElement(l.SpinnerButton,{onClick:S,isSaving:O},a?Object(s.__)("Complete setup","google-site-kit"):Object(s.__)("Set up Google Analytics","google-site-kit")))):null}ActivateAnalyticsCTA.propTypes={children:a.a.node.isRequired}}).call(this,n(4))},562:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M0 3.01l.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811 0 3.009z",fill:"currentColor"});t.a=function SvgArrowUp(e){return r.createElement("svg",i({viewBox:"0 0 6 6",fill:"none"},e),o)}},576:function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google={})}).call(this,n(26))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return T})),n.d(t,"d",(function(){return D})),n.d(t,"e",(function(){return R})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return x}));var r,i=n(5),o=n.n(i),a=n(27),c=n.n(a),s=n(7),l=n.n(s),u=n(11),g=n.n(u),d=n(57),f=n.n(d),p=n(13),m=n(111);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return v(v({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),o=C(i);return g()(0===o.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(o.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},j=h,k=h,E=h,S=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:_.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||S}))))),resolvers:j.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},A={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},T=(r={},l()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),l()(r,"AWAIT",(function(e){return e.payload.value})),r),C=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},D={actions:A,controls:T,reducer:S},R=function(e){return function(t){return P(e(t))}},P=f()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return g()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,o=!!r;try{for(var a=arguments.length,c=new Array(a>1?a-1:0),s=1;s<a;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return o}}})),o=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:o}}function x(e,t){return g()("function"==typeof e,"a validator function is required."),g()("function"==typeof t,"an action creator function is required."),g()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return g})),n.d(t,"L",(function(){return d})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return _})),n.d(t,"n",(function(){return j})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return E})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return A})),n.d(t,"w",(function(){return T})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return D})),n.d(t,"x",(function(){return R})),n.d(t,"y",(function(){return P})),n.d(t,"A",(function(){return N})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return I})),n.d(t,"D",(function(){return L})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return z})),n.d(t,"G",(function(){return G})),n.d(t,"E",(function(){return q})),n.d(t,"i",(function(){return V})),n.d(t,"p",(function(){return B})),n.d(t,"Q",(function(){return W})),n.d(t,"P",(function(){return U}));var r="core/user",i="connected_url_mismatch",o="__global",a="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",g="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",_="kmAnalyticsPopularContent",j="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",E="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",T="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",D="kmAnalyticsTopCountries",R="kmAnalyticsTopPagesDrivingLeads",P="kmAnalyticsTopRecentTrendingPages",N="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",I="kmAnalyticsTopTrafficSourceDrivingLeads",L="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",z="kmAnalyticsTopReturningVisitorPages",G="kmSearchConsolePopularKeywords",q="kmAnalyticsVisitsPerVisitor",V="kmAnalyticsMostEngagingPages",B="kmAnalyticsTopCategories",W=[b,v,h,y,O,_,j,k,B,E,S,w,A,T,C,D,P,N,x,M,F,z,q,V,B],U=[].concat(W,[G])},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(7),i=n.n(r),o=n(33),a=n.n(o),c=n(111),s=n(11),l=n.n(s),u=n(94),g=n.n(u),d=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===a()(e)?Object(d.I)(e):e}));return"".concat(e,"::").concat(g()(JSON.stringify(n)))}return e}var b={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(e,"error is required."),l()(t,"baseName is required."),l()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return l()(e,"baseName is required."),l()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){l()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return l()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var o=i.baseName,a=i.args;if(!!t(e)[o])return{storeName:e,name:o,args:a}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var o=r.baseName,a=r.args,c=r.error,s=m(o,a);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},s,a))});case"CLEAR_ERROR":var l=r.baseName,u=r.args,g=p({},e),d=m(l,u);return g.errors=p({},e.errors||{}),g.errorArgs=p({},e.errorArgs||{}),delete g.errors[d],delete g.errorArgs[d],g;case"CLEAR_ERRORS":var f=r.baseName,b=p({},e);if(f)for(var v in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(v===f||v.startsWith("".concat(f,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=Object(r.createContext)(""),o=(i.Consumer,i.Provider);t.b=i},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},662:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EntityOwnershipChangeNotice}));var r=n(7),i=n.n(r),o=n(1),a=n.n(o),c=n(2),s=n(3),l=n(19),u=n(6),g=n(159),d=n(68),f=n(8);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EntityOwnershipChangeNotice(t){var n=t.slug,r=Array.isArray(n)?n:[n],o=Object(s.useSelect)((function(e){var t=e(l.a),n=t.getModuleStoreName,o=t.getSharedRoles;return r.filter((function(e){var t;return!!(null===(t=o(e))||void 0===t?void 0:t.length)})).reduce((function(e,t){var r=n(t);return r?m(m({},e),{},i()({},t,r)):e}),{})})),a=Object(s.useSelect)((function(e){return Object.keys(o).reduce((function(t,n){var r,i,a=o[n],c=null===(r=e(a))||void 0===r?void 0:r.getOwnerID(),s=e(u.a).getID(),l=null===(i=e(a))||void 0===i?void 0:i.haveOwnedSettingsChanged();return l&&c!==s&&(t[n]=l),t}),{})})),p=Object.values(a).some((function(e){return e})),b=Object(s.useSelect)((function(e){return Object.keys(a).reduce((function(t,n){var r=e(l.a).getModule(n);return r&&t.push(r.name),t}),[])}));return p?e.createElement(g.a,{type:d.c,notice:Object(c.sprintf)( /* translators: %s: module name. */ Object(c.__)("By clicking confirm changes, you’re granting other users view-only access to data from %s via your Google account. You can always manage this later in the dashboard sharing settings.","google-site-kit"),Object(f.z)(b))}):null}EntityOwnershipChangeNotice.propTypes={slug:a.a.oneOfType([a.a.string,a.a.arrayOf(a.a.string)]).isRequired}}).call(this,n(4))},667:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),o=n(2),a=n(38),c=n(22),s=n(162);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g={border:"0"},d={spotlight:u(u({},g),{},{margin:"-42px 0 0 6px",padding:"12px 0 20px 0"})},f={slug:"ga4Reporting",contexts:[c.n],version:"1.103.0",gaEventCategory:function(e){return"".concat(e,"_ga4-metrics")},steps:[{target:".googlesitekit-data-block--conversions .googlesitekit-data-block__title, .googlesitekit-analytics-cta--setup-conversions",styles:{spotlight:g},title:Object(o.__)("See the new metrics from Google Analytics","google-site-kit"),content:Object(a.a)(Object(o.__)('"Conversions" have replaced "Goals," since "Goals" no longer exist in GA4. <a>Learn how to set up Conversions</a>',"google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/12966437",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--sessions:not(.googlesitekit-table__head-item--badge)",styles:d,title:Object(o.__)('"Sessions" has replaced "Unique Pageviews"',"google-site-kit"),content:Object(a.a)(Object(o.__)("A session is a period of time during which a user interacts with your website or app. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/9191807",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--engagement-rate:not(.googlesitekit-table__head-item--badge)",title:Object(o.__)("New metric: engagement rate","google-site-kit"),styles:d,content:Object(a.a)(Object(o.__)("Engagement rate shows the percentage of engaged sessions, the opposite of bounce rate. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/11109416",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"}]};t.a=f}).call(this,n(4))},668:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),c=n(11),s=n.n(c),l=n(42),u=n.n(l),g=n(3),d=n(47);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.storeName,r=t.dataAvailable,o=void 0!==r&&r,c=t.selectDataAvailability;s()("string"==typeof e&&e,"module slug is required."),s()("string"==typeof n&&n,"store name is required."),s()("boolean"==typeof o,"dataAvailable must be a boolean."),s()("function"==typeof c,"selectDataAvailability must be a function.");var l=Object(d.a)({baseName:"saveDataAvailableState",controlCallback:function(){return u.a.set("modules",e,"data-available")}}),f={dataAvailableOnLoad:o,gatheringData:void 0},m={receiveIsGatheringData:function(e){return s()("boolean"==typeof e,"gatheringData must be a boolean."),{payload:{gatheringData:e},type:"RECEIVE_GATHERING_DATA"}},receiveIsDataAvailableOnLoad:function(e){return s()("boolean"==typeof e,"dataAvailableOnLoad must be a boolean."),{payload:{dataAvailableOnLoad:e},type:"RECEIVE_DATA_AVAILABLE_ON_LOAD"}}},b=a()({},"WAIT_FOR_DATA_AVAILABILITY_STATE",Object(g.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).selectDataAvailability()};return!!t()||new Promise((function(n){var r=e.subscribe((function(){t()&&(r(),n(!0))}))}))}}))),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"RECEIVE_GATHERING_DATA":var i=r.gatheringData;return p(p({},e),{},{gatheringData:i});case"RECEIVE_DATA_AVAILABLE_ON_LOAD":var o=r.dataAvailableOnLoad;return p(p({},e),{},{dataAvailableOnLoad:o});default:return e}},h={isGatheringData:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:if(void 0===(t=e.sent).select(n).isGatheringData()){e.next=5;break}return e.abrupt("return");case 5:if(!t.select(n).isDataAvailableOnLoad()){e.next=10;break}return e.next=9,m.receiveIsGatheringData(!1);case 9:return e.abrupt("return");case 10:return e.next=12,{payload:{},type:"WAIT_FOR_DATA_AVAILABILITY_STATE"};case 12:return r=t.select(n).selectDataAvailability(),e.next=15,m.receiveIsGatheringData(!r);case 15:if(!r){e.next=18;break}return e.next=18,l.actions.fetchSaveDataAvailableState();case 18:case"end":return e.stop()}}),e)}))},y={selectDataAvailability:c,isDataAvailableOnLoad:function(e){return e.dataAvailableOnLoad},isGatheringData:function(e){return e.gatheringData}};return Object(g.combineStores)(l,{actions:m,controls:b,initialState:f,reducer:v,resolvers:h,selectors:y})}},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(109),a=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(a.sprintf)( /* translators: %s: Error message */ Object(a.__)("Error: %s","google-site-kit"),n)),r&&Object(o.a)(r)&&(s=s+" "+Object(a.sprintf)( /* translators: %s: Reconnect URL */ Object(a.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},670:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M1 24.053l5-4.825 4 2.193 5.333-2.193 7.334 6.579 6-1.754 3-4.825 4.666 6.579 3.334-1.754L47.333 28 55 19.228l4.333 2.193 5.334-3.509 2 1.316h6L81.333 3 84 9.579l2.333-1.754L89 13.088l12-5.263",stroke:"#CCC",strokeWidth:2});t.a=function SvgCtaGraphVisitors(e){return r.createElement("svg",i({viewBox:"0 0 102 30",fill:"none"},e),o)}},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y}));var r=n(7),i=n.n(r),o=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=o.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return o.createElement("svg",a({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=o.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var g,d=function SvgSuggestionIcon(e){return o.createElement("svg",l({viewBox:"0 0 2 11"},e),u)},f=n(182),p=n(92),m="warning",b="info",v="suggestion",h=(g={},i()(g,b,s),i()(g,m,f.a),i()(g,v,d),g),y=function(e){return h[e]||p.a}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),o=n(81),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},735:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(38),i=n(2),o=n(3),a=n(64),c=n(19),s=n(406),l=n(144),u=n(662),g=n(159),d=n(148),f=n(182);function SettingsForm(t){var n,p=t.hasModuleAccess,m=Object(o.useSelect)((function(e){return e(c.a).getModule("search-console")})),b=(null==m||null===(n=m.owner)||void 0===n?void 0:n.login)?"<strong>".concat(m.owner.login,"</strong>"):Object(i.__)("Another admin","google-site-kit");return e.createElement("div",{className:"googlesitekit-search-console-settings-fields"},e.createElement(l.a,{moduleSlug:"search-console",storeName:a.b}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(s.c,{hasModuleAccess:p})),!1===p&&e.createElement(g.a,{type:d.a,Icon:f.a,notice:Object(r.a)(Object(i.sprintf)( /* translators: 1: module owner's name, 2: module name */ Object(i.__)("%1$s configured %2$s and you don’t have access to this Search Console property. Contact them to share access or change the Search Console property.","google-site-kit"),b,null==m?void 0:m.name),{strong:e.createElement("strong",null)})}),p&&e.createElement(u.a,{slug:"search-console"}))}}).call(this,n(4))},76:function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(271),a=n(1),c=n.n(a),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),a=i()(r,1)[0];return Object(o.a)((function(){n&&a.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(a),function(){return e.removeChild(a)}})),Object(l.createPortal)(t,a)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},766:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M101 35.5H1V0",stroke:"#CCC"}),a=r.createElement("path",{d:"M2 24.685l24.5-7.404L51 25 75.5 8.774 100 2",stroke:"#CCC",strokeWidth:2});t.a=function SvgCtaGraphGoals(e){return r.createElement("svg",i({viewBox:"0 0 101 36",fill:"none"},e),o,a)}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function o(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},782:function(e,t,n){"use strict";(function(e){var r=n(2),i=n(6),o=n(509),a=n(3);t.a=function Header(){var t=Object(a.useSelect)((function(e){return e(i.a).getDateRangeNumberOfDays()}));return e.createElement(o.a,{title:Object(r.sprintf)( /* translators: %s: number of days */ Object(r._n)("Search traffic over the last %s day","Search traffic over the last %s days",t,"google-site-kit"),t)})}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return o.a})),n.d(t,"L",(function(){return o.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return g.a})),n.d(t,"C",(function(){return g.d})),n.d(t,"D",(function(){return g.e})),n.d(t,"z",(function(){return g.c})),n.d(t,"s",(function(){return g.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return E})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return A})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return D})),n.d(t,"x",(function(){return R})),n.d(t,"q",(function(){return P})),n.d(t,"H",(function(){return N})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return I})),n.d(t,"l",(function(){return L})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return z})),n.d(t,"v",(function(){return G})),n.d(t,"F",(function(){return B})),n.d(t,"E",(function(){return W.a})),n.d(t,"h",(function(){return U})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),o=n(72),a=n(33),c=n.n(a),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var g=n(82);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[d,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),_=n.n(O),j=n(2),k="Invalid dateString parameter, it must be a string.",E='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,A=24*w,T=7*A,C=30*A;function D(){var e=function(e){return Object(j.sprintf)( /* translators: %s: number of days */ Object(j._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 R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function P(e){_()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function N(e){_()(R(e),k);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],o=n[2];return new Date(r,i-1,o)}function x(e,t){return P(L(e,t*A))}function I(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function L(e,t){_()(R(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=R(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),F=n(83);function z(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function G(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var q=n(27),V=n.n(q),B=function(e){return Array.isArray(e)?V()(e).sort():e},W=n(88);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),o)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return T}));var r=n(15),i=n.n(r),o=n(33),a=n.n(o),c=n(7),s=n.n(c),l=n(23),u=n.n(l),g=n(13),d=n(57),f=n.n(d),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,o=n.seconds;return{hours:r,minutes:i,seconds:o,formatUnit:function(){var n=t.unitDisplay,a=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(o,b(b({},a),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?w(o,b(b({},a),{},{unit:"second"})):"",i?w(i,b(b({},a),{},{unit:"minute"})):"",r?w(r,b(b({},a),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),o);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),a=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",i?n:"",r?a:"").trim()}}},_=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},j=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(_(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(_(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(_(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(g.isPlainObject)(e)&&(t=b({},e)),t}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(g.isFinite)(e)?e:Number(e),Object(g.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?j(e):"duration"===i?v(e,n):"durationISO"===i?h(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,o=u()(t,["locale"]);try{return new Intl.NumberFormat(r,o).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(o)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},g=0,d=Object.entries(o);g<d.length;g++){var f=i()(d[g],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(l[p]=m))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,i=t.style,o=void 0===i?"long":i,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:o,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(p.__)(", ","google-site-kit");return e.join(l)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(g.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function o(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var o=i.length-Math.floor(t)+1;return"…"+i.substr(o)}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return g})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return d}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",o="mainDashboardTrafficAudienceSegmentation",a="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",l="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",g="entityDashboardSpeedPrimary",d="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:a,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:l,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:g,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:d}},85:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,o=t.description,l=t.ctaLink,u=t.ctaLabel,g=t.ctaLinkExternal,d=t.ctaType,f=t.error,p=t.onClick,m=t["aria-label"],b=t.children;return e.createElement("div",{className:a()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),o&&"string"==typeof o&&e.createElement("p",{className:"googlesitekit-cta__description"},o),o&&"string"!=typeof o&&e.createElement("div",{className:"googlesitekit-cta__description"},o),u&&"button"===d&&e.createElement(c.Button,{"aria-label":m,href:l,onClick:p},u),u&&"link"===d&&e.createElement(s.a,{href:l,onClick:p,"aria-label":m,external:g,hideExternalIndicator:g,arrow:!0},u),b))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),o=n(12),a=n.n(o);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,o=t.height;return e.createElement("svg",{className:a()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(11),i=n.n(r),o=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},890:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(2),i=n(3),o=n(64),a=n(187);function SettingsView(){var t=Object(i.useSelect)((function(e){return e(o.b).getPropertyID()}));return e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Connected Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(a.b,{value:t})))}}).call(this,n(4))},891:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var r=n(0),i=n(2),o=n(10),a=n(3),c=n(64),s=n(36),l=n(18);function PropertySelect(t){var n=t.hasModuleAccess,u=Object(l.a)(),g=Object(a.useSelect)((function(e){return e(c.b).getPropertyID()})),d=Object(a.useSelect)((function(e){return e(c.b).getMatchedProperties()})),f=Object(a.useSelect)((function(e){return e(c.b).hasFinishedResolution("getMatchedProperties")})),p=Object(a.useDispatch)(c.b).setPropertyID,m=Object(r.useCallback)((function(e,t){var n=t.dataset.value;g!==n&&(p(n),Object(s.b)("".concat(u,"_search-console"),"change_property"))}),[g,p,u]);return f?!1===n?e.createElement(o.Select,{className:"googlesitekit-search-console__select-property",label:Object(i.__)("Property","google-site-kit"),value:g,enhanced:!0,outlined:!0,disabled:!0},e.createElement(o.Option,{value:g},g)):e.createElement(o.Select,{className:"googlesitekit-search-console__select-property",label:Object(i.__)("Property","google-site-kit"),value:g,onEnhancedChange:m,enhanced:!0,outlined:!0},(d||[]).map((function(t){var n=t.siteURL;return e.createElement(o.Option,{key:n,value:n},n.startsWith("sc-domain:")?Object(i.sprintf)( /* translators: %s: domain name */ Object(i.__)("%s (domain property)","google-site-kit"),n.replace(/^sc-domain:/,"")):n)}))):e.createElement(o.ProgressBar,{small:!0})}}).call(this,n(4))},892:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var r=n(1),i=n.n(r),o=n(2),a=n(670),c=n(766),s=n(561),l=n(396);function ActivateAnalyticsCTA(t){var n=t.title;return e.createElement(s.a,null,e.createElement(l.a,{title:Object(o.__)("Unique visitors from Search","google-site-kit"),GraphSVG:a.a}),e.createElement(l.a,{title:n,GraphSVG:c.a}))}ActivateAnalyticsCTA.propTypes={title:i.a.string.isRequired}}).call(this,n(4))},893:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnalyticsStats}));var r=n(7),i=n.n(r),o=n(15),a=n.n(o),c=n(511),s=n.n(c),l=n(1),u=n.n(l),g=n(2),d=n(3),f=n(17),p=n(19),m=n(357),b=n(349),v=n(9),h=n(35),y=n(8),O=n(6);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AnalyticsStats(t){var n=t.data,r=t.selectedStats,i=t.dateRangeLength,o=t.dataLabels,c=t.tooltipDataFormats,l=t.chartDataFormats,u=t.statsColor,_=t.gatheringData,k=t.moduleSlug,E=Object(h.a)(),S=Object(d.useSelect)((function(e){return e(p.a).isModuleConnected(k)})),w=Object(d.useSelect)((function(e){return e(p.a).isModuleActive(k)})),A=Object(d.useSelect)((function(e){return e(O.a).getReferenceDate()})),T=Object(d.useSelect)((function(e){return E?null:e(v.p).getPropertyCreateTime()})),C=[];if(T&&(C=[{date:Object(y.q)(new Date(T)),text:Object(g.__)("Google Analytics property created","google-site-kit")}]),!w||!S)return null;var D=Object(m.a)(n,r,i,A,o,c,l),R=D.slice(1).map((function(e){return a()(e,1)[0]})),P=s()(R).slice(1),N=j(j({},AnalyticsStats.chartOptions),{},{hAxis:j(j({},AnalyticsStats.chartOptions.hAxis),{},{ticks:P}),vAxis:j({},AnalyticsStats.chartOptions.vAxis),series:{0:{color:u,targetAxisIndex:0},1:{color:u,targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}});if(!D.slice(1).some((function(e){return e[2]>0||e[3]>0}))){var x={0:1,1:100}[r];N.vAxis.viewWindow.max=x}else N.vAxis.viewWindow.max=void 0;return e.createElement(f.e,{className:"googlesitekit-analytics-site-stats"},e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(b.a,{chartType:"LineChart",data:D,dateMarkers:C,loadingHeight:"270px",loadingWidth:"100%",options:N,gatheringData:_}))))}AnalyticsStats.propTypes={data:u.a.oneOfType([u.a.arrayOf(u.a.object),u.a.object]).isRequired,dateRangeLength:u.a.number.isRequired,selectedStats:u.a.number.isRequired,dataLabels:u.a.arrayOf(u.a.string).isRequired,tooltipDataFormats:u.a.arrayOf(u.a.func).isRequired,statsColor:u.a.string.isRequired,gatheringData:u.a.bool,moduleSlug:u.a.string.isRequired},AnalyticsStats.chartOptions={chart:{title:""},curveType:"function",height:270,width:"100%",chartArea:{height:"80%",left:60,right:25},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},hAxis:{format:"MMM d",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12}},vAxis:{gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"}}}).call(this,n(4))},894:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),i=n(10),o=n(64),a=n(19),c=n(735);function SettingsEdit(){Object(r.useSelect)((function(e){return e(o.b).getMatchedProperties()}));var t,n=Object(r.useSelect)((function(e){return e(o.b).isDoingSubmitChanges()})),s=Object(r.useSelect)((function(e){return e(o.b).hasFinishedResolution("getMatchedProperties")})),l=Object(r.useSelect)((function(e){return e(a.a).hasModuleOwnershipOrAccess("search-console")}));return t=n||!s||void 0===l?e.createElement(i.ProgressBar,null):e.createElement(c.a,{hasModuleAccess:l}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console"},t)}}).call(this,n(4))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return o})),n.d(t,"x",(function(){return a})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return d})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return _})),n.d(t,"e",(function(){return j})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",i="account_create",o="property_create",a="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",g="enhanced-measurement-form",d="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",_="dashboardAllTrafficWidgetLoaded",j={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},E="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(23),a=n.n(o),c=n(12),s=n.n(c),l=n(1),u=n.n(l),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.label,o=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=a()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:s()("googlesitekit-badge",o,{"googlesitekit-badge--has-left-spacing":l})}),r)}));d.displayName="Badge",d.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=d}).call(this,n(4))},95:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return g}));var r=n(33),i=n.n(r),o=n(13),a=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(a.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function s(e){return Object(a.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function l(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(o.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(o.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(o.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var a=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(o.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&a}}return!1}))}function g(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(o.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(220),i=n(86),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var o=n.invertColor,a=void 0!==o&&o;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),o=n(13),a=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function g(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(a.a)(i,n),g=Object(c.a)(i,n,s,r),d={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);d[r]||(d[r]=Object(o.once)(g)),d[r].apply(d,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:g,trackEventOnce:f}}}).call(this,n(26))}},[[1234,1,0]]]); dist/assets/js/googlesitekit-modules-sign-in-with-google-56b980cf11ec18bc46e7.js 0000604 00000256502 14717744000 0023003 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[23],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,g=t.userRoles,d=void 0===g?[]:g,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==d?void 0:d.length)?d.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var g=n.createElement("script");return g.setAttribute(i.b,""),g.async=!0,g.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(g),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n,r){var a=Object(u.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,g(g({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},1018:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(2),i=n(3),a=n(14),o=n(767),c=n(1019),s=n(93),u=n(1020),l=n(585);function SetupMain(){var t=Object(i.useSelect)((function(e){return e(a.c).getHomeURL()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--with-panels googlesitekit-setup-module--sign-in-with-google"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(o.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(r._x)("Sign in with Google","Service name","google-site-kit"),e.createElement(s.a,{className:"googlesitekit-beta-badge",label:Object(r.__)("Beta","google-site-kit")}))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(u.a,{moduleSlug:"sign-in-with-google"}),Object(l.a)(t)&&e.createElement(c.a,null)))}}).call(this,n(4))},1019:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(0),i=n(38),a=n(2),o=n(3),c=n(144),s=n(175),u=n(14),l=n(736),g=n(10),d=n(162),f=n(80),p=n(40),m=n(139),v=Object(r.lazy)((function(){return n.e(41).then(n.bind(null,1242))}));function SetupForm(){var t=Object(o.useSelect)((function(e){return e(u.c).getSiteName()})),n=Object(o.useSelect)((function(e){return e(u.c).getHomeURL()}));return e.createElement("div",{className:"googlesitekit-sign-in-with-google-setup__form"},e.createElement("div",{className:"googlesitekit-setup-module__panel-item"},e.createElement(c.a,{moduleSlug:s.b,storeName:s.b}),e.createElement("p",{className:"googlesitekit-setup-module__step-description"},Object(i.a)(Object(a.__)('To set up Sign in With Google, Site Kit will help you create an "OAuth Client ID" that will be used to enable Sign in With Google on your website. You will be directed to a page that will allow you to generate an "OAuth Client ID". <a>Learn more</a>',"google-site-kit"),{a:e.createElement(d.a,{path:"#",external:!0})})),e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(a.__)("Add your client ID here to complete setup:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(l.a,null)),e.createElement(g.Button,{className:"googlesitekit-sign-in-with-google-client-id-cta",href:"https://developers.google.com/web/site-kit?sitename=".concat(encodeURIComponent(t),"&siteurl=").concat(encodeURIComponent(n)),target:"_blank",trailingIcon:e.createElement(f.a,{width:"15",height:"15"}),inverse:!0},Object(a.__)("Get your client ID","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__panel-item googlesitekit-setup-module__panel-item--with-svg"},e.createElement(r.Suspense,{fallback:e.createElement(p.a,{width:"100%",height:"235px"})},e.createElement(m.a,{errorMessage:Object(a.__)("Failed to load graphic","google-site-kit")},e.createElement(v,null)))))}}).call(this,n(4))},1020:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HTTPSWarning}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(19),s=n(14),u=n(212),l=n(585);function HTTPSWarning(t){var n=t.moduleSlug,r=t.className,i=Object(o.useSelect)((function(e){return e(c.a).getModule(n)})),g=Object(o.useSelect)((function(e){return e(s.c).getHomeURL()}));if(!(null==i?void 0:i.name)||Object(l.a)(g))return null;var d=i.name;return e.createElement(u.a,{className:r},Object(a.sprintf)( /* translators: %s: Module name. */ Object(a.__)("The site should use HTTPS to set up %s","google-site-kit"),d,Object(a.__)("Get help","google-site-kit")))}HTTPSWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,n(4))},1021:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),i=n(10),a=n(175),o=n(1022);function SettingsEdit(){var t=Object(r.useSelect)((function(e){return e(a.b).isDoingSubmitChanges()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--sign-in-with-google"},t?e.createElement(i.ProgressBar,null):e.createElement(o.a,null))}}).call(this,n(4))},1022:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(593),i=n(175),a=n(144),o=n(17);function SettingsForm(){return e.createElement("div",{className:"googlesitekit-sign-in-with-google-settings-fields"},e.createElement(a.a,{moduleSlug:"sign-in-with-google",storeName:i.b}),e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:8},e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(r.d,null))),e.createElement(o.k,null,e.createElement(o.a,{size:4},e.createElement(r.b,null)),e.createElement(o.a,{size:4},e.createElement(r.c,null)),e.createElement(o.a,{size:4},e.createElement(r.a,null))),e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(r.e,null))))),e.createElement(o.a,{size:4},e.createElement(r.f,null)))))}}).call(this,n(4))},1023:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SignInWithGoogleSetupCTABanner}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(14),s=n(176),u=n(1024),l=n(497),g=n(579),d=n(642),f=n(1025);function SignInWithGoogleSetupCTABanner(t){var n=t.id,r=t.Notification,i=Object(o.useSelect)((function(e){return e(c.c).getDocumentationLinkURL("sign-in-with-google")})),p=Object(s.a)("sign-in-with-google");return e.createElement(r,null,e.createElement(u.a,{id:n,title:Object(a.__)("Boost onboarding, security, and trust on your site using Sign in with Google","google-site-kit"),description:e.createElement(l.a,{className:"googlesitekit-setup-cta-banner__description",text:Object(a.__)("Provide your site visitors with a simple, secure, and personalised experience by adding a Sign in with Google button to your login page.","google-site-kit"),learnMoreLink:e.createElement(g.a,{id:n,label:Object(a.__)("Learn more","google-site-kit"),url:i})}),actions:e.createElement(d.a,{id:n,className:"googlesitekit-setup-cta-banner__actions-wrapper",ctaLabel:Object(a.__)("Set up Sign in with Google","google-site-kit"),onCTAClick:p,dismissLabel:Object(a.__)("Maybe later","google-site-kit")}),SVG:f.a}))}SignInWithGoogleSetupCTABanner.propTypes={id:i.a.string,Notification:i.a.elementType}}).call(this,n(4))},1024:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return NotificationWithSVG}));var r=n(21),i=n.n(r),a=n(12),o=n.n(a),c=n(25),s=n(17);function NotificationWithSVG(t){var n=t.id,r=t.title,a=t.description,u=t.actions,l=t.SVG,g=Object(c.e)(),d={mdSize:8,lgSize:6};return g===c.c&&(d={mdSize:8}),g===c.b&&(d={smSize:12}),e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(s.e,{className:"googlesitekit-widget-area"},e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement("div",{className:o()("googlesitekit-widget","googlesitekit-widget--no-padding","googlesitekit-setup-cta-banner","googlesitekit-setup-cta-banner--".concat(n))},e.createElement("div",{className:"googlesitekit-widget__body"},e.createElement(s.e,{collapsed:!0},e.createElement(s.k,null,e.createElement(s.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h3",{className:"googlesitekit-setup-cta-banner__title"},r),a,u),e.createElement(s.a,i()({alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper--".concat(n)},d),e.createElement(l,null))))))))))}}).call(this,n(4))},1025:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M448.71 220.432c-39.44 65.437-108.589 70.346-142.701 62.23-44.503-10.589-50.116-42.082-74.692-50.93-24.577-8.847-35.882-5.29-70.79 0-34.907 5.29-93.676-1.62-119.279-54.354-25.602-52.734-5.92-107.518 42.22-134.123 48.14-26.605 76.356 1.837 123.278 2.74 46.921.902 59.733-22.909 103.458-25.334 97.588-5.414 198.687 99.921 138.506 199.771z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#sign-in-with-google-setup-cta_svg__filter0_d_9_1090)"},r.createElement("path",{d:"M148.363 83.825c0-7.602 6.162-13.764 13.764-13.764h167.472c7.602 0 13.764 6.162 13.764 13.764v144.472c0 7.602-6.162 13.764-13.764 13.764H162.127c-7.602 0-13.764-6.162-13.764-13.764V83.825z",fill:"#fff"})),c=r.createElement("path",{d:"M163.363 101.061a4 4 0 014-4h157a4 4 0 014 4v38a4 4 0 01-4 4h-157a4 4 0 01-4-4v-38zM163.363 206.061a4 4 0 014-4h157a4 4 0 014 4v5a4 4 0 01-4 4h-157a4 4 0 01-4-4v-5z",fill:"#BED4FF"}),s=r.createElement("rect",{x:234.363,y:153.061,width:54,height:14,rx:7,fill:"#BED4FF"}),u=r.createElement("rect",{x:234.363,y:175.061,width:94,height:5,rx:2.5,fill:"#BED4FF"}),l=r.createElement("rect",{x:163.363,y:175.061,width:59,height:5,rx:2.5,fill:"#BED4FF"}),g=r.createElement("rect",{x:163.363,y:164.061,width:59,height:5,rx:2.5,fill:"#BED4FF"}),d=r.createElement("rect",{x:163.363,y:186.061,width:59,height:5,rx:2.5,fill:"#BED4FF"}),f=r.createElement("rect",{x:163.363,y:153.061,width:59,height:5,rx:2.5,fill:"#BED4FF"}),p=r.createElement("rect",{x:234.363,y:186.061,width:94,height:5,rx:2.5,fill:"#BED4FF"}),m=r.createElement("path",{d:"M339.892 43.46c-5.813 2.537-18.468 7.787-30.492 10.97-3.489.923-6.059 4.031-5.912 7.637 2.109 51.839 30.311 73.97 39.674 73.97 9.354 0 37.92-26.219 38.536-74.3.044-3.458-2.429-6.392-5.764-7.312-12-3.309-23.943-8.408-29.518-10.92a8.04 8.04 0 00-6.524-.044z",fill:"#3C7251"}),v=r.createElement("path",{d:"M340.009 43.46c-5.814 2.537-18.468 7.787-30.492 10.97-3.489.923-6.059 4.031-5.912 7.637 2.109 51.839 30.311 73.97 39.674 73.97 9.353 0 37.919-26.219 38.536-74.3.044-3.458-2.429-6.392-5.764-7.312-12-3.309-23.943-8.408-29.519-10.92a8.037 8.037 0 00-6.523-.044z",fill:"#5C9271"}),h=r.createElement("g",{mask:"url(#sign-in-with-google-setup-cta_svg__a)"},r.createElement("path",{d:"M343.148 42s-17.392 8.11-33.636 12.426c-3.487.926-6.054 4.033-5.908 7.637 2.101 51.842 30.212 73.974 39.544 73.974V42z",fill:"#265C3B"})),b=r.createElement("circle",{cx:342.998,cy:81.805,fill:"#D0FBE1",r:15.503}),y=r.createElement("circle",{opacity:.5,cx:342.697,cy:81.95,r:19.735,stroke:"#B8E6CA",strokeWidth:3.138}),O=r.createElement("circle",{cx:342.998,cy:81.805,fill:"#D0FBE1",r:15.503}),_=r.createElement("g",{mask:"url(#sign-in-with-google-setup-cta_svg__b)",fill:"#77AD8C"},r.createElement("path",{d:"M349.114 76.709c0 3.346-2.788 6.057-6.228 6.057s-6.228-2.712-6.228-6.057 2.788-6.057 6.228-6.057 6.228 2.712 6.228 6.057z"}),r.createElement("ellipse",{cx:342.886,cy:94.608,rx:13.235,ry:10.588})),k=r.createElement("defs",null,r.createElement("filter",{id:"sign-in-with-google-setup-cta_svg__filter0_d_9_1090",x:132.363,y:58.061,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_9_1090"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_9_1090",result:"shape"})),r.createElement("filter",{id:"sign-in-with-google-setup-cta_svg__filter1_d_9_1090",x:291.348,y:36.724,width:102.484,height:117.514,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:6.067}),r.createElement("feGaussianBlur",{stdDeviation:6.067}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.0460389 0 0 0 0 0.348203 0 0 0 0 0.163547 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_9_1090"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_9_1090",result:"shape"})));t.a=function SvgSignInWithGoogleSetupCta(e){return r.createElement("svg",i({viewBox:"0 0 499 272",fill:"none"},e),a,o,c,s,u,l,g,d,f,p,r.createElement("g",{filter:"url(#sign-in-with-google-setup-cta_svg__filter1_d_9_1090)"},m,r.createElement("mask",{id:"sign-in-with-google-setup-cta_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:303,y:42,width:79,height:95},v),h,b,y,r.createElement("mask",{id:"sign-in-with-google-setup-cta_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:327,y:66,width:32,height:32},O),_),k)}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),u=n(34),l=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,g=void 0!==i&&i,d=t.storeName,f=t.message,p=void 0===f?r.message:f,m=t.noPrefix,v=void 0!==m&&m,h=t.Icon,b=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return d?e(d).getSelectorDataForError(r):null})),O=Object(a.useCallback)((function(){b(y.storeName).invalidateResolution(y.name,y.args)}),[b,y]);if(!r||Object(u.f)(r))return null;var _=g&&Object(u.d)(r,y);return g||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,h&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(h,{width:"24",height:"24"})),e.createElement(l.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:v}),_&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),u=n(1),l=n.n(u),g=n(12),d=n.n(g);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,g=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,v=t.smSize,h=t.smStart,b=t.smOrder,y=t.mdSize,O=t.mdStart,_=t.mdOrder,k=t.lgSize,E=t.lgStart,S=t.lgOrder,w=t.size,j=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},N,{className:d()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":g,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(w),12>=w&&w>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),j)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},1236:function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),a=n(179),o=n.n(a),c=n(488),s=n.n(c),u=n(5),l=n.n(u),g=n(16),d=n.n(g),f=n(2),p=n(14),m=n(19),v=n(175),h=n(767),b=n(1018),y=n(1021),O=n(1023),_=n(60),k=n(22),E=n(44),S=n(585),w=n(11),j=n.n(w),N=n(183),T=n(59),x=n(710);var A=o.a.createModuleStore("sign-in-with-google",{storeName:v.b,validateCanSubmitChanges:function(e){var t=Object(T.e)(e)(v.b),n=t.getClientID,r=t.getShape,i=t.getText,a=t.getTheme,o=t.haveSettingsChanged,c=t.isDoingSubmitChanges;j()(!c(),N.a),j()(o(),N.b);var s=n(),u=r(),l=i(),g=a();j()(null==s?void 0:s.length,"clientID is required"),j()(Object(x.a)(s),"a valid clientID is required to submit changes"),j()(!!v.c.find((function(e){return e.value===u})),"shape must be one of: ".concat(v.c.map((function(e){return e.value})).join(", "))),j()(!!v.d.find((function(e){return e.value===l})),"text must be one of: ".concat(v.d.map((function(e){return e.value})).join(", "))),j()(!!v.e.find((function(e){return e.value===g})),"theme must be one of: ".concat(v.e.map((function(e){return e.value})).join(", ")))},ownedSettingsSlugs:[],settingSlugs:["clientID","shape","text","theme","oneTapEnabled"]}),C=Object(r.combineStores)(A);C.initialState,C.actions,C.controls,C.reducer,C.resolvers,C.selectors;var D,L,R,P;o.a.registerModule("sign-in-with-google",{storeName:v.b,SettingsEditComponent:y.a,SettingsViewComponent:function SettingsViewComponent(){return null},SetupComponent:b.a,onCompleteSetup:(L=d()(l.a.mark((function e(t,n){var r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.dispatch(v.b),i=r.submitChanges,e.next=3,i();case 3:e.sent.error||n();case 5:case"end":return e.stop()}}),e)}))),function(e,t){return L.apply(this,arguments)}),Icon:h.a,features:[Object(f.__)("Users will no longer be able to sign in to your WordPress site using their Google Accounts","google-site-kit"),Object(f.__)("Users will not be able to create an account on your site using their Google Account (if account creation is enabled)","google-site-kit"),Object(f.__)('Existing users who have only used Sign in With Google to sign in to your site will need to use WordPress\' "Reset my password" to set a password for their account',"google-site-kit")],checkRequirements:(D=d()(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resolveSelect(p.c).getSiteInfo();case 2:if(n=t.select(p.c).getHomeURL(),!Object(S.a)(n)){e.next=5;break}return e.abrupt("return");case 5:throw{code:v.a,message:Object(f.__)("The site should use HTTPS to set up Sign in with Google","google-site-kit"),data:null};case 6:case"end":return e.stop()}}),e)}))),function(e){return D.apply(this,arguments)})}),i.a.registerStore(v.b,C),R=s.a,Object(E.b)("signInWithGoogleModule")&&R.registerNotification("setup-cta-siwg",{Component:O.a,priority:320,areaSlug:_.b.BANNERS_BELOW_NAV,viewContexts:[k.n],checkRequirements:(P=d()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,e.next=3,Promise.all([r(m.a).getModules(),r(p.c).getSiteInfo()]);case 3:if(!n(m.a).isModuleConnected("sign-in-with-google")){e.next=6;break}return e.abrupt("return",!1);case 6:if(i=n(p.c).getHomeURL(),Object(S.a)(i)){e.next=9;break}return e.abrupt("return",!1);case 9:return e.abrupt("return",!0);case 10:case"end":return e.stop()}}),e)}))),function(e){return P.apply(this,arguments)}),isDismissible:!0})},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:l()("mdc-layout-grid__inner",r)},c),a)}));d.displayName="Row",d.propTypes={className:s.a.string,children:s.a.node},d.defaultProps={className:""},t.a=d}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,u=t.collapsed,g=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":a})},g,{ref:n}),s)}));d.displayName="Grid",d.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},d.defaultProps={className:""},t.a=d}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},139:function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),o=n(51),c=n.n(o),s=n(69),u=n.n(s),l=n(70),g=n.n(l),d=n(49),f=n.n(d),p=n(1),m=n.n(p),v=n(0),h=n(2),b=n(67);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g()(this,n)}}var O=function(t){u()(MediaErrorHandler,t);var n=y(MediaErrorHandler);function MediaErrorHandler(e){var t;return a()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?r.createElement(b.a,{message:n}):t}}]),MediaErrorHandler}(v.Component);O.defaultProps={errorMessage:Object(h.__)("Failed to load media","google-site-kit")},O.propTypes={children:m.a.node.isRequired,errorMessage:m.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(116),c=n(19),s=n(34),u=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,l=t.storeName,g=Object(a.useSelect)((function(e){return e(l).getErrors()})),d=Object(a.useSelect)((function(e){return e(c.a).getModule(i)})),f=[];return g.filter((function(e){return!(!(null==e?void 0:e.message)||f.includes(e.message))&&(f.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(s.e)(t)&&(i=Object(u.a)(i,d)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:l,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,s=n.owner,u=void 0===s?{}:s;if(!a||!c)return e;var l="",g="";return"analytics-4"===a?e.match(/account/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),u&&u.login&&(g=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),u.login)),g||(g=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(l," ").concat(g)}},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),i=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(3),l=n(14),g=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),s=Object(u.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(g.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),u=n.n(s);n.d(t,"b",(function(){return u.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var l=n(104);n.d(t,"a",(function(){return l.a})),n.d(t,"e",(function(){return l.b})),n.d(t,"k",(function(){return l.c}))},175:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c}));var r="modules/sign-in-with-google",i="non_https_site",a=[{value:"outline",label:"Light"},{value:"filled_blue",label:"Neutral"},{value:"filled_black",label:"Dark"}],o=[{value:"continue_with",label:"Continue with Google"},{value:"signin",label:"Sign in"},{value:"signin_with",label:"Sign in with Google"},{value:"signup_with",label:"Sign up with Google"}],c=[{value:"pill",label:"Pill"},{value:"rectangular",label:"Rectangular"}]},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(3),u=n(14),l=n(6),g=n(19),d=n(32),f=n(36),p=n(18);function m(e){var t=Object(p.a)(),n=Object(s.useSelect)((function(t){return t(g.a).getModule(e)})),r=Object(s.useSelect)((function(e){return e(l.a).hasCapability(l.K)})),a=Object(s.useDispatch)(g.a).activateModule,m=Object(s.useDispatch)(d.a).navigateTo,v=Object(s.useDispatch)(u.c).setInternalServerError,h=Object(c.useCallback)(o()(i.a.mark((function n(){var r,o,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:m(c.moduleReauthURL),n.next=12;break;case 11:v({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,m,v,t]);return(null==n?void 0:n.name)&&r?h:null}},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return w})),n.d(t,"g",(function(){return j})),n.d(t,"f",(function(){return N})),n.d(t,"d",(function(){return T})),n.d(t,"e",(function(){return x}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(7),s=n.n(c),u=n(11),l=n.n(u),g=n(13),d=n(42),f=n.n(d),p=n(3),m=n(59),v=n(78),h=n(47),b=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=b.a.clearError,k=b.a.receiveError,E="cannot submit changes while submitting changes",S="cannot submit changes if settings have not changed",w=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,a=void 0===i?void 0:i,c=r.storeName,u=void 0===c?void 0:c,d=r.settingSlugs,b=void 0===d?[]:d,y=r.initialSettings,E=void 0===y?void 0:y,S=r.validateHaveSettingsChanged,w=void 0===S?x():S;l()(e,"type is required."),l()(t,"identifier is required."),l()(n,"datapoint is required.");var j=u||"".concat(e,"/").concat(t),N={ownedSettingsSlugs:a,settings:E,savedSettings:void 0},T=Object(h.a)({baseName:"getSettings",controlCallback:function(){return f.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),A=Object(h.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return f.a.set(e,t,n,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(Object(g.isPlainObject)(t),"values is required.")}}),C={},D={setSettings:function(e){return l()(Object(g.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_("saveSettings",[]);case 5:return n=t.select(j).getSettings(),e.next=8,A.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(a=r.error)){e.next=14;break}return e.next=14,k(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},L={},R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==C[n]?C[n](e,{type:n,payload:r}):e}},P={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(j).getSettings()){e.next=7;break}return e.next=7,T.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},I=Object(m.g)(w),B=I.safeSelector,F=I.dangerousSelector,M={haveSettingsChanged:B,__dangerousHaveSettingsChanged:F,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){l()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(g.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(j).getOwnedSettingsSlugs();return e(j).haveSettingsChanged(t)}}))};b.forEach((function(e){var t=Object(v.b)(e),n=Object(v.a)(e);D["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},C["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},M["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(j).getSettings()||{})[e]}}))}));var z=Object(p.combineStores)(p.commonStore,T,A,{initialState:N,actions:D,controls:L,reducer:R,resolvers:P,selectors:M});return O(O({},z),{},{STORE_NAME:j})};function j(e,t){return function(){var n=i()(o.a.mark((function n(r){var i,a,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,a=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,a(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,f.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function N(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function T(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;l()(!i(),E),l()(r(),S)}}function x(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&l()(!Object(g.isEqual)(Object(g.pick)(r,n),Object(g.pick)(i,n)),S),l()(!Object(g.isEqual)(r,i),S)}}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(2),l=n(3),g=n(120),d=n(60),f=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,s=void 0===c?Object(u.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,m=void 0===p?0:p,v=t.disabled,h=t.onDismiss,b=void 0===h?function(){}:h,y=t.gaTrackingEventArgs,O=Object(g.a)(n),_=Object(l.useDispatch)(d.a).dismissNotification,k=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==b?void 0:b(t);case 2:O.dismiss(null==y?void 0:y.label,null==y?void 0:y.value),_(n,{expiresInSeconds:m});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:k,disabled:v},s)}Dismiss.propTypes={id:s.a.string,primary:s.a.bool,dismissLabel:s.a.string,dismissExpires:s.a.number,disabled:s.a.bool,onDismiss:s.a.func,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),u=n(1),l=n.n(u),g=n(140),d=n(0),f=n(2),p=n(126),m=n(127),v=n(128),h=n(80),b=n(77),y=Object(d.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,d=void 0!==l&&l,y=t.back,O=void 0!==y&&y,_=t.caps,k=void 0!==_&&_,E=t.children,S=t.className,w=void 0===S?"":S,j=t.danger,N=void 0!==j&&j,T=t.disabled,x=void 0!==T&&T,A=t.external,C=void 0!==A&&A,D=t.hideExternalIndicator,L=void 0!==D&&D,R=t.href,P=void 0===R?"":R,I=t.inverse,B=void 0!==I&&I,F=t.noFlex,M=void 0!==F&&F,z=t.onClick,G=t.small,U=void 0!==G&&G,H=t.standalone,q=void 0!==H&&H,W=t.linkButton,V=void 0!==W&&W,K=t.to,J=t.leadingIcon,$=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),X=P||K||!z?K?"ROUTER_LINK":C?"EXTERNAL_LINK":"LINK":x?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===X||"BUTTON_DISABLED"===X?"button":"ROUTER_LINK"===X?g.b:"a",Q=("EXTERNAL_LINK"===X&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===X&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof E?"".concat(E," ").concat(r):void 0:a),ee=J,te=$;return O&&(ee=e.createElement(v.a,{width:14,height:14})),C&&!L&&(te=e.createElement(h.a,{width:14,height:14})),d&&!B&&(te=e.createElement(p.a,{width:14,height:14})),d&&B&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Z,i()({"aria-label":Q,className:s()("googlesitekit-cta-link",w,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":B,"googlesitekit-cta-link--small":U,"googlesitekit-cta-link--caps":k,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":x,"googlesitekit-cta-link--standalone":q,"googlesitekit-cta-link--link-button":V,"googlesitekit-cta-link--no-flex":!!M}),disabled:x,href:"LINK"!==X&&"EXTERNAL_LINK"!==X||x?void 0:P,onClick:z,rel:"EXTERNAL_LINK"===X?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===X?"_blank":void 0,to:K},Y),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},E),!!te&&e.createElement(b.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},212:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return v})),n.d(t,"b",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return E}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",u="splash",l="adminBar",g="adminBarViewOnly",d="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",v="moduleSetup",h="key-metrics",b="traffic",y="content",O="speed",_="monetization",k=[r,i,a,o,c,u,d,v],E=[a,o,g,m]},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return g}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function u(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function l(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||u(e))}function g(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,g=i.userIDHash,d=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:g,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,v=p.disableTracking,h=(p.isTrackingEnabled,p.initializeSnippet),b=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():v()}c&&s&&h()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},40:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),u=n(25);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,l=t.shape,g=t.padding,d=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,v=t.desktopWidth,h=t.desktopHeight,b=Object(u.e)(),y={width:(n={},i()(n,u.b,d),i()(n,u.c,p),i()(n,u.a,v),i()(n,u.d,v),n),height:(r={},i()(r,u.b,f),i()(r,u.c,m),i()(r,u.a,h),i()(r,u.d,v),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":g}),style:{width:y.width[b]||o,height:y.height[b]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===l})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),u=n(13),l=n(62),g=n(78),d=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},v=function(){return{}},h=function(){},b=l.a.clearError,y=l.a.receiveError,O=function(e){var t,n,r=i.a.mark(P),a=e.baseName,c=e.controlCallback,l=e.reducerCallback,f=void 0===l?m:l,O=e.argsToParams,_=void 0===O?v:O,k=e.validateParams,E=void 0===k?h:k;s()(a,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof f,"reducerCallback must be a function."),s()("function"==typeof _,"argsToParams must be a function."),s()("function"==typeof E,"validateParams must be a function.");try{E(_()),n=!1}catch(e){n=!0}var S=Object(g.b)(a),w=Object(g.a)(a),j="FETCH_".concat(w),N="START_".concat(j),T="FINISH_".concat(j),x="CATCH_".concat(j),A="RECEIVE_".concat(w),C="fetch".concat(S),D="receive".concat(S),L="isFetching".concat(S),R=o()({},L,{});function P(e,t){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:N};case 2:return r.next=4,b(a,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:j};case 7:return n=r.sent,r.next=10,I[D](n,e);case 10:return r.next=12,{payload:{params:e},type:T};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,y(o,a,t);case 19:return r.next=21,{payload:{params:e},type:x};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var I=(t={},o()(t,C,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=_.apply(void 0,t);return E(r),P(r,t)})),o()(t,D,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(u.isPlainObject)(t),"params is required."),E(t)):t={},{payload:{response:e,params:t},type:A}})),t),B=o()({},j,(function(e){var t=e.payload;return c(t.params)})),F=o()({},L,(function(e){if(void 0===e[L])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=_.apply(void 0,r),E(t)}catch(e){return!1}return!!e[L][Object(d.I)(t)]}));return{initialState:R,actions:I,controls:B,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case N:var i=r.params;return p(p({},e),{},o()({},L,p(p({},e[L]),{},o()({},Object(d.I)(i),!0))));case A:var a=r.response,c=r.params;return f(e,a,c);case T:var s=r.params;return p(p({},e),{},o()({},L,p(p({},e[L]),{},o()({},Object(d.I)(s),!1))));case x:var u=r.params;return p(p({},e),{},o()({},L,p(p({},e[L]),{},o()({},Object(d.I)(u),!1))));default:return e}},resolvers:{},selectors:F}}},488:function(e,t){e.exports=googlesitekit.notifications},497:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(8);function Description(t){var n=t.className,i=void 0===n?"googlesitekit-publisher-win__desc":n,a=t.text,o=t.learnMoreLink;return e.createElement("div",{className:i},e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(r.G)(a,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",o))}}).call(this,n(4))},532:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALink}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),u=n(1),l=n.n(u),g=n(221),d=n(0),f=n(3),p=n(60),m=n(32),v=n(120),h=n(10);function CTALink(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,u=t.dismissExpires,l=void 0===u?-1:u,b=Object(d.useState)(!1),y=s()(b,2),O=y[0],_=y[1],k=Object(g.a)(),E=Object(v.a)(n),S=Object(f.useSelect)((function(e){return!!r&&e(m.a).isNavigatingTo(r)})),w=Object(f.useDispatch)(p.a).dismissNotification,j=Object(f.useDispatch)(m.a).navigateTo,N=function(){var e=o()(i.a.mark((function e(t){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),!t.defaultPrevented&&r&&t.preventDefault(),_(!0),e.next=5,null==c?void 0:c(t);case 5:return k()&&_(!1),a=[E.confirm()],l>=0&&a.push(w(n,{expiresInSeconds:l,skipHidingFromQueue:!0})),e.next=10,Promise.all(a);case 10:r&&j(r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(h.SpinnerButton,{className:"googlesitekit-notification__cta",href:r,onClick:N,disabled:O||S,isSaving:O||S},a)}CTALink.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,dismissExpires:l.a.number}}).call(this,n(4))},579:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var r=n(20),i=n(120);function LearnMoreLink(t){var n=t.id,a=t.label,o=t.url,c=Object(i.a)(n);return e.createElement(r.a,{onClick:function(e){e.persist(),c.clickLearnMore()},href:o,external:!0},a)}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},585:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var r=function(t){try{if("string"!=typeof t||!t)throw new TypeError("Invalid URL: ".concat(t));return"https:"===new URL(t).protocol}catch(t){return e.console.warn("Invalid URL:",t),!1}}}).call(this,n(26))},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return T})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return C})),n.d(t,"g",(function(){return L})),n.d(t,"f",(function(){return R}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),s=n(7),u=n.n(s),l=n(11),g=n.n(l),d=n(57),f=n.n(d),p=n(13),m=n(111);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return h(h({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=x(i);return g()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},y=b,O=b,_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},k=b,E=b,S=b,w=function(e){return e},j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:_.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||w}))))),resolvers:k.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:E.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},N={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},T=(r={},u()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),u()(r,"AWAIT",(function(e){return e.payload.value})),r),x=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},A={actions:N,controls:T,reducer:w},C=function(e){return function(t){return D(e(t))}},D=f()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return g()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function R(e,t){return g()("function"==typeof e,"a validator function is required."),g()("function"==typeof t,"an action creator function is required."),g()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},593:function(e,t,n){"use strict";var r=n(895);n.d(t,"b",(function(){return r.a}));var i=n(896);n.d(t,"c",(function(){return i.a}));var a=n(897);n.d(t,"a",(function(){return a.a}));var o=n(736);n.d(t,"d",(function(){return o.a}));var c=n(898);n.d(t,"e",(function(){return c.a}));var s=n(899);n.d(t,"f",(function(){return s.a}))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return g})),n.d(t,"L",(function(){return d})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return _})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return E})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return w})),n.d(t,"r",(function(){return j})),n.d(t,"t",(function(){return N})),n.d(t,"w",(function(){return T})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return A})),n.d(t,"x",(function(){return C})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return L})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return P})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return B})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return M})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return G})),n.d(t,"i",(function(){return U})),n.d(t,"p",(function(){return H})),n.d(t,"Q",(function(){return q})),n.d(t,"P",(function(){return W}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",g="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",v="kmAnalyticsAdSenseTopEarningContent",h="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",_="kmAnalyticsPopularContent",k="kmAnalyticsPopularProducts",E="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",w="kmAnalyticsTopCitiesDrivingLeads",j="kmAnalyticsTopCitiesDrivingAddToCart",N="kmAnalyticsTopCitiesDrivingPurchases",T="kmAnalyticsTopDeviceDrivingPurchases",x="kmAnalyticsTopConvertingTrafficSource",A="kmAnalyticsTopCountries",C="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",P="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",B="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",M="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",G="kmAnalyticsVisitsPerVisitor",U="kmAnalyticsMostEngagingPages",H="kmAnalyticsTopCategories",q=[v,h,b,y,O,_,k,E,H,S,w,j,N,T,x,A,D,L,R,B,F,M,G,U,H],W=[].concat(q,[z])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(7),i=n.n(r),a=n(33),o=n.n(a),c=n(111),s=n(11),u=n.n(s),l=n(94),g=n.n(l),d=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(d.I)(e):e}));return"".concat(e,"::").concat(g()(JSON.stringify(n)))}return e}var v={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function h(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return u()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:v,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var a=r.baseName,o=r.args,c=r.error,s=m(a,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},s,o))});case"CLEAR_ERROR":var u=r.baseName,l=r.args,g=p({},e),d=m(u,l);return g.errors=p({},e.errors||{}),g.errorArgs=p({},e.errorArgs||{}),delete g.errors[d],delete g.errorArgs[d],g;case"CLEAR_ERRORS":var f=r.baseName,v=p({},e);if(f)for(var h in v.errors=p({},e.errors||{}),v.errorArgs=p({},e.errorArgs||{}),v.errors)(h===f||h.startsWith("".concat(f,"::")))&&(delete v.errors[h],delete v.errorArgs[h]);else v.errors={},v.errorArgs={};return v;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},642:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActionsCTALinkDismiss}));var r=n(2),i=n(3),a=n(32),o=n(192),c=n(532);function ActionsCTALinkDismiss(t){var n=t.id,s=t.className,u=void 0===s?"googlesitekit-publisher-win__actions":s,l=t.ctaLink,g=t.ctaLabel,d=t.onCTAClick,f=t.dismissLabel,p=void 0===f?Object(r.__)("OK, Got it!","google-site-kit"):f,m=t.dismissExpires,v=void 0===m?0:m,h=Object(i.useSelect)((function(e){return!!l&&e(a.a).isNavigatingTo(l)}));return e.createElement("div",{className:u},e.createElement(c.a,{id:n,ctaLink:l,ctaLabel:g,onCTAClick:d,dismissExpires:v}),e.createElement(o.a,{id:n,primary:!1,dismissLabel:p,dismissExpires:v,disabled:h}))}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},710:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&""!==e&&/^[A-Za-z0-9-_.]+$/.test(e)}n.d(t,"a",(function(){return r}))},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},736:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ClientIDTextField}));var r=n(15),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(2),u=n(3),l=n(10),g=n(175),d=n(710),f=n(161);function ClientIDTextField(){var t=Object(u.useSelect)((function(e){return e(g.b).getClientID()})),n=Object(c.useState)(!t||Object(d.a)(t)),r=i()(n,2),a=r[0],p=r[1],m=Object(f.a)(p,500),v=Object(u.useDispatch)(g.b).setClientID,h=Object(c.useCallback)((function(e){var n=e.currentTarget.value;n!==t&&v(n),m(Object(d.a)(n))}),[t,v,m]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(l.TextField,{label:Object(s.__)("Client ID","google-site-kit"),className:o()("googlesitekit-text-field-client-id",{"mdc-text-field--error":!a}),helperText:!a&&Object(s.__)("The Sign in with Google button won’t be displayed until you insert a valid Client ID","google-site-kit"),outlined:!0,value:t,onChange:h,maxLength:120}))}}).call(this,n(4))},767:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#sign-in-with-google_svg__clip0_27_1152)"},r.createElement("path",{d:"M8.865 24.172L7.472 29.37l-5.088.108A19.91 19.91 0 010 20c0-3.317.807-6.444 2.236-9.198h.001l4.531.83 1.985 4.504A11.888 11.888 0 008.11 20c0 1.468.266 2.875.754 4.172z",fill:"#FBBB00"}),r.createElement("path",{d:"M39.65 16.264c.23 1.21.35 2.459.35 3.736 0 1.432-.15 2.828-.438 4.176a19.996 19.996 0 01-7.041 11.42h-.001l-5.707-.292-.808-5.041a11.92 11.92 0 005.129-6.087H20.439v-7.912H39.65z",fill:"#518EF8"}),r.createElement("path",{d:"M32.52 35.596h.001A19.916 19.916 0 0120.001 40c-7.617 0-14.24-4.257-17.617-10.522l6.481-5.305c1.69 4.507 6.037 7.716 11.135 7.716 2.191 0 4.244-.592 6.006-1.626l6.514 5.333z",fill:"#28B446"}),r.createElement("path",{d:"M32.766 4.604l-6.48 5.305A11.822 11.822 0 0020 8.11c-5.213 0-9.643 3.356-11.247 8.025l-6.516-5.334C5.564 4.385 12.27 0 20 0c4.853 0 9.302 1.729 12.766 4.604z",fill:"#F14336"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"sign-in-with-google_svg__clip0_27_1152"},r.createElement("path",{fill:"#fff",d:"M0 0h40v40H0z"})));t.a=function SvgSignInWithGoogle(e){return r.createElement("svg",i({viewBox:"0 0 40 40",fill:"none"},e),a,o)}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return g.a})),n.d(t,"C",(function(){return g.d})),n.d(t,"D",(function(){return g.e})),n.d(t,"z",(function(){return g.c})),n.d(t,"s",(function(){return g.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"j",(function(){return h})),n.d(t,"d",(function(){return E})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return w})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return x})),n.d(t,"o",(function(){return A})),n.d(t,"x",(function(){return C})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return L})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return B.b})),n.d(t,"i",(function(){return B.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return M})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return H})),n.d(t,"E",(function(){return q.a})),n.d(t,"h",(function(){return W})),n.d(t,"M",(function(){return V})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var g=n(82);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[d,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var v=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},h=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),y=n.n(b),O=n(11),_=n.n(O),k=n(2),E="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',w=60,j=60*w,N=24*j,T=7*N,x=30*N;function A(){var e=function(e){return Object(k.sprintf)( /* translators: %s: number of days */ Object(k._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 C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){_()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function L(e){_()(C(e),E);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function R(e,t){return D(I(e,t*N))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){_()(C(e)||Object(r.isDate)(e)&&!isNaN(e),E);var n=C(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var B=n(98),F=n(83);function M(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var G=n(27),U=n.n(G),H=function(e){return Array.isArray(e)?U()(e).sort():e},q=n(88);function W(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var V=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return T}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),u=n(23),l=n.n(u),g=n(13),d=n(57),f=n.n(d),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},b=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=v(v({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?j(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?j(a,v(v({},o),{},{unit:"second"})):"",i?j(i,v(v({},o),{},{unit:"minute"})):"",r?j(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},_=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},k=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),j(_(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),j(_(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),j(_(e),e%10==0?{}:t)):j(e,{signDisplay:"never",maximumFractionDigits:1})};function E(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(g.isPlainObject)(e)&&(t=v({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(g.isFinite)(e)?e:Number(e),Object(g.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=E(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?k(e):"duration"===i?h(e,n):"durationISO"===i?b(e):j(e,n)}var w=f()(console.warn),j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,a=l()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},g=0,d=Object.entries(a);g<d.length;g++){var f=i()(d[g],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(g.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},895:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ButtonTextSelect}));var r=n(0),i=n(2),a=n(3),o=n(175),c=n(10);function ButtonTextSelect(){var t=Object(a.useSelect)((function(e){return e(o.b).getText()})),n=Object(a.useDispatch)(o.b).setText,s=Object(r.useCallback)((function(e,r){var i=r.dataset.value;i!==t&&n(i)}),[t,n]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(c.Select,{className:"googlesitekit-sign-in-with-google__select-button-text",label:Object(i.__)("Button text","google-site-kit"),value:t,onEnhancedChange:s,enhanced:!0,outlined:!0},o.d.map((function(t){return e.createElement(c.Option,{key:t.value,value:t.value},t.label)}))))}}).call(this,n(4))},896:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ButtonThemeSelect}));var r=n(0),i=n(2),a=n(3),o=n(175),c=n(10);function ButtonThemeSelect(){var t=Object(a.useSelect)((function(e){return e(o.b).getTheme()})),n=Object(a.useDispatch)(o.b).setTheme,s=Object(r.useCallback)((function(e,r){var i=r.dataset.value;i!==t&&n(i)}),[t,n]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(c.Select,{className:"googlesitekit-sign-in-with-google__select-button-theme",label:Object(i.__)("Button theme","google-site-kit"),value:t,onEnhancedChange:s,enhanced:!0,outlined:!0},o.e.map((function(t){return e.createElement(c.Option,{key:t.value,value:t.value},t.label)}))))}}).call(this,n(4))},897:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ButtonShapeSelect}));var r=n(0),i=n(2),a=n(3),o=n(175),c=n(10);function ButtonShapeSelect(){var t=Object(a.useSelect)((function(e){return e(o.b).getShape()})),n=Object(a.useDispatch)(o.b).setShape,s=Object(r.useCallback)((function(e,r){var i=r.dataset.value;i!==t&&n(i)}),[t,n]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(c.Select,{className:"googlesitekit-sign-in-with-google__select-button-shape",label:Object(i.__)("Button shape","google-site-kit"),value:t,onEnhancedChange:s,enhanced:!0,outlined:!0},o.c.map((function(t){return e.createElement(c.Option,{key:t.value,value:t.value},t.label)}))))}}).call(this,n(4))},898:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OneTapToggle}));var r=n(2),i=n(10),a=n(3),o=n(175);function OneTapToggle(){var t=Object(a.useSelect)((function(e){return e(o.b).getOneTapEnabled()})),n=Object(a.useDispatch)(o.b).setOneTapEnabled;return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement(i.Switch,{label:Object(r.__)("Enable One Tap sign in","google-site-kit"),checked:t,onClick:function(){return n(!t)},hideLabel:!1}))}}).call(this,n(4))},899:function(e,t,n){"use strict";(function(e){function Preview(){return e.createElement("div",{className:"googlesitekit-sign-in-with-google__preview",style:{width:"100%",height:"145px",borderRadius:"4px",backgroundColor:"#CBD0D3"}})}n.d(t,"a",(function(){return Preview}))}).call(this,n(4))},93:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),u=n(1),l=n.n(u),g=n(0),d=Object(g.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,u=void 0!==c&&c,l=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},l,{className:s()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":u})}),r)}));d.displayName="Badge",d.propTypes={label:l.a.string.isRequired,hasLeftSpacing:l.a.bool},t.a=d}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function g(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),g=Object(c.a)(i,n,s,r),d={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);d[r]||(d[r]=Object(a.once)(g)),d[r].apply(d,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:g,trackEventOnce:f}}}).call(this,n(26))}},[[1236,1,0]]]); dist/assets/js/googlesitekit-modules-tagmanager-a9c1650ad917dc777a4f.js 0000604 00000411500 14717744000 0021312 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[24],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,g=t.userRoles,f=void 0===g?[]:g,d=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:d?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var g=n.createElement("script");return g.setAttribute(a.b,""),g.async=!0,g.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(g),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var i=Object(u.a)(t);return function(){var t=s()(a.a.mark((function t(o,c,s,u){var l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(a),e()};i("event",c,g(g({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},105:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),s=n.n(c),u=n(12),l=n.n(u);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:l()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(3),s=n(10),u=n(34),l=n(67);function ErrorNotice(t){var n,r=t.error,a=t.hasButton,g=void 0!==a&&a,f=t.storeName,d=t.message,p=void 0===d?r.message:d,m=t.noPrefix,b=void 0!==m&&m,v=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return f?e(f).getSelectorDataForError(r):null})),O=Object(i.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!r||Object(u.f)(r))return null;var j=g&&Object(u.d)(r,y);return g||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(i.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(l.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),j&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:a.a.shape({message:a.a.string}),hasButton:a.a.bool,storeName:a.a.string,message:a.a.string,noPrefix:a.a.bool,Icon:a.a.elementType}}).call(this,n(4))},1231:function(e,t,n){"use strict";n.r(t);var r=n(3),a=n.n(r),i=n(179),o=n.n(i),c=n(2),s=(n(737),n(738),n(907)),u=(n(742),n(908)),l=(n(743),n(744),n(909)),g=n(768),f=n(43),d=n(133),p=n(7),m=n.n(p),b=n(23),v=n.n(b),h=n(5),y=n.n(h),O=n(16),j=n.n(O),S=n(11),_=n.n(S),E=n(42),k=n.n(E),w=n(28),A=n(337),C=n(183),I=n(19),N=n(14),D=n(59),T=n(9);function x(){return(x=j()(y.a.mark((function e(t){var n,r,a,i,o,c,s,u,l,g,d,p,m;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,r=t.dispatch,a=n(f.g).getAccountID(),n(f.g).getContainerID()!==f.b){e.next=16;break}return i=n(w.a).getValue(f.f,"containerName"),e.next=7,r(f.g).createContainer(a,f.d,{containerName:i});case 7:if(o=e.sent,c=o.response,!(s=o.error)){e.next=12;break}return e.abrupt("return",{error:s});case 12:return e.next=14,r(f.g).setContainerID(c.publicId);case 14:return e.next=16,r(f.g).setInternalContainerID(c.containerId);case 16:if(n(f.g).getAMPContainerID()!==f.b){e.next=30;break}return u=n(w.a).getValue(f.f,"ampContainerName"),e.next=21,r(f.g).createContainer(a,f.c,{containerName:u});case 21:if(l=e.sent,g=l.response,!(d=l.error)){e.next=26;break}return e.abrupt("return",{error:d});case 26:return e.next=28,r(f.g).setAMPContainerID(g.publicId);case 28:return e.next=30,r(f.g).setInternalAMPContainerID(g.containerId);case 30:if(!n(f.g).haveSettingsChanged()){e.next=41;break}return e.next=33,r(f.g).saveSettings();case 33:if(p=e.sent,!(m=p.error)){e.next=37;break}return e.abrupt("return",{error:m});case 37:if(!n(I.a).isModuleConnected("analytics-4")){e.next=41;break}return e.next=41,r(T.p).fetchGetSettings();case 41:return e.next=43,k.a.invalidateCache("modules","tagmanager");case 43:return e.abrupt("return",{});case 44:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M,L,F,G,V,U,q,B,H=o.a.createModuleStore("tagmanager",{ownedSettingsSlugs:["accountID","ampContainerID","containerID","internalAMPContainerID","internalContainerID"],storeName:f.g,settingSlugs:["accountID","ampContainerID","containerID","internalContainerID","internalAMPContainerID","useSnippet","ownerID"],submitChanges:function(e){return x.apply(this,arguments)},validateCanSubmitChanges:function(e){var t=Object(D.e)(e),n=t(f.g),r=n.getAccountID,a=n.getContainerID,i=n.getContainers,o=n.getAMPContainerID,c=n.getInternalContainerID,s=n.getInternalAMPContainerID,u=n.haveSettingsChanged,l=n.isDoingSubmitChanges,g=t(N.c),d=g.isAMP,p=g.isSecondaryAMP,m=r();if(_()(!l(),C.a),_()(u(),C.b),_()(Object(A.c)(m),"a valid accountID is required to submit changes"),a()===f.b){var b=e(w.a).getValue(f.f,"containerName");_()(Object(A.e)(b),"a valid container name is required to submit changes");var v=i(m),h=Object(A.a)(b);_()(Object(A.b)(b,v),'a container with "'.concat(h,'" name already exists'))}if(d()){var y=o();if(_()(Object(A.f)(y),"a valid ampContainerID selection is required to submit changes"),Object(A.d)(y)&&_()(Object(A.g)(s()),"a valid internalAMPContainerID is required to submit changes"),y===f.b){var O=e(w.a).getValue(f.f,"ampContainerName");_()(Object(A.e)(O),"a valid container name is required to submit changes");var j=i(m),S=Object(A.a)(O);_()(Object(A.b)(O,j),'an AMP container with "'.concat(S,'" name already exists'))}}d()&&!p()||(_()(Object(A.f)(a()),"a valid containerID selection is required to submit changes"),Object(A.d)(a())&&_()(Object(A.g)(c()),"a valid internalContainerID is required to submit changes"))}});L=(M=H).actions,F=M.selectors,G=v()(M,["actions","selectors"]),V=L.setAmpContainerID,U=v()(L,["setAmpContainerID"]),q=F.getAmpContainerID,B=v()(F,["getAmpContainerID"]);var W=H=R(R({},G),{},{actions:R(R({},U),{},{setAMPContainerID:V}),selectors:R(R({},B),{},{getAMPContainerID:q})}),K=n(27),$=n.n(K),z=n(250),X=n(47);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=Object(X.a)({baseName:"getContainers",argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;_()(Object(z.b)(t),"A valid accountID is required to fetch containers.")},controlCallback:function(e){var t=e.accountID;return k.a.get("modules","tagmanager","containers",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var r=n.accountID;return Z(Z({},e),{},{containers:Z(Z({},e.containers),{},m()({},r,t))})}}),Q=Object(X.a)({baseName:"createContainer",argsToParams:function(e,t,n){return{accountID:e,usageContext:t,containerName:n.containerName}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.usageContext,r=e.containerName;_()(Object(z.b)(t),"A valid accountID is required to create a container."),_()(Object(z.h)(n),"A valid usageContext is required to create a container."),_()(Object(z.e)(r),"A valid containerName is required to create a container.")},controlCallback:function(e){var t=e.accountID,n=e.usageContext,r=e.containerName;return k.a.set("modules","tagmanager","create-container",{accountID:t,usageContext:n,name:r})},reducerCallback:function(e,t,n){var r=n.accountID;return Z(Z({},e),{},{containers:Z(Z({},e.containers),{},m()({},r,[].concat($()(e.containers[r]||[]),[t])))})}}),ee={createContainer:Object(D.f)((function(e,t,n){var r=n.containerName;_()(Object(z.b)(e),"A valid accountID is required to create a container."),_()(Object(z.h)(t),"A valid usageContext is required to create a container."),_()(Object(z.e)(r),"A valid containerName is required to create a container.")}),y.a.mark((function e(t,n,r){var a,i,o,c;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.containerName,e.next=3,Q.actions.fetchCreateContainer(t,n,{containerName:a});case 3:return i=e.sent,o=i.response,c=i.error,e.abrupt("return",{response:o,error:c});case 7:case"end":return e.stop()}}),e)}))),selectContainerByID:Object(D.f)((function(e){_()(Object(z.d)(e),"A valid container ID is required to select a container by ID.")}),y.a.mark((function e(t){var n,a,i,o,c;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(n=e.sent,a=n.select,i=n.dispatch,o=a(f.g).getAccountID(),Object(z.b)(o)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,ee.waitForContainers(o);case 10:if(c=a(f.g).getContainerByID(o,t)){e.next=13;break}return e.abrupt("return");case 13:c.usageContext.includes(f.d)?(i(f.g).setContainerID(t),i(f.g).setInternalContainerID(c.containerId)):c.usageContext.includes(f.c)&&(i(f.g).setAMPContainerID(t),i(f.g).setInternalAMPContainerID(c.containerId));case 14:case"end":return e.stop()}}),e)}))),waitForContainers:Object(D.f)((function(e){_()(Object(z.b)(e),"A valid accountID is required to wait for containers.")}),y.a.mark((function e(t){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{accountID:t},type:"WAIT_FOR_CONTAINERS"});case 1:case"end":return e.stop()}}),e)})))},te=m()({},"WAIT_FOR_CONTAINERS",Object(r.createRegistryControl)((function(e){return function(t){var n=t.payload.accountID;e.select(f.g).getContainers(n);var r=function(){return e.select(f.g).hasFinishedResolution("getContainers",[n])};if(!r())return new Promise((function(t){var n=e.subscribe((function(){r()&&(n(),t())}))}))}}))),ne={getContainers:y.a.mark((function e(t){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(z.b)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(n=e.sent,(0,n.select)(f.g).getContainers(t)){e.next=9;break}return e.next=9,Y.actions.fetchGetContainers(t);case 9:case"end":return e.stop()}}),e)}))},re={getContainerByID:Object(r.createRegistrySelector)((function(e){return function(t,n,r){var a=e(f.g).getContainers(n);if(void 0!==a)return a.find((function(e){var t=e.publicId;return r===t}))||null}})),getWebContainers:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(f.g).getContainers(n);if(Array.isArray(r))return r.filter((function(e){return e.usageContext.includes(f.d)}))}})),getAMPContainers:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=e(f.g).getContainers(n);if(Array.isArray(r))return r.filter((function(e){return e.usageContext.includes(f.c)}))}})),getContainers:function(e,t){return e.containers[t]},isDoingGetContainers:Object(r.createRegistrySelector)((function(e){return function(t,n){return e(f.g).isFetchingGetContainers(n)}})),isDoingCreateContainer:function(e){return Object.values(e.isFetchingCreateContainer).some(Boolean)},getPrimaryContainerID:Object(r.createRegistrySelector)((function(e){return function(){var t=e(N.c).isPrimaryAMP();if(void 0!==t)return t?e(f.g).getAMPContainerID():e(f.g).getContainerID()}}))},ae=Object(r.combineStores)(Y,Q,{initialState:{containers:{}},actions:ee,controls:te,resolvers:ne,selectors:re}),ie=(ae.initialState,ae.actions),oe=(ae.controls,ae.reducer,ae.resolvers,ae.selectors,ae);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ue=Object(X.a)({baseName:"getAccounts",controlCallback:function(){return k.a.get("modules","tagmanager","accounts",null,{useCache:!1})},reducerCallback:function(e,t){return se(se({},e),{},{accounts:t})}}),le={accounts:void 0},ge={resetAccounts:y.a.mark((function e(){var t,n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ACCOUNTS"};case 6:n(f.g).invalidateResolutionForStoreSelector("getAccounts");case 7:case"end":return e.stop()}}),e)})),selectAccount:Object(D.f)((function(e){_()(Object(z.c)(e),"A valid accountID selection is required to select.")}),y.a.mark((function e(t){var n,a,i,o,c,s,u,l;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(n=e.sent,a=n.select,i=n.dispatch,t!==a(f.g).getAccountID()){e.next=7;break}return e.abrupt("return");case 7:if(i(f.g).setSettings({accountID:t,containerID:"",internalContainerID:"",ampContainerID:"",internalAMPContainerID:""}),T.a!==t&&!a(f.g).hasExistingTag()){e.next=10;break}return e.abrupt("return");case 10:return e.next=12,ie.waitForContainers(t);case 12:o=a(N.c),c=o.isAMP,s=o.isSecondaryAMP,c()&&!s()||((u=a(f.g).getWebContainers(t)).length?1===u.length&&(i(f.g).setContainerID(u[0].publicId),i(f.g).setInternalContainerID(u[0].containerId)):(i(f.g).setContainerID(f.b),i(f.g).setInternalContainerID(""))),c()&&((l=a(f.g).getAMPContainers(t)).length?1===l.length&&(i(f.g).setAMPContainerID(l[0].publicId),i(f.g).setInternalAMPContainerID(l[0].containerId)):(i(f.g).setAMPContainerID(f.b),i(f.g).setInternalAMPContainerID("")));case 15:case"end":return e.stop()}}),e)})))},fe={getAccounts:y.a.mark((function e(){var t,n,a,i,o,c;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:if(n=e.sent,a=n.select,i=n.dispatch,o=a(f.g).getAccounts()){e.next=11;break}return e.next=9,ue.actions.fetchGetAccounts();case 9:c=e.sent,o=c.response;case 11:1!==(null===(t=o)||void 0===t?void 0:t.length)||a(f.g).getAccountID()||i(f.g).selectAccount(o[0].accountId);case 12:case"end":return e.stop()}}),e)}))},de={getAccounts:function(e){return e.accounts},isDoingGetAccounts:Object(r.createRegistrySelector)((function(e){return function(){return e(f.g).isFetchingGetAccounts()}}))},pe=Object(r.combineStores)(ue,{initialState:le,actions:ge,reducer:function(e,t){switch(t.type){case"RESET_ACCOUNTS":return se(se({},e),{},{accounts:void 0,settings:se(se({},e.settings),{},{accountID:void 0,ampContainerID:void 0,containerID:void 0,internalAMPContainerID:void 0,internalContainerID:void 0})});default:return e}},resolvers:fe,selectors:de}),me=(pe.initialState,pe.actions,pe.controls,pe.reducer,pe.resolvers,pe.selectors,pe),be=n(553),ve=n(740),he=Object(be.a)({storeName:f.g,tagMatchers:ve.a,isValidTag:z.d}),ye=(he.initialState,he.actions,he.controls,he.reducer,he.resolvers,he.selectors,he),Oe=n(61);function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){m()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e,Ee=Object(X.a)({baseName:"getLiveContainerVersion",argsToParams:function(e,t){return{accountID:e,internalContainerID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.internalContainerID;_()(Object(z.b)(t),"A valid accountID is required to fetch or receive a live container version."),_()(Object(z.g)(n),"A valid internalContainerID is required to fetch or receive a live container version.")},controlCallback:(_e=j()(y.a.mark((function e(t){var n,r;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accountID,r=t.internalContainerID,e.prev=1,e.next=4,k.a.get("modules","tagmanager","live-container-version",{accountID:n,internalContainerID:r},{useCache:!1});case 4:return e.abrupt("return",e.sent);case 7:if(e.prev=7,e.t0=e.catch(1),404!==e.t0.code||!e.t0.message.includes("container version not found")){e.next=11;break}return e.abrupt("return",null);case 11:throw e.t0;case 12:case"end":return e.stop()}}),e,null,[[1,7]])}))),function(e){return _e.apply(this,arguments)}),reducerCallback:function(e,t,n){var r=n.accountID,a=n.internalContainerID;return Se(Se({},e),{},{liveContainerVersions:Se(Se({},e.liveContainerVersions),{},m()({},"".concat(r,"::").concat(a),t))})}}),ke={getLiveContainerVersion:y.a.mark((function e(t,n){var a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(z.b)(t)&&Object(z.g)(n)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(a=e.sent,void 0!==(0,a.select)(f.g).getLiveContainerVersion(t,n)){e.next=9;break}return e.next=9,Ee.actions.fetchGetLiveContainerVersion(t,n);case 9:case"end":return e.stop()}}),e)}))},we={getLiveContainerGoogleTag:Object(r.createRegistrySelector)((function(e){return function(t,n,r){var a=e(f.g).getLiveContainerVersion(n,r);if(void 0!==a)return(null==a?void 0:a.tag)&&a.tag.find((function(e){return"googtag"===e.type}))||null}})),getLiveContainerGoogleTagID:Object(r.createRegistrySelector)((function(e){return function(t,n,r){var a=e(f.g).getLiveContainerGoogleTag(n,r);if(void 0!==a){if(null==a?void 0:a.parameter){var i,o,c=null===(i=a.parameter.find((function(e){return"tagId"===e.key})))||void 0===i?void 0:i.value;if(null===(o=c)||void 0===o?void 0:o.startsWith("{{")){var s;c=c.replace(/(\{\{|\}\})/g,"");var u=e(f.g).getLiveContainerVariable(n,r,c);c=null==u||null===(s=u.parameter.find((function(e){return"value"===e.key})))||void 0===s?void 0:s.value}if(Object(Oe.c)(c))return c}return null}}})),getCurrentGTMGoogleTagID:Object(r.createRegistrySelector)((function(e){return function(){var t=e(f.g).getAccountID();if(!Object(z.b)(t))return null;var n=e(f.g).getInternalContainerID();return Object(z.g)(n)?e(f.g).getLiveContainerGoogleTagID(t,n):null}})),getLiveContainerVariable:Object(r.createRegistrySelector)((function(e){return function(t,n,r,a){var i=e(f.g).getLiveContainerVersion(n,r);if(void 0!==i)return(null==i?void 0:i.variable)&&i.variable.find((function(e){return e.name===a}))||null}})),getLiveContainerVersion:function(e,t,n){return e.liveContainerVersions["".concat(t,"::").concat(n)]},isDoingGetLiveContainerVersion:Object(r.createRegistrySelector)((function(e){return function(t,n,r){return e(f.g).isFetchingGetLiveContainerVersion(n,r)}}))},Ae=Object(r.combineStores)(Ee,{initialState:{liveContainerVersions:{}},resolvers:ke,selectors:we}),Ce=(Ae.initialState,Ae.actions,Ae.controls,Ae.reducer,Ae.resolvers,Ae.selectors,Ae),Ie=n(157),Ne=n(6),De={selectors:{getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.path,a=n.query,i="https://tagmanager.google.com/";if(a&&(i=Object(Ie.a)(i,a)),r){var o="/".concat(r.replace(/^\//,""));i="".concat(i,"#").concat(o)}var c=e(Ne.a).getAccountChooserURL(i);if(void 0!==c)return c}}))}},Te=Object(r.combineStores)(W,me,oe,ye,Ce,Object(d.a)(f.g),De);Te.initialState,Te.actions,Te.controls,Te.reducer,Te.resolvers,Te.selectors;a.a.registerStore(f.g,Te),o.a.registerModule("tagmanager",{storeName:f.g,SettingsEditComponent:u.a,SettingsViewComponent:l.a,SetupComponent:s.a,Icon:g.a,features:[Object(c.__)("Create tags without updating code","google-site-kit")]})},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),s=n.n(c),u=n(11),l=n.n(u),g=n(3),f=n.n(g),d=n(41),p=n(8),m=function(e){var t;l()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(d.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(g.createRegistryControl)((function(t){return function(){return Object(d.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(d.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),a=n.n(r),i=n(3),o=n(116),c=n(19),s=n(34),u=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,a=t.moduleSlug,l=t.storeName,g=Object(i.useSelect)((function(e){return e(l).getErrors()})),f=Object(i.useSelect)((function(e){return e(c.a).getModule(a)})),d=[];return g.filter((function(e){return!(!(null==e?void 0:e.message)||d.includes(e.message))&&(d.push(e.message),!0)})).map((function(t,n){var a=t.message;return Object(s.e)(t)&&(a=Object(u.a)(a,f)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:l,message:a})}))}StoreErrorNotices.propTypes={hasButton:a.a.bool,storeName:a.a.string.isRequired,moduleSlug:a.a.string}}).call(this,n(4))},146:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var r=n(33),a=n.n(r);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==a()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===a()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),a=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&a}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===a()(e)&&t(e)})):"object"===a()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},148:function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var a=n(68);n.d(t,"b",(function(){return a.c})),n.d(t,"a",(function(){return a.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},a=n.slug,i=void 0===a?"":a,o=n.name,c=void 0===o?"":o,s=n.owner,u=void 0===s?{}:s;if(!i||!c)return e;var l="",g="";return"analytics-4"===i?e.match(/account/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),u&&u.login&&(g=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),u.login)),g||(g=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(l," ").concat(g)}},159:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(2),s=n(3),u=n(198),l=n(211),g=n(68),f=n(6),d=n(10),p=n(0),m=Object(p.forwardRef)((function(t,n){var r=t.className,i=t.children,o=t.type,p=t.dismiss,m=void 0===p?"":p,b=t.dismissCallback,v=t.dismissLabel,h=void 0===v?Object(c.__)("OK, Got it!","google-site-kit"):v,y=t.Icon,O=void 0===y?Object(g.d)(o):y,j=t.OuterCTA,S=Object(s.useDispatch)(f.a).dismissItem,_=Object(s.useSelect)((function(e){return m?e(f.a).isItemDismissed(m):void 0}));if(m&&_)return null;var E=i?l.a:u.a;return e.createElement("div",{ref:n,className:a()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!i,"googlesitekit-settings-notice--multi-row":i})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(E,t)),m&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(d.Button,{tertiary:!0,onClick:function(){S(m),b()}},h)),j&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(j,null)))}));m.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([g.a,g.c,g.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},m.defaultProps={type:g.a},t.a=m}).call(this,n(4))},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},182:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return k})),n.d(t,"g",(function(){return w})),n.d(t,"f",(function(){return A})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return I}));var r=n(16),a=n.n(r),i=n(5),o=n.n(i),c=n(7),s=n.n(c),u=n(11),l=n.n(u),g=n(13),f=n(42),d=n.n(f),p=n(3),m=n(59),b=n(78),v=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=h.a.clearError,S=h.a.receiveError,_="cannot submit changes while submitting changes",E="cannot submit changes if settings have not changed",k=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.ownedSettingsSlugs,i=void 0===a?void 0:a,c=r.storeName,u=void 0===c?void 0:c,f=r.settingSlugs,h=void 0===f?[]:f,y=r.initialSettings,_=void 0===y?void 0:y,E=r.validateHaveSettingsChanged,k=void 0===E?I():E;l()(e,"type is required."),l()(t,"identifier is required."),l()(n,"datapoint is required.");var w=u||"".concat(e,"/").concat(t),A={ownedSettingsSlugs:i,settings:_,savedSettings:void 0},C=Object(v.a)({baseName:"getSettings",controlCallback:function(){return d.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),N=Object(v.a)({baseName:"saveSettings",controlCallback:function(r){var a=r.values;return d.a.set(e,t,n,a)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(Object(g.isPlainObject)(t),"values is required.")}}),D={},T={setSettings:function(e){return l()(Object(g.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,j("saveSettings",[]);case 5:return n=t.select(w).getSettings(),e.next=8,N.actions.fetchSaveSettings(n);case 8:if(r=e.sent,a=r.response,!(i=r.error)){e.next=14;break}return e.next=14,S(i,"saveSettings",[]);case 14:return e.abrupt("return",{response:a,error:i});case 15:case"end":return e.stop()}}),e)}))},x={},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var a=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),a)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==D[n]?D[n](e,{type:n,payload:r}):e}},R={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(w).getSettings()){e.next=7;break}return e.next=7,C.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},M=Object(m.g)(k),L=M.safeSelector,F=M.dangerousSelector,G={haveSettingsChanged:L,__dangerousHaveSettingsChanged:F,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){l()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(g.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(w).getOwnedSettingsSlugs();return e(w).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);T["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},D["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},G["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(w).getSettings()||{})[e]}}))}));var V=Object(p.combineStores)(p.commonStore,C,N,{initialState:A,actions:T,controls:x,reducer:P,resolvers:R,selectors:G});return O(O({},V),{},{STORE_NAME:w})};function w(e,t){return function(){var n=a()(o.a.mark((function n(r){var a,i,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=r.select,i=r.dispatch,!a(t).haveSettingsChanged()){n.next=8;break}return n.next=4,i(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,d.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function A(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function C(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,a=n.isDoingSubmitChanges;l()(!a(),_),l()(r(),E)}}function I(){return function(e,t,n){var r=t.settings,a=t.savedSettings;n&&l()(!Object(g.isEqual)(Object(g.pick)(r,n),Object(g.pick)(a,n)),E),l()(!Object(g.isEqual)(r,a),E)}}},187:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),a=n.n(r),i=" ";function DisplaySetting(e){return e.value||i}DisplaySetting.propTypes={value:a.a.oneOfType([a.a.string,a.a.bool,a.a.number])},t.b=DisplaySetting},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),u=n(1),l=n.n(u),g=n(140),f=n(0),d=n(2),p=n(126),m=n(127),b=n(128),v=n(80),h=n(77),y=Object(f.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,f=void 0!==l&&l,y=t.back,O=void 0!==y&&y,j=t.caps,S=void 0!==j&&j,_=t.children,E=t.className,k=void 0===E?"":E,w=t.danger,A=void 0!==w&&w,C=t.disabled,I=void 0!==C&&C,N=t.external,D=void 0!==N&&N,T=t.hideExternalIndicator,x=void 0!==T&&T,P=t.href,R=void 0===P?"":P,M=t.inverse,L=void 0!==M&&M,F=t.noFlex,G=void 0!==F&&F,V=t.onClick,U=t.small,q=void 0!==U&&U,B=t.standalone,H=void 0!==B&&B,W=t.linkButton,K=void 0!==W&&W,$=t.to,z=t.leadingIcon,X=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Z=R||$||!V?$?"ROUTER_LINK":D?"EXTERNAL_LINK":"LINK":I?"BUTTON_DISABLED":"BUTTON",Y="BUTTON"===Z||"BUTTON_DISABLED"===Z?"button":"ROUTER_LINK"===Z?g.b:"a",Q=("EXTERNAL_LINK"===Z&&(r=Object(d._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Z&&(r=Object(d._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof _?"".concat(_," ").concat(r):void 0:i),ee=z,te=X;return O&&(ee=e.createElement(b.a,{width:14,height:14})),D&&!x&&(te=e.createElement(v.a,{width:14,height:14})),f&&!L&&(te=e.createElement(p.a,{width:14,height:14})),f&&L&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Y,a()({"aria-label":Q,className:s()("googlesitekit-cta-link",k,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":L,"googlesitekit-cta-link--small":q,"googlesitekit-cta-link--caps":S,"googlesitekit-cta-link--danger":A,"googlesitekit-cta-link--disabled":I,"googlesitekit-cta-link--standalone":H,"googlesitekit-cta-link--link-button":K,"googlesitekit-cta-link--no-flex":!!G}),disabled:I,href:"LINK"!==Z&&"EXTERNAL_LINK"!==Z||I?void 0:R,onClick:V,rel:"EXTERNAL_LINK"===Z?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Z?"_blank":void 0,to:$},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},_),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),a=n.n(r),i=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,a=t.CTA,o=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:a.a.node.isRequired,notice:a.a.node.isRequired,LearnMore:a.a.elementType,CTA:a.a.elementType}}).call(this,n(4))},228:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(57),s=n.n(c),u=n(13);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=s()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=o()(e,["metrics","dimensions"]);return g({metrics:d(t),dimensions:p(n)},r)})),d=function(e){return Object(u.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(u.isPlainObject)(e)}))},p=function(e){return Object(u.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(u.isPlainObject)(e)}))}},250:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return d}));var r=n(8),a=n(43),i=n(607);function o(e){return Object(r.y)(e)}function c(e){return e===a.a||o(e)}function s(e){return"string"==typeof e&&/^GTM-[A-Z0-9]+$/.test(e)}function u(e){return"string"==typeof e&&Object(i.a)(e).length>0}function l(e,t){var n=Object(i.a)(e);return!Array.isArray(t)||!t.some((function(e){var t=e.name;return Object(i.a)(t)===n}))}function g(e){return e===a.b||s(e)}function f(e){return Object(r.y)(e)}function d(e){return[a.d,a.c].includes(e)}},256:function(e,t,n){"use strict";(function(e){var r=n(53),a=n.n(r),i=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=s,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(i.a)(u),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),t.default=a.a}).call(this,n(26))},257:function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,a){if(n)return a(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===u&&t[l]){var g=Promise.resolve(t[l].body);return delete t[l],g}if("OPTIONS"===u&&t[u]&&t[u][l]){var f=Promise.resolve(t[u][l]);return delete t[u][l],f}}return a(e)}}},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),a=n(95);function i(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(a.e)(e.orderby))))}))}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},336:function(e,t,n){"use strict";var r=n(900);n.d(t,"b",(function(){return r.a}));var a=n(901);n.d(t,"c",(function(){return a.a}));n(739);var i=n(902);n.d(t,"a",(function(){return i.a}));var o=n(903);n.d(t,"d",(function(){return o.a}));n(600),n(601);var c=n(904);n.d(t,"e",(function(){return c.a}));var s=n(905);n.d(t,"f",(function(){return s.a}));n(602),n(741);var u=n(906);n.d(t,"g",(function(){return u.a}))},337:function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"c",(function(){return a.b})),n.d(t,"d",(function(){return a.d})),n.d(t,"e",(function(){return a.e})),n.d(t,"b",(function(){return a.a})),n.d(t,"f",(function(){return a.f})),n.d(t,"g",(function(){return a.g}));var r=n(607),a=n(250);n(740)},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return g}));n(13);var r=n(2),a="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===a}function s(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function u(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function l(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||u(e))}function g(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},346:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return r.createElement("svg",a({viewBox:"0 0 22 19"},e),i)}},351:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(11),s=n.n(c),u=n(13),l=n(256),g=n(109),f=n(157),d=n(14),p=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},m=Object(u.memoize)(function(){var e=o()(a.a.mark((function e(t){var n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,r=t.ampMode,s()(Object(g.a)(n),"homeURL must be valid URL"),i=[n],d.b!==r){e.next=14;break}return e.prev=4,e.next=7,Object(l.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(f.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&i.push(o),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,u=a.trackingID,l=a.referenceSiteURL,g=a.userIDHash,f=a.isAuthenticated,d={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:g,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},p=Object(r.a)(d),m=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():b()}c&&s&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},404:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.reduce((function(e,t,r){return e+t+encodeURIComponent(n[r]||"")}),"")}n.d(t,"a",(function(){return r}))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return S}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l,g="googlesitekit_",f="".concat(g).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),d=["sessionStorage","localStorage"],p=[].concat(d),m=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=s(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(f).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(n,r){var i,o,s,u,l,g,d,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,s=void 0===o?c.b:o,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,g=i.isError,d=void 0!==g&&g,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(f).concat(n),JSON.stringify({timestamp:l,ttl:s,value:r,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(g)?n:"".concat(f).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),j=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(g)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),S=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,j();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,O(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},42:function(e,t){e.exports=googlesitekit.api},43:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return g}));var r="modules/tagmanager",a="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",u="https://www.googleapis.com/auth/tagmanager.readonly",l="https://www.googleapis.com/auth/tagmanager.edit.containers",g="SETUP_WITH_ANALYTICS"},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),u=n(13),l=n(62),g=n(78),f=n(8);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},b=function(){return{}},v=function(){},h=l.a.clearError,y=l.a.receiveError,O=function(e){var t,n,r=a.a.mark(R),i=e.baseName,c=e.controlCallback,l=e.reducerCallback,d=void 0===l?m:l,O=e.argsToParams,j=void 0===O?b:O,S=e.validateParams,_=void 0===S?v:S;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof j,"argsToParams must be a function."),s()("function"==typeof _,"validateParams must be a function.");try{_(j()),n=!1}catch(e){n=!0}var E=Object(g.b)(i),k=Object(g.a)(i),w="FETCH_".concat(k),A="START_".concat(w),C="FINISH_".concat(w),I="CATCH_".concat(w),N="RECEIVE_".concat(k),D="fetch".concat(E),T="receive".concat(E),x="isFetching".concat(E),P=o()({},x,{});function R(e,t){var n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:A};case 2:return r.next=4,h(i,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:w};case 7:return n=r.sent,r.next=10,M[T](n,e);case 10:return r.next=12,{payload:{params:e},type:C};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,y(o,i,t);case 19:return r.next=21,{payload:{params:e},type:I};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var M=(t={},o()(t,D,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=j.apply(void 0,t);return _(r),R(r,t)})),o()(t,T,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(u.isPlainObject)(t),"params is required."),_(t)):t={},{payload:{response:e,params:t},type:N}})),t),L=o()({},w,(function(e){var t=e.payload;return c(t.params)})),F=o()({},x,(function(e){if(void 0===e[x])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=j.apply(void 0,r),_(t)}catch(e){return!1}return!!e[x][Object(f.I)(t)]}));return{initialState:P,actions:M,controls:L,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case A:var a=r.params;return p(p({},e),{},o()({},x,p(p({},e[x]),{},o()({},Object(f.I)(a),!0))));case N:var i=r.response,c=r.params;return d(e,i,c);case C:var s=r.params;return p(p({},e),{},o()({},x,p(p({},e[x]),{},o()({},Object(f.I)(s),!1))));case I:var u=r.params;return p(p({},e),{},o()({},x,p(p({},e[x]),{},o()({},Object(f.I)(u),!1))));default:return e}},resolvers:{},selectors:F}}},491:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccessibleWarningIcon}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(105),s=n(346);function AccessibleWarningIcon(t){var n=t.height,r=void 0===n?12:n,a=t.screenReaderText,u=void 0===a?Object(o.__)("Error","google-site-kit"):a,l=t.width,g=void 0===l?14:l;return e.createElement(i.Fragment,null,e.createElement(c.a,null,u),e.createElement(s.a,{width:g,height:r}))}AccessibleWarningIcon.propTypes={height:a.a.number,screenReaderText:a.a.string,width:a.a.number}}).call(this,n(4))},553:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(7),a=n.n(r),i=n(16),o=n.n(i),c=n(5),s=n.n(c),u=n(11),l=n.n(u),g=n(3),f=n(14),d=n(351);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,r=t.isValidTag,i=t.tagMatchers;l()("string"==typeof n&&n,"storeName is required."),l()("function"==typeof r,"isValidTag must be a function."),l()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},u={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return l()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:r(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},p=(e={},a()(e,"FETCH_GET_EXISTING_TAG",Object(g.createRegistryControl)((function(e){return o()(s.a.mark((function t(){var n,r,a,o,c,u,l,g;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(f.c).getHomeURL(),r=e.select(f.c).getAMPMode(),t.next=4,Object(d.b)({homeURL:n,ampMode:r});case 4:a=t.sent,o=b(a),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return u=c.value,t.next=12,e.dispatch(f.c).waitForHTMLForURL(u);case 12:if(l=e.select(f.c).getHTMLForURL(u),!(g=Object(d.a)(l,i))){t.next=16;break}return t.abrupt("return",g);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),a()(e,"WAIT_FOR_EXISTING_TAG",Object(g.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var r=e.subscribe((function(){t()&&(r(),n())}))}))}}))),e),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var a=r.existingTag;return m(m({},e),{},{existingTag:a});default:return e}},h={getExistingTag:s.a.mark((function e(){var t,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,u.fetchGetExistingTag();case 6:r=e.sent,t.dispatch(n).receiveGetExistingTag(r);case 8:case"end":return e.stop()}}),e)}))},y={getExistingTag:function(e){return e.existingTag},hasExistingTag:Object(g.createRegistrySelector)((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},O={initialState:c,actions:u,controls:p,reducer:v,resolvers:h,selectors:y};return m(m({},O),{},{STORE_NAME:n})}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return N})),n.d(t,"e",(function(){return D})),n.d(t,"g",(function(){return x})),n.d(t,"f",(function(){return P}));var r,a=n(5),i=n.n(a),o=n(27),c=n.n(o),s=n(7),u=n.n(s),l=n(11),g=n.n(l),f=n(57),d=n.n(f),p=n(13),m=n(111);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return v(v({},e),t)}),{}),a=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=I(a);return g()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,a=[].concat(t);return"function"!=typeof a[0]&&(r=a.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.reduce((function(e,n){return n(e,t)}),e)}},S=h,_=h,E=h,k=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:j.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:S.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:_.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},A={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},C=(r={},u()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),u()(r,"AWAIT",(function(e){return e.payload.value})),r),I=function(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r];n[a]=n[a]>=1?n[a]+1:1,n[a]>1&&t.push(a)}return t},N={actions:A,controls:C,reducer:k},D=function(e){return function(t){return T(e(t))}},T=d()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return g()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,a=Object(m.b)((function(t){return function(n){var a=!r,i=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),a}catch(e){return i}}})),i=Object(m.b)((function(t){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];e.apply(void 0,[t,n].concat(a))}}));return{safeSelector:a,dangerousSelector:i}}function P(e,t){return g()("function"==typeof e,"a validator function is required."),g()("function"==typeof t,"an action creator function is required."),g()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return g})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return d})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return j})),n.d(t,"n",(function(){return S})),n.d(t,"o",(function(){return _})),n.d(t,"q",(function(){return E})),n.d(t,"s",(function(){return k})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return A})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return I})),n.d(t,"v",(function(){return N})),n.d(t,"x",(function(){return D})),n.d(t,"y",(function(){return T})),n.d(t,"A",(function(){return x})),n.d(t,"B",(function(){return P})),n.d(t,"C",(function(){return R})),n.d(t,"D",(function(){return M})),n.d(t,"k",(function(){return L})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return G})),n.d(t,"G",(function(){return V})),n.d(t,"E",(function(){return U})),n.d(t,"i",(function(){return q})),n.d(t,"p",(function(){return B})),n.d(t,"Q",(function(){return H})),n.d(t,"P",(function(){return W}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",g="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",d="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",j="kmAnalyticsPopularContent",S="kmAnalyticsPopularProducts",_="kmAnalyticsReturningVisitors",E="kmAnalyticsTopCities",k="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",I="kmAnalyticsTopConvertingTrafficSource",N="kmAnalyticsTopCountries",D="kmAnalyticsTopPagesDrivingLeads",T="kmAnalyticsTopRecentTrendingPages",x="kmAnalyticsTopTrafficSource",P="kmAnalyticsTopTrafficSourceDrivingAddToCart",R="kmAnalyticsTopTrafficSourceDrivingLeads",M="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",G="kmAnalyticsTopReturningVisitorPages",V="kmSearchConsolePopularKeywords",U="kmAnalyticsVisitsPerVisitor",q="kmAnalyticsMostEngagingPages",B="kmAnalyticsTopCategories",H=[b,v,h,y,O,j,S,_,B,E,k,w,A,C,I,N,T,x,P,L,F,G,U,q,B],W=[].concat(H,[V])},600:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContainerNameTextField}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),s=n.n(c),u=n(0),l=n(2),g=n(3),f=n(43),d=n(28),p=n(491),m=n(10),b=n(337);function ContainerNameTextField(t){var n=t.label,r=t.name,i=Object(g.useSelect)((function(e){var t=e(f.g).getAccountID();return e(f.g).getContainers(t)})),o=Object(g.useSelect)((function(e){return e(d.a).getValue(f.f,r)})),c=Object(g.useDispatch)(d.a).setValues,v=Object(u.useCallback)((function(e){var t=e.currentTarget;c(f.f,a()({},r,t.value))}),[r,c]),h=Object(b.b)(o,i),y=!(!o||h)&&Object(l.__)("A container with this name already exists","google-site-kit"),O=!(!o||h)&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(p.a,null));return e.createElement("div",{className:s()("googlesitekit-tagmanager-containername","googlesitekit-tagmanager-".concat(r))},e.createElement(m.TextField,{className:s()({"mdc-text-field--error":!o||!h}),label:n,outlined:!0,helperText:y,trailingIcon:O,id:r,name:r,value:o,onChange:v}))}ContainerNameTextField.propTypes={label:o.a.string.isRequired,name:o.a.string.isRequired}}).call(this,n(4))},601:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContainerSelect}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),s=n.n(c),u=n(1),l=n.n(u),g=n(2),f=n(10),d=n(3),p=n(43),m=n(337);function ContainerSelect(t){var n=t.containers,r=t.className,i=t.value,c=o()(t,["containers","className","value"]),u=Object(d.useSelect)((function(e){return e(p.g).getAccountID()})),l=Object(d.useSelect)((function(e){return e(p.g).hasFinishedResolution("getAccounts")})),b=Object(d.useSelect)((function(e){return e(p.g).hasFinishedResolution("getContainers",[u])}));return l&&b?e.createElement(f.Select,a()({className:s()("googlesitekit-tagmanager__select-container",r),disabled:!Object(m.c)(u),value:i,enhanced:!0,outlined:!0},c),(n||[]).concat({publicId:p.b,name:Object(g.__)("Set up a new container","google-site-kit")}).map((function(t){var n=t.publicId,r=t.name,a=t.containerId;return e.createElement(f.Option,{key:n,value:n,"data-internal-id":a},n===p.b?r:Object(g.sprintf)( /* translators: 1: container name, 2: container ID */ Object(g._x)("%1$s (%2$s)","Tag Manager container name and ID","google-site-kit"),r,n))}))):e.createElement(f.ProgressBar,{small:!0})}ContainerSelect.propTypes={containers:l.a.arrayOf(l.a.object)}}).call(this,n(4))},602:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(3),s=n(10),u=n(43),l=n(8),g=n(18);function UseSnippetSwitch(t){var n=t.description,r=Object(c.useSelect)((function(e){return e(u.g).getUseSnippet()})),a=Object(g.a)(),f=Object(c.useDispatch)(u.g).setUseSnippet,d=Object(i.useCallback)((function(){var e=!r;f(e),Object(l.J)("".concat(a,"_tagmanager"),e?"enable_tag":"disable_tag")}),[f,r,a]);return void 0===r?null:e.createElement("div",{className:"googlesitekit-tagmanager-usesnippet"},e.createElement(s.Switch,{label:Object(o.__)("Let Site Kit place code on your site","google-site-kit"),checked:r,onClick:d,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:a.a.node}}).call(this,n(4))},607:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13);function a(e){var t=e;return t=(t=(t=(t=(t=(t=Object(r.unescape)(t)).trim()).replace(/^_+/,"")).normalize("NFD").replace(/[\u0300-\u036f]/g,"")).replace(/[^a-zA-Z0-9_., -]/g,"")).replace(/\s+/g," ")}},61:function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return j})),n.d(t,"j",(function(){return S}));var r=n(11),a=n.n(r),i=n(13),o=n(9),c=n(8);n.d(t,"a",(function(){return c.y}));var s=n(146),u=n(228),l=n(95),g=n(272);function f(e){return e===o.a||Object(c.y)(e)}function d(e){return"string"==typeof e&&/^\d+$/.test(e)}function p(e){return e===o.q||d(e)}function m(e){return"string"==typeof e&&/^\d+$/.test(e)}function b(e){return e===o.x||m(e)}function v(e){return"string"==typeof e&&e.trim().length>0}function h(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function y(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function O(e){a()(Object(i.isPlainObject)(e),"options for Analytics 4 report must be an object."),a()(Object(s.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(u.a)(e),n=t.metrics,r=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,g=t.orderby;a()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),a()(Object(l.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r&&a()(Object(l.b)(r),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&a()(Object(l.a)(o),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),c&&a()(Object(l.c)(c),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),g&&a()(Object(l.e)(g),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function j(e){a()(Object(i.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),a()(Object(s.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(u.a)(e),n=t.metrics,r=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,f=t.pivots,d=t.orderby,p=t.limit;a()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),a()(Object(l.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),a()(Object(g.a)(f),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),d&&a()(Array.isArray(d),"orderby for an Analytics 4 pivot report must be passed within a pivot."),p&&a()("number"==typeof p,"limit for an Analytics 4 pivot report must be passed within a pivot."),r&&a()(Object(l.b)(r),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&a()(Object(l.a)(o),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),c&&a()(Object(l.c)(c),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function S(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];a()(Object(i.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){a()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){a()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),a()(Object(i.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(7),a=n.n(r),i=n(33),o=n.n(i),c=n(111),s=n(11),u=n.n(s),l=n(94),g=n.n(l),f=n(8);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(f.I)(e):e}));return"".concat(e,"::").concat(g()(JSON.stringify(n)))}return e}var b={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return u()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var a=t(e).getMetaDataForError(r);if(a){var i=a.baseName,o=a.args;if(!!t(e)[i])return{storeName:e,name:i,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var i=r.baseName,o=r.args,c=r.error,s=m(i,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},a()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},a()({},s,o))});case"CLEAR_ERROR":var u=r.baseName,l=r.args,g=p({},e),f=m(u,l);return g.errors=p({},e.errors||{}),g.errorArgs=p({},e.errorArgs||{}),delete g.errors[f],delete g.errorArgs[f],g;case"CLEAR_ERRORS":var d=r.baseName,b=p({},e);if(d)for(var v in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(v===d||v.startsWith("".concat(d,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},67:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,a=t.noPrefix;if(!n)return null;var s=n;void 0!==a&&a||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(i.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:a.a.string.isRequired,reconnectURL:a.a.string,noPrefix:a.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y}));var r=n(7),a=n.n(r),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var g,f=function SvgSuggestionIcon(e){return i.createElement("svg",u({viewBox:"0 0 2 11"},e),l)},d=n(182),p=n(92),m="warning",b="info",v="suggestion",h=(g={},a()(g,b,s),a()(g,m,d.a),a()(g,v,f),g),y=function(e){return h[e]||p.a}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},737:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotice}));var r=n(3),a=n(43),i=n(19),o=n(9),c=n(144),s=n(67);function SetupErrorNotice(){var t=Object(r.useSelect)((function(e){return e(i.a).isModuleAvailable("analytics-4")})),n=[Object(r.useSelect)((function(e){return e(i.a).getErrorForAction("activateModule",["analytics-4"])})),Object(r.useSelect)((function(e){if(!t)return!1;var n=e(o.p).getSettings();return e(o.p).getErrorForAction("saveSettings",[n])}))].filter(Boolean);return n.length?n.map((function(t){var n=t.message,r=t.reconnectURL;return e.createElement(s.a,{key:n,message:n,reconnectURL:r})})):e.createElement(c.a,{moduleSlug:"tagmanager",storeName:a.g})}}).call(this,n(4))},738:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),s=n.n(c),u=n(1),l=n.n(u),g=n(0),f=n(2),d=n(3),p=n(10),m=n(43),b=n(28),v=n(6),h=n(19),y=n(32),O=n(34),j=n(336),S=n(737),_=n(742);function SetupForm(t){var n=t.finishSetup,r=Object(d.useSelect)((function(e){return e(m.g).canSubmitChanges()})),i=Object(d.useSelect)((function(e){return e(m.g).getCurrentGTMGoogleTagID()})),c=Object(d.useSelect)((function(e){return e(h.a).isModuleAvailable("analytics-4")})),u=Object(d.useSelect)((function(e){return e(h.a).isModuleActive("analytics-4")})),l=Object(d.useSelect)((function(e){return e(v.a).hasScope(m.e)})),E=Object(d.useSelect)((function(e){return e(b.a).getValue(m.f,"autoSubmit")}),[]),k=Object(d.useSelect)((function(e){return e(b.a).getValue(m.f,"submitMode")}),[]),w=Object(d.useSelect)((function(e){return e(m.g).hasExistingTag()})),A=Object(d.useSelect)((function(e){return e(m.g).isDoingSubmitChanges()||e(y.a).isNavigating()||e(b.a).getValue(m.f,"submitInProgress")})),C=Object(g.useState)(!1),I=s()(C,2),N=I[0],D=I[1],T=Object(d.useDispatch)(b.a).setValues,x=Object(d.useDispatch)(h.a).activateModule,P=Object(d.useDispatch)(m.g).submitChanges,R=Object(g.useCallback)(o()(a.a.mark((function e(){var t,r,i,c,s,l,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=g.length>0&&void 0!==g[0]?g[0]:{},r=t.submitMode,i=function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:if(n=e.t0,!(r=n.error)){e.next=9;break}throw r;case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T(m.f,{submitMode:r,submitInProgress:!0}),e.prev=3,e.next=6,i((function(){return P()}));case 6:if(T(m.f,{autoSubmit:!1}),r!==m.i||u){e.next=18;break}return e.next=10,x("analytics-4");case 10:if(c=e.sent,s=c.response,!(l=c.error)){e.next=15;break}throw l;case 15:n(s.moduleReauthURL),e.next=19;break;case 18:n();case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(3),Object(O.f)(e.t0)&&T(m.f,{autoSubmit:!0});case 24:T(m.f,{submitInProgress:!1});case 25:case"end":return e.stop()}}),e,null,[[3,21]])}))),[n,u,x,P,T]);Object(g.useEffect)((function(){E&&l&&R({submitMode:k})}),[l,E,R,k]);var M=!(!i||!c||u),L=Object(g.useCallback)((function(e){e.preventDefault();var t=M?m.i:"";R({submitMode:t})}),[R,M]),F=Object(g.useCallback)((function(){return R()}),[R]);return e.createElement("form",{className:"googlesitekit-tagmanager-setup__form",onSubmit:L},e.createElement(S.a,null),e.createElement(j.e,{isSetup:!0}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(j.c,null),e.createElement(j.g,null),e.createElement(j.a,null),e.createElement(j.f,null)),e.createElement(j.d,null),w&&e.createElement(_.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},M&&e.createElement(g.Fragment,null,e.createElement(p.SpinnerButton,{disabled:!r,isSaving:N&&A,onClick:function(){return D(!0)}},Object(f.__)("Continue to Analytics setup","google-site-kit")),e.createElement(p.Button,{tertiary:!0,className:"googlesitekit-setup-module__sub-action",type:"button",onClick:F,disabled:!r},Object(f.__)("Complete setup without Analytics","google-site-kit"))),!M&&e.createElement(p.SpinnerButton,{disabled:!r||A,isSaving:A},Object(f.__)("Complete setup","google-site-kit"))))}SetupForm.propTypes={finishSetup:l.a.func}}).call(this,n(4))},739:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AMPContainerNameTextField}));var r=n(91),a=n(2),i=n(109),o=n(3),c=n(43),s=n(14),u=n(28),l=n(600);function AMPContainerNameTextField(){var t=Object(o.useSelect)((function(e){return e(c.g).getAMPContainerID()})),n=Object(o.useSelect)((function(e){return e(s.c).getSiteName()})),g=Object(o.useSelect)((function(e){return e(s.c).getReferenceSiteURL()})),f=Object(o.useSelect)((function(e){return e(u.a).getValue(c.f,"ampContainerName")}),[]),d=n;!d&&Object(i.a)(g)&&(d=new URL(g).hostname),d+=" AMP";var p=Object(o.useDispatch)(u.a).setValues;return Object(r.a)((function(){f||p(c.f,{ampContainerName:d})})),t!==c.b?null:e.createElement(l.a,{name:"ampContainerName",label:Object(a.__)("AMP Container Name","google-site-kit")})}}).call(this,n(4))},740:function(e,t,n){"use strict";t.a=[/<script[^>]*>[^>]+?www.googletagmanager.com\/gtm[^>]+?['|"](GTM-[0-9A-Z]+)['|"]/,/<script[^>]*src=['|"]https:\/\/www.googletagmanager.com\/gtm\.js\?id=(GTM-[0-9A-Z]+)['|"]/,/<script[^>]*src=['|"]https:\/\/www.googletagmanager.com\/ns.html\?id=(GTM-[0-9A-Z]+)['|"]/,/<amp-analytics [^>]*config=['|"]https:\/\/www.googletagmanager.com\/amp.json\?id=(GTM-[0-9A-Z]+)['|"]/]},741:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebContainerNameTextField}));var r=n(91),a=n(2),i=n(109),o=n(3),c=n(43),s=n(14),u=n(28),l=n(600);function WebContainerNameTextField(){var t=Object(o.useSelect)((function(e){return e(c.g).getContainerID()})),n=Object(o.useSelect)((function(e){return e(s.c).getSiteName()})),g=Object(o.useSelect)((function(e){return e(s.c).isAMP()})),f=Object(o.useSelect)((function(e){return e(s.c).getReferenceSiteURL()})),d=Object(o.useSelect)((function(e){return e(u.a).getValue(c.f,"containerName")}),[]),p=n;!p&&Object(i.a)(f)&&(p=new URL(f).hostname);var m=Object(o.useDispatch)(u.a).setValues;if(Object(r.a)((function(){d||m(c.f,{containerName:p})})),t!==c.b)return null;var b=g?Object(a.__)("Web Container Name","google-site-kit"):Object(a.__)("Container Name","google-site-kit");return e.createElement(l.a,{name:"containerName",label:b})}}).call(this,n(4))},742:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var r=n(0),a=n(2),i=n(3),o=n(43),c=n(602);function SetupUseSnippetSwitch(){var t=Object(i.useSelect)((function(e){return e(o.g).getPrimaryContainerID()})),n=Object(i.useSelect)((function(e){return e(o.g).getExistingTag()})),s=t===n?e.createElement(r.Fragment,null,e.createElement("p",null,Object(a.sprintf)( /* translators: %s: existing tag ID */ Object(a.__)("A tag %s for the selected container already exists on the site","google-site-kit"),n)),e.createElement("p",null,Object(a.__)("Make sure you remove it if you want to place the same tag via Site Kit, otherwise they will be duplicated","google-site-kit"))):e.createElement(r.Fragment,null,e.createElement("p",null,Object(a.sprintf)( /* translators: %s: existing tag ID */ Object(a.__)("An existing tag %s was found on the page","google-site-kit"),n)),e.createElement("p",null,Object(a.__)("If you prefer to collect data using that existing tag, please select the corresponding account and property above","google-site-kit")));return e.createElement(c.a,{description:s})}}).call(this,n(4))},743:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(1),a=n.n(r),i=n(38),o=n(2),c=n(3),s=n(336),u=n(144),l=n(43),g=n(19),f=n(744),d=n(159),p=n(148),m=n(182);function SettingsForm(t){var n,r=t.hasModuleAccess,a=Object(c.useSelect)((function(e){return e(g.a).getModule("tagmanager")})),b=(null==a||null===(n=a.owner)||void 0===n?void 0:n.login)?"<strong>".concat(a.owner.login,"</strong>"):Object(o.__)("Another admin","google-site-kit");return e.createElement("div",{className:"googlesitekit-tagmanager-settings-fields"},e.createElement(u.a,{moduleSlug:"tagmanager",storeName:l.g}),e.createElement(s.e,null),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(s.c,{hasModuleAccess:r}),e.createElement(s.g,{hasModuleAccess:r}),e.createElement(s.a,{hasModuleAccess:r}),e.createElement(s.f,null)),!1===r&&e.createElement(d.a,{type:p.a,Icon:m.a,notice:Object(i.a)(Object(o.sprintf)( /* translators: 1: module owner's name, 2: module name */ Object(o.__)("%1$s configured %2$s and you don’t have access to this %2$s account. Contact them to share access or change the %2$s account.","google-site-kit"),b,null==a?void 0:a.name),{strong:e.createElement("strong",null)})}),e.createElement(s.d,null),e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(f.a,null)))}SettingsForm.propTypes={hasModuleAccess:a.a.bool},SettingsForm.defaultProps={hasModuleAccess:!0}}).call(this,n(4))},744:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsUseSnippetSwitch}));var r=n(0),a=n(2),i=n(3),o=n(602),c=n(43);function SettingsUseSnippetSwitch(){var t,n=Object(i.useSelect)((function(e){return e(c.g).getUseSnippet()})),s=Object(i.useSelect)((function(e){return e(c.g).getPrimaryContainerID()})),u=Object(i.useSelect)((function(e){return e(c.g).getExistingTag()}));return t=u?s===u?e.createElement(r.Fragment,null,e.createElement("p",null,Object(a.sprintf)( /* translators: %s: existing tag ID */ Object(a.__)("A tag %s for the selected container already exists on the site","google-site-kit"),u)),e.createElement("p",null,Object(a.__)("Consider removing the existing tag to avoid loading both tags on your site","google-site-kit"))):e.createElement(r.Fragment,null,e.createElement("p",null,Object(a.sprintf)( /* translators: %s: existing tag ID */ Object(a.__)("An existing tag %s was found on the page","google-site-kit"),u)),e.createElement("p",null,Object(a.__)("If you prefer to collect data using that existing tag, please select the corresponding account and property above","google-site-kit"))):n?e.createElement("p",null,Object(a.__)("Site Kit will add the code automatically","google-site-kit")):e.createElement("p",null,Object(a.__)("Site Kit will not add the code to your site","google-site-kit")),e.createElement(o.a,{description:t})}}).call(this,n(4))},768:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",transform:"translate(.422 .422)"},r.createElement("path",{d:"M16.091 30.725l14.461-14.543 6.817 6.856L22.908 37.58z",fill:"#8ab4f8"}),r.createElement("path",{d:"M22.91 8.496L16.09 1.64 1.63 16.182a4.867 4.867 0 000 6.854L16.09 37.58l6.817-6.855L11.856 19.61z",fill:"#4285f4"}),r.createElement("ellipse",{cx:19.5,cy:34.153,fill:"#1967d2",rx:4.82,ry:4.847}),r.createElement("path",{d:"M37.37 16.182L22.91 1.639a4.801 4.801 0 00-6.817 0 4.867 4.867 0 000 6.855l14.46 14.542a4.801 4.801 0 006.817 0 4.867 4.867 0 000-6.854z",fill:"#8ab4f8"}));t.a=function SvgTagmanager(e){return r.createElement("svg",a({viewBox:"0 0 40 40"},e),i)}},769:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(3),i=n(43);function o(){var e=Object(a.useSelect)((function(e){return e(i.g).getExistingTag()})),t=Object(a.useSelect)((function(e){return e(i.g).getPrimaryContainerID()})),n=Object(r.useRef)(!0),o=Object(a.useDispatch)(i.g).setUseSnippet;Object(r.useEffect)((function(){if(e&&void 0!==t){if(""===t||n.current)return void(n.current=!1);o(e!==t)}}),[t,e,o])}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},a=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return g.a})),n.d(t,"C",(function(){return g.d})),n.d(t,"D",(function(){return g.e})),n.d(t,"z",(function(){return g.c})),n.d(t,"s",(function(){return g.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return E})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return A})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return I})),n.d(t,"o",(function(){return N})),n.d(t,"x",(function(){return D})),n.d(t,"q",(function(){return T})),n.d(t,"H",(function(){return x})),n.d(t,"t",(function(){return P})),n.d(t,"w",(function(){return R})),n.d(t,"l",(function(){return M})),n.d(t,"p",(function(){return L.b})),n.d(t,"i",(function(){return L.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return G})),n.d(t,"v",(function(){return V})),n.d(t,"F",(function(){return B})),n.d(t,"E",(function(){return H.a})),n.d(t,"h",(function(){return W})),n.d(t,"M",(function(){return K})),n.d(t,"m",(function(){return $}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var g=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function d(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,d,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),j=n.n(O),S=n(2),_="Invalid dateString parameter, it must be a string.",E='Invalid date range, it must be a string with the format "last-x-days".',k=60,w=60*k,A=24*w,C=7*A,I=30*A;function N(){var e=function(e){return Object(S.sprintf)( /* translators: %s: number of days */ Object(S._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 D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function T(e){j()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function x(e){j()(D(e),_);var t=e.split("-"),n=y()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function P(e,t){return T(M(e,t*A))}function R(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function M(e,t){j()(D(e)||Object(r.isDate)(e)&&!isNaN(e),_);var n=D(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var L=n(98),F=n(83);function G(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function V(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(27),q=n.n(U),B=function(e){return Array.isArray(e)?q()(e).sort():e},H=n(88);function W(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var K=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},$=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return C}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),s=n.n(c),u=n(23),l=n.n(u),g=n(13),f=n(57),d=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?w(i,b(b({},o),{},{unit:"second"})):"",a?w(a,b(b({},o),{},{unit:"minute"})):"",r?w(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),a),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},j=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},S=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(j(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(j(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(j(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function _(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(g.isPlainObject)(e)&&(t=b({},e)),t}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(g.isFinite)(e)?e:Number(e),Object(g.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=_(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?S(e):"duration"===a?v(e,n):"durationISO"===a?h(e):w(e,n)}var k=d()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=l()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},g=0,f=Object.entries(i);g<f.length;g++){var d=a()(f[g],2),p=d[0],m=d[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(g.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"n",(function(){return l})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"r",(function(){return _})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return k})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",a="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",g="enhanced-measurement-form",f="enhanced-measurement-enabled",d="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",j="dashboardAllTrafficWidgetLoaded",S={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},_={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},E="audiencePermissionsSetup",k="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},900:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AccountCreate}));var a=n(0),i=n(2),o=n(3),c=n(10),s=n(43),u=n(6),l=n(144),g=n(36),f=n(18);function AccountCreate(){var t=Object(f.a)(),n=Object(o.useSelect)((function(e){return e(s.g).hasFinishedResolution("getAccounts")})),d=Object(o.useSelect)((function(e){return e(u.a).hasFinishedResolution("getUser")})),p=Object(o.useSelect)((function(e){return e(s.g).getServiceURL({path:"admin/accounts/create"})})),m=Object(o.useDispatch)(s.g).resetAccounts,b=Object(a.useCallback)((function(){m()}),[m]),v=Object(a.useCallback)((function(){Object(g.b)("".concat(t,"_tagmanager"),"create_account"),e.window.open(p,"_blank")}),[p,t]);return n&&d?r.createElement("div",null,r.createElement(l.a,{moduleSlug:"tagmanager",storeName:s.g}),r.createElement("p",null,Object(i.__)("To create a new account, click the button below which will open the Google Tag Manager account creation screen in a new window.","google-site-kit")),r.createElement("p",null,Object(i.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit")),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(c.Button,{onClick:v},Object(i.__)("Create an account","google-site-kit")),r.createElement("div",{className:"googlesitekit-setup-module__sub-action"},r.createElement(c.Button,{tertiary:!0,onClick:b},Object(i.__)("Re-fetch My Account","google-site-kit"))))):r.createElement(c.ProgressBar,null)}}).call(this,n(26),n(4))},901:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(10),s=n(3),u=n(43),l=n(36),g=n(18);function AccountSelect(t){var n=t.hasModuleAccess,r=Object(g.a)(),a=Object(s.useSelect)((function(e){return e(u.g).getAccounts()})),f=Object(s.useSelect)((function(e){return e(u.g).hasFinishedResolution("getAccounts")})),d=Object(s.useSelect)((function(e){return e(u.g).getAccountID()})),p=Object(s.useDispatch)(u.g).selectAccount,m=Object(i.useCallback)((function(e,t){var n=t.dataset.value;if(d!==n){var a=n===u.a?"change_account_new":"change_account";Object(l.b)("".concat(r,"_tagmanager"),a),p(n)}}),[d,p,r]);return f?!1===n?e.createElement(c.Select,{className:"googlesitekit-tagmanager__select-account",label:Object(o.__)("Account","google-site-kit"),value:d,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:d},d)):e.createElement(c.Select,{className:"googlesitekit-tagmanager__select-account",label:Object(o.__)("Account","google-site-kit"),value:d,onEnhancedChange:m,enhanced:!0,outlined:!0},(a||[]).concat({accountId:u.a,name:Object(o.__)("Set up a new account","google-site-kit")}).map((function(t){var n=t.accountId,r=t.name;return e.createElement(c.Option,{key:n,value:n},r)}))):e.createElement(c.ProgressBar,{small:!0})}AccountSelect.propTypes={hasModuleAccess:a.a.bool}}).call(this,n(4))},902:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AMPContainerSelect}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(10),s=n(3),u=n(43),l=n(14),g=n(601),f=n(36),d=n(18);function AMPContainerSelect(t){var n=t.hasModuleAccess,r=Object(d.a)(),a=Object(s.useSelect)((function(e){return e(u.g).getAccountID()})),p=Object(s.useSelect)((function(e){return e(u.g).getAMPContainerID()})),m=Object(s.useSelect)((function(e){return!1===n?null:e(u.g).getAMPContainers(a)})),b=Object(s.useSelect)((function(e){return e(l.c).isAMP()})),v=Object(s.useDispatch)(u.g),h=v.setAMPContainerID,y=v.setInternalAMPContainerID,O=Object(i.useCallback)((function(e,t){var n=t.dataset,a=n.value,i=n.internalId;if(p!==a){var o=a===u.b?"change_amp_container_new":"change_amp_container";Object(f.b)("".concat(r,"_tagmanager"),o),h(a),y(i||"")}}),[p,h,y,r]);if(!b)return null;var j=Object(o.__)("AMP Container","google-site-kit");return!1===n?e.createElement(c.Select,{className:"googlesitekit-tagmanager__select-container--amp",label:j,value:p,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:p},p)):e.createElement(g.a,{className:"googlesitekit-tagmanager__select-container--amp",label:j,value:p,containers:m,onEnhancedChange:O})}AMPContainerSelect.propTypes={hasModuleAccess:a.a.bool}}).call(this,n(4))},903:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContainerNames}));var r=n(3),a=n(739),i=n(741),o=n(43);function ContainerNames(){var t=Object(r.useSelect)((function(e){return e(o.g).getContainerID()})),n=Object(r.useSelect)((function(e){return e(o.g).getAMPContainerID()}));return t!==o.b&&n!==o.b?null:e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--collapsed"},t===o.b&&e.createElement(i.a,null),n===o.b&&e.createElement(a.a,null))}}).call(this,n(4))},904:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FormInstructions}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(14),s=n(19),u=n(43);function FormInstructions(t){var n=t.isSetup,r=Object(o.useSelect)((function(e){return e(c.c).isSecondaryAMP()})),a=Object(o.useSelect)((function(e){return e(s.a).isModuleAvailable("analytics-4")})),l=Object(o.useSelect)((function(e){return e(s.a).isModuleActive("analytics-4")})),g=Object(o.useSelect)((function(e){return e(u.g).getCurrentGTMGoogleTagID()}));return a&&!l&&g?e.createElement("p",null,Object(i.__)("Looks like you may be using Google Analytics within your Google Tag Manager configuration. Activate the Google Analytics module in Site Kit to see relevant insights in your dashboard.","google-site-kit")):r?e.createElement("p",null,n?Object(i.__)("Looks like your site is using paired AMP. Please select your Tag Manager account and relevant containers below. You can change these later in your settings.","google-site-kit"):Object(i.__)("Looks like your site is using paired AMP. Please select your Tag Manager account and relevant containers below.","google-site-kit")):e.createElement("p",null,n?Object(i.__)("Please select your Tag Manager account and container below. You can change these later in your settings.","google-site-kit"):Object(i.__)("Please select your Tag Manager account and container below","google-site-kit"))}FormInstructions.propTypes={isSetup:a.a.bool}}).call(this,n(4))},905:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TagCheckProgress}));var r=n(12),a=n.n(r),i=n(1),o=n.n(i),c=n(2),s=n(3),u=n(10),l=n(43);function TagCheckProgress(t){var n=t.className;return Object(s.useSelect)((function(e){var t=e(l.g).getAccountID(),n=e(l.g).getInternalContainerID(),r=e(l.g).getInternalAMPContainerID();return e(l.g).isResolving("getLiveContainerVersion",[t,n])||e(l.g).isResolving("getLiveContainerVersion",[t,r])}))?e.createElement("div",{className:a()(n)},e.createElement("small",null,Object(c.__)("Checking tags…","google-site-kit")),e.createElement(u.ProgressBar,{small:!0,compress:!0})):null}TagCheckProgress.propTypes={className:o.a.string},TagCheckProgress.defaultProps={className:""}}).call(this,n(4))},906:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebContainerSelect}));var r=n(1),a=n.n(r),i=n(0),o=n(2),c=n(10),s=n(3),u=n(43),l=n(14),g=n(601),f=n(36),d=n(18);function WebContainerSelect(t){var n=t.hasModuleAccess,r=Object(d.a)(),a=Object(s.useSelect)((function(e){return e(u.g).getAccountID()})),p=Object(s.useSelect)((function(e){return e(u.g).getContainerID()})),m=Object(s.useSelect)((function(e){return!1===n?null:e(u.g).getWebContainers(a)})),b=Object(s.useSelect)((function(e){return e(l.c).isAMP()})),v=Object(s.useDispatch)(u.g),h=v.setContainerID,y=v.setInternalContainerID,O=Object(i.useCallback)((function(e,t){var n=t.dataset,a=n.value,i=n.internalId;if(p!==a){var o=a===u.b?"change_container_new":"change_container";Object(f.b)("".concat(r,"_tagmanager"),o),h(a),y(i||"")}}),[p,h,y,r]),j=b?Object(o.__)("Web Container","google-site-kit"):Object(o.__)("Container","google-site-kit");return!1===n?e.createElement(c.Select,{className:"googlesitekit-tagmanager__select-container--web",label:j,value:p,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:p},p)):e.createElement(g.a,{className:"googlesitekit-tagmanager__select-container--web",label:j,value:p,containers:m,onEnhancedChange:O})}WebContainerSelect.propTypes={hasModuleAccess:a.a.bool}}).call(this,n(4))},907:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(1),a=n.n(r),i=n(2),o=n(3),c=n(10),s=n(768),u=n(738),l=n(43),g=n(769),f=n(336);function SetupMain(t){var n,r=t.finishSetup,a=Object(o.useSelect)((function(e){return e(l.g).getAccounts()})),d=Object(o.useSelect)((function(e){return e(l.g).getAccountID()})),p=Object(o.useSelect)((function(e){return e(l.g).hasExistingTag()})),m=Object(o.useSelect)((function(e){return e(l.g).hasFinishedResolution("getAccounts")})),b=l.a===d;return Object(g.a)(),n=m&&void 0!==p?b||!(null==a?void 0:a.length)?e.createElement(f.b,null):e.createElement(u.a,{finishSetup:r}):e.createElement(c.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--tagmanager"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(s.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(i._x)("Tag Manager","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},n))}SetupMain.propTypes={finishSetup:a.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(4))},908:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),a=n(10),i=n(19),o=n(43),c=n(769),s=n(336),u=n(743);function SettingsEdit(){var t,n=Object(r.useSelect)((function(e){return e(o.g).getAccounts()}))||[],l=Object(r.useSelect)((function(e){return e(o.g).getAccountID()})),g=Object(r.useSelect)((function(e){return e(o.g).hasExistingTag()})),f=Object(r.useSelect)((function(e){return e(o.g).isDoingSubmitChanges()})),d=Object(r.useSelect)((function(e){return e(o.g).hasFinishedResolution("getAccounts")})),p=Object(r.useSelect)((function(e){return e(i.a).hasModuleOwnershipOrAccess("tagmanager")})),m=o.a===l;return Object(c.a)(),t=f||!d||void 0===p||void 0===g?e.createElement(a.ProgressBar,null):m||!(null==n?void 0:n.length)?e.createElement(s.b,null):e.createElement(u.a,{hasModuleAccess:p}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--tagmanager"},t)}}).call(this,n(4))},909:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(266),a=n.n(r),i=n(0),o=n(38),c=n(2),s=n(3),u=n(187),l=n(20),g=n(144),f=n(105),d=n(14),p=n(43),m=n(404);function b(){var e=a()(["/container/accounts/","/containers/",""]);return b=function(){return e},e}function v(){var e=a()(["/container/accounts/","/containers/",""]);return v=function(){return e},e}function SettingsView(){var t=Object(s.useSelect)((function(e){return e(p.g).getAccountID()})),n=Object(s.useSelect)((function(e){return e(p.g).getContainerID()})),r=Object(s.useSelect)((function(e){return e(p.g).getAMPContainerID()})),a=Object(s.useSelect)((function(e){return e(p.g).getUseSnippet()})),h=Object(s.useSelect)((function(e){return e(p.g).hasExistingTag()})),y=Object(s.useSelect)((function(e){return e(d.c).isAMP()})),O=Object(s.useSelect)((function(e){return e(d.c).isSecondaryAMP()})),j=Object(s.useSelect)((function(e){return e(p.g).getInternalContainerID()})),S=Object(s.useSelect)((function(e){return e(p.g).getInternalAMPContainerID()})),_=Object(s.useSelect)((function(e){return e(p.g).getServiceURL({path:Object(m.a)(v(),t,j)})})),E=Object(s.useSelect)((function(e){return e(p.g).getServiceURL({path:Object(m.a)(b(),t,S)})}));return e.createElement(i.Fragment,null,e.createElement(g.a,{moduleSlug:"tagmanager",storeName:p.g}),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(c.__)("Account","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.b,{value:t}))),(!y||O)&&e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},O&&e.createElement("span",null,Object(c.__)("Web Container ID","google-site-kit")),!O&&e.createElement("span",null,Object(c.__)("Container ID","google-site-kit"))),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.b,{value:n}))),_&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(l.a,{href:_,external:!0},Object(o.a)(Object(c.sprintf)( /* translators: %s: Appropriate container term. */ Object(c.__)("Edit <VisuallyHidden>%s </VisuallyHidden>in Tag Manager","google-site-kit"),O?Object(c.__)("web container","google-site-kit"):Object(c.__)("container","google-site-kit")),{VisuallyHidden:e.createElement(f.a,null)}))))),y&&e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},O&&e.createElement("span",null,Object(c.__)("AMP Container ID","google-site-kit")),!O&&e.createElement("span",null,Object(c.__)("Container ID","google-site-kit"))),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.b,{value:r}))),E&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(l.a,{href:E,external:!0},Object(o.a)(Object(c.sprintf)( /* translators: %s: Appropriate container term. */ Object(c.__)("Edit <VisuallyHidden>%s </VisuallyHidden>in Tag Manager","google-site-kit"),O?Object(c.__)("AMP container","google-site-kit"):Object(c.__)("container","google-site-kit")),{VisuallyHidden:e.createElement(f.a,null)})))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(c.__)("Tag Manager Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},a&&e.createElement("span",null,Object(c.__)("Snippet is inserted","google-site-kit")),!a&&e.createElement("span",null,Object(c.__)("Snippet is not inserted","google-site-kit"))),h&&e.createElement("p",null,Object(c.__)("Placing two tags at the same time is not recommended.","google-site-kit")))))}}).call(this,n(4))},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},95:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return g}));var r=n(33),a=n.n(r),i=n(13),o=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function s(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(a()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(a()(e))}));if(Object(i.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function l(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(a()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(a()(e))}));if(Object(i.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(i.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(i.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&o}}return!1}))}function g(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(i.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function g(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=u(u({},l),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(a,n),g=Object(c.a)(a,n,s,r),f={},d=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(i.once)(g)),f[r].apply(f,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:g,trackEventOnce:d}}}).call(this,n(26))}},[[1231,1,0]]]); dist/assets/js/googlesitekit-notifications-e491c3e66473a45eb37c.js 0000604 00000247154 14717744000 0020343 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[25],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var a=Object(u.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},1204:function(e,t,n){"use strict";n.r(t),function(e){var r=n(3),i=n.n(r),a=n(789);Object(a.c)(i.a);var o=Object(a.a)(i.a);Object(a.b)(o),void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.notifications=o,t.default=o}.call(this,n(26))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),u=n(1),l=n.n(u),d=n(12),f=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,v=t.smSize,b=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,k=t.mdOrder,_=t.lgSize,w=t.lgStart,j=t.lgOrder,E=t.size,S=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},N,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(E),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(w,"-desktop"),12>=w&&w>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(k,"-tablet"),8>=k&&k>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),S)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:l()("mdc-layout-grid__inner",r)},c),a)}));f.displayName="Row",f.propTypes={className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,u=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));f.displayName="Grid",f.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},146:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var r=n(33),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},151:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},164:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(355);function i(e){return Object(r.a)(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),u=n.n(s);n.d(t,"b",(function(){return u.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var l=n(104);n.d(t,"a",(function(){return l.a})),n.d(t,"e",(function(){return l.b})),n.d(t,"k",(function(){return l.c}))},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},188:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(2),l=n(3),d=n(120),f=n(60),g=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,s=void 0===c?Object(u.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,m=void 0===p?0:p,v=t.disabled,b=t.onDismiss,h=void 0===b?function(){}:b,y=t.gaTrackingEventArgs,O=Object(d.a)(n),k=Object(l.useDispatch)(f.a).dismissNotification,_=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==h?void 0:h(t);case 2:O.dismiss(null==y?void 0:y.label,null==y?void 0:y.value),k(n,{expiresInSeconds:m});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(g.Button,{tertiary:!a,onClick:_,disabled:v},s)}Dismiss.propTypes={id:s.a.string,primary:s.a.bool,dismissLabel:s.a.string,dismissExpires:s.a.number,disabled:s.a.bool,onDismiss:s.a.func,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(140),f=n(0),g=n(2),p=n(126),m=n(127),v=n(128),b=n(80),h=n(77),y=Object(f.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,f=void 0!==l&&l,y=t.back,O=void 0!==y&&y,k=t.caps,_=void 0!==k&&k,w=t.children,j=t.className,E=void 0===j?"":j,S=t.danger,N=void 0!==S&&S,A=t.disabled,D=void 0!==A&&A,L=t.external,T=void 0!==L&&L,C=t.hideExternalIndicator,x=void 0!==C&&C,R=t.href,P=void 0===R?"":R,I=t.inverse,M=void 0!==I&&I,V=t.noFlex,F=void 0!==V&&V,z=t.onClick,B=t.small,G=void 0!==B&&B,U=t.standalone,W=void 0!==U&&U,K=t.linkButton,q=void 0!==K&&K,$=t.to,H=t.leadingIcon,J=t.trailingIcon,Z=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Q=P||$||!z?$?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":D?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===Q||"BUTTON_DISABLED"===Q?"button":"ROUTER_LINK"===Q?d.b:"a",Y=("EXTERNAL_LINK"===Q&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Q&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof w?"".concat(w," ").concat(r):void 0:a),ee=H,te=J;return O&&(ee=e.createElement(v.a,{width:14,height:14})),T&&!x&&(te=e.createElement(b.a,{width:14,height:14})),f&&!M&&(te=e.createElement(p.a,{width:14,height:14})),f&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(X,i()({"aria-label":Y,className:s()("googlesitekit-cta-link",E,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":G,"googlesitekit-cta-link--caps":_,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":D,"googlesitekit-cta-link--standalone":W,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!F}),disabled:D,href:"LINK"!==Q&&"EXTERNAL_LINK"!==Q||D?void 0:P,onClick:z,rel:"EXTERNAL_LINK"===Q?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Q?"_blank":void 0,to:$},Z),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},w),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},209:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(151),s=n(71),u=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,l=t.additionalCTA,d=t.type,f=void 0===d?"success":d,g=t.icon;return e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===f,"googlesitekit-subtle-notification--warning":"warning"===f})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},g,"success"===f&&!g&&e.createElement(c.a,{width:24,height:24}),"warning"===f&&!g&&e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,l))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return k})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return w}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",u="splash",l="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",v="moduleSetup",b="key-metrics",h="traffic",y="content",O="speed",k="monetization",_=[r,i,a,o,c,u,f,v],w=[a,o,d,m]},228:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(57),s=n.n(c),u=n(13);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=s()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=o()(e,["metrics","dimensions"]);return d({metrics:g(t),dimensions:p(n)},r)})),g=function(e){return Object(u.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(u.isPlainObject)(e)}))},p=function(e){return Object(u.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(u.isPlainObject)(e)}))}},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),i=n(95);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},354:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},357:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return s.a}));var r=n(2);function i(e){var t,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.keyColumnIndex,c=void 0===o?0:o,s=a.maxSlices,u=a.withOthers,l=void 0!==u&&u,d=a.tooltipCallback,f=e||{},g=f.rows,p=void 0===g?[]:g,m=f.totals,v=void 0===m?[]:m,b="function"==typeof d,h=["Source","Percent"];b&&h.push({type:"string",role:"tooltip",p:{html:!0}});var y=(null==v||null===(t=v[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[c])||void 0===i?void 0:i.value)||0,O=[h],k=p.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),_=l,w=k.length,j=1;s>0?(_=l&&k.length>s,w=Math.min(k.length,_?s-1:s)):(_=!1,w=k.length);for(var E=function(e){var t=k[e],n=t.metricValues[c].value,r=y>0?n/y:0;j-=r;var i=[t.dimensionValues[0].value,r];if(b){var a=p.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));i.push(d(t,a,i))}O.push(i)},S=0;S<w;S++)E(S);if(_&&j>0){var N=[Object(r.__)("Others","google-site-kit"),j];b&&N.push(d(null,null,N)),O.push(N)}return O}var a=function(e){var t,n,r,i,a,o,c;if(void 0!==e){var s=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==s?void 0:s.length)||(null==s||null===(t=s[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===(null==e||null===(i=e.totals)||void 0===i||null===(a=i[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(c=o[0])||void 0===c?void 0:c.value)}},o=n(372),c=n(228),s=(n(95),n(272),n(430))},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,d=i.userIDHash,f=i.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},p=Object(r.a)(g),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():v()}c&&s&&b()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},372:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},43:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return d}));var r="modules/tagmanager",i="account_create",a="container_create",o="web",c="amp",s="tagmanagerSetup",u="https://www.googleapis.com/auth/tagmanager.readonly",l="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},430:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(27),i=n.n(r),a=n(12),o=n.n(a),c=n(13),s=n(2),u=n(82),l=n(8),d=n(15),f=n.n(d),g=n(11),p=n.n(g);function m(e,t){var n=t.dateRangeLength;p()(Array.isArray(e),"report must be an array to partition."),p()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=function(t){return e.filter((function(e){return f()(e.dimensionValues,2)[1].value===t}))},i=-1*n;return{currentRange:r("date_range_0").slice(i),compareRange:r("date_range_1").slice(2*i,i)}}var v=n(354);function b(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var r=e.metricValues[t].value,i=e.dimensionValues[0].value,a=Object(v.a)(i);n.push([a,r])}})),n}function h(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Engagement Rate","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(l.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(l.C)(e,"s")}],f=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],g=i()((null==e?void 0:e.rows)||[]),p=g.length;if(2*n>p){for(var v=Object(l.H)(r),h=0;n>h;h++){var y=(v.getMonth()+1).toString(),O=v.getDate().toString(),k=v.getFullYear().toString()+(2>y.length?"0":"")+y+(2>O.length?"0":"")+O;if(h>p){var _=[{dimensionValues:[{value:k},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:k},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];g.unshift.apply(g,_)}v.setDate(v.getDate()-1)}g.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var w=a[t]===Object(s.__)("Session Duration","google-site-kit"),j=w?"timeofday":"number",E=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:j,label:a[t]},{type:j,label:Object(s.__)("Previous period","google-site-kit")}]],S=m(g,{dateRangeLength:n}),N=S.compareRange,A=S.currentRange,D=b(A,t),L=b(N,t),T=Object(u.b)(),C={weekday:"short",month:"short",day:"numeric"};return D.forEach((function(e,n){if(e[0]&&e[1]&&L[n]){var r=f[t],i=r(e[1]),c=r(L[n][1]),u=parseFloat(c),g=Object(l.i)(i,u),p=Object(l.p)(g),m=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(T,C),L[n][0].toLocaleDateString(T,C)),v=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),a[t],d[t](i),p,Object(l.C)(Math.abs(g),"%"));E.push([e[0],'<div class="'.concat(o()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":g>0,"googlesitekit-visualization-tooltip--down":g<0}),'">\n\t\t\t\t<p>').concat(m,"</p>\n\t\t\t\t<p>").concat(v,"</p>\n\t\t\t</div>"),w?Object(l.k)(i):i,w?Object(l.k)(c):c])}})),E}},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},497:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(8);function Description(t){var n=t.className,i=void 0===n?"googlesitekit-publisher-win__desc":n,a=t.text,o=t.learnMoreLink;return e.createElement("div",{className:i},e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(r.G)(a,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",o))}}).call(this,n(4))},532:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALink}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),u=n(1),l=n.n(u),d=n(221),f=n(0),g=n(3),p=n(60),m=n(32),v=n(120),b=n(10);function CTALink(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,u=t.dismissExpires,l=void 0===u?-1:u,h=Object(f.useState)(!1),y=s()(h,2),O=y[0],k=y[1],_=Object(d.a)(),w=Object(v.a)(n),j=Object(g.useSelect)((function(e){return!!r&&e(m.a).isNavigatingTo(r)})),E=Object(g.useDispatch)(p.a).dismissNotification,S=Object(g.useDispatch)(m.a).navigateTo,N=function(){var e=o()(i.a.mark((function e(t){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),!t.defaultPrevented&&r&&t.preventDefault(),k(!0),e.next=5,null==c?void 0:c(t);case 5:return _()&&k(!1),a=[w.confirm()],l>=0&&a.push(E(n,{expiresInSeconds:l,skipHidingFromQueue:!0})),e.next=10,Promise.all(a);case 10:r&&S(r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(b.SpinnerButton,{className:"googlesitekit-notification__cta",href:r,onClick:N,disabled:O||j,isSaving:O||j},a)}CTALink.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,dismissExpires:l.a.number}}).call(this,n(4))},579:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var r=n(20),i=n(120);function LearnMoreLink(t){var n=t.id,a=t.label,o=t.url,c=Object(i.a)(n);return e.createElement(r.a,{onClick:function(e){e.persist(),c.clickLearnMore()},href:o,external:!0},a)}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return T})),n.d(t,"g",(function(){return x})),n.d(t,"f",(function(){return R}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),s=n(7),u=n.n(s),l=n(11),d=n.n(l),f=n(57),g=n.n(f),p=n(13),m=n(111);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return b(b({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=D(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},_=h,w=h,j=h,E=function(e){return e},S=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=j.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:k.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||E}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:w.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},N={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},A=(r={},u()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),u()(r,"AWAIT",(function(e){return e.payload.value})),r),D=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},L={actions:N,controls:A,reducer:E},T=function(e){return function(t){return C(e(t))}},C=g()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function R(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return w})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return E})),n.d(t,"r",(function(){return S})),n.d(t,"t",(function(){return N})),n.d(t,"w",(function(){return A})),n.d(t,"u",(function(){return D})),n.d(t,"v",(function(){return L})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return C})),n.d(t,"A",(function(){return x})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return P})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return V})),n.d(t,"z",(function(){return F})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return B})),n.d(t,"i",(function(){return G})),n.d(t,"p",(function(){return U})),n.d(t,"Q",(function(){return W})),n.d(t,"P",(function(){return K}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",v="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",k="kmAnalyticsPopularContent",_="kmAnalyticsPopularProducts",w="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",E="kmAnalyticsTopCitiesDrivingLeads",S="kmAnalyticsTopCitiesDrivingAddToCart",N="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",D="kmAnalyticsTopConvertingTrafficSource",L="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",C="kmAnalyticsTopRecentTrendingPages",x="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",P="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",V="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",B="kmAnalyticsVisitsPerVisitor",G="kmAnalyticsMostEngagingPages",U="kmAnalyticsTopCategories",W=[v,b,h,y,O,k,_,w,U,j,E,S,N,A,D,L,C,x,R,M,V,F,B,G,U],K=[].concat(W,[z])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},642:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActionsCTALinkDismiss}));var r=n(2),i=n(3),a=n(32),o=n(192),c=n(532);function ActionsCTALinkDismiss(t){var n=t.id,s=t.className,u=void 0===s?"googlesitekit-publisher-win__actions":s,l=t.ctaLink,d=t.ctaLabel,f=t.onCTAClick,g=t.dismissLabel,p=void 0===g?Object(r.__)("OK, Got it!","google-site-kit"):g,m=t.dismissExpires,v=void 0===m?0:m,b=Object(i.useSelect)((function(e){return!!l&&e(a.a).isNavigatingTo(l)}));return e.createElement("div",{className:u},e.createElement(c.a,{id:n,ctaLink:l,ctaLabel:d,onCTAClick:f,dismissExpires:v}),e.createElement(o.a,{id:n,primary:!1,dismissLabel:p,dismissExpires:v,disabled:b}))}}).call(this,n(4))},71:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},752:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return NotificationError}));var r=n(17),i=n(952),a=n(753);function NotificationError(t){var n=t.title,o=t.description,c=t.actions;return e.createElement(r.e,null,e.createElement(r.k,null,e.createElement(r.a,{smSize:3,mdSize:7,lgSize:11,className:"googlesitekit-publisher-win__content"},e.createElement(a.a,{title:n}),o,c),e.createElement(i.a,{type:"win-error"})))}}).call(this,n(4))},753:function(e,t,n){"use strict";(function(e){function Title(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n)}n.d(t,"a",(function(){return Title}))}).call(this,n(4))},754:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return NotificationWithSmallSVG}));var r=n(17),i=n(753);function NotificationWithSmallSVG(t){var n=t.title,a=t.description,o=t.actions,c=t.SmallImageSVG;return e.createElement(r.e,null,e.createElement(r.k,null,e.createElement(r.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(c,null)),e.createElement(r.a,{smSize:3,mdSize:7,lgSize:11,className:"googlesitekit-publisher-win__content"},e.createElement(i.a,{title:n}),a,o)))}}).call(this,n(4))},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},789:function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return C}));var r,i,a,o,c,s=n(60),u=n(3),l=n(950),d=Object(u.combineStores)(u.commonStore,l.a),f=function(e){e.registerStore(s.a,d)},g=n(5),p=n.n(g),m=n(16),v=n.n(m),b=n(22),h=n(14),y=n(6),O=n(19),k=n(9),_=n(357),w=n(64),j=n(43),E=n(951),S=n(953),N=n(954),A=n(957),D=n(959),L={"authentication-error":{Component:E.a,priority:150,areaSlug:s.b.ERRORS,viewContexts:[b.n,b.o,b.l,b.m,b.q],checkRequirements:(c=v()(p.a.mark((function e(t){var n,r,i,a,o,c,s,u;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,e.next=3,Promise.all([r(h.c).getSiteInfo(),r(y.a).getAuthentication(),r(O.a).getModules()]);case 3:return i=n(h.c).getSetupErrorMessage(),a=n(y.a).isAuthenticated(),o=n(O.a).isModuleConnected("analytics-4"),c=n(y.a).hasScope(j.h),s=n(y.a).getUnsatisfiedScopes(),u=o&&!c&&1===(null==s?void 0:s.length),e.abrupt("return",(null==s?void 0:s.length)&&!i&&a&&!u);case 10:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)}),isDismissible:!1},"authentication-error-gte":{Component:S.a,priority:150,areaSlug:s.b.ERRORS,viewContexts:[b.n,b.o,b.l,b.m,b.q],checkRequirements:(o=v()(p.a.mark((function e(t){var n,r,i,a,o,c,s;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,e.next=3,Promise.all([r(h.c).getSiteInfo(),r(y.a).getAuthentication(),r(O.a).getModules()]);case 3:return i=n(h.c).getSetupErrorMessage(),a=n(y.a).isAuthenticated(),o=n(O.a).isModuleConnected("analytics-4"),c=n(y.a).hasScope(j.h),s=o&&!c,e.abrupt("return",!i&&a&&s);case 9:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)}),isDismissible:!1},"top-earning-pages-success-notification":{Component:D.a,priority:10,areaSlug:s.b.BANNERS_BELOW_NAV,viewContexts:[b.n,b.l],checkRequirements:(a=v()(p.a.mark((function e(t){var n,r,i,a,o,c,u,l,d,f,g,m;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.select,r=t.resolveSelect,i=t.dispatch,e.next=3,Promise.all([r(k.p).getSettings(),r(O.a).getModules()]);case 3:if(a=n(O.a).isModuleConnected("adsense"),o=n(O.a).isModuleConnected("analytics-4"),c=n(k.p).getAdSenseLinked(),u=a&&o&&c){e.next=9;break}return e.abrupt("return",!1);case 9:return l=n(y.a).getDateRangeDates({offsetDays:k.f}),d=l.startDate,f=l.endDate,g={startDate:d,endDate:f,dimensions:["pagePath"],metrics:[{name:"totalAdRevenue"}],orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:3},e.next=13,r(k.p).getReport(g);case 13:if(m=e.sent,!1!==Object(_.d)(m)||!u){e.next=18;break}return e.next=17,i(s.a).dismissNotification("top-earning-pages-success-notification");case 17:return e.abrupt("return",!1);case 18:return e.abrupt("return",!0);case 19:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)}),isDismissible:!0},"gathering-data-notification":{Component:N.a,priority:300,areaSlug:s.b.BANNERS_ABOVE_NAV,viewContexts:[b.n,b.o,b.l,b.m],checkRequirements:(i=v()(p.a.mark((function e(t,n){var r,i,a,o,c,s,u,l,d,f;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.select,i=t.resolveSelect,a=b.g.includes(n),e.next=4,Promise.all([i(O.a).getModules(),a?i(O.a).getRecoverableModules():Promise.resolve([])]);case 4:return o=r(O.a).isModuleConnected("analytics-4"),c=!a||r(y.a).canViewSharedModule("analytics-4"),s=!a||r(y.a).canViewSharedModule("search-console"),e.next=9,function(){if(!a)return!1;var e=r(O.a).getRecoverableModules();return Object.keys(e).includes("analytics-4")}();case 9:return u=e.sent,e.next=12,function(){if(!a)return!1;var e=r(O.a).getRecoverableModules();return Object.keys(e).includes("search-console")}();case 12:if(l=e.sent,!o||!c||!1!==u){e.next=19;break}return e.next=16,i(k.p).isGatheringData();case 16:e.t0=e.sent,e.next=20;break;case 19:e.t0=!1;case 20:if(d=e.t0,e.t1=s&&!1===l,!e.t1){e.next=26;break}return e.next=25,i(w.b).isGatheringData();case 25:e.t1=e.sent;case 26:return f=e.t1,e.abrupt("return",d||f);case 28:case"end":return e.stop()}}),e)}))),function(e,t){return i.apply(this,arguments)}),isDismissible:!0},"zero-data-notification":{Component:A.a,priority:310,areaSlug:s.b.BANNERS_ABOVE_NAV,viewContexts:[b.n,b.o,b.l,b.m],checkRequirements:(r=v()(p.a.mark((function e(t,n){var r,i,a,o,c,s;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.select,i=t.resolveSelect,a=b.g.includes(n),e.next=4,Promise.all([i(O.a).getModules(),a?i(O.a).getRecoverableModules():Promise.resolve([])]);case 4:return o=function(){var e=v()(p.a.mark((function e(t,n){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r(O.a).isModuleConnected(t)){e.next=3;break}return e.abrupt("return","disconnected");case 3:if(!a){e.next=10;break}if(r(y.a).canViewSharedModule(t)){e.next=7;break}return e.abrupt("return","cant-view");case 7:if(!r(O.a).getRecoverableModules()[t]){e.next=10;break}return e.abrupt("return","recovering");case 10:return e.next=12,i(n).isGatheringData();case 12:if(!e.sent){e.next=15;break}return e.abrupt("return","gathering");case 15:return e.next=17,i(n).getReport(r(n).getSampleReportArgs());case 17:if(!r(n).hasZeroData()){e.next=19;break}return e.abrupt("return","zero-data");case 19:return e.abrupt("return","connected");case 20:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),e.next=7,o("analytics-4",k.p);case 7:return c=e.sent,e.next=10,o("search-console",w.b);case 10:if(s=e.sent,"gathering"!==c&&"gathering"!==s){e.next=13;break}return e.abrupt("return",!1);case 13:return e.abrupt("return","zero-data"===c||"zero-data"===s);case 14:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)}),isDismissible:!0}};function T(e){for(var t in L)e.registerNotification(t,L[t])}function C(e){var t=e.dispatch;return{registerNotification:function(e,n){t(s.a).registerNotification(e,n)}}}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return D})),n.d(t,"o",(function(){return L})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return C})),n.d(t,"H",(function(){return x})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return V.b})),n.d(t,"r",(function(){return V.a})),n.d(t,"B",(function(){return V.c})),n.d(t,"y",(function(){return F})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return U})),n.d(t,"E",(function(){return W.a})),n.d(t,"h",(function(){return K})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return $}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var v=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),k=n.n(O),_=n(2),w="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',E=60,S=60*E,N=24*S,A=7*N,D=30*N;function L(){var e=function(e){return Object(_.sprintf)( /* translators: %s: number of days */ Object(_._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function C(e){k()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function x(e){k()(T(e),w);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function R(e,t){return C(I(e,t*N))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){k()(T(e)||Object(r.isDate)(e)&&!isNaN(e),w);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),V=n(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var B=n(27),G=n.n(B),U=function(e){return Array.isArray(e)?G()(e).sort():e},W=n(88);function K(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},$=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return A}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),u=n(23),l=n.n(u),d=n(13),f=n(57),g=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=v(v({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?S(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?S(a,v(v({},o),{},{unit:"second"})):"",i?S(i,v(v({},o),{},{unit:"minute"})):"",r?S(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},k=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),S(k(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(k(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(k(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})};function w(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=v({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=w(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?b(e,n):"durationISO"===i?h(e):S(e,n)}var E=g()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,a=l()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),p=g[0],m=g[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"n",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return k})),n.d(t,"e",(function(){return _})),n.d(t,"r",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return S}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",f="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",v="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",k="dashboardAllTrafficWidgetLoaded",_={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},w={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",E="audienceTileCustomDimensionCreate",S="audience-selection-panel-expirable-new-badge-"},95:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return d}));var r=n(33),i=n.n(r),a=n(13),o=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function s(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function l(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},950:function(e,t,n){"use strict";(function(e){var r=n(16),i=n.n(r),a=n(7),o=n.n(a),c=n(5),s=n.n(c),u=n(11),l=n.n(u),d=n(3),f=n(164),g=n(60),p=n(6),m=n(59);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={notifications:{},queuedNotifications:void 0},y={registerNotification:function(e,t){var n=t.Component,r=t.priority,i=void 0===r?10:r,a=t.areaSlug,o=t.viewContexts,c=t.checkRequirements,s=t.isDismissible;l()(n,"Component is required to register a notification.");var u=Object.values(g.b);return l()(u.includes(a),"Notification area should be one of: ".concat(u.join(", "),', but "').concat(a,'" was provided.')),l()(Array.isArray(o)&&o.some(g.c.includes,g.c),"Notification view context should be one of: ".concat(g.c.join(", "),', but "').concat(o,'" was provided.')),{payload:{id:e,settings:{Component:n,priority:i,areaSlug:a,viewContexts:o,checkRequirements:c,isDismissible:s}},type:"REGISTER_NOTIFICATION"}},receiveQueuedNotifications:function(e){return{payload:{queuedNotifications:e},type:"RECEIVE_QUEUED_NOTIFICATIONS"}},dismissNotification:Object(m.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l()(e,"A notification id is required to dismiss a notification.");var n=t.expiresInSeconds,r=void 0===n?0:n;l()(Number.isInteger(r),"expiresInSeconds must be an integer.")}),s.a.mark((function e(t){var n,r,i,a,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:{},r=n.expiresInSeconds,i=void 0===r?0:r,e.next=4,d.commonActions.getRegistry();case 4:if(a=e.sent,n.skipHidingFromQueue){e.next=8;break}return e.next=8,{type:"DISMISS_NOTIFICATION",payload:{id:t}};case 8:if(!1!==(null==(o=a.select(g.a).getNotification(t))?void 0:o.isDismissible)){e.next=11;break}return e.abrupt("return");case 11:return e.abrupt("return",a.dispatch(p.a).dismissItem(t,{expiresInSeconds:i}));case 12:case"end":return e.stop()}}),e)})))},O=Object(f.a)((function(t,n){var r=n.type,i=n.payload;switch(r){case"REGISTER_NOTIFICATION":var a=i.id,o=i.settings;void 0!==t.notifications[a]?e.console.warn('Could not register notification with ID "'.concat(a,'". Notification "').concat(a,'" is already registered.')):t.notifications[a]=b(b({},o),{},{id:a});break;case"RECEIVE_QUEUED_NOTIFICATIONS":t.queuedNotifications=i.queuedNotifications;break;case"DISMISS_NOTIFICATION":var c=i.id,s=t.queuedNotifications.findIndex((function(e){return e.id===c}));s>=0&&t.queuedNotifications.splice(s,1)}})),k={getQueuedNotifications:s.a.mark((function e(t){var n,r,a,o,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:return n=e.sent,r=n.select(g.a).getNotifications(),e.next=6,d.commonActions.await(n.resolveSelect(p.a).getDismissedItems());case 6:return a=Object.values(r).filter((function(e){return!!e.viewContexts.includes(t)&&(!e.isDismissible||!n.select(g.a).isNotificationDismissed(e.id))})),e.next=9,d.commonActions.await(Promise.all(a.map(function(){var e=i()(s.a.mark((function e(r){var i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof(i=r.checkRequirements)){e.next=11;break}return e.prev=2,e.next=5,i(n,t);case 5:return e.abrupt("return",e.sent);case 8:return e.prev=8,e.t0=e.catch(2),e.abrupt("return",!1);case 11:return e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())));case 9:return o=e.sent,(c=a.filter((function(e,t){return!!o[t]}))).sort((function(e,t){return e.priority-t.priority})),e.next=14,y.receiveQueuedNotifications(c);case 14:case"end":return e.stop()}}),e)}))},_={getNotifications:function(e){return e.notifications},getNotification:function(e,t){return e.notifications[t]},getQueuedNotifications:function(e,t){return l()(t,"viewContext is required."),e.queuedNotifications},isNotificationDismissed:Object(d.createRegistrySelector)((function(e){return function(t,n){return e(p.a).isItemDismissed(n)}}))};t.a={initialState:h,actions:y,controls:{},reducer:O,resolvers:k,selectors:_}}).call(this,n(26))},951:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlert}));var i=n(15),a=n.n(i),o=n(13),c=n(0),s=n(2),u=n(3),l=n(8),d=n(6),f=n(32),g=n(19),p=n(28),m=n(752),v=n(497),b=n(532),h={siteverification:"site-verification",webmasters:"search-console",analytics:"analytics-4"};function UnsatisfiedScopesAlert(t){var n,i,y,O,k,_=t.id,w=t.Notification,j=Object(c.useRef)(),E=Object(u.useSelect)((function(e){return e(f.a).isNavigatingTo(new RegExp("//oauth2|action=googlesitekit_connect","i"))})),S=Object(u.useSelect)((function(e){return e(p.a).getValue(d.d,"permissionsError")})),N=Object(u.useSelect)((function(e){return e(d.a).getUnsatisfiedScopes()})),A=(null==S?void 0:S.data)?{additionalScopes:null===(n=S.data)||void 0===n?void 0:n.scopes,redirectURL:(null===(i=S.data)||void 0===i?void 0:i.redirectURL)||e.location.href}:{redirectURL:e.location.href},D=Object(u.useSelect)((function(e){return e(d.a).getConnectURL(A)})),L=Object(u.useSelect)((function(e){return e(g.a).getModules()}));if(E&&!j.current||!(null==N?void 0:N.length)||void 0===D)return null;y=N.some((function(e){return!e.match(new RegExp("^https://www\\.googleapis\\.com/auth/"))}))||!(O=function(e,t){return void 0===t?null:e.map((function(e){return e.match(new RegExp("^https://www\\.googleapis\\.com/auth/([a-z]+)"))})).map((function(e){var t=a()(e,2)[1];return h[t]||t})).map((function(e){var n;return(null===(n=t[e])||void 0===n?void 0:n.name)||!1}))}(N,L))||O.some((function(e){return!1===e}))?"generic":1<(O=Object(o.uniq)(O)).length?"multiple":"single";var T=Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),C=(null==S?void 0:S.data)?Object(s.__)("Grant permission","google-site-kit"):Object(s.__)("Redo setup","google-site-kit");switch(y){case"multiple":k=Object(s.sprintf)( /* translators: %s: List of product names */ Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for: %s – make sure to approve all permissions at the authentication stage.","google-site-kit"),Object(l.z)(O));break;case"single":k=Object(s.sprintf)( /* translators: %s: Product name */ Object(s.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),O[0]);break;case"generic":k=Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(w,{className:"googlesitekit-publisher-win googlesitekit-publisher-win--win-error"},r.createElement(m.a,{title:T,description:r.createElement(v.a,{text:k}),actions:r.createElement(b.a,{id:_,ctaLabel:C,ctaLink:D,onCTAClick:function(){j.current=!0}})}))}}).call(this,n(26),n(4))},952:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},953:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlertGTE}));var i=n(2),a=n(3),o=n(14),c=n(6),s=n(43),u=n(28),l=n(752),d=n(497),f=n(579),g=n(532);function UnsatisfiedScopesAlertGTE(t){var n=t.id,p=t.Notification,m=Object(a.useSelect)((function(e){return e(u.a).getValue(c.d,"permissionsError")})),v=Object(a.useSelect)((function(t){var n;return t(c.a).getConnectURL({additionalScopes:[s.h],redirectURL:(null==m||null===(n=m.data)||void 0===n?void 0:n.redirectURL)||e.location.href})})),b=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/tagmanager/answer/11994839"})}));return void 0===v?null:r.createElement(p,{className:"googlesitekit-publisher-win googlesitekit-publisher-win--win-error"},r.createElement(l.a,{title:Object(i.__)("Site Kit needs additional permissions to detect updates to tags on your site","google-site-kit"),description:r.createElement(d.a,{text:Object(i.__)("To continue using Analytics with Site Kit, you need to grant permission to check for any changes in your Google tag’s target Analytics property. The Google tag feature was recently updated to allow users to change a tag’s connected Analytics property without editing site code. Because of this change, Site Kit now must regularly check if the tag on your site matches the Analytics property destination.","google-site-kit"),learnMoreLink:r.createElement(f.a,{id:n,label:Object(i.__)("Learn more","google-site-kit"),url:b})}),actions:r.createElement(g.a,{id:n,ctaLabel:Object(i.__)("Grant permission","google-site-kit"),ctaLink:v})}))}}).call(this,n(26),n(4))},954:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(14),s=n(8),u=n(955),l=n(754),d=n(497),f=n(642),g=n(956);function GatheringDataNotification(t){var n,r=t.id,i=t.Notification,p=Object(o.useSelect)((function(e){return e(c.c).getAdminURL("googlesitekit-settings")})),m=Object(u.a)(),v=m.analyticsGatheringData,b=m.searchConsoleGatheringData,h=72;return v&&b?n=Object(a.__)("Search Console and Analytics are gathering data","google-site-kit"):v?n=Object(a.__)("Analytics is gathering data","google-site-kit"):b&&(h=48,n=Object(a.__)("Search Console is gathering data","google-site-kit")),h?e.createElement(i,{className:"googlesitekit-publisher-win"},e.createElement(l.a,{title:n,description:e.createElement(d.a,{text:Object(a.sprintf)( /* translators: %s: the number of hours the site can be in a gathering data state */ Object(a._n)("It can take up to %s hour before stats show up for your site. While you’re waiting, connect more services to get more stats.","It can take up to %s hours before stats show up for your site. While you’re waiting, connect more services to get more stats.",h,"google-site-kit"),h)}),actions:e.createElement(f.a,{id:r,ctaLabel:Object(a.__)("See other services","google-site-kit"),ctaLink:"".concat(p,"#/connect-more-services"),dismissLabel:Object(a.__)("Maybe later","google-site-kit"),dismissExpires:s.a}),SmallImageSVG:g.a})):null}GatheringDataNotification.propTypes={id:i.a.string,Notification:i.a.elementType}}).call(this,n(4))},955:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(3),i=n(19),a=n(6),o=n(9),c=n(64),s=n(35);function u(){var e=Object(s.a)(),t=Object(r.useSelect)((function(e){return e(i.a).isModuleConnected("analytics-4")})),n=Object(r.useSelect)((function(t){return!e||t(a.a).canViewSharedModule("analytics-4")})),u=Object(r.useSelect)((function(t){return!e||t(a.a).canViewSharedModule("search-console")})),l=Object(r.useSelect)((function(t){if(!e)return!1;var n=t(i.a).getRecoverableModules();return void 0!==n?Object.keys(n).includes("analytics-4"):void 0})),d=Object(r.useSelect)((function(t){if(!e)return!1;var n=t(i.a).getRecoverableModules();return void 0!==n?Object.keys(n).includes("search-console"):void 0}));return{analyticsGatheringData:Object(r.useInViewSelect)((function(e){return!(!t||!n||!1!==l)&&e(o.p).isGatheringData()}),[t,n,l]),searchConsoleGatheringData:Object(r.useInViewSelect)((function(e){return u&&!1===d&&e(c.b).isGatheringData()}),[u,d]),analyticsHasZeroData:Object(r.useInViewSelect)((function(e){return!(!t||!n||!1!==l)&&e(o.p).hasZeroData()}),[t,n,l]),searchConsoleHasZeroData:Object(r.useInViewSelect)((function(e){return u&&!1===d&&e(c.b).hasZeroData()}),[u,d])}}},956:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),s=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),f=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),g=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),p=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,u,l,d,f,g,p)}},957:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(2),i=n(3),a=n(14),o=n(958),c=n(8),s=n(754),u=n(497),l=n(579),d=n(192);function ZeroDataNotification(t){var n=t.id,f=t.Notification,g=Object(i.useSelect)((function(e){return e(a.c).getDocumentationLinkURL("not-enough-traffic")}));return e.createElement(f,{className:"googlesitekit-publisher-win"},e.createElement(s.a,{title:Object(r.__)("Not enough traffic yet to display stats","google-site-kit"),description:e.createElement(u.a,{text:Object(r.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),learnMoreLink:e.createElement(l.a,{id:n,label:Object(r.__)("Learn more","google-site-kit"),url:g})}),actions:e.createElement(d.a,{id:n,dismissLabel:Object(r.__)("Remind me later","google-site-kit"),dismissExpires:c.a}),SmallImageSVG:o.a}))}}).call(this,n(4))},958:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),u=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),l=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),f=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,u,l,d,f)}},959:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4AdSenseLinkedNotification}));var r=n(2),i=n(209),a=n(192);function GA4AdSenseLinkedNotification(t){var n=t.id,o=t.Notification;return e.createElement(o,null,e.createElement(i.a,{title:Object(r.__)("Your AdSense and Analytics accounts are linked","google-site-kit"),description:Object(r.__)("We’ll let you know as soon as there’s enough data available","google-site-kit"),dismissCTA:e.createElement(a.a,{id:n,primary:!1,dismissLabel:Object(r.__)("Got it","google-site-kit")})}))}}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),d=Object(c.a)(i,n,s,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(a.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1204,1,0]]]); dist/assets/js/googlesitekit-polyfills-b3b20bb6f4276a648085.js 0000604 00000001120 14717744000 0017372 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[26],{1212:function(t,n,e){"use strict";e.r(n),function(t){var n=e(5),i=e.n(n),s=e(16),o=e.n(s);function a(){return(a=o()(i.a.mark((function n(){return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(void 0!==t.IntersectionObserver){n.next=3;break}return n.next=3,e.e(42).then(e.t.bind(null,1243,7));case 3:case"end":return n.stop()}}),n)})))).apply(this,arguments)}e.p="".concat(t._googlesitekitBaseData.assetsURL,"js/"),function(){a.apply(this,arguments)}()}.call(this,e(26))}},[[1212,1,0]]]); dist/assets/js/googlesitekit-settings-516d574e9df74fe6b81f.js 0000604 00001715705 14717744000 0017434 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[27],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return y})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return C})),n.d(t,"w",(function(){return A})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return T})),n.d(t,"x",(function(){return x})),n.d(t,"y",(function(){return R})),n.d(t,"A",(function(){return D})),n.d(t,"B",(function(){return M})),n.d(t,"C",(function(){return P})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return B})),n.d(t,"F",(function(){return L})),n.d(t,"z",(function(){return z})),n.d(t,"G",(function(){return F})),n.d(t,"E",(function(){return V})),n.d(t,"i",(function(){return W})),n.d(t,"p",(function(){return H})),n.d(t,"Q",(function(){return U})),n.d(t,"P",(function(){return q}));var i="core/user",r="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",v="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",k="kmAnalyticsPopularProducts",y="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",C="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",N="kmAnalyticsTopConvertingTrafficSource",T="kmAnalyticsTopCountries",x="kmAnalyticsTopPagesDrivingLeads",R="kmAnalyticsTopRecentTrendingPages",D="kmAnalyticsTopTrafficSource",M="kmAnalyticsTopTrafficSourceDrivingAddToCart",P="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",B="kmAnalyticsPagesPerVisit",L="kmAnalyticsVisitLength",z="kmAnalyticsTopReturningVisitorPages",F="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",H="kmAnalyticsTopCategories",U=[h,b,v,E,_,O,k,y,H,j,S,w,C,A,N,T,R,D,M,B,L,z,V,W,H],q=[].concat(U,[F])},,function(e,t,n){"use strict";n.d(t,"J",(function(){return r.b})),n.d(t,"K",(function(){return r.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return C})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return N})),n.d(t,"o",(function(){return T})),n.d(t,"x",(function(){return x})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return D})),n.d(t,"t",(function(){return M})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return B.b})),n.d(t,"i",(function(){return B.a})),n.d(t,"u",(function(){return L.b})),n.d(t,"r",(function(){return L.a})),n.d(t,"B",(function(){return L.c})),n.d(t,"y",(function(){return z})),n.d(t,"v",(function(){return F})),n.d(t,"F",(function(){return H})),n.d(t,"E",(function(){return U.a})),n.d(t,"h",(function(){return q})),n.d(t,"M",(function(){return G})),n.d(t,"m",(function(){return K}));var i=n(13),r=n(36),a=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(i){var r=t[i];r&&"object"===c()(r)&&!Array.isArray(r)&&(r=e(r)),n[i]=r})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,i=[g,f,m];n<i.length;n++){t=(0,i[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},v=n(15),E=n.n(v),_=n(11),O=n.n(_),k=n(2),y="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,C=24*w,A=7*C,N=30*C;function T(){var e=function(e){return Object(k.sprintf)( /* translators: %s: number of days */ Object(k._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 x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(i.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(i.isDate)(n)&&!isNaN(n)}function R(e){O()(Object(i.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function D(e){O()(x(e),y);var t=e.split("-"),n=E()(t,3),i=n[0],r=n[1],a=n[2];return new Date(i,r-1,a)}function M(e,t){return R(I(e,t*C))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){O()(x(e)||Object(i.isDate)(e)&&!isNaN(e),y);var n=x(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var B=n(98),L=n(83);function z(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function F(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=n(27),W=n.n(V),H=function(e){return Array.isArray(e)?W()(e).sort():e},U=n(88);function q(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var i=(t-e)/e;return Number.isNaN(i)||!Number.isFinite(i)?null:i}var G=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(i.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return v})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return k})),n.d(t,"r",(function(){return y})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var i="modules/analytics-4",r="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",v="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",k={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},y={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i="core/site",r="primary",a="secondary"},,,function(e,t,n){"use strict";var i=n(245);n.d(t,"i",(function(){return i.a}));var r=n(309);n.d(t,"f",(function(){return r.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";var i=n(0),r=n(63);t.a=function(){return Object(i.useContext)(r.b)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i="core/modules",r="insufficient_module_dependencies"},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),g=n(0),f=n(2),m=n(126),p=n(127),h=n(128),b=n(80),v=n(77),E=Object(g.forwardRef)((function(t,n){var i,a=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,k=void 0!==O&&O,y=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,C=void 0!==w&&w,A=t.disabled,N=void 0!==A&&A,T=t.external,x=void 0!==T&&T,R=t.hideExternalIndicator,D=void 0!==R&&R,M=t.href,P=void 0===M?"":M,I=t.inverse,B=void 0!==I&&I,L=t.noFlex,z=void 0!==L&&L,F=t.onClick,V=t.small,W=void 0!==V&&V,H=t.standalone,U=void 0!==H&&H,q=t.linkButton,G=void 0!==q&&q,K=t.to,J=t.leadingIcon,Y=t.trailingIcon,X=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=P||K||!F?K?"ROUTER_LINK":x?"EXTERNAL_LINK":"LINK":N?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(i=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(i=Object(f._x)("(disabled)","screen reader text","google-site-kit")),i?a?"".concat(a," ").concat(i):"string"==typeof y?"".concat(y," ").concat(i):void 0:a),ee=J,te=Y;return _&&(ee=e.createElement(h.a,{width:14,height:14})),x&&!D&&(te=e.createElement(b.a,{width:14,height:14})),g&&!B&&(te=e.createElement(m.a,{width:14,height:14})),g&&B&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Z,r()({"aria-label":Q,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":B,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":k,"googlesitekit-cta-link--danger":C,"googlesitekit-cta-link--disabled":N,"googlesitekit-cta-link--standalone":U,"googlesitekit-cta-link--link-button":G,"googlesitekit-cta-link--no-flex":!!z}),disabled:N,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||N?void 0:P,onClick:F,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},X),!!ee&&e.createElement(v.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},y),!!te&&e.createElement(v.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"n",(function(){return i})),n.d(t,"l",(function(){return r})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return y}));var i="mainDashboard",r="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",b="key-metrics",v="traffic",E="content",_="speed",O="monetization",k=[i,r,a,o,c,s,g,h],y=[a,o,d,p]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var i="core/ui",r="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var i=n(79),r="xlarge",a="desktop",o="tablet",c="small";function l(){var e=Object(i.a)();return e>1280?r:e>960?a:e>600?o:c}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="core/forms"},,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"k",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"o",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return v}));var i=n(2),r="key-metrics-setup-cta-widget",a="key-metrics-acr-subtle-notification",o="googlesitekit-key-metrics-selection-panel-opened",c="key-metrics-selection-form",l="key-metrics-selected",s=2,u=4,d=8,g="current-selection",f={SLUG:"visitors",LABEL:Object(i.__)("Visitors","google-site-kit")},m={SLUG:"driving-traffic",LABEL:Object(i.__)("Driving traffic","google-site-kit")},p={SLUG:"generating-leads",LABEL:Object(i.__)("Generating leads","google-site-kit")},h={SLUG:"selling-products",LABEL:Object(i.__)("Selling products","google-site-kit")},b={SLUG:"content-performance",LABEL:Object(i.__)("Content performance","google-site-kit")},v=[f,m,p,h,b]},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="core/location"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var i=n(2),r="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===r}function l(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(i.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(i.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(22),r=n(18);function a(){var e=Object(r.a)();return i.g.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return E}));var i=n(99),r=e._googlesitekitTrackingData||{},a=r.activeModules,o=void 0===a?[]:a,c=r.isSiteKitScreen,l=r.trackingEnabled,s=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,g=r.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},m=Object(i.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}c&&l&&b()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var i="audience-segmentation-add-group-notice",r="googlesitekit-audience-selection-panel-opened",a="audience-selection-form",o="audience-selected",c="audience-selection-changed",l="audience-segmentation-creation-notice",s="audience-segmentation-creation-success-notice",u=1,d=3,g="audience-creation-edit-scope-notice",f="audience-creation-form"},function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(12),l=n.n(c),s=n(25);function PreviewBlock(t){var n,i,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,b=t.desktopHeight,v=Object(s.e)(),E={width:(n={},r()(n,s.b,g),r()(n,s.c,m),r()(n,s.a,h),r()(n,s.d,h),n),height:(i={},r()(i,s.b,f),r()(i,s.c,p),r()(i,s.a,b),r()(i,s.d,h),i)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[v]||o,height:E.height[v]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return k}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=o()(r.a.mark((function t(n){var i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",i.setItem(a,a),i.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==i.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return b.apply(this,arguments)}function b(){return(b=o()(r.a.mark((function t(){var n,i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((i=n.n()).done){t.next=15;break}if(a=i.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(r.a.mark((function e(t){var n,i,a,o,c,l,s;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(i=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(i),o=a.timestamp,c=a.ttl,l=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var t=o()(r.a.mark((function t(n,i){var a,o,l,s,u,d,f,m,p=arguments;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,l=void 0===o?c.b:o,s=a.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=a.isError,f=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:l,value:i,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=o()(r.a.mark((function t(n){var i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(i=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),i.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=o()(r.a.mark((function t(){var n,i,a,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,i=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&i.push(o);return t.abrupt("return",i);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),k=function(){var e=o()(r.a.mark((function e(){var t,n,i,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((i=n.n()).done){e.next=16;break}return a=i.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},,,function(e,t,n){"use strict";(function(e){var i,r;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(i=e)||void 0===i||null===(r=i._googlesitekitBaseData)||void 0===r?void 0:r.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var i={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var i=n(22),r=n(18),a=i.n,o=i.l;function c(){var e=Object(r.a)();return e===i.n||e===i.o?a:e===i.l||e===i.m?o:null}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n(3),r=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(i.useSelect)((function(e){return e(r.a).getModule(n)}),[n]);if(!l)return null;var s=o||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=c||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(37);function r(e){return function(){e[i.a]=e[i.a]||[],e[i.a].push(arguments)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var i=n(22),r="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[i.n,i.l,i.o,i.m]},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(0),r=Object(i.createContext)(""),a=(r.Consumer,r.Provider);t.b=r},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var i="modules/search-console",r=1},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var i=n(21),r=n.n(i),a=n(7),o=n.n(a),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(15),g=n.n(d),f=n(1),m=n.n(f),p=n(12),h=n.n(p),b=n(221),v=n(222),E=n(91),_=n(79),O=n(0),k=n(109),y=n(3),j=n(17),S=n(89),w=n(41),C=n(25),A=n(195),N=n(196),T=n(197),x=n(201),R=n(202),D=n(74),M=n(113),P=n(121),I=n(32),B=n(203);function BannerNotification(t){var n,i=t.badgeLabel,a=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,f=t.ctaLink,m=t.ctaTarget,p=t.description,L=t.dismiss,z=t.dismissExpires,F=void 0===z?0:z,V=t.format,W=void 0===V?"":V,H=t.id,U=t.isDismissible,q=void 0===U||U,G=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,Y=t.learnMoreTarget,X=void 0===Y?D.a.EXTERNAL:Y,$=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,ie=t.onLearnMoreClick,re=t.showOnce,ae=void 0!==re&&re,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,be=void 0===he?105:he,ve=t.mediumWinImageSVGHeight,Ee=void 0===ve?105:ve,_e=t.rounded,Oe=void 0!==_e&&_e,ke=t.footer,ye=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=g()(Se,2),Ce=we[0],Ae=we[1],Ne=Object(O.useState)(!1),Te=g()(Ne,2),xe=Te[0],Re=Te[1],De="notification::dismissed::".concat(H),Me=function(){return Object(w.f)(De,new Date,{ttl:null})},Pe=Object(_.a)(),Ie=Object(C.e)(),Be=Object(b.a)(),Le=Object(O.useState)(!1),ze=g()(Le,2),Fe=ze[0],Ve=ze[1],We=Object(O.useRef)(),He=Object(v.a)(We,{rootMargin:"".concat(-Object(P.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!Fe&&(null==He?void 0:He.isIntersecting)&&("function"==typeof te&&te(),Ve(!0))}),[H,te,Fe,He]);var Ue=Pe>=600;Object(E.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(F>0)){e.next=3;break}return e.next=3,$e();case 3:if(!q){e.next=9;break}return e.next=6,Object(w.d)(De);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ae){e.next=12;break}return e.next=12,Me();case 12:case"end":return e.stop()}}),e)}))));var qe=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ge=Object(k.a)(f)&&"_blank"!==m,Ke=function(){return Ge||Ae(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Me();case 2:Be()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(y.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Ye=Object(y.useDispatch)(I.a).navigateTo,Xe=function(){var e=u()(l.a.mark((function e(t){var n,i,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),Ge&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:i=e.t0,r=i.dismissOnCTAClick,n=void 0===r||r;case 12:if(!q||!n){e.next=15;break}return e.next=15,Ke();case 15:Ge&&Ye(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(De);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((i=new Date(n)).setSeconds(i.getSeconds()+parseInt(F,10)),!(i<new Date)){e.next=10;break}return e.next=10,Object(w.c)(De);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&q&&(void 0===xe||xe))return null;var Ze=!Je&&Ce?"is-closed":"is-open",Qe=Object(M.d)(W),et=Object(M.c)(W),tt=Object(M.a)(W),nt=Object(M.b)({format:W,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(A.a,{id:H,className:h()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(W),W),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ye,ref:We},$&&e.createElement(R.a,{module:Z,moduleName:Q}),oe&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(j.a,r()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(N.a,{title:ce,badgeLabel:i,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:fe,winImageFormat:W,WinImageSVG:!Ue&&de?se:void 0}),e.createElement(B.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:X,learnMoreDescription:G,onLearnMoreClick:ie}),a,e.createElement(T.a,{ctaLink:f,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:Xe,dismissLabel:q?L:void 0,dismissCallback:qe}),ke&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ke)),se&&(Ue||!de)&&e.createElement(j.a,r()({},Qe,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(se,{style:{maxWidth:be,maxHeight:Ee}}))),e.createElement(x.a,{type:le}))}n.d(t,"a",(function(){return D.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(D.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,i=t.reconnectURL,r=t.noPrefix;if(!n)return null;var l=n;void 0!==r&&r||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),i&&Object(a.a)(i)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),i));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string,noPrefix:r.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return E}));var i=n(7),r=n.n(i),a=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var c=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return a.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},f=n(182),m=n(92),p="warning",h="info",b="suggestion",v=(d={},r()(d,h,l),r()(d,p,f.a),r()(d,b,g),d),E=function(e){return v[e]||m.a}},,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return i.createElement("svg",r({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var i=n(33),r=n.n(i),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var i="mainDashboardKeyMetrics",r="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:i,CONTEXT_MAIN_DASHBOARD_TRAFFIC:r,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";var i=n(15),r=n.n(i),a=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,i=Object(l.useState)(document.createElement("div")),o=r()(i,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var i=n(1),r=n.n(i);function IconWrapper(t){var n=t.children,i=t.marginLeft,r=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:i,marginRight:r}},n)}IconWrapper.propTypes={children:r.a.node.isRequired,marginLeft:r.a.number,marginRight:r.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a}));var i=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},r=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var i=n(145),r=n.n(i)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return A}));var i=n(15),r=n.n(i),a=n(33),o=n.n(a),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),g=n(57),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),i=n.formatUnit,r=n.formatDecimal;try{return i()}catch(e){return r()}},v=function(e){var t=E(e),n=t.hours,i=t.minutes,r=t.seconds;return r=("0"+r).slice(-2),i=("0"+i).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(i,":").concat(r):"".concat(n,":").concat(i,":").concat(r)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),i=n.hours,r=n.minutes,a=n.seconds;return{hours:i,minutes:r,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},o),{},{unit:"second"})):"",r?w(r,h(h({},o),{},{unit:"minute"})):"",i?w(i,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),r),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),i);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",r?n:"",i?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},k=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function y(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=y(t),i=n.style,r=void 0===i?"metric":i;return"metric"===r?k(e):"duration"===r?b(e,n):"durationISO"===r?v(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,i=void 0===n?A():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(i,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(i),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,g=Object.entries(a);d<g.length;d++){var f=r()(g[d],2),m=f[0],p=f[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(i,s).format(e)}catch(t){return new Intl.NumberFormat(i).format(e)}},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,i=void 0===n?A():n,r=t.style,a=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(i,{style:a,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var i=n.match(/^(\w{2})?(_)?(\w{2})/);if(i&&i[0])return i[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var i=n(109);function r(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(i.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var a=r.length-Math.floor(t)+1;return"…"+r.substr(a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var i="mainDashboardKeyMetricsPrimary",r="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",l="mainDashboardMonetizationPrimary",s="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:i,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:r,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:l,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(10),l=n(20);function CTA(t){var n=t.title,i=t.headerText,r=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(i||r)&&e.createElement("div",{className:"googlesitekit-cta__header"},i&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},i),r),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===g&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:r.a.string.isRequired,headerText:r.a.string,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,ctaType:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func,children:r.a.node,headerContent:r.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,i=t.invertColor,r=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":i}),width:r,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(11),r=n.n(i),a=function(e,t){var n=t.dateRangeLength;r()(Array.isArray(e),"report must be an array to partition."),r()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var i=-1*n;return{currentRange:e.slice(i),compareRange:e.slice(2*i,i)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var i=n(25),r=n(121);function a(t,n){var i=document.querySelector(t);if(!i)return 0;var r=i.getBoundingClientRect().top,a=o(n);return r+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===i.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==i.b?t.offsetHeight:0}(t),(n=Object(r.a)(n))<0?0:n}}).call(this,n(26))},,,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.label,a=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",r()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),i)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i,r=n(7),a=n.n(r),o=n(46),c=n(142),l=n(136),s=(i={},a()(i,o.c.QUARTER,3),a()(i,o.c.HALF,6),a()(i,o.c.FULL,12),i),u="googlesitekit-hidden",d=[c.a,l.a]},function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var i=n(220),r=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(i.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var i=n(7),r=n.n(i),a=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=s(s({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(r,n),d=Object(c.a)(r,n,l,i),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=JSON.stringify(t);g[i]||(g[i]=Object(a.once)(d)),g[i].apply(g,t)};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n(58),r=n(37),a=n(44);function o(t,n){var o,c=Object(i.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(r.b,"]"))),!o){o=!0;var i=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:f?"1":"0",user_properties:{user_roles:i,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(r.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n(5),r=n.n(i),a=n(7),o=n.n(a),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,i){var a=Object(s.a)(t);return function(){var t=l()(r.a.mark((function t(o,c,l,s){var u;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(r),e()};a("event",c,d(d({},u),{},{event_callback:l})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,i,r){return t.apply(this,arguments)}}()}},,function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return b}));var i,r=n(7),a=n.n(r),o=n(2),c="purpose",l="postFrequency",s="goals",u=[c,l,s],d=(i={},a()(i,c,1),a()(i,l,1),a()(i,s,3),i),g="googlesitekit-user-input-currently-editing",f="user_input_question_number",m="user_input_question_snapshot";function p(){return[{title:Object(o.__)("What is the main purpose of this site?","google-site-kit"),description:Object(o.__)("Based on your answer, Site Kit will tailor the metrics you see on your dashboard to help you track progress towards your specific goals","google-site-kit")},{title:Object(o.__)("How often do you create new content for this site?","google-site-kit"),description:Object(o.__)("Based on your answer, Site Kit will suggest new features for your dashboard related to content creation","google-site-kit")},{title:Object(o.__)("What are your top goals for this site?","google-site-kit"),description:Object(o.__)("Based on your answers, Site Kit will tailor the metrics and recommendations you see on your dashboard to help you make progress in these areas","google-site-kit")}]}function h(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:Object(o.__)("Sell products or services","google-site-kit"),monetize_content:Object(o.__)("Monetize content (with ads or affiliate links)","google-site-kit"),publish_blog:Object(o.__)("Publish a blog","google-site-kit"),publish_news:Object(o.__)("Publish news content","google-site-kit"),share_portfolio:Object(o.__)("Share a business card or portfolio to represent me or my company online","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_POST_FREQUENCY:{never:Object(o.__)("Never","google-site-kit"),daily:Object(o.__)("Daily","google-site-kit"),weekly:Object(o.__)("Weekly","google-site-kit"),monthly:Object(o.__)("Monthly","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_GOALS:{retaining_visitors:Object(o.__)("Retain visitors, turn them into loyal readers or customers","google-site-kit"),improving_performance:Object(o.__)("Improve speed and performance","google-site-kit"),finding_new_topics:Object(o.__)("Find new topics to write about that connect with my audience","google-site-kit"),growing_audience:Object(o.__)("Grow my audience","google-site-kit"),expanding_business:Object(o.__)("Expand my business into new cities, states or markets","google-site-kit"),generating_revenue:Object(o.__)("Generate more revenue","google-site-kit"),help_better_rank:Object(o.__)("Help my content rank in a better position in Google search results","google-site-kit"),understanding_content_performance:Object(o.__)("Understand which content is performing best","google-site-kit"),encourage_to_post:Object(o.__)("Tips for generating and posting engaging content updates","google-site-kit"),other:Object(o.__)("Other","google-site-kit")}}}function b(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:Object(o.__)("E.g. selling products like devices, apparel, equipment, etc. or offering services like courses, consulting, tutoring, etc.","google-site-kit"),monetize_content:Object(o.__)("Using display ads, affiliate links, sponsored content, etc.","google-site-kit"),publish_blog:Object(o.__)("Writing on a topic you’re passionate about, no focus on monetizing content","google-site-kit"),publish_news:Object(o.__)("E.g. local news, investigative pieces, interviews, etc.","google-site-kit"),share_portfolio:Object(o.__)("My website represents me or my company","google-site-kit"),other:void 0}}}},function(e,t,n){"use strict";var i=n(123);n.d(t,"a",(function(){return i.a}));var r=n(124);n.d(t,"c",(function(){return r.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,i=t.children,a=o()(t,["className","children"]);return i?e.createElement("span",r()({},a,{className:u()("screen-reader-text",n)}),i):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var r=n(7),a=n.n(r),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),g=n(24),f=n(6),m=n(36),p=n(130),h=n(18);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var v={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",k="feature_tooltip_advance",y="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,r=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(r,"-step"),w="".concat(r,"-run"),C=Object(d.useDispatch)(g.b).setValue,A=Object(d.useDispatch)(f.a).dismissTour,N=Object(d.useRegistry)(),T=Object(h.a)(),x=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(r)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),C(w,!0)}));var D=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return i.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,i=e.lifecycle,r=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(T):l;o===c.b.TOOLTIP&&i===c.c.TOOLTIP?Object(m.b)(u,O,s):n===c.a.CLOSE&&i===c.c.COMPLETE?Object(m.b)(u,j,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&r===s&&Object(m.b)(u,S,s),i===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,y,s),n===c.a.NEXT&&Object(m.b)(u,k,s))}(t);var n=t.action,i=t.index,a=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=g&&d===c.b.STEP_AFTER,b=p||h;if(c.b.STEP_BEFORE===d){var v,E,_=o.target;"string"==typeof o.target&&(_=e.document.querySelector(o.target)),null===(v=_)||void 0===v||null===(E=v.scrollIntoView)||void 0===E||E.call(v,{block:"center"})}f?function(e,t){C(u,e+(t===c.a.PREV?-1:1))}(i,n):b&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),A(r)),s&&s(t,N)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:R,showProgress:!0,stepIndex:x,steps:D,styles:v,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(15),l=n.n(c),s=n(23),u=n.n(s),d=n(222),g=n(1),f=n.n(g),m=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(t){function WithIntersectionObserverComponent(n){var i=n.onInView,r=u()(n,["onInView"]),a=Object(m.useRef)(),c=Object(d.a)(a,{root:null,threshold:.45}),s=Object(m.useState)(!1),g=l()(s,2),f=g[0],p=g[1],h=!!(null==c?void 0:c.isIntersecting)&&!!(null==c?void 0:c.intersectionRatio);return Object(m.useEffect)((function(){c&&h&&!f&&(i(),p(!0))}),[f,h,c,i]),e.createElement(t,o()({ref:a},r))}return WithIntersectionObserverComponent.displayName="WithIntersectionObserverComponent",(t.displayName||t.name)&&(WithIntersectionObserverComponent.displayName+="(".concat(t.displayName||t.name,")")),WithIntersectionObserverComponent.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onInView:f.a.func.isRequired},t.propTypes),WithIntersectionObserverComponent}}).call(this,n(4))},,function(e,t,n){"use strict";var i=n(224);n.d(t,"b",(function(){return i.a}));var r=n(160);n.d(t,"c",(function(){return r.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));function i(e){var t=e.format,n=void 0===t?"small":t,i=e.hasErrorOrWarning,r=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=a(n);return Object.keys(c).forEach((function(e){var t=c[e];i&&(t-=1),r&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var r=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,i=void 0===n?"":n,r=t.dialogActive,a=void 0!==r&&r,g=t.handleDialog,f=void 0===g?null:g,m=t.onOpen,p=void 0===m?null:m,h=t.onClose,b=void 0===h?null:h,v=t.title,E=void 0===v?null:v,_=t.provides,O=t.handleConfirm,k=t.subtitle,y=t.confirmButton,j=void 0===y?null:y,S=t.dependentModules,w=t.danger,C=void 0!==w&&w,A=t.inProgress,N=void 0!==A&&A,T=t.small,x=void 0!==T&&T,R=t.medium,D=void 0!==R&&R,M=t.buttonLink,P=void 0===M?null:M,I=Object(c.a)(ModalDialog),B="googlesitekit-dialog-description-".concat(I),L=!(!_||!_.length);return e.createElement(u.Dialog,{open:a,onOpen:p,onClose:b,"aria-describedby":L?B:void 0,tabIndex:"-1",className:o()(i,{"googlesitekit-dialog-sm":x,"googlesitekit-dialog-md":D})},e.createElement(u.DialogTitle,null,C&&e.createElement(d.a,{width:28,height:28}),E),k?e.createElement("p",{className:"mdc-dialog__lead"},k):[],e.createElement(u.DialogContent,null,L&&e.createElement("section",{id:B,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:N},Object(s.__)("Cancel","google-site-kit")),P?e.createElement(u.Button,{href:P,onClick:O,target:"_blank",danger:C},j):e.createElement(u.SpinnerButton,{onClick:O,danger:C,disabled:N,isSaving:N},j||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r.a.string,dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,onOpen:r.a.func,onClose:r.a.func,title:r.a.string,confirmButton:r.a.string,danger:r.a.bool,small:r.a.bool,medium:r.a.bool,buttonLink:r.a.string},t.a=ModalDialog}).call(this,n(4))},function(e,t,n){"use strict";var i=n(343),r=n(339);n.d(t,"b",(function(){return r.a}));var a=n(340);n.d(t,"c",(function(){return a.a}));var o=n(341);n.d(t,"d",(function(){return o.a}));var c=n(342);n.d(t,"a",(function(){return c.a})),t.e=i.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,i=t.error,r=t.hasButton,d=void 0!==r&&r,g=t.storeName,f=t.message,m=void 0===f?i.message:f,p=t.noPrefix,h=void 0!==p&&p,b=t.Icon,v=Object(c.useDispatch)(),E=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(i):null})),_=Object(a.useCallback)((function(){v(E.storeName).invalidateResolution(E.name,E.args)}),[v,E]);if(!i||Object(s.f)(i))return null;var O=d&&Object(s.d)(i,E);return d||(m=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),m)),e.createElement(a.Fragment,null,b&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(b,{width:"24",height:"24"})),e.createElement(u.a,{message:m,reconnectURL:null===(n=i.data)||void 0===n?void 0:n.reconnectURL,noPrefix:h}),O&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:_},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),hasButton:r.a.bool,storeName:r.a.string,message:r.a.string,noPrefix:r.a.bool,Icon:r.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(14),f=n(19),m=n(34),p=n(35),h=n(20);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,i=t.error,r=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,b=t.onRetry,E=t.onRequestAccess,_=t.getHelpClassName,O=t.RequestAccessButton,k=t.RetryButton,y=Object(p.a)(),j=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),w=Array.isArray(i)?i:[i],C=Object(u.useSelect)((function(e){return w.map((function(t){var n,i=null===(n=e(j))||void 0===n?void 0:n.getSelectorDataForError(t);return v(v({},t),{},{selectorData:i})}))})),A=null==C?void 0:C.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),N=!!A.length,T=Object(u.useSelect)((function(e){var t=v({},N?A[0]:w[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),x=Object(u.useDispatch)(),R=w.some((function(e){return Object(m.e)(e)})),D=Object(c.useCallback)((function(){A.forEach((function(e){var t=e.selectorData;x(t.storeName).invalidateResolution(t.name,t.args)})),null==b||b()}),[x,A,b]),M=S&&R&&!y;return e.createElement("div",{className:"googlesitekit-report-error-actions"},M&&("function"==typeof O?e.createElement(O,{requestAccessURL:S}):e.createElement(d.Button,{onClick:E,href:S,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),N&&e.createElement(c.Fragment,null,"function"==typeof k?e.createElement(k,{handleRetry:D}):e.createElement(d.Button,{onClick:D,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:T,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!N&&!a&&e.createElement("div",{className:_},"function"==typeof r?e.createElement(r,{linkURL:T}):e.createElement(h.a,{href:T,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r=n(3),a=n(46);function o(e,t,n){var o=Object(r.useDispatch)(a.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(i.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return i.createElement("svg",r({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r=n(18),a=n(8);function o(e){var t=Object(r.a)(),n="".concat(t,"_").concat(e);return{view:Object(i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(13),r=function(e){return Object(i.isFinite)(e)?e:0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(10),l=n(277);function InfoTooltip(t){var n=t.onOpen,i=t.title,a=t.tooltipClassName;return i?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:r()("googlesitekit-info-tooltip__content",a),title:i,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(l.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:o.a.func,title:o.a.oneOfType([o.a.string,o.a.element]),tooltipClassName:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var i=n(21),r=n.n(i),a=n(7),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),g=n.n(d);function Cell(t){var n,i=t.className,a=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,b=t.smStart,v=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,k=t.lgSize,y=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,C=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},C,{className:g()(i,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",r()({ref:n,className:u()("mdc-layout-grid__inner",i)},c),a)}));g.displayName="Row",g.propTypes={className:l.a.string,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.alignLeft,a=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":i,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));g.displayName="Grid",g.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),i.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return i.createElement("svg",r({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),i.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return i.createElement("svg",r({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(401),r=function(e,t,n){Object(i.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var i=n(21),r=n.n(i),a=n(166),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,i=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(g.a)(u):[],b=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",r()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:b(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,r()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},i))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var i=n(23),r=n.n(i),a=n(7),o=n.n(a),c=n(5),l=n.n(c),s=n(11),u=n.n(s),d=n(3),g=n.n(d),f=n(41),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},i={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,i,r,a,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,i=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(r=e.sent,a=r.cacheHit,o=r.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!i){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:i,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,i=t.type,a=t.payload;switch(i){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,r()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,i=t.href,r=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:i,external:a})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,i=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===i)return null;var r=1===i.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),i[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),i.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:r})}RecoverableModules.propTypes={moduleSlugs:r.a.arrayOf(r.a.string).isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(13),l=n(0),s=n(2),u=n(3),d=n(19),g=n(34),f=n(150),m=n(81),p=n(67),h=n(85),b=n(117),v=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,i=t.moduleSlug,r=t.error,a=Object(v.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(i)})),E=Array.isArray(r)?r:[r],O=function(e){return Object(g.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(f.a)(e.message,o)):Object(g.b)(e)},k=Object(c.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),y=E.some((function(e){return Object(g.e)(e)}));y||1!==k.length?!y&&k.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(l.Fragment,null,k.map((function(t){var n,i=null==r||null===(n=r.data)||void 0===n?void 0:n.reconnectURL;return i?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:i}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(b.a,{moduleSlug:i,error:r}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,i=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==i?void 0:i.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==i?void 0:i.name)})}ReportZero.propTypes={moduleSlug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),i.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),i.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),i.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return i.createElement("svg",r({viewBox:"0 0 43 44"},e),a)}},,,,,function(e,t,n){"use strict";var i=n(159);n.d(t,"c",(function(){return i.a}));var r=n(68);n.d(t,"b",(function(){return r.c})),n.d(t,"a",(function(){return r.a}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(2);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,a=void 0===r?"":r,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(i.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(i.sprintf)( /* translators: %s: module name */ Object(i.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(i.sprintf)( /* translators: %s: owner name */ Object(i.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(i.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"none"},e),a)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var i=n(2),r="audience-segmentation-info-notice-ui",a="audience-segmentation-info-notice",o=[{slug:"new-visitors",content:Object(i.__)("The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.","google-site-kit")},{slug:"compare-metrics",content:Object(i.__)("Select up to three visitor groups to display on the dashboard and easily compare metrics between them.","google-site-kit")},{slug:"custom-audiences",content:Object(i.__)("Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.","google-site-kit")},{slug:"purchasers",content:Object(i.__)("Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.","google-site-kit")},{slug:"returning-visitors",content:Object(i.__)("The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.","google-site-kit")},{slug:"compare-new-returning",content:Object(i.__)("Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.","google-site-kit")},{slug:"compare-cities",content:Object(i.__)("Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.","google-site-kit")}]},function(e,t,n){"use strict";var i=n(0),r=Object(i.createContext)(!1);t.a=r},,,,function(e,t,n){"use strict";var i=n(0),r=n(44),a=Object(i.createContext)(r.a);t.a=a},function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(198),u=n(211),d=n(68),g=n(6),f=n(10),m=n(0),p=Object(m.forwardRef)((function(t,n){var i=t.className,a=t.children,o=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,b=t.dismissLabel,v=void 0===b?Object(c.__)("OK, Got it!","google-site-kit"):b,E=t.Icon,_=void 0===E?Object(d.d)(o):E,O=t.OuterCTA,k=Object(l.useDispatch)(g.a).dismissItem,y=Object(l.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&y)return null;var j=a?u.a:s.a;return e.createElement("div",{ref:n,className:r()(i,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(_,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){k(p),h()}},v)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(3),r=n(24);function a(e){return Object(i.useSelect)((function(t){return t(r.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(232),r=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(i.b)((function(){return r.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileLoading}));var i=n(40);function AudienceTileLoading(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-loading"},e.createElement(i.a,{width:"100%",height:"20px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}))}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var i=n(1),r=n.n(i),a=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,i=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:i}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:r.a.string,componentStack:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(22),r=function(e){return i.f.includes(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(3),r=n(24),a=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(i.useSelect)((function(t){return!!t(r.b).getValue(a(e))}),[e])}o.getKey=a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(8);function ChangeBadge(t){var n=t.previousValue,i=t.currentValue,r=t.isAbsolute?i-n:Object(c.h)(n,i),a=r<0,l=0===r;return null===r?null:e.createElement("div",{className:o()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":a,"googlesitekit-change-badge--zero":l})},Object(c.C)(r,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:r.a.bool,previousValue:r.a.number.isRequired,currentValue:r.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(7),r=n.n(i),a=n(2),o=n(6),c=n(14),l=n(9),s=n(44);function u(e,t,n){return!!Object(s.b)("conversionReporting")&&(e(l.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(o.a).isKeyMetricActive(n))}var d,g=n(30);function f(e,t){return!t||!(!t||!e(l.p).getAdSenseLinked())}function m(e,t){return!t||e(l.p).hasCustomDimensions(this.requiredCustomDimensions)}var p=(d={},r()(d,o.f,{title:Object(a.__)("Top earning pages","google-site-kit"),description:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:f,displayInList:f,metadata:{group:g.d.SLUG}}),r()(d,o.y,{title:Object(a.__)("Top recent trending pages","google-site-kit"),description:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.l,{title:Object(a.__)("Most popular authors by pageviews","google-site-kit"),description:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.p,{title:Object(a.__)("Top categories by pageviews","google-site-kit"),description:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.m,{title:Object(a.__)("Most popular content by pageviews","google-site-kit"),description:Object(a.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.n,{title:Object(a.__)("Most popular products by pageviews","google-site-kit"),description:Object(a.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(o.a).isKeyMetricActive(o.n)||e(c.c).getProductPostType()},displayInWidgetArea:m,metadata:{group:g.g.SLUG}}),r()(d,o.k,{title:Object(a.__)("Pages per visit","google-site-kit"),description:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.F,{title:Object(a.__)("Visit length","google-site-kit"),description:Object(a.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(a.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.E,{title:Object(a.__)("Visits per visitor","google-site-kit"),description:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.i,{title:Object(a.__)("Most engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.h,{title:Object(a.__)("Least engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(a.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.z,{title:Object(a.__)("Top pages by returning visitors","google-site-kit"),description:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.j,{title:Object(a.__)("New visitors","google-site-kit"),description:Object(a.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(a.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.o,{title:Object(a.__)("Returning visitors","google-site-kit"),description:Object(a.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(a.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.A,{title:Object(a.__)("Top traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.B,{title:Object(a.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.C,{title:Object(a.__)("Top traffic source driving leads","google-site-kit"),description:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.D,{title:Object(a.__)("Top traffic source driving purchases","google-site-kit"),description:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.g,{title:Object(a.__)("Most engaged traffic source","google-site-kit"),description:Object(a.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.u,{title:Object(a.__)("Top converting traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.q,{title:Object(a.__)("Top cities driving traffic","google-site-kit"),description:Object(a.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.s,{title:Object(a.__)("Top cities driving leads","google-site-kit"),description:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.r,{title:Object(a.__)("Top cities driving add to cart","google-site-kit"),description:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.t,{title:Object(a.__)("Top cities driving purchases","google-site-kit"),description:Object(a.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.w,{title:Object(a.__)("Top device driving purchases","google-site-kit"),description:Object(a.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.v,{title:Object(a.__)("Top countries driving traffic","google-site-kit"),description:Object(a.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.G,{title:Object(a.__)("Top performing keywords","google-site-kit"),description:Object(a.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(a.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.x,{title:Object(a.__)("Top pages driving leads","google-site-kit"),description:Object(a.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),d)},,function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,i=t.href,a=t.gaEventLabel,c=Object(g.a)(),l=Object(s.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:i,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(6),d=n(19),g=n(32),f=n(36),m=n(18);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),i=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(g.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,b=Object(c.useCallback)(o()(r.a.mark((function n(){var i,o,c;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(i=n.sent,o=i.error,c=i.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&i?b:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,i=t.size,a=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,r()({width:i,height:i},a)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var i=n(7),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function LoadingWrapper(t){var n=t.loading,i=t.children,r=o()(t,["loading","children"]);return n?e.createElement(s.a,r):i}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(3),l=n(18),s=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Notifications(t){var n,i=t.areaSlug,a=Object(l.a)(),o=Object(c.useSelect)((function(e){return e(s.a).getQueuedNotifications(a)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==i)return null;var g=o[0],f=g.id,m=g.Component,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(f));return e.createElement(m,p)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var i=n(15),r=n.n(i),a=n(27),o=n.n(a),c=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function g(e,t){var n=[],i=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:i};var a=0,o=0,l=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void i.push(o);var h=d(a,m),b=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==d(h.sort(l)[0].counter,b).filter(f).length||h.some(f)&&(h=(h=h.sort(g)).filter(f));var v=h[0].width;if(i.push(o),(a+=c.c[v])>12){if(a-=c.c[v],i[p]++,9===a){var E=u(n,a),_=r()(E,2);n=_[0],a=_[1]}a=c.c[v],o++}else 12===a&&(a=0,o++);n.push(c.c[v])})),9===a){var m=u(n,a),p=r()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:i}}var f=n(13);function m(e,t,n){var i=n.columnWidths,r=n.rowIndexes,a=[],l=o()(i);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},i=0;i<e.length;i++){var r,a=e[i],o=null==t?void 0:t[a.slug],l=null==o?void 0:o.Component,s=null==o||null===(r=o.metadata)||void 0===r?void 0:r.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(g))}}return e.forEach((function(n,o){var c,g,m,p,h;if(a.push(null),s=t[n.slug],u=r[o],s)if(g=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,h=r[o+1],p===h&&Object(f.isEqual)(g,m))d.push(i[o]),l[o]=0;else if(d.length>0){d.push(i[o]);var b=d.reduce((function(e,t){return e+t}),0);a[o]=s,l[o]=b,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(207);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return i.createElement("svg",r({viewBox:"0 0 2 12"},e),a)}},,,function(e,t,n){"use strict";(function(e){var i=n(50),r=n.n(i),a=n(51),o=n.n(a),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(12),h=n.n(p),b=n(0),v=n(347),E=n(348);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var O=function(t){l()(Layout,t);var n=_(Layout);function Layout(){return r()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,i=t.footer,r=t.children,a=t.title,o=t.badge,c=t.headerCTALabel,l=t.headerCTALink,s=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,g=t.className,f=t.fill,m=t.relative,p=t.rounded,b=void 0!==p&&p,_=t.transparent,O=void 0!==_&&_;return e.createElement("div",{className:h()("googlesitekit-layout",g,{"googlesitekit-layout--fill":f,"googlesitekit-layout--relative":m,"googlesitekit-layout--rounded":b,"googlesitekit-layout--transparent":O})},n&&e.createElement(v.a,{title:a,badge:o,ctaLabel:c,ctaLink:l}),r,i&&e.createElement(E.a,{ctaLabel:s,ctaLink:u,footerContent:d}))}}]),Layout}(b.Component);O.propTypes={header:m.a.bool,footer:m.a.bool,children:m.a.node.isRequired,title:m.a.string,badge:m.a.node,headerCTALabel:m.a.string,headerCTALink:m.a.string,footerCTALabel:m.a.string,footerCTALink:m.a.string,footerContent:m.a.node,className:m.a.string,fill:m.a.bool,relative:m.a.bool,rounded:m.a.bool,transparent:m.a.bool},O.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=O}).call(this,n(4))},,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return i.createElement("svg",r({viewBox:"0 0 28 25"},e),a)}},,function(e,t,n){"use strict";(function(e){var i=n(13),r=n(1),a=n.n(r),o=n(0),c=n(54),l=n(3),s=n(34),u=n(24),d=n(153),g=n(442),f=n(108),m=n(8),p=n(18),h=Object(f.a)(g.a);function AudienceSegmentationErrorWidget(t){var n=t.Widget,r=t.errors,a=t.onRetry,c=t.showRetryButton,g=Object(p.a)(),f=Object(l.useDispatch)(u.b).setValue,b=r?Object(i.castArray)(r):[],v=b.some(s.e);return Object(o.useEffect)((function(){f(d.b,!0)}),[f]),e.createElement(h,{Widget:n,errors:b,onRetry:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"data_loading_error_retry").finally((function(){f(d.b,!1),null==a||a()}))},onRequestAccess:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"insufficient_permissions_error_request_access")},showRetryButton:c,onInView:function(){var e=v?"insufficient_permissions_error":"data_loading_error";Object(m.J)("".concat(g,"_audiences-all-tiles"),e)}})}AudienceSegmentationErrorWidget.propTypes={Widget:a.a.elementType.isRequired,errors:a.a.oneOfType([a.a.object,a.a.arrayOf(a.a.object)]).isRequired,onRetry:a.a.func,showRetryButton:a.a.bool},t.a=Object(c.a)({moduleName:"analytics-4"})(AudienceSegmentationErrorWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(15),r=n.n(i),a=n(186),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(254),g=n(412),f=n(413),m=n(10);function ReportErrorButton(t){var n=t.message,i=t.componentStack,a=Object(s.useState)(!1),c=r()(a,2),l=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(i,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?g.a:f.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(2),u=n(3),d=n(120),g=n(60),f=n(10);function Dismiss(t){var n=t.id,i=t.primary,a=void 0===i||i,c=t.dismissLabel,l=void 0===c?Object(s.__)("OK, Got it!","google-site-kit"):c,m=t.dismissExpires,p=void 0===m?0:m,h=t.disabled,b=t.onDismiss,v=void 0===b?function(){}:b,E=t.gaTrackingEventArgs,_=Object(d.a)(n),O=Object(u.useDispatch)(g.a).dismissNotification,k=function(){var e=o()(r.a.mark((function e(t){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==v?void 0:v(t);case 2:_.dismiss(null==E?void 0:E.label,null==E?void 0:E.value),O(n,{expiresInSeconds:p});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:k,disabled:h},l)}Dismiss.propTypes={id:l.a.string,primary:l.a.bool,dismissLabel:l.a.string,dismissExpires:l.a.number,disabled:l.a.bool,onDismiss:l.a.func,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(0),l=n(519),s=n(157);t.a=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(l.a)(i.location.href,t)||n),u=o()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(s.a)(i.location.href,r()({},t,e));i.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return FeatureTours}));var r=n(91),a=n(0),o=n(3),c=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(r.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?i.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(0),l=n(17),s=Object(c.forwardRef)((function(t,n){var i=t.id,r=t.className,a=t.children,s=t.secondaryPane;return e.createElement("section",{id:i,className:o()(r,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,a)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:r.a.string,className:r.a.string,secondaryPane:r.a.node},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(12),l=n.n(c),s=n(93);function BannerTitle(t){var n=t.title,i=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,i&&e.createElement(s.a,{label:i})),a&&e.createElement("div",{className:l()(r()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(221),g=n(0),f=n(3),m=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,i=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,b=Object(g.useState)(!1),v=l()(b,2),E=v[0],_=v[1],O=Object(d.a)(),k=Object(f.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),y=function(){var e=o()(r.a.mark((function e(){var t,n,i,a=arguments;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=a.length,n=new Array(t),i=0;i<t;i++)n[i]=a[i];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,i&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:y,disabled:E||k,isSaving:E||k},i),u&&e.createElement(m.Button,{tertiary:n||a,onClick:h,disabled:E||k},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var i=n(1),r=n.n(i),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,i=t.LearnMore,r=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),i&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(i,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var i=n(1),r=n.n(i),a=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var i="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},i))}BannerIcon.propTypes={type:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var i=n(1),r=n.n(i),a=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,i=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),i&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},i))}BannerLogo.propTypes={module:r.a.string,moduleName:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var i=n(1),r=n.n(i),a=n(0),o=n(72),c=n(20),l=n(74);function BannerDescription(t){var n=t.description,i=t.learnMoreLabel,r=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return i&&(g=e.createElement(a.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:r,external:s===l.a.EXTERNAL},i),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:r.a.node,learnMoreURL:r.a.string,learnMoreDescription:r.a.string,learnMoreLabel:r.a.string,learnMoreTarget:r.a.oneOf(Object.values(l.a)),onLearnMoreClick:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(154),r=(i.a.Consumer,i.a.Provider);t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var i=n(0),r=n(1),a=n.n(r),o=n(3),c=n(14),l=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,r=void 0===n?0:n,a=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()})),s=Object(o.useDispatch)(l.a).triggerSurvey;return Object(i.useEffect)((function(){a&&s(t,{ttl:r})}),[a,t,r,s]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return b}));var i=n(21),r=n.n(i),a=n(57),o=n.n(a),c=n(229),l=n(258),s=n(259),u=n(199),d=n(230),g=n(260),f=n(0),m=o()((function(e){return{widgetSlug:e,Widget:p(e)(c.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var i=Object(f.forwardRef)((function(i,a){return e.createElement(n,r()({},i,{ref:a,widgetSlug:t}))}));return i.displayName="WithWidgetSlug",(n.displayName||n.name)&&(i.displayName+="(".concat(n.displayName||n.name,")")),i}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(i){return e.createElement(t,r()({},i,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},b=function(t){return function(n){function DecoratedComponent(i){return e.createElement(n,r()({},i,{WPDashboardReportError:p(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return JoyrideTooltip}));var r=n(7),a=n.n(r),o=n(15),c=n.n(o),l=n(1),s=n(31),u=n(506),d=n(0),g=n(130),f=n(76),m=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,r=t.content,a=t.dismissLabel,o=t.target,l=t.cta,p=void 0!==l&&l,b=t.className,v=t.styles,E=void 0===v?{}:v,_=t.slug,O=void 0===_?"":_,k=t.onDismiss,y=void 0===k?function(){}:k,j=t.onView,S=void 0===j?function(){}:j,w=t.onTourStart,C=void 0===w?function(){}:w,A=t.onTourEnd,N=void 0===A?function(){}:A,T=function(){return!!e.document.querySelector(o)},x=Object(d.useState)(T),R=c()(x,2),D=R[0],M=R[1];if(Object(u.a)((function(){T()&&M(!0)}),D?null:250),Object(d.useEffect)((function(){if(D&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,D]),!D)return null;var P=[{title:n,target:o,content:r,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:b}],I={last:a};return i.createElement(f.a,{slug:O},i.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:C(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:N(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:y();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:I,steps:P,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(151),l=n(71),s=n(17);function SubtleNotification(t){var n=t.className,i=t.title,r=t.description,a=t.dismissCTA,u=t.additionalCTA,d=t.type,g=void 0===d?"success":d,f=t.icon;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===g,"googlesitekit-subtle-notification--warning":"warning"===g})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},f,"success"===g&&!f&&e.createElement(c.a,{width:24,height:24}),"warning"===g&&!f&&e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,i),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,u))))}SubtleNotification.propTypes={className:r.a.string,title:r.a.string.isRequired,description:r.a.node,dismissCTA:r.a.node,additionalCTA:r.a.node,type:r.a.string,icon:r.a.object}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r=n(158),a=n(44),o=function(e){var t=Object(i.useContext)(r.a);return Object(a.b)(e,t)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var i=n(1),r=n.n(i),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,i=t.LearnMore,r=t.CTA,o=t.children;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),i&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(i,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,i=t.className;return e.createElement("div",{className:r()("googlesitekit-warning-notice",i)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var i=n(574),r=n(12),a=n.n(r),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,r=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,g=t.notificationID,f=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(g)})),b=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(b(g),null==f||f())}),[h,g,f,b,m]),!m||!h)return null;var v=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:v},r,c&&e.createElement(c,null)):e.createElement(i.a,{direction:"up",in:h},e.createElement("div",{className:v},o&&e.createElement(o,null),r))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),g=n(38),f=n(2),m=n(3),p=n(10),h=n(6),b=n(36),v=n(20),E=n(18);function OptIn(t){var n=t.id,i=void 0===n?"googlesitekit-opt-in":n,a=t.name,c=void 0===a?"optIn":a,l=t.className,s=t.trackEventCategory,_=t.alignLeftCheckbox,O=void 0!==_&&_,k=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),y=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!k])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(E.a)(),C=Object(d.useCallback)(function(){var e=o()(r.a.mark((function e(t){var n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,i=n.response,n.error||(Object(b.a)(i.enabled),i.enabled&&Object(b.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:i,name:c,value:"1",checked:k,disabled:y,onChange:C,loading:void 0===k,alignLeft:O},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(v.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var i=n(1),r=n.n(i),a=n(3),o=n(14),c=n(19),l=n(374);function AdBlockerWarning(t){var n=t.moduleSlug,i=t.className,r=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),s=Object(a.useSelect)((function(e){var t;return null===(t=e(r))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),u=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(l.a,{className:i,getHelpLink:u,warningMessage:s})}AdBlockerWarning.propTypes={className:r.a.string,moduleSlug:r.a.string.isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),i=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(r.a.mark((function a(){var o,c,l,s;return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){r.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){r.next=7;break}return c.firstChild.click(),r.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!i&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:l});case 12:case"end":return r.stop()}}),a)}))),[n,i,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(23),g=n.n(d),f=n(0),m=n(1),p=n.n(m),h=n(3),b=n(208),v=n(24),E=n(160);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,i=t.tooltipStateKey,r=g()(t,["onDismiss","tooltipStateKey"]),a=Object(h.useDispatch)(v.b).setValue,c=Object(E.a)(i),s=c.rehideAdminMenu,d=c.rehideAdminSubMenu,m=Object(f.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(i,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,i]);return e.createElement(b.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},r))}AdminMenuTooltip.propTypes=O(O({},b.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(3),l=n(20),s=n(114),u=n(76),d=n(14),g=n(9),f=n(34),m=n(8);function AudienceErrorModal(t){var n=t.apiErrors,i=t.hasOAuthError,r=t.inProgress,p=t.title,h=t.description,b=t.trackEventCategory,v=t.onCancel,E=void 0===v?function(){}:v,_=t.onRetry,O=void 0===_?function(){}:_,k=Array.isArray(n)?n:[n],y=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),j=Object(c.useSelect)((function(e){return e(g.p).getServiceEntityAccessURL()})),S=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!k.length&&!i)return null;var w,C,A,N,T=k.some((function(e){return Object(f.e)(e)}));return i?(w=Object(o.__)("Analytics update failed","google-site-kit"),C=Object(a.a)(Object(o.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:S,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),A=Object(o.__)("Retry","google-site-kit")):T?(w=Object(o.__)("Insufficient permissions","google-site-kit"),C=Object(a.a)(Object(o.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:y,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),A=Object(o.__)("Request access","google-site-kit"),N=j):(w=p||Object(o.__)("Failed to set up visitor groups","google-site-kit"),C=h||Object(o.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),A=Object(o.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(s.a,{dialogActive:!0,buttonLink:N,title:w,subtitle:C,handleConfirm:function(){var e;e=i?"auth_error_retry":T?"insufficient_permissions_error_request_access":"setup_error_retry",Object(m.J)(b,e).finally((function(){T||O()}))},confirmButton:A,handleDialog:function(){var e;e=i?"auth_error_cancel":T?"insufficient_permissions_error_cancel":"setup_error_cancel",Object(m.J)(b,e).finally(E)},onOpen:function(){var e;e=i?"auth_error":T?"insufficient_permissions_error":"setup_error",Object(m.J)(b,e)},onClose:E,danger:!0,inProgress:r}))}AudienceErrorModal.propTypes={apiErrors:r.a.oneOfType([r.a.arrayOf(r.a.object),r.a.object,r.a.array]),hasOAuthError:r.a.bool,inProgress:r.a.bool,title:r.a.string,description:r.a.string,trackEventCategory:r.a.string,onCancel:r.a.func,onRetry:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(10),s=n(474),u=Object(c.forwardRef)((function(t,n){var i=t.className,a=t.content,o=t.dismissLabel,c=t.Icon,u=void 0===c?s.a:c,d=t.onDismiss;return e.createElement("div",{ref:n,className:r()("googlesitekit-audience-segmentation-info-notice",i)},e.createElement(u,{width:"20",height:"20"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-info-notice__body"},e.createElement("p",null,a),o&&e.createElement(l.Button,{tertiary:!0,onClick:d,className:"googlesitekit-audience-segmentation-info-notice__dismiss"},o)))}));u.propTypes={className:o.a.string,content:o.a.string.isRequired,dismissLabel:o.a.string,Icon:o.a.elementType,onDismiss:o.a.func},t.a=u}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var i=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:r()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},i),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(27),l=n.n(c),s=n(23),u=n.n(s),d=n(1),g=n.n(d),f=n(0),m=n(118),p=n(136);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,i=t.moduleSlugs,r=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:l()(i).sort().join(","),moduleSlugs:i}}),[i]);return Object(m.a)(n,p.a,a),e.createElement(p.a,o()({moduleSlugs:i},r))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BadgeWithTooltip}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(122);function BadgeWithTooltip(t){var n=t.className,i=void 0===n?"":n,r=t.label,a=t.onTooltipOpen,l=t.tooltipTitle;return e.createElement("span",{className:o()("googlesitekit-badge-with-tooltip","googlesitekit-badge",i)},r,l&&e.createElement(c.a,{onOpen:a,title:l}))}BadgeWithTooltip.propTypes={onTooltipOpen:r.a.func,tooltipTitle:r.a.node,className:r.a.string,label:r.a.node.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var i=n(1),r=n.n(i);function Item(t){var n=t.icon,i=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},i))}Item.propTypes={icon:r.a.node,label:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),m=n(44),p=n(238),h=n(240),b=n(241),v=n(63),E=n(204),_=n(169);function Root(t){var n=t.children,i=t.registry,a=t.viewContext,o=void 0===a?null:a,d=c.a,O=Object(s.useState)({key:"Root",value:!0}),k=r()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(E.a,{value:k},e.createElement(u.RegistryProvider,{value:i},e.createElement(f.a,{value:m.a},e.createElement(v.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(g.a,null,e.createElement(h.a,null,n,o&&e.createElement(b.a,null)),Object(_.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){var r=n(50),a=n.n(r),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),h=n(0),b=n(2),v=n(168),E=n(63),_=n(65),O=n(8);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return d()(this,n)}}var y=function(t){s()(ErrorHandler,t);var n=k(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?i.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(b.__)("Site Kit encountered an error","google-site-kit"),description:i.createElement(v.a,{message:n.message,componentStack:r.componentStack}),isDismissible:!1,format:"small",type:"win-error"},i.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,r.componentStack)):e}}]),ErrorHandler}(h.Component);y.contextType=E.b,y.propTypes={children:p.a.node.isRequired},t.a=y}).call(this,n(26),n(4))},function(e,t,n){"use strict";var i=n(158),r=(i.a.Consumer,i.a.Provider);t.a=r},function(e,t,n){"use strict";(function(e){var i=n(3),r=n(239),a=n(6);t.a=function PermissionsModal(){return Object(i.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(r.a,null):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(114),g=n(28),f=n(32),m=n(6),p=n(133),h=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,r,o,b=Object(u.useRegistry)(),v=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),E=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,i,r;return t(m.a).getConnectURL({additionalScopes:null==v||null===(n=v.data)||void 0===n?void 0:n.scopes,redirectURL:(null==v||null===(i=v.data)||void 0===i?void 0:i.redirectURL)||e.location.href,errorRedirectURL:null==v||null===(r=v.data)||void 0===r?void 0:r.errorRedirectURL})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,k=Object(u.useDispatch)(f.a).navigateTo,y=Object(u.useDispatch)(g.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(m.d,{permissionsError:v}),e.next=3,Object(p.c)(b);case 3:k(_);case 4:case"end":return e.stop()}}),e)}))),[b,_,k,v,y]);return Object(s.useEffect)((function(){(function(){var e=c()(a.a.mark((function e(){var t,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==v||null===(t=v.data)||void 0===t?void 0:t.skipModal)||!(null==v||null===(n=v.data)||void 0===n||null===(i=n.scopes)||void 0===i?void 0:i.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,v]),v?(null==v||null===(t=v.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==v||null===(r=v.data)||void 0===r?void 0:r.skipModal)||E&&(null==v||null===(o=v.data)||void 0===o?void 0:o.scopes.every((function(e){return E.includes(e)})))?null:i.createElement(h.a,null,i.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:v.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",v),null):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),i=Object(s.useState)(!1),a=l()(i,2),c=a[0],g=a[1];return Object(s.useEffect)((function(){c||o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var i=n(7),r=n.n(i),a=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(12),l=n.n(c),s=n(594),u=n(2),d=n(0),g=n(3),f=n(261),m=n(278),p=n(282),h=n(6),b=n(17),v=n(288),E=n(295),_=n(297),O=n(303),k=n(35),y=n(52),j=n(20),S=n(304),w=n(14),C=n(305);function Header(t){var n,i=t.children,a=t.subHeader,o=t.showNavigation,c=!!Object(y.c)(),A=Object(k.a)();Object(C.a)();var N=Object(g.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),T=Object(g.useSelect)((function(e){return e(h.a).isAuthenticated()})),x=Object(s.a)({childList:!0}),R=r()(x,2),D=R[0],M=!!(null===(n=R[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":M,"googlesitekit-header--has-navigation":o})},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:N},e.createElement(f.a,null))),e.createElement(b.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},i,!T&&c&&A&&e.createElement(_.a,null),T&&!A&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:D},e.createElement(p.a,null),e.createElement(O.a,null),a),o&&e.createElement(v.a,null),c&&e.createElement(S.a,null),e.createElement(E.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(217),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(306),m=n(129),p=n(8),h=n(174),b=n(19),v=n(18),E=n(14);function HelpMenu(t){var n=t.children,i=Object(l.useState)(!1),a=r()(i,2),o=a[0],_=a[1],O=Object(l.useRef)(),k=Object(v.a)();Object(c.a)(O,(function(){return _(!1)})),Object(m.a)([s.c,s.f],O,(function(){return _(!1)}));var y=Object(d.useSelect)((function(e){return e(b.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){o||Object(p.J)("".concat(k,"_headerbar"),"open_helpmenu"),_(!o)}),[o,k]),S=Object(l.useCallback)((function(){_(!1)}),[]),w=Object(d.useSelect)((function(e){return e(E.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),y&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(313),g=n(247),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,i=t.onClick,a=void 0===i?function(){}:i,c=t.isSaving,l=void 0!==c&&c,s=t.spinnerPosition,m=void 0===s?f.AFTER:s,p=o()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,r()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":l,"googlesitekit-button-icon--spinner__before":m===f.BEFORE,"googlesitekit-button-icon--spinner__after":m===f.AFTER}),icon:l&&m===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:l&&m===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},p))}SpinnerButton.propTypes={className:l.a.string,onClick:l.a.func,isSaving:l.a.bool,spinnerPosition:l.a.oneOf(Object.values(f))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var i=n(627);function CircularProgress(t){return e.createElement(i.a,t)}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){var i=n(15),r=n.n(i),a=n(0);t.a=function(t,n){var i=Object(a.useState)(null),o=r()(i,2),c=o[0],l=o[1];return Object(a.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var i=new e.IntersectionObserver((function(e){l(e[e.length-1])}),n);return i.observe(t.current),function(){l(null),i.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(9);function i(e){var t;return 400===(null==e?void 0:e.code)&&(null==e||null===(t=e.message)||void 0===t?void 0:t.includes("is not a valid dimension"))}},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(118),f=n(142);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetReportZero(t){var n=t.widgetSlug,i=t.moduleSlug,r=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:i}}),[i]);return Object(g.a)(n,f.a,a),e.createElement(f.a,o()({moduleSlug:i},r))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var i=n(7),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var i=n(1),r=n.n(i),a=n(520),o=n(200),c=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,i=t.error,r=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=i.message,g=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),r)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==r?null:e.createElement(s.a,{moduleSlug:n,error:i})}WPDashboardReportError.propTypes={moduleSlug:r.a.string.isRequired,error:r.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(2),r=n(143),a=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(r.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(i.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return i.createElement("svg",r({viewBox:"0 0 80 21",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(0),l=n(2),s=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,i=t.learnMoreLink,r=t.forceOpen,a=t.hasLeftSpacing,g=t.hasNoSpacing,f=t.onLearnMoreClick,m=void 0===f?function(){}:f,p=e.createElement(u.a,{className:o()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":g}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:i,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:r},p):p}NewBadge.propTypes={tooltipTitle:r.a.string,learnMoreLink:r.a.string,forceOpen:r.a.bool,onLearnMoreClick:r.a.func,hasLeftSpacing:r.a.bool,hasNoSpacing:r.a.bool},t.a=NewBadge}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,i=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,l=t.isCTALinkExternal,g=void 0!==l&&l,f=t.gaTrackingEventArgs,m=Object(s.a)(n),p=function(){var e=o()(r.a.mark((function e(t){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:m.confirm(null==f?void 0:f.label,null==f?void 0:f.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:i,onClick:p,target:g?"_blank":"_self",trailingIcon:g?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,isCTALinkExternal:l.a.bool,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileMetric}));var i=n(1),r=n.n(i),a=n(8);function AudienceTileMetric(t){var n=t.TileIcon,i=t.title,r=t.metricValue,o=t.Badge,c=t.metricValueFormat;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(n,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__value"},Object(a.C)(r,c)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},i)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__badge-container"},e.createElement(o,null)))}AudienceTileMetric.propTypes={TileIcon:r.a.elementType.isRequired,title:r.a.string.isRequired,metricValue:r.a.number.isRequired,Badge:r.a.elementType.isRequired,metricValueFormat:r.a.object}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="consent-mode-setup-cta-widget"},,,,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),o=i.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return i.createElement("svg",r({viewBox:"0 0 22 22",fill:"currentColor"},e),a,o)}},,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return i.createElement("svg",r({viewBox:"0 0 16 16",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return UserMenu}));var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(217),d=n(0),g=n(2),f=n(56),m=n(3),p=n(10),h=n(114),b=n(8),v=n(41),E=n(76),_=n(279),O=n(234),k=n(280),y=n(281),j=n(28),S=n(14),w=n(6),C=n(32),A=n(9),N=n(129),T=n(18);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),r=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),x=Object(m.useSelect)((function(e){return e(j.a).getValue(A.d,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),D=s()(R,2),M=D[0],P=D[1],I=Object(d.useState)(!1),B=s()(I,2),L=B[0],z=B[1],F=Object(d.useRef)(),V=Object(d.useRef)(),W=Object(T.a)(),H=Object(m.useDispatch)(C.a).navigateTo;Object(u.a)(F,(function(){return z(!1)})),Object(N.a)([f.c,f.f],F,(function(){var e;z(!1),null===(e=V.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(P(!1),z(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var U,q=Object(d.useCallback)((function(){L||Object(b.J)("".concat(W,"_headerbar"),"open_usermenu"),z(!L)}),[L,W]),G=Object(d.useCallback)((function(){P(!M),z(!1)}),[M]),K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(n,i){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=i.detail.item,e.t0=null==r?void 0:r.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(b.J)("".concat(W,"_headerbar_usermenu"),"manage_sites");case 7:H(t);case 8:return e.abrupt("break",12);case 9:return G(),e.abrupt("break",12);case 11:q();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,q,G,H,W]),J=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!1),e.next=3,Object(v.b)();case 3:return e.next=5,Object(b.J)("".concat(W,"_headerbar_usermenu"),"disconnect_user");case 5:H(l);case 6:case"end":return e.stop()}}),e)}))),[l,H,W]);return n?(o&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),i.createElement(d.Fragment,null,i.createElement("div",{ref:F,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},i.createElement(p.Button,{disabled:x,ref:V,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:q,icon:!!r&&i.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},i.createElement("img",{className:"mdc-button__icon--image",src:r,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":L,"aria-controls":"user-menu","aria-label":x?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:x?null:i.createElement("span",{"aria-label":U},i.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),i.createElement("br",null),i.createElement("br",null),o,o&&i.createElement("br",null),n)}),i.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:L,onSelected:K,id:"user-menu"},i.createElement("li",null,i.createElement(_.a,null)),!!t&&i.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},i.createElement(O.a,{icon:i.createElement(y.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),i.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},i.createElement(O.a,{icon:i.createElement(k.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),i.createElement(E.a,null,i.createElement(h.a,{dialogActive:M,handleConfirm:J,handleDialog:G,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var i=n(2),r=n(3),a=n(6);function Details(){var t=Object(r.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(r.useSelect)((function(e){return e(a.a).getFullName()})),o=Object(r.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(i.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(i.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return i.createElement("svg",r({viewBox:"0 0 22 22",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return i.createElement("svg",r({viewBox:"0 0 22 18",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return ErrorNotifications}));var r=n(0),a=n(2),o=n(3),c=n(283),l=n(284),s=n(6),u=n(14),d=n(28),g=n(65),f=n(180),m=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(s.a).isAuthenticated()})),p=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),h=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),b=Object(o.useSelect)((function(e){return e(d.a).getValue(s.d,"permissionsError")})),v=Object(o.useSelect)((function(t){var i,r;return(null==b?void 0:b.data)?t(s.a).getConnectURL({additionalScopes:null==b||null===(i=b.data)||void 0===i?void 0:i.scopes,redirectURL:(null==b||null===(r=b.data)||void 0===r?void 0:r.redirectURL)||e.location.href}):"access_denied"===p&&!(null==b?void 0:b.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),E=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),_=Object(a.__)("Error connecting Site Kit","google-site-kit"),O=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(_=Object(a.__)("Permissions Error","google-site-kit"),(null==b?void 0:b.data)?O=Object(a.__)("Grant permission","google-site-kit"):!(null==b?void 0:b.data)&&n&&(O=null)),(null==b||null===(t=b.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:i.createElement(r.Fragment,null,i.createElement(l.a,null),i.createElement(c.a,null),h&&i.createElement(g.b,{id:"setup_error",type:"win-error",title:_,description:h,isDismissible:!1,ctaLink:v,ctaLabel:O,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:E}),i.createElement(f.a,{areaSlug:m.b.ERRORS}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var i=n(2),r=n(3),a=n(6),o=n(65);function AuthError(){var t=Object(r.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(i.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(i.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var i=n(3),r=n(14),a=n(65);function InternalServerError(){var t=Object(i.useSelect)((function(e){return e(r.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var i=n(21),r=n.n(i),a=n(57),o=n.n(a),c=n(286),l=o()((function(e){return{id:e,Notification:s(e)(c.a)}}));function s(t){return function(n){function WithNotificationID(i){return e.createElement(n,r()({},i,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(287),s=n(170),u=n(120);function Notification(t){var n=t.id,i=t.className,a=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),g=Object(s.a)(n),f=Object(u.a)(n),m=Object(c.useState)(!1),p=r()(m,2),h=p[0],b=p[1];return Object(c.useEffect)((function(){!h&&g&&(f.view(null==a?void 0:a.label,null==a?void 0:a.value),b(!0))}),[g,f,h,a]),e.createElement("section",{id:n,ref:d,className:i},o,!g&&e.createElement(l.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var i=n(1),r=n.n(i),a=n(0),o=n(3),c=n(24),l=n(252),s=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,i=e.threshold,r=Object(l.a)(n,{threshold:i}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==r?void 0:r.isIntersecting),g=Object(s.a)(t);return Object(a.useEffect)((function(){!g&&d&&u(s.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:r.a.string,observeRef:r.a.object,threshold:r.a.number}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var i=n(3),r=n(6),a=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(a.a)(),n=Object(i.useSelect)((function(e){return t?e(r.a).getViewableModules():null})),l=Object(i.useSelect)((function(e){return e(r.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return Navigation}));var r=n(27),a=n.n(r),o=n(15),c=n.n(o),l=n(12),s=n.n(l),u=n(13),d=n(91),g=n(156),f=n(0),m=n(2),p=n(3),h=n(290),b=n(291),v=n(292),E=n(293),_=n(294),O=n(22),k=n(6),y=n(46),j=n(24),S=n(73),w=n(52),C=n(25),A=n(89),N=n(8),T=n(18),x=n(35);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Navigation(){var t,n=Object(w.c)(),r=Object(f.useRef)(),o=Object(C.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),D=Object(f.useState)(l),M=c()(D,2),P=M[0],I=M[1],B=Object(f.useState)(l||void 0),L=c()(B,2),z=L[0],F=L[1],V=Object(f.useState)(!1),W=c()(V,2),H=W[0],U=W[1],q=Object(T.a)(),G=Object(x.a)(),K=Object(p.useDispatch)(j.b).setValue,J=Object(p.useSelect)((function(e){return G?e(k.a).getViewableModules():null})),Y=Object(p.useSelect)((function(e){return e(k.a).isKeyMetricsWidgetHidden()})),X={modules:J||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==Y&&e(y.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,X)})),Z=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,X)})),Q=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,X)})),ee=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,X)})),te=Object(p.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,X)})),ne=Object(f.useCallback)((function(){return $?O.b:G?Z?O.e:Q?O.a:ee?O.d:te?O.c:"":O.e}),[$,Z,Q,ee,te,G]),ie=Object(f.useCallback)((function(t){var n,i=t.target.closest(".mdc-chip"),r=null==i||null===(n=i.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(r)),F(r),Object(N.J)("".concat(q,"_navigation"),"tab_select",r),e.scrollTo({top:r!==ne()?Object(A.a)("#".concat(r),o):0,behavior:"smooth"}),setTimeout((function(){K(j.a,r)}),50)}),[o,q,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==O.b)||(!(!Z||e!==O.e)||(!(!Q||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),I(n),setTimeout((function(){var i=n!==t?Object(A.a)("#".concat(n),o):0;e.scrollY!==i?e.scrollTo({top:i,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(j.a,void 0),I(e),F(void 0)},n=Object(u.throttle)((function(n){var i,o,c,l,s=e.scrollY,u=null===(i=document.querySelector(".googlesitekit-entity-header"))||void 0===i||null===(o=i.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==r||null===(c=r.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(a()($?[O.b]:[]),a()(Z?[O.e]:[]),a()(Q?[O.a]:[]),a()(ee?[O.d]:[]),a()(te?[O.c]:[])),p=ne();if(0===s)U(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===b)}var v,E=R(m);try{for(E.s();!(v=E.n()).done;){var _=v.value,k=document.getElementById(_);if(k){var y=k.getBoundingClientRect().top-20-(u||g||0);y<0&&(void 0===l||l<y)&&(l=y,p=_)}}}catch(e){E.e(e)}finally{E.f()}if(z)z===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(N.J)("".concat(q,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[z,$,Z,Q,ee,te,q,K,ne]),i.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":H}),ref:r},$&&i.createElement(g.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:i.createElement(h.a,{width:"18",height:"16"}),onClick:ie,selected:P===O.b,"data-context-id":O.b}),Z&&i.createElement(g.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:i.createElement(b.a,{width:"18",height:"16"}),onClick:ie,selected:P===O.e,"data-context-id":O.e}),Q&&i.createElement(g.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:i.createElement(v.a,{width:"18",height:"18"}),onClick:ie,selected:P===O.a,"data-context-id":O.a}),ee&&i.createElement(g.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:i.createElement(E.a,{width:"20",height:"16"}),onClick:ie,selected:P===O.d,"data-context-id":O.d}),te&&i.createElement(g.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:i.createElement(_.a,{width:"18",height:"16"}),onClick:ie,selected:P===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=i.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=i.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=i.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return i.createElement("svg",r({viewBox:"0 0 13 12",fill:"none"},e),a,o,c,l)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return i.createElement("svg",r({viewBox:"0 0 18 16",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return i.createElement("svg",r({viewBox:"0 0 18 18",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=i.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return i.createElement("svg",r({viewBox:"0 0 20 16",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return i.createElement("svg",r({viewBox:"0 0 23 12",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,i){var r=n(15),a=n.n(r),o=n(13),c=n(2),l=n(0),s=n(3),u=n(10),d=n(14),g=n(296),f=n(32),m=n(20),p=n(83),h=n(8),b=n(52),v=n(18);t.a=function EntityHeader(){var t=Object(v.a)(),n=Object(b.c)(),r=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),E=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(l.useRef)(),O=Object(l.useState)(E),k=a()(O,2),y=k[0],j=k[1];Object(l.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),i=2*t/parseFloat(n);j(Object(p.d)(E,i))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[E,_,j]);var S=Object(s.useDispatch)(f.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),C=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return b.a!==n||null===E||null===r?null:i.createElement("div",{className:"googlesitekit-entity-header"},i.createElement("div",{className:"googlesitekit-entity-header__back"},i.createElement(u.Button,{icon:i.createElement(g.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),i.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},i.createElement("p",null,r),i.createElement(m.a,{secondary:!0,href:E,"aria-label":E,external:!0},y)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=i.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return i.createElement("svg",r({viewBox:"0 0 24 24"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var i=n(15),r=n.n(i),a=n(217),o=n(12),c=n.n(o),l=n(0),s=n(2),u=n(56),d=n(10),g=n(18),f=n(129),m=n(8),p=n(298),h=n(299),b=n(300),v=n(302),E=n(3),_=n(6);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=r()(t,2),i=n[0],o=n[1],O=Object(l.useRef)(),k=Object(g.a)();Object(a.a)(O,(function(){return o(!1)})),Object(f.a)([u.c,u.f],O,(function(){return o(!1)}));var y=Object(l.useCallback)((function(){i||Object(m.J)("".concat(k,"_headerbar"),"open_viewonly"),o(!i)}),[i,k]),j=Object(E.useSelect)((function(e){return e(_.a).hasCapability(_.H)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:y,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":i,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:i,nonInteractive:!0,onSelected:y,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(b.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(v.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return i.createElement("svg",r({viewBox:"0 0 16 10",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(32),f=n(14),m=n(6),p=n(8),h=n(20),b=n(18),v=n(41);function Description(){var t=Object(b.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.H)})),i=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),E=Object(u.useDispatch)(g.a).navigateTo,_=Object(c.useCallback)(function(){var e=o()(r.a.mark((function e(n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(v.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",i?"proxy":"custom-oauth")]);case 3:E(i);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[i,E,t]),O=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),k=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,k),n&&e.createElement(d.Button,{onClick:_},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var i=n(2),r=n(3),a=n(6),o=n(301);function SharedServices(){var t=Object(r.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(i.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(3),l=n(19),s=n(6);function Service(t){var n=t.module,i=Object(c.useSelect)((function(e){return e(s.a).hasCapability(s.H)})),r=Object(c.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=r.name,d=r.owner,g=Object(c.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),i&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var i=n(38),r=n(2),a=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(i.a)(Object(r.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var i=n(2),r=n(3),a=n(65),o=n(14),c=n(28),l=n(6);function SetupErrorNotification(){var t=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),s=Object(r.useSelect)((function(e){return e(c.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(i.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(i.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var i=n(180),r=n(60);function SubtleNotifications(){return e.createElement(i.a,{areaSlug:r.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(18),d=n(41),g=n(8),f=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(r.a.mark((function n(){var i,a;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return i=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!i.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(3),o=n(54),c=n(9),l=n(6),s=n(472),u=n(108),d=n(8),g=n(18),f=Object(u.a)(s.a);function NoAudienceBannerWidget(t){var n=t.Widget,i=t.WidgetNull,r=Object(g.a)(),o=Object(a.useSelect)((function(e){var t=e(c.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),s=Object(a.useSelect)((function(e){return e(l.a).getConfiguredAudiences()})),u=Object(a.useSelect)((function(e){return e(l.a).didSetAudiences()})),m=null==s?void 0:s.every((function(e){return Array.isArray(o)&&!o.includes(e)}));return s&&(0===(null==s?void 0:s.length)||m)?e.createElement(n,{noPadding:!0},e.createElement(f,{onInView:function(){Object(d.J)("".concat(r,"_audiences-no-audiences"),"view_banner",u?"no-longer-available":"none-selected")}})):e.createElement(i,null)}NoAudienceBannerWidget.propTypes={Widget:r.a.elementType.isRequired,WidgetNull:r.a.elementType.isRequired},t.a=Object(o.a)({moduleName:"analytics-4"})(NoAudienceBannerWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(387),g=n(0),f=n(2),m=n(17),p=n(314),h=Object(g.forwardRef)((function(t,n){var i=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,h=t.disabled,b=t.target,v=t.icon,E=t.trailingIcon,_=t["aria-label"],O=t.title,k=t.customizedTooltip,y=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,w=void 0!==S&&S,C=t.tooltipEnterDelayInMS,A=void 0===C?100:C,N=t.tertiary,T=void 0!==N&&N,x=t.callout,R=t.calloutStyle,D=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),M=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),P=Object(d.a)(n,M),I=a&&!h?"a":"button",B=e.createElement(I,r()({className:l()("mdc-button",s,{"mdc-button--raised":!c&&!T&&!x,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":T,"mdc-button--callout":x,"mdc-button--callout-primary":x||"primary"===R,"mdc-button--callout-warning":"warning"===R,"mdc-button--callout-error":"error"===R}),href:h?void 0:a,ref:P,disabled:!!h,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof i&&(e=e||i),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===I?"button":void 0},D),v,i&&e.createElement("span",{className:"mdc-button__label"},i),E),L=w?null:O||k||_;return!h&&(y&&L||v&&L&&void 0===i)?e.createElement(p.a,{title:L,enterDelay:A},B):B}));h.displayName="Button",h.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},h.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=h}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(628),g=n(0);function Tooltip(t){var n=t.children,i=t.popperClassName,a=t.tooltipClassName,c=t.onOpen,l=t.onClose,s=o()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),f=Object(g.useRef)(!1),m=c?function(){f.current||(f.current=!0,null==c||c())}:void 0,p=c?function(){f.current=!1,null==l||l()}:l;return e.createElement(d.a,r()({classes:{popper:u()("googlesitekit-tooltip-popper",i),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:m,onClose:p},s),n)}Tooltip.propTypes={children:l.a.node,popperClassName:l.a.string,tooltipClassName:l.a.string,onOpen:l.a.func,onClose:l.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)(Object(o.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileNoData}));var i=n(2);function AudienceTileNoData(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__no-data"},Object(i.__)("No data to show yet","google-site-kit"))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PartialDataNotice}));var i=n(1),r=n.n(i);function PartialDataNotice(t){var n=t.content;return e.createElement("span",{className:"googlesitekit-audience-segmentation-partial-data-notice"},n)}PartialDataNotice.propTypes={content:r.a.node}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),u=i.createElement("path",{d:"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z",fill:"#77AD8C"}),d=i.createElement("path",{d:"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z",fill:"#5C9271"}),g=i.createElement("path",{d:"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z",fill:"#CBD0D3"}),f=i.createElement("path",{d:"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z",fill:"#EBEEF0"}),m=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z",fill:"#CBD0D3"}),p=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z",fill:"#B8BDB9"}),h=i.createElement("path",{d:"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z",fill:"#B8BDB9"}),b=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z",fill:"#B8BDB9"}),v=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z",fill:"#EBEEF0"}),E=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z",fill:"#CBD0D3"}),_=i.createElement("path",{d:"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z",fill:"#CBD0D3"}),O=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z",fill:"#CBD0D3"}),k=i.createElement("path",{d:"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),y=i.createElement("path",{d:"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),j=i.createElement("path",{d:"M39.988 67.196l.768 37.221",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),S=i.createElement("path",{d:"M31.757 63.326a27.536 27.536 0 00-2.058 5.225",stroke:"#1967D2",strokeWidth:2.748,strokeLinejoin:"round"}),w=i.createElement("path",{d:"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),C=i.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#70B2F5"}),A=i.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#77AD8C"}),N=i.createElement("path",{d:"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z",fill:"#5C9271"}),T=i.createElement("path",{d:"M45.22 104.418h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),x=i.createElement("path",{d:"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z",fill:"#CBD0D3"}),R=i.createElement("path",{d:"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z",fill:"#EBEEF0"}),D=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z",fill:"#CBD0D3"}),M=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z",fill:"#B8BDB9"}),P=i.createElement("path",{d:"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z",fill:"#B8BDB9"}),I=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z",fill:"#B8BDB9"}),B=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z",fill:"#EBEEF0"}),L=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z",fill:"#CBD0D3"}),z=i.createElement("path",{d:"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z",fill:"#CBD0D3"}),F=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z",fill:"#CBD0D3"}),V=i.createElement("path",{d:"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),W=i.createElement("path",{d:"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),H=i.createElement("path",{d:"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),U=i.createElement("path",{d:"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),q=i.createElement("path",{d:"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),G=i.createElement("path",{d:"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z",fill:"#77AD8C"}),K=i.createElement("path",{d:"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z",fill:"#5C9271"}),J=i.createElement("path",{d:"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),Y=i.createElement("path",{d:"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z",fill:"#CBD0D3"}),X=i.createElement("path",{d:"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z",fill:"#EBEEF0"}),$=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z",fill:"#CBD0D3"}),Z=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z",fill:"#B8BDB9"}),Q=i.createElement("path",{d:"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z",fill:"#B8BDB9"}),ee=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z",fill:"#B8BDB9"}),te=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z",fill:"#EBEEF0"}),ne=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z",fill:"#CBD0D3"}),ie=i.createElement("path",{d:"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z",fill:"#CBD0D3"}),re=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z",fill:"#CBD0D3"}),ae=i.createElement("path",{d:"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),oe=i.createElement("path",{d:"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),ce=i.createElement("path",{d:"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),le=i.createElement("path",{d:"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z",fill:"#77AD8C"}),se=i.createElement("path",{d:"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z",fill:"#5C9271"}),ue=i.createElement("path",{d:"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),de=i.createElement("path",{d:"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z",fill:"#CBD0D3"}),ge=i.createElement("path",{d:"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z",fill:"#EBEEF0"}),fe=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z",fill:"#CBD0D3"}),me=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z",fill:"#B8BDB9"}),pe=i.createElement("path",{d:"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z",fill:"#B8BDB9"}),he=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z",fill:"#B8BDB9"}),be=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z",fill:"#EBEEF0"}),ve=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z",fill:"#CBD0D3"}),Ee=i.createElement("path",{d:"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z",fill:"#CBD0D3"}),_e=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z",fill:"#CBD0D3"}),Oe=i.createElement("path",{d:"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"});t.a=function SvgNoAudienceBannerGraphic(e){return i.createElement("svg",r({viewBox:"0 0 211 109",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,b,v,E,_,O,k,y,j,S,w,C,A,N,T,x,R,D,M,P,I,B,L,z,F,V,W,H,U,q,G,K,J,Y,X,$,Z,Q,ee,te,ne,ie,re,ae,oe,ce,le,se,ue,de,ge,fe,me,pe,he,be,ve,Ee,_e,Oe)}},function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var i=t.className,a=t.children,o=t.Icon,c=t.SVGGraphic;return e.createElement("div",{ref:n,className:r()("googlesitekit-lean-cta-banner",i)},e.createElement("div",{className:"googlesitekit-lean-cta-banner__body"},o&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-icon"},e.createElement(o,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-content"},a)),c&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__graphic"},e.createElement(c,null)))}));l.propTypes={className:o.a.string,children:o.a.node.isRequired,Icon:o.a.elementType,SVGGraphic:o.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z",fill:"#F3F5F7"}),o=i.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618",stroke:"#161B18",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),u=i.createElement("path",{d:"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),d=i.createElement("path",{d:"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z",fill:"#CBD0D3"}),g=i.createElement("path",{d:"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z",fill:"#999F9B"}),f=i.createElement("path",{d:"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),m=i.createElement("path",{d:"M159.169 21.79l-22.985 89.068",stroke:"#7B807D",strokeWidth:3.607,strokeMiterlimit:10,strokeLinecap:"round"}),p=i.createElement("path",{d:"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z",fill:"#E77D5B"}),h=i.createElement("path",{d:"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z",fill:"#962C0A"}),b=i.createElement("path",{d:"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationErrorFullWidth(e){return i.createElement("svg",r({viewBox:"0 0 233 117",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,b)}},,,,,,,,,,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"currentColor",fillRule:"evenodd"},i.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),i.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return i.createElement("svg",r({viewBox:"0 0 16 12"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"currentColor",fillRule:"evenodd"},i.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return i.createElement("svg",r({viewBox:"0 0 2 12"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(10),l=n(151),s=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,i=t.description,a=t.Icon,o=t.ctaLink,g=t.ctaLabel,f=t.className,m=t.onCTAClick,p=t.isCTALinkExternal,h=t.dismissLabel,b=t.onDismiss,v=t.variant,E=void 0===v?d.SUCCESS:v,_=t.hideIcon,O=void 0!==_&&_;return e.createElement("div",{className:r()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":E===d.SUCCESS,"googlesitekit-subtle-notification--warning":E===d.WARNING},f)},!O&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&E===d.SUCCESS&&e.createElement(l.a,{width:24,height:24}),!a&&E===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),i&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},h&&e.createElement(c.Button,{tertiary:!0,onClick:b},h),g&&e.createElement(c.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:m,target:p?"_blank":"_self",trailingIcon:p?e.createElement(s.a,{width:14,height:14}):void 0},g)))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,className:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func,variant:o.a.oneOf(Object.values(d)),hideIcon:o.a.bool},t.b=SubtleNotification}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var i=n(1),r=n.n(i),a=n(20),o=n(119);function SelectionPanelHeader(t){var n=t.children,i=t.title,r=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,i),e.createElement(a.a,{className:"googlesitekit-selection-panel-header__close",onClick:r,linkButton:!0},e.createElement(o.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:r.a.node,title:r.a.string,onCloseClick:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var i=n(1),r=n.n(i),a=n(345);function SelectionPanelItem(t){var n=t.children,i=t.id,r=t.slug,o=t.title,c=t.description,l=t.isItemSelected,s=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,g=t.suffix,f=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(a.a,{badge:f,checked:l,disabled:s,id:i,onChange:u,title:o,value:r},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),c,n),g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},g))}SelectionPanelItem.propTypes={children:r.a.node,id:r.a.string,slug:r.a.string,title:r.a.string,description:r.a.string,isItemSelected:r.a.bool,isItemDisabled:r.a.bool,onCheckboxChange:r.a.func,subtitle:r.a.string,suffix:r.a.node,badge:r.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var i=n(21),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,i=void 0===n?Object(l.__)("Current selection","google-site-kit"):n,a=t.availableItemsTitle,o=void 0===a?Object(l.__)("Additional items","google-site-kit"):a,s=t.savedItemSlugs,u=void 0===s?[]:s,d=t.availableSavedItems,g=void 0===d?{}:d,f=t.availableUnsavedItems,m=void 0===f?{}:f,p=t.ItemComponent,h=function(t){return Object.keys(t).map((function(n){return e.createElement(p,r()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},b=Object.keys(m).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},i),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(g)),b>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},o)),b>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(m)))}SelectionPanelItems.propTypes={currentSelectionTitle:o.a.string,availableItemsTitle:o.a.string,savedItemSlugs:o.a.array,availableSavedItems:o.a.object,availableUnsavedItems:o.a.object,ItemComponent:o.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(13),u=n(1),d=n.n(u),g=n(0),f=n(38),m=n(2),p=n(3),h=n(10),b=n(116),v=n(8),E=n(9),_=n(40),O=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,i=void 0===n?[]:n,a=t.selectedItemSlugs,c=void 0===a?[]:a,u=t.saveSettings,d=void 0===u?function(){}:u,k=t.saveError,y=t.itemLimitError,j=t.minSelectedItemCount,S=void 0===j?0:j,w=t.maxSelectedItemCount,C=void 0===w?0:w,A=t.isBusy,N=t.onSaveSuccess,T=void 0===N?function(){}:N,x=t.onCancel,R=void 0===x?function(){}:x,D=t.isOpen,M=t.closePanel,P=void 0===M?function(){}:M,I=Object(g.useState)(null),B=l()(I,2),L=B[0],z=B[1],F=Object(g.useState)(!1),V=l()(F,2),W=V[0],H=V[1],U=Object(p.useSelect)((function(e){return e(E.p).isFetchingSyncAvailableAudiences()})),q=Object(g.useMemo)((function(){return!Object(s.isEqual)(Object(v.F)(c),Object(v.F)(i))}),[i,c]),G=(null==i?void 0:i.length)>0&&q?Object(m.__)("Apply changes","google-site-kit"):Object(m.__)("Save selection","google-site-kit"),K=Object(g.useCallback)(o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(c);case 2:t=e.sent,t.error||(T(),P(),z(G),H(!0));case 5:case"end":return e.stop()}}),e)}))),[d,c,T,P,G]),J=Object(g.useCallback)((function(){P(),R()}),[P,R]),Y=Object(g.useState)(null),X=l()(Y,2),$=X[0],Z=X[1];Object(g.useEffect)((function(){null!==$&&$!==D&&D&&(z(null),H(!1)),Z(D)}),[D,$]);var Q=(null==c?void 0:c.length)||0,ee=U?e.createElement(_.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(f.a)(Object(m.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(m.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Q,C),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},k&&e.createElement(b.a,{error:k}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},q&&y?e.createElement(O.a,{noPrefix:!0,message:y}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(h.Button,{tertiary:!0,onClick:J,disabled:A},Object(m.__)("Cancel","google-site-kit")),e.createElement(h.SpinnerButton,{onClick:K,isSaving:A,disabled:Q<S||Q>C||A||!D&&W},L||G))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(344);function SelectionPanel(t){var n=t.children,i=t.isOpen,a=t.onOpen,o=t.closePanel,l=t.className;return e.createElement(c.a,{className:r()("googlesitekit-selection-panel",l),isOpen:i,onOpen:a,closeSheet:o,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:o.a.node,isOpen:o.a.bool,onOpen:o.a.func,closePanel:o.a.func,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var i=n(7),r=n.n(i),a=n(12),o=n.n(a),c=n(405),l=n.n(c),s=n(1),u=n.n(s),d=n(217),g=n(401),f=n(0),m=n(56),p=n(76);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,i=t.children,r=t.isOpen,a=t.onOpen,c=void 0===a?function(){}:a,s=t.closeSheet,u=void 0===s?function(){}:s,h=t.focusTrapOptions,v=void 0===h?{}:h,E=Object(f.useRef)();return Object(f.useEffect)((function(){r?(c(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[r,c]),Object(d.a)(E,u),Object(g.a)((function(e){return r&&m.c===e.keyCode}),u),e.createElement(p.a,null,e.createElement(l.a,{active:!!r,focusTrapOptions:b({fallbackFocus:"body"},v)},e.createElement("section",{ref:E,className:o()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":r}),role:"dialog","aria-modal":"true","aria-hidden":!r,tabIndex:"0"},i)),r&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(10);function SelectionBox(t){var n=t.badge,i=t.checked,r=t.children,a=t.disabled,l=t.id,s=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:o()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":a})},e.createElement(c.Checkbox,{checked:i,description:r,disabled:a,id:l,name:l,onChange:s,value:d,badge:n},u))}SelectionBox.propTypes={badge:r.a.node,checked:r.a.bool,children:r.a.node,disabled:r.a.bool,id:r.a.string,onChange:r.a.func,title:r.a.string,value:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return i.createElement("svg",r({viewBox:"0 0 22 19"},e),a)}},function(e,t,n){"use strict";(function(e){var i=n(50),r=n.n(i),a=n(51),o=n.n(a),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(17),b=n(20);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutHeader,t);var n=v(LayoutHeader);function LayoutHeader(){return r()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,i=t.badge,r=t.ctaLabel,a=t.ctaLink,o=a?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(h.e,null,e.createElement(h.k,null,n&&e.createElement(h.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,i)),a&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(b.a,{href:a,external:!0},r)))))}}]),LayoutHeader}(p.Component);E.propTypes={title:m.a.string,badge:m.a.node,ctaLabel:m.a.string,ctaLink:m.a.string},E.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(50),r=n.n(i),a=n(51),o=n.n(a),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(17),b=n(134);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutFooter,t);var n=v(LayoutFooter);function LayoutFooter(){return r()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,i=t.ctaLink,r=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},i&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:i,external:!0}),r))))}}]),LayoutFooter}(p.Component);E.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=E}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var r=n(2),a=n(10),o=n(3),c=n(380),l=n(381),s=n(213),u=n(89),d=n(25),g=n(24),f=n(6),m=n(19),p=n(18),h=n(35),b=n(8),v=n(9),E=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(p.a)(),n=Object(h.a)(),_=Object(d.e)(),O=Object(E.c)(),k=Object(o.useSelect)((function(e){return e(f.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),y=Object(o.useSelect)((function(e){var t=e(f.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),i=e(f.a).isAudienceSegmentationWidgetHidden(),r=e(m.a).isModuleActive("analytics-4"),a=!n||e(f.a).canViewSharedModule("analytics-4"),o=e(v.p).getAudienceSegmentationSetupCompletedBy(),c=e(f.a).getID();return E.b===O&&!1===t&&!1===i&&r&&a&&Number.isInteger(o)&&o!==c})),j=Object(o.useDispatch)(g.b).dismissOverlayNotification,S=function(){j("audienceSegmentationIntroductoryOverlayNotification")};return i.createElement(s.a,{shouldShowNotification:y,GraphicDesktop:c.a,GraphicMobile:l.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(b.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},i.createElement("div",{className:"googlesitekit-overlay-notification__body"},i.createElement("h3",null,Object(r.__)("New! Visitor groups","google-site-kit")),i.createElement("p",null,Object(r.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),i.createElement("div",{className:"googlesitekit-overlay-notification__actions"},i.createElement(a.Button,{tertiary:!0,disabled:k,onClick:function(){Object(b.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Got it","google-site-kit")),i.createElement(a.Button,{disabled:k,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",_),behavior:"smooth"})}),0),Object(b.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){S()}))}},Object(r.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},,,,,function(e,t,n){"use strict";var i=n(226);n.d(t,"b",(function(){return i.a}));n(190),n(353);var r=n(422);n.d(t,"c",(function(){return r.a}));var a=n(423);n.d(t,"e",(function(){return a.a}));var o=n(424);n.d(t,"d",(function(){return o.a}));var c=n(425);n.d(t,"a",(function(){return c.a}));var l=n(426);n.d(t,"f",(function(){return l.a}));var s=n(427);n.d(t,"g",(function(){return s.a}));var u=n(428);n.d(t,"h",(function(){return u.a}));n(227),n(312);var d=n(429);n.d(t,"i",(function(){return d.a}))},,,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return i.createElement("svg",r({viewBox:"0 0 23 22",fill:"none"},e),a)}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTooltipMessage}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(20),u=n(14);function AudienceTooltipMessage(t){var n=t.audienceSlug,i=t.audienceName,r=Object(l.useSelect)((function(e){return e(u.c).getDocumentationLinkURL("visitor-groups")}));return Object(a.useMemo)((function(){switch(n){case"new-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who visited your site for the first time. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>New visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})});case"returning-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who have visited your site at least once before. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>Returning visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})});default:return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)("%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>","google-site-kit"),"<strong>".concat(i,"</strong>")),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})})}}),[n,i,r])}AudienceTooltipMessage.propTypes={audienceSlug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RetryButton}));var i=n(1),r=n.n(i),a=n(2),o=n(10),c=n(8),l=n(18);function RetryButton(t){var n=t.handleRetry,i=Object(l.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",onClick:function(){n(),Object(c.J)("".concat(i,"_audiences-sidebar"),"data_loading_error_retry")},tertiary:!0},Object(a.__)("Retry","google-site-kit"))}RetryButton.propTypes={handleRetry:r.a.func.isRequired}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var i=n(1),r=n.n(i),a=n(2),o=n(38),c=n(20),l=n(212),s=n(375);function AdBlockerWarningMessage(t){var n=t.className,i=void 0===n?"":n,r=t.getHelpLink,u=void 0===r?"":r,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(l.a,{className:i},Object(o.a)(Object(a.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(s.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:r.a.string,getHelpLink:r.a.string,warningMessage:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return i.createElement("svg",r({viewBox:"0 0 13 14",fill:"none"},e),a)}},,,,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},i.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},i.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),i.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},i.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),i.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),o=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},i.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return i.createElement("svg",r({viewBox:"0 0 296 163",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=i.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},i.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),i.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),i.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),i.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),i.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},i.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),i.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),i.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),i.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),i.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),i.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),l=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},i.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return i.createElement("svg",r({viewBox:"0 0 343 123",fill:"none"},e),i.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},a,i.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},o),c),l)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(17),l=n(331),s=n(332),u=n(77);function PageHeader(t){var n=t.title,i=t.icon,a=t.className,o=t.status,d=t.statusText,g=t.fullWidth,f=t.children,m=g?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(f);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,m,i,e.createElement("h1",{className:r()("googlesitekit-page-header__title",a)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:r()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(l.a,{width:10,height:8}):e.createElement(s.a,{width:2,height:12}))),f))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n(15),r=n.n(i),a=n(521),o=n(359),c=n(0),l=n(154),s=n(24),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sticky,n=void 0!==t&&t,i=Object(c.useContext)(l.a),u=Object(c.useState)(!1),d=r()(u,2),g=d[0],f=d[1],m=Object(o.a)((function(e){return e(s.b).getInViewResetCount()})),p=Object(o.a)((function(e){return e(s.b).getValue("forceInView")}));return Object(c.useEffect)((function(){i.value&&!g&&f(!0)}),[g,i,f]),Object(c.useEffect)((function(){p&&f(!0)}),[p]),Object(a.a)((function(){f(!1)}),[m]),!(!n||!g)||!!i.value}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return SetupSuccess}));var i=n(3),r=n(6),a=n(18),o=n(108),c=n(8),l=n(443),s=Object(o.a)(l.a),u="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(a.a)(),n=Object(i.useSelect)((function(e){return e(r.a).isItemDismissed(u)}));return void 0===n||n?null:e.createElement(s,{onInView:function(){Object(c.J)("".concat(t,"_audiences-setup-cta-settings-success"),"view_notification")}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return v}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(221),u=n(2),d=n(0),g=n(157),f=n(3),m=n(28),p=n(6),h=n(34),b=n(9);function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,i=t.onSuccess,a=t.onError,c=Object(s.a)(),v=Object(d.useState)([]),E=l()(v,2),_=E[0],O=E[1],k=Object(d.useState)([]),y=l()(k,2),j=y[0],S=y[1],w=Object(d.useState)(!1),C=l()(w,2),A=C[0],N=C[1],T=Object(f.useSelect)((function(e){return e(p.a).hasScope(b.g)})),x=Object(f.useSelect)((function(e){return e(m.a).getValue(b.c,"autoSubmit")})),R=Object(f.useDispatch)(m.a),D=R.setValues,M=Object(f.useDispatch)(p.a),P=M.setPermissionScopeError,I=Object(f.useDispatch)(b.p),B=I.enableAudienceGroup;n||(n=Object(g.a)(e.location.href,{notification:"audience_segmentation"}));var L=Object(d.useCallback)(o()(r.a.mark((function t(){var o,l,s;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(N(!0),T){t.next=5;break}return D(b.c,{autoSubmit:!0}),P({code:h.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[b.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n,errorRedirectURL:e.location.href}}),t.abrupt("return");case 5:return D(b.c,{autoSubmit:!1}),t.next=8,B(j);case 8:if(t.t0=t.sent,t.t0){t.next=11;break}t.t0={};case 11:o=t.t0,l=o.error,s=o.failedSiteKitAudienceSlugs,l||s?null==a||a():null==i||i(),c()&&(l?(O([l]),S([])):Array.isArray(s)?(S(s),O([])):(O([]),S([])),N(!1));case 16:case"end":return t.stop()}}),t)}))),[T,D,B,j,c,P,n,a,i]);return Object(d.useEffect)((function(){T&&x&&L()}),[T,x,L]),{apiErrors:_,failedAudiences:j,isSaving:A,onEnableGroups:L}}}).call(this,n(26))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(371),g=n(2),f=n(0),m=n(3),p=n(54),h=n(28),b=n(6),v=n(14),E=n(60),_=n(9),O=n(391),k=n(18),y=n(110),j=n(181),S=n(8),w=n(108),C=n(392),A=n(226),N=n(444),T=Object(w.a)(N.a);function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,i=t.WidgetNull,a=Object(k.a)(),c=Object(m.useDispatch)(E.a).invalidateResolution,s=Object(m.useDispatch)(h.a).setValues,u=Object(y.b)("audience_segmentation_setup_cta-notification"),d=Object(y.c)("audience_segmentation_setup_cta-notification").isTooltipVisible,p=Object(m.useSelect)((function(e){return e(b.a).isPromptDismissed("audience_segmentation_setup_cta-notification")})),j=Object(m.useSelect)((function(e){return e(b.a).getPromptDismissCount("audience_segmentation_setup_cta-notification")})),w=Object(m.useSelect)((function(e){return e(b.a).hasFinishedResolution("getDismissedPrompts",[])})),N=Object(m.useSelect)((function(e){return e(b.a).getConfiguredAudiences()})),x=Object(m.useSelect)((function(e){return e(h.a).getValue(_.c,"autoSubmit")})),R=Object(f.useState)(!1),D=l()(R,2),M=D[0],P=D[1],I=Object(m.useDispatch)(b.a),B=I.dismissItem,L=I.dismissPrompt,z=Object(C.a)({onSuccess:function(){c("getQueuedNotifications",[a]),L("audience_segmentation_setup_cta-notification",{expiresInSeconds:0}),B(O.a)},onError:function(){P(!0)}}),F=z.apiErrors,V=z.failedAudiences,W=z.isSaving,H=z.onEnableGroups,U=Object(m.useSelect)((function(e){return e(_.p).isGatheringData(),e(_.p).isDataAvailableOnLoad()})),q=Object(m.useSelect)((function(e){return e(_.p).getAudienceSegmentationSetupCompletedBy()}));var G=Object(m.useDispatch)(b.a).clearPermissionScopeError,K=Object(m.useDispatch)(v.c).setSetupErrorCode,J=Object(f.useCallback)((function(){s(_.c,{autoSubmit:!1}),G(),K(null),P(!1)}),[G,K,s]),Y=Object(m.useSelect)((function(e){return e(v.c).getSetupErrorCode()})),X=x&&"access_denied"===Y;if(Object(f.useEffect)((function(){d&&Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_view")}),[d,a]),d)return e.createElement(f.Fragment,null,e.createElement(i,null),e.createElement(y.a,{title:Object(g.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(g.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),onDismiss:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_dismiss")},tooltipStateKey:"audience_segmentation_setup_cta-notification"}));if(null!==q||void 0===N||(null==N?void 0:N.length)||!U||p||!w)return null;return e.createElement(f.Fragment,null,e.createElement(T,{Widget:n,onEnableGroups:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"confirm_notification").finally(H)},isSaving:W,dismissCount:j,handleDismissClick:function(){u(),Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"dismiss_notification").finally(o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(j<1)){e.next=6;break}return t=2*S.g,e.next=4,L("audience_segmentation_setup_cta-notification",{expiresInSeconds:t});case 4:e.next=8;break;case 6:return e.next=8,L("audience_segmentation_setup_cta-notification");case 8:case"end":return e.stop()}}),e)}))))},onInView:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"view_notification")}}),(M||X)&&e.createElement(A.a,{hasOAuthError:X,apiErrors:F.length?F:V,onRetry:H,inProgress:W,onCancel:X?J:function(){return P(!1)},trackEventCategory:"".concat(a,"_audiences-setup")}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.a=Object(d.a)(Object(p.a)({moduleName:"analytics-4"}),Object(j.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(3),f=n(54),m=n(9),p=n(6),h=n(448),b=n(163),v=n(190),E=n(312),_=n(199),O=n(34);function AudienceTilesWidget(t){var n=t.Widget,i=Object(g.useSelect)((function(e){var t=e(m.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),a=Object(g.useSelect)((function(e){return e(p.a).getConfiguredAudiences()})),c=Object(d.useState)(!1),s=l()(c,2),u=s[0],f=s[1],k=Object(g.useDispatch)(m.p),y=k.clearErrors,j=k.maybeSyncAvailableAudiences,S=k.syncAvailableAudiences,w=Object(g.useSelect)((function(e){return e(m.p).isSettingUpAudiences()})),C=Object(g.useSelect)((function(e){return e(m.p).getErrorForAction("syncAvailableAudiences")}));if(Object(d.useEffect)((function(){u||w||function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:f(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[u,w,j]),C){var A=Object(O.e)(C);return e.createElement(v.a,{errors:C,Widget:n,onRetry:A?void 0:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y("syncAvailableAudiences");case 2:return e.next=4,S();case 4:case"end":return e.stop()}}),e)}))),showRetryButton:!A})}return(null==a?void 0:a.some((function(e){return null==i?void 0:i.includes(e)})))?e.createElement(h.a,{Widget:n,widgetLoading:!u||!i||!a}):u?e.createElement(E.a,{Widget:n,WidgetNull:_.a}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(b.a,null)),e.createElement(n,{noPadding:!0},e.createElement(b.a,null))))}AudienceTilesWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4"})(AudienceTilesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceSelectionPanel}));var i=n(7),r=n.n(i),a=n(0),o=n(3),c=n(18),l=n(35),s=n(8),u=n(39),d=n(28),g=n(24),f=n(6),m=n(9),p=n(473),h=n(475),b=n(478),v=n(480),E=n(481),_=n(482),O=n(115),k=n(483),y=n(485);function AudienceSelectionPanel(){var t=Object(c.a)(),n=Object(l.a)(),i=Object(o.useSelect)((function(e){return e(g.b).getValue(u.i)})),j=Object(o.useSelect)((function(e){var t=e(m.p).getConfigurableAudiences,n=(0,e(f.a).getConfiguredAudiences)()||[],i=t()||[];return i.length&&n.length?i.filter((function(e){var t=e.name;return n.includes(t)})).map((function(e){return e.name})):[]})),S=Object(o.useSelect)((function(e){return e(d.a).getValue(u.c,"autoSubmit")})),w=Object(o.useDispatch)(d.a).setValues,C=Object(o.useDispatch)(g.b).setValue,A=Object(a.useCallback)((function(){var e;w(u.h,(e={},r()(e,u.f,j),r()(e,u.g,!1),e)),Object(s.J)("".concat(t,"_audiences-sidebar"),"audiences_sidebar_view")}),[j,w,t]),N=Object(a.useCallback)((function(){i&&(C(u.i,!1),C(u.e,!1))}),[C,i]);return e.createElement(O.e,{className:"googlesitekit-audience-selection-panel",closePanel:N,isOpen:i||S,onOpen:A},e.createElement(E.a,{closePanel:N}),e.createElement(h.a,{savedItemSlugs:j}),e.createElement(p.a,null),!n&&e.createElement(k.a,null),e.createElement(_.a,null),e.createElement(b.a,null),e.createElement(y.a,null),e.createElement(v.a,{closePanel:N,isOpen:i,savedItemSlugs:j}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceAreaFooter}));var i=n(2),r=n(3),a=n(6),o=n(9),c=n(19),l=n(134),s=n(35);function AudienceAreaFooter(){var t=Object(s.a)(),n=Object(r.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:o.f})})),u=Object(r.useSelect)((function(e){return t?null:e(o.p).getServiceReportURL("audiences",{dates:n})}));return Object(r.useSelect)((function(e){return e(c.a).isModuleConnected("analytics-4")}))?e.createElement(l.a,{className:"googlesitekit-audience-widget__source",name:Object(i._x)("Analytics","Service name","google-site-kit"),href:u,external:!0}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeGroupsLink}));var i=n(0),r=n(2),a=n(3),o=n(18),c=n(8),l=n(39),s=n(24),u=n(9),d=n(20),g=n(275);function ChangeGroupsLink(){var t=Object(o.a)(),n=Object(a.useInViewSelect)((function(e){return e(u.p).getConfigurableAudiences()}),[]),f=Object(a.useDispatch)(s.b).setValue,m=Object(i.useCallback)((function(){f(l.i,!0),Object(c.J)("".concat(t,"_audiences-sidebar"),"change_groups")}),[f,t]);return Array.isArray(n)&&(null==n?void 0:n.length)>0?e.createElement(i.Fragment,null,e.createElement(d.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:m,leadingIcon:e.createElement(g.a,{width:22,height:22})},Object(r.__)("Change groups","google-site-kit"))):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAnalyticsCTAWidget}));var i=n(1),r=n.n(i),a=n(38),o=n(0),c=n(2),l=n(3),s=n(486),u=n(487),d=n(20),g=n(19),f=n(176),m=n(25),p=n(319);function ConnectAnalyticsCTAWidget(t){var n=t.Widget,i=Object(m.e)()===m.c,r=Object(f.a)("analytics-4"),h=Object(l.useSelect)((function(e){return e(g.a).getModuleIcon("analytics-4")})),b=i?e.createElement("p",null,Object(a.a)(Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>","google-site-kit"),{a:e.createElement(d.a,{secondary:!0,onClick:r})})):e.createElement(o.Fragment,null,e.createElement("p",null,Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed","google-site-kit")),e.createElement(d.a,{secondary:!0,onClick:r},Object(c.__)("Connect Google Analytics","google-site-kit")));return e.createElement(n,{noPadding:!0},e.createElement(p.a,{Icon:h,SVGGraphic:i?u.a:s.a},b))}ConnectAnalyticsCTAWidget.propTypes={Widget:r.a.elementType.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(3),l=n(6),s=n(8),u=n(54),d=n(227),g=n(153),f=n(9),m=n(24),p=n(108),h=n(18),b=Object(p.a)(d.a);function InfoNoticeWidget(t){var n=t.Widget,i=t.WidgetNull,r=Object(h.a)(),u=Object(c.useInViewSelect)((function(e){var t=e(f.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))}),[]),d=Object(c.useInViewSelect)((function(e){return e(l.a).getConfiguredAudiences()}),[]),p=null==d?void 0:d.some((function(e){return null==u?void 0:u.includes(e)})),v=g.a.length,E=Object(c.useInViewSelect)((function(e){return e(l.a).isPromptDismissed(g.c)}),[]),_=Object(c.useSelect)((function(e){return e(m.b).getValue(g.b)})),O=Object(c.useInViewSelect)((function(e){return e(l.a).getPromptDismissCount(g.c)}),[]),k=Object(c.useDispatch)(l.a).dismissPrompt,y=Object(a.useCallback)((function(){void 0!==O&&Object(s.J)("".concat(r,"_audiences-info-notice"),"dismiss_notice",g.a[O].slug).finally((function(){var e=2*s.g,t=O+1<v?e:0;k(g.c,{expiresInSeconds:t})}))}),[O,k,v,r]);if(!0!==p||E||void 0===O||O>=v||!0===_)return e.createElement(i,null);var j=g.a[O],S=j.slug,w=j.content;return e.createElement(n,{noPadding:!0},e.createElement(b,{content:w,dismissLabel:Object(o.__)("Got it","google-site-kit"),onDismiss:y,onInView:function(){Object(s.J)("".concat(r,"_audiences-info-notice"),"view_notice",S)}}))}InfoNoticeWidget.propTypes={Widget:r.a.elementType.isRequired,WidgetNull:r.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"analytics-4"})(InfoNoticeWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SecondaryUserSetupWidget}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(91),g=n(0),f=n(3),m=n(163),p=n(9),h=n(190),b=n(34);function SecondaryUserSetupWidget(t){var n=t.Widget,i=Object(g.useState)(null),a=l()(i,2),c=a[0],s=a[1],u=Object(f.useSelect)((function(e){return e(p.p).isSettingUpAudiences()})),v=Object(f.useDispatch)(p.p).enableSecondaryUserAudienceGroup,E=function(){var e=o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(null),e.next=3,v();case 3:t=e.sent,(n=t.error)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(d.a)((function(){u||o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:t=e.sent,(n=t.error)&&s(n);case 5:case"end":return e.stop()}}),e)})))()})),c?e.createElement(h.a,{Widget:n,errors:c,onRetry:E,showRetryButton:!Object(b.e)(c)}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(m.a,null)),e.createElement(n,{noPadding:!0},e.createElement(m.a,null))))}SecondaryUserSetupWidget.propTypes={Widget:u.a.elementType.isRequired}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(10),l=n(17),s=n(25),u=n(320),d=n(34),g=n(117),f=n(315),m=Object(a.forwardRef)((function(t,n){var i=t.Widget,r=t.errors,a=t.onRetry,m=t.onRequestAccess,p=t.showRetryButton,h=Object(s.e)(),b=h===s.b,v=h===s.c,E=r.some(d.e);return e.createElement(i,{ref:n,noPadding:!0,className:"googlesitekit-audience-segmentation-error-widget"},e.createElement(l.e,{collapsed:!0,className:"googlesitekit-audience-segmentation-error__widget-primary-cell"},e.createElement(l.k,null,e.createElement(l.a,{smSize:6,mdSize:8,lgSize:7},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},E?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Your visitor groups data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-error__actions"},p&&a?e.createElement(c.Button,{onClick:a,danger:!0},Object(o.__)("Retry","google-site-kit")):e.createElement(g.a,{moduleSlug:"analytics-4",error:r,GetHelpLink:E?f.a:void 0,hideGetHelpLink:!E,buttonVariant:"danger",getHelpClassName:"googlesitekit-error-retry-text",onRetry:a,onRequestAccess:m}))),!b&&!v&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(u.a,{width:"233px"})),v&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",mdSize:8},e.createElement(u.a,{width:"233px"})),b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:8},e.createElement(u.a,{width:"233px"})))))}));m.propTypes={Widget:r.a.elementType.isRequired,errors:r.a.arrayOf(r.a.object).isRequired,onRetry:r.a.func.isRequired,onRequestAccess:r.a.func.isRequired,showRetryButton:r.a.bool},t.a=m}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(2),s=n(157),u=n(84),d=n(32),g=n(14),f=n(6),m=n(8),p=n(18),h=n(3),b=n(10),v=n(151),E=Object(c.forwardRef)((function(t,n){var i=Object(p.a)(),a=Object(h.useSelect)((function(e){var t=e(g.c).getAdminURL("googlesitekit-dashboard");return Object(s.a)(t,{widgetArea:u.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),c=Object(h.useDispatch)(d.a).navigateTo,E=Object(h.useDispatch)(f.a).dismissItem;function _(){return E("settings_visitor_groups_setup_success_notification")}return e.createElement("div",{ref:n,className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(v.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(l.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(b.Button,{tertiary:!0,onClick:function(){Object(m.J)("".concat(i,"_audiences-setup-cta-settings-success"),"dismiss_notification").finally(_)}},Object(l.__)("Got it","google-site-kit")),e.createElement(b.Button,{onClick:function(){Object(m.J)("".concat(i,"_audiences-setup-cta-settings-success"),"confirm_notification").finally(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:c(a);case 3:case"end":return e.stop()}}),e)}))))}},Object(l.__)("Show me","google-site-kit"))))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(2),o=n(0),c=n(445),l=n(446),s=n(447),u=n(10),d=n(17),g=n(25),f=Object(o.forwardRef)((function(t,n){var i=t.Widget,r=t.onEnableGroups,f=t.isSaving,m=t.dismissCount,p=t.handleDismissClick,h=Object(g.e)(),b=h===g.b,v=h===g.c;return e.createElement("div",{ref:n,className:"googlesitekit-widget-context"},e.createElement(d.e,{className:"googlesitekit-widget-area"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(i,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(d.e,{collapsed:!0},e.createElement(d.k,null,e.createElement(d.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(a.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(a.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(o.Fragment,null,e.createElement(u.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:r,isSaving:f},f?Object(a.__)("Enabling groups","google-site-kit"):Object(a.__)("Enable groups","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:p},m<1?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Don’t show again","google-site-kit"))))),!b&&!v&&e.createElement(d.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(c.a,null)),v&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(l.a,null)),b&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(s.a,null)))))))))}));f.propTypes={Widget:r.a.elementType.isRequired,onEnableGroups:r.a.func.isRequired,isSaving:r.a.bool.isRequired,dismissCount:r.a.number.isRequired,handleDismissClick:r.a.func.isRequired},t.a=f}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},i.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),i.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),i.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),i.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},i.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return i.createElement("svg",r({viewBox:"0 0 496 216",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),i.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},i.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return i.createElement("svg",r({viewBox:"0 0 553 146",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},i.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},i.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},i.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},i.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return i.createElement("svg",r({viewBox:"0 0 343 120",fill:"none"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTiles}));var i=n(27),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(10),d=n(3),g=n(25),f=n(6),m=n(9),p=n(449),h=n(122),b=n(365),v=n(190),E=n(466),_=n(163),O=n(469),k=n(471),y=n(253),j=n(18),S=n(35),w=n(8),C=function(e,t){var n,i,r,a=null==e||null===(n=e.rows)||void 0===n?void 0:n.find((function(e){var n,i;return(null===(n=e.dimensionValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)===t}));return 0===((null==a||null===(i=a.metricValues)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.value)||0)};function AudienceTiles(t){var n=t.Widget,i=t.widgetLoading,a=Object(j.a)(),c=Object(S.a)(),l=Object(g.e)(),A=l===g.b||l===g.c,N=Object(d.useInViewSelect)((function(e){return e(f.a).getConfiguredAudiences()}),[]),T=Object(d.useInViewSelect)((function(e){return e(m.p).getAvailableAudiences()}),[]),x=Object(d.useSelect)((function(e){return e(m.p).getConfiguredSiteKitAndOtherAudiences()}))||[[],[]],R=o()(x,2),D=R[0],M=R[1],P=Object(d.useSelect)((function(e){return e(m.p).hasAudiencePartialData(D)})),I=Object(k.a)({isSiteKitAudiencePartialData:P,siteKitAudiences:D,otherAudiences:M}),B=I.report,L=I.reportLoaded,z=I.reportError,F=I.siteKitAudiencesReport,V=I.siteKitAudiencesReportLoaded,W=I.siteKitAudiencesReportError,H=I.totalPageviews,U=I.totalPageviewsReportLoaded,q=I.totalPageviewsReportError,G=I.topCitiesReport,K=I.topCitiesReportLoaded,J=I.topCitiesReportErrors,Y=I.topContentReport,X=I.topContentReportLoaded,$=I.topContentReportErrors,Z=I.topContentPageTitlesReport,Q=I.topContentPageTitlesReportLoaded,ee=I.topContentPageTitlesReportErrors,te=function(e,t){var n,i,r,a,o,c,l=(null==T||null===(n=T.filter((function(t){return t.name===e})))||void 0===n||null===(i=n[0])||void 0===i?void 0:i.displayName)||"",s=(null==T||null===(r=T.filter((function(t){return t.name===e})))||void 0===r||null===(a=r[0])||void 0===a?void 0:a.audienceSlug)||"",u=function(e){var t,n=D.some((function(t){return t.name===e})),i=null===(t=D.find((function(t){return t.name===e})))||void 0===t?void 0:t.audienceSlug,r=function(t){var r,a,o,c,l,s,u,d,g,f,m,p,h;if(n&&P){var b,v="new-visitors"===i?"new":"returning";h=null==F||null===(b=F.rows)||void 0===b?void 0:b.find((function(e){var n,i,r=e.dimensionValues;return(null==r||null===(n=r[0])||void 0===n?void 0:n.value)===v&&(null==r||null===(i=r[1])||void 0===i?void 0:i.value)===t}))}else{var E;h=null==B||null===(E=B.rows)||void 0===E?void 0:E.find((function(n){var i,r,a=n.dimensionValues;return(null==a||null===(i=a[0])||void 0===i?void 0:i.value)===e&&(null==a||null===(r=a[1])||void 0===r?void 0:r.value)===t}))}return[Number((null===(r=h)||void 0===r||null===(a=r.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value)||0),Number((null===(c=h)||void 0===c||null===(l=c.metricValues)||void 0===l||null===(s=l[1])||void 0===s?void 0:s.value)||0),Number((null===(u=h)||void 0===u||null===(d=u.metricValues)||void 0===d||null===(g=d[2])||void 0===g?void 0:g.value)||0),Number((null===(f=h)||void 0===f||null===(m=f.metricValues)||void 0===m||null===(p=m[3])||void 0===p?void 0:p.value)||0)]};return{current:r("date_range_0"),previous:r("date_range_1")}}(e),d=u.current,g=u.previous,f=d[0],m=g[0],p=d[1],h=g[1],b=d[2],v=g[2],E=d[3],_=g[3],O=null==G?void 0:G[t],k=null==Y?void 0:Y[t],y=(null==Z||null===(o=Z[t])||void 0===o||null===(c=o.rows)||void 0===c?void 0:c.reduce((function(e,t){return e[t.dimensionValues[0].value]=t.dimensionValues[1].value,e}),{}))||{},j=D.some((function(t){return t.name===e})),S=B,w=e;return j&&P&&(S=F,w="new-visitors"===s?"new":"returning"),{audienceName:l,audienceSlug:s,visitors:f,prevVisitors:m,visitsPerVisitors:p,prevVisitsPerVisitors:h,pagesPerVisit:b,prevPagesPerVisit:v,pageviews:E,prevPageviews:_,topCities:O,topContent:k,topContentTitles:y,isZeroData:C(S,w),isPartialData:!j&&ce[e]}},ne=null==N?void 0:N.reduce((function(e,t){return e[t]=[],[J,$,ee].forEach((function(n){var i=n[t];i&&!Object(y.a)(i)&&e[t].push(i)})),e}),{}),ie=Object(d.useSelect)((function(e){return e(f.a).getDismissedItems()})),re=Object(d.useSelect)((function(e){return e(f.a)})).isDismissingItem,ae=Object(d.useDispatch)(f.a).dismissItem,oe=Object(s.useCallback)((function(e){ae("audience-tile-".concat(e))}),[ae]),ce=Object(d.useInViewSelect)((function(e){return null==N?void 0:N.reduce((function(t,n){return t[n]=e(m.p).isAudiencePartialData(n),t}),{})}),[N]),le=Object(s.useRef)({}),se=Object(s.useMemo)((function(){for(var e=[],t=[],n=null==N?void 0:N.slice().filter((function(e){return T.some((function(t){return t.name===e}))})),i=function(){var i,r=n.shift(),a=null==ie?void 0:ie.includes("audience-tile-".concat(r)),o=D.some((function(e){return e.name===r})),c=B,l=r;o&&P&&(c=F,l="new-visitors"===(null===(i=D.find((function(e){return e.name===r})))||void 0===i?void 0:i.audienceSlug)?"new":"returning");var s=C(c,l),u=n.length+t.length>0;if(a&&s&&u)return"continue";a&&!s&&e.push(r),t.push(r)};(null==n?void 0:n.length)>0;)i();return[e,t]}),[T,N,ie,P,B,D,F]),ue=o()(se,2),de=ue[0],ge=ue[1];var fe,me=(fe=[],B&&fe.push(z),F&&fe.push(W),!(!fe.every(Boolean)&&!q)||(null==N?void 0:N.every((function(e){return ne[e].length>0}))));Object(s.useEffect)((function(){de.forEach((function(e){var t="audience-tile-".concat(e);le.current[t]||(ae(t,{expiresInSeconds:1}),le.current[t]=!0)}))}),[de,ae,re]);var pe=Object(d.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),he=Object(d.useDispatch)(m.p).fetchSyncAvailableCustomDimensions,be=Object.values($).some(y.a)||Object.values(ee).some(y.a);Object(s.useEffect)((function(){!c&&be&&he()}),[he,be,c]);var ve=Object(s.useState)(ge[0]),Ee=o()(ve,2),_e=Ee[0],Oe=Ee[1],ke=Object(s.useCallback)((function(e){var t=ge.indexOf(e);return-1===t?0:t}),[ge]);Object(s.useEffect)((function(){ge.includes(_e)||Oe(ge[0])}),[_e,ge]);var ye=ke(_e),je=i||!L||!V||!U||!K||!X||!Q||pe,Se=0;return e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},!1===me&&!je&&A&&ge.length>0&&e.createElement(u.TabBar,{key:ge.length,className:"googlesitekit-widget-audience-tiles__tabs",activeIndex:ye,handleActiveIndexUpdate:function(e){return Oe(ge[e])}},ge.map((function(t,n){var i,r,o,c,l=(null==T||null===(i=T.filter((function(e){return e.name===t})))||void 0===i||null===(r=i[0])||void 0===r?void 0:r.displayName)||"",s=(null==T||null===(o=T.filter((function(e){return e.name===t})))||void 0===o||null===(c=o[0])||void 0===c?void 0:c.audienceSlug)||"",d=e.createElement(b.a,{audienceName:l,audienceSlug:s});return e.createElement(u.Tab,{key:n,"aria-label":l},l,e.createElement(h.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){Object(w.J)("".concat(a,"_audiences-tile"),"view_tile_tooltip",s)}}))}))),e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},me&&!je&&e.createElement(v.a,{Widget:n,errors:[].concat(r()(Object.values(ne).flat(2)),[z,q])}),(!1===me||je)&&ge.map((function(t,i){var r,a,o,c,l,s,u,d,g,f,m,h,v,O,k,y,j,S,w,C,N,T,x,R,D,M,P,I,B,L,z,F,V,W,U,q;if(A&&i!==ye)return null;var G=te(t,i),K=G.audienceName,J=G.audienceSlug,Y=G.visitors,X=G.prevVisitors,$=G.visitsPerVisitors,Z=G.prevVisitsPerVisitors,Q=G.pagesPerVisit,ee=G.prevPagesPerVisit,ie=G.pageviews,re=G.prevPageviews,ae=G.topCities,ce=G.topContent,le=G.topContentTitles,se=G.isZeroData,ue=G.isPartialData;return je||void 0===se||void 0===ue?e.createElement(n,{key:t,noPadding:!0},e.createElement(_.a,null)):ne[t].length>0?e.createElement(E.a,{key:t,audienceSlug:J,errors:ne[t]}):e.createElement(p.a,{key:t,audienceTileNumber:Se++,audienceSlug:J,title:K,infoTooltip:e.createElement(b.a,{audienceName:K,audienceSlug:J}),visitors:{currentValue:Y,previousValue:X},visitsPerVisitor:{currentValue:$,previousValue:Z},pagesPerVisit:{currentValue:Q,previousValue:ee},pageviews:{currentValue:ie,previousValue:re},percentageOfTotalPageViews:0!==H?ie/H:0,topCities:{dimensionValues:[null==ae||null===(r=ae.rows)||void 0===r||null===(a=r[0])||void 0===a||null===(o=a.dimensionValues)||void 0===o?void 0:o[0],null==ae||null===(c=ae.rows)||void 0===c||null===(l=c[1])||void 0===l||null===(s=l.dimensionValues)||void 0===s?void 0:s[0],null==ae||null===(u=ae.rows)||void 0===u||null===(d=u[2])||void 0===d||null===(g=d.dimensionValues)||void 0===g?void 0:g[0]],metricValues:[null==ae||null===(f=ae.rows)||void 0===f||null===(m=f[0])||void 0===m||null===(h=m.metricValues)||void 0===h?void 0:h[0],null==ae||null===(v=ae.rows)||void 0===v||null===(O=v[1])||void 0===O||null===(k=O.metricValues)||void 0===k?void 0:k[0],null==ae||null===(y=ae.rows)||void 0===y||null===(j=y[2])||void 0===j||null===(S=j.metricValues)||void 0===S?void 0:S[0]],total:Y},topContent:{dimensionValues:[null==ce||null===(w=ce.rows)||void 0===w||null===(C=w[0])||void 0===C||null===(N=C.dimensionValues)||void 0===N?void 0:N[0],null==ce||null===(T=ce.rows)||void 0===T||null===(x=T[1])||void 0===x||null===(R=x.dimensionValues)||void 0===R?void 0:R[0],null==ce||null===(D=ce.rows)||void 0===D||null===(M=D[2])||void 0===M||null===(P=M.dimensionValues)||void 0===P?void 0:P[0]],metricValues:[null==ce||null===(I=ce.rows)||void 0===I||null===(B=I[0])||void 0===B||null===(L=B.metricValues)||void 0===L?void 0:L[0],null==ce||null===(z=ce.rows)||void 0===z||null===(F=z[1])||void 0===F||null===(V=F.metricValues)||void 0===V?void 0:V[0],null==ce||null===(W=ce.rows)||void 0===W||null===(U=W[2])||void 0===U||null===(q=U.metricValues)||void 0===q?void 0:q[0]]},topContentTitles:le,hasInvalidCustomDimensionError:be,Widget:n,audienceResourceName:t,isZeroData:se,isPartialData:ue,isTileHideable:ge.length>1,onHideTile:function(){return oe(t)}})})),!A&&e.createElement(O.a,{Widget:n,loading:je,allTilesError:me,visibleAudienceCount:ge.length})))}AudienceTiles.propTypes={Widget:l.a.elementType.isRequired,widgetLoading:l.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTile}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(25),u=n(35),d=n(9),g=n(450),f=n(451),m=n(452),p=n(453),h=n(454),b=n(455),v=n(268),E=n(456),_=n(457),O=n(171),k=n(122),y=n(317),j=n(8),S=n(231),w=n(18),C=n(460);function AudienceTile(t){var n=t.audienceTileNumber,i=void 0===n?0:n,a=t.audienceSlug,o=t.title,A=t.infoTooltip,N=t.visitors,T=t.visitsPerVisitor,x=t.pagesPerVisit,R=t.pageviews,D=t.percentageOfTotalPageViews,M=t.topCities,P=t.topContent,I=t.topContentTitles,B=t.hasInvalidCustomDimensionError,L=t.Widget,z=t.audienceResourceName,F=t.isZeroData,V=t.isPartialData,W=t.isTileHideable,H=t.onHideTile,U=Object(s.e)(),q=Object(w.a)(),G=Object(u.a)(),K=Object(l.useInViewSelect)((function(e){var t=e(d.p).getPropertyID();return t&&e(d.p).isPropertyPartialData(t)})),J=Object(l.useSelect)((function(e){return e(d.p).isSiteKitAudience(z)})),Y=Object(l.useInViewSelect)((function(e){return!J&&void 0!==K&&(!K&&z&&e(d.p).isAudiencePartialData(z))}),[K,J,z]),X=Object(l.useInViewSelect)((function(e){return void 0!==K&&(!K&&!Y&&e(d.p).isCustomDimensionPartialData("googlesitekit_post_type"))}),[Y]),$=Object(l.useInViewSelect)((function(e){return e(d.p).hasCustomDimensions("googlesitekit_post_type")}),[]),Z=[s.b,s.c].includes(U);return V&&F?e.createElement(C.a,{Widget:L,audienceSlug:a,title:o,infoTooltip:A,isMobileBreakpoint:Z,isTileHideable:W,onHideTile:H}):e.createElement(L,{noPadding:!0},e.createElement("div",{className:r()("googlesitekit-audience-segmentation-tile",{"googlesitekit-audience-segmentation-tile--partial-data":Y})},!Z&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},o,A&&e.createElement(k.a,{title:A,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(j.J)("".concat(q,"_audiences-tile"),"view_tile_tooltip",a)}})),Y&&e.createElement(S.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(c.__)("Partial data","google-site-kit"),tooltipTitle:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit"),onTooltipOpen:function(){Object(j.J)("".concat(q,"_audiences-tile"),"view_tile_partial_data_tooltip",a)}})),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__metrics"},Z&&Y&&e.createElement(y.a,{content:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit")}),e.createElement(v.a,{TileIcon:g.a,title:Object(c.__)("Visitors","google-site-kit"),metricValue:N.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:N.previousValue,currentValue:N.currentValue})}}),e.createElement(v.a,{TileIcon:f.a,title:Object(c.__)("Visits per visitor","google-site-kit"),metricValue:T.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:T.previousValue,currentValue:T.currentValue})}}),e.createElement(v.a,{TileIcon:m.a,title:Object(c.__)("Pages per visit","google-site-kit"),metricValue:x.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:x.previousValue,currentValue:x.currentValue})},metricValueFormat:{style:"decimal",maximumFractionDigits:2}}),e.createElement(v.a,{TileIcon:p.a,title:Object(c.sprintf)( /* translators: %s: is a percentage value such as 33.3%. */ Object(c.__)("%s of total pageviews","google-site-kit"),Object(j.C)(D,{style:"percent",maximumFractionDigits:1})),metricValue:R.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:R.previousValue,currentValue:R.currentValue})}}),e.createElement(E.a,{TileIcon:h.a,title:Object(c.__)("Cities with the most visitors","google-site-kit"),topCities:M}),(!G||$&&!B)&&e.createElement(_.a,{audienceTileNumber:i,audienceSlug:a,TileIcon:b.a,title:Object(c.__)("Top content by pageviews","google-site-kit"),topContentTitles:I,topContent:P,isTopContentPartialData:X}))))}AudienceTile.propTypes={audienceTileNumber:o.a.number,audienceSlug:o.a.string.isRequired,title:o.a.string.isRequired,infoTooltip:o.a.oneOfType([o.a.string,o.a.element]),visitors:o.a.object,visitsPerVisitor:o.a.object,pagesPerVisit:o.a.object,pageviews:o.a.object,percentageOfTotalPageViews:o.a.number,topCities:o.a.object,topContent:o.a.object,topContentTitles:o.a.object,hasInvalidCustomDimensionError:o.a.bool,Widget:o.a.elementType.isRequired,audienceResourceName:o.a.string.isRequired,isZeroData:o.a.bool,isPartialData:o.a.bool,isTileHideable:o.a.bool,onHideTile:o.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitors(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitsPerVisitor(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPagesPerVisit(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPageviews(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconCities(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconTopContent(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCitiesMetric}));var i=n(1),r=n.n(i),a=n(8),o=n(316);function AudienceTileCitiesMetric(t){var n,i=t.TileIcon,r=t.title,c=t.topCities,l=(null==c||null===(n=c.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],s=!!l.length;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(i,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},r),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!s&&e.createElement(o.a,null),s&&l.map((function(t,n){var i;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__cities-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-name"},null==t?void 0:t.value),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-value"},Object(a.C)((null==c||null===(i=c.metricValues[n])||void 0===i?void 0:i.value)/(null==c?void 0:c.total),{style:"percent",maximumFractionDigits:1})))})))))}AudienceTileCitiesMetric.propTypes={TileIcon:r.a.elementType.isRequired,title:r.a.string.isRequired,topCities:r.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceTilePagesMetric}));var r=n(1),a=n.n(r),o=n(0),c=n(157),l=n(2),s=n(3),u=n(25),d=n(28),g=n(14),f=n(6),m=n(9),p=n(34),h=n(231),b=n(458),v=n(226),E=n(84),_=n(18),O=n(8);function AudienceTilePagesMetric(t){var n=t.audienceTileNumber,r=t.audienceSlug,a=t.TileIcon,k=t.title,y=t.topContent,j=t.topContentTitles,S=t.isTopContentPartialData,w=Object(u.e)(),C=Object(_.a)(),A=m.e.googlesitekit_post_type.parameterName,N=Object(s.useSelect)((function(e){return!e(m.p).hasCustomDimensions(A)})),T=Object(s.useSelect)((function(e){return e(f.a).hasScope(m.g)})),x=Object(c.a)(e.location.href,{notification:"audience_segmentation",widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),R=Object(c.a)(e.location.href,{widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),D=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isAutoCreatingCustomDimensionsForAudience")})),M=Object(s.useSelect)((function(e){return e(m.p).isCreatingCustomDimension(A)})),P=Object(s.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),I=Object(s.useSelect)((function(e){return e(m.p).getCreateCustomDimensionError(A)})),B=Object(s.useSelect)((function(e){return e(m.p).getPropertyID()})),L=Object(s.useDispatch)(m.p).clearError,z=Object(s.useDispatch)(d.a).setValues,F=Object(s.useDispatch)(f.a),V=F.setPermissionScopeError,W=F.clearPermissionScopeError,H=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isRetrying")})),U=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"autoSubmit")})),q=Object(s.useSelect)((function(e){return e(g.c).getSetupErrorCode()})),G=Object(s.useDispatch)(g.c).setSetupErrorCode,K=U&&"access_denied"===q,J=Object(o.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isRetrying;z(m.d,{autoSubmit:!0,isRetrying:t}),T||V({code:p.a,message:Object(l.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[m.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:x,errorRedirectURL:R}})}),[T,x,R,V,z]),Y=Object(o.useCallback)((function(){z(m.d,{autoSubmit:!1,isRetrying:!1}),G(null),W(),L("createCustomDimension",[B,m.e.googlesitekit_post_type])}),[L,W,B,G,z]),X=[u.b,u.c].includes(w),$=D||M||P;return i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content"},i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},i.createElement(a,null)),i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},k,!X&&S&&i.createElement(h.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(l.__)("Partial data","google-site-kit"),onTooltipOpen:function(){Object(O.J)("".concat(C,"_audiences-tile"),"view_top_content_partial_data_tooltip",r)},tooltipTitle:Object(l.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")})),i.createElement(b.a,{topContentTitles:j,topContent:y,isTopContentPartialData:S,hasCustomDimension:!N,onCreateCustomDimension:J,isSaving:$}),0===n&&(I&&!$||H&&!D||K)&&i.createElement(v.a,{apiErrors:[I],title:Object(l.__)("Failed to enable metric","google-site-kit"),description:Object(l.__)("Oops! Something went wrong. Retry enabling the metric.","google-site-kit"),onRetry:function(){return J({isRetrying:!0})},onCancel:Y,inProgress:$,hasOAuthError:K,trackEventCategory:"".concat(C,"_audiences-top-content-cta")})))}AudienceTilePagesMetric.propTypes={audienceTileNumber:a.a.number,audienceSlug:a.a.string.isRequired,TileIcon:a.a.elementType.isRequired,title:a.a.string.isRequired,topContent:a.a.object,topContentTitles:a.a.object,isTopContentPartialData:a.a.bool}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTilePagesMetricContent}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(25),l=n(6),s=n(9),u=n(316),d=n(20),g=n(317),f=n(8),m=n(108),p=n(18),h=n(35),b=n(459),v=Object(m.a)(b.a);function AudienceTilePagesMetricContent(t){var n,i=t.topContentTitles,r=t.topContent,m=t.isTopContentPartialData,b=t.hasCustomDimension,E=t.onCreateCustomDimension,_=t.isSaving,O=Object(p.a)(),k=Object(h.a)(),y=Object(c.e)(),j=[c.b,c.c].includes(y),S=(null==r||null===(n=r.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],w=!!S.length,C=Object(o.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:s.f})}));function ContentLinkComponent(t){var n=t.content,r=i[null==n?void 0:n.value],a=null==n?void 0:n.value,c=Object(o.useSelect)((function(e){return k?null:e(s.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:C})}));return k?e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__top-content-metric-name"},r):e.createElement(d.a,{href:c,title:r,external:!0,hideExternalIndicator:!0},r)}return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!b&&e.createElement(v,{onClick:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"create_custom_dimension").finally(E)},isSaving:_,onInView:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"view_cta")}}),b&&!w&&e.createElement(u.a,null),b&&w&&S.map((function(t,n){var i;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__page-metric-container"},e.createElement(ContentLinkComponent,{content:t}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__page-metric-value"},Object(f.C)(null==r||null===(i=r.metricValues[n])||void 0===i?void 0:i.value)))})),j&&m&&e.createElement(g.a,{content:Object(a.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")}))}AudienceTilePagesMetricContent.propTypes={topContentTitles:r.a.object,topContent:r.a.object,isTopContentPartialData:r.a.bool,hasCustomDimension:r.a.bool,onCreateCustomDimension:r.a.func,isSaving:r.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(10),l=Object(a.forwardRef)((function(t,n){var i=t.onClick,r=t.isSaving;return e.createElement("div",{ref:n,className:"googlesitekit-audience-segmentation-tile-metric__no-data"},Object(o.__)("No data to show","google-site-kit"),e.createElement("p",null,Object(o.__)("Update Analytics to track metric","google-site-kit")),e.createElement(c.SpinnerButton,{danger:!0,onClick:i,isSaving:r,disabled:r},Object(o.__)("Update","google-site-kit")))}));l.propTypes={onClick:r.a.func.isRequired,isSaving:r.a.bool},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileZeroData}));var i=n(1),r=n.n(i),a=n(18),o=n(108),c=n(8),l=n(461),s=Object(o.a)(l.a);function AudienceTileZeroData(t){var n=t.Widget,i=t.audienceSlug,r=t.title,o=t.infoTooltip,l=t.isMobileBreakpoint,u=t.isTileHideable,d=t.onHideTile,g=Object(a.a)();return e.createElement(s,{Widget:n,audienceSlug:i,title:r,infoTooltip:o,isMobileBreakpoint:l,isTileHideable:u,onHideTile:function(){Object(c.J)("".concat(g,"_audiences-tile"),"temporarily_hide",i).finally(d)},onInView:function(){Object(c.J)("".concat(g,"_audiences-tile"),"view_tile_collecting_data",i)}})}AudienceTileZeroData.propTypes={Widget:r.a.elementType.isRequired,audienceSlug:r.a.string.isRequired,title:r.a.string.isRequired,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),isMobileBreakpoint:r.a.bool,isTileHideable:r.a.bool,onHideTile:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(18),c=n(8),l=n(122),s=n(462),u=n(464),d=Object(a.forwardRef)((function(t,n){var i=t.Widget,r=t.audienceSlug,a=t.title,d=t.infoTooltip,g=t.isMobileBreakpoint,f=t.isTileHideable,m=t.onHideTile,p=Object(o.a)();return e.createElement(i,{ref:n,noPadding:!0},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-container"},!g&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},a,d&&e.createElement(l.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(c.J)("".concat(p,"_audiences-tile"),"view_tile_tooltip",r)}}))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-content"},e.createElement(s.a,null),f&&e.createElement(u.a,{onHideTile:m})))))}));d.propTypes={Widget:r.a.elementType.isRequired,audienceSlug:r.a.string.isRequired,title:r.a.string.isRequired,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),isMobileBreakpoint:r.a.bool,isTileHideable:r.a.bool,onHideTile:r.a.func},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingData}));var i=n(0),r=n(2),a=n(463);function AudienceTileCollectingData(){return e.createElement(i.Fragment,null,e.createElement(a.a,{className:"googlesitekit-audience-segmentation-tile__zero-data-image"}),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(r.__)("Site Kit is collecting data for this group.","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z",fill:"#EBEEF0"}),o=i.createElement("path",{d:"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),c=i.createElement("path",{d:"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),l=i.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#70B2F5"}),s=i.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#77AD8C"}),u=i.createElement("path",{d:"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z",fill:"#77AD8C",opacity:.2}),d=i.createElement("path",{d:"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273",stroke:"#161B18",strokeWidth:1.785,strokeLinecap:"round",strokeLinejoin:"round"}),g=i.createElement("path",{d:"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z",fill:"#7B807D"}),f=i.createElement("path",{d:"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),m=i.createElement("path",{d:"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),p=i.createElement("path",{d:"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726",stroke:"#B8BDB9",strokeWidth:3.173,strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationCollectingData(e){return i.createElement("svg",r({viewBox:"0 0 109 94",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingDataHideable}));var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(20),l=n(465);function AudienceTileCollectingDataHideable(t){var n=t.onHideTile;return e.createElement(a.Fragment,null,e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(o.__)("You can hide this group until data is available.","google-site-kit")),e.createElement(c.a,{secondary:!0,linkButton:!0,className:"googlesitekit-audience-segmentation-tile-hide-cta",onClick:n,leadingIcon:e.createElement(l.a,{width:22,height:22})},Object(o.__)("Temporarily hide","google-site-kit")))}AudienceTileCollectingDataHideable.propTypes={onHideTile:r.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z",fill:"#108080"});t.a=function SvgVisibility(e){return i.createElement("svg",r({viewBox:"0 0 19 19",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileError}));var i=n(1),r=n.n(i),a=n(34),o=n(467),c=n(108),l=n(18),s=n(8),u=Object(c.a)(o.a);function AudienceTileError(t){var n=t.audienceSlug,i=t.errors,r=Object(l.a)(),o=i.some((function(e){return Object(a.e)(e)}));return e.createElement(u,{errors:i,onInView:function(){var e=o?"insufficient_permissions_error":"data_loading_error";Object(s.J)("".concat(r,"_audiences-tile"),e,n)},onRetry:function(){Object(s.J)("".concat(r,"_audiences-tile"),"data_loading_error_retry",n)},onRequestAccess:function(){Object(s.J)("".concat(r,"_audiences-tile"),"insufficient_permissions_error_request_access",n)}})}AudienceTileError.propTypes={audienceSlug:r.a.string.isRequired,errors:r.a.array.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(34),l=n(468),s=n(117),u=n(315),d=Object(a.forwardRef)((function(t,n){var i=t.errors,r=t.onRetry,a=t.onRequestAccess,d=i.some((function(e){return Object(c.e)(e)}));return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error",ref:n},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__container"},e.createElement(l.a,{className:"googlesitekit-audience-segmentation-tile-error__image"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__body"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__message"},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-error__title"},d?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Data loading failed","google-site-kit"))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__actions"},e.createElement(s.a,{moduleSlug:"analytics-4",error:i,GetHelpLink:d?u.a:void 0,hideGetHelpLink:!d,buttonVariant:"danger",onRetry:r,onRequestAccess:a})))))}));d.propTypes={errors:r.a.array.isRequired,onRetry:r.a.func.isRequired,onRequestAccess:r.a.func.isRequired},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z",fill:"#F3F5F7"}),o=i.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224",stroke:"#161B18",strokeWidth:1.705,strokeLinecap:"round",strokeLinejoin:"round"}),u=i.createElement("path",{d:"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),d=i.createElement("path",{d:"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z",fill:"#CBD0D3"}),g=i.createElement("path",{d:"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z",fill:"#999F9B"}),f=i.createElement("path",{d:"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),m=i.createElement("path",{d:"M145.07 26.773l-28 108.499",stroke:"#7B807D",strokeWidth:4.393,strokeMiterlimit:10,strokeLinecap:"round"}),p=i.createElement("path",{d:"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z",fill:"#E77D5B"}),h=i.createElement("path",{d:"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z",fill:"#962C0A"}),b=i.createElement("path",{d:"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAnalyticsAudienceSegmentationTileError(e){return i.createElement("svg",r({viewBox:"0 0 190 142",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,b)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MaybePlaceholderTile}));var i=n(1),r=n.n(i),a=n(163),o=n(470);function MaybePlaceholderTile(t){var n=t.Widget,i=t.loading,r=t.allTilesError,c=t.visibleAudienceCount;return!1!==r&&!i||1!==c?null:i?e.createElement(n,{noPadding:!0},e.createElement(a.a,null)):e.createElement(o.a,{Widget:n})}MaybePlaceholderTile.propTypes={Widget:r.a.elementType.isRequired,loading:r.a.bool.isRequired,allTilesError:r.a.bool,visibleAudienceCount:r.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceholderTile}));var i=n(12),r=n.n(i),a=n(38),o=n(2),c=n(3),l=n(14),s=n(24),u=n(6),d=n(9),g=n(20),f=n(318),m=n(39);function PlaceholderTile(t){var n=t.Widget,i=Object(c.useSelect)((function(e){var t=e(u.a).getConfiguredAudiences();return e(d.p).getConfigurableAudiences().some((function(e){return"DEFAULT_AUDIENCE"!==e.audienceType&&!t.includes(e.name)}))})),p=Object(c.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})})),h=Object(c.useDispatch)(s.b).setValue,b=e.createElement(g.a,{secondary:!0,href:p,external:!0,hideExternalIndicator:!0});return e.createElement(n,{className:"googlesitekit-audience-segmentation-tile-placeholder"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-placeholder__container"},e.createElement(f.a,{className:"googlesitekit-audience-segmentation-tile-placeholder__image"}),e.createElement("div",{className:r()("googlesitekit-audience-segmentation-tile-placeholder__body",{"googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences":!i})},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-placeholder__title"},i?Object(o.__)("Compare your group to other groups","google-site-kit"):Object(o.__)("Create more visitor groups","google-site-kit")),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile-placeholder__description"},i?Object(a.a)(Object(o.__)("<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:b,SelectGroupLink:e.createElement(g.a,{secondary:!0,onClick:function(){return h(m.i,!0)}})}):Object(a.a)(Object(o.__)("Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:b})))))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n(7),r=n.n(i),a=n(3),o=n(6),c=n(9);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return Object(a.useSelect)((function(n){return t.every((function(t){var i=n(c.p).getPartialDataSiteKitAudience(t);if(void 0===i)return!1;var r={};return i?r.newVsReturning="new-visitors"===i.audienceSlug?"new":"returning":r.audienceResourceName=t,n(c.p).hasFinishedResolution("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),r)})])}))}))}function d(e,t){return Object(a.useSelect)((function(n){return t.reduce((function(t,i){var r=n(c.p).getPartialDataSiteKitAudience(i);if(void 0===r)return t;var a={};r?a.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":a.audienceResourceName=i;var o=n(c.p).getErrorForSelector("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),a)})]);return o&&(t[i]=o),t}),{})}))}function g(e){var t,n,i,r,l=e.isSiteKitAudiencePartialData,g=e.siteKitAudiences,f=e.otherAudiences,m=Object(a.useSelect)((function(e){return e(o.a).getConfiguredAudiences()})),p={audienceResourceName:m},h=Object(a.useSelect)((function(e){return e(o.a).getDateRangeDates({offsetDays:c.f,compare:!0})})),b=h.startDate,v=h.endDate,E=void 0===l?void 0:f.length>0||!1===l,_=g.length>0&&l,O=s(s({},h),{},{dimensions:[{name:"audienceResourceName"}],dimensionFilters:p,metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),k=Object(a.useInViewSelect)((function(e){if(void 0!==E)return E?e(c.p).getReport(O):null}),[E,O]),y=Object(a.useSelect)((function(e){if(void 0!==E)return!E||e(c.p).hasFinishedResolution("getReport",[O])})),j=Object(a.useSelect)((function(e){if(void 0!==E)return E?e(c.p).getErrorForSelector("getReport",[O]):null})),S=s(s({},h),{},{dimensions:[{name:"newVsReturning"}],dimensionFilters:{newVsReturning:["new","returning"]},metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),w=Object(a.useInViewSelect)((function(e){if(void 0!==_)return _?e(c.p).getReport(S):null}),[_,S]),C=Object(a.useSelect)((function(e){if(void 0!==_)return!_||e(c.p).hasFinishedResolution("getReport",[S])})),A=Object(a.useSelect)((function(e){if(void 0!==_)return _?e(c.p).getErrorForSelector("getReport",[S]):null})),N={startDate:b,endDate:v,metrics:[{name:"screenPageViews"}]},T=Object(a.useInViewSelect)((function(e){return e(c.p).getReport(N)})),x=Object(a.useSelect)((function(e){return e(c.p).hasFinishedResolution("getReport",[N])})),R=Object(a.useSelect)((function(e){return e(c.p).getErrorForSelector("getReport",[N])})),D=Number(null==T||null===(t=T.totals)||void 0===t||null===(n=t[0])||void 0===n||null===(i=n.metricValues)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.value)||0,M={startDate:b,endDate:v,dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3},P=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(M,m)})),I=u(M,m),B=d(M,m),L={startDate:b,endDate:v,dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3},z=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(L,m)})),F=u(L,m),V=d(L,m),W={startDate:b,endDate:v,dimensions:["pagePath","pageTitle"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:15};return{report:k,reportLoaded:y,reportError:j,siteKitAudiencesReport:w,siteKitAudiencesReportLoaded:C,siteKitAudiencesReportError:A,totalPageviews:D,totalPageviewsReportLoaded:x,totalPageviewsReportError:R,topCitiesReport:P,topCitiesReportLoaded:I,topCitiesReportErrors:B,topContentReport:z,topContentReportLoaded:F,topContentReportErrors:V,topContentPageTitlesReport:Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(W,m)})),topContentPageTitlesReportLoaded:u(W,m),topContentPageTitlesReportErrors:d(W,m)}}},function(e,t,n){"use strict";(function(e){var i=n(0),r=n(38),a=n(2),o=n(3),c=n(318),l=n(20),s=n(19),u=n(319),d=n(32),g=n(14),f=n(24),m=n(6),p=n(39),h=n(18),b=n(35),v=n(8),E=Object(i.forwardRef)((function(t,n){var i=Object(h.a)(),E=Object(b.a)(),_=Object(o.useSelect)((function(e){return e(m.a).didSetAudiences()})),O=Object(o.useSelect)((function(e){return e(s.a).getModuleIcon("analytics-4")})),k=Object(o.useSelect)((function(e){return e(g.c).getAdminURL("googlesitekit-settings")})),y=Object(o.useDispatch)(f.b).setValue,j=Object(o.useDispatch)(d.a).navigateTo,S=_?"no-longer-available":"none-selected";function w(){Object(v.J)("".concat(i,"_audiences-no-audiences"),"select_groups",S).finally((function(){y(p.i,!0)}))}return e.createElement(u.a,{ref:n,className:"googlesitekit-no-audience-banner",Icon:O,SVGGraphic:c.a},e.createElement("p",null,_&&Object(r.a)(Object(a.__)("It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})}),!_&&Object(r.a)(Object(a.__)("You don’t have any visitor groups selected. <a>Select groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})})),!E&&e.createElement("p",null,Object(r.a)(Object(a.__)("You can deactivate this widget in <a>Settings</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:function(){Object(v.J)("".concat(i,"_audiences-no-audiences"),"change_settings",S).finally((function(){j("".concat(k,"#/admin-settings"))}))}})})))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddGroupNotice}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(39),p=n(28),h=n(6),b=n(362),v=n(227),E=n(24),_=n(9);function AddGroupNotice(){var t=Object(d.useState)(!1),n=l()(t,2),i=n[0],a=n[1],c=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(m.a)})),s=Object(f.useSelect)((function(e){return e(E.b).getValue(m.i)})),u=Object(f.useSelect)((function(e){return e(_.p).isFetchingSyncAvailableAudiences()})),O=Object(f.useSelect)((function(e){return e(p.a).getValue(m.h,m.f)})),k=Object(f.useDispatch)(h.a).dismissItem,y=Object(d.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k(m.a);case 2:case"end":return e.stop()}}),e)}))),[k]);return Object(d.useEffect)((function(){Array.isArray(O)&&(O.length>1&&a(!0),s||1!==(null==O?void 0:O.length)||a(!1))}),[O,s,a]),c||i||u||!(null==O?void 0:O.length)?null:e.createElement(v.a,{className:"googlesitekit-audience-selection-panel__add-group-notice",content:Object(g.__)("By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),Icon:b.a,onDismiss:y})}AddGroupNotice.propTypes={savedItemSlugs:u.a.array}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fill:"currentColor",d:"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z"});t.a=function SvgLightbulb(e){return i.createElement("svg",r({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItems}));var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(791),u=n(2),d=n(0),g=n(3),f=n(39),m=n(24),p=n(6),h=n(9),b=n(8),v=n(476),E=n(115),_=n(477);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AudienceItems(t){var n=t.savedItemSlugs,i=void 0===n?[]:n,a=Object(d.useState)(!0),c=o()(a,2),l=c[0],O=c[1],y=Object(g.useDispatch)(p.a).setExpirableItemTimers,j=Object(g.useDispatch)(h.p).syncAvailableAudiences,S=Object(g.useSelect)((function(e){return e(m.b).getValue(f.i)})),w=Object(g.useSelect)((function(e){return e(h.p).isFetchingSyncAvailableAudiences()}));Object(d.useEffect)((function(){l&&S&&(j(),O(!1))}),[l,S,j]),Object(d.useEffect)((function(){if(!w&&S){var e=document.querySelector(".googlesitekit-audience-selection-panel .googlesitekit-selection-panel-item input");e&&e.focus()}}),[w,S]);var C=Object(g.useSelect)((function(e){var t=e(h.p),n=t.getConfigurableAudiences,i=t.getReport,r=t.getAudiencesUserCountReportOptions,a=t.getConfigurableSiteKitAndOtherAudiences,c=t.hasAudiencePartialData,l=n();if(void 0!==l){if(!l.length)return[];var s=a(),u=o()(s,2),d=u[0],g=u[1],f=c(d),m=e(p.a).getDateRangeDates({offsetDays:h.f}),b=f&&i(k(k({},m),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]})),v=!1===f||!0===f&&(null==g?void 0:g.length)>0?i(r(f?g:l)):{},E=(b||{}).rows,_=void 0===E?[]:E,O=(v||{}).rows,y=void 0===O?[]:O;return l.map((function(e){var t,n,i,r;return r="SITE_KIT_AUDIENCE"===e.audienceType&&f?j(_,"new-visitors"===e.audienceSlug?"new":"returning"):j(y,e.name),k(k({},e),{},{userCount:Number(null===(t=r)||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)||0})}))}function j(e,t){return e.find((function(e){var n,i;return(null==e||null===(n=e.dimensionValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)===t}))}})),A=function(e,t){var n=t.audienceType,i=t.description,a=t.displayName,o=t.name,c=t.userCount,l="";switch(n){case"DEFAULT_AUDIENCE":l=Object(u.__)("Created by default by Google Analytics","google-site-kit"),i="";break;case"SITE_KIT_AUDIENCE":l=Object(u.__)("Created by Site Kit","google-site-kit");break;case"USER_AUDIENCE":l=Object(u.__)("Already exists in your Analytics property","google-site-kit")}return k(k({},e),{},r()({},o,{title:a,subtitle:i,description:l,userCount:c,audienceType:n}))},N=null==C?void 0:C.filter((function(e){var t=e.name;return i.includes(t)})).reduce(A,{}),T=null==C?void 0:C.filter((function(e){var t=e.name;return!i.includes(t)})).reduce(A,{}),x=Object(g.useSelect)((function(e){if(void 0!==C){var t=e(p.a),n=t.hasFinishedResolution,i=t.hasExpirableItem;if(n("getExpirableItems"))return C.filter((function(e){var t=e.audienceType,n=e.name;return"DEFAULT_AUDIENCE"!==t&&!i("".concat(h.b).concat(n))})).map((function(e){var t=e.name;return"".concat(h.b).concat(t)}))}}));return Object(s.a)((function(){S&&void 0!==x&&x.length&&y(x.map((function(e){return{slug:e,expiresInSeconds:4*b.g}})))}),[S,y,x]),e.createElement(E.d,{availableItemsTitle:Object(u.__)("Additional groups","google-site-kit"),availableSavedItems:N,availableUnsavedItems:T,ItemComponent:w?_.a:v.a,savedItemSlugs:i})}AudienceItems.propTypes={savedItemSlugs:l.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItem}));var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(3),g=n(39),f=n(28),m=n(6),p=n(9),h=n(8),b=n(263),v=n(115),E=n(231);function AudienceItem(t){var n=t.slug,i=t.title,a=t.description,c=t.subtitle,l=t.userCount,_=t.audienceType,O="".concat(p.b).concat(n),k=Object(d.useSelect)((function(e){return e(f.a).getValue(g.h,g.f)})),y=Object(d.useSelect)((function(e){return e(m.a).hasExpirableItem(O)})),j=Object(d.useSelect)((function(e){return e(m.a).isExpirableItemActive(O)})),S=Object(d.useSelect)((function(e){return e(p.p).getAudienceUserCountReportErrors()}))||[],w=o()(S,2),C=w[0],A=w[1],N=[];A&&N.push(A),C&&N.push(C);var T=Object(d.useDispatch)(f.a).setValues,x=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed("audience-tile-".concat(n))})),R=Object(s.useCallback)((function(e){var t;T(g.h,(t={},r()(t,g.f,e.target.checked?k.concat([n]):k.filter((function(e){return e!==n}))),r()(t,g.g,!0),t))}),[k,T,n]),D="DEFAULT_AUDIENCE"!==_&&(!1===y||j),M=null==k?void 0:k.includes(n),P="audience-selection-checkbox-".concat(n);function ItemBadge(){return x?e.createElement(E.a,{label:Object(u.__)("Temporarily hidden","google-site-kit"),tooltipTitle:Object(u.__)("Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.","google-site-kit")}):D?e.createElement(b.a,null):null}return e.createElement(v.c,{id:P,slug:n,title:i,subtitle:c,description:a,isItemSelected:M,onCheckboxChange:R,suffix:N.length?"-":Object(h.C)(l),badge:(x||D)&&e.createElement(ItemBadge,null)})}AudienceItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,subtitle:l.a.string.isRequired,userCount:l.a.number.isRequired,audienceType:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItemPreviewBlock}));var i=n(40);function AudienceItemPreviewBlock(){return e.createElement("div",{className:"googlesitekit-selection-panel__loading"},e.createElement("div",{className:"googlesitekit-selection-panel__loading-left"},e.createElement(i.a,{width:"90px",height:"20px",className:"googlesitekit-selection-panel__loading-item"}),e.createElement(i.a,{width:"293px",height:"15px",className:"googlesitekit-selection-panel__loading-item"})),e.createElement("div",{className:"googlesitekit-selection-panel__loading-right"},e.createElement(i.a,{width:"43px",height:"20px",className:"googlesitekit-selection-panel__loading-item"})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(38),d=n(2),g=n(3),f=n(18),m=n(8),p=n(39),h=n(14),b=n(24),v=n(9),E=n(34),_=n(20),O=n(117),k=n(479),y=n(366);function ErrorNotice(){var t=Object(f.a)(),n=Object(g.useSelect)((function(e){return e(v.p).getErrorForAction("syncAvailableAudiences")})),i=Object(g.useSelect)((function(e){return e(v.p).getAudienceUserCountReportErrors()}))||[],a=l()(i,2),c=a[0],j=a[1],S=Object(g.useSelect)((function(e){return e(h.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),w=Object(g.useSelect)((function(e){return e(b.b).getValue(p.i)})),C=Object(g.useDispatch)(v.p),A=C.clearError,N=C.syncAvailableAudiences,T=Object(s.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A("syncAvailableAudiences");case 2:N();case 3:case"end":return e.stop()}}),e)}))),[A,N]),x=[];n&&x.push(n),j&&x.push(j),c&&x.push(c);var R=x.length>0,D=x.some((function(e){return Object(E.e)(e)}));if(Object(s.useEffect)((function(){w&&R&&Object(m.J)("".concat(t,"_audiences-sidebar"),D?"insufficient_permissions_error":"data_loading_error")}),[R,D,w,t]),!x.length)return null;var M=[j,c].some((function(e){return!!e}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice"},e.createElement("p",null,D?Object(u.a)(Object(d.__)("Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(_.a,{href:S,external:!0,hideExternalIndicator:!0},Object(d.__)("Get help","google-site-kit"))}):Object(d.__)("Data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice-actions"},D||M?e.createElement(O.a,{moduleSlug:"analytics-4",error:x,hideGetHelpLink:!0,buttonVariant:"danger",RequestAccessButton:k.a,RetryButton:y.a}):e.createElement(y.a,{handleRetry:T})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RequestAccessButton}));var i=n(1),r=n.n(i),a=n(2),o=n(10),c=n(8),l=n(18);function RequestAccessButton(t){var n=t.requestAccessURL,i=Object(l.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",tertiary:!0,href:n,target:"_blank",onClick:function(){Object(c.J)("".concat(i,"_audiences-sidebar"),"insufficient_permissions_error_request_access")}},Object(a.__)("Request access","google-site-kit"))}RequestAccessButton.propTypes={requestAccessURL:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var i=n(5),r=n.n(i),a=n(27),o=n.n(a),c=n(16),l=n.n(c),s=n(15),u=n.n(s),d=n(7),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(2),b=n(3),v=n(18),E=n(8),_=n(39),O=n(28),k=n(6),y=n(9),j=n(115);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,i=t.isOpen,a=t.closePanel,c=t.savedItemSlugs,s=Object(v.a)(),d=Object(b.useSelect)((function(e){return e(O.a).getValue(_.h,_.f)})),g=Object(b.useSelect)((function(e){return e(k.a).getAudienceSettings()})),f=Object(b.useSelect)((function(e){return e(k.a).getErrorForAction("saveAudienceSettings",[w(w({},g),{},{configuredAudiences:d})])})),m=Object(b.useSelect)((function(e){return e(k.a).isSavingAudienceSettings()})),S=Object(b.useSelect)((function(e){var t=e(k.a).getDismissedItems();return null==t?void 0:t.filter((function(e){return e.startsWith("audience-tile-")}))})),C=Object(b.useSelect)((function(e){return e(y.p).getAvailableAudiences()})),A=Object(b.useDispatch)(k.a),N=A.saveAudienceSettings,T=A.removeDismissedItems,x=Object(b.useSelect)(k.a).getConfiguredAudiences,R=(null==d?void 0:d.length)||0;R<_.k?n=Object(h.sprintf)( /* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */ Object(h._n)("Select at least %1$d group (%2$d selected)","Select at least %1$d groups (%2$d selected)",_.k,"google-site-kit"),_.k,R):R>_.j&&(n=Object(h.sprintf)( /* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */ Object(h.__)("Select up to %1$d groups (%2$d selected)","google-site-kit"),_.j,R));var D=Object(p.useState)(null),M=u()(D,2),P=M[0],I=M[1],B=Object(p.useCallback)(function(){var e=l()(r.a.mark((function e(t){var n,i,a,c;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(null),e.next=3,N({configuredAudiences:t});case 3:if(n=e.sent,i=n.error){e.next=14;break}if(a=(null==S?void 0:S.filter((function(e){var n=e.replace("audience-tile-","");return!t.includes(n)})))||[],t.every((function(e){return null==S?void 0:S.includes("audience-tile-".concat(e))}))&&a.push("audience-tile-".concat(t[0])),!((null==a?void 0:a.length)>0)){e.next=14;break}return e.next=11,T.apply(void 0,o()(a));case 11:c=e.sent,(i=c.error)&&I(i);case 14:return e.abrupt("return",{error:i});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,T,N]),L=Object(p.useCallback)((function(){var e={USER_AUDIENCE:"user",SITE_KIT_AUDIENCE:"site-kit",DEFAULT_AUDIENCE:"default"},t=x(),n=Object.keys(e).map((function(n){var i=t.filter((function(e){var t=null==C?void 0:C.find((function(t){var n=t.name;return e===n}));return(null==t?void 0:t.audienceType)===n}));return"".concat(e[n],":").concat(i.length)})).join(",");Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_save",n)}),[C,x,s]),z=Object(p.useCallback)((function(){Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_cancel")}),[s]);return e.createElement(j.a,{savedItemSlugs:c,selectedItemSlugs:d,saveSettings:B,saveError:f||P,itemLimitError:n,minSelectedItemCount:_.k,maxSelectedItemCount:_.j,isBusy:m,isOpen:i,closePanel:a,onSaveSuccess:L,onCancel:z})}Footer.propTypes={isOpen:m.a.bool,closePanel:m.a.func.isRequired,savedItemSlugs:m.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(35),f=n(20),m=n(115);function Header(t){var n=t.closePanel,i=Object(g.a)(),r=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),p=Object(l.useSelect)((function(e){return e(d.a).isSavingAudienceSettings()})),h=Object(l.useDispatch)(s.a).navigateTo,b=Object(a.useCallback)((function(){return h("".concat(r,"#/admin-settings"))}),[h,r]);return e.createElement(m.b,{title:Object(c.__)("Select visitor groups","google-site-kit"),onCloseClick:n},!i&&e.createElement("p",null,Object(o.a)(Object(c.__)("You can deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:b,disabled:p}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:r.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var i=n(2),r=n(38),a=n(3),o=n(14),c=n(20);function LearnMoreLink(){var t=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__learn-more"},Object(r.a)(Object(i.__)("Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>","google-site-kit"),{link:e.createElement(c.a,{secondary:!0,href:t,external:!0,hideExternalIndicator:!0}),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceCreationNotice}));var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(157),f=n(3),m=n(18),p=n(8),h=n(39),b=n(28),v=n(14),E=n(6),_=n(24),O=n(9),k=n(34),y=n(20),j=n(119),S=n(246),w=n(334),C=n(484);function AudienceCreationNotice(){var t=Object(m.a)(),n=Object(d.useState)(!1),r=s()(n,2),o=r[0],l=r[1],A=Object(f.useSelect)((function(e){var t=(0,e(O.p).getConfigurableAudiences)();if(void 0!==t)return t.length?t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})):[]})),N=Object(f.useDispatch)(E.a).dismissItem,T=Object(f.useDispatch)(_.b).setValue,x=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.d)})),R=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.b)})),D=Object(f.useSelect)((function(e){return e(E.a).hasScope(O.g)})),M=Object(f.useSelect)((function(e){return e(_.b).getValue(h.i)})),P=Object(g.a)(e.location.href,{notification:"audience_segmentation"}),I=Object(f.useDispatch)(b.a).setValues,B=Object(f.useDispatch)(E.a).setPermissionScopeError,L=Object(f.useDispatch)(O.p),z=L.createAudience,F=L.syncAvailableAudiences,V=Object(f.useSelect)((function(e){return e(b.a).getValue(h.c,"autoSubmit")})),W=Object(f.useSelect)((function(e){return e(b.a).getValue(h.c,"audienceToCreate")})),H=Object(d.useState)([]),U=s()(H,2),q=U[0],G=U[1],K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(t){var n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(t),D){e.next=5;break}return I(h.c,{autoSubmit:!0,audienceToCreate:t}),B({code:k.a,message:Object(u.__)("Additional permissions are required to create a new audience in Analytics.","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:P}}),e.abrupt("return");case 5:return I(h.c,{autoSubmit:!1,audienceToCreate:void 0}),e.next=8,z(O.r[t]);case 8:return n=e.sent,i=n.error,G(i?[i]:[]),e.next=13,F();case 13:l(!1),i||T(h.e,!0);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[D,z,F,I,B,P,T]),J=Object(f.useSelect)((function(e){return e(v.c).getSetupErrorCode()})),Y=V&&"access_denied"===J;Object(d.useEffect)((function(){function e(){return(e=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!D||!V){e.next=4;break}return T(h.i,!0),e.next=4,K(W);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[W,K,D,V,T]);var X=!x&&(null==A?void 0:A.length)<2;if(Object(d.useEffect)((function(){M&&X&&Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_notice")}),[M,X,t]),Object(d.useEffect)((function(){!M||D||R||Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_oauth_notice")}),[D,R,M,t]),!X)return null;var $=Object.keys(O.r).filter((function(e){return!A.some((function(t){return t.audienceSlug===e}))}));return i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice"},i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-header"},i.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-title"},Object(u.__)("Create groups suggested by Site Kit","google-site-kit")),i.createElement(y.a,{className:"googlesitekit-audience-selection-panel__audience-creation-notice-close",onClick:function(){N(h.d)},linkButton:!0},i.createElement(j.a,{width:"15",height:"15"}))),i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-body"},$&&$.map((function(e){return i.createElement("div",{key:e,className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience"},i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details"},i.createElement("h3",null,O.r[e].displayName),i.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description"},O.r[e].description)),i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button"},i.createElement(S.b,{spinnerPosition:S.a.BEFORE,onClick:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"create_audience",e).finally((function(){K(e)}))},isSaving:o===e},Object(u.__)("Create","google-site-kit"))))}))),!D&&!R&&i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-info"},i.createElement(w.b,{title:Object(u.__)("Creating these groups require more data tracking. You will be directed to update your Analytics property.","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),onDismiss:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"dismiss_oauth_notice").finally((function(){N(h.b)}))},variant:w.a.WARNING,hideIcon:!0})),(q.length>0||Y)&&i.createElement(C.a,{apiErrors:q,hasOAuthError:Y}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationErrorNotice}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(18),u=n(34),d=n(8),g=n(39),f=n(14),m=n(24),p=n(9),h=n(10),b=n(20),v=n(71);function AudienceCreationErrorNotice(t){var n,i,r=t.apiErrors,E=t.hasOAuthError,_=Object(s.a)(),O=Array.isArray(r)?r:[r],k=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),y=Object(l.useSelect)((function(e){return e(p.p).getServiceEntityAccessURL()})),j=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"access_denied"})})),S=Object(l.useSelect)((function(e){return e(m.b).getValue(g.i)})),w=O.length>0,C=O.some((function(e){return Object(u.e)(e)}));return Object(a.useEffect)((function(){if(S&&(w||E)){var e="setup_error";E?e="auth_error":C&&(e="insufficient_permissions_error"),Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),e)}}),[w,C,E,S,_]),O.length||E?(E?i=Object(o.a)(Object(c.__)("Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:j,external:!0,hideExternalIndicator:!0},Object(c.__)("get help","google-site-kit"))}):C?(n=Object(c.__)("Insufficient permissions","google-site-kit"),i=Object(o.a)(Object(c.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(b.a,{href:k,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))})):(n=Object(c.__)("Analytics update failed","google-site-kit"),i=Object(c.__)("Click on Create to try again.","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice"},e.createElement(v.a,{width:24,height:24}),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__content"},n&&e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__title"},n),e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__description"},i)),C&&e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__actions"},e.createElement(h.Button,{href:y,target:"_blank",danger:!0,onClick:function(){Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),"insufficient_permissions_error_request_access")}},Object(c.__)("Request access","google-site-kit"))))):null}AudienceCreationErrorNotice.propTypes={apiErrors:r.a.oneOfType([r.a.arrayOf(r.a.object),r.a.object,r.a.array]),hasOAuthError:r.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationSuccessNotice}));var i=n(0),r=n(2),a=n(3),o=n(18),c=n(8),l=n(39),s=n(24),u=n(10),d=n(151);function AudienceCreationSuccessNotice(){var t=Object(o.a)(),n=Object(a.useDispatch)(s.b).setValue,g=Object(a.useSelect)((function(e){return e(s.b).getValue(l.e)})),f=Object(a.useSelect)((function(e){return e(s.b).getValue(l.i)}));return Object(i.useEffect)((function(){f&&g&&Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"view_notification")}),[f,g,t]),g?e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice"},e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-icon"},e.createElement(d.a,{width:24,height:24})),e.createElement("p",{className:"googlesitekit-audience-selection-panel__success-notice-message"},Object(r.__)("Visitor group created successfully!","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-actions"},e.createElement(u.Button,{tertiary:!0,onClick:function(){Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"dismiss_notification").finally((function(){n(l.e,!1)}))}},Object(r.__)("Got it","google-site-kit")))):null}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("defs",null,i.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__c",x:109.551,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),i.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__d",x:236.859,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),i.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h480v150H0z"}))),o=i.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),c=i.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),l=i.createElement("g",{mask:"url(#audience-connect-analytics-cta-graphic_svg__b)"},i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__c)"},i.createElement("rect",{x:125.551,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),i.createElement("rect",{x:139.555,y:93.193,width:39.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:139.555,y:82.189,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:139.555,y:118.259,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),i.createElement("rect",{x:139.535,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),i.createElement("path",{d:"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),i.createElement("rect",{x:138.555,y:129.263,width:41.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M238.141 65.862H126.286",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__d)"},i.createElement("rect",{x:252.859,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),i.createElement("rect",{x:266.809,y:93.193,width:38.859,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:266.809,y:82.189,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:266.805,y:118.259,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),i.createElement("rect",{x:266.844,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),i.createElement("path",{d:"M358.094 65.862H252.862",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),i.createElement("rect",{x:265.812,y:129.263,width:40.852,height:7.002,rx:3.501,fill:"#EBEEF0"}));t.a=function SvgAudienceConnectAnalyticsCtaGraphic(e){return i.createElement("svg",r({viewBox:"-3 1 333.666 149.252",fill:"none"},e),a,i.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic_svg__a)",transform:"translate(-73)"},o,i.createElement("mask",{id:"audience-connect-analytics-cta-graphic_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:72,y:12,width:332,height:228},c),l))}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),c=i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)",mask:"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)"},i.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),l=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714"},i.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})),i.createElement("filter",{id:"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714",x:77,y:17.181,width:399.32,height:185.111,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16714"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16714",result:"shape"})));t.a=function SvgAudienceConnectAnalyticsCtaGraphicTablet(e){return i.createElement("svg",r({viewBox:"0 0 553 146",fill:"none"},e),i.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)"},a,i.createElement("mask",{id:"audience-connect-analytics-cta-graphic-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:48,y:1,width:441,height:237},o),c),l)}},,,,,,,,function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(1),o=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Spinner(t){var n=t.isSaving,i=t.style,r=void 0===i?{}:i;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},r)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var i=n(2);function r(e){return 0===e.length}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return 0===e.length?1===t?Object(i.__)("Please select an answer","google-site-kit"):Object(i.__)("Please select at least 1 answer","google-site-kit"):null}},,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var i=n(3),r=n(19),a=n(6),o=n(212),c=n(219);function ModuleSettingsWarning(t){var n=t.slug,l=Object(i.useSelect)((function(e){var t;return null===(t=e(r.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return l?a.c===l.code?e.createElement(c.a,{moduleSlug:n}):e.createElement(o.a,null,l.message):null}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M1 3.838L4.106 7 10 1",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgTick(e){return i.createElement("svg",r({viewBox:"0 0 11 9",fill:"none"},e),a)}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i=["ads","reader-revenue-manager","sign-in-with-google"],r=["sign-in-with-google"],a=[]},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSelectOptions}));var i=n(7),r=n.n(i),a=n(27),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(56),d=n(2),g=n(3),f=n(10),m=n(6),p=n(28),h=n(32),b=n(17),v=n(103),E=n(8),_=n(18);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function UserInputSelectOptions(t){var n=t.slug,i=t.descriptions,a=t.options,c=t.max,l=t.next,k=t.showInstructions,y=t.alignLeftOptions,j=Object(_.a)(),S=Object(g.useSelect)((function(e){return e(m.a).getUserInputSetting(n)||[]})),w=Object(g.useSelect)((function(e){return e(m.a).isSavingUserInputSettings(S)})),C=Object(g.useSelect)((function(e){return e(h.a).isNavigating()})),A=Object(g.useDispatch)(m.a).setUserInputSetting,N=Object(s.useRef)();Object(s.useEffect)((function(){if(null==N?void 0:N.current){var e=function(e){e&&setTimeout((function(){e.focus()}),50)},t=1===c?"radio":"checkbox",n=N.current.querySelector('input[type="'.concat(t,'"]:checked'));if(n)e(n);else e(N.current.querySelector('input[type="'.concat(t,'"]')))}}),[c]);var T=Object(g.useDispatch)(p.a).setValues,x=Object(s.useCallback)((function(e){var t=e.target,i=t.value,a=t.checked,l=new Set([i].concat(o()(S)));a||l.delete(i);var s=n===v.h?"content_frequency_question_answer":"site_".concat(n,"_question_answer"),u=Array.from(l).slice(0,c);Object(E.J)("".concat(j,"_kmw"),s,u.join()),n===v.g&&T(v.b,r()({},n,S)),A(n,u)}),[c,A,n,S,j,T]),R=Object(s.useCallback)((function(e){e.keyCode===u.b&&S.length>0&&S.length<=c&&!S.includes("")&&l&&"function"==typeof l&&l()}),[S,l,c]),D=r()({},c>1?"onChange":"onClick",x),M=1===c?f.Radio:f.Checkbox,P=Object.keys(a).map((function(t){var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:"".concat(n,"-").concat(t),value:t,description:null==i?void 0:i[t],checked:S.includes(t),onKeyDown:R,alignLeft:y},D);return c>1?(o.disabled=S.length>=c&&!S.includes(t),o.name="".concat(n,"-").concat(t)):o.name=n,(w||C)&&(o.disabled=!0),e.createElement("div",{key:t,className:"googlesitekit-user-input__select-option"},e.createElement(M,o,a[t]))}));return e.createElement(b.a,{className:"googlesitekit-user-input__select-options-wrapper",lgStart:6,lgSize:6,mdSize:8,smSize:4},k&&e.createElement("p",{className:"googlesitekit-user-input__select-instruction"},e.createElement("span",null,Object(d.sprintf)( /* translators: %s: number of answers allowed. */ Object(d._n)("Select only %d answer","Select up to %d answers",c,"google-site-kit"),c))),e.createElement("div",{className:"googlesitekit-user-input__select-options",ref:N},P))}UserInputSelectOptions.propTypes={slug:l.a.string.isRequired,descriptions:l.a.shape({}),options:l.a.shape({}).isRequired,max:l.a.number,next:l.a.func,showInstructions:l.a.bool,alignLeftOptions:l.a.bool},UserInputSelectOptions.defaultProps={max:1,showInstructions:!1,alignLeftOptions:!1}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return AudienceSegmentationSetupSuccessSubtleNotification}));var r=n(2),a=n(209),o=n(89),c=n(25),l=n(192),s=n(265),u=n(3),d=n(60),g="setup-success-notification-audiences";function AudienceSegmentationSetupSuccessSubtleNotification(t){var n=t.id,f=t.Notification,m=Object(c.e)(),p=Object(u.useDispatch)(d.a).dismissNotification;return i.createElement(f,null,i.createElement(a.a,{title:Object(r.__)("Success! Visitor groups added to your dashboard","google-site-kit"),description:Object(r.__)("Get to know how different types of visitors interact with your site, e.g. which pages they visit and for how long","google-site-kit"),dismissCTA:i.createElement(l.a,{id:n,primary:!1,dismissLabel:Object(r.__)("Got it","google-site-kit")}),additionalCTA:i.createElement(s.a,{id:n,ctaLabel:Object(r.__)("Show me","google-site-kit"),onCTAClick:function(t){t.preventDefault(),p(g),setTimeout((function(){e.scrollTo({top:Object(o.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",m),behavior:"smooth"})}),50)}})}))}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionNotice}));var i=n(12),r=n.n(i),a=n(2);function UserInputQuestionNotice(t){var n=t.className;return e.createElement("p",{className:r()(n,"googlesitekit-user-input__question-notice")},Object(a.__)("You can always edit your answers later from Settings","google-site-kit"))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M10.6.6L12 2 6 8 0 2 1.4.6 6 5.2z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgChevronDownV2(e){return i.createElement("svg",r({viewBox:"0 0 12 8"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionAuthor}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(6);function UserInputQuestionAuthor(t){var n=t.slug,i=Object(o.useSelect)((function(e){return e(c.a).getUserInputSettingAuthor(n)}));return i&&i.photo&&i.login?e.createElement("div",{className:"googlesitekit-user-input__author"},e.createElement("p",null,Object(a.__)("This question has been answered by:","google-site-kit")),e.createElement("div",{className:"googlesitekit-user-input__author-info"},e.createElement("img",{alt:i.login,src:i.photo}),i.login)):null}UserInputQuestionAuthor.propTypes={slug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CancelUserInputButton}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(10),l=n(14),s=n(32);function CancelUserInputButton(t){var n=t.disabled,i=Object(o.useSelect)((function(e){return e(l.c).getAdminURL("googlesitekit-dashboard")})),r=Object(o.useDispatch)(s.a).navigateTo;return e.createElement(c.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--cancel",onClick:function(){return r(i)},disabled:n},Object(a.__)("Cancel","google-site-kit"))}CancelUserInputButton.propTypes={disabled:r.a.bool}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e,i){var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(38),f=n(56),m=n(161),p=n(3),h=n(114),b=n(41),v=n(76),E=n(20),_=n(14),O=n(32),k=n(36),y=n(18);t.a=function ResetButton(t){var n=t.children,r=Object(p.useSelect)((function(e){return e(_.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=Object(p.useSelect)((function(e){return e(_.c).isDoingReset()})),l=Object(p.useSelect)((function(e){return e(O.a).isNavigatingTo(r||"")})),j=Object(d.useState)(!1),S=s()(j,2),w=S[0],C=S[1],A=Object(d.useState)(!1),N=s()(A,2),T=N[0],x=N[1],R=Object(m.a)(C,3e3);Object(d.useEffect)((function(){o||l?C(!0):R(!1)}),[o,l,R]),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&x(!1)};return T&&e.addEventListener("keyup",t,!1),function(){T&&e.removeEventListener("keyup",t)}}),[T]);var D=Object(p.useDispatch)(_.c).reset,M=Object(p.useDispatch)(O.a).navigateTo,P=Object(y.a)(),I=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return e.next=4,Object(b.b)();case 4:return e.next=6,Object(k.b)(P,"reset_plugin");case 6:M(r);case 7:case"end":return e.stop()}}),e)}))),[M,r,D,P]),B=Object(d.useCallback)((function(){x(!T)}),[T]),L=Object(d.useCallback)((function(){x(!0)}),[]);return i.createElement(d.Fragment,null,i.createElement(E.a,{className:"googlesitekit-reset-button",onClick:L},n||Object(u.__)("Reset Site Kit","google-site-kit")),i.createElement(v.a,null,i.createElement(h.a,{dialogActive:T,handleConfirm:I,handleDialog:B,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(g.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:i.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,small:!0,inProgress:w})))}}).call(this,n(26),n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputPreviewGroup}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(7),l=n.n(c),s=n(1),u=n.n(s),d=n(12),g=n.n(d),f=n(0),m=n(817),p=n(2),h=n(10),b=n(3),v=n(24),E=n(6),_=n(32),O=n(8),k=n(535),y=n(18),j=n(103),S=n(116),w=n(20),C=n(178),A=n(586),N=n(671),T=n(1059),x=n(210),R=n(28);function UserInputPreviewGroup(t){var n=t.slug,i=t.title,a=t.values,c=t.options,s=void 0===c?{}:c,u=t.loading,d=void 0!==u&&u,D=t.settingsView,M=void 0!==D&&D,P=t.onChange,I=Object(x.a)("conversionReporting"),B=Object(y.a)(),L=Object(b.useSelect)((function(e){return e(_.a).isNavigating()})),z=Object(b.useSelect)((function(e){return e(v.b).getValue(j.c)})),F=Object(b.useSelect)((function(e){return e(E.a).hasUserInputSettingChanged(n)})),V=Object(b.useSelect)((function(e){var t=e(E.a).getUserInputSettings();return e(E.a).isSavingUserInputSettings(t)})),W=Object(b.useSelect)((function(e){return e(E.a).getErrorForAction("saveUserInputSettings",[])})),H=Object(b.useSelect)((function(e){return e(R.a).getValue(j.b,j.g)})),U=Object(m.a)(H);Object(f.useEffect)((function(){I&&n===j.g&&U!==H&&void 0===H&&setTimeout((function(){var e,t;null===(e=te.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),100)}),[I,H,U,n]);var q=Object(b.useDispatch)(v.b).setValues,G=Object(b.useDispatch)(E.a),K=G.saveUserInputSettings,J=G.resetUserInputSettings,Y=z===n,X=V||L,$="".concat(B,"_kmw"),Z=Object(f.useCallback)((function(){var e,t;Y?(q(l()({},j.c,void 0)),null===(e=te.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)):(Object(O.J)($,"question_edit",n),q(l()({},j.c,n)))}),[$,Y,q,n]),Q=Object(k.a)(a,j.d[n]),ee=Object(k.b)(a),te=Object(f.useRef)(),ne=Object(f.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ee){e.next=2;break}return e.abrupt("return");case 2:if(j.g!==n||!I||!P){e.next=6;break}P(),e.next=10;break;case 6:return e.next=8,K();case 8:e.sent.error||(Object(O.J)($,"question_update",n),Z());case 10:case"end":return e.stop()}}),e)}))),[ee,$,K,n,Z,P,I]),ie=Object(f.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M){e.next=6;break}if(!(X||z&&!Y)){e.next=3;break}return e.abrupt("return");case 3:if(!Y){e.next=6;break}return e.next=6,J();case 6:Z();case 7:case"end":return e.stop()}}),e)}))),[M,X,z,Y,J,Z]),re=Object(f.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!X){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,J();case 4:Z();case 5:case"end":return e.stop()}}),e)}))),[X,J,Z]);return e.createElement("div",{className:g()("googlesitekit-user-input__preview-group",{"googlesitekit-user-input__preview-group--editing":Y,"googlesitekit-user-input__preview-group--individual-cta":M})},e.createElement("div",{className:"googlesitekit-user-input__preview-group-title"},e.createElement(C.a,{loading:d,width:"340px",height:"21px"},e.createElement("p",null,i)),e.createElement(C.a,{loading:d,className:"googlesitekit-margin-left-auto",width:"60px",height:"26px"},e.createElement(w.a,{secondary:!0,onClick:ie,ref:te,disabled:X||!!z&&!Y,linkButton:!0,trailingIcon:e.createElement(T.a,{width:20,height:20})},Y&&Object(p.__)("Close","google-site-kit"),!Y&&Object(p.__)("Edit","google-site-kit")))),!Y&&e.createElement("div",{className:"googlesitekit-user-input__preview-answers"},e.createElement(C.a,{loading:d,width:"340px",height:"36px"},Q&&e.createElement("p",{className:"googlesitekit-error-text"},Q),!Q&&a.map((function(t){return e.createElement("div",{key:t,className:"googlesitekit-user-input__preview-answer"},s[t])})))),Y&&e.createElement(f.Fragment,null,e.createElement(A.a,{slug:n,max:j.d[n],options:s,alignLeftOptions:!0}),Q&&e.createElement("p",{className:"googlesitekit-error-text"},Q),M&&e.createElement(f.Fragment,null,e.createElement(N.a,{slug:n}),W&&e.createElement(S.a,{error:W}),e.createElement("div",{className:"googlesitekit-user-input__preview-actions"},e.createElement(h.SpinnerButton,{disabled:ee,onClick:F?ne:Z,isSaving:X},F||V?Object(p.__)("Apply changes","google-site-kit"):Object(p.__)("Save","google-site-kit")),e.createElement(h.Button,{tertiary:!0,disabled:X,onClick:re},Object(p.__)("Cancel","google-site-kit"))))))}UserInputPreviewGroup.propTypes={slug:u.a.string.isRequired,title:u.a.string.isRequired,values:u.a.arrayOf(u.a.string).isRequired,options:u.a.shape({}),loading:u.a.bool,settingsView:u.a.bool,onChange:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModules}));var i=n(3),r=n(19),a=n(185),o=n(1064);function SettingsActiveModules(){var t=Object(i.useSelect)((function(e){return e(r.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&n})).sort((function(e,t){return e.order-t.order}));return e.createElement(a.a,{rounded:!0},n.map((function(t){var n=t.slug;return e.createElement(o.a,{key:n,slug:n})})))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPConsentAPIRequirement}));var i=n(1),r=n.n(i);function WPConsentAPIRequirement(t){var n=t.title,i=t.description,r=t.footer;return e.createElement("div",{className:"googlesitekit-settings-consent-mode-requirement"},e.createElement("h4",null,n),e.createElement("p",{className:"googlesitekit-settings-consent-mode-requirement__description"},i),e.createElement("footer",{className:"googlesitekit-settings-consent-mode-requirement__footer"},r))}WPConsentAPIRequirement.propTypes={title:r.a.string.isRequired,description:r.a.node.isRequired,footer:r.a.node.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsKeyMetrics}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(10),g=n(3),f=n(6),m=n(17),p=n(40);function SettingsKeyMetrics(t){var n=t.loading,i=void 0!==n&&n,a=Object(g.useSelect)((function(e){return e(f.a).isKeyMetricsWidgetHidden()})),c=Object(g.useSelect)((function(e){return e(f.a).getKeyMetrics()})),l=Object(g.useDispatch)(f.a),h=l.setKeyMetricsSetting,b=l.saveKeyMetricsSettings,v=Object(s.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h("isWidgetHidden",!a);case 2:return e.next=4,b({widgetSlugs:void 0});case 4:case"end":return e.stop()}}),e)}))),[a,b,h]);return i?e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12,className:"googlesitekit-overflow-hidden"},e.createElement(p.a,{width:"260px",height:"21.3px"})))):void 0!==a&&(null==c?void 0:c.length)?e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(d.Switch,{label:Object(u.__)("Display key metrics in dashboard","google-site-kit"),checked:!a,onClick:v,hideLabel:!1})))):null}SettingsKeyMetrics.propTypes={loading:l.a.bool}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var i=n(15),r=n.n(i),a=n(173),o=n(140),c=n(0),l=n(2),s=n(10),u=n(242),d=n(383),g=n(185),f=n(1049),m=n(17),p=n(243),h=n(36),b=n(18);function SettingsApp(){var t=Object(a.h)().pathname.split("/"),n=r()(t,2)[1],i=SettingsApp.basePathToTabIndex[n],v=Object(b.a)(),E=Object(c.useCallback)((function(){Object(h.b)(v,"tab_select",n)}),[n,v]);return e.createElement(c.Fragment,null,e.createElement(u.a,null,e.createElement(p.a,null)),e.createElement("div",{className:"googlesitekit-module-page"},e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(d.a,{title:Object(l.__)("Settings","google-site-kit")})),e.createElement(m.a,{size:12},e.createElement(g.a,{transparent:!0,rounded:!0},e.createElement(s.TabBar,{activeIndex:i,className:"googlesitekit-tab-bar__settings",handleActiveIndexUpdate:E},e.createElement(s.Tab,{tag:o.b,to:"/connected-services",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Connected Services","google-site-kit"))),e.createElement(s.Tab,{tag:o.b,to:"/connect-more-services",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Connect More Services","google-site-kit"))),e.createElement(s.Tab,{tag:o.b,to:"/admin-settings",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Admin Settings","google-site-kit")))))),e.createElement(m.a,{size:12},e.createElement(f.a,null))))))}SettingsApp.propTypes={},SettingsApp.basePathToTabIndex={"connected-services":0,"connect-more-services":1,"admin-settings":2},t.a=Object(a.j)(SettingsApp)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(173),r=n(3),a=n(19),o=n(1050),c=n(786),l=n(1073);t.a=function SettingsModules(){var t=Object(r.useSelect)((function(e){return e(a.a).getModules()}));return void 0!==t&&Object.values(t).length?e.createElement(i.d,null,e.createElement(i.b,{path:"/connected-services/:moduleSlug/:action"},e.createElement(c.a,null)),e.createElement(i.b,{path:"/connected-services/:moduleSlug"},e.createElement(c.a,null)),e.createElement(i.b,{path:"/connected-services"},e.createElement(c.a,null)),e.createElement(i.b,{path:"/connect-more-services"},e.createElement(l.a,null)),e.createElement(i.b,{path:"/admin-settings"},e.createElement(o.a,null)),e.createElement(i.a,{from:"/settings/:moduleSlug/edit",to:"/connected-services/:moduleSlug/edit"}),e.createElement(i.a,{from:"/settings/:moduleSlug",to:"/connected-services/:moduleSlug"}),e.createElement(i.a,{from:"/settings",to:"/connected-services"}),e.createElement(i.a,{from:"/connect",to:"/connect-more-services"}),e.createElement(i.a,{from:"/admin",to:"/admin-settings"}),e.createElement(i.a,{to:"/connected-services"})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsAdmin}));var i=n(2),r=n(3),a=n(19),o=n(6),c=n(64),l=n(9),s=n(185),u=n(17),d=n(218),g=n(674),f=n(1051),m=n(1055),p=n(1061),h=n(331),b=n(40),v=n(1062),E=n(210);function SettingsAdmin(){var t=Object(E.a)("audienceSegmentation"),n=Object(r.useSelect)((function(e){return t&&e(o.a).getConfiguredAudiences()})),_=Object(r.useSelect)((function(e){return e(a.a).isModuleConnected("analytics-4")})),O=Object(r.useSelect)((function(e){return e(c.b).isGatheringData()})),k=Object(r.useSelect)((function(e){return!!_&&e(l.p).isGatheringData()})),y=_&&!1===O&&!1===k;return Object(r.useSelect)((function(e){return!e(a.a).hasFinishedResolution("isModuleConnected",["analytics-4"])||!1!==_&&(!e(c.b).hasFinishedResolution("isGatheringData")||!e(l.p).hasFinishedResolution("isGatheringData"))}))?e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement(b.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(u.a,{size:12},e.createElement(b.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(u.a,{size:12},e.createElement(b.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(u.a,{size:12},e.createElement(b.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"}))):e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement(f.a,null)),y&&e.createElement(u.a,{size:12},e.createElement(m.a,null)),t&&(_||!!n)&&e.createElement(u.a,{size:12},e.createElement(v.a,null)),e.createElement(u.a,{size:12},e.createElement(s.a,{title:Object(i.__)("Plugin Status","google-site-kit"),header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("p",{className:"googlesitekit-settings-module__status"},Object(i.__)("Site Kit is connected","google-site-kit"),e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"},e.createElement(h.a,{width:10,height:8}))))))),e.createElement("footer",{className:"googlesitekit-settings-module__footer"},e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement(g.a,null)))))))),e.createElement(u.a,{size:12},e.createElement(p.a,null)),e.createElement(u.a,{size:12},e.createElement(s.a,{className:"googlesitekit-settings-meta",title:Object(i.__)("Tracking","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--nomargin"},e.createElement(d.a,null))))))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardConsentMode}));var i=n(15),r=n.n(i),a=n(12),o=n.n(a),c=n(222),l=n(0),s=n(2),u=n(3),d=n(14),g=n(6),f=n(17),m=n(93),p=n(1052),h=n(1054),b=n(185),v=n(148),E=n(8),_=n(18);function SettingsCardConsentMode(){var t=Object(_.a)(),n=Object(u.useSelect)((function(e){return e(d.c).isAdsConnected()})),i=Object(u.useSelect)((function(e){return e(d.c).isConsentModeEnabled()})),a=Object(u.useSelect)((function(e){return e(d.c).getConsentAPIInfo()})),O=Object(u.useSelect)((function(e){var t=e(d.c),n=t.isResolving,i=t.hasFinishedResolution;return!i("getConsentModeSettings")||!i("getConsentAPIInfo")||n("getConsentModeSettings")||n("getConsentAPIInfo")})),k=Object(l.useRef)(),y=Object(c.a)(k,{threshold:.25}),j=Object(l.useState)(!1),S=r()(j,2),w=S[0],C=S[1],A=!!(null==y?void 0:y.intersectionRatio),N=Object(u.useSelect)((function(e){return e(d.c).isUsingProxy()})),T=Object(u.useDispatch)(g.a).triggerSurvey;return Object(l.useEffect)((function(){A&&!w&&(Object(E.J)("".concat(t,"_CoMo"),"view_requirements"),n&&!1===i&&N&&T("view_como_setup_cta",{ttl:E.a}),C(!0))}),[A,w,t,N,T,n,i]),e.createElement(b.a,{title:Object(s.__)("Consent Mode","google-site-kit"),badge:n?e.createElement(m.a,{className:"googlesitekit-badge--primary",label:Object(s.__)("Recommended","google-site-kit")}):null,header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active googlesitekit-settings-consent-mode",ref:k},e.createElement(f.e,null,e.createElement(f.k,null,e.createElement(f.a,{size:12,className:o()({"googlesitekit-overflow-hidden":O})},e.createElement(p.a,{loading:O}))),!O&&e.createElement(l.Fragment,null,n&&!i&&e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(v.c,{className:"googlesitekit-settings-consent-mode__recommendation-notice",type:v.a,notice:Object(s.__)("If you have Google Ads campaigns for this site, it’s highly recommended to enable Consent mode - otherwise, you won’t be able to collect any metrics on the effectiveness of your campaigns in regions like the European Economic Area.","google-site-kit")}))),!!a&&i&&e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(h.a,null)))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConsentModeSwitch}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(38),d=n(2),g=n(10),f=n(3),m=n(14),p=n(6),h=n(67),b=n(20),v=n(178),E=n(1053),_=n(8),O=n(18),k=n(270);function ConsentModeSwitch(t){var n=t.loading,i=Object(O.a)(),a=Object(s.useState)(null),c=l()(a,2),y=c[0],j=c[1],S=Object(s.useState)(!1),w=l()(S,2),C=w[0],A=w[1],N=Object(f.useSelect)((function(e){return e(m.c).isConsentModeEnabled()})),T=Object(f.useSelect)((function(e){return e(m.c).getDocumentationLinkURL("consent-mode")})),x=Object(f.useSelect)((function(e){return e(m.c).isFetchingSaveConsentModeSettings()})),R=Object(f.useDispatch)(m.c),D=R.setConsentModeEnabled,M=R.saveConsentModeSettings,P=Object(f.useSelect)((function(e){return e(m.c).isUsingProxy()})),I=Object(f.useDispatch)(p.a),B=I.dismissPrompt,L=I.triggerSurvey,z=Object(f.useSelect)((function(e){return e(p.a).isPromptDismissed(k.a)}));function F(){return V.apply(this,arguments)}function V(){return(V=o()(r.a.mark((function e(){var t,n,i,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(null),t=[M()],P&&t.push(L("enable_como",{ttl:_.a})),e.next=5,Promise.all(t);case 5:if(n=e.sent,i=l()(n,1),!(a=i[0].error)){e.next=11;break}return j(a),e.abrupt("return");case 11:if(z){e.next=14;break}return e.next=14,B(k.a);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return e.createElement(s.Fragment,null,e.createElement("div",null,e.createElement(v.a,{loading:n,width:"180px",height:"21.3px"},e.createElement(g.Switch,{label:Object(d.__)("Enable consent mode","google-site-kit"),checked:N,disabled:n||x,onClick:function(){N?(Object(_.J)("".concat(i,"_CoMo"),"como_disable"),A(!0)):(Object(_.J)("".concat(i,"_CoMo"),"como_enable"),D(!0),F())},hideLabel:!1})),y&&e.createElement(h.a,{message:y.message}),!n&&N&&e.createElement("p",{className:"googlesitekit-settings-consent-mode-switch__enabled-notice"},Object(d.__)("Site Kit added the necessary code to your tag to comply with Consent Mode.","google-site-kit")),e.createElement(v.a,{className:"googlesitekit-settings-consent-mode-switch-description--loading",loading:n,width:"750px",height:"42px",smallWidth:"386px",smallHeight:"84px",tabletWidth:"540px",tabletHeight:"84px"},e.createElement("p",null,Object(u.a)(Object(d.__)("Consent mode will help adjust tracking on your site, so only visitors who have explicitly given consent are tracked. <br />This is required in some parts of the world, like the European Economic Area. <a>Learn more</a>","google-site-kit"),{br:e.createElement("br",null),a:e.createElement(b.a,{href:T,external:!0,"aria-label":Object(d.__)("Learn more about consent mode","google-site-kit"),onClick:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(i,"_CoMo"),"como_learn_more");case 2:case"end":return e.stop()}}),e)})))})})))),C&&e.createElement(E.a,{onConfirm:function(){Object(_.J)("".concat(i,"_CoMo"),"confirm_disconnect"),D(!1),A(!1),F()},onCancel:function(){Object(_.J)("".concat(i,"_CoMo"),"cancel_disconnect"),A(!1)}}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConfirmDisableConsentModeDialog}));var i=n(27),r=n.n(i),a=n(1),o=n.n(a),c=n(91),l=n(2),s=n(3),u=n(19),d=n(14),g=n(8),f=n(114),m=n(18);function ConfirmDisableConsentModeDialog(t){var n=t.onConfirm,i=t.onCancel,a=Object(m.a)(),o=Object(s.useSelect)((function(e){return e(d.c).isAdsConnected()})),p=Object(s.useSelect)((function(e){return["analytics-4","ads"].reduce((function(t,n){return e(u.a).isModuleConnected(n)?[].concat(r()(t),[e(u.a).getModule(n).name]):t}),[])})),h=p.length>0?Object(l.sprintf)( /* translators: %s: list of dependent modules */ Object(l.__)("these active modules depend on consent mode and will be affected: %s","google-site-kit"),Object(g.z)(p)):null;Object(c.a)((function(){Object(g.J)("".concat(a,"_CoMo"),"view_modal")}));var b=[Object(l.__)("Track how visitors interact with your site","google-site-kit")],v=Object(l.__)("Disabling consent mode may affect your ability in the European Economic Area, the UK and Switzerland to:","google-site-kit");return o&&(b=[Object(l.__)("Performance of your Ad campaigns","google-site-kit"),Object(l.__)("How visitors interact with your site via Analytics","google-site-kit")],v=Object(l.__)("Disabling consent mode may affect your ability to track these in the European Economic Area, the UK and Switzerland:","google-site-kit")),e.createElement(f.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,title:Object(l.__)("Disable consent mode?","google-site-kit"),subtitle:v,handleConfirm:n,handleDialog:i,provides:b,dependentModules:h,confirmButton:Object(l.__)("Disable","google-site-kit"),danger:!0})}ConfirmDisableConsentModeDialog.propTypes={onConfirm:o.a.func.isRequired,onCancel:o.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPConsentAPIRequirements}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(246),d=n(3),g=n(17),f=n(14),m=n(362),p=n(20),h=n(67),b=n(148),v=n(810),E=n(547),_=n(8),O=n(18);function WPConsentAPIRequirements(){var t,n=Object(O.a)(),i=Object(d.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("wp-consent-api")})),a=Object(d.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("consent-management-platform")})),k=Object(d.useSelect)((function(e){return e(f.c).getConsentAPIInfo()})),y=k.hasConsentAPI,j=k.wpConsentPlugin,S=Object(d.useDispatch)(f.c),w=S.installActivateWPConsentAPI,C=S.activateConsentAPI,A=Object(d.useSelect)((function(e){return e(f.c).getErrorForAction("installActivateWPConsentAPI")})),N=Object(d.useSelect)((function(e){return e(f.c).isApiFetching()})),T=Object(d.useSelect)((function(e){return e(f.c).isFetchingActivateConsentAPI()})),x=Object(d.useSelect)((function(e){return e(f.c).getApiInstallResponse()})),R=(A?A.message:null)||(null==x?void 0:x.error),D={smSize:4,mdSize:4,lgSize:6};return Object(c.useEffect)((function(){y&&Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_active")}),[y,n]),e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-settings-consent-mode-requirements__description"},Object(s.__)("In order for consent mode to work properly, these requirements must be met:","google-site-kit")),e.createElement(g.e,{className:"googlesitekit-settings-consent-mode-requirements__grid"},e.createElement(g.k,null,e.createElement(g.a,D,e.createElement(v.a,{title:(null==j?void 0:j.installed)?Object(s.__)("Activate WP Consent API","google-site-kit"):Object(s.__)("Install WP Consent API","google-site-kit"),description:Object(l.a)(Object(s.__)("WP Consent API is a plugin that standardizes the communication of accepted consent categories between plugins. <a>Learn more</a>","google-site-kit"),{a:e.createElement(p.a,{href:i,external:!0,"aria-label":Object(s.__)("Learn more about the WP Consent API","google-site-kit"),onClick:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_learn_more");case 2:case"end":return e.stop()}}),e)})))})}),footer:e.createElement(c.Fragment,null,y&&e.createElement("div",{className:"googlesitekit-settings-consent-mode-requirement__consent-api-detected-wrapper"},e.createElement("span",{className:"googlesitekit-settings-consent-mode-requirement__consent-api-detected-icon"},e.createElement(E.a,null)),Object(s.__)("Site Kit detected WP Consent API for your site","google-site-kit")),!y&&e.createElement(c.Fragment,null,j.installed&&e.createElement(c.Fragment,null,!!(null==x?void 0:x.error)&&e.createElement(h.a,{message:null==x||null===(t=x.error)||void 0===t?void 0:t.message}),e.createElement(u.b,{className:"googlesitekit-settings-consent-mode-requirement__install-button",isSaving:T,disabled:T,onClick:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(),e.next=3,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_activate");case 3:case"end":return e.stop()}}),e)})))},(null==x?void 0:x.error)?Object(s.__)("Retry","google-site-kit"):Object(s.__)("Activate","google-site-kit"))),!j.installed&&e.createElement(c.Fragment,null,R&&e.createElement(h.a,{message:R}),e.createElement(u.b,{className:"googlesitekit-settings-consent-mode-requirement__install-button",isSaving:N,disabled:N,onClick:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(),e.next=3,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_install");case 3:case"end":return e.stop()}}),e)})))},R?Object(s.__)("Retry","google-site-kit"):Object(s.__)("Install","google-site-kit")))))})),e.createElement(g.a,D,e.createElement(v.a,{title:Object(s.__)("Install consent management plugin","google-site-kit"),description:Object(l.a)(Object(s.__)("You’ll need a plugin compatible with the WP Consent API to display a notice to site visitors and get their consent for tracking. WordPress offers a variety of consent plugins you can choose from. <a>See suggested plugins</a>","google-site-kit"),{a:e.createElement(p.a,{href:a,external:!0,"aria-label":Object(s.__)("Suggested consent management plugins","google-site-kit"),onClick:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(n,"_CoMo"),"consent_mgmt_plugin_learn_more");case 2:case"end":return e.stop()}}),e)})))})}),footer:e.createElement(b.c,{className:"googlesitekit-settings-consent-mode-requirement__consent-management-plugin-notice",type:b.a,Icon:m.a,notice:Object(s.__)("Make sure you have installed a plugin compatible with WP Consent API (Site Kit isn't able to verify the compatibility of all WP plugins).","google-site-kit")})})))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardKeyMetrics}));var i=n(0),r=n(2),a=n(3),o=n(6),c=n(14),l=n(30),s=n(8),u=n(1056),d=n(811),g=n(1058),f=n(185),m=n(17),p=n(20),h=n(178),b=n(205),v=n(40),E=n(390),_=n(210),O=n(18);function SettingsCardKeyMetrics(){var t=Object(O.a)(),n=Object(E.a)(),k=Object(_.a)("conversionReporting"),y=Object(a.useSelect)((function(e){return e(o.a).isUserInputCompleted()})),j=Object(a.useSelect)((function(e){return e(c.c).getAdminURL("googlesitekit-user-input")})),S=Object(a.useSelect)((function(e){return e(o.a).getUserInputSettings(),e(o.a).isResolving("getUserInputSettings",[])})),w=Object(a.useSelect)((function(e){return e(o.a).getUserPickedMetrics()})),C=Object(a.useSelect)((function(e){return e(o.a).isItemDismissed(l.a)})),A=k&&!1===C,N=Object(a.useSelect)((function(e){return!e(o.a).hasFinishedResolution("isUserInputCompleted")})),T="".concat(t,"_kmw");Object(i.useEffect)((function(){y&&Object(s.J)(T,"summary_view")}),[y,T]);var x=(null==w?void 0:w.length)?Object(r.__)("Set your site goals","google-site-kit"):Object(r.__)("Personalize your metrics","google-site-kit");return e.createElement(f.a,{title:Object(r.__)("Key Metrics","google-site-kit"),header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active googlesitekit-settings-user-input"},N&&e.createElement(v.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"117px"}),y&&e.createElement(i.Fragment,null,e.createElement(d.a,{loading:S}),e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(g.a,{settingsView:!0,loading:S}))))),!1===y&&e.createElement(i.Fragment,null,e.createElement(d.a,null),A&&e.createElement(i.Fragment,null,e.createElement(u.a,null),n&&e.createElement(b.a,{triggerID:"view_kmw_setup_cta",ttl:s.g})),!A&&e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{className:"googlesitekit-user-input__notification googlesitekit-overflow-hidden",size:12},e.createElement(h.a,{loading:S,className:"googlesitekit-user-input__notification-text-loading",width:"500px",height:"20.5px",smallWidth:"500px",smallHeight:"41px"},e.createElement("p",null,e.createElement("span",null,Object(r.__)("Answer 3 quick questions to help us show the most relevant data for your site","google-site-kit")))),e.createElement(h.a,{loading:S,width:"200px",height:"20.5px"},e.createElement(p.a,{href:j},x))),n&&e.createElement(b.a,{triggerID:"view_kmw_setup_cta",ttl:s.g}))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ACRSubtleNotification}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(2),u=n(0),d=n(3),g=n(10),f=n(1057),m=n(209),p=n(6),h=n(30),b=n(14);function ACRSubtleNotification(){var t=Object(u.useState)(!1),n=l()(t,2),i=n[0],a=n[1],c=Object(d.useDispatch)(p.a).dismissItem,v=Object(d.useSelect)((function(e){return e(p.a).isItemDismissed(h.a)})),E=Object(u.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(h.a);case 2:case"end":return e.stop()}}),e)}))),[c]),_=Object(d.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-user-input")})),O=Object(u.useCallback)((function(){a(!0)}),[a]);return v?null:e.createElement(m.a,{className:"googlesitekit-acr-subtle-notification",title:Object(s.__)("Personalize your metrics","google-site-kit"),description:Object(s.__)("Set up your goals by answering 3 quick questions to help us show the most relevant data for your site","google-site-kit"),dismissCTA:e.createElement(g.Button,{tertiary:!0,onClick:E},Object(s.__)("Maybe later","google-site-kit")),additionalCTA:e.createElement(g.SpinnerButton,{onClick:O,href:_,isSaving:i},Object(s.__)("Get tailored metrics","google-site-kit")),icon:e.createElement(f.a,{width:24,height:24})})}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M5.825 22l2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3 5.825 22z",fill:"#462083"});t.a=function SvgStarFill(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputPreview}));var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(12),l=n.n(c),s=n(2),u=n(0),d=n(10),g=n(3),f=n(6),m=n(32),p=n(24),h=n(103),b=n(785),v=n(608),E=n(193),_=n(116),O=n(178),k=n(672),y=n(535),j=n(76),S=n(1060);function UserInputPreview(t){var n,i,a,o=t.goBack,c=t.submitChanges,w=t.error,C=t.loading,A=void 0!==C&&C,N=t.settingsView,T=void 0!==N&&N,x=Object(u.useRef)(),R=Object(u.useState)(!1),D=r()(R,2),M=D[0],P=D[1],I=Object(u.useCallback)((function(){P(!1)}),[P]),B=Object(g.useSelect)((function(e){return e(f.a).getUserInputSettings()})),L=Object(g.useSelect)((function(e){return e(f.a).isSavingUserInputSettings(B)})),z=Object(g.useSelect)((function(e){return e(m.a).isNavigating()})),F=Object(g.useSelect)((function(e){return!!e(p.b).getValue(h.c)})),V=L||z,W=Object(h.i)(),H=W.USER_INPUT_ANSWERS_PURPOSE,U=W.USER_INPUT_ANSWERS_POST_FREQUENCY,q=W.USER_INPUT_ANSWERS_GOALS,G=Object(E.a)("page"),K=r()(G,1)[0],J=h.f.some((function(e){var t;return Object(y.b)((null==B||null===(t=B[e])||void 0===t?void 0:t.values)||[])})),Y=Object(u.useCallback)((function(){J||V||c()}),[J,V,c]);return Object(u.useEffect)((function(){if((null==x?void 0:x.current)&&!(null==K?void 0:K.startsWith("googlesitekit-settings"))){var e=x.current.querySelector(".mdc-button");e&&setTimeout((function(){e.focus()}),50)}}),[K]),e.createElement("div",{className:l()("googlesitekit-user-input__preview",{"googlesitekit-user-input__preview--editing":F}),ref:x},e.createElement("div",{className:"googlesitekit-user-input__preview-contents"},!T&&e.createElement("p",{className:"googlesitekit-user-input__preview-subheader"},Object(s.__)("Review your answers","google-site-kit")),T&&e.createElement("div",{className:"googlesitekit-settings-user-input__heading-container"},e.createElement(O.a,{loading:A,width:"275px",height:"16px"},e.createElement("p",{className:"googlesitekit-settings-user-input__heading"},Object(s.__)("Edit your answers for more personalized metrics:","google-site-kit")))),e.createElement(b.a,{slug:h.g,title:Object(s.__)("What is the main purpose of this site?","google-site-kit"),values:(null==B||null===(n=B.purpose)||void 0===n?void 0:n.values)||[],options:H,loading:A,settingsView:T,onChange:function(){return P(!0)}}),e.createElement(b.a,{slug:h.h,title:Object(s.__)("How often do you create new content for this site?","google-site-kit"),values:(null==B||null===(i=B.postFrequency)||void 0===i?void 0:i.values)||[],options:U,loading:A,settingsView:T}),e.createElement(b.a,{slug:h.e,title:Object(s.__)("What are your top goals for this site?","google-site-kit"),values:(null==B||null===(a=B.goals)||void 0===a?void 0:a.values)||[],options:q,loading:A,settingsView:T}),w&&e.createElement(_.a,{error:w})),!T&&e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-user-input__preview-notice"},e.createElement(v.a,null)),e.createElement("div",{className:"googlesitekit-user-input__footer googlesitekit-user-input__buttons"},e.createElement("div",{className:"googlesitekit-user-input__footer-nav"},e.createElement(d.SpinnerButton,{className:"googlesitekit-user-input__buttons--next",onClick:Y,disabled:J||V,isSaving:V},Object(s.__)("Save","google-site-kit")),e.createElement(d.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--back",onClick:o,disabled:V},Object(s.__)("Back","google-site-kit"))),e.createElement("div",{className:"googlesitekit-user-input__footer-cancel"},e.createElement(k.a,{disabled:V})))),e.createElement(j.a,null,e.createElement(S.a,{dialogActive:M,handleDialog:I})))}UserInputPreview.propTypes={submitChanges:o.a.func,goBack:o.a.func,error:o.a.object,loading:o.a.bool,settingsView:o.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeWidth:2,d:"M15.835 8.333l-5.834 5-5.833-5"});t.a=function SvgChevronDown(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(7),o=n.n(a),c=n(16),l=n.n(c),s=n(15),u=n.n(s),d=n(1),g=n.n(d),f=n(2),m=n(0),p=n(10),h=n(3),b=n(6),v=n(28),E=n(172),_=n(103),O=n(24);function ConfirmSitePurposeChangeModal(t){var n=t.dialogActive,i=void 0!==n&&n,a=t.handleDialog,c=void 0===a?null:a,s=Object(m.useState)(!1),d=u()(s,2),g=d[0],k=d[1],y=Object(h.useSelect)((function(e){return e(b.a).getKeyMetrics()})),j=Object(h.useSelect)((function(e){return e(v.a).getValue(_.b,_.g)})),S=Object(h.useSelect)((function(e){return void 0===j?[]:e(b.a).getAnswerBasedMetrics(j[0])})),w=Object(h.useDispatch)(v.a).setValues,C=Object(h.useDispatch)(O.b).setValues,A=Object(h.useDispatch)(b.a).resetUserInputSettings,N=Object(m.useCallback)(l()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==j?void 0:j.length)){e.next=4;break}return e.next=3,A();case 3:w(_.b,o()({},_.g,void 0));case 4:C(o()({},_.c,void 0)),c();case 6:case"end":return e.stop()}}),e)}))),[c,j,A,w,C]),T=Object(h.useDispatch)(b.a).saveUserInputSettings,x=Object(m.useCallback)(l()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(!0),e.next=3,T();case 3:k(!1),N();case 5:case"end":return e.stop()}}),e)}))),[T,N,k]);return e.createElement(p.Dialog,{open:i,"aria-describedby":void 0,tabIndex:"-1",className:"googlesitekit-dialog-confirm-site-purpose-change",onClose:N},e.createElement(p.DialogTitle,null,Object(f.__)("Tailored metrics suggestions","google-site-kit")),e.createElement("p",null,Object(f.__)("You have changed your website purpose. We can suggest new tailored metrics for you based on your answers or you can keep your current metrics selection on your dashboard.","google-site-kit"),e.createElement("br",null),Object(f.__)("You can always edit your metrics selection from the dashboard.","google-site-kit")),e.createElement(p.DialogContent,null,e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-4-phone"},e.createElement("h3",null,Object(f.__)("Current metrics","google-site-kit")),!!S&&e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},S.map((function(t){var n;return e.createElement("li",{key:t,className:"mdc-list-item"},e.createElement("span",{className:"mdc-list-item__text"},null===(n=E.a[t])||void 0===n?void 0:n.title))})))),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-4-phone"},e.createElement("h3",null,Object(f.__)("New tailored metrics","google-site-kit")),!!y&&e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},y.map((function(t){var n;return e.createElement("li",{key:t,className:"mdc-list-item"},e.createElement("span",{className:"mdc-list-item__text"},null===(n=E.a[t])||void 0===n?void 0:n.title))})))))),e.createElement(p.DialogFooter,null,e.createElement(p.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:N},Object(f.__)("Keep current selection","google-site-kit")),e.createElement(p.SpinnerButton,{isSaving:g,onClick:x},Object(f.__)("Update metrics selection","google-site-kit"))))}ConfirmSitePurposeChangeModal.propTypes={dialogActive:g.a.bool,handleDialog:g.a.func},t.a=ConfirmSitePurposeChangeModal}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsPlugin}));var i=n(2),r=n(0),a=n(3),o=n(10),c=n(14),l=n(17),s=n(185),u=n(8),d=n(18);function SettingsPlugin(){var t=Object(a.useSelect)((function(e){return e(c.c).getShowAdminBar()})),n=Object(a.useDispatch)(c.c).setShowAdminBar,g=Object(d.a)(),f=Object(r.useCallback)((function(e){var t=e.target,i=t.checked?"enable_admin_bar_menu":"disable_admin_bar_menu";n(!!t.checked),Object(u.J)(g,i)}),[n,g]);return e.createElement(s.a,{className:"googlesitekit-settings-meta",title:Object(i.__)("Plugin Settings","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--nomargin"},e.createElement(o.Checkbox,{id:"admin-bar-toggle",name:"admin-bar-toggle",value:"1",checked:t,onChange:f,disabled:void 0===t,loading:void 0===t},e.createElement("span",null,Object(i.__)("Display relevant page stats in the Admin bar","google-site-kit"))))))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardVisitorGroups}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(2),s=n(3),u=n(10),d=n(6),g=n(9),f=n(17),m=n(18),p=n(8),h=n(185),b=n(1063),v=n(391);function SettingsCardVisitorGroups(){var t=Object(m.a)(),n=Object(s.useSelect)((function(e){return e(d.a).isAudienceSegmentationWidgetHidden()})),i=Object(s.useSelect)((function(e){return e(d.a).getConfiguredAudiences()})),a=Object(s.useSelect)((function(e){return e(g.p).getAudienceSegmentationSetupCompletedBy()})),E=Object(s.useDispatch)(d.a),_=E.setAudienceSegmentationWidgetHidden,O=E.saveAudienceSettings,k=Object(c.useCallback)((function(){var e=n?"audience_widgets_enable":"audience_widgets_disable";Object(p.J)("".concat(t,"_audiences-settings"),e).finally(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(!n);case 2:return e.next=4,O();case 4:case"end":return e.stop()}}),e)}))))}),[n,O,_,t]);if(void 0===i||void 0===a)return null;var y=!i&&null===a;return e.createElement(h.a,{className:"googlesitekit-settings-meta",title:Object(l.__)("Visitor groups","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(f.e,null,e.createElement(f.k,null,e.createElement(f.a,{size:12},y&&e.createElement(b.a,null),!y&&e.createElement(c.Fragment,null,e.createElement(v.b,null),e.createElement(u.Switch,{label:Object(l.__)("Display visitor groups in dashboard","google-site-kit"),checked:!n,onClick:k,hideLabel:!1})))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return SetupCTA}));var r=n(15),a=n.n(r),o=n(0),c=n(2),l=n(3),s=n(10),u=n(28),d=n(14),g=n(6),f=n(60),m=n(9),p=n(606),h=n(20),b=n(358),v=n(392),E=n(18),_=n(8);function SetupCTA(){var t=Object(E.a)(),n=Object(o.useState)(!1),r=a()(n,2),O=r[0],k=r[1],y=Object(l.useDispatch)(f.a).dismissNotification,j=Object(v.a)({redirectURL:e.location.href,onSuccess:function(){y(p.a)},onError:function(){k(!0)}}),S=j.apiErrors,w=j.failedAudiences,C=j.isSaving,A=j.onEnableGroups,N=Object(l.useSelect)((function(e){return e(d.c).getSetupErrorCode()})),T=Object(l.useSelect)((function(e){return e(u.a).getValue(m.c,"autoSubmit")}))&&"access_denied"===N,x=Object(l.useDispatch)(u.a).setValues,R=Object(l.useDispatch)(d.c).setSetupErrorCode,D=Object(l.useDispatch)(g.a).clearPermissionScopeError;return i.createElement("div",{className:"googlesitekit-settings-visitor-groups__setup"},i.createElement("p",null,Object(c.__)("To set up new visitor groups for your site, Site Kit needs to update your Google Analytics property.","google-site-kit")),C&&i.createElement("div",{className:"googlesitekit-settings-visitor-groups__setup-progress"},i.createElement("p",null,Object(c.__)("Enabling groups","google-site-kit")),i.createElement(s.ProgressBar,{compress:!0})),!C&&i.createElement(h.a,{onClick:function(){Object(_.J)("".concat(t,"_audiences-setup-cta-settings"),"enable_groups").finally(A)}},Object(c.__)("Enable groups","google-site-kit")),(O||T)&&i.createElement(b.b,{hasOAuthError:T,apiErrors:S.length?S:w,onRetry:A,inProgress:C,onCancel:T?function(){x(m.c,{autoSubmit:!1}),D(),R(null),k(!1)}:function(){return k(!1)}}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModule}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(173),l=n(3),s=n(19),u=n(24),d=n(17),g=n(1065),f=n(1067),m=n(1068),p=n(1069),h=n(1072);function SettingsActiveModule(t){var n=t.slug,i=Object(c.i)(),r=i.action,a=i.moduleSlug,b="edit"===r,v=a===n,E=a!==n&&b,_="module-".concat(n,"-error"),O=Object(l.useSelect)((function(e){return e(s.a).getErrorForAction("deactivateModule",[n])})),k=Object(l.useSelect)((function(e){return e(u.b).getValue(_)}));return e.createElement("div",{className:o()("googlesitekit-settings-module","googlesitekit-settings-module--active","googlesitekit-settings-module--".concat(n),{"googlesitekit-settings-module--error":(k||O)&&b})},E&&e.createElement(g.a,{compress:!v}),e.createElement(m.a,{slug:n}),v&&e.createElement("div",{id:"googlesitekit-settings-module__content--".concat(n),className:"googlesitekit-settings-module__content googlesitekit-settings-module__content--open",role:"tabpanel","aria-labelledby":"googlesitekit-settings-module__header--".concat(n)},e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(f.a,{slug:n})))),e.createElement(p.a,{slug:n})),e.createElement(h.a,{slug:n}))}SettingsActiveModule.propTypes={slug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(2),l=n(1066);function SettingsOverlay(t){var n=t.compress;return e.createElement("div",{className:o()("googlesitekit-overlay",{"googlesitekit-overlay--compress":n})},e.createElement("div",{className:"googlesitekit-overlay__wrapper"},e.createElement("div",{className:"googlesitekit-overlay__icon"},e.createElement(l.a,{width:"22",height:"30"})),e.createElement("h3",{className:" googlesitekit-heading-2 googlesitekit-overlay__title "},Object(c.__)("Section locked while editing","google-site-kit"))))}SettingsOverlay.propTypes={compress:r.a.bool},SettingsOverlay.defaultProps={compress:!1},t.a=SettingsOverlay}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M20 10h-1.429V7.143C18.571 3.2 15.371 0 11.43 0a7.145 7.145 0 00-7.143 7.143V10H2.857A2.866 2.866 0 000 12.857v14.286A2.866 2.866 0 002.857 30H20a2.866 2.866 0 002.857-2.857V12.857A2.866 2.866 0 0020 10zm-8.571 12.857A2.866 2.866 0 018.57 20a2.866 2.866 0 012.858-2.857A2.866 2.866 0 0114.286 20a2.866 2.866 0 01-2.857 2.857zM15.857 10H7V7.143a4.432 4.432 0 014.429-4.429 4.432 4.432 0 014.428 4.429V10z",fill:"currentColor"});t.a=function SvgLock(e){return i.createElement("svg",r({viewBox:"0 0 23 30",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsRenderer}));var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(0),l=n(173),s=n(3),u=n(19);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SettingsRenderer(t){var n=t.slug,i=Object(l.i)(),r=i.action,a=i.moduleSlug,d="edit"===r,f=a===n,m=Object(c.useState)(),p=o()(m,2),h=p[0],b=p[1],v=Object(s.useSelect)((function(e){return e(u.a).isDoingSubmitChanges(n)})),E=Object(s.useSelect)((function(e){var t=e(u.a).getModule(n);return g(g({},t),{},{moduleLoaded:!!t})})),_=E.SettingsEditComponent,O=E.SettingsViewComponent,k=E.SettingsSetupIncompleteComponent,y=E.moduleLoaded,j=E.connected;Object(c.useEffect)((function(){y&&void 0===h&&b(j)}),[y,h,j]);var S=Object(s.useDispatch)(u.a).rollbackChanges;return Object(c.useEffect)((function(){v||d||S(n)}),[n,S,v,d]),f&&y?f&&!1===h?e.createElement(k,{slug:n}):d&&_?e.createElement(_,null):O?e.createElement(O,null):null:null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(173),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(19),m=n(572),p=n(17),h=n(129),b=n(177),v=n(93),E=n(263),_=n(8),O=n(18),k=n(331),y=n(346),j=n(669),S=n(77);function Header(t){var n=t.slug,i=Object(O.a)(),r=Object(c.g)(),a=Object(l.useRef)(),w=Object(c.i)().moduleSlug===n,C=Object(d.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),A=Object(d.useSelect)((function(e){var t,n;return null===(t=e(C))||void 0===t||null===(n=t.getAdminReauthURL)||void 0===n?void 0:n.call(t)})),N=Object(d.useSelect)((function(e){return e(f.a).getModule(n)})),T=Object(d.useSelect)((function(e){var t;return null===(t=e(f.a))||void 0===t?void 0:t.getCheckRequirementsError(n)})),x=Object(l.useCallback)((function(){w||(r.push("/connected-services/".concat(n)),Object(_.J)("".concat(i,"_module-list"),"view_module_settings",n))}),[r,n,i,w]),R=Object(l.useCallback)((function(){w&&(r.push("/connected-services"),Object(_.J)("".concat(i,"_module-list"),"close_module_settings",n))}),[r,n,i,w]),D=Object(l.useCallback)((function(e){return e.stopPropagation()}),[]);Object(h.a)([s.b],a,w?R:x),Object(h.a)([s.c],a,R);var M=N.name,P=N.connected;if(!N)return null;var I=null;return I=P?e.createElement("p",null,Object(u.__)("Connected","google-site-kit")):e.createElement(g.Button,{href:A,onClick:D,disabled:!!T,inverse:!0},Object(u.sprintf)( /* translators: %s: module name. */ Object(u.__)("Complete setup for %s","google-site-kit"),M)),e.createElement("div",{className:o()("googlesitekit-settings-module__header",{"googlesitekit-settings-module__header--open":w}),id:"googlesitekit-settings-module__header--".concat(n),type:"button",role:"tab","aria-selected":w,"aria-expanded":w,"aria-controls":"googlesitekit-settings-module__content--".concat(n),to:"/connected-services".concat(w?"":"/".concat(n)),onClick:w?R:x,ref:a,tabIndex:"0"},e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{lgSize:6,mdSize:4,smSize:4,className:"googlesitekit-settings-module__heading"},e.createElement(b.a,{slug:n,size:40,className:"googlesitekit-settings-module__heading-icon"}),e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-settings-module__title"},M),e.createElement("div",{className:"googlesitekit-settings-module__heading-badges"},m.b.includes(n)&&e.createElement(v.a,{label:Object(u.__)("Experimental","google-site-kit"),hasLeftSpacing:!0}),m.a.includes(n)&&e.createElement(v.a,{className:"googlesitekit-beta-badge",label:Object(u.__)("Beta","google-site-kit"),hasLeftSpacing:!0}),m.c.includes(n)&&e.createElement(E.a,{hasLeftSpacing:!0}))),e.createElement(p.a,{lgSize:6,mdSize:4,smSize:4,alignMiddle:!0,mdAlignRight:!0},e.createElement("div",{className:o()("googlesitekit-settings-module__status",{"googlesitekit-settings-module__status--connected":P,"googlesitekit-settings-module__status--not-connected":!P})},I,e.createElement("span",{className:o()("googlesitekit-settings-module__status-icon",{"googlesitekit-settings-module__status-icon--connected":P,"googlesitekit-settings-module__status-icon--not-connected":!P})},P?e.createElement(k.a,{width:10,height:8}):e.createElement(y.a,{width:19,height:17})))))),e.createElement(S.a,null,e.createElement(j.a,{width:12,height:8,className:"icon-chevron-down"})))}Header.propTypes={slug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(173),u=n(13),d=n(2),g=n(0),f=n(10),m=n(3),p=n(19),h=n(17),b=n(1070),v=n(1071),E=n(20),_=n(8),O=n(41),k=n(24),y=n(6),j=n(18);function Footer(t){var n=t.slug,i=Object(j.a)(),a=Object(s.g)(),c=Object(s.i)(),l=c.action,S=c.moduleSlug,w="edit"===l&&S===n,C="module-".concat(n,"-error"),A="module-".concat(n,"-dialogActive"),N="module-".concat(n,"-isSaving"),T=Object(m.useSelect)((function(e){return e(p.a).canSubmitChanges(n)})),x=Object(m.useSelect)((function(e){return e(p.a).haveSettingsChanged(n)})),R=Object(m.useSelect)((function(e){return e(p.a).getModule(n)})),D=Object(m.useSelect)((function(e){return e(p.a).isModuleConnected(n)})),M=Object(m.useSelect)((function(e){return e(k.b).getValue(A)})),P=Object(m.useSelect)((function(e){return e(k.b).getValue(N)})),I=Object(m.useSelect)((function(e){if(R&&!Object(u.isEmpty)(R.homepage))return e(y.a).getAccountChooserURL(R.homepage)})),B=Object(m.useDispatch)(p.a).submitChanges,L=(Object(m.useDispatch)(null==R?void 0:R.storeName)||{}).clearErrors,z=Object(m.useDispatch)(k.b).setValue,F=!!(null==R?void 0:R.SettingsEditComponent),V=Object(g.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(i,"_module-list"),"cancel_module_settings",n);case 2:return e.next=4,null==L?void 0:L();case 4:a.push("/connected-services/".concat(n));case 5:case"end":return e.stop()}}),e)}))),[L,a,i,n]),W=Object(g.useCallback)(function(){var e=o()(r.a.mark((function e(t){var o,c;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),z(N,!0),e.next=4,B(n);case 4:if(o=e.sent,c=o.error,z(N,!1),!c){e.next=11;break}z(C,c),e.next=19;break;case 11:return e.next=13,Object(_.J)("".concat(i,"_module-list"),"update_module_settings",n);case 13:return z(C,void 0),e.next=16,null==L?void 0:L();case 16:return a.push("/connected-services/".concat(n)),e.next=19,Object(O.b)();case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[z,N,B,n,C,L,a,i]),H=Object(g.useCallback)((function(){z(A,!M)}),[M,A,z]),U=Object(g.useCallback)((function(){Object(_.J)("".concat(i,"_module-list"),"edit_module_settings",n)}),[n,i]),q=Object(m.useSelect)((function(e){var t={"analytics-4":"getAccountSummaries",tagmanager:"getAccounts","search-console":"getMatchedProperties"}[n];return!(!R||!t)&&!e(R.storeName).hasFinishedResolution(t)})),G=Object(d.__)("Save","google-site-kit");if(x&&(G=Object(d.__)("Confirm changes","google-site-kit")),P&&(G=Object(d.__)("Saving…","google-site-kit")),!R)return null;var K=R.name,J=R.forceActive,Y=null,X=null;return w||P?Y=e.createElement(g.Fragment,null,F&&D?e.createElement(f.SpinnerButton,{disabled:P||q||!T&&x,onClick:W,isSaving:P},G):e.createElement(f.Button,{onClick:V},Object(d.__)("Close","google-site-kit")),F&&e.createElement(f.Button,{tertiary:!0,className:"googlesitekit-settings-module__footer-cancel",onClick:V},Object(d.__)("Cancel","google-site-kit"))):!F&&J||(Y=e.createElement(E.a,{className:"googlesitekit-settings-module__edit-button",to:"/connected-services/".concat(n,"/edit"),onClick:U,"aria-label":Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("Edit %s settings","google-site-kit"),K),trailingIcon:e.createElement(b.a,{className:"googlesitekit-settings-module__edit-button-icon",width:10,height:10})},Object(d.__)("Edit","google-site-kit"))),w&&!J?X=e.createElement(E.a,{className:"googlesitekit-settings-module__remove-button",onClick:H,danger:!0,trailingIcon:e.createElement(v.a,{className:"googlesitekit-settings-module__remove-button-icon",width:13,height:13})},Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("Disconnect %s from Site Kit","google-site-kit"),K)):!w&&I&&(X=e.createElement(E.a,{href:I,className:"googlesitekit-settings-module__cta-button",external:!0},Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("See full details in %s","google-site-kit"),K))),e.createElement("footer",{className:"googlesitekit-settings-module__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{lgSize:6,mdSize:8,smSize:4},Y),e.createElement(h.a,{lgSize:6,mdSize:8,smSize:4,alignMiddle:!0,lgAlignRight:!0},X))))}Footer.propTypes={slug:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 7.917V10h2.083l6.144-6.144-2.083-2.083L0 7.917zm9.838-5.671a.553.553 0 000-.784l-1.3-1.3a.553.553 0 00-.784 0L6.738 1.18 8.82 3.262l1.017-1.016z",fill:"currentColor"});t.a=function SvgPencil(e){return i.createElement("svg",r({viewBox:"0 0 10 10",fill:"none"},e),a)}},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M.722 11.556c0 .794.65 1.444 1.445 1.444h5.777c.795 0 1.445-.65 1.445-1.444V2.889H.722v8.667zM10.112.722H7.582L6.861 0H3.25l-.722.722H0v1.445h10.111V.722z",fill:"currentColor"});t.a=function SvgTrash(e){return i.createElement("svg",r({viewBox:"0 0 11 13",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return ConfirmDisconnect}));var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(1),d=n.n(u),g=n(2),f=n(0),m=n(56),p=n(3),h=n(114),b=n(32),v=n(19),E=n(14),_=n(24),O=n(41),k=n(8),y=n(18);function ConfirmDisconnect(t){var n=t.slug,r=Object(y.a)(),o=Object(f.useState)(!1),l=s()(o,2),u=l[0],d=l[1],j=Object(p.useDispatch)(_.b).setValue,S="module-".concat(n,"-dialogActive"),w=Object(p.useSelect)((function(e){return e(v.a).getModuleDependantNames(n)})),C=Object(p.useSelect)((function(e){return e(v.a).getModuleFeatures(n)})),A=Object(p.useSelect)((function(e){return e(v.a).getModule(n)})),N=Object(p.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),T=Object(p.useSelect)((function(e){return e(_.b).getValue(S)})),x=Object(f.useCallback)((function(){j(S,!T)}),[T,S,j]);Object(f.useEffect)((function(){var t=function(e){m.c===e.keyCode&&T&&x()};return e.addEventListener("keydown",t),function(){e.removeEventListener("keydown",t)}}),[T,x]);var R=Object(p.useDispatch)(v.a).deactivateModule,D=Object(p.useDispatch)(b.a).navigateTo,M=Object(f.useCallback)(c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!A.forceActive){e.next=2;break}return e.abrupt("return");case 2:return d(!0),e.next=5,R(n);case 5:if(t=e.sent,t.error){e.next=15;break}return e.next=10,Object(O.b)();case 10:return e.next=12,Object(k.J)("".concat(r,"_module-list"),"deactivate_module",n);case 12:D(N),e.next=16;break;case 15:d(!1);case 16:case"end":return e.stop()}}),e)}))),[n,null==A?void 0:A.forceActive,N,R,D,r]);if(!A||!T)return null;var P=A.name,I=Object(g.sprintf)( /* translators: %s: module name */ Object(g.__)("Disconnect %s from Site Kit?","google-site-kit"),P),B=(null==C?void 0:C.length)>0?Object(g.sprintf)( /* translators: %s: module name */ Object(g.__)("By disconnecting the %s module from Site Kit, you will no longer have access to:","google-site-kit"),P):null,L=null;return w.length>0&&(L=Object(g.sprintf)( /* translators: 1: module name, 2: list of dependent modules */ Object(g.__)("these active modules depend on %1$s and will also be disconnected: %2$s","google-site-kit"),P,Object(k.z)(w))),i.createElement(h.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,handleDialog:x,title:I,subtitle:B,provides:C,handleConfirm:M,dependentModules:L,inProgress:u,danger:!0})}ConfirmDisconnect.propTypes={slug:d.a.string.isRequired}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsInactiveModules}));var i=n(2),r=n(19),a=n(3),o=n(185),c=n(65),l=n(1074),s=n(17),u=n(1075);function SettingsInactiveModules(){var t=Object(a.useSelect)((function(e){return e(r.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&!n})).sort((function(e,t){return e.order-t.order}));return 0===n.length?e.createElement(c.b,{id:"no-more-modules",title:Object(i.__)("Congrats, you’ve connected all services!","google-site-kit"),description:Object(i.__)("We’re working on adding new services to Site Kit by Google all the time, so please check back in the future","google-site-kit"),format:"small",SmallImageSVG:u.a,type:"win-success",rounded:!0}):e.createElement(o.a,{header:!0,title:Object(i.__)("Connect More Services to Gain More Insights","google-site-kit"),rounded:!0,relative:!0},e.createElement(s.e,null,e.createElement(s.k,null,n.map((function(t){var n=t.slug,i=t.name,r=t.description;return e.createElement(s.a,{key:n,size:4},e.createElement(l.a,{slug:n,name:i,description:r}))})))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupModule}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(12),g=n.n(d),f=n(2),m=n(0),p=n(3),h=n(177),b=n(495),v=n(20),E=n(93),_=n(546),O=n(263),k=n(14),y=n(19),j=n(32),S=n(572),w=n(8),C=n(18);function SetupModule(t){var n=t.slug,i=t.name,a=t.description,c=Object(C.a)(),s=Object(m.useState)(!1),u=l()(s,2),d=u[0],A=u[1],N=Object(p.useDispatch)(y.a).activateModule,T=Object(p.useDispatch)(j.a).navigateTo,x=Object(p.useDispatch)(k.c).setInternalServerError,R=Object(m.useCallback)(o()(r.a.mark((function e(){var t,i,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),e.next=3,N(n);case 3:if(t=e.sent,i=t.error,a=t.response,i){e.next=12;break}return e.next=9,Object(w.J)("".concat(c,"_module-list"),"activate_module",n);case 9:T(a.moduleReauthURL),e.next=14;break;case 12:x({id:"activate-module-error",description:i.message}),A(!1);case 14:case"end":return e.stop()}}),e)}))),[N,T,x,n,c]),D=Object(p.useSelect)((function(e){return e(y.a).canActivateModule(n)}));return e.createElement("div",{className:g()("googlesitekit-settings-connect-module","googlesitekit-settings-connect-module--".concat(n)),key:n},e.createElement("div",{className:"googlesitekit-settings-connect-module__switch"},e.createElement(b.a,{isSaving:d})),e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(h.a,{slug:n})),e.createElement("div",{className:"googlesitekit-settings-connect-module__heading"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-settings-connect-module__title "},i),e.createElement("div",{className:"googlesitekit-settings-connect-module__badges"},S.b.includes(n)&&e.createElement(E.a,{label:Object(f.__)("Experimental","google-site-kit")}),S.a.includes(n)&&e.createElement(E.a,{className:"googlesitekit-beta-badge",label:Object(f.__)("Beta","google-site-kit")}),S.c.includes(n)&&e.createElement(O.a,{hasNoSpacing:!0}))),e.createElement("p",{className:"googlesitekit-settings-connect-module__text"},a),e.createElement("p",{className:"googlesitekit-settings-connect-module__cta"},e.createElement(v.a,{onClick:R,href:"",disabled:!D,arrow:!0},Object(f.sprintf)( /* translators: %s: module name */ Object(f.__)("Set up %s","google-site-kit"),i))),e.createElement(_.a,{slug:n}))}SetupModule.propTypes={slug:u.a.string.isRequired,name:u.a.string.isRequired,description:u.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M382 94.2h-20.91M364.25 33.77l-17.59 11.3M197.01 9.74l13.7 15.8M162.97 62.74l20.06 5.88M162.98 125.72l20.06-5.89M316.7 195.86l-8.69-19.02M364.28 154.59l-17.59-11.3"}),o=i.createElement("ellipse",{cx:154.11,cy:381.74,rx:103.5,ry:8.26,fill:"#F1F3F4"}),c=i.createElement("path",{d:"M166.37 181.8c54.51-10.47 66-55.59 28.92-92.64",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9}),l=i.createElement("path",{d:"M148.8 254.55l16.54 51.35a90 90 0 012 47.76l-6.46 28.08h23M125.3 261.45l8.46 34.92a89.84 89.84 0 01-.27 43.48l-10.68 41.83 20 .17",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9}),s=i.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:9,d:"M148.8 254.55l9.53 29.6M128.39 274.19l4.41 17.52"}),u=i.createElement("path",{fill:"#F9AB00",d:"M165.19 159.52L130.41 58.66 29.56 93.45 64.34 194.3l34.79 100.85 100.85-34.78-34.79-100.85z"}),d=i.createElement("path",{d:"M71.7 138.64c16.69 24.27 52.79 17.16 59.56-16.13M75.78 131.55a17.14 17.14 0 01-3.87 6.45 28 28 0 01-7.23 4.93",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=i.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:20,d:"M269.28 98.8l-24.66 91.66"}),f=i.createElement("path",{d:"M197.37 113.58a11.4 11.4 0 101.41-22.31 38.5 38.5 0 01-8.49-.63 22.81 22.81 0 1128-16.1M324.07 147.67a11.4 11.4 0 1110-20s4.61 2.89 7.65 3.71a22.8 22.8 0 10-16.09-27.95",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),m=i.createElement("path",{d:"M253.5 157.45c37.27 10 80.69-30.92 97-91.47l-135-36.32c-16.27 60.55.73 117.76 38 127.79z",fill:"#DADCE0"}),p=i.createElement("path",{d:"M224 109.65c-5.87-19.74-6.24-43.45-1.16-67.66M241.18 139.46a54.17 54.17 0 01-11.61-15.67",stroke:"#F1F3F4",strokeMiterlimit:10,strokeWidth:6}),h=i.createElement("path",{d:"M248 177.83c-13.07-3.52-26 2.23-28.83 12.84l47.33 12.73c2.86-10.61-5.42-22.06-18.5-25.57z",fill:"#DADCE0"}),b=i.createElement("path",{d:"M266 110.86l-17.44 3.92a2.18 2.18 0 01-2.46-3l7.5-16.23-9.12-15.37a2.19 2.19 0 012.14-3.28L264.4 79l11.8-13.42a2.18 2.18 0 013.78 1l3.48 17.53 16.41 7.08a2.18 2.18 0 01.2 3.91l-15.6 8.72-1.66 17.79a2.18 2.18 0 01-3.66 1.4z",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),v=i.createElement("path",{d:"M74.48 209.27c74.32 45.28 152.4-1.07 170.14-18.81M87.61 216.33a129.71 129.71 0 0013.13 5.3",stroke:"#FCC934",strokeLinejoin:"round",strokeWidth:9}),E=i.createElement("path",{d:"M74.48 209.27a136.76 136.76 0 0013.13 7.06",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9});t.a=function SvgAward(e){return i.createElement("svg",r({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,b,v,E)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(140),i=n(335),r=n(137),a=n(235),o=n(1048),c=n(22);Object(i.a)((function(){var n=document.getElementById("js-googlesitekit-settings");n&&Object(r.render)(e.createElement(a.a,{viewContext:c.q},e.createElement(t.a,null,e.createElement(o.a,null))),n)}))}.call(this,n(4))}],[[1223,1,0]]]); dist/assets/js/googlesitekit-splash-30e76c65a9e86b793d44.js 0000604 00000744002 14717744000 0016711 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[28],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),a=n(37),i=n(44);function o(t,n){var o,c=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(a.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:l.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(a.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),a=n.n(r),i=n(7),o=n.n(i),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var i=Object(s.a)(t);return function(){var t=l()(a.a.mark((function t(o,c,l,s){var u;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,a=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(a),e()};i("event",c,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var a=n(124);n.d(t,"c",(function(){return a.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return TourTooltips}));var a=n(7),i=n.n(a),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),f=n(24),g=n(6),p=n(36),m=n(130),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},k={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},E={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},_="feature_tooltip_view",y="feature_tooltip_advance",O="feature_tooltip_return",S="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,a=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(a,"-step"),w="".concat(a,"-run"),C=Object(d.useDispatch)(f.b).setValue,R=Object(d.useDispatch)(g.a).dismissTour,N=Object(d.useRegistry)(),x=Object(h.a)(),z=Object(d.useSelect)((function(e){return e(f.b).getValue(u)})),A=Object(d.useSelect)((function(e){return e(f.b).getValue(w)&&!1===e(g.a).isTourDismissed(a)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),C(w,!0)}));var L=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,a=e.size,i=e.status,o=e.type,s=t+1,u="function"==typeof l?l(x):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,_,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,S,s):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&a===s&&Object(p.b)(u,j,s),r===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,O,s),n===c.a.NEXT&&Object(p.b)(u,y,s))}(t);var n=t.action,r=t.index,i=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(i),h=f&&d===c.b.STEP_AFTER,v=m||h;if(c.b.STEP_BEFORE===d){var b,k,E=o.target;"string"==typeof o.target&&(E=e.document.querySelector(o.target)),null===(b=E)||void 0===b||null===(k=b.scrollIntoView)||void 0===k||k.call(b,{block:"center"})}g?function(e,t){C(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(a)),R(a)),s&&s(t,N)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:E,locale:k,run:A,showProgress:!0,stepIndex:z,steps:L,styles:b,tooltipComponent:m.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},1118:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSplashApp}));var r=n(3),a=n(14),i=n(6),o=n(1119),c=n(1128),l=n(1130);function DashboardSplashApp(){var t=Object(r.useSelect)((function(e){return e(a.c).isUsingProxy()})),n=Object(r.useSelect)((function(e){return e(i.a).hasCapability(i.H)}));return!0===t?n?e.createElement(o.a,null):e.createElement(c.a,null):!1===t?e.createElement(l.a,null):null}}).call(this,n(4))},1119:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUsingProxyWithSignIn}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(799),l=n.n(c),s=n(0),u=n(38),d=n(2),f=n(157),g=n(519),p=n(3),m=n(10),h=n(1120),v=n(1121),b=n(8),k=n(242),E=n(674),_=n(185),y=n(65),O=n(218),S=n(1122),j=n(14),w=n(6),C=n(32),R=n(19),N=n(28),x=n(17),z=n(503),A=n(243),L=n(1126),M=n(18),T=n(20),D=n(41);function SetupUsingProxyWithSignIn(){var t,n,r=Object(M.a)(),i=Object(p.useSelect)((function(e){return e(R.a).isModuleAvailable("analytics-4")})),c=Object(p.useSelect)((function(e){return e(R.a).isModuleActive("analytics-4")})),P=Object(p.useSelect)((function(e){return e(N.a).getValue(z.b,z.a)})),I=Object(p.useSelect)((function(e){return e(j.c).hasConnectedAdmins()})),B=Object(p.useSelect)((function(e){return e(j.c).isResettable()})),F=Object(p.useSelect)((function(e){return e(j.c).getReferenceSiteURL()})),V=Object(p.useSelect)((function(e){return e(j.c).getProxySetupURL()})),H=Object(p.useSelect)((function(e){return Object(b.L)(e(j.c).getHomeURL())})),W=Object(p.useSelect)((function(e){return e(j.c).isConnected()})),U=Object(p.useSelect)((function(e){return e(j.c).hasMultipleAdmins()})),G=Object(p.useSelect)((function(e){return e(j.c).getDocumentationLinkURL("already-configured")})),K=Object(p.useSelect)((function(e){return e(w.a).getDisconnectedReason()})),q=Object(p.useSelect)((function(e){return Object(b.L)(e(w.a).getConnectedProxyURL())})),J=Object(p.useSelect)((function(e){return e(j.c).getAdminURL("googlesitekit-dashboard")})),X=Object(p.useSelect)((function(e){return e(j.c).getDocumentationLinkURL("url-has-changed")})),Y=Object(p.useSelect)((function(e){var t;return!!(null===(t=e(w.a).getViewableModules())||void 0===t?void 0:t.length)})),$=Object(p.useDispatch)(w.a).dismissItem,Z=Object(p.useDispatch)(C.a).navigateTo,Q=Object(p.useDispatch)(R.a).activateModule,ee=Object(s.useCallback)((function(){Promise.all([$(z.c),Object(b.J)(r,"skip_setup_to_viewonly")]).finally((function(){Z(J)}))}),[J,$,Z,r]),te=Object(s.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,i,o,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!P){e.next=11;break}return e.next=4,Q("analytics-4");case 4:if(i=e.sent,o=i.error,c=i.response,o){e.next=11;break}return e.next=10,Object(b.J)("".concat(r,"_setup"),"start_setup_with_analytics");case 10:n=c.moduleReauthURL;case 11:if(!V){e.next=14;break}return e.next=14,Promise.all([Object(D.f)("start_user_setup",!0),Object(b.J)("".concat(r,"_setup"),"start_user_setup","proxy")]);case 14:if(!V||W){e.next=17;break}return e.next=17,Promise.all([Object(D.f)("start_site_setup",!0),Object(b.J)("".concat(r,"_setup"),"start_site_setup","proxy")]);case 17:Z(n&&V?Object(f.a)(V,{redirect:n}):V);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[V,Z,W,Q,P,r]),ne=!1,re={smSize:4,mdSize:8,lgSize:6};c||(re={smSize:4,mdSize:8,lgSize:8});var ae=null;return"revoked"===Object(g.a)(location.href,"googlesitekit_context")?(t=Object(d.sprintf)( /* translators: %s: is the site's hostname. (e.g. example.com) */ Object(d.__)("You revoked access to Site Kit for %s","google-site-kit"),l.a.toUnicode(new URL(F).hostname)),n=Object(d.__)('Site Kit will no longer have access to your account. If you’d like to reconnect Site Kit, click "Sign in with Google" below to generate new credentials.',"google-site-kit")):w.b===K?(t=Object(d.__)("Reconnect Site Kit","google-site-kit"),n=Object(d.__)("Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.","google-site-kit"),ae=X):I?(t=Object(d.__)("Connect your Google account to Site Kit","google-site-kit"),n=Object(d.__)("Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the 3 setup steps, you’ll see stats from all activated Google services.","google-site-kit"),ne=!0):(t=Object(d.__)("Set up Site Kit","google-site-kit"),n=Object(d.__)("Get insights on how people find your site, as well as how to improve and monetize your site’s content, directly in your WordPress dashboard","google-site-kit")),e.createElement(s.Fragment,null,e.createElement(k.a,null,e.createElement(A.a,null)),"reset_success"===Object(g.a)(location.href,"notification")&&e.createElement(y.b,{id:"reset_success",title:Object(d.__)("Site Kit by Google was successfully reset.","google-site-kit"),isDismissible:!1}),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(x.e,null,e.createElement(x.k,null,e.createElement(x.a,{size:12},e.createElement(_.a,{rounded:!0},e.createElement("section",{className:"googlesitekit-setup__splash"},e.createElement(x.e,null,e.createElement(x.k,{className:"googlesitekit-setup__content"},e.createElement(x.a,{smSize:4,mdSize:8,lgSize:c?6:4,className:"googlesitekit-setup__icon"},c&&e.createElement(h.a,{width:"570",height:"336"}),!c&&e.createElement(v.a,{height:"167",width:"175"})),e.createElement(x.a,re,e.createElement("h1",{className:"googlesitekit-setup__title"},t),e.createElement("p",{className:"googlesitekit-setup__description"},!ne&&n,ne&&Object(u.a)(Object(d.sprintf)( /* translators: 1: The description. 2: The learn more link. */ Object(d.__)("%1$s <Link>%2$s</Link>","google-site-kit"),n,Object(d.__)("Learn more","google-site-kit")),{Link:e.createElement(T.a,{href:G,external:!0})})),ae&&e.createElement(T.a,{href:ae,external:!0},Object(d.__)("Get help","google-site-kit")),w.b===K&&q!==H&&e.createElement("p",null,Object(d.sprintf)( /* translators: %s: Previous Connected Proxy URL */ Object(d.__)("— Old URL: %s","google-site-kit"),q),e.createElement("br",null),Object(d.sprintf)( /* translators: %s: Connected Proxy URL */ Object(d.__)("— New URL: %s","google-site-kit"),H)),i&&!c&&e.createElement(L.a,null),e.createElement(S.a,null,(function(t){var n=t.complete,r=t.inProgressFeedback,a=t.ctaFeedback;return e.createElement(s.Fragment,null,a,e.createElement(O.a,null),e.createElement("div",{className:"googlesitekit-start-setup-wrap"},e.createElement(m.Button,{className:"googlesitekit-start-setup",href:V,onClick:te,disabled:!n},Object(d.__)("Sign in with Google","google-site-kit")),r,U&&I&&Y&&n&&e.createElement(m.Button,{tertiary:!0,onClick:ee},Object(d.__)("Skip sign-in and view limited dashboard","google-site-kit")),!I&&B&&n&&e.createElement(E.a,null)))}))))))))))))}}).call(this,n(4))},1120:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M170.78 167.21c11.36-5.5 21.2 1.59 22.73 7",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7}),o=r.createElement("ellipse",{cx:292.73,cy:307.44,rx:252.51,ry:10.01,fill:"#F1F3F4"}),c=r.createElement("path",{d:"M93.23 212.44c-6 6.78-17 9.12-25.62 8.24-14.77-1.52-23-11-28.38-24",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7}),l=r.createElement("path",{d:"M93.23 212.44a24.66 24.66 0 01-11.81 7",stroke:"#1A73E8",strokeLinejoin:"round",strokeWidth:7}),s=r.createElement("path",{d:"M125.33 206.44L112.12 242a60 60 0 00.12 42.15l11.09 21.34h-14.22M125.33 206.44l-9.55 25.67M146.34 216.44v89h13.23M125.33 206.44a72.1 72.1 0 00-5.25 13.5M146.34 216.44v7",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:7}),u=r.createElement("path",{d:"M142.65 219.64a61.5 61.5 0 01-80.49-33l113.46-47.52a61.51 61.51 0 01-32.97 80.52z",fill:"#1A73E8"}),d=r.createElement("path",{d:"M146.93 202c7.74-4.34 12.25-12.92 12.66-22.39l-43.54 17.79",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),f=r.createElement("path",{d:"M385.07 137.93c18 7.48 43.08 2.83 56-12.14 11.22-13 11.51-31.12 6.34-46.75M322.39 152.05c-24.41 12-41.12 72.46-24.79 98M365.34 177.13c2.77 13.29 5.23 29.83 9.9 45.42",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:7}),g=r.createElement("path",{d:"M366 239.9l3.21 28.92a29.93 29.93 0 01-3.14 17L356 305.44h14.22M341.55 234.9v70.54h-13.23",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:7}),p=r.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:7,d:"M366.02 239.9l1.16 10.44M341.55 234.9v15.44"}),m=r.createElement("path",{fill:"#F9AB00",d:"M396.25 159.92l3.18-81.94-81.94-3.17-3.18 81.94-3.18 81.94 81.95 3.18 3.17-81.95z"}),h=r.createElement("path",{d:"M335.08 118.92c5 15.13 20.44 24.7 38.06 14.51M340 115c-2.94 3.32-5.56 4.45-11.13 5.07",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),v=r.createElement("path",{d:"M326.51 226.26c9.21 1.09 46.63 9.81 36.62-24",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7}),b=r.createElement("path",{d:"M255.19 243.91c-1.95 22.25-1.06 43.25 6 61.53H277M227.09 243.91c-2 21.75-.54 42.43 6 61.53h-14.62",stroke:"#188038",strokeLinejoin:"round",strokeWidth:7}),k=r.createElement("path",{d:"M255.19 243.91a212.54 212.54 0 00-.86 22.78M227.09 243.91q-.75 8.16-.82 16.11",stroke:"#137333",strokeLinejoin:"round",strokeWidth:7}),E=r.createElement("path",{d:"M193.58 180c-2.07 8.2-14.68 10.84-20.68 15.6-1.52 1.21-3.64 2.28-4.66 4a5 5 0 00-.6 1.84",stroke:"#4285F4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7}),_=r.createElement("path",{d:"M163.46 270.46c-9.77-6.25-16-20.14-13.11-31.58 2.53-9.9 14-22.34 23.45-25.13",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7}),y=r.createElement("path",{fill:"#1E8E3E",d:"M256.35 176.56l-81.51-8.96-8.96 81.52 81.51 8.96 81.52 8.96 8.96-81.51-81.52-8.97z"}),O=r.createElement("path",{d:"M221.29 221.77C234.34 238 260 245 280.76 228.31",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),S=r.createElement("path",{d:"M486.65 220.21c17.35 10.79 35.85 29.69 49.2-6.29",stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7}),j=r.createElement("path",{d:"M486.65 220.21c4.33 2.7 8.74 5.9 13.12 8.63",stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7}),w=r.createElement("path",{d:"M392.08 212.43c2.38 17.25 3.91 37.24 0 54.26",stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7}),C=r.createElement("path",{d:"M392.08 212.43c1 7.16 1.82 14.78 2.19 22.47",stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7}),R=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:7,d:"M430.17 218.39l-8.54 87.05h-22.3M469.93 218.39l-8.54 87.05h20.74"}),N=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:7,d:"M430.17 218.39l-3.67 37.38M469.93 218.39l-3.33 33.95"}),x=r.createElement("circle",{cx:444.5,cy:188.84,r:61.5,fill:"#D93025"}),z=r.createElement("path",{d:"M464.88 219.51c-9.5 12.78-27.2 17-40.68 1.74M430.17 219.55c-4.42-.27-7.08.79-11.45 4.29",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),A=r.createElement("path",{d:"M167.64 201.39a8.07 8.07 0 002.46 7.06c3.38 3 10.33 1.86 12-2.55"}),L=r.createElement("path",{d:"M517.93 197.07l-.44 2.26a3 3 0 00.93 2.81l4.27 3.85a6 6 0 011.53 6.75l-4.56 11.07a20.08 20.08 0 00-1.5 8.14l.31 12.64a2 2 0 001.62 1.91l2.75.54a2 2 0 002.22-1.16l5.06-11.58a20 20 0 001.68-8.11v-12a6 6 0 014-5.68l5.4-1.95a3 3 0 001.93-2.25l.44-2.26z",fill:"#80868B"}),M=r.createElement("path",{fill:"#DADCE0",d:"M520.641 183.266l25.565 5.006-2.697 13.769-25.564-5.007z"}),T=r.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:.44,d:"M520.05 186.25l25.56 5.01M518.51 194.12l25.56 5.01"}),D=r.createElement("path",{d:"M525.462 161.77l24.446 4.787a.59.59 0 01.465.693l-4.114 21.01-25.604-5.013 4.12-21.04a.59.59 0 01.693-.466z",fill:"#5F6368"}),P=r.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:.44,d:"M523.58 183.88l4.23-21.63M527.51 184.65l4.24-21.63M531.44 185.42l4.24-21.63M535.37 186.19l4.24-21.63M539.31 186.96l4.24-21.63M543.24 187.73l4.24-21.63"}),I=r.createElement("path",{d:"M549.45 166.49l-23.6-4.63a1 1 0 00-1.18.79l-1.35 6.89 2.56 9.24a3 3 0 004.38 1.82l8.63-4.89a6 6 0 017.33 1.1l1.84 1.95 2.18-11.1a1 1 0 00-.79-1.17z",fill:"#24C1E0"}),B=r.createElement("path",{d:"M91.3 137.33l-14.21-11.47-57 70.65a9.12 9.12 0 001.38 12.84A9.12 9.12 0 0034.33 208zm-60.91 61a5 5 0 11-7.09.76 5 5 0 017.09-.78z",fill:"#BDC1C6"}),F=r.createElement("path",{d:"M83.68 117.3l15.58 9.54 10-16.37a22.82 22.82 0 11-15.38-9.85z",fill:"#DADCE0"}),V=r.createElement("path",{fill:"#DADCE0",d:"M81.24 122.25l-6.01 5.62 16.25 9.95 5.94-5.65-16.18-9.92z"}),H=r.createElement("path",{fill:"#F8F9FA",d:"M95.68 131.1l-6.01 5.61 1.75 1.07 6-5.61-1.74-1.07zM92.07 128.89l-6.01 5.61 1.75 1.07 6-5.61-1.74-1.07zM88.46 126.67l-6.01 5.62 1.75 1.07 6-5.62-1.74-1.07zM84.85 124.46l-6.01 5.62 1.75 1.07 6-5.62-1.74-1.07zM81.24 122.25l-6.01 5.62 1.75 1.07 6-5.62-1.74-1.07z"}),W=r.createElement("path",{fill:"#BDC1C6",d:"M466.08 97.09l-4.91 2.54-33.57-70.67 4.91-2.54 33.57 70.67z"}),U=r.createElement("path",{fill:"#DADCE0",d:"M437.63 33.71l-7.57 3.92-5.62-15.68 4.63-2.4 8.56 14.16z"}),G=r.createElement("path",{d:"M466.83 105.11a7.34 7.34 0 01-10.14-3.11l-15.25-32.1 13.88-7.18 15.24 32.1a8 8 0 01-3.73 10.29z"}),K=r.createElement("path",{d:"M464.56 100.33A4 4 0 01459 98.6l-14.41-30.38 7.58-3.92 14.43 30.38a4.35 4.35 0 01-2.04 5.65z",fill:"#5F6368"}),q=r.createElement("path",{fill:"#BDC1C6",d:"M145.57 277.902l47.608-38.744 8.01 9.842-47.607 38.745z"}),J=r.createElement("path",{fill:"#9AA0A6",d:"M189.085 242.485l4.087-3.326 8.01 9.842-4.087 3.327z"}),X=r.createElement("path",{fill:"#BDC1C6",d:"M211.607 241.354l8.143 10.005-7.415 6.035-8.143-10.006z"}),Y=r.createElement("rect",{x:209.99,y:252.12,width:16.52,height:9.9,rx:1.53,transform:"rotate(140.86 218.257 257.06)",fill:"#DADCE0"}),$=r.createElement("path",{d:"M175.87 220.73c4.56-.39 13.4-.24 24.73 4.4a14.61 14.61 0 015.8 4.3l9 11.11a1.53 1.53 0 01-.22 2.16l-10.44 8.5a1.53 1.53 0 01-2.15-.23l-8-9.81a44.24 44.24 0 01-4.69-7.16c-1.21-2.28-4.66-6.23-14.42-11.22a1.06 1.06 0 01.39-2.05z",fill:"#DADCE0"}),Z=r.createElement("rect",{x:158.98,y:236.29,width:3.47,height:74.9,rx:1.73,transform:"rotate(50.86 160.713 273.711)",fill:"#BDC1C6"}),Q=r.createElement("path",{d:"M166.85 260.56l-38.79 31.57a6.34 6.34 0 008 9.84l38.79-31.57z",fill:"#5F6368"}),ee=r.createElement("path",{d:"M163.46 270.46c-9.77-6.25-16-20.14-13.11-31.58",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7});t.a=function SvgWelcome(e){return r.createElement("svg",a({viewBox:"0 0 570 336",fill:"none"},e),i,o,c,l,s,u,d,f,g,p,m,h,v,b,k,E,_,y,O,S,j,w,C,R,N,x,z,A,L,M,T,D,P,I,B,F,V,H,W,U,G,K,q,J,X,Y,$,Z,Q,ee)}},1121:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M158.121 0H0v87.697h158.121V0z",fill:"#F1F3F4"}),o=r.createElement("path",{d:"M40.314 67.99c13.594 0 24.614-11.007 24.614-24.586 0-13.58-11.02-24.587-24.614-24.587-13.593 0-24.613 11.008-24.613 24.587S26.72 67.99 40.314 67.99z",stroke:"#fff",strokeWidth:8,strokeMiterlimit:10}),c=r.createElement("path",{d:"M54.075 23.024c6.546 4.417 10.853 11.903 10.853 20.386 0 13.58-11.019 24.588-24.614 24.588S15.701 56.984 15.701 43.404c0-13.58 11.018-24.58 24.613-24.58",stroke:"#D9DBDF",strokeWidth:8,strokeMiterlimit:10}),l=r.createElement("path",{d:"M115.103 68.029c13.594 0 24.613-11.008 24.613-24.587 0-13.58-11.019-24.587-24.613-24.587S90.489 29.863 90.489 43.442s11.02 24.587 24.614 24.587z",stroke:"#fff",strokeWidth:8,strokeMiterlimit:10}),s=r.createElement("path",{d:"M119.085 19.179c11.7 1.9 20.631 12.043 20.631 24.263 0 13.58-11.018 24.587-24.613 24.587-13.595 0-24.614-11.007-24.614-24.587s11.019-24.587 24.614-24.587",stroke:"#D9DBDF",strokeWidth:8,strokeMiterlimit:10}),u=r.createElement("path",{d:"M115.332 167c32.405 0 58.674-2.726 58.674-6.088s-26.269-6.088-58.674-6.088-58.674 2.726-58.674 6.088S82.928 167 115.332 167z",fill:"#F1F3F4"}),d=r.createElement("path",{d:"M125.237 111.026c-1.584 18.042-.865 35.066 4.899 49.886h12.787m-40.499-49.886c-1.622 17.635-.439 34.406 4.898 49.886H95.426",stroke:"#148E3A",strokeWidth:6,strokeMiterlimit:10,strokeLinejoin:"round"}),f=r.createElement("path",{d:"M125.237 111.026c-.394 4.512-.649 8.954-.712 13.32m-22.101-13.32c-.534 5.815-.763 11.534-.642 17.146",stroke:"#0D8034",strokeWidth:6,strokeMiterlimit:10,strokeLinejoin:"round"}),g=r.createElement("path",{d:"M107.539 67.374l-54.756 5.192 5.191 54.697 54.762-5.186 54.756-5.192-5.198-54.696-54.755 5.185z",fill:"#1E8E3E"}),p=r.createElement("path",{d:"M106.406 93.01c5.815 4.798 15.402 5.376 21.541-2.04",stroke:"#fff",strokeWidth:5,strokeMiterlimit:10}),m=r.createElement("path",{d:"M163.427 77.631c-65.246 6.006-90.973-8.801-101.07-23.297m-3.454 41.453c-12.959-1.652-26.248-17.412-29.626-30.014",stroke:"#34A853",strokeWidth:6,strokeMiterlimit:10}),h=r.createElement("path",{d:"M58.903 95.787c-3.88-.496-7.793-2.256-11.457-4.817",stroke:"#148E3A",strokeWidth:6,strokeMiterlimit:10,strokeLinejoin:"round"});t.a=function SvgWelcomeAnalytics(e){return r.createElement("svg",a({fill:"none",viewBox:"0 0 174 167"},e),i,o,c,l,s,u,d,f,g,p,m,h)}},1122:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CompatibilityChecks}));var r=n(23),a=n.n(r),i=n(2),o=n(1),c=n.n(o),l=n(3),s=n(10),u=n(71),d=n(17),f=n(1123),g=n(1124),p=n(14),m=n(713);function CompatibilityChecks(t){var n=t.children,r=a()(t,["children"]),o=Object(l.useRegistry)(),c=Object(f.a)(function(e){return e.select(p.c).isConnected()?[]:[m.c,m.b,Object(m.d)(e),m.a]}(o)),h=c.complete,v=c.error,b=v&&e.createElement(d.e,{alignLeft:!0,className:"googlesitekit-setup-compat"},e.createElement("div",{className:"googlesitekit-setup__warning"},e.createElement(u.a,null),e.createElement("div",{className:"googlesitekit-heading-4"},Object(i.__)("Your site may not be ready for Site Kit","google-site-kit"))),e.createElement(g.a,{error:v}));return n({props:r,complete:h,error:v,inProgressFeedback:!h&&e.createElement("div",{className:"googlesitekit-margin-left-1rem googlesitekit-align-self-center"},e.createElement("small",null,Object(i.__)("Checking Compatibility…","google-site-kit")),e.createElement(s.ProgressBar,{small:!0,compress:!0})),ctaFeedback:b})}CompatibilityChecks.propTypes={children:c.a.func.isRequired}}).call(this,n(4))},1123:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(91),u=n(0);function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){var t=Object(u.useState)(e),n=l()(t,1)[0],r=Object(u.useState)(!(null==n?void 0:n.length)),i=l()(r,2),c=i[0],f=i[1],g=Object(u.useState)(void 0),p=l()(g,2),m=p[0],h=p[1];return Object(s.a)((function(){c||function(){var e=o()(a.a.mark((function e(){var t,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,t=d(n),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=10;break}return i=r.value,e.next=8,i();case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),t.e(e.t0);case 15:return e.prev=15,t.f(),e.finish(15);case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(0),h(e.t1);case 23:f(!0);case 24:case"end":return e.stop()}}),e,null,[[0,20],[2,12,15,18]])})));return function(){return e.apply(this,arguments)}}()()})),{complete:c,error:m}}},1124:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CompatibilityErrorNotice}));var r=n(38),a=n(2),i=n(3),o=n(72),c=n(20),l=n(14),s=n(251),u=n(787),d=function(e,t){var n=e.installed,r=e.active,i=e.installURL,o=e.activateURL,c=e.configureURL;return!n&&i?{"aria-label":Object(a.__)("Install the helper plugin","google-site-kit"),children:Object(a.__)("Install","google-site-kit"),href:i,external:!1}:n&&!r&&o?{"aria-label":Object(a.__)("Activate the helper plugin","google-site-kit"),children:Object(a.__)("Activate","google-site-kit"),href:o,external:!1}:n&&r&&c?{"aria-label":Object(a.__)("Configure the helper plugin","google-site-kit"),children:Object(a.__)("Configure","google-site-kit"),href:c,external:!1}:{"aria-label":Object(a.__)("Learn how to install and use the helper plugin","google-site-kit"),children:Object(a.__)("Learn how","google-site-kit"),href:t,external:!0}};function CompatibilityErrorNotice(t){var n=t.error,f=Object(i.useSelect)((function(e){return e(l.c).getDeveloperPluginState()}))||{},g=f.installed,p=Object(i.useSelect)((function(e){return e(l.c).getDocumentationLinkURL("staging")})),m=Object(i.useSelect)((function(e){return e(l.c).getErrorTroubleshootingLinkURL({code:s.e})}));switch(n){case s.c:return e.createElement("p",null,Object(r.a)(Object(a.__)("Site Kit cannot access the WordPress REST API. Please ensure it is enabled on your site. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(u.a,{errorCode:n})}));case s.f:case s.d:return e.createElement("p",null,!g&&e.createElement("span",null,Object(r.a)(Object(a.__)("Looks like this may be a staging environment. If so, you’ll need to install a helper plugin and verify your production site in Search Console. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(c.a,d(f,p))})),g&&e.createElement("span",null,Object(r.a)(Object(a.__)("Looks like this may be a staging environment and you already have the helper plugin. Before you can use Site Kit, please make sure you’ve provided the necessary credentials in the Authentication section and verified your production site in Search Console. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(c.a,d(f,p))})));case s.h:return e.createElement("p",null,Object(r.a)(Object(a.__)("Looks like Site Kit is unable to place or detect tags on your site. This can be caused by using certain caching or maintenance mode plugins or your site’s frontend is configured on a different host or infrastructure than your administration dashboard. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(u.a,{errorCode:n})}));case s.e:return e.createElement("p",{dangerouslySetInnerHTML:Object(o.a)("\n\t\t\t\t\t\t".concat(Object(a.__)("Looks like your site is having a technical issue with requesting data from Google services.","google-site-kit"),"\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t").concat(Object(a.sprintf)( /* translators: 1: Help URL, 2: Support Forum URL, 3: Error message */ Object(a.__)('<a href="%1$s">Click here</a> for more information, or to get more help, ask a question on our <a href="%2$s">support forum</a> and include the text of the original error message: %3$s',"google-site-kit"),m,"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case s.b:return e.createElement("p",null,Object(r.a)(Object(a.__)("Looks like the AMP CDN is restricted in your region, which could interfere with setup on the Site Kit service. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(u.a,{errorCode:n})}));case s.g:return e.createElement("p",{dangerouslySetInnerHTML:Object(o.a)("\n\t\t\t\t\t\t".concat(Object(a.__)("Looks like your site is having a technical issue with connecting to the Site Kit authentication service.","google-site-kit"),"\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t").concat(Object(a.sprintf)( /* translators: 1: Support Forum URL, 2: Error message */ Object(a.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})})}}}).call(this,n(4))},1125:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=function(e){var t=e.split(".");return(+t[0]<<24)+(+t[1]<<16)+(+t[2]<<8)+ +t[3]},a=function(e,t,n){return(r(e)&-1<<32-n)===r(t)}},1126:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsNotice}));var r=n(7),a=n.n(r),i=n(0),o=n(38),c=n(2),l=n(3),s=n(10),u=n(503),d=n(28),f=n(1127);function ActivateAnalyticsNotice(){var t=Object(l.useDispatch)(d.a).setValues,n=Object(l.useSelect)((function(e){return e(d.a).getValue(u.b,u.a)})),r=Object(i.useCallback)((function(e){t(u.b,a()({},u.a,e.target.checked))}),[t]);return e.createElement("div",{className:"googlesitekit-setup-analytics-notice"},e.createElement("div",{className:"googlesitekit-setup-analytics-notice__opt-in"},e.createElement(s.Checkbox,{id:"googlesitekit-analytics-setup-opt-in",name:"googlesitekit-analytics-setup-opt-in",value:"1",checked:n,onChange:r},Object(o.a)(Object(c.__)("<strong>Connect Google Analytics as part of your setup.</strong> Activate Google Analytics to track how much traffic you’re getting and how people navigate your site.","google-site-kit"),{strong:e.createElement("strong",null)}))),e.createElement("div",{className:"googlesitekit-setup-analytics-notice__icon"},e.createElement(f.a,null)))}}).call(this,n(4))},1127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__a)"},r.createElement("rect",{x:135,y:2,width:148,height:122,rx:3.976,fill:"#fff"})),o=r.createElement("path",{d:"M147.754 25.902v-7.98h1.939l2.118 5.607h.089l2.118-5.606h1.95v7.98h-1.494v-3.935l.09-1.326h-.09l-2.028 5.26h-1.17l-2.04-5.26h-.089l.089 1.326v3.934h-1.482zm12.456.179c-.595 0-1.122-.13-1.583-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.583-.4.594 0 1.118.133 1.571.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36c.282 0 .538-.063.769-.19a1.49 1.49 0 00.568-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.494 1.494 0 00-.568-.569 1.506 1.506 0 00-.769-.2 1.61 1.61 0 00-.781.2 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.246.126.506.189.781.189zm6.244 1.36c-.49 0-.91-.07-1.259-.212a2.36 2.36 0 01-.836-.557 2.299 2.299 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.438.438 0 00.29-.435.414.414 0 00-.156-.346.933.933 0 00-.368-.2 3.213 3.213 0 00-.457-.123l-.669-.145a2.524 2.524 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.508 1.508 0 01-.223-.813c0-.342.097-.639.29-.891.201-.253.468-.45.803-.591a2.916 2.916 0 011.125-.212c.565 0 1.048.1 1.449.301.401.2.702.513.903.936l-1.249.546a1.01 1.01 0 00-.468-.468 1.369 1.369 0 00-.601-.133c-.253 0-.454.048-.602.144-.149.097-.223.212-.223.346 0 .141.074.264.223.368.148.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.506.49-.87.647a3.187 3.187 0 01-1.215.223zm5.885-.09c-.587 0-1.048-.167-1.382-.501-.334-.342-.502-.81-.502-1.404v-2.62h-.991V20.22h.991v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.168.602.111.134.297.2.557.2a.884.884 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.74 2.74 0 01-1.014.19zm4.751 2.319v-8.091h1.371v.69h.089c.141-.222.357-.423.647-.601.297-.179.65-.268 1.058-.268.521 0 .985.13 1.394.39.416.253.742.606.98 1.059.245.453.368.977.368 1.571 0 .595-.123 1.119-.368 1.572-.238.453-.564.81-.98 1.07a2.596 2.596 0 01-1.394.379c-.408 0-.761-.086-1.058-.257-.29-.178-.506-.379-.647-.602h-.089l.089.803v2.285h-1.46zm2.909-3.578a1.481 1.481 0 001.326-.791 1.7 1.7 0 00.223-.88c0-.342-.074-.636-.223-.881a1.488 1.488 0 00-.568-.568 1.464 1.464 0 00-1.516 0c-.23.133-.42.327-.568.58a1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.148.246.338.44.568.58.238.142.491.212.758.212zm6.842 1.349c-.594 0-1.121-.13-1.582-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.582-.4.595 0 1.119.133 1.572.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.769-.19a1.49 1.49 0 00.569-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.49 1.49 0 00-.569-.569 1.604 1.604 0 00-1.549 0 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.245.126.505.189.78.189zm4.039 3.589v-8.091h1.37v.69h.09c.141-.222.356-.423.646-.601.297-.179.65-.268 1.059-.268.52 0 .984.13 1.393.39.416.253.743.606.981 1.059.245.453.367.977.367 1.571 0 .595-.122 1.119-.367 1.572-.238.453-.565.81-.981 1.07a2.595 2.595 0 01-1.393.379c-.409 0-.762-.086-1.059-.257-.29-.178-.505-.379-.646-.602h-.09l.09.803v2.285h-1.46zm2.908-3.578a1.481 1.481 0 001.327-.791 1.71 1.71 0 00.223-.88c0-.342-.075-.636-.223-.881a1.49 1.49 0 00-.569-.568 1.457 1.457 0 00-1.515 0 1.57 1.57 0 00-.569.58 1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.149.246.338.44.569.58.237.142.49.212.757.212zm6.12 1.349c-.699 0-1.223-.216-1.572-.647-.349-.43-.524-1.018-.524-1.76v-3.455h1.46v3.276c0 .386.093.691.279.914a.944.944 0 00.736.323c.431 0 .765-.156 1.003-.468.237-.312.356-.695.356-1.148V20.22h1.46v5.683h-1.371v-.713h-.089a1.83 1.83 0 01-.724.658 2.194 2.194 0 01-1.014.234zm4.632-.179v-7.98H206v7.98h-1.46zm4.579.179c-.402 0-.758-.078-1.07-.234a1.88 1.88 0 01-.725-.68 1.877 1.877 0 01-.267-1.003c0-.394.1-.732.301-1.014.208-.283.483-.502.825-.658a2.806 2.806 0 011.159-.234c.349 0 .65.03.902.09.253.051.454.107.602.166v-.245a.93.93 0 00-.345-.746c-.231-.201-.546-.301-.948-.301a1.73 1.73 0 00-.78.189 1.788 1.788 0 00-.613.48l-.936-.736c.275-.357.62-.632 1.037-.825a3.19 3.19 0 011.359-.29c.869 0 1.531.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.089a1.955 1.955 0 01-.646.536c-.268.148-.599.223-.992.223zm.345-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.331 2.331 0 00-.557-.19 2.61 2.61 0 00-.635-.077c-.431 0-.728.081-.892.245a.82.82 0 00-.245.602c0 .223.078.408.234.557.163.149.401.223.713.223zm4.163.958V20.22h1.371v.757h.089a1.76 1.76 0 01.647-.657 1.89 1.89 0 01.991-.268c.149 0 .283.012.402.034.119.022.223.052.312.089v1.46a3.776 3.776 0 00-.468-.145 1.67 1.67 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm-63.399 16.179c-.579 0-1.096-.127-1.549-.38a2.874 2.874 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.587.126-1.108.378-1.56a2.87 2.87 0 011.059-1.07c.453-.26.97-.39 1.549-.39.632 0 1.174.133 1.627.4.454.268.781.654.981 1.16l-1.337.557a1.183 1.183 0 00-.502-.569 1.49 1.49 0 00-.769-.19c-.431 0-.795.153-1.092.458-.29.297-.435.698-.435 1.203 0 .513.145.922.435 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.698 2.698 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm6.379 0c-.594 0-1.122-.13-1.582-.39a2.922 2.922 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.538c.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.594 0 1.118.134 1.571.401a2.84 2.84 0 011.059 1.081c.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.835 2.835 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36a1.483 1.483 0 001.337-.758c.149-.252.223-.553.223-.903 0-.349-.074-.646-.223-.891a1.487 1.487 0 00-.568-.569 1.604 1.604 0 00-1.549 0 1.575 1.575 0 00-.58.569c-.141.245-.211.542-.211.891 0 .35.07.65.211.903.149.245.342.435.58.569.245.126.505.189.78.189zm4.029 1.181V36.22h1.37v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.35.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.289-.847-.186-.2-.443-.301-.769-.301-.409 0-.732.156-.97.468-.23.312-.346.69-.346 1.137v2.897h-1.459zm8.862.09c-.587 0-1.047-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19zm4.652.089c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07 3.134 3.134 0 01-.379-1.55c0-.542.127-1.043.379-1.504.253-.46.598-.828 1.037-1.103.438-.283.94-.424 1.504-.424.609 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.223-.011.312a1.825 1.825 0 01-.023.178h-4.257c.067.446.245.788.535 1.025.29.238.631.357 1.025.357.349 0 .643-.074.881-.223a1.74 1.74 0 00.557-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.108 1.108 0 00-.189-.513 1.344 1.344 0 00-.468-.446 1.422 1.422 0 00-.736-.178zm3.922 4.67v-5.684h1.371v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.349.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.442-.301-.769-.301-.408 0-.731.156-.969.468-.231.312-.346.69-.346 1.137v2.897h-1.46zm8.863.089c-.587 0-1.048-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19z",fill:"#202124"}),c=r.createElement("path",{d:"M149.749 64.817h-.742v-4.92l-1.488.546v-.67l2.115-.794h.115v5.838zm1.381 15h-3.807v-.53l2.011-2.236c.298-.338.503-.612.615-.822.114-.213.172-.432.172-.658 0-.303-.092-.552-.276-.746-.183-.195-.428-.292-.734-.292-.367 0-.653.105-.858.316-.202.207-.303.497-.303.87h-.739c0-.535.172-.968.515-1.297.346-.33.808-.495 1.385-.495.54 0 .967.142 1.281.427.314.282.471.658.471 1.13 0 .571-.365 1.252-1.094 2.042l-1.556 1.688h2.917v.603zm-2.733 11.736h.554c.349-.006.623-.097.822-.276.2-.178.3-.419.3-.722 0-.681-.339-1.022-1.018-1.022-.319 0-.575.092-.766.276-.189.18-.283.421-.283.722h-.739c0-.46.168-.842.503-1.145.338-.306.766-.46 1.285-.46.548 0 .978.146 1.289.436.311.29.467.693.467 1.209 0 .253-.082.497-.247.734a1.475 1.475 0 01-.667.53c.319.102.565.27.738.504.176.234.264.52.264.858 0 .521-.17.935-.511 1.24-.341.307-.784.46-1.329.46-.545 0-.99-.148-1.333-.443-.34-.296-.511-.685-.511-1.17h.743c0 .306.099.551.299.735.2.183.467.275.802.275.357 0 .629-.093.818-.28.189-.185.284-.453.284-.801 0-.338-.104-.598-.312-.778-.207-.181-.507-.275-.898-.28h-.554v-.602zm2.043 16.312h.806v.603h-.806v1.349h-.742v-1.349h-2.646v-.435l2.602-4.026h.786v3.858zm-2.55 0h1.808v-2.849l-.088.16-1.72 2.689z",fill:"#C7C7C7"}),l=r.createElement("path",{d:"M149 62.227c0-1.23 1.104-2.227 2.465-2.227h51.464c1.362 0 2.465.997 2.465 2.227s-1.103 2.227-2.465 2.227h-51.464c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.227 2.465-2.227h80.07c1.361 0 2.465.997 2.465 2.227s-1.104 2.227-2.465 2.227h-80.07c-1.361 0-2.465-.997-2.465-2.227zm0 14.848c0-1.23 1.104-2.227 2.465-2.227h44.109c1.361 0 2.464.997 2.464 2.227s-1.103 2.227-2.464 2.227h-44.109c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.228 2.465-2.228h59.637c1.362 0 2.465.998 2.465 2.228 0 1.23-1.103 2.227-2.465 2.227h-59.637c-1.361 0-2.465-.997-2.465-2.227z",fill:"#C7C7C7"}),s=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__b)"},r.createElement("rect",{x:4,y:52,width:148,height:122,rx:3.976,fill:"#fff"})),u=r.createElement("path",{d:"M19.707 75.08c-.624 0-1.17-.133-1.638-.4a2.783 2.783 0 01-1.08-1.149c-.253-.505-.38-1.107-.38-1.805v-4.803h1.494v4.892c0 .528.133.966.4 1.315.276.35.677.524 1.204.524.528 0 .925-.174 1.193-.524.275-.349.412-.787.412-1.315v-4.892h1.494v4.803c0 .661-.127 1.245-.38 1.75a2.834 2.834 0 01-1.069 1.181c-.46.282-1.01.424-1.65.424zm4.585-.178V69.22h1.37v.713h.09c.17-.275.412-.49.724-.647.312-.163.65-.245 1.014-.245.699 0 1.223.212 1.572.635.349.424.523.989.523 1.695v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.441-.301-.768-.301-.409 0-.732.156-.97.468-.23.312-.345.69-.345 1.137v2.897h-1.46zm7.496-6.308a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.278-.657a.912.912 0 01.669-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm7.072 2.408v-2.285l.089-.803h-.09c-.14.223-.356.424-.645.602-.29.171-.643.257-1.06.257-.52 0-.987-.127-1.404-.38a2.811 2.811 0 01-.991-1.07c-.238-.452-.357-.976-.357-1.57 0-.595.119-1.119.357-1.572a2.73 2.73 0 01.991-1.059 2.6 2.6 0 011.405-.39c.416 0 .769.09 1.059.268.29.178.505.379.646.601h.089v-.69h1.36v8.09h-1.45zm-1.46-3.578c.275 0 .527-.07.758-.212.238-.14.427-.334.568-.58.149-.252.223-.545.223-.88a1.64 1.64 0 00-.223-.869 1.471 1.471 0 00-.568-.58 1.46 1.46 0 00-1.516 0c-.23.134-.42.324-.568.569a1.736 1.736 0 00-.212.88c0 .335.07.628.212.88.148.254.338.45.568.591.238.134.49.201.758.201zm6.352 1.349c-.698 0-1.222-.216-1.572-.647-.349-.43-.523-1.018-.523-1.76v-3.455h1.46v3.276c0 .386.093.691.278.914a.945.945 0 00.736.323c.43 0 .765-.156 1.003-.468.238-.312.356-.695.356-1.148V69.22h1.46v5.683h-1.37v-.713h-.09a1.83 1.83 0 01-.724.658 2.192 2.192 0 01-1.014.234zm7.23 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.631.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.35 1.35 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm8.306 4.67L56.1 69.218h1.66l1.438 3.7h.09l1.46-3.7h1.638l-2.43 5.683h-1.449zm5.496-6.309a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.279-.657a.912.912 0 01.668-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.735 6.308V69.22h1.46v5.683h-1.46zm5.142.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.836-.557 2.293 2.293 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.925.925 0 00-.368-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.526 2.526 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.504 1.504 0 01-.222-.813c0-.341.096-.639.29-.891.2-.253.467-.45.802-.591a2.92 2.92 0 011.125-.212c.565 0 1.048.1 1.45.301.4.2.701.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.253 0-.453.048-.602.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.149.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.505.49-.87.647a3.186 3.186 0 01-1.214.223zm4.235-6.487a.912.912 0 01-.669-.278.912.912 0 01-.279-.669c0-.26.093-.48.279-.657a.912.912 0 01.669-.279c.26 0 .479.093.657.279a.876.876 0 01.279.657c0 .26-.093.483-.279.669a.876.876 0 01-.657.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm5.4.09c-.587 0-1.048-.168-1.382-.502-.335-.342-.502-.81-.502-1.404v-2.62h-.992V69.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.167.602.112.134.298.2.558.2a.88.88 0 00.368-.066 3.09 3.09 0 00.345-.178v1.426c-.32.126-.658.19-1.014.19zm4.707.089c-.594 0-1.122-.13-1.582-.39a2.929 2.929 0 01-1.07-1.081 3.168 3.168 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.282 0 .539-.063.77-.19a1.49 1.49 0 00.567-.568 1.75 1.75 0 00.223-.903c0-.349-.074-.646-.222-.891a1.49 1.49 0 00-.569-.569 1.605 1.605 0 00-1.55 0 1.573 1.573 0 00-.579.569c-.14.245-.211.542-.211.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V69.22h1.37v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.401.034.119.022.223.052.312.089v1.46a3.772 3.772 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.367.709-.367 1.17v2.83h-1.46zm6.7.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.293 2.293 0 01-.48-.758l1.305-.569c.245.543.668.814 1.27.814.238 0 .453-.037.646-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.924.924 0 00-.368-.2 3.196 3.196 0 00-.456-.123l-.67-.145a2.528 2.528 0 01-.78-.312 2.038 2.038 0 01-.601-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.047.1 1.449.301.4.2.702.513.902.936l-1.248.546a1.018 1.018 0 00-.468-.468 1.374 1.374 0 00-.602-.133c-.252 0-.453.048-.602.145-.148.096-.222.211-.222.345 0 .141.074.264.222.368.149.104.327.182.535.234l.836.2c.565.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98a2.16 2.16 0 01-.87.647 3.187 3.187 0 01-1.214.223zM17.166 88.902v-4.435h-1.014v-1.248h1.014v-.313c0-.66.197-1.17.591-1.526.394-.364.895-.546 1.505-.546.186 0 .36.01.524.033.163.022.297.052.4.09v1.426a5.375 5.375 0 00-.322-.112 1.206 1.206 0 00-.424-.067.847.847 0 00-.59.212c-.15.141-.224.335-.224.58v.223h1.394v1.248h-1.393v4.435h-1.46zm3.991 0V83.22h1.371v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.4.034.12.022.224.052.313.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm7.138.179c-.594 0-1.122-.13-1.582-.39a2.927 2.927 0 01-1.07-1.081 3.169 3.169 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.77-.19.237-.133.426-.323.568-.568a1.75 1.75 0 00.223-.903c0-.349-.075-.646-.223-.891a1.492 1.492 0 00-.569-.569 1.606 1.606 0 00-1.55 0 1.572 1.572 0 00-.578.569c-.142.245-.212.542-.212.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V83.22h1.37v.713h.09c.17-.268.405-.483.702-.647a2.093 2.093 0 011.025-.245c.416 0 .77.097 1.059.29.297.193.505.43.624.713.17-.275.412-.509.724-.702.32-.2.714-.3 1.182-.3.661 0 1.155.2 1.482.601.334.401.502.936.502 1.605v3.655h-1.45v-3.388c0-.364-.085-.639-.256-.824-.17-.194-.4-.29-.69-.29-.387 0-.692.152-.915.457-.222.304-.334.698-.334 1.181v2.864h-1.46v-3.388c0-.364-.089-.639-.267-.824-.171-.194-.416-.29-.736-.29-.364 0-.654.152-.87.457-.215.304-.322.698-.322 1.181v2.864h-1.46zm14.917.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.291 2.291 0 01-.48-.758l1.305-.569c.245.543.669.814 1.27.814a1.8 1.8 0 00.647-.111.438.438 0 00.29-.435.414.414 0 00-.157-.346.925.925 0 00-.367-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.527 2.527 0 01-.78-.312 2.038 2.038 0 01-.602-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.048.1 1.449.301.401.2.702.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.252 0-.453.048-.601.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.148.104.327.182.535.234l.835.2c.565.134.989.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98-.215.275-.505.49-.869.647a3.186 3.186 0 01-1.215.223zm6.183 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.632.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.962.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.351 1.351 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm5.715 4.848a2.36 2.36 0 01-1.07-.234 1.876 1.876 0 01-.724-.68 1.875 1.875 0 01-.267-1.003c0-.394.1-.732.3-1.014a2.07 2.07 0 01.825-.658c.35-.156.736-.234 1.16-.234.348 0 .65.03.902.09.253.051.453.107.602.166v-.245a.93.93 0 00-.346-.747c-.23-.2-.546-.3-.947-.3-.268 0-.528.063-.78.189-.245.119-.45.279-.613.48l-.936-.736a2.75 2.75 0 011.036-.825c.416-.193.87-.29 1.36-.29.87 0 1.53.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.09a1.948 1.948 0 01-.646.536c-.267.148-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.34 2.34 0 00-.558-.19 2.609 2.609 0 00-.635-.077c-.43 0-.728.082-.891.245a.818.818 0 00-.245.602c0 .223.078.408.234.557.163.149.4.223.713.223zm4.163.958V83.22h1.37v.757h.09c.141-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.149 0 .282.011.401.034.12.022.223.052.312.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.479-.067c-.438 0-.784.16-1.036.48-.246.319-.368.709-.368 1.17v2.83h-1.46zm7.093.179c-.58 0-1.096-.127-1.549-.38a2.868 2.868 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.588.126-1.108.379-1.56a2.86 2.86 0 011.058-1.07c.453-.26.97-.39 1.55-.39.63 0 1.173.133 1.626.4.454.268.78.654.981 1.16l-1.337.557a1.184 1.184 0 00-.502-.569 1.494 1.494 0 00-.769-.19c-.43 0-.795.153-1.092.458-.29.297-.434.698-.434 1.203 0 .513.144.922.434 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.7 2.7 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm3.714-.179v-7.98h1.46v2.018l-.089.992h.09a1.82 1.82 0 01.701-.635 2.1 2.1 0 011.026-.257c.705 0 1.237.212 1.593.635.364.417.546.981.546 1.695v3.532h-1.46v-3.354c0-.372-.1-.654-.3-.847-.201-.2-.461-.301-.78-.301-.26 0-.491.074-.692.223-.2.14-.356.334-.468.58a1.944 1.944 0 00-.167.813v2.886h-1.46z",fill:"#202124"}),d=r.createElement("path",{d:"M22.5 144.244l5.55-4.092 4.44 1.86 5.92-1.86 8.14 5.58 6.66-1.488 3.33-4.092 5.18 5.58 3.7-1.488 8.51 3.347 8.51-7.439 4.81 1.86 5.92-2.976 2.22 1.116h6.66l9.62-13.762 2.96 5.579 2.59-1.487 2.96 4.463 13.32-4.463",stroke:"#CCC",strokeWidth:1.486}),f=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__c)"},r.createElement("rect",{x:226,y:69,width:148,height:122,rx:3.976,fill:"#fff"})),g=r.createElement("path",{d:"M331.315 120.007a23.387 23.387 0 016.546-1.154l.216 8.328a15.2 15.2 0 00-4.255.75l-2.507-7.924z",fill:"#DEDEDE"}),p=r.createElement("path",{d:"M319.491 128.654a23.758 23.758 0 0111.122-8.405l2.753 7.839a15.44 15.44 0 00-7.229 5.464l-6.646-4.898z",fill:"#C6C6C6"}),m=r.createElement("path",{d:"M319.348 156.639a23.871 23.871 0 01-4.426-13.619 24.068 24.068 0 014.141-13.754l6.795 4.683a15.646 15.646 0 00-2.691 8.94 15.51 15.51 0 002.877 8.852l-6.696 4.898z",fill:"#F1F1F1"}),h=r.createElement("path",{d:"M352.229 161.904a23.453 23.453 0 01-17.188 4.31 23.358 23.358 0 01-15.25-8.976l6.541-5.107a15.182 15.182 0 009.912 5.834 15.24 15.24 0 0011.173-2.801l4.812 6.74z",fill:"#959595"}),v=r.createElement("path",{d:"M338.601 118.842c4.912 0 9.693 1.551 13.674 4.437a23.611 23.611 0 018.532 11.657 24.032 24.032 0 01.208 14.531 23.977 23.977 0 01-8.192 11.989l-5.021-6.583a15.626 15.626 0 005.19-17.239 15.35 15.35 0 00-5.545-7.577 15.145 15.145 0 00-8.889-2.884l.043-8.331z",fill:"#C7C7C7"}),b=r.createElement("ellipse",{cx:327.009,cy:174.262,rx:1.85,ry:1.86,fill:"#959595"}),k=r.createElement("ellipse",{cx:334.41,cy:174.262,rx:1.85,ry:1.86,fill:"#C7C7C7"}),E=r.createElement("ellipse",{cx:341.81,cy:174.262,rx:1.85,ry:1.86,fill:"#DEDEDE"}),_=r.createElement("ellipse",{cx:349.209,cy:174.262,rx:1.85,ry:1.86,fill:"#F1F1F1"}),y=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.994,strokeLinecap:"round",d:"M238.336 175.624h58.206"}),O=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.497,strokeLinecap:"round",d:"M238.088 160.995h58.703m-58.703-14.878h58.703m-58.703-14.877h58.703"}),S=r.createElement("path",{opacity:.08,d:"M264.829 164.08c-4.374-1.37-6.29-5.044-10.433-5.568-4.285-.542-7.612 13.315-16.557 14.64v2.97h59.2v-25.431c-2.378-.516-4.616-19.012-9.777-17.643-5.162 1.369-8.961 22.202-13.073 15.493-4.111-6.71-4.985 16.908-9.36 15.539z",fill:"url(#analytics-setup-sidekick_svg__d)"}),j=r.createElement("path",{d:"M241.722 119.374h-2.434l-.547 1.516h-.79l2.219-5.81h.67l2.223 5.81h-.786l-.555-1.516zm-2.203-.631h1.976l-.99-2.717-.986 2.717zm5.013 2.147h-.739v-6.129h.739v6.129zm1.987 0h-.738v-6.129h.738v6.129zm5.878-.427c-.287.338-.709.507-1.265.507-.46 0-.811-.133-1.053-.399-.24-.269-.361-.665-.364-1.189v-2.809h.739v2.789c0 .654.266.982.798.982.564 0 .939-.211 1.125-.631v-3.14h.738v4.317h-.702l-.016-.427zm4.358-.718a.537.537 0 00-.228-.463c-.149-.112-.411-.207-.786-.287a3.813 3.813 0 01-.89-.287 1.29 1.29 0 01-.487-.4.966.966 0 01-.155-.55c0-.354.149-.653.447-.898.3-.245.684-.367 1.149-.367.49 0 .886.126 1.189.379.306.253.459.576.459.97h-.742a.666.666 0 00-.259-.523.956.956 0 00-.647-.22c-.269 0-.479.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.228.114.397.252.507.415a1 1 0 01.167.586c0 .386-.154.696-.463.93-.308.231-.709.347-1.201.347a2.18 2.18 0 01-.918-.183 1.514 1.514 0 01-.626-.511 1.254 1.254 0 01-.224-.714h.738a.773.773 0 00.296.59c.186.144.431.216.734.216.279 0 .503-.056.67-.168a.524.524 0 00.256-.455zm3.492 1.225c-.586 0-1.062-.191-1.429-.574-.367-.386-.551-.901-.551-1.545v-.136c0-.428.081-.81.244-1.145.165-.338.393-.601.686-.79.295-.191.615-.287.958-.287.561 0 .998.185 1.309.554.311.37.467.9.467 1.589v.307h-2.925c.01.426.134.77.371 1.034.239.26.542.391.91.391.26 0 .481-.054.662-.16.181-.106.339-.247.475-.423l.451.351c-.362.556-.905.834-1.628.834zm-.092-3.871a.979.979 0 00-.75.328c-.203.215-.328.518-.376.909h2.163v-.055c-.021-.376-.122-.666-.303-.87-.181-.208-.426-.312-.734-.312zm4.721.136a2.175 2.175 0 00-.363-.028c-.485 0-.813.206-.986.619v3.064h-.738v-4.317h.718l.012.498c.242-.385.585-.578 1.03-.578.143 0 .252.018.327.056v.686zm3.196 2.51a.539.539 0 00-.227-.463c-.149-.112-.411-.207-.786-.287a3.797 3.797 0 01-.89-.287 1.283 1.283 0 01-.487-.4.958.958 0 01-.156-.55c0-.354.149-.653.447-.898.301-.245.684-.367 1.149-.367.49 0 .886.126 1.19.379.306.253.459.576.459.97h-.743a.663.663 0 00-.259-.523.954.954 0 00-.647-.22c-.268 0-.478.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.229.114.398.252.507.415a.993.993 0 01.167.586c0 .386-.154.696-.462.93-.309.231-.709.347-1.202.347-.345 0-.651-.061-.917-.183a1.524 1.524 0 01-.627-.511 1.253 1.253 0 01-.223-.714h.738a.772.772 0 00.295.59c.186.144.431.216.734.216.28 0 .503-.056.671-.168a.525.525 0 00.255-.455z",fill:"#B8B8B8"}),w=r.createElement("path",{d:"M240.358 92.903V86.35h-2.229v-1.427h5.963v1.427h-2.229v6.553h-1.505zm4.072 0v-5.684h1.37v.758h.09c.141-.26.356-.48.646-.658.297-.178.628-.267.992-.267.149 0 .282.01.401.033.119.022.223.052.312.09v1.46a3.743 3.743 0 00-.468-.146 1.654 1.654 0 00-.479-.067c-.438 0-.784.16-1.037.48-.245.32-.367.71-.367 1.17v2.83h-1.46zm6.32.178c-.401 0-.758-.078-1.07-.234a1.877 1.877 0 01-.724-.68 1.878 1.878 0 01-.268-1.003c0-.394.101-.732.301-1.014.208-.282.483-.502.825-.658a2.81 2.81 0 011.159-.234c.349 0 .65.03.903.09.252.051.453.107.602.167v-.246a.931.931 0 00-.346-.746c-.23-.2-.546-.301-.947-.301-.268 0-.528.063-.78.19-.245.118-.45.278-.613.478l-.936-.735a2.75 2.75 0 011.036-.825 3.19 3.19 0 011.36-.29c.869 0 1.53.201 1.983.602.454.401.68.989.68 1.761v3.5h-1.437v-.58h-.09a1.946 1.946 0 01-.646.535c-.267.149-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.746-.19a1.29 1.29 0 00.468-.512c.112-.208.168-.427.168-.657a2.355 2.355 0 00-.558-.19 2.604 2.604 0 00-.635-.078c-.431 0-.728.082-.891.245a.817.817 0 00-.246.602c0 .223.078.409.234.557.164.149.402.223.714.223zm12.814-5.294a.932.932 0 01-.669-.267.933.933 0 01-.268-.669c0-.26.09-.479.268-.657a.913.913 0 01.669-.279c.26 0 .479.093.657.279a.875.875 0 01.279.657c0 .26-.093.483-.279.669a.892.892 0 01-.657.267zm-8.147 6.253v-4.436h-1.014v-1.248h1.014v-.312c0-.661.197-1.17.591-1.527.393-.364.895-.546 1.504-.546a2.603 2.603 0 01.624.067v1.404a6.55 6.55 0 00-.212-.056.961.961 0 00-.323-.044.713.713 0 00-.524.211c-.133.142-.2.335-.2.58v.223h2.251v-.312c0-.661.197-1.17.591-1.527.394-.364.895-.546 1.504-.546a2.593 2.593 0 01.624.067v1.404a7.12 7.12 0 00-.211-.056.972.972 0 00-.324-.044.71.71 0 00-.523.211c-.134.142-.201.335-.201.58v.223h3.7v5.684h-1.449v-4.436h-2.251v4.436h-1.46v-4.436h-2.251v4.436h-1.46zm13.01.178c-.579 0-1.095-.126-1.549-.379a2.873 2.873 0 01-1.058-1.07c-.253-.46-.379-.984-.379-1.571s.126-1.107.379-1.56c.26-.454.613-.81 1.058-1.07.454-.26.97-.39 1.549-.39.632 0 1.174.133 1.628.4.453.268.78.654.98 1.16l-1.337.557a1.183 1.183 0 00-.502-.568 1.49 1.49 0 00-.769-.19c-.43 0-.795.152-1.092.457-.29.297-.434.698-.434 1.204 0 .512.144.921.434 1.226.297.297.662.445 1.092.445.327 0 .599-.07.814-.211.215-.149.39-.35.524-.602l1.304.58a2.703 2.703 0 01-1.014 1.147c-.454.29-.996.435-1.628.435z",fill:"#202124"}),C=r.createElement("defs",null,r.createElement("filter",{id:"analytics-setup-sidekick_svg__a",x:132.515,y:.012,width:152.97,height:126.97,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feMorphology",{radius:.497,operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_532_12388"}),r.createElement("feOffset",{dy:.497}),r.createElement("feGaussianBlur",{stdDeviation:.994}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.423529 0 0 0 0 0.443137 0 0 0 0 0.458824 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:.994}),r.createElement("feGaussianBlur",{stdDeviation:.746}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.337255 0 0 0 0 0.352941 0 0 0 0 0.360784 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"effect1_dropShadow_532_12388",result:"effect2_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__b",x:.784,y:49.588,width:154.431,height:128.431,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__c",x:222.784,y:66.588,width:154.431,height:128.431,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("linearGradient",{id:"analytics-setup-sidekick_svg__d",x1:258.024,y1:132.976,x2:258.024,y2:184.15,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgAnalyticsSetupSidekick(e){return r.createElement("svg",a({fill:"none",viewBox:"0 0 378 196"},e),i,o,c,l,s,u,d,f,g,p,m,h,v,b,k,E,_,y,O,S,j,w,C)}},1128:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUsingProxyViewOnly}));var r=n(2),a=n(0),i=n(38),o=n(3),c=n(10),l=n(218),s=n(242),u=n(185),d=n(20),f=n(243),g=n(1129),p=n(503),m=n(6),h=n(14),v=n(32),b=n(17),k=n(8),E=n(18);function SetupUsingProxyViewOnly(){var t=Object(E.a)(),n=Object(o.useDispatch)(m.a).dismissItem,_=Object(o.useDispatch)(v.a).navigateTo,y=Object(o.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),O=Object(o.useSelect)((function(e){return e(h.c).getDocumentationLinkURL("dashboard-sharing")})),S=Object(a.useCallback)((function(){Promise.all([n(p.c),Object(k.J)(t,"confirm_viewonly")]).finally((function(){_(y)}))}),[y,n,_,t]);return y?e.createElement(a.Fragment,null,e.createElement(s.a,null,e.createElement(f.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(u.a,{rounded:!0},e.createElement("section",{className:"googlesitekit-setup__splash"},e.createElement(b.e,null,e.createElement(b.k,{className:"googlesitekit-setup__content"},e.createElement(b.a,{smSize:4,mdSize:8,lgSize:4,lgOrder:2,className:"googlesitekit-setup__icon"},e.createElement(g.a,{width:398,height:280})),e.createElement(b.a,{smSize:4,mdSize:8,lgSize:8,lgOrder:1},e.createElement("h1",{className:"googlesitekit-setup__title"},Object(r.__)("View-only Dashboard Access","google-site-kit")),e.createElement("p",{className:"googlesitekit-setup__description"},Object(i.a)(Object(r.__)("An administrator has granted you access to view this site's dashboard to view stats from all shared Google services. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(r.__)("Learn more about dashboard sharing","google-site-kit"),href:O,external:!0})})),e.createElement("p",null,Object(r.__)("Get insights about how people find and use your site as well as how to improve and monetize your content, directly in your WordPress dashboard","google-site-kit")),e.createElement(l.a,null),e.createElement("div",{className:"googlesitekit-start-setup-wrap"},e.createElement(c.Button,{onClick:S},Object(r.__)("Go to Dashboard","google-site-kit"))))))))))))):null}}).call(this,n(4))},1129:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M357.758 250.137H101.493V60.904h260.113v185.384a3.849 3.849 0 01-3.848 3.849z",fill:"#F1F3F4"}),o=r.createElement("path",{d:"M31.5 60.908h69.997v189.234H35.349a3.849 3.849 0 01-3.849-3.849V60.908z",fill:"#5F6368"}),c=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.339 7.235a12.14 12.14 0 011.813 6.392l-1.283-.001h1.283v.001c0 .285-.01.569-.029.852l-.96-.338-.427 1.21 1.267.196c.056-.354.095-.71.12-1.068l5.497 1.94a8.564 8.564 0 015.215 10.925l-1.21-.427-1.209-.428v.001a6 6 0 00-3.653-7.652l-7.459-2.632.164-1.053a9.884 9.884 0 00.118-1.527v-.001a9.56 9.56 0 00-1.43-5.041l2.183-1.35zm2.425 22.906l-.427 1.21.428-1.21h-.001zm0 0a6 6 0 007.652-3.651l1.209.427 1.21.429a8.567 8.567 0 01-10.925 5.215L91.611 22.184l.857-2.419 29.296 10.376z",fill:"#FBBC04"}),l=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.252 8.566a9.53 9.53 0 00-1.434 5.039v.003c0 .508.04 1.015.122 1.516l.173 1.059-7.464 2.636a5.995 5.995 0 00-3.656 7.668l-1.209.431 1.21-.428a5.999 5.999 0 007.652 3.652l29.296-10.376.857 2.419L80.5 32.562a8.565 8.565 0 01-10.924-5.214 8.56 8.56 0 015.221-10.949l5.485-1.937c-.02-.285-.03-.57-.03-.856v-.001l1.284.001-1.283.002v-.002a12.095 12.095 0 011.82-6.393l2.18 1.353z",fill:"#FBBC04"}),s=r.createElement("path",{d:"M85.738 0v46.35a22.272 22.272 0 0029.934 0V0H85.738z",fill:"#F9AB00"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.634 26.66c-4.462 2.815-8.852 2.28-11.968-.222l1.286-1.6c2.406 1.93 5.836 2.452 9.586.085l1.096 1.736z",fill:"#fff"}),d=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.43 12.376c.69.158 1.12.847.962 1.537l-4.3 18.717a1.319 1.319 0 001.284 1.615m2.053-21.87a1.283 1.283 0 00-1.538.964l1.538-.963zm-1.538.964l-4.3 18.714 4.3-18.714zm-4.3 18.715v-.001zm0 0a3.886 3.886 0 107.67.872V25.64a1.283 1.283 0 00-2.566 0v7.287a1.318 1.318 0 01-1.319 1.32",fill:"#3C4043"}),f=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M116.979 12.376a1.283 1.283 0 011.539.961l4.321 18.716a3.881 3.881 0 01-3.785 4.758 3.883 3.883 0 01-3.885-3.885V25.64a1.283 1.283 0 112.566 0v7.287a1.32 1.32 0 001.319 1.32m0 0a1.321 1.321 0 001.285-1.616l-4.321-18.715c-.16-.69.271-1.38.961-1.54",fill:"#202124"}),g=r.createElement("path",{d:"M115.338 13.625c0-5.373-6.43-9.581-14.64-9.581-8.211 0-14.636 4.213-14.636 9.58h29.276z",fill:"#3C4043"}),p=r.createElement("path",{d:"M92.425 21.905a8.282 8.282 0 008.282-8.283 8.282 8.282 0 10-16.565 0 8.283 8.283 0 008.283 8.283z",fill:"#8AB4F8"}),m=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.425 6.624a7 7 0 100 14 7 7 0 000-14zm-9.566 7a9.566 9.566 0 019.566-9.566 9.566 9.566 0 010 19.131 9.566 9.566 0 01-9.566-9.566z",fill:"#202124"}),h=r.createElement("path",{d:"M108.99 21.905a8.283 8.283 0 100-16.567 8.283 8.283 0 000 16.567z",fill:"#8AB4F8"}),v=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.991 6.624a7 7 0 100 14 7 7 0 000-14zm-9.566 7a9.566 9.566 0 1119.132.002 9.566 9.566 0 01-19.132-.003z",fill:"#202124"}),b=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.445 9.236a4.392 4.392 0 00-4.393 4.388h-1.026a5.42 5.42 0 015.419-5.414v1.026zm16.545 0a4.395 4.395 0 00-4.393 4.388h-1.026a5.417 5.417 0 015.419-5.414v1.026z",fill:"#D0E2FC"}),k=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93.066 77.73H39.988V72.6h53.078v5.131z",fill:"#639AF8"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93.066 95.556H39.988v-5.132h53.078v5.132zm0 17.83H39.988v-5.131h53.078v5.131zm0 17.828H39.988v-5.132h53.078v5.132z",fill:"#80858A"}),_=r.createElement("path",{d:"M35.35 44.416h322.412a3.85 3.85 0 013.849 3.848V60.91H31.501V48.285a3.847 3.847 0 013.848-3.87z",fill:"#3C4043"}),y=r.createElement("path",{d:"M114.61 74.35a5.29 5.29 0 00-.088-.965h-4.315v1.77h2.478a2.132 2.132 0 01-.924 1.427v1.15h1.478a4.483 4.483 0 001.371-3.382z",fill:"#3E81F6"}),O=r.createElement("path",{d:"M111.772 76.58a2.784 2.784 0 01-3.488-.385 2.79 2.79 0 01-.659-1.067h-1.539v1.18a4.585 4.585 0 004.105 2.535 4.38 4.38 0 003.043-1.113l-1.462-1.15z",fill:"#2DA84F"}),S=r.createElement("path",{d:"M107.482 74.246c0-.299.049-.595.143-.878v-1.185h-1.539a4.612 4.612 0 000 4.105l1.539-1.18a2.837 2.837 0 01-.143-.862z",fill:"#FCBC00"}),j=r.createElement("path",{d:"M110.206 71.469a2.525 2.525 0 011.766.688l1.308-1.314a4.397 4.397 0 00-3.079-1.196 4.587 4.587 0 00-4.105 2.53l1.539 1.186a2.749 2.749 0 012.571-1.894z",fill:"#EB402D"}),w=r.createElement("path",{d:"M42.975 55.648a2.987 2.987 0 100-5.974 2.987 2.987 0 000 5.974zm11.947 0a2.987 2.987 0 100-5.974 2.987 2.987 0 000 5.974zm11.948 0a2.987 2.987 0 100-5.974 2.987 2.987 0 000 5.974z",fill:"#fff"}),C=r.createElement("path",{d:"M105.991 75.162l-4.492-4.492-4.493 4.492 4.493 4.493 4.492-4.493z",fill:"#F1F3F4"}),R=r.createElement("path",{d:"M225.394 87.245h-107.11v67.226h107.11V87.245z",fill:"#fff"}),N=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M213.036 107.626h-79.891V97.362h79.891v10.264zm-10.761 19.102h-69.13v-10.264h69.13v10.264zm-15.929 19.815h-53.201v-10.264h53.201v10.264z",fill:"#E7E9EC"}),x=r.createElement("path",{d:"M344.826 87.245H237.715v67.226h107.111V87.245z",fill:"#fff"}),z=r.createElement("path",{d:"M74.187 280c20.486 0 37.092-1.725 37.092-3.854 0-2.128-16.606-3.854-37.092-3.854-20.485 0-37.092 1.726-37.092 3.854 0 2.129 16.607 3.854 37.092 3.854z",fill:"#F1F3F4"}),A=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M312.629 54.763c2.286.74 4.947.381 7.318-.968l1.015 1.785c-2.791 1.587-6.047 2.081-8.966 1.136-2.95-.956-5.42-3.34-6.667-7.232l1.955-.626c1.068 3.334 3.091 5.175 5.345 5.905z",fill:"#fff"}),L=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M306.584 47.852c.884.047 1.659.3 2.485.725l-.938 1.826c-.642-.33-1.134-.474-1.655-.501-.544-.03-1.194.064-2.163.323l-.53-1.983c1.048-.28 1.94-.436 2.801-.39z",fill:"#fff"}),M=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.545 27.907l.243 1.023c.7 2.945 1.41 5.798 2.586 8.418 1.164 2.595 2.874 4.915 5.156 6.346 2.284 1.432 5.162 1.851 7.463.85l1.024 2.352c-3.24 1.41-7.013.752-9.851-1.028-2.84-1.782-4.834-4.573-6.133-7.47-1.139-2.538-1.863-5.238-2.496-7.852l-7.573.27-.091-2.564 9.672-.345zm13.133-4.467l.243 1.023c.699 2.949 1.41 5.793 2.586 8.42 1.164 2.599 2.874 4.918 5.155 6.349 2.283 1.432 5.162 1.847 7.466.849l1.02 2.354c-3.238 1.403-7.01.752-9.849-1.03-2.84-1.78-4.835-4.573-6.134-7.474-1.139-2.543-1.863-5.235-2.496-7.852l-7.572.27-.092-2.564 9.673-.345z",fill:"#C5221F"}),T=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M248.148 97.601h4.105v44.082h83.002v4.105h-87.107V97.601z",fill:"#E7E9EC"}),D=r.createElement("path",{d:"M317.853 64.668c12.666 0 22.933-10.267 22.933-22.933S330.519 18.8 317.853 18.8s-22.934 10.268-22.934 22.934 10.268 22.933 22.934 22.933z",fill:"#D93025"}),P=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M311.83 51.34c2.281.74 4.934.38 7.307-.97l1.014 1.785c-2.789 1.586-6.038 2.083-8.954 1.139-2.947-.955-5.415-3.337-6.677-7.226l1.952-.634c1.083 3.337 3.107 5.178 5.358 5.907z",fill:"#fff"}),I=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M305.773 44.424c.884.047 1.661.302 2.488.73l-.944 1.823c-.64-.332-1.131-.475-1.652-.503-.544-.029-1.194.065-2.165.322l-.525-1.985c1.046-.277 1.938-.432 2.798-.387z",fill:"#fff"}),B=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M319.709 102.472c7.531-11.92 10.7-28.343 8.132-42.188l2.522-.468c2.687 14.483-.61 31.56-8.485 44.026l-2.169-1.37z",fill:"#D93025"}),F=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M297.648 117.474c3.936-7.731 9.27-16.845 20.308-16.845 6.889 0 11.512 4.768 14.266 8.997 1.403 2.154 2.408 4.293 3.061 5.885.327.8.57 1.469.732 1.944a24.745 24.745 0 01.232.717l.014.045.004.014.002.007c0 .001 0 .002-1.972.572l-1.971.572-.001-.002-.007-.024-.015-.049-.02-.063c-.032-.103-.082-.26-.152-.464a30.225 30.225 0 00-.645-1.711c-.587-1.432-1.479-3.325-2.702-5.203-2.499-3.836-6.046-7.132-10.826-7.132-8.263 0-12.579 6.609-16.65 14.603-.392.769-.782 1.553-1.174 2.34-1.544 3.099-3.111 6.246-4.87 8.726-2.23 3.144-5.152 5.778-9.333 5.778-3.211 0-5.678-.646-7.723-1.676-2.012-1.012-3.517-2.351-4.798-3.525l-.266-.244c-1.205-1.106-2.188-2.008-3.384-2.694-1.212-.695-2.689-1.185-4.823-1.185-1.27 0-2.659.682-4.147 2.127-1.472 1.429-2.829 3.405-3.998 5.488-1.16 2.066-2.086 4.148-2.724 5.721a52.117 52.117 0 00-.908 2.407l-.044.131-.011.031-.002.006-1.95-.639-1.951-.639.002-.006.004-.012.015-.044.054-.159c.046-.137.115-.333.204-.581a58.52 58.52 0 01.782-2.037c.679-1.675 1.678-3.924 2.949-6.189 1.262-2.248 2.845-4.604 4.718-6.423 1.857-1.803 4.219-3.287 7.007-3.287 2.848 0 5.029.675 6.865 1.729 1.614.925 2.924 2.131 4.066 3.182l.315.29c1.264 1.157 2.409 2.15 3.871 2.885 1.427.719 3.255 1.238 5.877 1.238 2.182 0 4.032-1.296 5.985-4.048 1.556-2.194 2.933-4.957 4.459-8.016.412-.826.835-1.674 1.275-2.538z",fill:"#E7E9EC"}),V=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M302.748 110.621c-9.086-16.362-9.222-37.328-.347-53.806l2.259 1.217c-8.46 15.708-8.33 35.746.331 51.344l-2.243 1.245z",fill:"#D93025"}),H=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.792 239.931c-2.575-.265-4.53-1.209-6.084-2.629l6.084 2.629zm-6.084-2.629c-1.575-1.439-2.794-3.417-3.786-5.821l3.786 5.821zm-3.786-5.821l-2.372.978 2.372-.978zm-2.372.978c1.077 2.61 2.478 4.957 4.427 6.737l-4.427-6.737zm4.427 6.737c1.97 1.799 4.443 2.967 7.554 3.287l-7.554-3.287zm7.816.735c3.095.316 6.85-.569 8.764-2.743l1.926 1.695c-2.674 3.04-7.417 3.961-10.952 3.6",fill:"#4285F4"}),W=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.674 235.279l2.405.894-5.085 13.671a21.812 21.812 0 00.017 15.251l5.21 10.017h-7.59v-2.566h3.363l-3.33-6.403-.026-.071a24.374 24.374 0 01-.049-17.122l5.085-13.671z",fill:"#1967D2"}),U=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.749 245.824l3.926-10.545 2.404.895-3.925 10.545-2.405-.895z",fill:"#185ABC"}),G=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M78.682 239.576h2.566v32.971h3.807v2.566h-6.373v-35.537z",fill:"#1967D2"}),K=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M78.682 243.671v-4.095h2.566v4.095h-2.566z",fill:"#185ABC"}),q=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M123.654 199.8a44.213 44.213 0 01-31.383 23.942l-.482-2.521a41.642 41.642 0 0029.562-22.552l2.303 1.131z",fill:"#4285F4"}),J=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M128.988 149.77V92.992h4.106v56.778h-4.106z",fill:"#E7E9EC"}),X=r.createElement("path",{d:"M27.012 229.683c-3.233 2.643-6.31 5.096-9.265 7.221-1.544 1.129-4.354-.4-4.683-2.494-.566-3.926-.921-7.995-1.112-12.162a365.303 365.303 0 00-10.86-6.826c-1.821-1.134-1.265-3.818.927-4.726 4.076-1.601 8.168-3.192 12.255-4.701 1.296-4.223 2.573-8.488 3.71-12.65.608-2.257 3.191-2.73 4.56-.831 2.527 3.495 5.255 7.026 7.967 10.515 4.36-.031 8.75 0 13.13.067 2.367.056 3.87 2.376 2.51 4.074a373.058 373.058 0 00-7.72 10.223c1.303 3.967 2.415 7.893 3.28 11.767.437 2.053-1.637 4.495-3.49 3.987-3.5-.928-7.247-2.14-11.21-3.464z",fill:"#F9AB00"}),Y=r.createElement("path",{d:"M344.825 165.928H118.284v66.738h226.541v-66.738z",fill:"#fff"}),$=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M147.858 182.147c-6.991 0-12.66 5.668-12.66 12.66s5.669 12.66 12.66 12.66c6.992 0 12.66-5.668 12.66-12.66s-5.668-12.66-12.66-12.66zm-16.765 12.66c0-9.259 7.506-16.765 16.765-16.765 9.26 0 16.766 7.506 16.766 16.765 0 9.26-7.506 16.766-16.766 16.766-9.259 0-16.765-7.506-16.765-16.766zm31.668 25.745h-29.805v-4.105h29.805v4.105zm55.761 0h-29.805v-4.105h29.805v4.105zm-14.902-38.405c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66 12.66-5.668 12.66-12.66-5.668-12.66-12.66-12.66zm-16.766 12.66c0-9.259 7.507-16.765 16.766-16.765 9.259 0 16.765 7.506 16.765 16.765 0 9.26-7.506 16.766-16.765 16.766s-16.766-7.506-16.766-16.766zm87.43 25.745h-29.805v-4.105h29.805v4.105zm-14.902-38.405c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66 12.66-5.668 12.66-12.66-5.668-12.66-12.66-12.66zm-16.766 12.66c0-9.259 7.506-16.765 16.766-16.765 9.259 0 16.765 7.506 16.765 16.765 0 9.26-7.506 16.766-16.765 16.766-9.26 0-16.766-7.506-16.766-16.766z",fill:"#F0F2F3"}),Z=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M147.867 182.147a12.658 12.658 0 00-12.527 10.776 12.656 12.656 0 1024.725-1.448 12.656 12.656 0 00-5.134-7.164l2.296-3.404a16.76 16.76 0 11-9.357-2.865l-.003 4.105zm55.752 0a12.654 12.654 0 108.39 3.184l2.722-3.073a16.757 16.757 0 013.226 21.217 16.764 16.764 0 01-8.877 7.172 16.765 16.765 0 01-20.064-7.614 16.758 16.758 0 013.873-21.109 16.763 16.763 0 0110.731-3.882l-.001 4.105zm55.766 0a12.681 12.681 0 102.049.164l.657-4.053a16.783 16.783 0 0113.979 18.582 16.786 16.786 0 11-16.692-18.798l.007 4.105z",fill:"#D9DBDF"}),Q=r.createElement("path",{d:"M360.265 277.44c20.619 0 37.333-1.726 37.333-3.854 0-2.129-16.714-3.854-37.333-3.854s-37.333 1.725-37.333 3.854c0 2.128 16.714 3.854 37.333 3.854z",fill:"#F1F3F4"}),ee=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M368.44 274.877c-3.725-9.645-4.194-20.648-3.16-32.153l2.556.23c-.988 10.992-.552 21.25 2.69 30.178h7.199v2.565h-8.088c-.53 0-1.006-.326-1.197-.82zm-14.99-1.744c-2.955-9.536-3.569-19.756-2.589-30.41l2.555.235c-1.015 11.035-.267 21.456 3.015 31.043a1.282 1.282 0 01-1.214 1.698h-7.497v-2.566h5.73z",fill:"#148E3A"}),te=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M364.824 251.252c.042-2.823.203-5.646.457-8.525l2.556.225c-.25 2.828-.407 5.588-.447 8.338l-2.566-.038zm-14.374 2.467a97.088 97.088 0 01.411-10.999l2.555.241a94.514 94.514 0 00-.4 10.708l-2.566.05z",fill:"#0D8034"}),ne=r.createElement("path",{d:"M355.371 215.214l-34.619 3.285 3.285 34.618 34.618-3.284 34.619-3.284-3.284-34.619-34.619 3.284z",fill:"#1E8E3E"}),re=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M369.015 230.76c-4.262 5.173-10.96 4.737-14.975 1.418l1.226-1.483c3.334 2.756 8.788 3.06 12.264-1.159l1.485 1.224z",fill:"#fff"}),ae=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M328.231 204.378c5.679 8.162 23.612 20.419 62.34 16.852l.235 2.555c-39.275 3.618-58.291-8.758-64.681-17.941l2.106-1.466zm-19.218 14.118a19.03 19.03 0 0015.577 13.611l-.367 2.539a21.592 21.592 0 01-17.677-15.446l2.467-.704z",fill:"#34A853"}),ie=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M317.868 229.814a17.951 17.951 0 006.705 2.29l-.334 2.544a20.518 20.518 0 01-7.663-2.617l1.292-2.217z",fill:"#1E8E3E"}),oe=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M312.465 192.451c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66c6.991 0 12.66-5.668 12.66-12.66s-5.669-12.66-12.66-12.66zm-16.766 12.66c0-9.26 7.506-16.766 16.766-16.766 9.259 0 16.765 7.506 16.765 16.766 0 9.259-7.506 16.765-16.765 16.765-9.26 0-16.766-7.506-16.766-16.765z",fill:"#F0F2F3"}),ce=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M312.464 192.454a12.66 12.66 0 00-8.079 2.916 12.66 12.66 0 00-2.983 15.881 12.651 12.651 0 0015.056 5.867 12.655 12.655 0 004.572-21.326l2.779-3.022a16.758 16.758 0 012.88 21.206 16.755 16.755 0 01-8.937 7.038 16.754 16.754 0 01-11.371-.288 16.763 16.763 0 01-4.617-28.515 16.758 16.758 0 0110.7-3.862v4.105z",fill:"#D9DBDF"}),le=r.createElement("path",{d:"M78.538 240.807a23.669 23.669 0 01-30.98-12.691l43.67-18.289a23.665 23.665 0 01-12.69 30.98z",fill:"#1A73E8"}),se=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M86.154 223.843l-.068 1.599c-.166 3.926-2.048 7.594-5.4 9.468l-1.001-1.791c2.174-1.216 3.644-3.458 4.158-6.114l-15.149 6.194-.777-1.9 18.237-7.456z",fill:"#fff"});t.a=function SvgViewOnlySetupSidekick(e){return r.createElement("svg",a({viewBox:"0 0 398 280",fill:"none"},e),i,o,c,l,s,u,d,f,g,p,m,h,v,b,k,E,_,y,O,S,j,w,C,R,N,x,z,A,L,M,T,D,P,I,B,F,V,H,W,U,G,K,q,J,X,Y,$,Z,Q,ee,te,ne,re,ae,ie,oe,ce,le,se)}},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,a=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=i(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),a&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var a=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},1130:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(50),s=n.n(l),u=n(51),d=n.n(u),f=n(215),g=n.n(f),p=n(69),m=n.n(p),h=n(70),v=n.n(h),b=n(49),k=n.n(b),E=n(13),_=n(2),y=n(0),O=n(371),S=n(3),j=n(42),w=n.n(j),C=n(10),R=n(14),N=n(6),x=n(17),z=n(242),A=n(185),L=n(41),M=n(1131),T=n(1137),D=n(243);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var I=function(t){m()(SetupUsingGCP,t);var n,a=P(SetupUsingGCP);function SetupUsingGCP(t){var n;s()(this,SetupUsingGCP),n=a.call(this,t);var r=e._googlesitekitLegacyData.admin.connectURL,i=e._googlesitekitLegacyData.setup,o=i.isAuthenticated,c=i.hasSearchConsoleProperty,l=i.isSiteKitConnected,u=i.isVerified,d=i.needReauthenticate;return n.state={isAuthenticated:o,isVerified:u,needReauthenticate:d,hasSearchConsoleProperty:c,hasSearchConsolePropertyFromTheStart:c,connectURL:r,errorMsg:"",isSiteKitConnected:l,completeSetup:!1},n.siteConnectedSetup=n.siteConnectedSetup.bind(g()(n)),n.siteVerificationSetup=n.siteVerificationSetup.bind(g()(n)),n.searchConsoleSetup=n.searchConsoleSetup.bind(g()(n)),n.resetAndRestart=n.resetAndRestart.bind(g()(n)),n.completeSetup=n.completeSetup.bind(g()(n)),n.setErrorMessage=n.setErrorMessage.bind(g()(n)),n.onButtonClick=n.onButtonClick.bind(g()(n)),n}return d()(SetupUsingGCP,[{key:"resetAndRestart",value:(n=c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.a.set("core","site","reset");case 2:return e.next=4,Object(L.b)();case 4:this.setState({isSiteKitConnected:!1,isAuthenticated:!1,isVerified:!1,hasSearchConsoleProperty:!1,completeSetup:!1,errorMsg:""});case 5:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"completeSetup",value:function(){this.setState({completeSetup:!0})}},{key:"siteConnectedSetup",value:function(e){this.setState({isSiteKitConnected:e})}},{key:"siteVerificationSetup",value:function(e){this.setState({isVerified:e})}},{key:"searchConsoleSetup",value:function(e){this.setState({hasSearchConsoleProperty:e})}},{key:"isSetupFinished",value:function(){var e=this.state,t=e.isSiteKitConnected,n=e.isAuthenticated,r=e.isVerified,a=e.hasSearchConsoleProperty,i=e.completeSetup;return t&&n&&r&&a&&i}},{key:"setErrorMessage",value:function(e){this.setState({errorMsg:e})}},{key:"getApplicableSteps",value:function(){var e,t=M.a,n=Object.keys(t);for(e=0;e<n.length;e++)t[n[e]].isApplicable(this.state)||delete t[n[e]];return t}},{key:"currentStep",value:function(e){var t,n=Object.keys(e);for(t=0;t<n.length-1;t++)if(!e[n[t]].isCompleted(this.state))return n[t];return n[t]}},{key:"stepStatus",value:function(e,t){return e[t].isCompleted(this.state)?"completed":t===this.currentStep(e)?"inprogress":""}},{key:"onButtonClick",value:function(){var e=this.state.connectURL;document.location=e}},{key:"render",value:function(){var t=this,n=this.state,a=n.isAuthenticated,i=n.isVerified,o=n.needReauthenticate,c=n.hasSearchConsoleProperty,l=n.connectURL,s=n.isSiteKitConnected,u=this.props,d=u.canSetup,f=u.redirectURL;this.isSetupFinished()&&Object(E.delay)((function(){e.location.replace(f)}),500,"later");var g=this.getApplicableSteps(),p=this.currentStep(g),m=g[p].Component,h=r.createElement(m,{siteConnectedSetup:this.siteConnectedSetup,connectURL:l,siteVerificationSetup:this.siteVerificationSetup,searchConsoleSetup:this.searchConsoleSetup,completeSetup:this.completeSetup,isSiteKitConnected:s,isAuthenticated:a,isVerified:i,needReauthenticate:o,hasSearchConsoleProperty:c,setErrorMessage:this.setErrorMessage,resetAndRestart:g.clientCredentials?this.resetAndRestart:void 0}),v=d,b=!v&&!a;return r.createElement(y.Fragment,null,r.createElement(z.a,null,r.createElement(D.a,null)),r.createElement("div",{className:"googlesitekit-wizard"},r.createElement(x.e,null,r.createElement(x.k,null,r.createElement(x.a,{size:12},r.createElement(A.a,null,r.createElement("section",{className:"googlesitekit-wizard-progress"},r.createElement(x.e,null,r.createElement(x.k,null,v&&r.createElement(x.a,{size:12},r.createElement("div",{className:"googlesitekit-wizard-progress__steps"},Object.keys(g).map((function(e,n){return r.createElement(T.a,{key:g[e].title,currentStep:p===e,title:g[e].title,step:n+1,status:t.stepStatus(g,e),warning:g[e].warning,error:g[e].error,stepKey:e})})))))),b&&r.createElement("div",{className:"googlesitekit-setup__footer"},r.createElement(x.e,null,r.createElement(x.k,null,r.createElement(x.a,{size:12},r.createElement("h1",{className:"googlesitekit-setup__title"},Object(_.__)("Authenticate Site Kit","google-site-kit")),r.createElement("p",{className:"googlesitekit-setup__description"},Object(_.__)("Please sign into your Google account to begin.","google-site-kit")),r.createElement(C.Button,{href:"#",onClick:this.onButtonClick},Object(_.__)("Sign in with Google","google-site-kit"))))))),v&&h))))))}}]),SetupUsingGCP}(y.Component);t.a=Object(O.a)(Object(S.withSelect)((function(e){return{canSetup:e(N.a).hasCapability(N.M),redirectURL:e(R.c).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success"})}})))(I)}).call(this,n(26),n(4))},1131:function(e,t,n){"use strict";var r=n(2),a=n(1132),i=n(1133),o=n(1135),c=n(1136),l={authentication:{title:Object(r.__)("Authenticate","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&!e.needReauthenticate},Component:a.a},verification:{title:Object(r.__)("Verify URL","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified},Component:i.a},seachConsoleProperty:{title:Object(r.__)("Connect Search Console","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:o.a},completeSetup:{title:Object(r._x)("Finish","complete module setup","google-site-kit"),required:!1,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:c.a}};t.a=l},1132:function(e,t,n){"use strict";(function(e){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(50),l=n.n(c),s=n(51),u=n.n(s),d=n(215),f=n.n(d),g=n(69),p=n.n(g),m=n(70),h=n.n(m),v=n(49),b=n.n(v),k=n(1),E=n.n(k),_=n(2),y=n(0),O=n(10),S=n(17),j=n(218),w=n(22),C=n(41),R=n(8);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b()(e);if(t){var a=b()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return h()(this,n)}}var x=function(t){p()(WizardStepAuthentication,t);var n,r=N(WizardStepAuthentication);function WizardStepAuthentication(e){var t;return l()(this,WizardStepAuthentication),(t=r.call(this,e)).onButtonClick=t.onButtonClick.bind(f()(t)),t}return u()(WizardStepAuthentication,[{key:"onButtonClick",value:(n=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.connectURL,r=t.isSiteKitConnected,e.next=3,Promise.all([Object(C.f)("start_user_setup",!0),Object(R.J)("".concat(w.r,"_setup"),"start_user_setup","custom-oauth")]);case 3:if(r){e.next=6;break}return e.next=6,Promise.all([Object(C.f)("start_site_setup",!0),Object(R.J)("".concat(w.r,"_setup"),"start_site_setup","custom-oauth")]);case 6:document.location=n;case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var t=this.props,n=t.needReauthenticate,r=t.resetAndRestart;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--two"},e.createElement(S.e,null,e.createElement(S.k,null,e.createElement(S.a,{size:12},e.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(_.__)("Authenticate with Google","google-site-kit")),e.createElement("p",null,Object(_.__)("Please sign into your Google account to begin.","google-site-kit")),n&&e.createElement("p",{className:"googlesitekit-error-text"},Object(_.__)("You did not grant access to one or more of the requested scopes. Please grant all scopes that you are prompted for.","google-site-kit")),e.createElement("p",null,e.createElement(O.Button,{onClick:this.onButtonClick},Object(_.__)("Sign in with Google","google-site-kit")),r&&e.createElement(O.Button,{className:"googlesitekit-wizard-step__back",tertiary:!0,onClick:r},Object(_.__)("Back","google-site-kit"))),e.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},e.createElement(j.a,null))))))}}]),WizardStepAuthentication}(y.Component);x.propTypes={connectURL:E.a.string.isRequired,resetAndRestart:E.a.func},t.a=x}).call(this,n(4))},1133:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(50),o=n.n(i),c=n(51),l=n.n(c),s=n(69),u=n.n(s),d=n(70),f=n.n(d),g=n(49),p=n.n(g),m=n(1),h=n.n(m),v=n(0),b=n(17),k=n(1134);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var _=function(t){u()(WizardStepVerification,t);var n=E(WizardStepVerification);function WizardStepVerification(){return o()(this,WizardStepVerification),n.apply(this,arguments)}return l()(WizardStepVerification,[{key:"render",value:function(){var t=!this.props.isVerified;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--three"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(k.a,a()({shouldSetup:t},this.props))))))}}]),WizardStepVerification}(v.Component);_.propTypes={siteVerificationSetup:h.a.func.isRequired},t.a=_}).call(this,n(4))},1134:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(50),s=n.n(l),u=n(51),d=n.n(u),f=n(215),g=n.n(f),p=n(69),m=n.n(p),h=n(70),v=n.n(h),b=n(49),k=n.n(b),E=n(1),_=n.n(E),y=n(2),O=n(0),S=n(42),j=n.n(S),w=n(10),C=n(8);function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var N=function(t){m()(SiteVerification,t);var n,a,o=R(SiteVerification);function SiteVerification(e){var t;s()(this,SiteVerification);var n=(t=o.call(this,e)).props,r=n.isAuthenticated,a=n.shouldSetup;return t.state={loading:r&&a,loadingMsg:Object(y.__)("Getting your verified sites…","google-site-kit"),siteURL:" ",selectedURL:"",errorCode:!1,errorMsg:""},t.onProceed=t.onProceed.bind(g()(t)),t}return d()(SiteVerification,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup;t&&n&&this.requestSitePropertyList()}},{key:"requestSitePropertyList",value:function(){var t=this,n=this.props.setErrorMessage;c()(i.a.mark((function r(){var a,o,c,l,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,j.a.get("modules","site-verification","verification",void 0,{useCache:!1});case 3:if(a=r.sent,o=a.verified,c=a.identifier,!o){r.next=17;break}return r.next=9,Object(C.J)("verification_setup","verification_check_true");case 9:return r.next=11,t.insertSiteVerification(c);case 11:if(!0!==r.sent.verified){r.next=15;break}return t.props.siteVerificationSetup(!0),r.abrupt("return",!0);case 15:r.next=19;break;case 17:return r.next=19,Object(C.J)("verification_setup","verification_check_false");case 19:t.setState({loading:!1,siteURL:c}),r.next=28;break;case 22:r.prev=22,r.t0=r.catch(0),l=r.t0.message,Object(C.M)(r.t0.message)&&(s=JSON.parse(r.t0.message),l=s.error.message||r.t0.message),n(l),t.setState({loading:!1,errorCode:r.t0.code,errorMsg:l,siteURL:e._googlesitekitLegacyData.admin.siteURL});case 28:case"end":return r.stop()}}),r,null,[[0,22]])})))()}},{key:"insertSiteVerification",value:(a=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.a.set("modules","site-verification","verification",{siteURL:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"onProceed",value:(n=c()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.props.setErrorMessage,r=this.state.siteURL?this.state.siteURL:e._googlesitekitLegacyData.admin.siteURL,n(""),this.setState({loading:!0,loadingMsg:Object(y.__)("Verifying…","google-site-kit"),errorCode:!1,errorMsg:""}),t.prev=4,t.next=7,this.insertSiteVerification(r);case 7:!0===t.sent.verified&&(Object(C.J)("verification_setup","verification_insert_tag"),this.props.siteVerificationSetup(!0)),t.next=17;break;case 11:t.prev=11,t.t0=t.catch(4),a=t.t0.message,Object(C.M)(t.t0.message)&&(o=JSON.parse(t.t0.message),a=o.error.message||t.t0.message),n(a),this.setState({loading:!1,errorCode:t.t0.code,errorMsg:a});case 17:case"end":return t.stop()}}),t,this,[[4,11]])}))),function(){return n.apply(this,arguments)})},{key:"renderForm",value:function(){var e=this.state,t=e.loading,n=e.loadingMsg,a=e.siteURL,i=r.createElement(O.Fragment,null,n&&r.createElement("p",null,n),r.createElement(w.ProgressBar,null));return t?i:r.createElement(O.Fragment,null,r.createElement("div",{className:"googlesitekit-wizard-step__inputs"},r.createElement(w.TextField,{label:Object(y.__)("Website Address","google-site-kit"),name:"siteProperty",outlined:!0,value:a})),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(w.Button,{onClick:this.onProceed},Object(y.__)("Continue","google-site-kit"))))}},{key:"render",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup,a=this.state.errorMsg;return n?r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(y.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(y.__)("We will need to verify your URL for Site Kit.","google-site-kit")),a&&0<a.length&&r.createElement("p",{className:"googlesitekit-error-text"},a),t&&this.renderForm()):SiteVerification.renderSetupDone()}}],[{key:"renderSetupDone",value:function(){return r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(y.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(y.__)("Congratulations, your site has been verified!","google-site-kit")))}}]),SiteVerification}(O.Component);N.propTypes={isAuthenticated:_.a.bool.isRequired,shouldSetup:_.a.bool.isRequired,siteVerificationSetup:_.a.func.isRequired,completeSetup:_.a.func,setErrorMessage:_.a.func.isRequired},t.a=N}).call(this,n(26),n(4))},1135:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(50),o=n.n(i),c=n(51),l=n.n(c),s=n(69),u=n.n(s),d=n(70),f=n.n(d),g=n(49),p=n.n(g),m=n(1),h=n.n(m),v=n(0),b=n(17),k=n(813);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var _=function(t){u()(WizardStepSearchConsoleProperty,t);var n=E(WizardStepSearchConsoleProperty);function WizardStepSearchConsoleProperty(){return o()(this,WizardStepSearchConsoleProperty),n.apply(this,arguments)}return l()(WizardStepSearchConsoleProperty,[{key:"render",value:function(){var t=this.props,n=t.isVerified,r=t.hasSearchConsoleProperty,i=n&&!r;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--four"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},i?e.createElement(k.a,a()({shouldSetup:i},this.props)):k.a.connected()))))}}]),WizardStepSearchConsoleProperty}(v.Component);_.propTypes={searchConsoleSetup:h.a.func.isRequired},t.a=_}).call(this,n(4))},1136:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),f=n(49),g=n.n(f),p=n(1),m=n.n(p),h=n(2),v=n(0),b=n(10),k=n(17),E=n(8);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var y=function(t){s()(WizardStepCompleteSetup,t);var n=_(WizardStepCompleteSetup);function WizardStepCompleteSetup(t){var r;return i()(this,WizardStepCompleteSetup),r=n.call(this,t),e._googlesitekitLegacyData.setup.hasSearchConsoleProperty?Object(E.J)("plugin_setup","user_verified"):Object(E.J)("plugin_setup","site_verified"),r}return c()(WizardStepCompleteSetup,[{key:"render",value:function(){return r.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--five"},r.createElement(k.e,null,r.createElement(k.k,null,r.createElement(k.a,{size:12},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(h.__)("Congratulations!","google-site-kit")),r.createElement("p",null,Object(h.__)("You successfully completed the Site Kit setup and connected Search Console. Check the dashboard for more services to connect.","google-site-kit")),r.createElement("div",{className:"googlesitekit-wizard-step__action"},r.createElement(b.Button,{id:"wizard-step-five-proceed",onClick:this.props.completeSetup},Object(h.__)("Go to Dashboard","google-site-kit")))))))}}]),WizardStepCompleteSetup}(v.Component);y.propTypes={completeSetup:m.a.func.isRequired},t.a=y}).call(this,n(26),n(4))},1137:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),p=n.n(g),m=n(12),h=n.n(m),v=n(0),b=n(332),k=n(564);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){l()(WizardProgressStep,t);var n=E(WizardProgressStep);function WizardProgressStep(){return a()(this,WizardProgressStep),n.apply(this,arguments)}return o()(WizardProgressStep,[{key:"render",value:function(){var t=this.props,n=t.currentStep,r=t.step,a=t.title,i=t.status,o=t.warning,c=t.error,l=t.stepKey,s=i;o?s="warning":c&&(s="error");var u=!1;switch(s){case"warning":case"error":u=e.createElement(b.a,{height:"12",width:"2"});break;case"completed":u=e.createElement(k.a,{height:"12",width:"16"})}return e.createElement("div",{className:h()("googlesitekit-wizard-progress-step","googlesitekit-wizard-progress-step--".concat(r),"googlesitekit-wizard-progress-step--".concat(l),{"googlesitekit-wizard-progress-step--current":n})},e.createElement("div",{className:"googlesitekit-wizard-progress-step__number-wrapper"},e.createElement("div",{className:h()("googlesitekit-wizard-progress-step__number","googlesitekit-wizard-progress-step__number--".concat(s))},e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-text","googlesitekit-wizard-progress-step__number-text--".concat(s))},r),u&&e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-icon","googlesitekit-wizard-progress-step__number-icon--".concat(s))},u))),e.createElement("p",{className:"googlesitekit-wizard-progress-step__text"},a))}}]),WizardProgressStep}(v.Component);_.propTypes={currentStep:p.a.bool.isRequired,step:p.a.number.isRequired,title:p.a.string,status:p.a.string,warning:p.a.bool,error:p.a.bool},_.defaultProps={title:"",status:"",warning:!1,error:!1,removeFirstStep:!1},t.a=_}).call(this,n(4))},114:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,a=t.dialogActive,i=void 0!==a&&a,f=t.handleDialog,g=void 0===f?null:f,p=t.onOpen,m=void 0===p?null:p,h=t.onClose,v=void 0===h?null:h,b=t.title,k=void 0===b?null:b,E=t.provides,_=t.handleConfirm,y=t.subtitle,O=t.confirmButton,S=void 0===O?null:O,j=t.dependentModules,w=t.danger,C=void 0!==w&&w,R=t.inProgress,N=void 0!==R&&R,x=t.small,z=void 0!==x&&x,A=t.medium,L=void 0!==A&&A,M=t.buttonLink,T=void 0===M?null:M,D=Object(c.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(D),I=!(!E||!E.length);return e.createElement(u.Dialog,{open:i,onOpen:m,onClose:v,"aria-describedby":I?P:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":z,"googlesitekit-dialog-md":L})},e.createElement(u.DialogTitle,null,C&&e.createElement(d.a,{width:28,height:28}),k),y?e.createElement("p",{className:"mdc-dialog__lead"},y):[],e.createElement(u.DialogContent,null,I&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},E.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:N},Object(s.__)("Cancel","google-site-kit")),T?e.createElement(u.Button,{href:T,onClick:_,target:"_blank",danger:C},S):e.createElement(u.SpinnerButton,{onClick:_,danger:C,disabled:N,isSaving:N},S||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:a.a.string,dialogActive:a.a.bool,handleDialog:a.a.func,handleConfirm:a.a.func.isRequired,onOpen:a.a.func,onClose:a.a.func,title:a.a.string,confirmButton:a.a.string,danger:a.a.bool,small:a.a.bool,medium:a.a.bool,buttonLink:a.a.string},t.a=ModalDialog}).call(this,n(4))},119:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(18),i=n(8);function o(e){var t=Object(a.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),a=function(e){return Object(r.isFinite)(e)?e:0}},1226:function(e,t,n){"use strict";n.r(t),function(e,t){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(335),l=n(137),s=n(41),u=n(235),d=n(1118),f=n(22);Object(c.a)(o()(a.a.mark((function n(){var r;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e._googlesitekitLegacyData.admin.resetSession){n.next=3;break}return n.next=3,Object(s.b)();case 3:(r=document.getElementById("js-googlesitekit-splash"))&&Object(l.render)(t.createElement(u.a,{viewContext:f.r},t.createElement(d.a,null)),r);case 5:case"end":return n.stop()}}),n)}))))}.call(this,n(26),n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),f=n.n(d);function Cell(t){var n,r=t.className,i=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,h=t.smSize,v=t.smStart,b=t.smOrder,k=t.mdSize,E=t.mdStart,_=t.mdOrder,y=t.lgSize,O=t.lgStart,S=t.lgOrder,j=t.size,w=t.children,C=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},C,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-desktop"),12>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-tablet"),8>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),i)}));f.displayName="Row",f.propTypes={className:l.a.string,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,i=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",a()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":i})},d,{ref:n}),l)}));f.displayName="Grid",f.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",a({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},129:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(401),a=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),a=n.n(r),i=n(166),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),f=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,p=t.step,m=t.tooltipProps,h=u>1?Object(f.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",a()({className:l()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,s.title&&e.createElement(d.Button,a()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,a()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(23),a=n.n(r),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(11),u=n.n(s),d=n(3),f=n.n(d),g=n(41),p=n(8),m=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=e.sent,i=a.cacheHit,o=a.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:i})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r="core/site",a="primary",i="secondary"},143:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",a({viewBox:"0 0 43 44"},e),i)}},154:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)(!1);t.a=a},158:function(e,t,n){"use strict";var r=n(0),a=n(44),i=Object(r.createContext)(a.a);t.a=i},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),a=n(13),i=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),a=n.n(r),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:a.a.string,componentStack:a.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),a=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var a=n(309);n.d(t,"f",(function(){return a.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),a=n(24),i=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(r.useSelect)((function(t){return!!t(a.b).getValue(i(e))}),[e])}o.getKey=i},174:function(e,t,n){"use strict";(function(e){var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(0),u=n(20),d=n(8),f=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,i=t.gaEventLabel,c=Object(f.a)(),l=Object(s.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",i);case 3:case"end":return e.stop()}}),e)}))),[i,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,i=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,a()({width:r,height:r},i)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),a=n.n(r),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,a=o()(t,["loading","children"]);return n?e.createElement(s.a,a):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.b)}},180:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(3),l=n(18),s=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,i=Object(l.a)(),o=Object(c.useSelect)((function(e){return e(s.a).getQueuedNotifications(i)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var f=o[0],g=f.id,p=f.Component,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(g));return e.createElement(p,m)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},185:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),p=n.n(g),m=n(12),h=n.n(m),v=n(0),b=n(347),k=n(348);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){l()(Layout,t);var n=E(Layout);function Layout(){return a()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,a=t.children,i=t.title,o=t.badge,c=t.headerCTALabel,l=t.headerCTALink,s=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,f=t.className,g=t.fill,p=t.relative,m=t.rounded,v=void 0!==m&&m,E=t.transparent,_=void 0!==E&&E;return e.createElement("div",{className:h()("googlesitekit-layout",f,{"googlesitekit-layout--fill":g,"googlesitekit-layout--relative":p,"googlesitekit-layout--rounded":v,"googlesitekit-layout--transparent":_})},n&&e.createElement(b.a,{title:i,badge:o,ctaLabel:c,ctaLink:l}),a,r&&e.createElement(k.a,{ctaLabel:s,ctaLink:u,footerContent:d}))}}]),Layout}(v.Component);_.propTypes={header:p.a.bool,footer:p.a.bool,children:p.a.node.isRequired,title:p.a.string,badge:p.a.node,headerCTALabel:p.a.string,headerCTALink:p.a.string,footerCTALabel:p.a.string,footerCTALink:p.a.string,footerContent:p.a.node,className:p.a.string,fill:p.a.bool,relative:p.a.bool,rounded:p.a.bool,transparent:p.a.bool},_.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=_}).call(this,n(4))},188:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",a({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(186),o=n.n(i),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(254),f=n(412),g=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,i=Object(s.useState)(!1),c=a()(i,2),l=c[0],m=c[1];return e.createElement(p.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),m(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?f.a:g.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var a=n(91),i=n(0),o=n(3),c=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(a.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n(17),s=Object(c.forwardRef)((function(t,n){var r=t.id,a=t.className,i=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:o()(a,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,i)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:a.a.string,className:a.a.string,secondaryPane:a.a.node},t.a=s}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,f=t.smallWinImageSVGHeight,g=void 0===f?75:f;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),i&&e.createElement("div",{className:l()(a()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(221),f=n(0),g=n(3),p=n(10),m=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,v=Object(f.useState)(!1),b=l()(v,2),k=b[0],E=b[1],_=Object(d.a)(),y=Object(g.useSelect)((function(e){return!!n&&e(m.a).isNavigatingTo(n)})),O=function(){var e=o()(a.a.mark((function e(){var t,n,r,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(E(!0),t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:_()&&E(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:O,disabled:k||y,isSaving:k||y},r),u&&e.createElement(p.Button,{tertiary:n||i,onClick:h,disabled:k||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),f=n(0),g=n(2),p=n(126),m=n(127),h=n(128),v=n(80),b=n(77),k=Object(f.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,f=void 0!==u&&u,k=t.back,E=void 0!==k&&k,_=t.caps,y=void 0!==_&&_,O=t.children,S=t.className,j=void 0===S?"":S,w=t.danger,C=void 0!==w&&w,R=t.disabled,N=void 0!==R&&R,x=t.external,z=void 0!==x&&x,A=t.hideExternalIndicator,L=void 0!==A&&A,M=t.href,T=void 0===M?"":M,D=t.inverse,P=void 0!==D&&D,I=t.noFlex,B=void 0!==I&&I,F=t.onClick,V=t.small,H=void 0!==V&&V,W=t.standalone,U=void 0!==W&&W,G=t.linkButton,K=void 0!==G&&G,q=t.to,J=t.leadingIcon,X=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=T||q||!F?q?"ROUTER_LINK":z?"EXTERNAL_LINK":"LINK":N?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof O?"".concat(O," ").concat(r):void 0:i),ee=J,te=X;return E&&(ee=e.createElement(h.a,{width:14,height:14})),z&&!L&&(te=e.createElement(v.a,{width:14,height:14})),f&&!P&&(te=e.createElement(p.a,{width:14,height:14})),f&&P&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Z,a()({"aria-label":Q,className:l()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":H,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":C,"googlesitekit-cta-link--disabled":N,"googlesitekit-cta-link--standalone":U,"googlesitekit-cta-link--link-button":K,"googlesitekit-cta-link--no-flex":!!B}),disabled:N,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||N?void 0:T,onClick:F,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:q},Y),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},O),!!te&&e.createElement(b.a,{marginLeft:5},te))}));k.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=k}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),a=n.n(r),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:a.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),a=n.n(r),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:a.a.string,moduleName:a.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),a=n.n(r),i=n(0),o=n(72),c=n(20),l=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,a=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var f;return r&&(f=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:a,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,f&&e.createElement("p",null,f)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",f))}BannerDescription.propTypes={description:a.a.node,learnMoreURL:a.a.string,learnMoreDescription:a.a.string,learnMoreLabel:a.a.string,learnMoreTarget:a.a.oneOf(Object.values(l.a)),onLearnMoreClick:a.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),a=(r.a.Consumer,r.a.Provider);t.a=a},218:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n(38),g=n(2),p=n(3),m=n(10),h=n(6),v=n(36),b=n(20),k=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,i=t.name,c=void 0===i?"optIn":i,l=t.className,s=t.trackEventCategory,E=t.alignLeftCheckbox,_=void 0!==E&&E,y=Object(p.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),O=Object(p.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),S=Object(p.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),j=Object(p.useDispatch)(h.a).setTrackingEnabled,w=Object(k.a)(),C=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[j,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(m.Checkbox,{id:r,name:c,value:"1",checked:y,disabled:O,onChange:C,loading:void 0===y,alignLeft:_},Object(f.a)(Object(g.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(b.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==S?void 0:S.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==S?void 0:S.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return a})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return O}));var r="mainDashboard",a="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",h="moduleSetup",v="key-metrics",b="traffic",k="content",E="speed",_="monetization",y=[r,a,i,o,c,s,f,h],O=[i,o,d,m]},234:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),a=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:a.a.node,label:a.a.string}}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),f=n(236),g=n(237),p=n(44),m=n(238),h=n(240),v=n(241),b=n(63),k=n(204),E=n(169);function Root(t){var n=t.children,r=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,_=Object(s.useState)({key:"Root",value:!0}),y=a()(_,1)[0];return e.createElement(s.StrictMode,null,e.createElement(k.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(g.a,{value:p.a},e.createElement(b.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(f.a,null,e.createElement(h.a,null,n,o&&e.createElement(v.a,null)),Object(E.a)(o)&&e.createElement(m.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var a=n(50),i=n.n(a),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),f=n(49),g=n.n(f),p=n(1),m=n.n(p),h=n(0),v=n(2),b=n(168),k=n(63),E=n(65),_=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var O=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(_.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,a=t.info;return n?r.createElement(E.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(b.a,{message:n.message,componentStack:a.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,a.componentStack)):e}}]),ErrorHandler}(h.Component);O.contextType=k.b,O.propTypes={children:m.a.node.isRequired},t.a=O}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),a=(r.a.Consumer,r.a.Provider);t.a=a},238:function(e,t,n){"use strict";(function(e){var r=n(3),a=n(239),i=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(114),f=n(28),g=n(32),p=n(6),m=n(133),h=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,a,o,v=Object(u.useRegistry)(),b=Object(u.useSelect)((function(e){return e(p.a).getPermissionScopeError()})),k=Object(u.useSelect)((function(e){return e(p.a).getUnsatisfiedScopes()})),E=Object(u.useSelect)((function(t){var n,r,a;return t(p.a).getConnectURL({additionalScopes:null==b||null===(n=b.data)||void 0===n?void 0:n.scopes,redirectURL:(null==b||null===(r=b.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==b||null===(a=b.data)||void 0===a?void 0:a.errorRedirectURL})})),_=Object(u.useDispatch)(p.a).clearPermissionScopeError,y=Object(u.useDispatch)(g.a).navigateTo,O=Object(u.useDispatch)(f.a).setValues,S=Object(s.useCallback)((function(){_()}),[_]),j=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(p.d,{permissionsError:b}),e.next=3,Object(m.c)(v);case 3:y(E);case 4:case"end":return e.stop()}}),e)}))),[v,E,y,b,O]);return Object(s.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==b||null===(t=b.data)||void 0===t?void 0:t.skipModal)||!(null==b||null===(n=b.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,j();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[j,b]),b?(null==b||null===(t=b.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==b||null===(a=b.data)||void 0===a?void 0:a.skipModal)||k&&(null==b||null===(o=b.data)||void 0===o?void 0:o.scopes.every((function(e){return k.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:b.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:j,handleDialog:S,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",b),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),i=l()(r,2),c=i[0],f=i[1];return Object(s.useEffect)((function(){c||o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:f(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),a=n.n(r),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},242:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(594),u=n(2),d=n(0),f=n(3),g=n(261),p=n(278),m=n(282),h=n(6),v=n(17),b=n(288),k=n(295),E=n(297),_=n(303),y=n(35),O=n(52),S=n(20),j=n(304),w=n(14),C=n(305);function Header(t){var n,r=t.children,i=t.subHeader,o=t.showNavigation,c=!!Object(O.c)(),R=Object(y.a)();Object(C.a)();var N=Object(f.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),x=Object(f.useSelect)((function(e){return e(h.a).isAuthenticated()})),z=Object(s.a)({childList:!0}),A=a()(z,2),L=A[0],M=!!(null===(n=A[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":M,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(S.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:N},e.createElement(g.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!x&&c&&R&&e.createElement(E.a,null),x&&!R&&e.createElement(p.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:L},e.createElement(m.a,null),e.createElement(_.a,null),i),o&&e.createElement(b.a,null),c&&e.createElement(j.a,null),e.createElement(k.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},243:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(217),l=n(0),s=n(56),u=n(2),d=n(3),f=n(10),g=n(306),p=n(129),m=n(8),h=n(174),v=n(19),b=n(18),k=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),i=a()(r,2),o=i[0],E=i[1],_=Object(l.useRef)(),y=Object(b.a)();Object(c.a)(_,(function(){return E(!1)})),Object(p.a)([s.c,s.f],_,(function(){return E(!1)}));var O=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),S=Object(l.useCallback)((function(){o||Object(m.J)("".concat(y,"_headerbar"),"open_helpmenu"),E(!o)}),[o,y]),j=Object(l.useCallback)((function(){E(!1)}),[]),w=Object(d.useSelect)((function(e){return e(k.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:_,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(g.a,{width:"20",height:"20"}),onClick:S,text:!0,tooltipEnterDelayInMS:500}),e.createElement(f.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:j},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),O&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(79),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},251:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"h",(function(){return s})),n.d(t,"g",(function(){return u}));var r="https://cdn.ampproject.org/v0.js",a="amp_cdn_restricted",i="check_api_unavailable",o="check_fetch_failed",c="google_api_connection_fail",l="invalid_hostname",s="setup_token_mismatch",u="google_sk_service_connection_fail"},252:function(e,t,n){"use strict";(function(e){var r=n(15),a=n.n(r),i=n(0);t.a=function(t,n){var r=Object(i.useState)(null),o=a()(r,2),c=o[0],l=o[1];return Object(i.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){l(e[e.length-1])}),n);return r.observe(t.current),function(){l(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},261:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(143),i=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},262:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},278:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(217),d=n(0),f=n(2),g=n(56),p=n(3),m=n(10),h=n(114),v=n(8),b=n(41),k=n(76),E=n(279),_=n(234),y=n(280),O=n(281),S=n(28),j=n(14),w=n(6),C=n(32),R=n(9),N=n(129),x=n(18);function UserMenu(){var t=Object(p.useSelect)((function(e){return e(j.c).getProxyPermissionsURL()})),n=Object(p.useSelect)((function(e){return e(w.a).getEmail()})),a=Object(p.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(p.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(p.useSelect)((function(e){return e(j.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),z=Object(p.useSelect)((function(e){return e(S.a).getValue(R.d,"isAutoCreatingCustomDimensionsForAudience")})),A=Object(d.useState)(!1),L=s()(A,2),M=L[0],T=L[1],D=Object(d.useState)(!1),P=s()(D,2),I=P[0],B=P[1],F=Object(d.useRef)(),V=Object(d.useRef)(),H=Object(x.a)(),W=Object(p.useDispatch)(C.a).navigateTo;Object(u.a)(F,(function(){return B(!1)})),Object(N.a)([g.c,g.f],F,(function(){var e;B(!1),null===(e=V.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){g.c===e.keyCode&&(T(!1),B(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var U,G=Object(d.useCallback)((function(){I||Object(v.J)("".concat(H,"_headerbar"),"open_usermenu"),B(!I)}),[I,H]),K=Object(d.useCallback)((function(){T(!M),B(!1)}),[M]),q=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(n,r){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=r.detail.item,e.t0=null==a?void 0:a.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(H,"_headerbar_usermenu"),"manage_sites");case 7:W(t);case 8:return e.abrupt("break",12);case 9:return K(),e.abrupt("break",12);case 11:G();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,G,K,W,H]),J=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(!1),e.next=3,Object(b.b)();case 3:return e.next=5,Object(v.J)("".concat(H,"_headerbar_usermenu"),"disconnect_user");case 5:W(l);case 6:case"end":return e.stop()}}),e)}))),[l,W,H]);return n?(o&&n&&(U=Object(f.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(f.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(U=Object(f.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(f.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(U=Object(f.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(f.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:F,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(m.Button,{disabled:z,ref:V,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:G,icon:!!a&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:a,alt:Object(f.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":I,"aria-controls":"user-menu","aria-label":z?void 0:Object(f.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:z?null:r.createElement("span",{"aria-label":U},r.createElement("strong",null,Object(f.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(m.Menu,{className:"googlesitekit-user-menu",menuOpen:I,onSelected:q,id:"user-menu"},r.createElement("li",null,r.createElement(E.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(_.a,{icon:r.createElement(O.a,{width:"22"}),label:Object(f.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(_.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(f.__)("Disconnect","google-site-kit")})))),r.createElement(k.a,null,r.createElement(h.a,{dialogActive:M,handleConfirm:J,handleDialog:K,title:Object(f.__)("Disconnect","google-site-kit"),subtitle:Object(f.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(f.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),a=n(3),i=n(6);function Details(){var t=Object(a.useSelect)((function(e){return e(i.a).getPicture()})),n=Object(a.useSelect)((function(e){return e(i.a).getFullName()})),o=Object(a.useSelect)((function(e){return e(i.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},280:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",a({viewBox:"0 0 22 22",fill:"none"},e),i)}},281:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",a({viewBox:"0 0 22 18",fill:"none"},e),i)}},282:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var a=n(0),i=n(2),o=n(3),c=n(283),l=n(284),s=n(6),u=n(14),d=n(28),f=n(65),g=n(180),p=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(s.a).isAuthenticated()})),m=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),h=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(o.useSelect)((function(e){return e(d.a).getValue(s.d,"permissionsError")})),b=Object(o.useSelect)((function(t){var r,a;return(null==v?void 0:v.data)?t(s.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(a=v.data)||void 0===a?void 0:a.redirectURL)||e.location.href}):"access_denied"===m&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),k=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:m})})),E=Object(i.__)("Error connecting Site Kit","google-site-kit"),_=Object(i.__)("Redo the plugin setup","google-site-kit");return"access_denied"===m&&(E=Object(i.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?_=Object(i.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(_=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(a.Fragment,null,r.createElement(l.a,null),r.createElement(c.a,null),h&&r.createElement(f.b,{id:"setup_error",type:"win-error",title:E,description:h,isDismissible:!1,ctaLink:b,ctaLabel:_,learnMoreLabel:Object(i.__)("Get help","google-site-kit"),learnMoreURL:k}),r.createElement(g.a,{areaSlug:p.b.ERRORS}))}}).call(this,n(26),n(4))},283:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),a=n(3),i=n(6),o=n(65);function AuthError(){var t=Object(a.useSelect)((function(e){return e(i.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},284:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),a=n(14),i=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(i.b,t):null}}).call(this,n(4))},285:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(21),a=n.n(r),i=n(57),o=n.n(i),c=n(286),l=o()((function(e){return{id:e,Notification:s(e)(c.a)}}));function s(t){return function(n){function WithNotificationID(r){return e.createElement(n,a()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),a=n.n(r),i=n(1),o=n.n(i),c=n(0),l=n(287),s=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,i=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),f=Object(s.a)(n),g=Object(u.a)(n),p=Object(c.useState)(!1),m=a()(p,2),h=m[0],v=m[1];return Object(c.useEffect)((function(){!h&&f&&(g.view(null==i?void 0:i.label,null==i?void 0:i.value),v(!0))}),[f,g,h,i]),e.createElement("section",{id:n,ref:d,className:r},o,!f&&e.createElement(l.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),a=n.n(r),i=n(0),o=n(3),c=n(24),l=n(252),s=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,a=Object(l.a)(n,{threshold:r}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==a?void 0:a.isIntersecting),f=Object(s.a)(t);return Object(i.useEffect)((function(){!f&&d&&u(s.a.getKey(t),!0)}),[f,d,u,t]),null}ViewedStateObserver.propTypes={id:a.a.string,observeRef:a.a.object,threshold:a.a.number}},288:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),a=n(6),i=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(i.a)(),n=Object(r.useSelect)((function(e){return t?e(a.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(a.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},289:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(27),i=n.n(a),o=n(15),c=n.n(o),l=n(12),s=n.n(l),u=n(13),d=n(91),f=n(156),g=n(0),p=n(2),m=n(3),h=n(290),v=n(291),b=n(292),k=n(293),E=n(294),_=n(22),y=n(6),O=n(46),S=n(24),j=n(73),w=n(52),C=n(25),R=n(89),N=n(8),x=n(18),z=n(35);function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),a=Object(g.useRef)(),o=Object(C.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),L=Object(g.useState)(l),M=c()(L,2),T=M[0],D=M[1],P=Object(g.useState)(l||void 0),I=c()(P,2),B=I[0],F=I[1],V=Object(g.useState)(!1),H=c()(V,2),W=H[0],U=H[1],G=Object(x.a)(),K=Object(z.a)(),q=Object(m.useDispatch)(S.b).setValue,J=Object(m.useSelect)((function(e){return K?e(y.a).getViewableModules():null})),X=Object(m.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),Y={modules:J||void 0},$=Object(m.useSelect)((function(e){return n===w.b&&!0!==X&&e(O.a).isWidgetContextActive(j.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,Y)})),Z=Object(m.useSelect)((function(e){return e(O.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_TRAFFIC:j.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Q=Object(m.useSelect)((function(e){return e(O.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_CONTENT:j.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),ee=Object(m.useSelect)((function(e){return e(O.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_SPEED:j.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),te=Object(m.useSelect)((function(e){return e(O.a).isWidgetContextActive(n===w.b?j.CONTEXT_MAIN_DASHBOARD_MONETIZATION:j.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ne=Object(g.useCallback)((function(){return $?_.b:K?Z?_.e:Q?_.a:ee?_.d:te?_.c:"":_.e}),[$,Z,Q,ee,te,K]),re=Object(g.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),a=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(a)),F(a),Object(N.J)("".concat(G,"_navigation"),"tab_select",a),e.scrollTo({top:a!==ne()?Object(R.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){q(S.a,a)}),50)}),[o,G,q,ne]);return Object(d.a)((function(){var t=ne();if(!l)return D(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==_.b)||(!(!Z||e!==_.e)||(!(!Q||e!==_.a)||(!(!ee||e!==_.d)||!(!te||e!==_.c))))})(n)||(n=t),q(S.a,n),D(n),setTimeout((function(){var r=n!==t?Object(R.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):q(S.a,void 0)}),50)})),Object(g.useEffect)((function(){var t=function(e){q(S.a,void 0),D(e),F(void 0)},n=Object(u.throttle)((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),f=d.bottom,g=d.top,p=[].concat(i()($?[_.b]:[]),i()(Z?[_.e]:[]),i()(Q?[_.a]:[]),i()(ee?[_.d]:[]),i()(te?[_.c]:[])),m=ne();if(0===s)U(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(g===v)}var b,k=A(p);try{for(k.s();!(b=k.n()).done;){var E=b.value,y=document.getElementById(E);if(y){var O=y.getBoundingClientRect().top-20-(u||f||0);O<0&&(void 0===l||l<O)&&(l=O,m=E)}}}catch(e){k.e(e)}finally{k.f()}if(B)B===m&&t(m);else{var S=e.location.hash;m!==(null==S?void 0:S.substring(1))&&(n&&Object(N.J)("".concat(G,"_navigation"),"tab_scroll",m),e.history.replaceState({},"","#".concat(m)),t(m))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[B,$,Z,Q,ee,te,G,q,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:a},$&&r.createElement(f.Chip,{id:_.b,label:Object(p.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:T===_.b,"data-context-id":_.b}),Z&&r.createElement(f.Chip,{id:_.e,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:T===_.e,"data-context-id":_.e}),Q&&r.createElement(f.Chip,{id:_.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:re,selected:T===_.a,"data-context-id":_.a}),ee&&r.createElement(f.Chip,{id:_.d,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"20",height:"16"}),onClick:re,selected:T===_.d,"data-context-id":_.d}),te&&r.createElement(f.Chip,{id:_.c,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"}),onClick:re,selected:T===_.c,"data-context-id":_.c}))}}).call(this,n(26),n(4))},290:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",a({viewBox:"0 0 13 12",fill:"none"},e),i,o,c,l)}},291:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},292:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},293:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},294:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},295:function(e,t,n){"use strict";(function(e,r){var a=n(15),i=n.n(a),o=n(13),c=n(2),l=n(0),s=n(3),u=n(10),d=n(14),f=n(296),g=n(32),p=n(20),m=n(83),h=n(8),v=n(52),b=n(18);t.a=function EntityHeader(){var t=Object(b.a)(),n=Object(v.c)(),a=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),k=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),E=Object(l.useRef)(),_=Object(l.useState)(k),y=i()(_,2),O=y[0],S=y[1];Object(l.useEffect)((function(){var t=function(){if(E.current){var t=E.current.clientWidth-40,n=e.getComputedStyle(E.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(m.d)(k,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[k,E,S]);var j=Object(s.useDispatch)(g.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),C=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),j(w)}),[w,j,t]);return v.a!==n||null===k||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(f.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:E,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(p.a,{secondary:!0,href:k,"aria-label":k,external:!0},O)))}}).call(this,n(26),n(4))},296:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),a=n.n(r),i=n(217),o=n(12),c=n.n(o),l=n(0),s=n(2),u=n(56),d=n(10),f=n(18),g=n(129),p=n(8),m=n(298),h=n(299),v=n(300),b=n(302),k=n(3),E=n(6);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],_=Object(l.useRef)(),y=Object(f.a)();Object(i.a)(_,(function(){return o(!1)})),Object(g.a)([u.c,u.f],_,(function(){return o(!1)}));var O=Object(l.useCallback)((function(){r||Object(p.J)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),S=Object(k.useSelect)((function(e){return e(E.a).hasCapability(E.H)}));return e.createElement("div",{ref:_,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":S})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:O,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:O,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(b.a,null)))}}).call(this,n(4))},298:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),f=n(32),g=n(14),p=n(6),m=n(8),h=n(20),v=n(18),b=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(p.a).hasCapability(p.H)})),r=Object(u.useSelect)((function(e){return e(g.c).getProxySetupURL()})),i=Object(u.useSelect)((function(e){return e(g.c).getDocumentationLinkURL("dashboard-sharing")})),k=Object(u.useDispatch)(f.a).navigateTo,E=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(b.f)("start_user_setup",!0),Object(m.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:k(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,k,t]),_=Object(c.useCallback)((function(){Object(m.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:i,external:!0,onClick:_,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:E},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},300:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),a=n(3),i=n(6),o=n(301);function SharedServices(){var t=Object(a.useSelect)((function(e){return e(i.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),a=n.n(r),i=n(38),o=n(2),c=n(3),l=n(19),s=n(6);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(s.a).hasCapability(s.H)})),a=Object(c.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=a.name,d=a.owner,f=Object(c.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(f,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(4))},302:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),a=n(2),i=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},303:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),a=n(3),i=n(65),o=n(14),c=n(28),l=n(6);function SetupErrorNotification(){var t=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(a.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),s=Object(a.useSelect)((function(e){return e(c.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(i.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},304:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),a=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:a.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},305:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(18),d=n(41),f=n(8),g=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(a.a.mark((function n(){var r,i;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(i=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(f.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!i.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(f.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},306:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},332:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",a({viewBox:"0 0 2 12"},e),i)}},347:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),p=n.n(g),m=n(0),h=n(17),v=n(20);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){l()(LayoutHeader,t);var n=b(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,a=t.ctaLabel,i=t.ctaLink,o=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(h.e,null,e.createElement(h.k,null,n&&e.createElement(h.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),i&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:i,external:!0},a)))))}}]),LayoutHeader}(m.Component);k.propTypes={title:p.a.string,badge:p.a.node,ctaLabel:p.a.string,ctaLink:p.a.string},k.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=k}).call(this,n(4))},348:function(e,t,n){"use strict";(function(e){var r=n(50),a=n.n(r),i=n(51),o=n.n(i),c=n(69),l=n.n(c),s=n(70),u=n.n(s),d=n(49),f=n.n(d),g=n(1),p=n.n(g),m=n(0),h=n(17),v=n(134);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){l()(LayoutFooter,t);var n=b(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(m.Component);k.propTypes={ctaLabel:p.a.string,ctaLink:p.a.string},t.a=k}).call(this,n(4))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),a=n(18);function i(){var e=Object(a.a)();return r.g.includes(e)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return k}));var r=n(99),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.140.0"},p=Object(r.a)(g),m=p.enableTracking,h=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),b=p.trackEvent,k=p.trackEventOnce;function E(e){e?m():h()}c&&l&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},40:function(e,t,n){"use strict";(function(e){var r=n(7),a=n.n(r),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(25);function PreviewBlock(t){var n,r,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,f=t.smallWidth,g=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,h=t.desktopWidth,v=t.desktopHeight,b=Object(s.e)(),k={width:(n={},a()(n,s.b,f),a()(n,s.c,p),a()(n,s.a,h),a()(n,s.d,h),n),height:(r={},a()(r,s.b,g),a()(r,s.c,m),a()(r,s.a,v),a()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:k.width[b]||o,height:k.height[b]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return k})),n.d(t,"c",(function(){return E})),n.d(t,"e",(function(){return _})),n.d(t,"b",(function(){return y}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",f="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),m=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(f).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,d,g,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,g=void 0!==d&&d,t.next=3,h();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(f).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),E=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(f).concat(n),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var t,n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,_();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return i=r.value,e.next=14,E(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},503:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in",i="shared_dashboard_splash"},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),a=n(18),i=r.n,o=r.l;function c(){var e=Object(a.a)();return e===r.n||e===r.o?i:e===r.l||e===r.m?o:null}},564:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgCheck(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return f})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return k})),n.d(t,"l",(function(){return E})),n.d(t,"m",(function(){return _})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return O})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return C})),n.d(t,"w",(function(){return R})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return x})),n.d(t,"x",(function(){return z})),n.d(t,"y",(function(){return A})),n.d(t,"A",(function(){return L})),n.d(t,"B",(function(){return M})),n.d(t,"C",(function(){return T})),n.d(t,"D",(function(){return D})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return I})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return F})),n.d(t,"E",(function(){return V})),n.d(t,"i",(function(){return H})),n.d(t,"p",(function(){return W})),n.d(t,"Q",(function(){return U})),n.d(t,"P",(function(){return G}));var r="core/user",a="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",k="kmAnalyticsNewVisitors",E="kmAnalyticsPopularAuthors",_="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",O="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",C="kmAnalyticsTopCitiesDrivingPurchases",R="kmAnalyticsTopDeviceDrivingPurchases",N="kmAnalyticsTopConvertingTrafficSource",x="kmAnalyticsTopCountries",z="kmAnalyticsTopPagesDrivingLeads",A="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",M="kmAnalyticsTopTrafficSourceDrivingAddToCart",T="kmAnalyticsTopTrafficSourceDrivingLeads",D="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",I="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",F="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",H="kmAnalyticsMostEngagingPages",W="kmAnalyticsTopCategories",U=[h,v,b,k,E,_,y,O,W,S,j,w,C,R,N,x,A,L,M,P,I,B,V,H,W],G=[].concat(U,[F])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=n(22),a="core/notifications",i={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),a=n.n(r),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(15),f=n.n(d),g=n(1),p=n.n(g),m=n(12),h=n.n(m),v=n(221),b=n(222),k=n(91),E=n(79),_=n(0),y=n(109),O=n(3),S=n(17),j=n(89),w=n(41),C=n(25),R=n(195),N=n(196),x=n(197),z=n(201),A=n(202),L=n(74),M=n(113),T=n(121),D=n(32),P=n(203);function BannerNotification(t){var n,r=t.badgeLabel,i=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,m=t.description,I=t.dismiss,B=t.dismissExpires,F=void 0===B?0:B,V=t.format,H=void 0===V?"":V,W=t.id,U=t.isDismissible,G=void 0===U||U,K=t.learnMoreDescription,q=t.learnMoreLabel,J=t.learnMoreURL,X=t.learnMoreTarget,Y=void 0===X?L.a.EXTERNAL:X,$=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ae=t.showOnce,ie=void 0!==ae&&ae,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,fe=t.smallWinImageSVGWidth,ge=void 0===fe?75:fe,pe=t.smallWinImageSVGHeight,me=void 0===pe?75:pe,he=t.mediumWinImageSVGWidth,ve=void 0===he?105:he,be=t.mediumWinImageSVGHeight,ke=void 0===be?105:be,Ee=t.rounded,_e=void 0!==Ee&&Ee,ye=t.footer,Oe=t.secondaryPane,Se=t.ctaComponent,je=Object(_.useState)(!1),we=f()(je,2),Ce=we[0],Re=we[1],Ne=Object(_.useState)(!1),xe=f()(Ne,2),ze=xe[0],Ae=xe[1],Le="notification::dismissed::".concat(W),Me=function(){return Object(w.f)(Le,new Date,{ttl:null})},Te=Object(E.a)(),De=Object(C.e)(),Pe=Object(v.a)(),Ie=Object(_.useState)(!1),Be=f()(Ie,2),Fe=Be[0],Ve=Be[1],He=Object(_.useRef)(),We=Object(b.a)(He,{rootMargin:"".concat(-Object(T.a)(Object(j.c)(De)),"px 0px 0px 0px"),threshold:0});Object(_.useEffect)((function(){!Fe&&(null==We?void 0:We.isIntersecting)&&("function"==typeof te&&te(),Ve(!0))}),[W,te,Fe,We]);var Ue=Te>=600;Object(k.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(F>0)){e.next=3;break}return e.next=3,$e();case 3:if(!G){e.next=9;break}return e.next=6,Object(w.d)(Le);case 6:t=e.sent,n=t.cacheHit,Ae(n);case 9:if(!ie){e.next=12;break}return e.next=12,Me();case 12:case"end":return e.stop()}}),e)}))));var Ge=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:qe();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ke=Object(y.a)(g)&&"_blank"!==p,qe=function(){return Ke||Re(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Me();case 2:Pe()&&Ae(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(O.useSelect)((function(e){return!!g&&e(D.a).isNavigatingTo(g)})),Xe=Object(O.useDispatch)(D.a).navigateTo,Ye=function(){var e=u()(l.a.mark((function e(t){var n,r,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),Ke&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,a=r.dismissOnCTAClick,n=void 0===a||a;case 12:if(!G||!n){e.next=15;break}return e.next=15,qe();case 15:Ke&&Xe(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Le);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(F,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Le);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&G&&(void 0===ze||ze))return null;var Ze=!Je&&Ce?"is-closed":"is-open",Qe=Object(M.d)(H),et=Object(M.c)(H),tt=Object(M.a)(H),nt=Object(M.b)({format:H,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(R.a,{id:W,className:h()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(H),H),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",_e),n)),secondaryPane:Oe,ref:He},$&&e.createElement(A.a,{module:Z,moduleName:Q}),oe&&e.createElement(S.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(S.a,a()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(N.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:me,smallWinImageSVGWidth:ge,winImageFormat:H,WinImageSVG:!Ue&&de?se:void 0}),e.createElement(P.a,{description:m,learnMoreURL:J,learnMoreLabel:q,learnMoreTarget:Y,learnMoreDescription:K,onLearnMoreClick:re}),i,e.createElement(x.a,{ctaLink:g,ctaLabel:d,ctaComponent:Se,ctaTarget:p,ctaCallback:Ye,dismissLabel:G?I:void 0,dismissCallback:Ge}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ue||!de)&&e.createElement(S.a,a()({},Qe,et,{alignBottom:"larger"===H,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(H)},e.createElement(se,{style:{maxWidth:ve,maxHeight:ke}}))),e.createElement(z.a,{type:le}))}n.d(t,"a",(function(){return L.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(L.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},674:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(2),d=n(0),f=n(38),g=n(56),p=n(161),m=n(3),h=n(114),v=n(41),b=n(76),k=n(20),E=n(14),_=n(32),y=n(36),O=n(18);t.a=function ResetButton(t){var n=t.children,a=Object(m.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=Object(m.useSelect)((function(e){return e(E.c).isDoingReset()})),l=Object(m.useSelect)((function(e){return e(_.a).isNavigatingTo(a||"")})),S=Object(d.useState)(!1),j=s()(S,2),w=j[0],C=j[1],R=Object(d.useState)(!1),N=s()(R,2),x=N[0],z=N[1],A=Object(p.a)(C,3e3);Object(d.useEffect)((function(){o||l?C(!0):A(!1)}),[o,l,A]),Object(d.useEffect)((function(){var t=function(e){g.c===e.keyCode&&z(!1)};return x&&e.addEventListener("keyup",t,!1),function(){x&&e.removeEventListener("keyup",t)}}),[x]);var L=Object(m.useDispatch)(E.c).reset,M=Object(m.useDispatch)(_.a).navigateTo,T=Object(O.a)(),D=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:return e.next=4,Object(v.b)();case 4:return e.next=6,Object(y.b)(T,"reset_plugin");case 6:M(a);case 7:case"end":return e.stop()}}),e)}))),[M,a,L,T]),P=Object(d.useCallback)((function(){z(!x)}),[x]),I=Object(d.useCallback)((function(){z(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a,{className:"googlesitekit-reset-button",onClick:I},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(b.a,null,r.createElement(h.a,{dialogActive:x,handleConfirm:D,handleDialog:P,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(f.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,small:!0,inProgress:w})))}}).call(this,n(26),n(4))},71:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",a({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},713:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"a",(function(){return b}));var r=n(5),a=n.n(r),i=n(16),o=n.n(i),c=n(42),l=n.n(c),s=n(14),u=n(1125),d=n(251),f=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,g=/\.(example|invalid|localhost|test)$/,p=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}],m=function(){var t=o()(a.a.mark((function t(){var n,r,i,o,c,l,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.location,r=n.hostname,!n.port){t.next=3;break}throw d.f;case 3:if(!f.test(r)){t.next=14;break}i=0,o=p;case 5:if(!(i<o.length)){t.next=12;break}if(c=o[i],l=c.mask,s=c.subnet,!Object(u.a)(r,s,l)){t.next=9;break}throw d.f;case 9:i++,t.next=5;break;case 12:t.next=16;break;case 14:if(r.includes(".")&&!r.match(g)){t.next=16;break}throw d.f;case 16:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(e){return o()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(s.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.h;case 5:case"end":return t.stop()}}),t)})))},v=function(){var e=o()(a.a.mark((function e(){var t,n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.get("core","site","health-checks",void 0,{useCache:!1}).catch((function(e){if("fetch_error"===e.code)throw d.d;throw d.c}));case 2:if(null==(o=e.sent)||null===(t=o.checks)||void 0===t||null===(n=t.googleAPI)||void 0===n?void 0:n.pass){e.next=5;break}throw d.e;case 5:if(null==o||null===(r=o.checks)||void 0===r||null===(i=r.skService)||void 0===i?void 0:i.pass){e.next=7;break}throw d.g;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(d.a).catch((function(){throw d.b}));case 2:if(e.sent.ok){e.next=5;break}throw d.b;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),a=n.n(r),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",a="mainDashboardTraffic",i="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:a,CONTEXT_MAIN_DASHBOARD_CONTENT:i,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),a=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,a=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:a}},n)}IconWrapper.propTypes={children:a.a.node.isRequired,marginLeft:a.a.number,marginRight:a.a.number}}).call(this,n(4))},787:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r,a=n(7),i=n.n(a),o=n(1),c=n.n(o),l=n(2),s=n(3),u=n(20),d=n(14),f=n(251),g=(r={},i()(r,f.b,"amp_cdn_restricted"),i()(r,f.c,"check_api_unavailable"),i()(r,f.h,"setup_token_mismatch"),r);function GetHelpLink(t){var n=t.errorCode,r=Object(s.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:g[n]})}));return r?e.createElement(u.a,{href:r,external:!0},Object(l.__)("Get help","google-site-kit")):null}GetHelpLink.propTypes={errorCode:c.a.string.isRequired}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return a.b})),n.d(t,"K",(function(){return a.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return C})),n.d(t,"g",(function(){return R})),n.d(t,"f",(function(){return N})),n.d(t,"o",(function(){return x})),n.d(t,"x",(function(){return z})),n.d(t,"q",(function(){return A})),n.d(t,"H",(function(){return L})),n.d(t,"t",(function(){return M})),n.d(t,"w",(function(){return T})),n.d(t,"l",(function(){return D})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return I.b})),n.d(t,"r",(function(){return I.a})),n.d(t,"B",(function(){return I.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return F})),n.d(t,"F",(function(){return W})),n.d(t,"E",(function(){return U.a})),n.d(t,"h",(function(){return G})),n.d(t,"M",(function(){return K})),n.d(t,"m",(function(){return q}));var r=n(13),a=n(36),i=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===c()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};n(97);var d=n(82);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),k=n.n(b),E=n(11),_=n.n(E),y=n(2),O="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,w=60*j,C=24*w,R=7*C,N=30*C;function x(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function A(e){_()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function L(e){_()(z(e),O);var t=e.split("-"),n=k()(t,3),r=n[0],a=n[1],i=n[2];return new Date(r,a-1,i)}function M(e,t){return A(D(e,t*C))}function T(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function D(e,t){_()(z(e)||Object(r.isDate)(e)&&!isNaN(e),O);var n=z(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),I=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function F(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=n(27),H=n.n(V),W=function(e){return Array.isArray(e)?H()(e).sort():e},U=n(88);function G(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var K=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},q=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",a({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(145),a=n.n(r)()(e)}).call(this,n(26))},813:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(16),c=n.n(o),l=n(50),s=n.n(l),u=n(51),d=n.n(u),f=n(215),g=n.n(f),p=n(69),m=n.n(p),h=n(70),v=n.n(h),b=n(49),k=n.n(b),E=n(1),_=n.n(E),y=n(2),O=n(0),S=n(42),j=n.n(S),w=n(10),C=n(8);function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var N=function(t){m()(SearchConsole,t);var n,a=R(SearchConsole);function SearchConsole(t){var n;s()(this,SearchConsole),n=a.call(this,t);var r=e._googlesitekitLegacyData.admin.siteURL;return n.state={loading:!0,sites:!1,selectedURL:r,siteURL:r,connected:!1,errorCode:!1,errorMsg:""},n.handleURLSelect=n.handleURLSelect.bind(g()(n)),n.insertPropertyToSearchConsole=n.insertPropertyToSearchConsole.bind(g()(n)),n.submitPropertyEventHandler=n.submitPropertyEventHandler.bind(g()(n)),n}return d()(SearchConsole,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup;t&&n&&this.requestSearchConsoleSiteList()}},{key:"requestSearchConsoleSiteList",value:function(){var e=this,t=this.props.setErrorMessage;c()(i.a.mark((function n(){var r;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,j.a.get("modules","search-console","matched-sites",void 0,{useCache:!1});case 3:if(1!==(r=n.sent).length){n.next=9;break}return n.next=7,e.insertPropertyToSearchConsole(r[0].siteURL);case 7:return e.props.searchConsoleSetup(r[0].siteURL),n.abrupt("return");case 9:if(r.length){n.next=11;break}throw{code:"no_property_matched",message:Object(y.__)("Your site has not been added to Search Console yet. Would you like to add it now?","google-site-kit")};case 11:throw t(""),e.setState({loading:!1,selectedURL:r[0].siteURL,sites:r}),{code:"multiple_properties_matched",message:Object(y.sprintf)( /* translators: %s: the number of matching properties */ Object(y.__)("We found %d existing accounts. Please choose which one to use below.","google-site-kit"),r.length)};case 16:n.prev=16,n.t0=n.catch(0),t(n.t0.message),e.setState({loading:!1,errorCode:n.t0.code,errorMsg:n.t0.message});case 20:case"end":return n.stop()}}),n,null,[[0,16]])})))()}},{key:"insertPropertyToSearchConsole",value:(n=c()(i.a.mark((function e(t){var n,r=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]&&r[1],e.next=3,j.a.set("modules","search-console","site",{siteURL:t});case 3:if(!n){e.next=6;break}return e.next=6,Object(C.J)("search_console_setup","add_new_sc_property");case 6:this.setState({loading:!1,connected:!0});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"submitPropertyEventHandler",value:function(){var e=this,t=this.state,n=t.selectedURL,r=t.errorCode,a=this.props.setErrorMessage;c()(i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.insertPropertyToSearchConsole(n,"no_property_matched"===r);case 3:a(""),e.props.searchConsoleSetup(n),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),a(t.t0.message[0].message),e.setState({loading:!1,errorCode:t.t0.code,errorMsg:t.t0.message[0].message});case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))()}},{key:"handleURLSelect",value:function(e,t){this.setState({selectedURL:t.getAttribute("data-value")})}},{key:"matchedForm",value:function(){var e=this.state,t=e.sites,n=e.selectedURL;if(!t)return null;var a=t.map((function(e){var t=e.siteURL;return t.startsWith("sc-domain:")&&(t=Object(y.sprintf)( /* translators: %s: Search Console property domain name */ Object(y.__)("%s (domain property)","google-site-kit"),t.replace(/^sc-domain:/,""))),{label:t,value:e.siteURL}}));return r.createElement(O.Fragment,null,r.createElement("div",{className:"googlesitekit-setup-module__inputs"},r.createElement(w.Select,{enhanced:!0,name:"siteProperty",label:Object(y.__)("Choose URL","google-site-kit"),outlined:!0,onEnhancedChange:this.handleURLSelect,options:a,value:n})),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(w.Button,{onClick:this.submitPropertyEventHandler},Object(y.__)("Continue","google-site-kit"))))}},{key:"noSiteForm",value:function(){var e=this.state.siteURL;return r.createElement(O.Fragment,null,r.createElement("div",{className:"googlesitekit-setup-module__inputs"},r.createElement(w.TextField,{label:Object(y.__)("Website Address","google-site-kit"),name:"siteProperty",outlined:!0,value:e})),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(w.Button,{onClick:this.submitPropertyEventHandler},Object(y.__)("Continue","google-site-kit"))))}},{key:"renderForm",value:function(){var e=this.state,t=e.loading,n=e.sites;return t?r.createElement(O.Fragment,null,r.createElement("p",null,Object(y.__)("We’re locating your Search Console account.","google-site-kit")),r.createElement(w.ProgressBar,null)):0===n.length?this.noSiteForm():this.matchedForm()}},{key:"render",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup,a=this.state,i=a.errorMsg,o=a.connected;return!n||o?SearchConsole.connected():r.createElement("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console"},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-setup-module__title "},Object(y._x)("Search Console","Service name","google-site-kit")),i&&0<i.length&&r.createElement("p",{className:"googlesitekit-error-text"},i),t&&n&&this.renderForm())}}],[{key:"connected",value:function(){return r.createElement("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console"},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-setup-module__title "},Object(y._x)("Search Console","Service name","google-site-kit")),r.createElement("p",{className:"googlesitekit-setup-module__text--no-margin"},Object(y.__)("Your Search Console is set up with Site Kit.","google-site-kit")))}}]),SearchConsole}(O.Component);N.propTypes={isAuthenticated:_.a.bool.isRequired,shouldSetup:_.a.bool.isRequired,searchConsoleSetup:_.a.func.isRequired,setErrorMessage:_.a.func.isRequired},t.a=N}).call(this,n(26),n(4))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return R}));var r=n(15),a=n.n(r),i=n(33),o=n.n(i),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),f=n(57),g=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},b=function(e){var t=k(e),n=t.hours,r=t.minutes,a=t.seconds;return a=("0"+a).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(a):"".concat(n,":").concat(r,":").concat(a)},k=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k(e),r=n.hours,a=n.minutes,i=n.seconds;return{hours:r,minutes:a,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,h(h({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?w(i,h(h({},o),{},{unit:"second"})):"",a?w(a,h(h({},o),{},{unit:"minute"})):"",r?w(r,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),a),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",a?n:"",r?o:"").trim()}}},_=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(_(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(_(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(_(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function O(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=O(t),r=n.style,a=void 0===r?"metric":r;return"metric"===a?y(e):"duration"===a?v(e,n):"durationISO"===a?b(e):w(e,n)}var j=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?R():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),p=g[0],m=g[1];c[p]&&m===c[p]||(l.includes(p)||(s[p]=m))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?R():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),a=n.n(r),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(11),a=n.n(r),i=function(e,t){var n=t.dateRangeLength;a()(Array.isArray(e),"report must be an array to partition."),a()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),a=n(121);function i(t,n){var r=document.querySelector(t);if(!r)return 0;var a=r.getBoundingClientRect().top,i=o(n);return a+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(a.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return b})),n.d(t,"w",(function(){return k})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return _})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return O})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",a="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",f="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",k="dashboardAllTrafficWidgetDimensionValue",E="dashboardAllTrafficWidgetActiveRowIndex",_="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},O={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},93:function(e,t,n){"use strict";(function(e){var r=n(21),a=n.n(r),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.label,i=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",a()({ref:n},u,{className:l()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":s})}),r)}));f.displayName="Badge",f.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=f}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(220),a=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),a=n.n(r),i=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=s(s({},u),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(a,n),d=Object(c.a)(a,n,l,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(i.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1226,1,0]]]); dist/assets/js/googlesitekit-user-input-ebc5e165960a36731c7f.js 0000604 00000501162 14717744000 0017573 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[29],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,l=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:l,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),l=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(l.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,l){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:s,value:l},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},u),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},1026:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputApp}));var r=n(0),i=n(2),a=n(3),o=n(10),c=n(6),s=n(17),l=n(242),u=n(243),d=n(383),g=n(1027),f=n(185),p=n(103),m=n(28);function UserInputApp(){var t,n=Object(a.useSelect)((function(e){return e(m.a).getValue(p.a,"questionNumber")}))||1,b=(null===(t=Object(p.k)()[n-1])||void 0===t?void 0:t.title)||"",v=Object(a.useSelect)((function(e){return e(c.a).getUserInputSettings(),e(c.a).hasFinishedResolution("getUserInputSettings")}));return e.createElement(r.Fragment,null,e.createElement(l.a,null,e.createElement(u.a,null)),e.createElement("div",{className:"googlesitekit-user-input"},e.createElement("div",{className:"googlesitekit-module-page"},!v&&e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{lgSize:12,mdSize:8,smSize:4},e.createElement(o.ProgressBar,null)))),v&&e.createElement(s.e,null,e.createElement(f.a,{rounded:!0},e.createElement(s.e,{className:"googlesitekit-user-input__header"},e.createElement(s.k,null,e.createElement(s.a,{size:12,className:"googlesitekit-user-input__question-number"},Object(i.sprintf)( /* translators: %d is replaced with the current page number (1, 2, or 3 etc.). */ Object(i.__)("%d / 3","google-site-kit"),n))),e.createElement(s.k,null,e.createElement(s.a,{lgSize:12},e.createElement(d.a,{className:"googlesitekit-heading-3 googlesitekit-user-input__heading",title:b,fullWidth:!0})))),e.createElement(s.e,{className:"googlesitekit-user-input__content"},e.createElement(s.k,null,e.createElement(s.a,{lgSize:12,mdSize:8,smSize:4},e.createElement(g.a,null)))))))))}}).call(this,n(4))},1027:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserInputQuestionnaire}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(0),d=n(3),g=n(783),f=n(586),p=n(103),m=n(193),b=n(6),v=n(14),h=n(32),O=n(8),_=n(18),E=n(28),k=n(1029);function UserInputQuestionnaire(){var t=Object(_.a)(),n=Object(m.a)("question",p.f[0]),i=l()(n,2),o=i[0],s=i[1],y=p.f.indexOf(o);-1===y&&s(p.f[0]);var j=Object(d.useDispatch)(E.a).setValues,S=Object(d.useSelect)((function(e){return e(E.a).getValue(p.a,"questionNumber")}))||1,N=Object(d.useDispatch)(b.a).saveUserInputSettings,w=Object(d.useDispatch)(h.a).navigateTo,T=Object(d.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-dashboard")})),C=Object(d.useSelect)((function(e){return e(b.a).getErrorForAction("saveUserInputSettings",[])})),A="".concat(t,"_kmw");Object(u.useEffect)((function(){var e;o===p.g&&(e="site_purpose_question_view"),o===p.h&&(e="content_frequency_question_view"),o===p.e&&(e="site_goals_question_view"),e&&Object(O.J)(A,e)}),[o,A,t]);var x=Object(p.i)(),R=x.USER_INPUT_ANSWERS_PURPOSE,D=x.USER_INPUT_ANSWERS_GOALS,L=x.USER_INPUT_ANSWERS_POST_FREQUENCY,I=Object(p.j)().USER_INPUT_ANSWERS_PURPOSE,P=function(){e.scrollTo({top:0,left:0,behavior:"smooth"})},M=Object(u.useCallback)((function(){Object(O.J)(A,"question_advance",p.f[y]),s(p.f[y+1]),j(p.a,{questionNumber:S+1}),P()}),[y,A,s,j,S]),z=Object(u.useCallback)((function(){Object(O.J)(A,"question_return",p.f[y]),s(p.f[y-1]),j(p.a,{questionNumber:S-1}),P()}),[y,A,s,j,S]),B=Object(u.useCallback)(c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(O.J)(A,"summary_submit"),e.next=3,N();case 3:e.sent.error||(t=new URL(T),w(t.toString()));case 5:case"end":return e.stop()}}),e)}))),[A,N,T,w]),H=Object(d.useSelect)((function(e){return e(b.a).getUserInputSettings()})),U=Object(d.useSelect)((function(e){return e(b.a).isSavingUserInputSettings(H)})),V=Object(d.useSelect)((function(e){return e(h.a).isNavigating()})),F=U||V,W=Object(u.useCallback)((function(){F||B()}),[F,B]),q=r.createElement(k.a,{currentSegment:y+1,totalSegments:p.f.length,className:"googlesitekit-user-input__question--progress"});return r.createElement("div",null,r.createElement("div",{className:"googlesitekit-user-input__question-progress"},q),y===p.f.indexOf(p.g)&&r.createElement(g.a,{slug:p.g,questionNumber:1,next:M,error:C},r.createElement(f.a,{slug:p.g,max:p.d[p.g],options:R,descriptions:I,next:M,showInstructions:!0})),y===p.f.indexOf(p.h)&&r.createElement(g.a,{slug:p.h,questionNumber:2,next:M,back:z,error:C},r.createElement(f.a,{slug:p.h,max:p.d[p.h],options:L,next:M,showInstructions:!0})),y===p.f.indexOf(p.e)&&r.createElement(g.a,{slug:p.e,questionNumber:3,complete:W,back:z,error:C},r.createElement(f.a,{slug:p.e,max:p.d[p.e],options:D,next:W,showInstructions:!0})))}}).call(this,n(26),n(4))},1028:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionInfo}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(14),l=n(6),u=n(17),d=n(608),g=n(671),f=n(103);function UserInputQuestionInfo(t){var n,r=t.slug,i=t.questionNumber,p=Object(c.useSelect)((function(e){return e(s.c).hasMultipleAdmins()})),m=Object(c.useSelect)((function(e){return e(l.a).getUserInputSettingScope(r)})),b=Object(c.useSelect)((function(e){return e(l.a).getUserInputSettingAuthor(r)})),v=(null===(n=Object(f.k)()[i-1])||void 0===n?void 0:n.description)||"";return e.createElement(a.Fragment,null,e.createElement(u.a,{className:"googlesitekit-user-input__question-instructions",lgSize:5,mdSize:8,smSize:4},v&&e.createElement("p",{className:"googlesitekit-user-input__question-instructions--description"},v),e.createElement(d.a,{className:"googlesitekit-non-desktop-display-none"})),e.createElement(u.a,{className:"googlesitekit-user-input__question-info",lgSize:5,mdSize:8,smSize:4,smOrder:3},e.createElement(d.a,{className:"googlesitekit-desktop-display-none "}),"site"===m&&p&&e.createElement("p",null,b?Object(o.__)("This answer can be edited by all Site Kit admins","google-site-kit"):Object(o.__)("Your answer to this question will apply to all Site Kit users. Any other admins with access to Site Kit can see and edit this response.","google-site-kit")),e.createElement(g.a,{slug:r})))}UserInputQuestionInfo.propTypes={slug:i.a.string.isRequired,questionNumber:i.a.number}}).call(this,n(4))},1029:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressSegments}));var r=n(12),i=n.n(r);function ProgressSegments(t){var n=t.currentSegment,r=t.totalSegments,a=t.className;return e.createElement("div",{className:i()("googlesitekit-progress-segments",a)},Array.from(Array(r).keys()).map((function(t){return e.createElement("div",{key:t,className:i()("googlesitekit-progress-segments__segment",{"googlesitekit-progress-segments__segment--active":t+1<=n})})})))}}).call(this,n(4))},103:function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return v}));var r,i=n(7),a=n.n(i),o=n(2),c="purpose",s="postFrequency",l="goals",u=[c,s,l],d=(r={},a()(r,c,1),a()(r,s,1),a()(r,l,3),r),g="googlesitekit-user-input-currently-editing",f="user_input_question_number",p="user_input_question_snapshot";function m(){return[{title:Object(o.__)("What is the main purpose of this site?","google-site-kit"),description:Object(o.__)("Based on your answer, Site Kit will tailor the metrics you see on your dashboard to help you track progress towards your specific goals","google-site-kit")},{title:Object(o.__)("How often do you create new content for this site?","google-site-kit"),description:Object(o.__)("Based on your answer, Site Kit will suggest new features for your dashboard related to content creation","google-site-kit")},{title:Object(o.__)("What are your top goals for this site?","google-site-kit"),description:Object(o.__)("Based on your answers, Site Kit will tailor the metrics and recommendations you see on your dashboard to help you make progress in these areas","google-site-kit")}]}function b(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:Object(o.__)("Sell products or services","google-site-kit"),monetize_content:Object(o.__)("Monetize content (with ads or affiliate links)","google-site-kit"),publish_blog:Object(o.__)("Publish a blog","google-site-kit"),publish_news:Object(o.__)("Publish news content","google-site-kit"),share_portfolio:Object(o.__)("Share a business card or portfolio to represent me or my company online","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_POST_FREQUENCY:{never:Object(o.__)("Never","google-site-kit"),daily:Object(o.__)("Daily","google-site-kit"),weekly:Object(o.__)("Weekly","google-site-kit"),monthly:Object(o.__)("Monthly","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_GOALS:{retaining_visitors:Object(o.__)("Retain visitors, turn them into loyal readers or customers","google-site-kit"),improving_performance:Object(o.__)("Improve speed and performance","google-site-kit"),finding_new_topics:Object(o.__)("Find new topics to write about that connect with my audience","google-site-kit"),growing_audience:Object(o.__)("Grow my audience","google-site-kit"),expanding_business:Object(o.__)("Expand my business into new cities, states or markets","google-site-kit"),generating_revenue:Object(o.__)("Generate more revenue","google-site-kit"),help_better_rank:Object(o.__)("Help my content rank in a better position in Google search results","google-site-kit"),understanding_content_performance:Object(o.__)("Understand which content is performing best","google-site-kit"),encourage_to_post:Object(o.__)("Tips for generating and posting engaging content updates","google-site-kit"),other:Object(o.__)("Other","google-site-kit")}}}function v(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:Object(o.__)("E.g. selling products like devices, apparel, equipment, etc. or offering services like courses, consulting, tutoring, etc.","google-site-kit"),monetize_content:Object(o.__)("Using display ads, affiliate links, sponsored content, etc.","google-site-kit"),publish_blog:Object(o.__)("Writing on a topic you’re passionate about, no focus on monetizing content","google-site-kit"),publish_news:Object(o.__)("E.g. local news, investigative pieces, interviews, etc.","google-site-kit"),share_portfolio:Object(o.__)("My website represents me or my company","google-site-kit"),other:void 0}}}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),a=n.n(i),o=n(91),c=n(31),s=n(1),l=n.n(s),u=n(2),d=n(3),g=n(24),f=n(6),p=n(36),m=n(130),b=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},O={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},E="feature_tooltip_view",k="feature_tooltip_advance",y="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(i,"-step"),N="".concat(i,"-run"),w=Object(d.useDispatch)(g.b).setValue,T=Object(d.useDispatch)(f.a).dismissTour,C=Object(d.useRegistry)(),A=Object(b.a)(),x=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(g.b).getValue(N)&&!1===e(f.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),w(N,!0)}));var D=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,l=t+1,u="function"==typeof s?s(A):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,E,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,j,l):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===l&&Object(p.b)(u,S,l),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,y,l),n===c.a.NEXT&&Object(p.b)(u,k,l))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(a),b=g&&d===c.b.STEP_AFTER,v=m||b;if(c.b.STEP_BEFORE===d){var h,O,_=o.target;"string"==typeof o.target&&(_=e.document.querySelector(o.target)),null===(h=_)||void 0===h||null===(O=h.scrollIntoView)||void 0===O||O.call(h,{block:"center"})}f?function(e,t){w(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),T(i)),l&&l(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:O,run:R,showProgress:!0,stepIndex:x,steps:D,styles:h,tooltipComponent:m.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},s=a(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),i&&(t-=1),o&&0<t-s[e]&&(t-=s[e]),c[e]=t})),c}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},114:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(200),s=n(38),l=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,p=t.onOpen,m=void 0===p?null:p,b=t.onClose,v=void 0===b?null:b,h=t.title,O=void 0===h?null:h,_=t.provides,E=t.handleConfirm,k=t.subtitle,y=t.confirmButton,j=void 0===y?null:y,S=t.dependentModules,N=t.danger,w=void 0!==N&&N,T=t.inProgress,C=void 0!==T&&T,A=t.small,x=void 0!==A&&A,R=t.medium,D=void 0!==R&&R,L=t.buttonLink,I=void 0===L?null:L,P=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(P),z=!(!_||!_.length);return e.createElement(u.Dialog,{open:a,onOpen:m,onClose:v,"aria-describedby":z?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":x,"googlesitekit-dialog-md":D})},e.createElement(u.DialogTitle,null,w&&e.createElement(d.a,{width:28,height:28}),O),k?e.createElement("p",{className:"mdc-dialog__lead"},k):[],e.createElement(u.DialogContent,null,z&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(l.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(l.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:C},Object(l.__)("Cancel","google-site-kit")),I?e.createElement(u.Button,{href:I,onClick:E,target:"_blank",danger:w},j):e.createElement(u.SpinnerButton,{onClick:E,danger:w,disabled:C,isSaving:C},j||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),l=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,g=t.storeName,f=t.message,p=void 0===f?r.message:f,m=t.noPrefix,b=void 0!==m&&m,v=t.Icon,h=Object(c.useDispatch)(),O=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),_=Object(a.useCallback)((function(){h(O.storeName).invalidateResolution(O.name,O.args)}),[h,O]);if(!r||Object(l.f)(r))return null;var E=d&&Object(l.d)(r,O);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:b}),E&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:_},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},119:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},1210:function(e,t,n){"use strict";n.r(t),function(e){var t=n(335),r=n(137),i=n(235),a=n(1026),o=n(22);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-user-input");t&&Object(r.render)(e.createElement(i.a,{viewContext:o.s},e.createElement(a.a,null)),t)}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),l=n(1),u=n.n(l),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,b=t.smSize,v=t.smStart,h=t.smOrder,O=t.mdSize,_=t.mdStart,E=t.mdOrder,k=t.lgSize,y=t.lgStart,j=t.lgOrder,S=t.size,N=t.children,w=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},w,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),N)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},129:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(401),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(166),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,p=t.step,m=t.tooltipProps,b=u>1?Object(g.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:s()("googlesitekit-tour-tooltip",p.className)},m),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,l.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var r=n(23),i=n.n(r),a=n(7),o=n.n(a),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(3),g=n.n(d),f=n(41),p=n(8),m=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(38),s=n(2),l=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},143:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},154:function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},158:function(e,t,n){"use strict";var r=n(0),i=n(44),a=Object(r.createContext)(i.a);t.a=a},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),i=function(e){return r.f.includes(e)}},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(24),a=function(e){return"notification/".concat(e,"/viewed")};function o(e){return Object(r.useSelect)((function(t){return!!t(i.b).getValue(a(e))}),[e])}o.getKey=a},174:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,c=Object(g.a)(),s=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(4))},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,a=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(l.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},l.a.propTypes)}).call(this,n(4))},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},180:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(3),s=n(18),l=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,a=Object(s.a)(),o=Object(c.useSelect)((function(e){return e(l.a).getQueuedNotifications(a)}));if(void 0===(null==o?void 0:o[0])||(null==o||null===(n=o[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var g=o[0],f=g.id,p=g.Component,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(u.a)(f));return e.createElement(p,m)}Notifications.propTypes={viewContext:o.a.string,areaSlug:o.a.string}}).call(this,n(4))},185:function(e,t,n){"use strict";(function(e){var r=n(50),i=n.n(r),a=n(51),o=n.n(a),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),p=n.n(f),m=n(12),b=n.n(m),v=n(0),h=n(347),O=n(348);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){s()(Layout,t);var n=_(Layout);function Layout(){return i()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,i=t.children,a=t.title,o=t.badge,c=t.headerCTALabel,s=t.headerCTALink,l=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,g=t.className,f=t.fill,p=t.relative,m=t.rounded,v=void 0!==m&&m,_=t.transparent,E=void 0!==_&&_;return e.createElement("div",{className:b()("googlesitekit-layout",g,{"googlesitekit-layout--fill":f,"googlesitekit-layout--relative":p,"googlesitekit-layout--rounded":v,"googlesitekit-layout--transparent":E})},n&&e.createElement(h.a,{title:a,badge:o,ctaLabel:c,ctaLink:s}),i,r&&e.createElement(O.a,{ctaLabel:l,ctaLink:u,footerContent:d}))}}]),Layout}(v.Component);E.propTypes={header:p.a.bool,footer:p.a.bool,children:p.a.node.isRequired,title:p.a.string,badge:p.a.node,headerCTALabel:p.a.string,headerCTALink:p.a.string,footerCTALabel:p.a.string,footerCTALink:p.a.string,footerContent:p.a.node,className:p.a.string,fill:p.a.bool,relative:p.a.bool,rounded:p.a.bool,transparent:p.a.bool},E.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=E}).call(this,n(4))},188:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(186),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(254),g=n(412),f=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(l.useState)(!1),c=i()(a,2),s=c[0],m=c[1];return e.createElement(p.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),m(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?g.a:f.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(0),s=n(519),l=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(s.a)(r.location.href,t)||n),u=o()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(l.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},194:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var i=n(91),a=n(0),o=n(3),c=n(6),s=n(18),l=n(106);function FeatureTours(){var t=Object(s.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(i.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(l.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(17),l=Object(c.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,l=t.secondaryPane;return e.createElement("section",{id:r,className:o()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,a)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=l}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(l.a,{label:r})),a&&e.createElement("div",{className:s()(i()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n.n(l),d=n(221),g=n(0),f=n(3),p=n(10),m=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,b=t.dismissCallback,v=Object(g.useState)(!1),h=s()(v,2),O=h[0],_=h[1],E=Object(d.a)(),k=Object(f.useSelect)((function(e){return!!n&&e(m.a).isNavigatingTo(n)})),y=function(){var e=o()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:E()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:y,disabled:O||k,isSaving:O||k},r),u&&e.createElement(p.Button,{tertiary:n||a,onClick:b,disabled:O||k},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(140),g=n(0),f=n(2),p=n(126),m=n(127),b=n(128),v=n(80),h=n(77),O=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,O=t.back,_=void 0!==O&&O,E=t.caps,k=void 0!==E&&E,y=t.children,j=t.className,S=void 0===j?"":j,N=t.danger,w=void 0!==N&&N,T=t.disabled,C=void 0!==T&&T,A=t.external,x=void 0!==A&&A,R=t.hideExternalIndicator,D=void 0!==R&&R,L=t.href,I=void 0===L?"":L,P=t.inverse,M=void 0!==P&&P,z=t.noFlex,B=void 0!==z&&z,H=t.onClick,U=t.small,V=void 0!==U&&U,F=t.standalone,W=void 0!==F&&F,q=t.linkButton,G=void 0!==q&&q,K=t.to,X=t.leadingIcon,J=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Q=I||K||!H?K?"ROUTER_LINK":x?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",$="BUTTON"===Q||"BUTTON_DISABLED"===Q?"button":"ROUTER_LINK"===Q?d.b:"a",Z=("EXTERNAL_LINK"===Q&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Q&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof y?"".concat(y," ").concat(r):void 0:a),ee=X,te=J;return _&&(ee=e.createElement(b.a,{width:14,height:14})),x&&!D&&(te=e.createElement(v.a,{width:14,height:14})),g&&!M&&(te=e.createElement(p.a,{width:14,height:14})),g&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement($,i()({"aria-label":Z,className:s()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":V,"googlesitekit-cta-link--caps":k,"googlesitekit-cta-link--danger":w,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":W,"googlesitekit-cta-link--link-button":G,"googlesitekit-cta-link--no-flex":!!B}),disabled:C,href:"LINK"!==Q&&"EXTERNAL_LINK"!==Q||C?void 0:I,onClick:H,rel:"EXTERNAL_LINK"===Q?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Q?"_blank":void 0,to:K},Y),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},y),!!te&&e.createElement(h.a,{marginLeft:5},te))}));O.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=O}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),o=n(72),c=n(20),s=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,l=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(a.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:l===s.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(s.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(154),i=(r.a.Consumer,r.a.Provider);t.a=i},218:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(0),g=n(38),f=n(2),p=n(3),m=n(10),b=n(6),v=n(36),h=n(20),O=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,c=void 0===a?"optIn":a,s=t.className,l=t.trackEventCategory,_=t.alignLeftCheckbox,E=void 0!==_&&_,k=Object(p.useSelect)((function(e){return e(b.a).isTrackingEnabled()})),y=Object(p.useSelect)((function(e){return e(b.a).isSavingTrackingEnabled()})),j=Object(p.useSelect)((function(e){return e(b.a).getErrorForAction("setTrackingEnabled",[!k])})),S=Object(p.useDispatch)(b.a).setTrackingEnabled,N=Object(O.a)(),w=Object(d.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(l||N,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,l,N]);return e.createElement("div",{className:u()("googlesitekit-opt-in",s)},e.createElement(m.Checkbox,{id:r,name:c,value:"1",checked:k,disabled:y,onChange:w,loading:void 0===k,alignLeft:E},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(h.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string,trackEventCategory:s.a.string,alignLeftCheckbox:s.a.bool}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return y}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",O="content",_="speed",E="monetization",k=[r,i,a,o,c,l,g,b],y=[a,o,d,m]},234:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(505),s=n(536),l=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),p=n(44),m=n(238),b=n(240),v=n(241),h=n(63),O=n(204),_=n(169);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,o=void 0===a?null:a,d=c.a,E=Object(l.useState)({key:"Root",value:!0}),k=i()(E,1)[0];return e.createElement(l.StrictMode,null,e.createElement(O.a,{value:k},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:p.a},e.createElement(h.a,{value:o},e.createElement(s.a,{theme:d()},e.createElement(g.a,null,e.createElement(b.a,null,n,o&&e.createElement(v.a,null)),Object(_.a)(o)&&e.createElement(m.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),o=n(51),c=n.n(o),s=n(69),l=n.n(s),u=n(70),d=n.n(u),g=n(49),f=n.n(g),p=n(1),m=n.n(p),b=n(0),v=n(2),h=n(168),O=n(63),_=n(65),E=n(8);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var y=function(t){l()(ErrorHandler,t);var n=k(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(E.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(h.a,{message:n.message,componentStack:i.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(b.Component);y.contextType=O.b,y.propTypes={children:m.a.node.isRequired},t.a=y}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var r=n(158),i=(r.a.Consumer,r.a.Provider);t.a=i},238:function(e,t,n){"use strict";(function(e){var r=n(3),i=n(239),a=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(i.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(2),l=n(0),u=n(3),d=n(114),g=n(28),f=n(32),p=n(6),m=n(133),b=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,i,o,v=Object(u.useRegistry)(),h=Object(u.useSelect)((function(e){return e(p.a).getPermissionScopeError()})),O=Object(u.useSelect)((function(e){return e(p.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,r,i;return t(p.a).getConnectURL({additionalScopes:null==h||null===(n=h.data)||void 0===n?void 0:n.scopes,redirectURL:(null==h||null===(r=h.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==h||null===(i=h.data)||void 0===i?void 0:i.errorRedirectURL})})),E=Object(u.useDispatch)(p.a).clearPermissionScopeError,k=Object(u.useDispatch)(f.a).navigateTo,y=Object(u.useDispatch)(g.a).setValues,j=Object(l.useCallback)((function(){E()}),[E]),S=Object(l.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(p.d,{permissionsError:h}),e.next=3,Object(m.c)(v);case 3:k(_);case 4:case"end":return e.stop()}}),e)}))),[v,_,k,h,y]);return Object(l.useEffect)((function(){(function(){var e=c()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==h||null===(t=h.data)||void 0===t?void 0:t.skipModal)||!(null==h||null===(n=h.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,h]),h?(null==h||null===(t=h.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==h||null===(i=h.data)||void 0===i?void 0:i.skipModal)||O&&(null==h||null===(o=h.data)||void 0===o?void 0:o.scopes.every((function(e){return O.includes(e)})))?null:r.createElement(b.a,null,r.createElement(d.a,{title:Object(s.__)("Additional Permissions Required","google-site-kit"),subtitle:h.message,confirmButton:Object(s.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",h),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},240:function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(l.useState)(!1),a=s()(r,2),c=a[0],g=a[1];return Object(l.useEffect)((function(){c||o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),i=n.n(r),a=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},242:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(594),u=n(2),d=n(0),g=n(3),f=n(261),p=n(278),m=n(282),b=n(6),v=n(17),h=n(288),O=n(295),_=n(297),E=n(303),k=n(35),y=n(52),j=n(20),S=n(304),N=n(14),w=n(305);function Header(t){var n,r=t.children,a=t.subHeader,o=t.showNavigation,c=!!Object(y.c)(),T=Object(k.a)();Object(w.a)();var C=Object(g.useSelect)((function(e){return e(N.c).getAdminURL("googlesitekit-dashboard")})),A=Object(g.useSelect)((function(e){return e(b.a).isAuthenticated()})),x=Object(l.a)({childList:!0}),R=i()(x,2),D=R[0],L=!!(null===(n=R[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:s()("googlesitekit-header",{"googlesitekit-header--has-subheader":L,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:C},e.createElement(f.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!A&&c&&T&&e.createElement(_.a,null),A&&!T&&e.createElement(p.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:D},e.createElement(m.a,null),e.createElement(E.a,null),a),o&&e.createElement(h.a,null),c&&e.createElement(S.a,null),e.createElement(O.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},243:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(217),s=n(0),l=n(56),u=n(2),d=n(3),g=n(10),f=n(306),p=n(129),m=n(8),b=n(174),v=n(19),h=n(18),O=n(14);function HelpMenu(t){var n=t.children,r=Object(s.useState)(!1),a=i()(r,2),o=a[0],_=a[1],E=Object(s.useRef)(),k=Object(h.a)();Object(c.a)(E,(function(){return _(!1)})),Object(p.a)([l.c,l.f],E,(function(){return _(!1)}));var y=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),j=Object(s.useCallback)((function(){o||Object(m.J)("".concat(k,"_headerbar"),"open_helpmenu"),_(!o)}),[o,k]),S=Object(s.useCallback)((function(){_(!1)}),[]),N=Object(d.useSelect)((function(e){return e(O.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:E,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(b.a,{gaEventLabel:"fix_common_issues",href:N},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(b.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(b.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),y&&e.createElement(b.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},246:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(313),g=n(247),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,r=t.onClick,a=void 0===r?function(){}:r,c=t.isSaving,s=void 0!==c&&c,l=t.spinnerPosition,p=void 0===l?f.AFTER:l,m=o()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,i()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":s,"googlesitekit-button-icon--spinner__before":p===f.BEFORE,"googlesitekit-button-icon--spinner__after":p===f.AFTER}),icon:s&&p===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:s&&p===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},m))}SpinnerButton.propTypes={className:s.a.string,onClick:s.a.func,isSaving:s.a.bool,spinnerPosition:s.a.oneOf(Object.values(f))}}).call(this,n(4))},247:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var r=n(627);function CircularProgress(t){return e.createElement(r.a,t)}}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},252:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0);t.a=function(t,n){var r=Object(a.useState)(null),o=i()(r,2),c=o[0],s=o[1];return Object(a.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){s(e[e.length-1])}),n);return r.observe(t.current),function(){s(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},261:function(e,t,n){"use strict";(function(e){var r=n(2),i=n(143),a=n(262),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},262:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},278:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(217),d=n(0),g=n(2),f=n(56),p=n(3),m=n(10),b=n(114),v=n(8),h=n(41),O=n(76),_=n(279),E=n(234),k=n(280),y=n(281),j=n(28),S=n(14),N=n(6),w=n(32),T=n(9),C=n(129),A=n(18);function UserMenu(){var t=Object(p.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(p.useSelect)((function(e){return e(N.a).getEmail()})),i=Object(p.useSelect)((function(e){return e(N.a).getPicture()})),o=Object(p.useSelect)((function(e){return e(N.a).getFullName()})),s=Object(p.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),x=Object(p.useSelect)((function(e){return e(j.a).getValue(T.d,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),D=l()(R,2),L=D[0],I=D[1],P=Object(d.useState)(!1),M=l()(P,2),z=M[0],B=M[1],H=Object(d.useRef)(),U=Object(d.useRef)(),V=Object(A.a)(),F=Object(p.useDispatch)(w.a).navigateTo;Object(u.a)(H,(function(){return B(!1)})),Object(C.a)([f.c,f.f],H,(function(){var e;B(!1),null===(e=U.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(I(!1),B(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var W,q=Object(d.useCallback)((function(){z||Object(v.J)("".concat(V,"_headerbar"),"open_usermenu"),B(!z)}),[z,V]),G=Object(d.useCallback)((function(){I(!L),B(!1)}),[L]),K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(V,"_headerbar_usermenu"),"manage_sites");case 7:F(t);case 8:return e.abrupt("break",12);case 9:return G(),e.abrupt("break",12);case 11:q();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,q,G,F,V]),X=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(!1),e.next=3,Object(h.b)();case 3:return e.next=5,Object(v.J)("".concat(V,"_headerbar_usermenu"),"disconnect_user");case 5:F(s);case 6:case"end":return e.stop()}}),e)}))),[s,F,V]);return n?(o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(W=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:H,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(m.Button,{disabled:x,ref:U,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:q,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":z,"aria-controls":"user-menu","aria-label":x?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:x?null:r.createElement("span",{"aria-label":W},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(m.Menu,{className:"googlesitekit-user-menu",menuOpen:z,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(_.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(E.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(E.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(O.a,null,r.createElement(b.a,{dialogActive:L,handleConfirm:X,handleDialog:G,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(3),a=n(6);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),o=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},280:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},281:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},282:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var i=n(0),a=n(2),o=n(3),c=n(283),s=n(284),l=n(6),u=n(14),d=n(28),g=n(65),f=n(180),p=n(60);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(l.a).isAuthenticated()})),m=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),b=Object(o.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(o.useSelect)((function(e){return e(d.a).getValue(l.d,"permissionsError")})),h=Object(o.useSelect)((function(t){var r,i;return(null==v?void 0:v.data)?t(l.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(i=v.data)||void 0===i?void 0:i.redirectURL)||e.location.href}):"access_denied"===m&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),O=Object(o.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:m})})),_=Object(a.__)("Error connecting Site Kit","google-site-kit"),E=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===m&&(_=Object(a.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?E=Object(a.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(E=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(i.Fragment,null,r.createElement(s.a,null),r.createElement(c.a,null),b&&r.createElement(g.b,{id:"setup_error",type:"win-error",title:_,description:b,isDismissible:!1,ctaLink:h,ctaLabel:E,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:O}),r.createElement(f.a,{areaSlug:p.b.ERRORS}))}}).call(this,n(26),n(4))},283:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),i=n(3),a=n(6),o=n(65);function AuthError(){var t=Object(i.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},284:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),i=n(14),a=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},285:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r=n(21),i=n.n(r),a=n(57),o=n.n(a),c=n(286),s=o()((function(e){return{id:e,Notification:l(e)(c.a)}}));function l(t){return function(n){function WithNotificationID(r){return e.createElement(n,i()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(0),s=n(287),l=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,a=t.gaTrackingEventArgs,o=t.children,d=Object(c.useRef)(),g=Object(l.a)(n),f=Object(u.a)(n),p=Object(c.useState)(!1),m=i()(p,2),b=m[0],v=m[1];return Object(c.useEffect)((function(){!b&&g&&(f.view(null==a?void 0:a.label,null==a?void 0:a.value),v(!0))}),[g,f,b,a]),e.createElement("section",{id:n,ref:d,className:r},o,!g&&e.createElement(s.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({label:o.a.string,value:o.a.string}),children:o.a.node}}).call(this,n(4))},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),i=n.n(r),a=n(0),o=n(3),c=n(24),s=n(252),l=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,i=Object(s.a)(n,{threshold:r}),u=Object(o.useDispatch)(c.b).setValue,d=!!(null==i?void 0:i.isIntersecting),g=Object(l.a)(t);return Object(a.useEffect)((function(){!g&&d&&u(l.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:i.a.string,observeRef:i.a.object,threshold:i.a.number}},288:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),i=n(6),a=n(35),o=n(178),c=n(289);function DashboardNavigation(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return t?e(i.a).getViewableModules():null})),s=Object(r.useSelect)((function(e){return e(i.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===s,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},289:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(27),a=n.n(i),o=n(15),c=n.n(o),s=n(12),l=n.n(s),u=n(13),d=n(91),g=n(156),f=n(0),p=n(2),m=n(3),b=n(290),v=n(291),h=n(292),O=n(293),_=n(294),E=n(22),k=n(6),y=n(46),j=n(24),S=n(73),N=n(52),w=n(25),T=n(89),C=n(8),A=n(18),x=n(35);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(N.c)(),i=Object(f.useRef)(),o=Object(w.e)(),s=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),D=Object(f.useState)(s),L=c()(D,2),I=L[0],P=L[1],M=Object(f.useState)(s||void 0),z=c()(M,2),B=z[0],H=z[1],U=Object(f.useState)(!1),V=c()(U,2),F=V[0],W=V[1],q=Object(A.a)(),G=Object(x.a)(),K=Object(m.useDispatch)(j.b).setValue,X=Object(m.useSelect)((function(e){return G?e(k.a).getViewableModules():null})),J=Object(m.useSelect)((function(e){return e(k.a).isKeyMetricsWidgetHidden()})),Y={modules:X||void 0},Q=Object(m.useSelect)((function(e){return n===N.b&&!0!==J&&e(y.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,Y)})),$=Object(m.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Z=Object(m.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),ee=Object(m.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),te=Object(m.useSelect)((function(e){return e(y.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ne=Object(f.useCallback)((function(){return Q?E.b:G?$?E.e:Z?E.a:ee?E.d:te?E.c:"":E.e}),[Q,$,Z,ee,te,G]),re=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),H(i),Object(C.J)("".concat(q,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ne()?Object(T.a)("#".concat(i),o):0,behavior:"smooth"}),setTimeout((function(){K(j.a,i)}),50)}),[o,q,K,ne]);return Object(d.a)((function(){var t=ne();if(!s)return P(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=s;(function(e){return!(!Q||e!==E.b)||(!(!$||e!==E.e)||(!(!Z||e!==E.a)||(!(!ee||e!==E.d)||!(!te||e!==E.c))))})(n)||(n=t),K(j.a,n),P(n),setTimeout((function(){var r=n!==t?Object(T.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(j.a,void 0),P(e),H(void 0)},n=Object(u.throttle)((function(n){var r,o,c,s,l=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==i||null===(c=i.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,p=[].concat(a()(Q?[E.b]:[]),a()($?[E.e]:[]),a()(Z?[E.a]:[]),a()(ee?[E.d]:[]),a()(te?[E.c]:[])),m=ne();if(0===l)W(!1);else{var b,v=null===(b=document.querySelector(".googlesitekit-header"))||void 0===b?void 0:b.getBoundingClientRect().bottom;W(f===v)}var h,O=R(p);try{for(O.s();!(h=O.n()).done;){var _=h.value,k=document.getElementById(_);if(k){var y=k.getBoundingClientRect().top-20-(u||g||0);y<0&&(void 0===s||s<y)&&(s=y,m=_)}}}catch(e){O.e(e)}finally{O.f()}if(B)B===m&&t(m);else{var j=e.location.hash;m!==(null==j?void 0:j.substring(1))&&(n&&Object(C.J)("".concat(q,"_navigation"),"tab_scroll",m),e.history.replaceState({},"","#".concat(m)),t(m))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[B,Q,$,Z,ee,te,q,K,ne]),r.createElement("nav",{className:l()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":F}),ref:i},Q&&r.createElement(g.Chip,{id:E.b,label:Object(p.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:re,selected:I===E.b,"data-context-id":E.b}),$&&r.createElement(g.Chip,{id:E.e,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:I===E.e,"data-context-id":E.e}),Z&&r.createElement(g.Chip,{id:E.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"18"}),onClick:re,selected:I===E.a,"data-context-id":E.a}),ee&&r.createElement(g.Chip,{id:E.d,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"}),onClick:re,selected:I===E.d,"data-context-id":E.d}),te&&r.createElement(g.Chip,{id:E.c,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:re,selected:I===E.c,"data-context-id":E.c}))}}).call(this,n(26),n(4))},290:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),s=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",i({viewBox:"0 0 13 12",fill:"none"},e),a,o,c,s)}},291:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},292:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},293:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,o)}},294:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},295:function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),o=n(13),c=n(2),s=n(0),l=n(3),u=n(10),d=n(14),g=n(296),f=n(32),p=n(20),m=n(83),b=n(8),v=n(52),h=n(18);t.a=function EntityHeader(){var t=Object(h.a)(),n=Object(v.c)(),i=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),O=Object(l.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(s.useRef)(),E=Object(s.useState)(O),k=a()(E,2),y=k[0],j=k[1];Object(s.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(m.d)(O,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[O,_,j]);var S=Object(l.useDispatch)(f.a).navigateTo,N=Object(l.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),w=Object(s.useCallback)((function(){Object(b.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(N)}),[N,S,t]);return v.a!==n||null===O||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(g.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:w,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(p.a,{secondary:!0,href:O,"aria-label":O,external:!0},y)))}}).call(this,n(26),n(4))},296:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,o)}},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(217),o=n(12),c=n.n(o),s=n(0),l=n(2),u=n(56),d=n(10),g=n(18),f=n(129),p=n(8),m=n(298),b=n(299),v=n(300),h=n(302),O=n(3),_=n(6);function ViewOnlyMenu(){var t=Object(s.useState)(!1),n=i()(t,2),r=n[0],o=n[1],E=Object(s.useRef)(),k=Object(g.a)();Object(a.a)(E,(function(){return o(!1)})),Object(f.a)([u.c,u.f],E,(function(){return o(!1)}));var y=Object(s.useCallback)((function(){r||Object(p.J)("".concat(k,"_headerbar"),"open_viewonly"),o(!r)}),[r,k]),j=Object(O.useSelect)((function(e){return e(_.a).hasCapability(_.H)}));return e.createElement("div",{ref:E,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:y,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(l.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(l.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:y,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(h.a,null)))}}).call(this,n(4))},298:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(38),l=n(2),u=n(3),d=n(10),g=n(32),f=n(14),p=n(6),m=n(8),b=n(20),v=n(18),h=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(p.a).hasCapability(p.H)})),r=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),O=Object(u.useDispatch)(g.a).navigateTo,_=Object(c.useCallback)(function(){var e=o()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(h.f)("start_user_setup",!0),Object(m.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:O(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,O,t]),E=Object(c.useCallback)((function(){Object(m.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),k=n?Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:a,external:!0,onClick:E,"aria-label":Object(l.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,k),n&&e.createElement(d.Button,{onClick:_},Object(l.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},300:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),i=n(3),a=n(6),o=n(301);function SharedServices(){var t=Object(i.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(3),s=n(19),l=n(6);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(l.a).hasCapability(l.H)})),i=Object(c.useSelect)((function(e){return e(s.a).getModule(n)||{}})),u=i.name,d=i.owner,g=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(4))},302:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),i=n(2),a=n(218),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},303:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),i=n(3),a=n(65),o=n(14),c=n(28),s=n(6);function SetupErrorNotification(){var t=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),l=Object(i.useSelect)((function(e){return e(c.a).getValue(s.d,"permissionsError")||{}})).data;return!t||(null==l?void 0:l.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},304:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),i=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:i.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},305:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n(3),l=n(14),u=n(18),d=n(41),g=n(8),f=function(){var e=Object(u.a)(),t=Object(s.useSelect)((function(e){return e(l.c).isUsingProxy()})),n=Object(s.useSelect)((function(e){return e(l.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(i.a.mark((function n(){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},306:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},313:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(387),g=n(0),f=n(2),p=n(17),m=n(314),b=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,l=t.className,u=t.danger,b=t.disabled,v=t.target,h=t.icon,O=t.trailingIcon,_=t["aria-label"],E=t.title,k=t.customizedTooltip,y=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,N=void 0!==S&&S,w=t.tooltipEnterDelayInMS,T=void 0===w?100:w,C=t.tertiary,A=void 0!==C&&C,x=t.callout,R=t.calloutStyle,D=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),L=Object(g.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),I=Object(d.a)(n,L),P=a&&!b?"a":"button",M=e.createElement(P,i()({className:s()("mdc-button",l,{"mdc-button--raised":!c&&!A&&!x,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":A,"mdc-button--callout":x,"mdc-button--callout-primary":x||"primary"===R,"mdc-button--callout-warning":"warning"===R,"mdc-button--callout-error":"error"===R}),href:b?void 0:a,ref:I,disabled:!!b,"aria-label":function(){var e=_;if("_blank"!==v)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:v||"_self",role:"a"===P?"button":void 0},D),h,r&&e.createElement("span",{className:"mdc-button__label"},r),O),z=N?null:E||k||_;return!b&&(y&&z||h&&z&&void 0===r)?e.createElement(m.a,{title:z,enterDelay:T},M):M}));b.displayName="Button",b.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},b.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=b}).call(this,n(4))},314:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),l=n(12),u=n.n(l),d=n(628),g=n(0);function Tooltip(t){var n=t.children,r=t.popperClassName,a=t.tooltipClassName,c=t.onOpen,s=t.onClose,l=o()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),f=Object(g.useRef)(!1),p=c?function(){f.current||(f.current=!0,null==c||c())}:void 0,m=c?function(){f.current=!1,null==s||s()}:s;return e.createElement(d.a,i()({classes:{popper:u()("googlesitekit-tooltip-popper",r),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:p,onClose:m},l),n)}Tooltip.propTypes={children:s.a.node,popperClassName:s.a.string,tooltipClassName:s.a.string,onOpen:s.a.func,onClose:s.a.func}}).call(this,n(4))},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},331:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},332:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},347:function(e,t,n){"use strict";(function(e){var r=n(50),i=n.n(r),a=n(51),o=n.n(a),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),p=n.n(f),m=n(0),b=n(17),v=n(20);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var O=function(t){s()(LayoutHeader,t);var n=h(LayoutHeader);function LayoutHeader(){return i()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,i=t.ctaLabel,a=t.ctaLink,o=a?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(b.e,null,e.createElement(b.k,null,n&&e.createElement(b.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),a&&e.createElement(b.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:a,external:!0},i)))))}}]),LayoutHeader}(m.Component);O.propTypes={title:p.a.string,badge:p.a.node,ctaLabel:p.a.string,ctaLink:p.a.string},O.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=O}).call(this,n(4))},348:function(e,t,n){"use strict";(function(e){var r=n(50),i=n.n(r),a=n(51),o=n.n(a),c=n(69),s=n.n(c),l=n(70),u=n.n(l),d=n(49),g=n.n(d),f=n(1),p=n.n(f),m=n(0),b=n(17),v=n(134);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var O=function(t){s()(LayoutFooter,t);var n=h(LayoutFooter);function LayoutFooter(){return i()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,i=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),i))))}}]),LayoutFooter}(m.Component);O.propTypes={ctaLabel:p.a.string,ctaLink:p.a.string},t.a=O}).call(this,n(4))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,l=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,b=p.disableTracking,v=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,O=p.trackEventOnce;function _(e){e?m():b()}c&&s&&v()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},383:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a),c=n(17),s=n(331),l=n(332),u=n(77);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,d=t.statusText,g=t.fullWidth,f=t.children,p=g?{size:12}:{smSize:4,mdSize:4,lgSize:6},m=""!==o||Boolean(f);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,p,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),m&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:i()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(s.a,{width:10,height:8}):e.createElement(l.a,{width:2,height:12}))),f))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},40:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),l=n(25);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,b=t.desktopWidth,v=t.desktopHeight,h=Object(l.e)(),O={width:(n={},i()(n,l.b,g),i()(n,l.c,p),i()(n,l.a,b),i()(n,l.d,b),n),height:(r={},i()(r,l.b,f),i()(r,l.c,m),i()(r,l.a,v),i()(r,l.d,b),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:O.width[h]||o,height:O.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return E})),n.d(t,"b",(function(){return k}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=(n(27),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],p=[].concat(f),m=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(p),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,s=a.value,l=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(n,r){var a,o,s,l,u,d,f,p,m=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=m.length>2&&void 0!==m[2]?m[2]:{},o=a.ttl,s=void 0===o?c.b:o,l=a.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),k=function(){var e=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,E();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(22),i=n(18),a=r.n,o=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?o:null}},535:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(2);function i(e){return 0===e.length}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return 0===e.length?1===t?Object(r.__)("Please select an answer","google-site-kit"):Object(r.__)("Please select at least 1 answer","google-site-kit"):null}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},586:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSelectOptions}));var r=n(7),i=n.n(r),a=n(27),o=n.n(a),c=n(1),s=n.n(c),l=n(0),u=n(56),d=n(2),g=n(3),f=n(10),p=n(6),m=n(28),b=n(32),v=n(17),h=n(103),O=n(8),_=n(18);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UserInputSelectOptions(t){var n=t.slug,r=t.descriptions,a=t.options,c=t.max,s=t.next,k=t.showInstructions,y=t.alignLeftOptions,j=Object(_.a)(),S=Object(g.useSelect)((function(e){return e(p.a).getUserInputSetting(n)||[]})),N=Object(g.useSelect)((function(e){return e(p.a).isSavingUserInputSettings(S)})),w=Object(g.useSelect)((function(e){return e(b.a).isNavigating()})),T=Object(g.useDispatch)(p.a).setUserInputSetting,C=Object(l.useRef)();Object(l.useEffect)((function(){if(null==C?void 0:C.current){var e=function(e){e&&setTimeout((function(){e.focus()}),50)},t=1===c?"radio":"checkbox",n=C.current.querySelector('input[type="'.concat(t,'"]:checked'));if(n)e(n);else e(C.current.querySelector('input[type="'.concat(t,'"]')))}}),[c]);var A=Object(g.useDispatch)(m.a).setValues,x=Object(l.useCallback)((function(e){var t=e.target,r=t.value,a=t.checked,s=new Set([r].concat(o()(S)));a||s.delete(r);var l=n===h.h?"content_frequency_question_answer":"site_".concat(n,"_question_answer"),u=Array.from(s).slice(0,c);Object(O.J)("".concat(j,"_kmw"),l,u.join()),n===h.g&&A(h.b,i()({},n,S)),T(n,u)}),[c,T,n,S,j,A]),R=Object(l.useCallback)((function(e){e.keyCode===u.b&&S.length>0&&S.length<=c&&!S.includes("")&&s&&"function"==typeof s&&s()}),[S,s,c]),D=i()({},c>1?"onChange":"onClick",x),L=1===c?f.Radio:f.Checkbox,I=Object.keys(a).map((function(t){var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:"".concat(n,"-").concat(t),value:t,description:null==r?void 0:r[t],checked:S.includes(t),onKeyDown:R,alignLeft:y},D);return c>1?(o.disabled=S.length>=c&&!S.includes(t),o.name="".concat(n,"-").concat(t)):o.name=n,(N||w)&&(o.disabled=!0),e.createElement("div",{key:t,className:"googlesitekit-user-input__select-option"},e.createElement(L,o,a[t]))}));return e.createElement(v.a,{className:"googlesitekit-user-input__select-options-wrapper",lgStart:6,lgSize:6,mdSize:8,smSize:4},k&&e.createElement("p",{className:"googlesitekit-user-input__select-instruction"},e.createElement("span",null,Object(d.sprintf)( /* translators: %s: number of answers allowed. */ Object(d._n)("Select only %d answer","Select up to %d answers",c,"google-site-kit"),c))),e.createElement("div",{className:"googlesitekit-user-input__select-options",ref:C},I))}UserInputSelectOptions.propTypes={slug:s.a.string.isRequired,descriptions:s.a.shape({}),options:s.a.shape({}).isRequired,max:s.a.number,next:s.a.func,showInstructions:s.a.bool,alignLeftOptions:s.a.bool},UserInputSelectOptions.defaultProps={max:1,showInstructions:!1,alignLeftOptions:!1}}).call(this,n(4))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return l})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return O})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return y})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return N})),n.d(t,"t",(function(){return w})),n.d(t,"w",(function(){return T})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return A})),n.d(t,"x",(function(){return x})),n.d(t,"y",(function(){return R})),n.d(t,"A",(function(){return D})),n.d(t,"B",(function(){return L})),n.d(t,"C",(function(){return I})),n.d(t,"D",(function(){return P})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return z})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return H})),n.d(t,"E",(function(){return U})),n.d(t,"i",(function(){return V})),n.d(t,"p",(function(){return F})),n.d(t,"Q",(function(){return W})),n.d(t,"P",(function(){return q}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",O="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",k="kmAnalyticsPopularProducts",y="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",N="kmAnalyticsTopCitiesDrivingAddToCart",w="kmAnalyticsTopCitiesDrivingPurchases",T="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",A="kmAnalyticsTopCountries",x="kmAnalyticsTopPagesDrivingLeads",R="kmAnalyticsTopRecentTrendingPages",D="kmAnalyticsTopTrafficSource",L="kmAnalyticsTopTrafficSourceDrivingAddToCart",I="kmAnalyticsTopTrafficSourceDrivingLeads",P="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",z="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",H="kmSearchConsolePopularKeywords",U="kmAnalyticsVisitsPerVisitor",V="kmAnalyticsMostEngagingPages",F="kmAnalyticsTopCategories",W=[b,v,h,O,_,E,k,y,F,j,S,N,w,T,C,A,R,D,L,M,z,B,U,V,F],q=[].concat(W,[H])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},608:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionNotice}));var r=n(12),i=n.n(r),a=n(2);function UserInputQuestionNotice(t){var n=t.className;return e.createElement("p",{className:i()(n,"googlesitekit-user-input__question-notice")},Object(a.__)("You can always edit your answers later from Settings","google-site-kit"))}}).call(this,n(4))},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),g=n.n(d),f=n(1),p=n.n(f),m=n(12),b=n.n(m),v=n(221),h=n(222),O=n(91),_=n(79),E=n(0),k=n(109),y=n(3),j=n(17),S=n(89),N=n(41),w=n(25),T=n(195),C=n(196),A=n(197),x=n(201),R=n(202),D=n(74),L=n(113),I=n(121),P=n(32),M=n(203);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,f=t.ctaLink,p=t.ctaTarget,m=t.description,z=t.dismiss,B=t.dismissExpires,H=void 0===B?0:B,U=t.format,V=void 0===U?"":U,F=t.id,W=t.isDismissible,q=void 0===W||W,G=t.learnMoreDescription,K=t.learnMoreLabel,X=t.learnMoreURL,J=t.learnMoreTarget,Y=void 0===J?D.a.EXTERNAL:J,Q=t.logo,$=t.module,Z=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,pe=t.smallWinImageSVGHeight,me=void 0===pe?75:pe,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,Oe=void 0===he?105:he,_e=t.rounded,Ee=void 0!==_e&&_e,ke=t.footer,ye=t.secondaryPane,je=t.ctaComponent,Se=Object(E.useState)(!1),Ne=g()(Se,2),we=Ne[0],Te=Ne[1],Ce=Object(E.useState)(!1),Ae=g()(Ce,2),xe=Ae[0],Re=Ae[1],De="notification::dismissed::".concat(F),Le=function(){return Object(N.f)(De,new Date,{ttl:null})},Ie=Object(_.a)(),Pe=Object(w.e)(),Me=Object(v.a)(),ze=Object(E.useState)(!1),Be=g()(ze,2),He=Be[0],Ue=Be[1],Ve=Object(E.useRef)(),Fe=Object(h.a)(Ve,{rootMargin:"".concat(-Object(I.a)(Object(S.c)(Pe)),"px 0px 0px 0px"),threshold:0});Object(E.useEffect)((function(){!He&&(null==Fe?void 0:Fe.isIntersecting)&&("function"==typeof te&&te(),Ue(!0))}),[F,te,He,Fe]);var We=Ie>=600;Object(O.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(H>0)){e.next=3;break}return e.next=3,Qe();case 3:if(!q){e.next=9;break}return e.next=6,Object(N.d)(De);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ae){e.next=12;break}return e.next=12,Le();case 12:case"end":return e.stop()}}),e)}))));var qe=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ge=Object(k.a)(f)&&"_blank"!==p,Ke=function(){return Ge||Te(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le();case 2:Me()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Xe=Object(y.useSelect)((function(e){return!!f&&e(P.a).isNavigatingTo(f)})),Je=Object(y.useDispatch)(P.a).navigateTo,Ye=function(){var e=u()(s.a.mark((function e(t){var n,r,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),Ge&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!q||!n){e.next=15;break}return e.next=15,Ke();case 15:Ge&&Je(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qe=function(){var e=u()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.d)(De);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(H,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.c)(De);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Xe&&q&&(void 0===xe||xe))return null;var $e=!Xe&&we?"is-closed":"is-open",Ze=Object(L.d)(V),et=Object(L.c)(V),tt=Object(L.a)(V),nt=Object(L.b)({format:V,hasErrorOrWarning:"win-error"===se||"win-warning"===se,hasSmallImageSVG:!!oe,hasWinImageSVG:!!le});return e.createElement(T.a,{id:F,className:b()(l,(n={},o()(n,"googlesitekit-publisher-win--".concat(V),V),o()(n,"googlesitekit-publisher-win--".concat(se),se),o()(n,"googlesitekit-publisher-win--".concat($e),$e),o()(n,"googlesitekit-publisher-win--rounded",Ee),n)),secondaryPane:ye,ref:Ve},Q&&e.createElement(R.a,{module:$,moduleName:Z}),oe&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(j.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(C.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:me,smallWinImageSVGWidth:fe,winImageFormat:V,WinImageSVG:!We&&de?le:void 0}),e.createElement(M.a,{description:m,learnMoreURL:X,learnMoreLabel:K,learnMoreTarget:Y,learnMoreDescription:G,onLearnMoreClick:re}),a,e.createElement(A.a,{ctaLink:f,ctaLabel:d,ctaComponent:je,ctaTarget:p,ctaCallback:Ye,dismissLabel:q?z:void 0,dismissCallback:qe}),ke&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ke)),le&&(We||!de)&&e.createElement(j.a,i()({},Ze,et,{alignBottom:"larger"===V,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(V)},e.createElement(le,{style:{maxWidth:ve,maxHeight:Oe}}))),e.createElement(x.a,{type:se}))}n.d(t,"a",(function(){return D.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(D.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},671:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionAuthor}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(6);function UserInputQuestionAuthor(t){var n=t.slug,r=Object(o.useSelect)((function(e){return e(c.a).getUserInputSettingAuthor(n)}));return r&&r.photo&&r.login?e.createElement("div",{className:"googlesitekit-user-input__author"},e.createElement("p",null,Object(a.__)("This question has been answered by:","google-site-kit")),e.createElement("div",{className:"googlesitekit-user-input__author-info"},e.createElement("img",{alt:r.login,src:r.photo}),r.login)):null}UserInputQuestionAuthor.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},672:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CancelUserInputButton}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(10),s=n(14),l=n(32);function CancelUserInputButton(t){var n=t.disabled,r=Object(o.useSelect)((function(e){return e(s.c).getAdminURL("googlesitekit-dashboard")})),i=Object(o.useDispatch)(l.a).navigateTo;return e.createElement(c.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--cancel",onClick:function(){return i(r)},disabled:n},Object(a.__)("Cancel","google-site-kit"))}CancelUserInputButton.propTypes={disabled:i.a.bool}}).call(this,n(4))},71:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",s="entityDashboardTraffic",l="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:s,CONTEXT_ENTITY_DASHBOARD_CONTENT:l,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(271),o=n(1),c=n.n(o),s=n(0),l=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},783:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionWrapper}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(3),s=n(10),l=n(6),u=n(17),d=n(1028),g=n(116),f=n(672),p=n(535),m=n(246),b=n(32),v=n(71);function UserInputQuestionWrapper(t){var n=t.children,r=t.slug,i=t.questionNumber,h=t.next,O=t.back,_=t.complete,E=t.error,k=Object(c.useSelect)((function(e){return e(l.a).getUserInputSetting(r)||[]})),y=Object(c.useSelect)((function(e){return e(l.a).getUserInputSettings()})),j=Object(c.useSelect)((function(e){return e(l.a).isSavingUserInputSettings(y)})),S=Object(c.useSelect)((function(e){return e(b.a).isNavigating()})),N=j||S;return e.createElement("div",{className:"googlesitekit-user-input__question"},e.createElement("div",{className:"googlesitekit-user-input__question-contents"},e.createElement(u.k,null,e.createElement(u.a,{lgSize:12,mdSize:8,smSize:4},e.createElement(u.k,null,e.createElement(d.a,{slug:r,questionNumber:i}),n)))),E&&e.createElement("div",{className:"googlesitekit-user-input__error"},e.createElement(g.a,{error:E,Icon:v.a})),e.createElement("div",{className:"googlesitekit-user-input__footer googlesitekit-user-input__buttons"},e.createElement("div",{className:"googlesitekit-user-input__footer-nav"},O&&e.createElement(s.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--back",onClick:O},Object(a.__)("Back","google-site-kit")),h&&e.createElement(s.Button,{className:"googlesitekit-user-input__buttons--next",onClick:h,disabled:Object(p.b)(k)},Object(a.__)("Next","google-site-kit")),_&&e.createElement(m.b,{className:"googlesitekit-user-input__buttons--complete",onClick:_,isSaving:N,disabled:Object(p.b)(k)},Object(o.a)(Object(a.__)("Complete<span> setup</span>","google-site-kit"),{span:e.createElement("span",{className:"googlesitekit-user-input__responsive-text"})}))),e.createElement("div",{className:"googlesitekit-user-input__footer-cancel"},e.createElement(f.a,null))))}UserInputQuestionWrapper.propTypes={slug:i.a.string.isRequired,questionNumber:i.a.number.isRequired,children:i.a.node,description:i.a.string,next:i.a.func,back:i.a.func,complete:i.a.func,error:i.a.object}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return N})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return A})),n.d(t,"x",(function(){return x})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return D})),n.d(t,"t",(function(){return L})),n.d(t,"w",(function(){return I})),n.d(t,"l",(function(){return P})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return z.b})),n.d(t,"r",(function(){return z.a})),n.d(t,"B",(function(){return z.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return H})),n.d(t,"F",(function(){return F})),n.d(t,"E",(function(){return W.a})),n.d(t,"h",(function(){return q})),n.d(t,"M",(function(){return G})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[g,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var b=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),O=n.n(h),_=n(11),E=n.n(_),k=n(2),y="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,N=60*S,w=24*N,T=7*w,C=30*w;function A(){var e=function(e){return Object(k.sprintf)( /* translators: %s: number of days */ Object(k._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 x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function R(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function D(e){E()(x(e),y);var t=e.split("-"),n=O()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function L(e,t){return R(P(e,t*w))}function I(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function P(e,t){E()(x(e)||Object(r.isDate)(e)&&!isNaN(e),y);var n=x(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),z=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function H(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(27),V=n.n(U),F=function(e){return Array.isArray(e)?V()(e).sort():e},W=n(88);function q(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var G=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return N})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return T}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),l=n(23),u=n.n(l),d=n(13),g=n(57),f=n.n(g),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=O(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},O=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?N(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?N(a,b(b({},o),{},{unit:"second"})):"",i?N(i,b(b({},o),{},{unit:"minute"})):"",r?N(r,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},k=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),N(E(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),N(E(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),N(E(e),e%10==0?{}:t)):N(e,{signDisplay:"never",maximumFractionDigits:1})};function y(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=y(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?k(e):"duration"===i?v(e,n):"durationISO"===i?h(e):N(e,n)}var S=f()(console.warn),N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(l[p]=m))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(p.__)(", ","google-site-kit");return e.join(l)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return O})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return E})),n.d(t,"e",(function(){return k})),n.d(t,"r",(function(){return y})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return N}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",O="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",E="dashboardAllTrafficWidgetLoaded",k={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},y={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",N="audience-selection-panel-expirable-new-badge-"},93:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:s()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":l})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),d=Object(c.a)(i,n,s,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1210,1,0]]]); dist/assets/js/googlesitekit-vendor-a19e0d3a9785a4679814.js 0000604 00004411753 14717744000 0016640 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";e.exports=n(1180)},function(e,t,n){e.exports=n(1184)()},,,function(e,t,n){"use strict";n.r(t),n.d(t,"createInterpolateElement",(function(){return r.a})),n.d(t,"Children",(function(){return o.a})),n.d(t,"cloneElement",(function(){return o.f})),n.d(t,"Component",(function(){return o.b})),n.d(t,"createContext",(function(){return o.h})),n.d(t,"createElement",(function(){return o.i})),n.d(t,"createRef",(function(){return o.j})),n.d(t,"forwardRef",(function(){return o.k})),n.d(t,"Fragment",(function(){return o.c})),n.d(t,"isValidElement",(function(){return o.l})),n.d(t,"memo",(function(){return o.n})),n.d(t,"StrictMode",(function(){return o.d})),n.d(t,"useCallback",(function(){return o.p})),n.d(t,"useContext",(function(){return o.q})),n.d(t,"useDebugValue",(function(){return o.r})),n.d(t,"useEffect",(function(){return o.s})),n.d(t,"useImperativeHandle",(function(){return o.t})),n.d(t,"useLayoutEffect",(function(){return o.u})),n.d(t,"useMemo",(function(){return o.v})),n.d(t,"useReducer",(function(){return o.w})),n.d(t,"useRef",(function(){return o.x})),n.d(t,"useState",(function(){return o.y})),n.d(t,"lazy",(function(){return o.m})),n.d(t,"Suspense",(function(){return o.e})),n.d(t,"concatChildren",(function(){return o.g})),n.d(t,"switchChildrenNodeName",(function(){return o.o})),n.d(t,"createPortal",(function(){return i.createPortal})),n.d(t,"findDOMNode",(function(){return i.findDOMNode})),n.d(t,"render",(function(){return i.render})),n.d(t,"unmountComponentAtNode",(function(){return i.unmountComponentAtNode})),n.d(t,"isEmptyElement",(function(){return s})),n.d(t,"Platform",(function(){return u})),n.d(t,"renderToString",(function(){return c.a})),n.d(t,"RawHTML",(function(){return l.a}));var r=n(38),o=n(630),i=n(137),a=n(13),s=function(e){return!Object(a.isNumber)(e)&&(Object(a.isString)(e)||Object(a.isArray)(e)?!e.length:!e)},u={OS:"web",select:function(e){return"web"in e?e.web:e.default}},c=n(220),l=n(716)},function(e,t,n){e.exports=n(1167)},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},,,,function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)t.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},function(e,t,n){(function(e,n){(function(){var r="Expected a function",o="__lodash_placeholder__",i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Function]",p="[object GeneratorFunction]",d="[object Map]",h="[object Number]",m="[object Object]",g="[object RegExp]",y="[object Set]",v="[object String]",b="[object Symbol]",_="[object WeakMap]",k="[object ArrayBuffer]",O="[object DataView]",w="[object Float32Array]",j="[object Float64Array]",E="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",x="[object Uint16Array]",I="[object Uint32Array]",A=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,R=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,D=/[&<>"']/g,M=RegExp(L.source),N=RegExp(D.source),F=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V=/[\\^$.*+?()[\]{}|]/g,G=RegExp(V.source),$=/^\s+/,K=/\s/,q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,J=/[()=,{}\[\]\/\s]/,Z=/\\(\\)?/g,ee=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,te=/\w*$/,ne=/^[-+]0x[0-9a-f]+$/i,re=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,ie=/^0o[0-7]+$/i,ae=/^(?:0|[1-9]\d*)$/,se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,ce=/['\n\r\u2028\u2029\\]/g,le="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",de="["+fe+"]",he="["+le+"]",me="\\d+",ge="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",ve="[^\\ud800-\\udfff"+fe+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",be="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",ke="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",we="[A-Z\\xc0-\\xd6\\xd8-\\xde]",je="(?:"+ye+"|"+ve+")",Se="(?:"+we+"|"+ve+")",Te="(?:"+he+"|"+be+")"+"?",xe="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[_e,ke,Oe].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),Ae="(?:"+[ge,ke,Oe].join("|")+")"+xe,Re="(?:"+[_e+he+"?",he,ke,Oe,pe].join("|")+")",Me=RegExp("['’]","g"),Ne=RegExp(he,"g"),Fe=RegExp(be+"(?="+be+")|"+Re+xe,"g"),ze=RegExp([we+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[de,we,"$"].join("|")+")",Se+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[de,we+je,"$"].join("|")+")",we+"?"+je+"+(?:['’](?:d|ll|m|re|s|t|ve))?",we+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,Ae].join("|"),"g"),Be=RegExp("[\\u200d\\ud800-\\udfff"+le+"\\ufe0e\\ufe0f]"),Ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,We=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ve=-1,$e={};$e[w]=$e[j]=$e[E]=$e[C]=$e[S]=$e[T]=$e["[object Uint8ClampedArray]"]=$e[x]=$e[I]=!0,$e[a]=$e[s]=$e[k]=$e[u]=$e[O]=$e[c]=$e[l]=$e[f]=$e[d]=$e[h]=$e[m]=$e[g]=$e[y]=$e[v]=$e[_]=!1;var qe={};qe[a]=qe[s]=qe[k]=qe[O]=qe[u]=qe[c]=qe[w]=qe[j]=qe[E]=qe[C]=qe[S]=qe[d]=qe[h]=qe[m]=qe[g]=qe[y]=qe[v]=qe[b]=qe[T]=qe["[object Uint8ClampedArray]"]=qe[x]=qe[I]=!0,qe[l]=qe[f]=qe[_]=!1;var Xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ye=parseFloat,et=parseInt,tt="object"==typeof e&&e&&e.Object===Object&&e,nt="object"==typeof self&&self&&self.Object===Object&&self,rt=tt||nt||Function("return this")(),ot=t&&!t.nodeType&&t,it=ot&&"object"==typeof n&&n&&!n.nodeType&&n,at=it&&it.exports===ot,st=at&&tt.process,ut=function(){try{var e=it&&it.require&&it.require("util").types;return e||st&&st.binding&&st.binding("util")}catch(e){}}(),ct=ut&&ut.isArrayBuffer,lt=ut&&ut.isDate,ft=ut&&ut.isMap,pt=ut&&ut.isRegExp,dt=ut&&ut.isSet,ht=ut&&ut.isTypedArray;function mt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function gt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function yt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function vt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function _t(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function kt(e,t){return!!(null==e?0:e.length)&&At(e,t,0)>-1}function Ot(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function wt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function jt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Et(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Ct(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Tt=Dt("length");function xt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function It(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function At(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):It(e,Rt,n)}function Pt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Rt(e){return e!=e}function Lt(e,t){var n=null==e?0:e.length;return n?Ft(e,t)/n:NaN}function Dt(e){return function(t){return null==t?void 0:t[e]}}function Mt(e){return function(t){return null==e?void 0:e[t]}}function Nt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ft(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function zt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ht(e){return e?e.slice(0,on(e)+1).replace($,""):e}function Bt(e){return function(t){return e(t)}}function Ut(e,t){return wt(t,(function(t){return e[t]}))}function Wt(e,t){return e.has(t)}function Vt(e,t){for(var n=-1,r=e.length;++n<r&&At(t,e[n],0)>-1;);return n}function Gt(e,t){for(var n=e.length;n--&&At(t,e[n],0)>-1;);return n}function $t(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Kt=Mt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),qt=Mt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Xt(e){return"\\"+Xe[e]}function Yt(e){return Be.test(e)}function Qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Jt(e,t){return function(n){return e(t(n))}}function Zt(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var s=e[n];s!==t&&s!==o||(e[n]=o,a[i++]=n)}return a}function en(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function tn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function nn(e){return Yt(e)?function(e){var t=Fe.lastIndex=0;for(;Fe.test(e);)++t;return t}(e):Tt(e)}function rn(e){return Yt(e)?function(e){return e.match(Fe)||[]}(e):function(e){return e.split("")}(e)}function on(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var an=Mt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var sn=function e(t){var n,K=(t=null==t?rt:sn.defaults(rt.Object(),t,sn.pick(rt,We))).Array,le=t.Date,fe=t.Error,pe=t.Function,de=t.Math,he=t.Object,me=t.RegExp,ge=t.String,ye=t.TypeError,ve=K.prototype,be=pe.prototype,_e=he.prototype,ke=t["__core-js_shared__"],Oe=be.toString,we=_e.hasOwnProperty,je=0,Se=(n=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Te=_e.toString,xe=Oe.call(he),Ae=rt._,Re=me("^"+Oe.call(we).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=at?t.Buffer:void 0,Be=t.Symbol,Xe=t.Uint8Array,tt=Fe?Fe.allocUnsafe:void 0,nt=Jt(he.getPrototypeOf,he),ot=he.create,it=_e.propertyIsEnumerable,st=ve.splice,ut=Be?Be.isConcatSpreadable:void 0,Tt=Be?Be.iterator:void 0,Mt=Be?Be.toStringTag:void 0,un=function(){try{var e=ai(he,"defineProperty");return e({},"",{}),e}catch(e){}}(),cn=t.clearTimeout!==rt.clearTimeout&&t.clearTimeout,ln=le&&le.now!==rt.Date.now&&le.now,fn=t.setTimeout!==rt.setTimeout&&t.setTimeout,pn=de.ceil,dn=de.floor,hn=he.getOwnPropertySymbols,mn=Fe?Fe.isBuffer:void 0,gn=t.isFinite,yn=ve.join,vn=Jt(he.keys,he),bn=de.max,_n=de.min,kn=le.now,On=t.parseInt,wn=de.random,jn=ve.reverse,En=ai(t,"DataView"),Cn=ai(t,"Map"),Sn=ai(t,"Promise"),Tn=ai(t,"Set"),xn=ai(t,"WeakMap"),In=ai(he,"create"),An=xn&&new xn,Pn={},Rn=Zi(En),Ln=Zi(Cn),Dn=Zi(Sn),Mn=Zi(Tn),Nn=Zi(xn),Fn=Be?Be.prototype:void 0,zn=Fn?Fn.valueOf:void 0,Hn=Fn?Fn.toString:void 0;function Bn(e){if(xs(e)&&!vs(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper)return e;if(we.call(e,"__wrapped__"))return ea(e)}return new LodashWrapper(e)}var Un=function(){function e(){}return function(t){if(!Ts(t))return{};if(ot)return ot(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Wn(){}function LodashWrapper(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function LazyWrapper(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Hash(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function MapCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function SetCache(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new MapCache;++t<n;)this.add(e[t])}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function Vn(e,t){var n=vs(e),r=!n&&ys(e),o=!n&&!r&&Os(e),i=!n&&!r&&!o&&Ns(e),a=n||r||o||i,s=a?zt(e.length,ge):[],u=s.length;for(var c in e)!t&&!we.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||di(c,u))||s.push(c);return s}function Gn(e){var t=e.length;return t?e[Ur(0,t-1)]:void 0}function $n(e,t){return $i(jo(e),tr(t,0,e.length))}function Kn(e){return $i(jo(e))}function qn(e,t,n){(void 0!==n&&!hs(e[t],n)||void 0===n&&!(t in e))&&Zn(e,t,n)}function Xn(e,t,n){var r=e[t];we.call(e,t)&&hs(r,n)&&(void 0!==n||t in e)||Zn(e,t,n)}function Yn(e,t){for(var n=e.length;n--;)if(hs(e[n][0],t))return n;return-1}function Qn(e,t,n,r){return ar(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Jn(e,t){return e&&Eo(t,iu(t),e)}function Zn(e,t,n){"__proto__"==t&&un?un(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function er(e,t){for(var n=-1,r=t.length,o=K(r),i=null==e;++n<r;)o[n]=i?void 0:eu(e,t[n]);return o}function tr(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function nr(e,t,n,r,o,i){var s,l=1&t,_=2&t,A=4&t;if(n&&(s=o?n(e,r,o,i):n(e)),void 0!==s)return s;if(!Ts(e))return e;var P=vs(e);if(P){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&we.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return jo(e,s)}else{var R=ci(e),L=R==f||R==p;if(Os(e))return vo(e,l);if(R==m||R==a||L&&!o){if(s=_||L?{}:fi(e),!l)return _?function(e,t){return Eo(e,ui(e),t)}(e,function(e,t){return e&&Eo(t,au(t),e)}(s,e)):function(e,t){return Eo(e,si(e),t)}(e,Jn(s,e))}else{if(!qe[R])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case k:return bo(e);case u:case c:return new r(+e);case O:return function(e,t){var n=t?bo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case w:case j:case E:case C:case S:case T:case"[object Uint8ClampedArray]":case x:case I:return _o(e,n);case d:return new r;case h:case v:return new r(e);case g:return function(e){var t=new e.constructor(e.source,te.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case b:return o=e,zn?he(zn.call(o)):{}}var o}(e,R,l)}}i||(i=new Stack);var D=i.get(e);if(D)return D;i.set(e,s),Ls(e)?e.forEach((function(r){s.add(nr(r,t,n,r,e,i))})):Is(e)&&e.forEach((function(r,o){s.set(o,nr(r,t,n,o,e,i))}));var M=P?void 0:(A?_?Zo:Jo:_?au:iu)(e);return yt(M||e,(function(r,o){M&&(r=e[o=r]),Xn(s,o,nr(r,t,n,o,e,i))})),s}function rr(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function or(e,t,n){if("function"!=typeof e)throw new ye(r);return Li((function(){e.apply(void 0,n)}),t)}function ir(e,t,n,r){var o=-1,i=kt,a=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=wt(t,Bt(n))),r?(i=Ot,a=!1):t.length>=200&&(i=Wt,a=!1,t=new SetCache(t));e:for(;++o<s;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}Bn.templateSettings={escape:F,evaluate:z,interpolate:H,variable:"",imports:{_:Bn}},Bn.prototype=Wn.prototype,Bn.prototype.constructor=Bn,LodashWrapper.prototype=Un(Wn.prototype),LodashWrapper.prototype.constructor=LodashWrapper,LazyWrapper.prototype=Un(Wn.prototype),LazyWrapper.prototype.constructor=LazyWrapper,Hash.prototype.clear=function(){this.__data__=In?In(null):{},this.size=0},Hash.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hash.prototype.get=function(e){var t=this.__data__;if(In){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return we.call(t,e)?t[e]:void 0},Hash.prototype.has=function(e){var t=this.__data__;return In?void 0!==t[e]:we.call(t,e)},Hash.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=In&&void 0===t?"__lodash_hash_undefined__":t,this},ListCache.prototype.clear=function(){this.__data__=[],this.size=0},ListCache.prototype.delete=function(e){var t=this.__data__,n=Yn(t,e);return!(n<0)&&(n==t.length-1?t.pop():st.call(t,n,1),--this.size,!0)},ListCache.prototype.get=function(e){var t=this.__data__,n=Yn(t,e);return n<0?void 0:t[n][1]},ListCache.prototype.has=function(e){return Yn(this.__data__,e)>-1},ListCache.prototype.set=function(e,t){var n=this.__data__,r=Yn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},MapCache.prototype.clear=function(){this.size=0,this.__data__={hash:new Hash,map:new(Cn||ListCache),string:new Hash}},MapCache.prototype.delete=function(e){var t=oi(this,e).delete(e);return this.size-=t?1:0,t},MapCache.prototype.get=function(e){return oi(this,e).get(e)},MapCache.prototype.has=function(e){return oi(this,e).has(e)},MapCache.prototype.set=function(e,t){var n=oi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function(e){return this.__data__.has(e)},Stack.prototype.clear=function(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Stack.prototype.get=function(e){return this.__data__.get(e)},Stack.prototype.has=function(e){return this.__data__.has(e)},Stack.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(e,t),this.size=n.size,this};var ar=To(hr),sr=To(mr,!0);function ur(e,t){var n=!0;return ar(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function cr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a==a&&!Ms(a):n(a,s)))var s=a,u=i}return u}function lr(e,t){var n=[];return ar(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function fr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=pi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?fr(s,t-1,n,r,o):jt(o,s):r||(o[o.length]=s)}return o}var pr=xo(),dr=xo(!0);function hr(e,t){return e&&pr(e,t,iu)}function mr(e,t){return e&&dr(e,t,iu)}function gr(e,t){return _t(t,(function(t){return Es(e[t])}))}function yr(e,t){for(var n=0,r=(t=ho(t,e)).length;null!=e&&n<r;)e=e[Yi(t[n++])];return n&&n==r?e:void 0}function vr(e,t,n){var r=t(e);return vs(e)?r:jt(r,n(e))}function br(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Mt&&Mt in he(e)?function(e){var t=we.call(e,Mt),n=e[Mt];try{e[Mt]=void 0;var r=!0}catch(e){}var o=Te.call(e);r&&(t?e[Mt]=n:delete e[Mt]);return o}(e):function(e){return Te.call(e)}(e)}function _r(e,t){return e>t}function kr(e,t){return null!=e&&we.call(e,t)}function Or(e,t){return null!=e&&t in he(e)}function wr(e,t,n){for(var r=n?Ot:kt,o=e[0].length,i=e.length,a=i,s=K(i),u=1/0,c=[];a--;){var l=e[a];a&&t&&(l=wt(l,Bt(t))),u=_n(l.length,u),s[a]=!n&&(t||o>=120&&l.length>=120)?new SetCache(a&&l):void 0}l=e[0];var f=-1,p=s[0];e:for(;++f<o&&c.length<u;){var d=l[f],h=t?t(d):d;if(d=n||0!==d?d:0,!(p?Wt(p,h):r(c,h,n))){for(a=i;--a;){var m=s[a];if(!(m?Wt(m,h):r(e[a],h,n)))continue e}p&&p.push(h),c.push(d)}}return c}function jr(e,t,n){var r=null==(e=wi(e,t=ho(t,e)))?e:e[Yi(fa(t))];return null==r?void 0:mt(r,e,n)}function Er(e){return xs(e)&&br(e)==a}function Cr(e,t,n,r,o){return e===t||(null==e||null==t||!xs(e)&&!xs(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var f=vs(e),p=vs(t),_=f?s:ci(e),w=p?s:ci(t),j=(_=_==a?m:_)==m,E=(w=w==a?m:w)==m,C=_==w;if(C&&Os(e)){if(!Os(t))return!1;f=!0,j=!1}if(C&&!j)return i||(i=new Stack),f||Ns(e)?Yo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!i(new Xe(e),new Xe(t)));case u:case c:case h:return hs(+e,+t);case l:return e.name==t.name&&e.message==t.message;case g:case v:return e==t+"";case d:var s=Qt;case y:var f=1&r;if(s||(s=en),e.size!=t.size&&!f)return!1;var p=a.get(e);if(p)return p==t;r|=2,a.set(e,t);var m=Yo(s(e),s(t),r,o,i,a);return a.delete(e),m;case b:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,_,n,r,o,i);if(!(1&n)){var S=j&&we.call(e,"__wrapped__"),T=E&&we.call(t,"__wrapped__");if(S||T){var x=S?e.value():e,I=T?t.value():t;return i||(i=new Stack),o(x,I,n,r,i)}}if(!C)return!1;return i||(i=new Stack),function(e,t,n,r,o,i){var a=1&n,s=Jo(e),u=s.length,c=Jo(t).length;if(u!=c&&!a)return!1;var l=u;for(;l--;){var f=s[l];if(!(a?f in t:we.call(t,f)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var h=!0;i.set(e,t),i.set(t,e);var m=a;for(;++l<u;){f=s[l];var g=e[f],y=t[f];if(r)var v=a?r(y,g,f,t,e,i):r(g,y,f,e,t,i);if(!(void 0===v?g===y||o(g,y,n,r,i):v)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,Cr,o))}function Sr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=he(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var u=(s=n[o])[0],c=e[u],l=s[1];if(a&&s[2]){if(void 0===c&&!(u in e))return!1}else{var f=new Stack;if(r)var p=r(c,l,u,e,t,f);if(!(void 0===p?Cr(l,c,3,r,f):p))return!1}}return!0}function Tr(e){return!(!Ts(e)||(t=e,Se&&Se in t))&&(Es(e)?Re:oe).test(Zi(e));var t}function xr(e){return"function"==typeof e?e:null==e?Au:"object"==typeof e?vs(e)?Dr(e[0],e[1]):Lr(e):Hu(e)}function Ir(e){if(!vi(e))return vn(e);var t=[];for(var n in he(e))we.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ar(e){if(!Ts(e))return function(e){var t=[];if(null!=e)for(var n in he(e))t.push(n);return t}(e);var t=vi(e),n=[];for(var r in e)("constructor"!=r||!t&&we.call(e,r))&&n.push(r);return n}function Pr(e,t){return e<t}function Rr(e,t){var n=-1,r=_s(e)?K(e.length):[];return ar(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Lr(e){var t=ii(e);return 1==t.length&&t[0][2]?_i(t[0][0],t[0][1]):function(n){return n===e||Sr(n,e,t)}}function Dr(e,t){return mi(e)&&bi(t)?_i(Yi(e),t):function(n){var r=eu(n,e);return void 0===r&&r===t?tu(n,e):Cr(t,r,3)}}function Mr(e,t,n,r,o){e!==t&&pr(t,(function(i,a){if(o||(o=new Stack),Ts(i))!function(e,t,n,r,o,i,a){var s=Ti(e,n),u=Ti(t,n),c=a.get(u);if(c)return void qn(e,n,c);var l=i?i(s,u,n+"",e,t,a):void 0,f=void 0===l;if(f){var p=vs(u),d=!p&&Os(u),h=!p&&!d&&Ns(u);l=u,p||d||h?vs(s)?l=s:ks(s)?l=jo(s):d?(f=!1,l=vo(u,!0)):h?(f=!1,l=_o(u,!0)):l=[]:Ps(u)||ys(u)?(l=s,ys(s)?l=Gs(s):Ts(s)&&!Es(s)||(l=fi(u))):f=!1}f&&(a.set(u,l),o(l,u,r,i,a),a.delete(u));qn(e,n,l)}(e,t,a,n,Mr,r,o);else{var s=r?r(Ti(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),qn(e,a,s)}}),au)}function Nr(e,t){var n=e.length;if(n)return di(t+=t<0?n:0,n)?e[t]:void 0}function Fr(e,t,n){t=t.length?wt(t,(function(e){return vs(e)?function(t){return yr(t,1===e.length?e[0]:e)}:e})):[Au];var r=-1;return t=wt(t,Bt(ri())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Rr(e,(function(e,n,o){return{criteria:wt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var u=ko(o[r],i[r]);if(u){if(r>=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function zr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=yr(e,a);n(s,a)&&Kr(i,ho(a,e),s)}return i}function Hr(e,t,n,r){var o=r?Pt:At,i=-1,a=t.length,s=e;for(e===t&&(t=jo(t)),n&&(s=wt(e,Bt(n)));++i<a;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(s,l,u,r))>-1;)s!==e&&st.call(s,u,1),st.call(e,u,1);return e}function Br(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;di(o)?st.call(e,o,1):io(e,o)}}return e}function Ur(e,t){return e+dn(wn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=dn(t/2))&&(e+=e)}while(t);return n}function Vr(e,t){return zi(ki(e,t,Au),e+"")}function Gr(e){return Gn(hu(e))}function $r(e,t){var n=hu(e);return $i(n,tr(t,0,n.length))}function Kr(e,t,n,r){if(!Ts(e))return e;for(var o=-1,i=(t=ho(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var u=Yi(t[o]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=a){var l=s[u];void 0===(c=r?r(l,u,s):void 0)&&(c=Ts(l)?l:di(t[o+1])?[]:{})}Xn(s,u,c),s=s[u]}return e}var qr=An?function(e,t){return An.set(e,t),e}:Au,Xr=un?function(e,t){return un(e,"toString",{configurable:!0,enumerable:!1,value:Tu(t),writable:!0})}:Au;function Yr(e){return $i(hu(e))}function Qr(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=K(o);++r<o;)i[r]=e[r+t];return i}function Jr(e,t){var n;return ar(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Zr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ms(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return eo(e,t,Au,n)}function eo(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,s=null===t,u=Ms(t),c=void 0===t;o<i;){var l=dn((o+i)/2),f=n(e[l]),p=void 0!==f,d=null===f,h=f==f,m=Ms(f);if(a)var g=r||h;else g=c?h&&(r||p):s?h&&p&&(r||!d):u?h&&p&&!d&&(r||!m):!d&&!m&&(r?f<=t:f<t);g?o=l+1:i=l}return _n(i,4294967294)}function to(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!hs(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function no(e){return"number"==typeof e?e:Ms(e)?NaN:+e}function ro(e){if("string"==typeof e)return e;if(vs(e))return wt(e,ro)+"";if(Ms(e))return Hn?Hn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function oo(e,t,n){var r=-1,o=kt,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=Ot;else if(i>=200){var c=t?null:Vo(e);if(c)return en(c);a=!1,o=Wt,u=new SetCache}else u=t?[]:s;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),s.push(l)}else o(u,f,n)||(u!==s&&u.push(f),s.push(l))}return s}function io(e,t){return null==(e=wi(e,t=ho(t,e)))||delete e[Yi(fa(t))]}function ao(e,t,n,r){return Kr(e,t,n(yr(e,t)),r)}function so(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Qr(e,r?0:i,r?i+1:o):Qr(e,r?i+1:0,r?o:i)}function uo(e,t){var n=e;return n instanceof LazyWrapper&&(n=n.value()),Et(t,(function(e,t){return t.func.apply(t.thisArg,jt([e],t.args))}),n)}function co(e,t,n){var r=e.length;if(r<2)return r?oo(e[0]):[];for(var o=-1,i=K(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=ir(i[o]||a,e[s],t,n));return oo(fr(i,1),t,n)}function lo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:void 0;n(a,e[r],s)}return a}function fo(e){return ks(e)?e:[]}function po(e){return"function"==typeof e?e:Au}function ho(e,t){return vs(e)?e:mi(e,t)?[e]:qi($s(e))}var mo=Vr;function go(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Qr(e,t,n)}var yo=cn||function(e){return rt.clearTimeout(e)};function vo(e,t){if(t)return e.slice();var n=e.length,r=tt?tt(n):new e.constructor(n);return e.copy(r),r}function bo(e){var t=new e.constructor(e.byteLength);return new Xe(t).set(new Xe(e)),t}function _o(e,t){var n=t?bo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ms(e),a=void 0!==t,s=null===t,u=t==t,c=Ms(t);if(!s&&!c&&!i&&e>t||i&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function Oo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,c=bn(i-a,0),l=K(u+c),f=!r;++s<u;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;c--;)l[s++]=e[o++];return l}function wo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,c=t.length,l=bn(i-s,0),f=K(l+c),p=!r;++o<l;)f[o]=e[o];for(var d=o;++u<c;)f[d+u]=t[u];for(;++a<s;)(p||o<i)&&(f[d+n[a]]=e[o++]);return f}function jo(e,t){var n=-1,r=e.length;for(t||(t=K(r));++n<r;)t[n]=e[n];return t}function Eo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?Zn(n,s,u):Xn(n,s,u)}return n}function Co(e,t){return function(n,r){var o=vs(n)?gt:Qn,i=t?t():{};return o(n,e,ri(r,2),i)}}function So(e){return Vr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&hi(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=he(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}function To(e,t){return function(n,r){if(null==n)return n;if(!_s(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=he(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function xo(e){return function(t,n,r){for(var o=-1,i=he(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}function Io(e){return function(t){var n=Yt(t=$s(t))?rn(t):void 0,r=n?n[0]:t.charAt(0),o=n?go(n,1).join(""):t.slice(1);return r[e]()+o}}function Ao(e){return function(t){return Et(Eu(yu(t).replace(Me,"")),e,"")}}function Po(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return Ts(r)?r:n}}function Ro(e){return function(t,n,r){var o=he(t);if(!_s(t)){var i=ri(n,3);t=iu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Lo(e){return Qo((function(t){var n=t.length,o=n,i=LodashWrapper.prototype.thru;for(e&&t.reverse();o--;){var a=t[o];if("function"!=typeof a)throw new ye(r);if(i&&!s&&"wrapper"==ti(a))var s=new LodashWrapper([],!0)}for(o=s?o:n;++o<n;){var u=ti(a=t[o]),c="wrapper"==u?ei(a):void 0;s=c&&gi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[ti(c[0])].apply(s,c[3]):1==a.length&&gi(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&vs(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Do(e,t,n,r,o,i,a,s,u,c){var l=128&t,f=1&t,p=2&t,d=24&t,h=512&t,m=p?void 0:Po(e);return function g(){for(var y=arguments.length,v=K(y),b=y;b--;)v[b]=arguments[b];if(d)var _=ni(g),k=$t(v,_);if(r&&(v=Oo(v,r,o,d)),i&&(v=wo(v,i,a,d)),y-=k,d&&y<c){var O=Zt(v,_);return Uo(e,t,Do,g.placeholder,n,v,O,s,u,c-y)}var w=f?n:this,j=p?w[e]:e;return y=v.length,s?v=ji(v,s):h&&y>1&&v.reverse(),l&&u<y&&(v.length=u),this&&this!==rt&&this instanceof g&&(j=m||Po(j)),j.apply(w,v)}}function Mo(e,t){return function(n,r){return function(e,t,n,r){return hr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function No(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=ro(n),r=ro(r)):(n=no(n),r=no(r)),o=e(n,r)}return o}}function Fo(e){return Qo((function(t){return t=wt(t,Bt(ri())),Vr((function(n){var r=this;return e(t,(function(e){return mt(e,r,n)}))}))}))}function zo(e,t){var n=(t=void 0===t?" ":ro(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,pn(e/nn(t)));return Yt(t)?go(rn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,r){return r&&"number"!=typeof r&&hi(t,n,r)&&(n=r=void 0),t=Bs(t),void 0===n?(n=t,t=0):n=Bs(n),function(e,t,n,r){for(var o=-1,i=bn(pn((t-e)/(n||1)),0),a=K(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,r=void 0===r?t<n?1:-1:Bs(r),e)}}function Bo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Vs(t),n=Vs(n)),e(t,n)}}function Uo(e,t,n,r,o,i,a,s,u,c){var l=8&t;t|=l?32:64,4&(t&=~(l?64:32))||(t&=-4);var f=[e,t,o,l?i:void 0,l?a:void 0,l?void 0:i,l?void 0:a,s,u,c],p=n.apply(void 0,f);return gi(e)&&xi(p,f),p.placeholder=r,Bi(p,e,t)}function Wo(e){var t=de[e];return function(e,n){if(e=Vs(e),(n=null==n?0:_n(Us(n),292))&&gn(e)){var r=($s(e)+"e").split("e");return+((r=($s(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Vo=Tn&&1/en(new Tn([,-0]))[1]==1/0?function(e){return new Tn(e)}:Mu;function Go(e){return function(t){var n=ci(t);return n==d?Qt(t):n==y?tn(t):function(e,t){return wt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function $o(e,t,n,i,a,s,u,c){var l=2&t;if(!l&&"function"!=typeof e)throw new ye(r);var f=i?i.length:0;if(f||(t&=-97,i=a=void 0),u=void 0===u?u:bn(Us(u),0),c=void 0===c?c:Us(c),f-=a?a.length:0,64&t){var p=i,d=a;i=a=void 0}var h=l?void 0:ei(e),m=[e,t,n,i,a,p,d,s,u,c];if(h&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?Oo(c,u,t[4]):u,e[4]=c?Zt(e[3],o):t[4]}(u=t[5])&&(c=e[5],e[5]=c?wo(c,u,t[6]):u,e[6]=c?Zt(e[5],o):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(m,h),e=m[0],t=m[1],n=m[2],i=m[3],a=m[4],!(c=m[9]=void 0===m[9]?l?0:e.length:bn(m[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var r=Po(e);return function o(){for(var i=arguments.length,a=K(i),s=i,u=ni(o);s--;)a[s]=arguments[s];var c=i<3&&a[0]!==u&&a[i-1]!==u?[]:Zt(a,u);if((i-=c.length)<n)return Uo(e,t,Do,o.placeholder,void 0,a,c,void 0,void 0,n-i);var l=this&&this!==rt&&this instanceof o?r:e;return mt(l,this,a)}}(e,t,c):32!=t&&33!=t||a.length?Do.apply(void 0,m):function(e,t,n,r){var o=1&t,i=Po(e);return function t(){for(var a=-1,s=arguments.length,u=-1,c=r.length,l=K(c+s),f=this&&this!==rt&&this instanceof t?i:e;++u<c;)l[u]=r[u];for(;s--;)l[u++]=arguments[++a];return mt(f,o?n:this,l)}}(e,t,n,i);else var g=function(e,t,n){var r=1&t,o=Po(e);return function t(){var i=this&&this!==rt&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return Bi((h?qr:xi)(g,m),e,t)}function Ko(e,t,n,r){return void 0===e||hs(e,_e[n])&&!we.call(r,n)?t:e}function qo(e,t,n,r,o,i){return Ts(e)&&Ts(t)&&(i.set(t,e),Mr(e,t,void 0,qo,i),i.delete(t)),e}function Xo(e){return Ps(e)?void 0:e}function Yo(e,t,n,r,o,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;var f=-1,p=!0,d=2&n?new SetCache:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var h=e[f],m=t[f];if(r)var g=a?r(m,h,f,t,e,i):r(h,m,f,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(d){if(!St(t,(function(e,t){if(!Wt(d,t)&&(h===e||o(h,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Qo(e){return zi(ki(e,void 0,aa),e+"")}function Jo(e){return vr(e,iu,si)}function Zo(e){return vr(e,au,ui)}var ei=An?function(e){return An.get(e)}:Mu;function ti(e){for(var t=e.name+"",n=Pn[t],r=we.call(Pn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ni(e){return(we.call(Bn,"placeholder")?Bn:e).placeholder}function ri(){var e=Bn.iteratee||Pu;return e=e===Pu?xr:e,arguments.length?e(arguments[0],arguments[1]):e}function oi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ii(e){for(var t=iu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,bi(o)]}return t}function ai(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Tr(n)?n:void 0}var si=hn?function(e){return null==e?[]:(e=he(e),_t(hn(e),(function(t){return it.call(e,t)})))}:Wu,ui=hn?function(e){for(var t=[];e;)jt(t,si(e)),e=nt(e);return t}:Wu,ci=br;function li(e,t,n){for(var r=-1,o=(t=ho(t,e)).length,i=!1;++r<o;){var a=Yi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ss(o)&&di(a,o)&&(vs(e)||ys(e))}function fi(e){return"function"!=typeof e.constructor||vi(e)?{}:Un(nt(e))}function pi(e){return vs(e)||ys(e)||!!(ut&&e&&e[ut])}function di(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ae.test(e))&&e>-1&&e%1==0&&e<t}function hi(e,t,n){if(!Ts(n))return!1;var r=typeof t;return!!("number"==r?_s(n)&&di(t,n.length):"string"==r&&t in n)&&hs(n[t],e)}function mi(e,t){if(vs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ms(e))||(U.test(e)||!B.test(e)||null!=t&&e in he(t))}function gi(e){var t=ti(e),n=Bn[t];if("function"!=typeof n||!(t in LazyWrapper.prototype))return!1;if(e===n)return!0;var r=ei(n);return!!r&&e===r[0]}(En&&ci(new En(new ArrayBuffer(1)))!=O||Cn&&ci(new Cn)!=d||Sn&&"[object Promise]"!=ci(Sn.resolve())||Tn&&ci(new Tn)!=y||xn&&ci(new xn)!=_)&&(ci=function(e){var t=br(e),n=t==m?e.constructor:void 0,r=n?Zi(n):"";if(r)switch(r){case Rn:return O;case Ln:return d;case Dn:return"[object Promise]";case Mn:return y;case Nn:return _}return t});var yi=ke?Es:Vu;function vi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function bi(e){return e==e&&!Ts(e)}function _i(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in he(n)))}}function ki(e,t,n){return t=bn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=bn(r.length-t,0),a=K(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=K(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),mt(e,this,s)}}function wi(e,t){return t.length<2?e:yr(e,Qr(t,0,-1))}function ji(e,t){for(var n=e.length,r=_n(t.length,n),o=jo(e);r--;){var i=t[r];e[r]=di(i,n)?o[i]:void 0}return e}function Ti(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var xi=Wi(qr),Li=fn||function(e,t){return rt.setTimeout(e,t)},zi=Wi(Xr);function Bi(e,t,n){var r=t+"";return zi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(q,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return yt(i,(function(n){var r="_."+n[0];t&n[1]&&!kt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(Y):[]}(r),n)))}function Wi(e){var t=0,n=0;return function(){var r=kn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function $i(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Ur(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var qi=function(e){var t=us(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,o){t.push(r?o.replace(Z,"$1"):n||e)})),t}));function Yi(e){if("string"==typeof e||Ms(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zi(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ea(e){if(e instanceof LazyWrapper)return e.clone();var t=new LodashWrapper(e.__wrapped__,e.__chain__);return t.__actions__=jo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var ta=Vr((function(e,t){return ks(e)?ir(e,fr(t,1,ks,!0)):[]})),na=Vr((function(e,t){var n=fa(t);return ks(n)&&(n=void 0),ks(e)?ir(e,fr(t,1,ks,!0),ri(n,2)):[]})),ra=Vr((function(e,t){var n=fa(t);return ks(n)&&(n=void 0),ks(e)?ir(e,fr(t,1,ks,!0),void 0,n):[]}));function oa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Us(n);return o<0&&(o=bn(r+o,0)),It(e,ri(t,3),o)}function ia(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=Us(n),o=n<0?bn(r+o,0):_n(o,r-1)),It(e,ri(t,3),o,!0)}function aa(e){return(null==e?0:e.length)?fr(e,1):[]}function sa(e){return e&&e.length?e[0]:void 0}var ua=Vr((function(e){var t=wt(e,fo);return t.length&&t[0]===e[0]?wr(t):[]})),ca=Vr((function(e){var t=fa(e),n=wt(e,fo);return t===fa(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?wr(n,ri(t,2)):[]})),la=Vr((function(e){var t=fa(e),n=wt(e,fo);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?wr(n,void 0,t):[]}));function fa(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var pa=Vr(da);function da(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var ha=Qo((function(e,t){var n=null==e?0:e.length,r=er(e,t);return Br(e,wt(t,(function(e){return di(e,n)?+e:e})).sort(ko)),r}));function ma(e){return null==e?e:jn.call(e)}var ga=Vr((function(e){return oo(fr(e,1,ks,!0))})),ya=Vr((function(e){var t=fa(e);return ks(t)&&(t=void 0),oo(fr(e,1,ks,!0),ri(t,2))})),va=Vr((function(e){var t=fa(e);return t="function"==typeof t?t:void 0,oo(fr(e,1,ks,!0),void 0,t)}));function ba(e){if(!e||!e.length)return[];var t=0;return e=_t(e,(function(e){if(ks(e))return t=bn(e.length,t),!0})),zt(t,(function(t){return wt(e,Dt(t))}))}function _a(e,t){if(!e||!e.length)return[];var n=ba(e);return null==t?n:wt(n,(function(e){return mt(t,void 0,e)}))}var ka=Vr((function(e,t){return ks(e)?ir(e,t):[]})),Oa=Vr((function(e){return co(_t(e,ks))})),wa=Vr((function(e){var t=fa(e);return ks(t)&&(t=void 0),co(_t(e,ks),ri(t,2))})),ja=Vr((function(e){var t=fa(e);return t="function"==typeof t?t:void 0,co(_t(e,ks),void 0,t)})),xa=Vr(ba);var Ia=Vr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,_a(e,n)}));function Aa(e){var t=Bn(e);return t.__chain__=!0,t}function Pa(e,t){return t(e)}var Na=Qo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return er(t,e)};return!(t>1||this.__actions__.length)&&r instanceof LazyWrapper&&di(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Pa,args:[o],thisArg:void 0}),new LodashWrapper(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var za=Co((function(e,t,n){we.call(e,n)?++e[n]:Zn(e,n,1)}));var Ba=Ro(oa),Ua=Ro(ia);function Wa(e,t){return(vs(e)?yt:ar)(e,ri(t,3))}function $a(e,t){return(vs(e)?vt:sr)(e,ri(t,3))}var Ka=Co((function(e,t,n){we.call(e,n)?e[n].push(t):Zn(e,n,[t])}));var qa=Vr((function(e,t,n){var r=-1,o="function"==typeof t,i=_s(e)?K(e.length):[];return ar(e,(function(e){i[++r]=o?mt(t,e,n):jr(e,t,n)})),i})),Ya=Co((function(e,t,n){Zn(e,n,t)}));function Qa(e,t){return(vs(e)?wt:Rr)(e,ri(t,3))}var Ja=Co((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Za=Vr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&hi(e,t[0],t[1])?t=[]:n>2&&hi(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,fr(t,1),[])})),es=ln||function(){return rt.Date.now()};function ts(e,t,n){return t=n?void 0:t,$o(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ns(e,t){var n;if("function"!=typeof t)throw new ye(r);return e=Us(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var rs=Vr((function(e,t,n){var r=1;if(n.length){var o=Zt(n,ni(rs));r|=32}return $o(e,r,t,n,o)})),os=Vr((function(e,t,n){var r=3;if(n.length){var o=Zt(n,ni(os));r|=32}return $o(t,r,e,n,o)}));function is(e,t,n){var o,i,a,s,u,c,l=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ye(r);function h(t){var n=o,r=i;return o=i=void 0,l=t,s=e.apply(r,n)}function m(e){return l=e,u=Li(y,t),f?h(e):s}function g(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-l>=a}function y(){var e=es();if(g(e))return v(e);u=Li(y,function(e){var n=t-(e-c);return p?_n(n,a-(e-l)):n}(e))}function v(e){return u=void 0,d&&o?h(e):(o=i=void 0,s)}function b(){var e=es(),n=g(e);if(o=arguments,i=this,c=e,n){if(void 0===u)return m(c);if(p)return yo(u),u=Li(y,t),h(c)}return void 0===u&&(u=Li(y,t)),s}return t=Vs(t)||0,Ts(n)&&(f=!!n.leading,a=(p="maxWait"in n)?bn(Vs(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==u&&yo(u),l=0,o=c=i=u=void 0},b.flush=function(){return void 0===u?s:v(es())},b}var as=Vr((function(e,t){return or(e,1,t)})),ss=Vr((function(e,t,n){return or(e,Vs(t)||0,n)}));function us(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ye(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(us.Cache||MapCache),n}function cs(e){if("function"!=typeof e)throw new ye(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}us.Cache=MapCache;var ls=mo((function(e,t){var n=(t=1==t.length&&vs(t[0])?wt(t[0],Bt(ri())):wt(fr(t,1),Bt(ri()))).length;return Vr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return mt(e,this,r)}))})),fs=Vr((function(e,t){return $o(e,32,void 0,t,Zt(t,ni(fs)))})),ps=Vr((function(e,t){return $o(e,64,void 0,t,Zt(t,ni(ps)))})),ds=Qo((function(e,t){return $o(e,256,void 0,void 0,void 0,t)}));function hs(e,t){return e===t||e!=e&&t!=t}var ms=Bo(_r),gs=Bo((function(e,t){return e>=t})),ys=Er(function(){return arguments}())?Er:function(e){return xs(e)&&we.call(e,"callee")&&!it.call(e,"callee")},vs=K.isArray,bs=ct?Bt(ct):function(e){return xs(e)&&br(e)==k};function _s(e){return null!=e&&Ss(e.length)&&!Es(e)}function ks(e){return xs(e)&&_s(e)}var Os=mn||Vu,ws=lt?Bt(lt):function(e){return xs(e)&&br(e)==c};function js(e){if(!xs(e))return!1;var t=br(e);return t==l||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ps(e)}function Es(e){if(!Ts(e))return!1;var t=br(e);return t==f||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Cs(e){return"number"==typeof e&&e==Us(e)}function Ss(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xs(e){return null!=e&&"object"==typeof e}var Is=ft?Bt(ft):function(e){return xs(e)&&ci(e)==d};function As(e){return"number"==typeof e||xs(e)&&br(e)==h}function Ps(e){if(!xs(e)||br(e)!=m)return!1;var t=nt(e);if(null===t)return!0;var n=we.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==xe}var Rs=pt?Bt(pt):function(e){return xs(e)&&br(e)==g};var Ls=dt?Bt(dt):function(e){return xs(e)&&ci(e)==y};function Ds(e){return"string"==typeof e||!vs(e)&&xs(e)&&br(e)==v}function Ms(e){return"symbol"==typeof e||xs(e)&&br(e)==b}var Ns=ht?Bt(ht):function(e){return xs(e)&&Ss(e.length)&&!!$e[br(e)]};var Fs=Bo(Pr),zs=Bo((function(e,t){return e<=t}));function Hs(e){if(!e)return[];if(_s(e))return Ds(e)?rn(e):jo(e);if(Tt&&e[Tt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Tt]());var t=ci(e);return(t==d?Qt:t==y?en:hu)(e)}function Bs(e){return e?(e=Vs(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Us(e){var t=Bs(e),n=t%1;return t==t?n?t-n:t:0}function Ws(e){return e?tr(Us(e),0,4294967295):0}function Vs(e){if("number"==typeof e)return e;if(Ms(e))return NaN;if(Ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ht(e);var n=re.test(e);return n||ie.test(e)?et(e.slice(2),n?2:8):ne.test(e)?NaN:+e}function Gs(e){return Eo(e,au(e))}function $s(e){return null==e?"":ro(e)}var Ks=So((function(e,t){if(vi(t)||_s(t))Eo(t,iu(t),e);else for(var n in t)we.call(t,n)&&Xn(e,n,t[n])})),qs=So((function(e,t){Eo(t,au(t),e)})),Xs=So((function(e,t,n,r){Eo(t,au(t),e,r)})),Ys=So((function(e,t,n,r){Eo(t,iu(t),e,r)})),Qs=Qo(er);var Js=Vr((function(e,t){e=he(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&hi(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=au(i),s=-1,u=a.length;++s<u;){var c=a[s],l=e[c];(void 0===l||hs(l,_e[c])&&!we.call(e,c))&&(e[c]=i[c])}return e})),Zs=Vr((function(e){return e.push(void 0,qo),mt(uu,void 0,e)}));function eu(e,t,n){var r=null==e?void 0:yr(e,t);return void 0===r?n:r}function tu(e,t){return null!=e&&li(e,t,Or)}var nu=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),e[t]=n}),Tu(Au)),ru=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),we.call(e,t)?e[t].push(n):e[t]=[n]}),ri),ou=Vr(jr);function iu(e){return _s(e)?Vn(e):Ir(e)}function au(e){return _s(e)?Vn(e,!0):Ar(e)}var su=So((function(e,t,n){Mr(e,t,n)})),uu=So((function(e,t,n,r){Mr(e,t,n,r)})),cu=Qo((function(e,t){var n={};if(null==e)return n;var r=!1;t=wt(t,(function(t){return t=ho(t,e),r||(r=t.length>1),t})),Eo(e,Zo(e),n),r&&(n=nr(n,7,Xo));for(var o=t.length;o--;)io(n,t[o]);return n}));var lu=Qo((function(e,t){return null==e?{}:function(e,t){return zr(e,t,(function(t,n){return tu(e,n)}))}(e,t)}));function fu(e,t){if(null==e)return{};var n=wt(Zo(e),(function(e){return[e]}));return t=ri(t),zr(e,n,(function(e,n){return t(e,n[0])}))}var pu=Go(iu),du=Go(au);function hu(e){return null==e?[]:Ut(e,iu(e))}var mu=Ao((function(e,t,n){return t=t.toLowerCase(),e+(n?gu(t):t)}));function gu(e){return ju($s(e).toLowerCase())}function yu(e){return(e=$s(e))&&e.replace(se,Kt).replace(Ne,"")}var vu=Ao((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),bu=Ao((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),_u=Io("toLowerCase");var ku=Ao((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ou=Ao((function(e,t,n){return e+(n?" ":"")+ju(t)}));var wu=Ao((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ju=Io("toUpperCase");function Eu(e,t,n){return e=$s(e),void 0===(t=n?void 0:t)?function(e){return Ue.test(e)}(e)?function(e){return e.match(ze)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var Cu=Vr((function(e,t){try{return mt(e,void 0,t)}catch(e){return js(e)?e:new fe(e)}})),Su=Qo((function(e,t){return yt(t,(function(t){t=Yi(t),Zn(e,t,rs(e[t],e))})),e}));function Tu(e){return function(){return e}}var xu=Lo(),Iu=Lo(!0);function Au(e){return e}function Pu(e){return xr("function"==typeof e?e:nr(e,1))}var Ru=Vr((function(e,t){return function(n){return jr(n,e,t)}})),Lu=Vr((function(e,t){return function(n){return jr(e,n,t)}}));function Du(e,t,n){var r=iu(t),o=gr(t,r);null!=n||Ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=gr(t,iu(t)));var i=!(Ts(n)&&"chain"in n&&!n.chain),a=Es(e);return yt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=jo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,jt([this.value()],arguments))})})),e}function Mu(){}var Nu=Fo(wt),Fu=Fo(bt),zu=Fo(St);function Hu(e){return mi(e)?Dt(Yi(e)):function(e){return function(t){return yr(t,e)}}(e)}var Bu=Ho(),Uu=Ho(!0);function Wu(){return[]}function Vu(){return!1}var Gu=No((function(e,t){return e+t}),0),$u=Wo("ceil"),Ku=No((function(e,t){return e/t}),1),qu=Wo("floor");var Xu,Yu=No((function(e,t){return e*t}),1),Qu=Wo("round"),Ju=No((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new ye(r);return e=Us(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=ts,Bn.assign=Ks,Bn.assignIn=qs,Bn.assignInWith=Xs,Bn.assignWith=Ys,Bn.at=Qs,Bn.before=ns,Bn.bind=rs,Bn.bindAll=Su,Bn.bindKey=os,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return vs(e)?e:[e]},Bn.chain=Aa,Bn.chunk=function(e,t,n){t=(n?hi(e,t,n):void 0===t)?1:bn(Us(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=K(pn(r/t));o<r;)a[i++]=Qr(e,o,o+=t);return a},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=K(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return jt(vs(n)?jo(n):[n],fr(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=ri();return e=t?wt(e,(function(e){if("function"!=typeof e[1])throw new ye(r);return[n(e[0]),e[1]]})):[],Vr((function(n){for(var r=-1;++r<t;){var o=e[r];if(mt(o[0],this,n))return mt(o[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=iu(e);return function(n){return rr(n,e,t)}}(nr(e,1))},Bn.constant=Tu,Bn.countBy=za,Bn.create=function(e,t){var n=Un(e);return null==t?n:Jn(n,t)},Bn.curry=function e(t,n,r){var o=$o(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.curryRight=function e(t,n,r){var o=$o(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.debounce=is,Bn.defaults=Js,Bn.defaultsDeep=Zs,Bn.defer=as,Bn.delay=ss,Bn.difference=ta,Bn.differenceBy=na,Bn.differenceWith=ra,Bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Qr(e,(t=n||void 0===t?1:Us(t))<0?0:t,r):[]},Bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Qr(e,0,(t=r-(t=n||void 0===t?1:Us(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?so(e,ri(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?so(e,ri(t,3),!0):[]},Bn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&hi(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=Us(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:Us(r))<0&&(r+=o),r=n>r?0:Ws(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Bn.filter=function(e,t){return(vs(e)?_t:lr)(e,ri(t,3))},Bn.flatMap=function(e,t){return fr(Qa(e,t),1)},Bn.flatMapDeep=function(e,t){return fr(Qa(e,t),1/0)},Bn.flatMapDepth=function(e,t,n){return n=void 0===n?1:Us(n),fr(Qa(e,t),n)},Bn.flatten=aa,Bn.flattenDeep=function(e){return(null==e?0:e.length)?fr(e,1/0):[]},Bn.flattenDepth=function(e,t){return(null==e?0:e.length)?fr(e,t=void 0===t?1:Us(t)):[]},Bn.flip=function(e){return $o(e,512)},Bn.flow=xu,Bn.flowRight=Iu,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Bn.functions=function(e){return null==e?[]:gr(e,iu(e))},Bn.functionsIn=function(e){return null==e?[]:gr(e,au(e))},Bn.groupBy=Ka,Bn.initial=function(e){return(null==e?0:e.length)?Qr(e,0,-1):[]},Bn.intersection=ua,Bn.intersectionBy=ca,Bn.intersectionWith=la,Bn.invert=nu,Bn.invertBy=ru,Bn.invokeMap=qa,Bn.iteratee=Pu,Bn.keyBy=Ya,Bn.keys=iu,Bn.keysIn=au,Bn.map=Qa,Bn.mapKeys=function(e,t){var n={};return t=ri(t,3),hr(e,(function(e,r,o){Zn(n,t(e,r,o),e)})),n},Bn.mapValues=function(e,t){var n={};return t=ri(t,3),hr(e,(function(e,r,o){Zn(n,r,t(e,r,o))})),n},Bn.matches=function(e){return Lr(nr(e,1))},Bn.matchesProperty=function(e,t){return Dr(e,nr(t,1))},Bn.memoize=us,Bn.merge=su,Bn.mergeWith=uu,Bn.method=Ru,Bn.methodOf=Lu,Bn.mixin=Du,Bn.negate=cs,Bn.nthArg=function(e){return e=Us(e),Vr((function(t){return Nr(t,e)}))},Bn.omit=cu,Bn.omitBy=function(e,t){return fu(e,cs(ri(t)))},Bn.once=function(e){return ns(2,e)},Bn.orderBy=function(e,t,n,r){return null==e?[]:(vs(t)||(t=null==t?[]:[t]),vs(n=r?void 0:n)||(n=null==n?[]:[n]),Fr(e,t,n))},Bn.over=Nu,Bn.overArgs=ls,Bn.overEvery=Fu,Bn.overSome=zu,Bn.partial=fs,Bn.partialRight=ps,Bn.partition=Ja,Bn.pick=lu,Bn.pickBy=fu,Bn.property=Hu,Bn.propertyOf=function(e){return function(t){return null==e?void 0:yr(e,t)}},Bn.pull=pa,Bn.pullAll=da,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,ri(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,void 0,n):e},Bn.pullAt=ha,Bn.range=Bu,Bn.rangeRight=Uu,Bn.rearg=ds,Bn.reject=function(e,t){return(vs(e)?_t:lr)(e,cs(ri(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ri(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Br(e,o),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new ye(r);return Vr(e,t=void 0===t?t:Us(t))},Bn.reverse=ma,Bn.sampleSize=function(e,t,n){return t=(n?hi(e,t,n):void 0===t)?1:Us(t),(vs(e)?$n:$r)(e,t)},Bn.set=function(e,t,n){return null==e?e:Kr(e,t,n)},Bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Kr(e,t,n,r)},Bn.shuffle=function(e){return(vs(e)?Kn:Yr)(e)},Bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&hi(e,t,n)?(t=0,n=r):(t=null==t?0:Us(t),n=void 0===n?r:Us(n)),Qr(e,t,n)):[]},Bn.sortBy=Za,Bn.sortedUniq=function(e){return e&&e.length?to(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?to(e,ri(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&hi(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=$s(e))&&("string"==typeof t||null!=t&&!Rs(t))&&!(t=ro(t))&&Yt(e)?go(rn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new ye(r);return t=null==t?0:bn(Us(t),0),Vr((function(n){var r=n[t],o=go(n,0,t);return r&&jt(o,r),mt(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?Qr(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?Qr(e,0,(t=n||void 0===t?1:Us(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Qr(e,(t=r-(t=n||void 0===t?1:Us(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?so(e,ri(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?so(e,ri(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new ye(r);return Ts(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),is(e,t,{leading:o,maxWait:t,trailing:i})},Bn.thru=Pa,Bn.toArray=Hs,Bn.toPairs=pu,Bn.toPairsIn=du,Bn.toPath=function(e){return vs(e)?wt(e,Yi):Ms(e)?[e]:jo(qi($s(e)))},Bn.toPlainObject=Gs,Bn.transform=function(e,t,n){var r=vs(e),o=r||Os(e)||Ns(e);if(t=ri(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ts(e)&&Es(i)?Un(nt(e)):{}}return(o?yt:hr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return ts(e,1)},Bn.union=ga,Bn.unionBy=ya,Bn.unionWith=va,Bn.uniq=function(e){return e&&e.length?oo(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?oo(e,ri(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?oo(e,void 0,t):[]},Bn.unset=function(e,t){return null==e||io(e,t)},Bn.unzip=ba,Bn.unzipWith=_a,Bn.update=function(e,t,n){return null==e?e:ao(e,t,po(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ao(e,t,po(n),r)},Bn.values=hu,Bn.valuesIn=function(e){return null==e?[]:Ut(e,au(e))},Bn.without=ka,Bn.words=Eu,Bn.wrap=function(e,t){return fs(po(t),e)},Bn.xor=Oa,Bn.xorBy=wa,Bn.xorWith=ja,Bn.zip=xa,Bn.zipObject=function(e,t){return lo(e||[],t||[],Xn)},Bn.zipObjectDeep=function(e,t){return lo(e||[],t||[],Kr)},Bn.zipWith=Ia,Bn.entries=pu,Bn.entriesIn=du,Bn.extend=qs,Bn.extendWith=Xs,Du(Bn,Bn),Bn.add=Gu,Bn.attempt=Cu,Bn.camelCase=mu,Bn.capitalize=gu,Bn.ceil=$u,Bn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=Vs(n))==n?n:0),void 0!==t&&(t=(t=Vs(t))==t?t:0),tr(Vs(e),t,n)},Bn.clone=function(e){return nr(e,4)},Bn.cloneDeep=function(e){return nr(e,5)},Bn.cloneDeepWith=function(e,t){return nr(e,5,t="function"==typeof t?t:void 0)},Bn.cloneWith=function(e,t){return nr(e,4,t="function"==typeof t?t:void 0)},Bn.conformsTo=function(e,t){return null==t||rr(e,t,iu(t))},Bn.deburr=yu,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=Ku,Bn.endsWith=function(e,t,n){e=$s(e),t=ro(t);var r=e.length,o=n=void 0===n?r:tr(Us(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Bn.eq=hs,Bn.escape=function(e){return(e=$s(e))&&N.test(e)?e.replace(D,qt):e},Bn.escapeRegExp=function(e){return(e=$s(e))&&G.test(e)?e.replace(V,"\\$&"):e},Bn.every=function(e,t,n){var r=vs(e)?bt:ur;return n&&hi(e,t,n)&&(t=void 0),r(e,ri(t,3))},Bn.find=Ba,Bn.findIndex=oa,Bn.findKey=function(e,t){return xt(e,ri(t,3),hr)},Bn.findLast=Ua,Bn.findLastIndex=ia,Bn.findLastKey=function(e,t){return xt(e,ri(t,3),mr)},Bn.floor=qu,Bn.forEach=Wa,Bn.forEachRight=$a,Bn.forIn=function(e,t){return null==e?e:pr(e,ri(t,3),au)},Bn.forInRight=function(e,t){return null==e?e:dr(e,ri(t,3),au)},Bn.forOwn=function(e,t){return e&&hr(e,ri(t,3))},Bn.forOwnRight=function(e,t){return e&&mr(e,ri(t,3))},Bn.get=eu,Bn.gt=ms,Bn.gte=gs,Bn.has=function(e,t){return null!=e&&li(e,t,kr)},Bn.hasIn=tu,Bn.head=sa,Bn.identity=Au,Bn.includes=function(e,t,n,r){e=_s(e)?e:hu(e),n=n&&!r?Us(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),Ds(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&At(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Us(n);return o<0&&(o=bn(r+o,0)),At(e,t,o)},Bn.inRange=function(e,t,n){return t=Bs(t),void 0===n?(n=t,t=0):n=Bs(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=Vs(e),t,n)},Bn.invoke=ou,Bn.isArguments=ys,Bn.isArray=vs,Bn.isArrayBuffer=bs,Bn.isArrayLike=_s,Bn.isArrayLikeObject=ks,Bn.isBoolean=function(e){return!0===e||!1===e||xs(e)&&br(e)==u},Bn.isBuffer=Os,Bn.isDate=ws,Bn.isElement=function(e){return xs(e)&&1===e.nodeType&&!Ps(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(_s(e)&&(vs(e)||"string"==typeof e||"function"==typeof e.splice||Os(e)||Ns(e)||ys(e)))return!e.length;var t=ci(e);if(t==d||t==y)return!e.size;if(vi(e))return!Ir(e).length;for(var n in e)if(we.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return Cr(e,t)},Bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Cr(e,t,void 0,n):!!r},Bn.isError=js,Bn.isFinite=function(e){return"number"==typeof e&&gn(e)},Bn.isFunction=Es,Bn.isInteger=Cs,Bn.isLength=Ss,Bn.isMap=Is,Bn.isMatch=function(e,t){return e===t||Sr(e,t,ii(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Sr(e,t,ii(t),n)},Bn.isNaN=function(e){return As(e)&&e!=+e},Bn.isNative=function(e){if(yi(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Tr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=As,Bn.isObject=Ts,Bn.isObjectLike=xs,Bn.isPlainObject=Ps,Bn.isRegExp=Rs,Bn.isSafeInteger=function(e){return Cs(e)&&e>=-9007199254740991&&e<=9007199254740991},Bn.isSet=Ls,Bn.isString=Ds,Bn.isSymbol=Ms,Bn.isTypedArray=Ns,Bn.isUndefined=function(e){return void 0===e},Bn.isWeakMap=function(e){return xs(e)&&ci(e)==_},Bn.isWeakSet=function(e){return xs(e)&&"[object WeakSet]"==br(e)},Bn.join=function(e,t){return null==e?"":yn.call(e,t)},Bn.kebabCase=vu,Bn.last=fa,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=Us(n))<0?bn(r+o,0):_n(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):It(e,Rt,o,!0)},Bn.lowerCase=bu,Bn.lowerFirst=_u,Bn.lt=Fs,Bn.lte=zs,Bn.max=function(e){return e&&e.length?cr(e,Au,_r):void 0},Bn.maxBy=function(e,t){return e&&e.length?cr(e,ri(t,2),_r):void 0},Bn.mean=function(e){return Lt(e,Au)},Bn.meanBy=function(e,t){return Lt(e,ri(t,2))},Bn.min=function(e){return e&&e.length?cr(e,Au,Pr):void 0},Bn.minBy=function(e,t){return e&&e.length?cr(e,ri(t,2),Pr):void 0},Bn.stubArray=Wu,Bn.stubFalse=Vu,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=Yu,Bn.nth=function(e,t){return e&&e.length?Nr(e,Us(t)):void 0},Bn.noConflict=function(){return rt._===this&&(rt._=Ae),this},Bn.noop=Mu,Bn.now=es,Bn.pad=function(e,t,n){e=$s(e);var r=(t=Us(t))?nn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return zo(dn(o),n)+e+zo(pn(o),n)},Bn.padEnd=function(e,t,n){e=$s(e);var r=(t=Us(t))?nn(e):0;return t&&r<t?e+zo(t-r,n):e},Bn.padStart=function(e,t,n){e=$s(e);var r=(t=Us(t))?nn(e):0;return t&&r<t?zo(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),On($s(e).replace($,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&hi(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=Bs(e),void 0===t?(t=e,e=0):t=Bs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=wn();return _n(e+o*(t-e+Ye("1e-"+((o+"").length-1))),t)}return Ur(e,t)},Bn.reduce=function(e,t,n){var r=vs(e)?Et:Nt,o=arguments.length<3;return r(e,ri(t,4),n,o,ar)},Bn.reduceRight=function(e,t,n){var r=vs(e)?Ct:Nt,o=arguments.length<3;return r(e,ri(t,4),n,o,sr)},Bn.repeat=function(e,t,n){return t=(n?hi(e,t,n):void 0===t)?1:Us(t),Wr($s(e),t)},Bn.replace=function(){var e=arguments,t=$s(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,o=(t=ho(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Yi(t[r])];void 0===i&&(r=o,i=n),e=Es(i)?i.call(e):i}return e},Bn.round=Qu,Bn.runInContext=e,Bn.sample=function(e){return(vs(e)?Gn:Gr)(e)},Bn.size=function(e){if(null==e)return 0;if(_s(e))return Ds(e)?nn(e):e.length;var t=ci(e);return t==d||t==y?e.size:Ir(e).length},Bn.snakeCase=ku,Bn.some=function(e,t,n){var r=vs(e)?St:Jr;return n&&hi(e,t,n)&&(t=void 0),r(e,ri(t,3))},Bn.sortedIndex=function(e,t){return Zr(e,t)},Bn.sortedIndexBy=function(e,t,n){return eo(e,t,ri(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Zr(e,t);if(r<n&&hs(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return Zr(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return eo(e,t,ri(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Zr(e,t,!0)-1;if(hs(e[n],t))return n}return-1},Bn.startCase=Ou,Bn.startsWith=function(e,t,n){return e=$s(e),n=null==n?0:tr(Us(n),0,e.length),t=ro(t),e.slice(n,n+t.length)==t},Bn.subtract=Ju,Bn.sum=function(e){return e&&e.length?Ft(e,Au):0},Bn.sumBy=function(e,t){return e&&e.length?Ft(e,ri(t,2)):0},Bn.template=function(e,t,n){var r=Bn.templateSettings;n&&hi(e,t,n)&&(t=void 0),e=$s(e),t=Xs({},t,r,Ko);var o,i,a=Xs({},t.imports,r.imports,Ko),s=iu(a),u=Ut(a,s),c=0,l=t.interpolate||ue,f="__p += '",p=me((t.escape||ue).source+"|"+l.source+"|"+(l===H?ee:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),d="//# sourceURL="+(we.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ve+"]")+"\n";e.replace(p,(function(t,n,r,a,s,u){return r||(r=a),f+=e.slice(c,u).replace(ce,Xt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),s&&(i=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),f+="';\n";var h=we.call(t,"variable")&&t.variable;if(h){if(J.test(h))throw new fe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(A,""):f).replace(P,"$1").replace(R,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Cu((function(){return pe(s,d+"return "+f).apply(void 0,u)}));if(m.source=f,js(m))throw m;return m},Bn.times=function(e,t){if((e=Us(e))<1||e>9007199254740991)return[];var n=4294967295,r=_n(e,4294967295);e-=4294967295;for(var o=zt(r,t=ri(t));++n<e;)t(n);return o},Bn.toFinite=Bs,Bn.toInteger=Us,Bn.toLength=Ws,Bn.toLower=function(e){return $s(e).toLowerCase()},Bn.toNumber=Vs,Bn.toSafeInteger=function(e){return e?tr(Us(e),-9007199254740991,9007199254740991):0===e?e:0},Bn.toString=$s,Bn.toUpper=function(e){return $s(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=$s(e))&&(n||void 0===t))return Ht(e);if(!e||!(t=ro(t)))return e;var r=rn(e),o=rn(t);return go(r,Vt(r,o),Gt(r,o)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=$s(e))&&(n||void 0===t))return e.slice(0,on(e)+1);if(!e||!(t=ro(t)))return e;var r=rn(e);return go(r,0,Gt(r,rn(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=$s(e))&&(n||void 0===t))return e.replace($,"");if(!e||!(t=ro(t)))return e;var r=rn(e);return go(r,Vt(r,rn(t))).join("")},Bn.truncate=function(e,t){var n=30,r="...";if(Ts(t)){var o="separator"in t?t.separator:o;n="length"in t?Us(t.length):n,r="omission"in t?ro(t.omission):r}var i=(e=$s(e)).length;if(Yt(e)){var a=rn(e);i=a.length}if(n>=i)return e;var s=n-nn(r);if(s<1)return r;var u=a?go(a,0,s).join(""):e.slice(0,s);if(void 0===o)return u+r;if(a&&(s+=u.length-s),Rs(o)){if(e.slice(s).search(o)){var c,l=u;for(o.global||(o=me(o.source,$s(te.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;u=u.slice(0,void 0===f?s:f)}}else if(e.indexOf(ro(o),s)!=s){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+r},Bn.unescape=function(e){return(e=$s(e))&&M.test(e)?e.replace(L,an):e},Bn.uniqueId=function(e){var t=++je;return $s(e)+t},Bn.upperCase=wu,Bn.upperFirst=ju,Bn.each=Wa,Bn.eachRight=$a,Bn.first=sa,Du(Bn,(Xu={},hr(Bn,(function(e,t){we.call(Bn.prototype,t)||(Xu[t]=e)})),Xu),{chain:!1}),Bn.VERSION="4.17.21",yt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),yt(["drop","take"],(function(e,t){LazyWrapper.prototype[e]=function(n){n=void 0===n?1:bn(Us(n),0);var r=this.__filtered__&&!t?new LazyWrapper(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},LazyWrapper.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),yt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;LazyWrapper.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ri(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),yt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");LazyWrapper.prototype[e]=function(){return this[n](1).value()[0]}})),yt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[n](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(Au)},LazyWrapper.prototype.find=function(e){return this.filter(e).head()},LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)},LazyWrapper.prototype.invokeMap=Vr((function(e,t){return"function"==typeof e?new LazyWrapper(this):this.map((function(n){return jr(n,e,t)}))})),LazyWrapper.prototype.reject=function(e){return this.filter(cs(ri(e)))},LazyWrapper.prototype.slice=function(e,t){e=Us(e);var n=this;return n.__filtered__&&(e>0||t<0)?new LazyWrapper(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=Us(t))<0?n.dropRight(-t):n.take(t-e)),n)},LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(4294967295)},hr(LazyWrapper.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Bn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof LazyWrapper,u=a[0],c=s||vs(t),l=function(e){var t=o.apply(Bn,jt([e],a));return r&&f?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,h=s&&!p;if(!i&&c){t=h?t:new LazyWrapper(this);var m=e.apply(t,a);return m.__actions__.push({func:Pa,args:[l],thisArg:void 0}),new LodashWrapper(m,f)}return d&&h?e.apply(this,a):(m=this.thru(l),d?r?m.value()[0]:m.value():m)})})),yt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ve[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(vs(o)?o:[],e)}return this[n]((function(n){return t.apply(vs(n)?n:[],e)}))}})),hr(LazyWrapper.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";we.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Do(void 0,2).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=function(){var e=new LazyWrapper(this.__wrapped__);return e.__actions__=jo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=jo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=jo(this.__views__),e},LazyWrapper.prototype.reverse=function(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},LazyWrapper.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=vs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=_n(u,this.__takeCount__);if(!n||!r&&o==u&&d==u)return uo(e,this.__actions__);var h=[];e:for(;u--&&p<d;){for(var m=-1,g=e[c+=t];++m<f;){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[p++]=g}return h},Bn.prototype.at=Na,Bn.prototype.chain=function(){return Aa(this)},Bn.prototype.commit=function(){return new LodashWrapper(this.value(),this.__chain__)},Bn.prototype.next=function(){void 0===this.__values__&&(this.__values__=Hs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var r=ea(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;return this.__actions__.length&&(t=new LazyWrapper(this)),(t=t.reverse()).__actions__.push({func:Pa,args:[ma],thisArg:void 0}),new LodashWrapper(t,this.__chain__)}return this.thru(ma)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return uo(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Tt&&(Bn.prototype[Tt]=function(){return this}),Bn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(rt._=sn,define((function(){return sn}))):it?((it.exports=sn)._=sn,ot._=sn):rt._=sn}).call(this)}).call(this,n(26),n(821)(e))},,function(e,t,n){var r=n(826),o=n(1179),i=n(797),a=n(827);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function _next(e){n(a,o,i,_next,s,"next",e)}function s(e){n(a,o,i,_next,s,"throw",e)}_next(void 0)}))}}},,,,,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},,function(e,t,n){var r=n(1168);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(1175),o=n(824),i=n(797),a=n(1176);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return W})),n.d(t,"b",(function(){return V})),n.d(t,"c",(function(){return G})),n.d(t,"d",(function(){return $}));var r=n(0),o=n.n(r),i=(n(1),n(400)),a=n(55);function s(e,t,n){var r=n.actual,o=n.key,i=n.previous,s=n.type,u=m(e,o),c=m(t,o),l=[u,c].every(a.a.number)&&("increased"===s?u<c:u>c);return a.a.undefined(r)||(l=l&&c===r),a.a.undefined(i)||(l=l&&u===i),l}function u(e,t,n){var r=n.key,o=n.type,s=n.value,u=m(e,r),c=m(t,r),p="added"===o?u:c,g="added"===o?c:u;return a.a.nullOrUndefined(s)?[u,c].every(a.a.array)?!g.every(d(p)):[u,c].every(a.a.plainObject)?function(e,t){return t.some((function(t){return e.indexOf(t)<0}))}(Object.keys(p),Object.keys(g)):![u,c].every((function(e){return a.a.primitive(e)&&a.a.defined(e)}))&&("added"===o?!a.a.defined(u)&&a.a.defined(c):a.a.defined(u)&&!a.a.defined(c)):a.a.defined(p)?!(!a.a.array(p)&&!a.a.plainObject(p))&&function(e,t,n){return!!h(e,t)&&([e,t].every(a.a.array)?!e.some(f(n))&&t.some(f(n)):[e,t].every(a.a.plainObject)?!Object.entries(e).some(l(n))&&Object.entries(t).some(l(n)):t===n)}(p,g,s):i(g,s)}function c(e,t,n){var r=(void 0===n?{}:n).key,o=m(e,r),i=m(t,r);if(!h(o,i))throw new TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return a.a.string(e)||a.a.array(e)||a.a.plainObject(e)}))}(o,i))throw new TypeError("Inputs don't have length");return[o,i].every(a.a.plainObject)&&(o=Object.keys(o),i=Object.keys(i)),[o,i]}function l(e){return function(t){var n=t[0],r=t[1];return a.a.array(e)?i(e,r)||e.some((function(e){return i(e,r)||a.a.array(r)&&d(r)(e)})):a.a.plainObject(e)&&e[n]?!!e[n]&&i(e[n],r):i(e,r)}}function f(e){return function(t){return a.a.array(e)?e.some((function(e){return i(e,t)||a.a.array(t)&&d(t)(e)})):i(e,t)}}function p(e,t){return a.a.array(e)?e.some((function(e){return i(e,t)})):i(e,t)}function d(e){return function(t){return!!e.find((function(e){return i(e,t)}))}}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(a.a.array)||e.every(a.a.number)||e.every(a.a.plainObject)||e.every(a.a.string)}function m(e,t){return a.a.plainObject(e)||a.a.array(e)?a.a.string(t)?t.split(".").reduce((function(e,t){return e&&e[t]}),e):a.a.number(t)?e[t]:e:e}function g(e,t){if([e,t].some(a.a.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every((function(e){return a.a.plainObject(e)||a.a.array(e)})))throw new Error("Expected plain objects or array");var n=function(n,r,o){try{var s=m(e,n),u=m(t,n),c=a.a.defined(r),l=a.a.defined(o);if(c||l){var f=l?p(o,s):!p(r,s),d=p(r,u);return f&&d}return[s,u].every(a.a.array)||[s,u].every(a.a.plainObject)?!i(s,u):s!==u}catch(e){return!1}};return{added:function(n,r){try{return u(e,t,{key:n,type:"added",value:r})}catch(e){return!1}},changed:n,changedFrom:function(n,r,o){if(!a.a.defined(n))return!1;try{var i=m(e,n),s=m(t,n),u=a.a.defined(o);return p(r,i)&&(u?p(o,s):!u)}catch(e){return!1}},changedTo:function(e,t){return!!a.a.defined(e)&&n(e,t)},decreased:function(n,r,o){if(!a.a.defined(n))return!1;try{return s(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var r=c(e,t,{key:n}),o=r[0],i=r[1];return!!o.length&&!i.length}catch(e){return!1}},filled:function(n){try{var r=c(e,t,{key:n}),o=r[0],i=r[1];return!o.length&&!!i.length}catch(e){return!1}},increased:function(n,r,o){if(!a.a.defined(n))return!1;try{return s(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch(e){return!1}},removed:function(n,r){try{return u(e,t,{key:n,type:"removed",value:r})}catch(e){return!1}}}}var y=n(137),v=n.n(y),b=n(751),_=n.n(b),k=n(932),O=n.n(k),w=n(802),j=n.n(w),E=n(623),C=n(410),S=n.n(C),T=n(933);function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?H(e):t}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return B(this,n)}}var W={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},V={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},G={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},$={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},K=_.a.canUseDOM,q=void 0!==y.createPortal;function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function Y(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Q(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var r=n.props.children;Array.isArray(r)?r.forEach((function(t){return e(t)})):e(r)}}(e),t.join(" ").trim()}function J(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Z(e,t){return!(!a.a.plainObject(e)||!a.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function ee(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}function te(e){return e.disableBeacon||"center"===e.placement}function ne(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(X()))}function re(e){var t=e.title,n=e.data,r=e.warn,o=void 0!==r&&r,i=e.debug,s=void 0!==i&&i,u=o?console.warn||console.error:console.log;s&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){a.a.plainObject(e)&&e.key?u.apply(console,[e.key,e.value]):u.apply(console,[e])})):u.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var oe={action:"",controlled:!1,index:0,lifecycle:G.INIT,size:0,status:$.IDLE},ie=["action","index","lifecycle","status"];function ae(e){var t=new Map,n=new Map;return new(function(){function Store(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.continuous,o=void 0!==r&&r,i=t.stepIndex,s=t.steps,u=void 0===s?[]:s;x(this,Store),P(this,"listener",void 0),P(this,"setSteps",(function(t){var r=e.getState(),o=r.size,i=r.status,a={size:t.length,status:i};n.set("steps",t),i===$.WAITING&&!o&&t.length&&(a.status=$.RUNNING),e.setState(a)})),P(this,"addListener",(function(t){e.listener=t})),P(this,"update",(function(t){if(!Z(t,ie))throw new Error("State is not valid. Valid keys: ".concat(ie.join(", ")));e.setState(D({},e.getNextState(D(D(D({},e.getState()),t),{},{action:t.action||W.UPDATE}),!0)))})),P(this,"start",(function(t){var n=e.getState(),r=n.index,o=n.size;e.setState(D(D({},e.getNextState({action:W.START,index:a.a.number(t)?t:r},!0)),{},{status:o?$.RUNNING:$.WAITING}))})),P(this,"stop",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=e.getState(),r=n.index,o=n.status;-1===[$.FINISHED,$.SKIPPED].indexOf(o)&&e.setState(D(D({},e.getNextState({action:W.STOP,index:r+(t?1:0)})),{},{status:$.PAUSED}))})),P(this,"close",(function(){var t=e.getState(),n=t.index;t.status===$.RUNNING&&e.setState(D({},e.getNextState({action:W.CLOSE,index:n+1})))})),P(this,"go",(function(t){var n=e.getState(),r=n.controlled,o=n.status;if(!r&&o===$.RUNNING){var i=e.getSteps()[t];e.setState(D(D({},e.getNextState({action:W.GO,index:t})),{},{status:i?o:$.FINISHED}))}})),P(this,"info",(function(){return e.getState()})),P(this,"next",(function(){var t=e.getState(),n=t.index;t.status===$.RUNNING&&e.setState(e.getNextState({action:W.NEXT,index:n+1}))})),P(this,"open",(function(){e.getState().status===$.RUNNING&&e.setState(D({},e.getNextState({action:W.UPDATE,lifecycle:G.TOOLTIP})))})),P(this,"prev",(function(){var t=e.getState(),n=t.index;t.status===$.RUNNING&&e.setState(D({},e.getNextState({action:W.PREV,index:n-1})))})),P(this,"reset",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=e.getState(),r=n.controlled;r||e.setState(D(D({},e.getNextState({action:W.RESET,index:0})),{},{status:t?$.RUNNING:$.READY}))})),P(this,"skip",(function(){e.getState().status===$.RUNNING&&e.setState({action:W.SKIP,lifecycle:G.INIT,status:$.SKIPPED})})),this.setState({action:W.INIT,controlled:a.a.number(i),continuous:o,index:a.a.number(i)?i:0,lifecycle:G.INIT,status:u.length?$.READY:$.IDLE},!0),this.setSteps(u)}return A(Store,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getState(),o=D(D({},r),e),i=o.action,a=o.index,s=o.lifecycle,u=o.size,c=o.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",u),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(r)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:D({},oe)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),r=n.action,o=n.controlled,i=n.index,s=n.size,u=n.status,c=a.a.number(e.index)?e.index:i,l=o&&!t?i:Math.min(Math.max(c,0),s);return{action:e.action||r,controlled:o,index:l,lifecycle:e.lifecycle||G.INIT,size:e.size||s,status:l===s?$.FINISHED:e.status||u}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),Store}())(e)}function se(){return document.scrollingElement||document.createElement("body")}function ue(e){return e?e.getBoundingClientRect():{}}function ce(e){return"string"==typeof e?document.querySelector(e):e}function le(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function fe(e,t,n){var r=j()(e);return r.isSameNode(se())?n?document:se():r.scrollHeight>r.offsetHeight||t?r:(r.style.overflow="initial",se())}function pe(e,t){return!!e&&!fe(e,t).isSameNode(se())}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(le(e).position===t||de(e.parentNode,t))}function he(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?he(e.offsetParent)+e.offsetTop:e.offsetTop:0}function me(e,t,n){if(!e)return 0;var r=j()(e),o=he(e);return pe(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(o-=he(r)),Math.floor(o-t)}!function(e){function t(t,n,r,o,i,a){var s=o||"<<anonymous>>",u=a||r;if(null==n[r])return t?new Error("Required ".concat(i," `").concat(u,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,l=new Array(c>6?c-6:0),f=6;f<c;f++)l[f-6]=arguments[f];return e.apply(void 0,[n,r,s,i,u].concat(l))}var n=t.bind(null,!1);n.isRequired=t.bind(null,!0)}((function(e,t,n,r,i){var s=e[t],u=s;if(!o.a.isValidElement(s)&&Object(E.isValidElementType)(s)){var c={ref:function(){},step:{}};u=o.a.createElement(u,c)}if(a.a.string(s)||a.a.number(s)||!Object(E.isValidElementType)(s)||-1===[E.Element,E.ForwardRef].indexOf(Object(E.typeOf)(u)))return new Error("Invalid ".concat(r," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}));var ge={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},ye={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},ve={borderRadius:4,position:"absolute"};var be={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function _e(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function ke(e,t){if(!e)return null;var n=S.a.all([_e(t),be.step,e],{isMergeableObject:a.a.plainObject}),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=S()(ge,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var r={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},o={beacon:D(D({},ye),{},{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat(ee(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:D(D({},ye),{},{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:D(D({},ye),{},{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:D(D({},ye),{},{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:D(D({},ye),{},{color:t.textColor,fontSize:14}),overlay:D(D({},r),{},{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:D({},r),overlayLegacyCenter:D(D({},r),{},{backgroundColor:t.overlayColor}),spotlight:D(D({},ve),{},{backgroundColor:"gray"}),spotlightLegacy:D(D({},ve),{},{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return S()(o,e)}(S()(t.styles||{},e.styles||{})),o=pe(ce(e.target),n.disableScrollParentFix),i=S.a.all([t.floaterProps||{},be.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=S()(i.styles||{},r.floaterStyles||{}),delete r.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding||0,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),o&&(i.options.preventOverflow.boundariesElement="window"),D(D({},n),{},{locale:S.a.all([be.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:r})}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.a.plainObject(e)?!!e.target||(re({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(re({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.a.array(e)?e.every((function(e){return Oe(e,t)})):(re({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var je=function Scope(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(x(this,Scope),P(this,"element",void 0),P(this,"options",void 0),P(this,"canBeTabbed",(function(e){var n=e.tabIndex;return(null===n||n<0)&&(n=void 0),!isNaN(n)&&t.canHaveFocus(e)})),P(this,"canHaveFocus",(function(e){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)&&!e.getAttribute("disabled")||"a"===n&&!!e.getAttribute("href"))&&t.isVisible(e)})),P(this,"findValidTabElements",(function(){return[].slice.call(t.element.querySelectorAll("*"),0).filter(t.canBeTabbed)})),P(this,"handleKeyDown",(function(e){var n=t.options.keyCode,r=void 0===n?9:n;e.keyCode===r&&t.interceptTab(e)})),P(this,"interceptTab",(function(e){e.preventDefault();var n=t.findValidTabElements(),r=e.shiftKey;if(n.length){var o=n.indexOf(document.activeElement);-1===o||!r&&o+1===n.length?o=0:r&&0===o?o=n.length-1:o+=r?-1:1,n[o].focus()}})),P(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),P(this,"isVisible",(function(e){for(var n=e;n;)if(n instanceof HTMLElement){if(n===document.body)break;if(t.isHidden(n))return!1;n=n.parentNode}return!0})),P(this,"removeScope",(function(){window.removeEventListener("keydown",t.handleKeyDown)})),P(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return t.checkFocus(e)})))})),P(this,"setFocus",(function(){var e=t.options.selector;if(e){var n=t.element.querySelector(e);n&&window.requestAnimationFrame((function(){return t.checkFocus(n)}))}})),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=n,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},Se=function(e){M(JoyrideBeacon,e);var t=U(JoyrideBeacon);function JoyrideBeacon(e){var n;if(x(this,JoyrideBeacon),P(H(n=t.call(this,e)),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",o.id="joyride-beacon-animation",o.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),r.appendChild(o)}return n}return A(JoyrideBeacon,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){a.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,r=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":r.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:r.open};if(n){var u=n;e=o.a.createElement(u,s)}else e=o.a.createElement("button",R({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button"},s),o.a.createElement("span",{style:a.beaconInner}),o.a.createElement("span",{style:a.beaconOuter}));return e}}]),JoyrideBeacon}(o.a.Component),Te=function JoyrideSpotlight(e){var t=e.styles;return o.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})},xe=function(e){M(JoyrideOverlay,e);var t=U(JoyrideOverlay);function JoyrideOverlay(){var e;x(this,JoyrideOverlay);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return P(H(e=t.call.apply(t,[this].concat(r))),"_isMounted",!1),P(H(e),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),P(H(e),"handleMouseMove",(function(t){var n=e.state.mouseOverSpotlight,r=e.spotlightStyles,o=r.height,i=r.left,a=r.position,s=r.top,u=r.width,c="fixed"===a?t.clientY:t.pageY,l="fixed"===a?t.clientX:t.pageX,f=l>=i&&l<=i+u&&(c>=s&&c<=s+o);f!==n&&e.updateState({mouseOverSpotlight:f})})),P(H(e),"handleScroll",(function(){var t=ce(e.props.target);e.scrollParent!==document?(e.state.isScrolling||e.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(e.scrollTimeout),e.scrollTimeout=setTimeout((function(){e.updateState({isScrolling:!1,showSpotlight:!0})}),50)):de(t,"sticky")&&e.updateState({})})),P(H(e),"handleResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((function(){e._isMounted&&e.forceUpdate()}),100)})),e}return A(JoyrideOverlay,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=ce(e.target);this.scrollParent=fe(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.lifecycle,o=n.spotlightClicks,i=g(e,this.props).changed;i("lifecycle",G.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(o&&r===G.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):r!==G.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,r=this.props,i=r.disableOverlay,a=r.disableOverlayClose,s=r.lifecycle,u=r.onClickOverlay,c=r.placement,l=r.styles;if(i||s!==G.TOOLTIP)return null;var f=l.overlay;ne()&&(f="center"===c?l.overlayLegacyCenter:l.overlayLegacy);var p,d,h,m=D({cursor:a?"default":"pointer",height:(p=document,d=p.body,h=p.documentElement,d&&h?Math.max(d.scrollHeight,d.offsetHeight,h.clientHeight,h.scrollHeight,h.offsetHeight):0),pointerEvents:t?"none":"auto"},f),g="center"!==c&&n&&o.a.createElement(Te,{styles:this.spotlightStyles});if("safari"===X()){m.mixBlendMode,m.zIndex;var y=z(m,["mixBlendMode","zIndex"]);g=o.a.createElement("div",{style:D({},y)},g),delete m.backgroundColor}return o.a.createElement("div",{className:"react-joyride__overlay",style:m,onClick:u},g)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,r=t.spotlightClicks,o=t.spotlightPadding,i=t.styles,a=ce(t.target),s=ue(a),u=de(a),c=function(e,t,n){var r=ue(e),o=fe(e,n),i=pe(e,n),a=0;o instanceof HTMLElement&&(a=o.scrollTop);var s=r.top+(i||de(e)?0:a);return Math.floor(s-t)}(a,o,n);return D(D({},ne()?i.spotlightLegacy:i.spotlight),{},{height:Math.round(s.height+2*o),left:Math.round(s.left-o),opacity:e?1:0,pointerEvents:r?"none":"auto",position:u?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*o)})}}]),JoyrideOverlay}(o.a.Component),Ae=function JoyrideTooltipCloseBtn(e){var t=e.styles,n=z(e,["styles"]),r=t.color,i=t.height,a=t.width,s=z(t,["color","height","width"]);return o.a.createElement("button",R({style:s,type:"button"},n),o.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},o.a.createElement("g",null,o.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))},Re=function(e){M(JoyrideTooltipContainer,e);var t=U(JoyrideTooltipContainer);function JoyrideTooltipContainer(){return x(this,JoyrideTooltipContainer),t.apply(this,arguments)}return A(JoyrideTooltipContainer,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,r=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,u=e.size,c=e.skipProps,l=e.step,f=e.tooltipProps,p=l.content,d=l.hideBackButton,h=l.hideCloseButton,m=l.hideFooter,g=l.showProgress,y=l.showSkipButton,v=l.title,b=l.styles,_=l.locale,k=_.back,O=_.close,w=_.last,j=_.next,E=_.skip,C={primary:O};return r&&(C.primary=a?w:j,g&&(C.primary=o.a.createElement("span",null,C.primary," (",i+1,"/",u,")"))),y&&!a&&(C.skip=o.a.createElement("button",R({style:b.buttonSkip,type:"button","aria-live":"off"},c),E)),!d&&i>0&&(C.back=o.a.createElement("button",R({style:b.buttonBack,type:"button"},t),k)),C.close=!h&&o.a.createElement(Ae,R({styles:b.buttonClose},n)),o.a.createElement("div",R({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:b.tooltip},f),o.a.createElement("div",{style:b.tooltipContainer},v&&o.a.createElement("h4",{style:b.tooltipTitle,"aria-label":v},v),o.a.createElement("div",{style:b.tooltipContent},p)),!m&&o.a.createElement("div",{style:b.tooltipFooter},o.a.createElement("div",{style:b.tooltipFooterSpacer},C.skip),C.back,o.a.createElement("button",R({style:b.buttonNext,type:"button"},s),C.primary)),C.close)}}]),JoyrideTooltipContainer}(o.a.Component),Me=function(e){M(JoyrideTooltip,e);var t=U(JoyrideTooltip);function JoyrideTooltip(){var e;x(this,JoyrideTooltip);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return P(H(e=t.call.apply(t,[this].concat(r))),"handleClickBack",(function(t){t.preventDefault(),e.props.helpers.prev()})),P(H(e),"handleClickClose",(function(t){t.preventDefault(),e.props.helpers.close()})),P(H(e),"handleClickPrimary",(function(t){t.preventDefault();var n=e.props,r=n.continuous,o=n.helpers;r?o.next():o.close()})),P(H(e),"handleClickSkip",(function(t){t.preventDefault(),e.props.helpers.skip()})),P(H(e),"getElementsProps",(function(){var t=e.props,n=t.continuous,r=t.isLastStep,o=t.setTooltipRef,i=t.step,a=Q(i.locale.back),s=Q(i.locale.close),u=Q(i.locale.last),c=Q(i.locale.next),l=Q(i.locale.skip),f=n?c:s;return r&&(f=u),{backProps:{"aria-label":a,"data-action":"back",onClick:e.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:e.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":f,"data-action":"primary",onClick:e.handleClickPrimary,role:"button",title:f},skipProps:{"aria-label":l,"data-action":"skip",onClick:e.handleClickSkip,role:"button",title:l},tooltipProps:{"aria-modal":!0,ref:o,role:"alertdialog"}}})),e}return A(JoyrideTooltip,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,r=t.index,i=t.isLastStep,a=t.size,s=t.step,u=(s.beaconComponent,s.tooltipComponent),c=z(s,["beaconComponent","tooltipComponent"]);if(u){var l=D(D({},this.getElementsProps()),{},{continuous:n,index:r,isLastStep:i,size:a,step:c}),f=u;e=o.a.createElement(f,l)}else e=o.a.createElement(Re,R({},this.getElementsProps(),{continuous:n,index:r,isLastStep:i,size:a,step:s}));return e}}]),JoyrideTooltip}(o.a.Component),Ne=function(e){M(JoyridePortal,e);var t=U(JoyridePortal);function JoyridePortal(e){var n;return x(this,JoyridePortal),n=t.call(this,e),K?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):B(n)}return A(JoyridePortal,[{key:"componentDidMount",value:function(){K&&(q||this.renderReact15())}},{key:"componentDidUpdate",value:function(){K&&(q||this.renderReact15())}},{key:"componentWillUnmount",value:function(){K&&this.node&&(q||v.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!K)return null;var e=this.props.children;return v.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!K||!q)return null;var e=this.props.children;return v.a.createPortal(e,this.node)}},{key:"render",value:function(){return q?this.renderReact16():null}}]),JoyridePortal}(o.a.Component),Fe=function(e){M(JoyrideStep,e);var t=U(JoyrideStep);function JoyrideStep(){var e;x(this,JoyrideStep);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return P(H(e=t.call.apply(t,[this].concat(r))),"scope",{removeScope:function(){}}),P(H(e),"handleClickHoverBeacon",(function(t){var n=e.props,r=n.step,o=n.update;"mouseenter"===t.type&&"hover"!==r.event||o({lifecycle:G.TOOLTIP})})),P(H(e),"handleClickOverlay",(function(){var t=e.props,n=t.helpers;t.step.disableOverlayClose||n.close()})),P(H(e),"setTooltipRef",(function(t){e.tooltip=t})),P(H(e),"setPopper",(function(t,n){var r=e.props,o=r.action,i=r.setPopper,a=r.update;"wrapper"===n?e.beaconPopper=t:e.tooltipPopper=t,i(t,n),e.beaconPopper&&e.tooltipPopper&&a({action:o===W.CLOSE?W.CLOSE:o,lifecycle:G.READY})})),e}return A(JoyrideStep,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;re({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,r=t.callback,o=t.continuous,i=t.controlled,a=t.debug,s=t.index,u=t.lifecycle,c=t.size,l=t.status,f=t.step,p=t.update,d=g(e,this.props),h=d.changed,m=d.changedFrom,y={action:n,controlled:i,index:s,lifecycle:u,size:c,status:l},v=o&&n!==W.CLOSE&&(s>0||n===W.PREV),b=h("action")||h("index")||h("lifecycle")||h("status"),_=m("lifecycle",[G.TOOLTIP,G.INIT],G.INIT);if(h("action",[W.NEXT,W.PREV,W.SKIP,W.CLOSE])&&(_||i)&&r(D(D({},y),{},{index:e.index,lifecycle:G.COMPLETE,step:e.step,type:V.STEP_AFTER})),b&&f){var k=ce(f.target),O=!!k;O&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),r=n.display,o=n.visibility;if("none"===r||"hidden"===o)return!1}t=t.parentNode}return!0}(k)?(m("status",$.READY,$.RUNNING)||m("lifecycle",G.INIT,G.READY))&&r(D(D({},y),{},{step:f,type:V.STEP_BEFORE})):(console.warn(O?"Target not visible":"Target not mounted",f),r(D(D({},y),{},{type:V.TARGET_NOT_FOUND,step:f})),i||p({index:s+(-1!==[W.PREV].indexOf(n)?-1:1)}))}m("lifecycle",G.INIT,G.READY)&&p({lifecycle:te(f)||v?G.TOOLTIP:G.BEACON}),h("index")&&re({title:"step:".concat(u),data:[{key:"props",value:this.props}],debug:a}),h("lifecycle",G.BEACON)&&r(D(D({},y),{},{step:f,type:V.BEACON})),h("lifecycle",G.TOOLTIP)&&(r(D(D({},y),{},{step:f,type:V.TOOLTIP})),this.scope=new je(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),m("lifecycle",[G.TOOLTIP,G.INIT],G.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,r=e.helpers,i=e.index,s=e.lifecycle,u=e.shouldScroll,c=e.size,l=e.step,f=ce(l.target);return Oe(l)&&a.a.domElement(f)?o.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},o.a.createElement(Ne,{id:"react-joyride-portal"},o.a.createElement(xe,R({},l,{debug:n,lifecycle:s,onClickOverlay:this.handleClickOverlay}))),o.a.createElement(T.a,R({component:o.a.createElement(Me,{continuous:t,helpers:r,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:l}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:l.isFixed||de(f),open:this.open,placement:l.placement,target:l.target},l.floaterProps),o.a.createElement(Se,{beaconComponent:l.beaconComponent,locale:l.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:u,styles:l.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!te(t)&&n!==G.TOOLTIP)}}]),JoyrideStep}(o.a.Component),ze=function(e){M(Joyride,e);var t=U(Joyride);function Joyride(e){var n;return x(this,Joyride),P(H(n=t.call(this,e)),"initStore",(function(){var e=n.props,t=e.debug,r=e.getHelpers,o=e.run,i=e.stepIndex;n.store=new ae(D(D({},n.props),{},{controlled:o&&a.a.number(i)})),n.helpers=n.store.getHelpers();var s=n.store.addListener;return re({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),s(n.syncState),r(n.helpers),n.store.getState()})),P(H(n),"callback",(function(e){var t=n.props.callback;a.a.function(t)&&t(e)})),P(H(n),"handleKeyboard",(function(e){var t=n.state,r=t.index,o=t.lifecycle,i=n.props.steps[r],a=window.Event?e.which:e.keyCode;o===G.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),P(H(n),"syncState",(function(e){n.setState(e)})),P(H(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),P(H(n),"shouldScroll",(function(e,t,n,r,o,i,a){return!e&&(0!==t||n||r===G.TOOLTIP)&&"center"!==o.placement&&(!o.isFixed||!de(i))&&a.lifecycle!==r&&-1!==[G.BEACON,G.TOOLTIP].indexOf(r)})),n.state=n.initStore(),n}return A(Joyride,[{key:"componentDidMount",value:function(){if(K){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,r=e.run,o=e.steps,i=this.store.start;we(o,n)&&r&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(K){var n=this.state,o=n.action,i=n.controlled,s=n.index,u=n.lifecycle,c=n.status,l=this.props,f=l.debug,p=l.run,d=l.stepIndex,h=l.steps,m=e.steps,y=e.stepIndex,v=this.store,b=v.setSteps,_=v.reset,k=v.start,O=v.stop,w=v.update,j=g(e,this.props).changed,E=g(t,this.state),C=E.changed,S=E.changedFrom,T=ke(h[s],this.props),x=!function e(t,n){var o,i=Object(r.isValidElement)(t)||Object(r.isValidElement)(n),s=a.a.undefined(t)||a.a.undefined(n);if(Y(t)!==Y(n)||i||s)return!1;if(a.a.domElement(t))return t.isSameNode(n);if(a.a.number(t))return t===n;if(a.a.function(t))return t.toString()===n.toString();for(var u in t)if(J(t,u)){if(void 0===t[u]||void 0===n[u])return!1;if(o=Y(t[u]),-1!==["object","array"].indexOf(o)&&e(t[u],n[u]))continue;if("function"===o&&e(t[u],n[u]))continue;if(t[u]!==n[u])return!1}for(var c in n)if(J(n,c)&&void 0===t[c])return!1;return!0}(m,h),I=a.a.number(d)&&j("stepIndex"),A=ce(null==T?void 0:T.target);if(x&&(we(h,f)?b(h):console.warn("Steps are not valid",h)),j("run")&&(p?k(d):O()),I){var P=y<d?W.NEXT:W.PREV;o===W.STOP&&(P=W.START),-1===[$.FINISHED,$.SKIPPED].indexOf(c)&&w({action:o===W.CLOSE?W.CLOSE:P,index:d,lifecycle:G.INIT})}i||c!==$.RUNNING||0!==s||A||(this.store.update({index:s+1}),this.callback(D(D({},this.state),{},{type:V.TARGET_NOT_FOUND,step:T})));var R=D(D({},this.state),{},{index:s,step:T});if(C("action",[W.NEXT,W.PREV,W.SKIP,W.CLOSE])&&C("status",$.PAUSED)){var L=ke(h[t.index],this.props);this.callback(D(D({},R),{},{index:t.index,lifecycle:G.COMPLETE,step:L,type:V.STEP_AFTER}))}if(C("status",[$.FINISHED,$.SKIPPED])){var M=ke(h[t.index],this.props);i||this.callback(D(D({},R),{},{index:t.index,lifecycle:G.COMPLETE,step:M,type:V.STEP_AFTER})),this.callback(D(D({},R),{},{type:V.TOUR_END,step:M,index:t.index})),_()}else S("status",[$.IDLE,$.READY],$.RUNNING)?this.callback(D(D({},R),{},{type:V.TOUR_START})):(C("status")||C("action",W.RESET))&&this.callback(D(D({},R),{},{type:V.TOUR_STATUS}));T&&(this.scrollToStep(t),"center"===T.placement&&c===$.RUNNING&&u===G.INIT&&this.store.update({lifecycle:G.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,r=t.lifecycle,o=t.status,i=this.props,a=i.debug,s=i.disableScrolling,u=i.disableScrollParentFix,c=i.scrollToFirstStep,l=i.scrollOffset,f=i.scrollDuration,p=ke(i.steps[n],this.props);if(p){var d=ce(p.target),h=this.shouldScroll(s,n,c,r,p,d,e);if(o===$.RUNNING&&h){var m=pe(d,u),g=fe(d,u),y=Math.floor(me(d,l,u))||0;if(re({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:r},{key:"status",value:o}],debug:a}),r===G.BEACON&&this.beaconPopper){var v=this.beaconPopper,b=v.placement,_=v.popper;-1!==["bottom"].indexOf(b)||m||(y=Math.floor(_.top-l))}else if(r===G.TOOLTIP&&this.tooltipPopper){var k=this.tooltipPopper,w=k.flipped,j=k.placement,E=k.popper;-1===["top","right","left"].indexOf(j)||w||m?y-=p.spotlightPadding:y=Math.floor(E.top-l)}y=y>=0?y:0,o===$.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:se(),n=arguments.length>2?arguments[2]:void 0;new Promise((function(r,o){var i=t.scrollTop,a=e>i?e-i:i-e;O.a.top(t,e,{duration:a<100?50:n},(function(e){return e&&"Element already at target scroll position"!==e.message?o(e):r()}))}))}(y,g,f)}}}},{key:"render",value:function(){if(!K)return null;var e,t=this.state,n=t.index,r=t.status,i=this.props,a=i.continuous,s=i.debug,u=i.disableScrolling,c=i.scrollToFirstStep,l=ke(i.steps[n],this.props);return r===$.RUNNING&&l&&(e=o.a.createElement(Fe,R({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!u&&(0!==n||c),step:l,update:this.store.update}))),o.a.createElement("div",{className:"react-joyride"},e)}}]),Joyride}(o.a.Component);P(ze,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});t.e=ze},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,,,,function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||o(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=n(501);function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u,c,l,f,p=n(0),d=/<(\/)?(\w+)\s*(\/)?>/g;function h(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}var m=function(e){var t="object"===Object(a.a)(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(p.isValidElement)(e)}))};function g(e){var t=function(){var e=d.exec(u);if(null===e)return["no-more-tokens"];var t=e.index,n=i(e,4),r=n[0],o=n[1],a=n[2],s=n[3],c=r.length;if(s)return["self-closed",a,t,c];if(o)return["closer",a,t,c];return["opener",a,t,c]}(),n=i(t,4),r=n[0],o=n[1],a=n[2],m=n[3],g=f.length,b=a>c?c:null;if(!e[o])return y(),!1;switch(r){case"no-more-tokens":if(0!==g){var _=f.pop(),k=_.leadingTextStart,O=_.tokenStart;l.push(u.substr(k,O))}return y(),!1;case"self-closed":return 0===g?(null!==b&&l.push(u.substr(b,a-b)),l.push(e[o]),c=a+m,!0):(v(h(e[o],a,m)),c=a+m,!0);case"opener":return f.push(h(e[o],a,m,a+m,b)),c=a+m,!0;case"closer":if(1===g)return function(e){var t=f.pop(),n=t.element,r=t.leadingTextStart,o=t.prevOffset,i=t.tokenStart,a=t.children,c=e?u.substr(o,e-o):u.substr(o);c&&a.push(c);null!==r&&l.push(u.substr(r,i-r));l.push(p.cloneElement.apply(void 0,[n,null].concat(s(a))))}(a),c=a+m,!0;var w=f.pop(),j=u.substr(w.prevOffset,a-w.prevOffset);w.children.push(j),w.prevOffset=a+m;var E=h(w.element,w.tokenStart,w.tokenLength,a+m);return E.children=w.children,v(E),c=a+m,!0;default:return y(),!1}}function y(){var e=u.length-c;0!==e&&l.push(u.substr(c,e))}function v(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,i=e.children,a=f[f.length-1],c=u.substr(a.prevOffset,n-a.prevOffset);c&&a.children.push(c),a.children.push(p.cloneElement.apply(void 0,[t,null].concat(s(i)))),a.prevOffset=o||n+r}t.a=function(e,t){if(u=e,c=0,l=[],f=[],d.lastIndex=0,!m(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return p.createElement.apply(void 0,[p.Fragment,null].concat(s(l)))}},,,,,,,,,,,function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},,function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(23)),a=n(2),s=r(n(1169)),u=r(n(1170)),c=r(n(248)),l=r(n(1171)),f=r(n(820)),p=r(n(1172)),d=r(n(1173)),h=r(n(1174)),m=n(822);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v={Accept:"application/json, */*;q=0.1"},b={credentials:"include"},_=[d.default,f.default,p.default,l.default];var k=function(e){if(e.status>=200&&e.status<300)return e;throw e},O=function(e){var t=e.url,n=e.path,r=e.data,o=e.parse,s=void 0===o||o,u=(0,i.default)(e,["url","path","data","parse"]),c=e.body,l=e.headers;return l=y({},v,{},l),r&&(c=JSON.stringify(r),l["Content-Type"]="application/json"),window.fetch(t||n,y({},b,{},u,{body:c,headers:l})).then((function(e){return Promise.resolve(e).then(k).catch((function(e){return(0,m.parseAndThrowError)(e,s)})).then((function(e){return(0,m.parseResponseAndNormalizeError)(e,s)}))}),(function(){throw{code:"fetch_error",message:(0,a.__)("You are probably offline.")}}))};function w(e){var t=[].concat(_,[O]);return new Promise((function(n,r){(function e(n){return function(r){var o=t[n];return n===t.length-1?o(r):o(r,e(n+1))}})(0)(e).then(n).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return r(t);window.fetch(w.nonceEndpoint).then(k).then((function(e){return e.text()})).then((function(t){w.nonceMiddleware.nonce=t,w(e).then(n).catch(r)})).catch(r)}))}))}w.use=function(e){_.unshift(e)},w.setFetchHandler=function(e){O=e},w.createNonceMiddleware=s.default,w.createPreloadingMiddleware=c.default,w.createRootURLMiddleware=u.default,w.fetchAllMiddleware=l.default,w.mediaUploadMiddleware=h.default;var j=w;t.default=j},,function(e,t,n){"use strict";var r=["innerHTML","ownerDocument","style","attributes","nodeValue"],o=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],i=["bigint","boolean","null","number","string","symbol","undefined"];function a(e){var t,n=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(n)?"HTMLElement":(t=n,o.includes(t)?n:void 0)}function s(e){return function(t){return a(t)===e}}function u(e){return function(t){return typeof t===e}}function c(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(c.array(e))return"Array";if(c.plainFunction(e))return"Function";var t=a(e);return t||"Object"}c.array=Array.isArray,c.arrayOf=function(e,t){return!(!c.array(e)&&!c.function(t))&&e.every((function(e){return t(e)}))},c.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===a(e)},c.asyncFunction=s("AsyncFunction"),c.bigint=u("bigint"),c.boolean=function(e){return!0===e||!1===e},c.date=s("Date"),c.defined=function(e){return!c.undefined(e)},c.domElement=function(e){return c.object(e)&&!c.plainObject(e)&&1===e.nodeType&&c.string(e.nodeName)&&r.every((function(t){return t in e}))},c.empty=function(e){return c.string(e)&&0===e.length||c.array(e)&&0===e.length||c.object(e)&&!c.map(e)&&!c.set(e)&&0===Object.keys(e).length||c.set(e)&&0===e.size||c.map(e)&&0===e.size},c.error=s("Error"),c.function=u("function"),c.generator=function(e){return c.iterable(e)&&c.function(e.next)&&c.function(e.throw)},c.generatorFunction=s("GeneratorFunction"),c.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},c.iterable=function(e){return!c.nullOrUndefined(e)&&c.function(e[Symbol.iterator])},c.map=s("Map"),c.nan=function(e){return Number.isNaN(e)},c.null=function(e){return null===e},c.nullOrUndefined=function(e){return c.null(e)||c.undefined(e)},c.number=function(e){return u("number")(e)&&!c.nan(e)},c.numericString=function(e){return c.string(e)&&e.length>0&&!Number.isNaN(Number(e))},c.object=function(e){return!c.nullOrUndefined(e)&&(c.function(e)||"object"==typeof e)},c.oneOf=function(e,t){return!!c.array(e)&&e.indexOf(t)>-1},c.plainFunction=s("Function"),c.plainObject=function(e){if("Object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},c.primitive=function(e){return c.null(e)||(t=typeof e,i.includes(t));var t},c.promise=s("Promise"),c.propertyOf=function(e,t,n){if(!c.object(e)||!t)return!1;var r=e[t];return c.function(n)?n(r):c.defined(r)},c.regexp=s("RegExp"),c.set=s("Set"),c.string=u("string"),c.symbol=u("symbol"),c.undefined=u("undefined"),c.weakMap=s("WeakMap"),c.weakSet=s("WeakSet"),t.a=c},function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return f}));var r=n(13),o=n(2);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e){if("undefined"==typeof window)return!1;e=window}const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}const a=9,s=13,u=27,c=32,l=35,f=36,p="alt",d="ctrl",h="meta",m="shift",g={primary:e=>e()?[h]:[d],primaryShift:e=>e()?[m,h]:[d,m],primaryAlt:e=>e()?[p,h]:[d,p],secondary:e=>e()?[m,p,h]:[d,m,p],access:e=>e()?[d,p]:[m,p],ctrl:()=>[d],alt:()=>[p],ctrlShift:()=>[d,m],shift:()=>[m],shiftAlt:()=>[m,p],undefined:()=>[]},y=(Object(r.mapValues)(g,e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[...e(n),t.toLowerCase()].join("+")}),Object(r.mapValues)(g,e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const o=n(),a={[p]:o?"⌥":"Alt",[d]:o?"⌃":"Ctrl",[h]:"⌘",[m]:o?"⇧":"Shift"},s=e(n).reduce((e,t)=>{const n=Object(r.get)(a,t,t);return o?[...e,n]:[...e,n,"+"]},[]),u=Object(r.capitalize)(t);return[...s,u]}));Object(r.mapValues)(y,e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,n).join("")}),Object(r.mapValues)(g,e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const a=n(),s={[m]:"Shift",[h]:a?"Command":"Control",[d]:"Control",[p]:a?"Option":"Alt", /* translators: comma as in the character ',' */ ",":Object(o.__)("Comma"), /* translators: period as in the character '.' */ ".":Object(o.__)("Period"), /* translators: backtick as in the character '`' */ "`":Object(o.__)("Backtick")};return[...e(n),t].map(e=>Object(r.capitalize)(Object(r.get)(s,e,e))).join(a?" ":" + ")});function v(e){return[p,d,h,m].filter(t=>e[t+"Key"])}Object(r.mapValues)(g,e=>function(t,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;const a=e(o),s=v(t);if(Object(r.xor)(a,s).length)return!1;let u=t.key.toLowerCase();return n?(t.altKey&&1===n.length&&(u=String.fromCharCode(t.keyCode).toLowerCase()),"del"===n&&(n="delete"),u===n.toLowerCase()):Object(r.includes)(a,u)})},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,s=n,u=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<u;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];return s={args:i,val:e.apply(null,i)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},,,,,,,,,,,,function(e,t,n){var r=n(1207);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(33),o=n(215);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},,,,,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(0);var o=e=>{const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),t};const i="undefined"!=typeof performance?performance:Date,a=()=>i.now();function s(e,t=30,n=!1){const i=o(e),s=1e3/t,u=r.useRef(0),c=r.useRef(),l=()=>c.current&&clearTimeout(c.current),f=[t,n,i];function p(){u.current=0,l()}return r.useEffect(()=>p,f),r.useCallback((function(){const e=arguments,t=a(),r=()=>{u.current=t,l(),i.current.apply(null,e)},o=u.current;if(n&&0===o)return r();if(t-o>s){if(o>0)return r();u.current=t}l(),c.current=setTimeout(()=>{r(),u.current=0},s)}),f)}var u=n.n(r).a["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];var c=function(e,t,n,o){const i=r.useRef(n),a=r.useRef(o);u(()=>{i.current=n,a.current=o}),u(()=>{const n=e&&"current"in e?e.current:e;if(!n)return;let r=0;function o(...e){r||i.current.apply(this,e)}n.addEventListener(t,o);const s=a.current;return()=>{r=1,n.removeEventListener(t,o),s&&s()}},[e,t])};const l={},f="undefined"==typeof window?null:window,p=()=>[document.documentElement.clientWidth,document.documentElement.clientHeight],d=(e=l)=>{const{fps:t,leading:n,initialWidth:o=0,initialHeight:i=0}=e,[a,u]=function(e,t,n){const o=r.useState(e);return[o[0],s(o[1],t,n)]}("undefined"==typeof document?[o,i]:p,t,n),d=()=>u(p);return c(f,"resize",d),c(f,"orientationchange",d),a},h=e=>d(e)[0]},,,,,,,,function(e,t,n){e.exports=n(1199)()},,,function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(1205),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=60)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},161:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a=n(4);n.d(t,"MDCDialogFoundation",(function(){return s}));var s=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.isOpen_=!1,r.animationFrame_=0,r.animationTimer_=0,r.layoutFrame_=0,r.escapeKeyAction_=a.strings.CLOSE_ACTION,r.scrimClickAction_=a.strings.CLOSE_ACTION,r.autoStackButtons_=!0,r.areButtonsStacked_=!1,r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a.cssClasses},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a.strings},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a.numbers},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.adapter_.hasClass(a.cssClasses.STACKED)&&this.setAutoStackButtons(!1)},t.prototype.destroy=function(){this.isOpen_&&this.close(a.strings.DESTROY_ACTION),this.animationTimer_&&(clearTimeout(this.animationTimer_),this.handleAnimationTimerEnd_()),this.layoutFrame_&&(cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=0)},t.prototype.open=function(){var e=this;this.isOpen_=!0,this.adapter_.notifyOpening(),this.adapter_.addClass(a.cssClasses.OPENING),this.runNextAnimationFrame_((function(){e.adapter_.addClass(a.cssClasses.OPEN),e.adapter_.addBodyClass(a.cssClasses.SCROLL_LOCK),e.layout(),e.animationTimer_=setTimeout((function(){e.handleAnimationTimerEnd_(),e.adapter_.trapFocus(),e.adapter_.notifyOpened()}),a.numbers.DIALOG_ANIMATION_OPEN_TIME_MS)}))},t.prototype.close=function(e){var t=this;void 0===e&&(e=""),this.isOpen_&&(this.isOpen_=!1,this.adapter_.notifyClosing(e),this.adapter_.addClass(a.cssClasses.CLOSING),this.adapter_.removeClass(a.cssClasses.OPEN),this.adapter_.removeBodyClass(a.cssClasses.SCROLL_LOCK),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout((function(){t.adapter_.releaseFocus(),t.handleAnimationTimerEnd_(),t.adapter_.notifyClosed(e)}),a.numbers.DIALOG_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpen_},t.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction_},t.prototype.setEscapeKeyAction=function(e){this.escapeKeyAction_=e},t.prototype.getScrimClickAction=function(){return this.scrimClickAction_},t.prototype.setScrimClickAction=function(e){this.scrimClickAction_=e},t.prototype.getAutoStackButtons=function(){return this.autoStackButtons_},t.prototype.setAutoStackButtons=function(e){this.autoStackButtons_=e},t.prototype.layout=function(){var e=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){e.layoutInternal_(),e.layoutFrame_=0}))},t.prototype.handleInteraction=function(e){var t="click"===e.type,n="Enter"===e.key||13===e.keyCode,r="Space"===e.key||32===e.keyCode,o=this.adapter_.eventTargetMatches(e.target,a.strings.SCRIM_SELECTOR),i=!this.adapter_.eventTargetMatches(e.target,a.strings.SUPPRESS_DEFAULT_PRESS_SELECTOR);if(t&&o&&""!==this.scrimClickAction_)this.close(this.scrimClickAction_);else if(t||r||n){var s=this.adapter_.getActionFromEvent(e);s?this.close(s):n&&i&&this.adapter_.clickDefaultButton()}},t.prototype.handleDocumentKeydown=function(e){("Escape"===e.key||27===e.keyCode)&&""!==this.escapeKeyAction_&&this.close(this.escapeKeyAction_)},t.prototype.layoutInternal_=function(){this.autoStackButtons_&&this.detectStackedButtons_(),this.detectScrollableContent_()},t.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter_.removeClass(a.cssClasses.OPENING),this.adapter_.removeClass(a.cssClasses.CLOSING)},t.prototype.runNextAnimationFrame_=function(e){var t=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame((function(){t.animationFrame_=0,clearTimeout(t.animationTimer_),t.animationTimer_=setTimeout(e,0)}))},t.prototype.detectStackedButtons_=function(){this.adapter_.removeClass(a.cssClasses.STACKED);var e=this.adapter_.areButtonsStacked();e&&this.adapter_.addClass(a.cssClasses.STACKED),e!==this.areButtonsStacked_&&(this.adapter_.reverseButtons(),this.areButtonsStacked_=e)},t.prototype.detectScrollableContent_=function(){this.adapter_.removeClass(a.cssClasses.SCROLLABLE),this.adapter_.isContentScrollable()&&this.adapter_.addClass(a.cssClasses.SCROLLABLE)},t}(i);t.default=s},172:function(e,t,n){"use strict";n.r(t);var r={};function o(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(i(n,t))return n;n=n.parentElement}return null}function i(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}n.r(r),n.d(r,"closest",(function(){return o})),n.d(r,"matches",(function(){return i})),n.d(t,"ponyfill",(function(){return r}))},23:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="mdc-dialog",o={BASE:r,CONTAINER:r+"__container",SURFACE:r+"__surface",TITLE:r+"__title",CONTENT:r+"__content",ACTIONS:r+"__actions",BUTTON:r+"__button",DEFAULT_BUTTON:r+"__button--default",SCRIM:r+"__scrim"};t.cssClasses=o,t.LAYOUT_EVENTS=["resize","orientationchange"]},4:function(e,t,n){"use strict";n.r(t),n.d(t,"cssClasses",(function(){return r})),n.d(t,"strings",(function(){return o})),n.d(t,"numbers",(function(){return i}));var r={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked"},o={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DEFAULT_BUTTON_SELECTOR:".mdc-dialog__button--default",DESTROY_ACTION:"destroy",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},i={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150}},44:function(e,t,n){var r,o,i=n(62),a=n(63),s=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function u(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,c=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),l={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f={activate:function(e){if(!l.active){k(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:c.onActivate;return t&&t(),d(),f}},deactivate:p,pause:function(){!l.paused&&l.active&&(l.paused=!0,h())},unpause:function(){l.paused&&l.active&&(l.paused=!1,k(),d())}};return f;function p(e){if(l.active){clearTimeout(r),h(),l.active=!1,l.paused=!1,s.deactivateTrap(f);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:c.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:c.returnFocusOnDeactivate)&&u((function(){O(l.nodeFocusedBeforeActivation)})),f}}function d(){if(l.active)return s.activateTrap(f),r=u((function(){O(g())})),n.addEventListener("focusin",v,!0),n.addEventListener("mousedown",y,{capture:!0,passive:!1}),n.addEventListener("touchstart",y,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),f}function h(){if(l.active)return n.removeEventListener("focusin",v,!0),n.removeEventListener("mousedown",y,!0),n.removeEventListener("touchstart",y,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",b,!0),f}function m(e){var t=c[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function g(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:l.firstTabbableNode||m("fallbackFocus")))throw new Error("You can't have a focus-trap without at least one focusable element");return e}function y(e){o.contains(e.target)||(c.clickOutsideDeactivates?p({returnFocus:!i.isFocusable(e.target)}):e.preventDefault())}function v(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),O(l.mostRecentlyFocusedNode||g()))}function b(e){if(!1!==c.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(k(),e.shiftKey&&e.target===l.firstTabbableNode)return e.preventDefault(),void O(l.lastTabbableNode);e.shiftKey||e.target!==l.lastTabbableNode||(e.preventDefault(),O(l.firstTabbableNode))}(e)}function _(e){c.clickOutsideDeactivates||o.contains(e.target)||(e.preventDefault(),e.stopImmediatePropagation())}function k(){var e=i(o);l.firstTabbableNode=e[0]||g(),l.lastTabbableNode=e[e.length-1]||g()}function O(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):O(g()))}}},60:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(161),f=n(61),p=n(4),d=n(172),h=s(n(64));t.DialogContent=h.default;var m=s(n(65));t.DialogFooter=m.default;var g=s(n(66));t.DialogTitle=g.default;var y=s(n(67));t.DialogButton=y.default;var v=n(23);function b(e){return e.type===g.default}var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dialogElement=u.default.createRef(),t.state={classList:new Set},t.open=function(){t.initializeFocusTrap(),t.foundation.open()},t.initializeFocusTrap=function(){t.focusTrap=t.props.children&&f.createFocusTrapInstance(t.dialogElement.current)},t.handleOpening=function(){t.props.onOpening(),v.LAYOUT_EVENTS.forEach((function(e){return window.addEventListener(e,t.handleLayout)})),document.addEventListener("keydown",t.handleDocumentKeyDown)},t.handleClosing=function(e){t.props.onClosing(e),v.LAYOUT_EVENTS.forEach((function(e){return window.removeEventListener(e,t.handleLayout)})),document.removeEventListener("keydown",t.handleDocumentKeyDown)},t.handleInteraction=function(e){return t.foundation.handleInteraction(e.nativeEvent)},t.handleDocumentKeyDown=function(e){return t.foundation.handleDocumentKeydown(e)},t.handleLayout=function(){return t.foundation.layout()},t.renderContainer=function(e){return e?u.default.createElement("div",{className:v.cssClasses.CONTAINER},u.default.createElement("div",{className:v.cssClasses.SURFACE},u.default.Children.map(e,t.renderChild))):void 0},t.renderChild=function(e,n){return b(e)||e.type===h.default?u.default.cloneElement(e,i({key:"child-"+n},e.props,{id:t.setId(e,e.props.id)})):e},t.setId=function(e,n){var r=t.props.id;if(b(e)){var o=n||r+"-title";return t.labelledBy=o,o}var i=n||r+"-content";return t.describedBy=i,i},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.open,n=e.autoStackButtons,r=e.escapeKeyAction,o=e.scrimClickAction;this.foundation=new l.MDCDialogFoundation(this.adapter),this.foundation.init(),t&&this.open(),n||this.foundation.setAutoStackButtons(n),"string"==typeof r&&this.foundation.setEscapeKeyAction(r),"string"==typeof o&&this.foundation.setScrimClickAction(o)},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.open,r=t.autoStackButtons,o=t.escapeKeyAction,i=t.scrimClickAction;if(e.autoStackButtons!==r&&this.foundation.setAutoStackButtons(r),e.escapeKeyAction!==o&&this.foundation.setEscapeKeyAction(o),e.scrimClickAction!==i&&this.foundation.setScrimClickAction(i),e.open!==n)return n?this.open():this.foundation.close()},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.state.classList,t=this.props.className;return c.default(v.cssClasses.BASE,Array.from(e),t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buttons",{get:function(){return this.dialogElement.current&&[].slice.call(this.dialogElement.current.getElementsByClassName(v.cssClasses.BUTTON))||[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.dialogElement.current&&this.dialogElement.current.querySelector("."+v.cssClasses.CONTENT)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultButton",{get:function(){return this.dialogElement.current&&this.dialogElement.current.querySelector("."+v.cssClasses.DEFAULT_BUTTON)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this,t=l.MDCDialogFoundation.strings,n=d.ponyfill.closest,r=d.ponyfill.matches;return{addClass:function(t){var n=e.state.classList;n.add(t),e.setState({classList:n})},removeClass:function(t){var n=e.state.classList;n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},addBodyClass:function(e){return document.body.classList.add(e)},removeBodyClass:function(e){return document.body.classList.remove(e)},eventTargetMatches:function(e,t){return r(e,t)},trapFocus:function(){return e.focusTrap&&e.focusTrap.activate()},releaseFocus:function(){return e.focusTrap&&e.focusTrap.deactivate()},isContentScrollable:function(){var t=e.content;return!!t&&f.isScrollable(t)},areButtonsStacked:function(){return!!e.buttons&&f.areTopsMisaligned(e.buttons)},getActionFromEvent:function(e){var r=n(e.target,"["+t.ACTION_ATTRIBUTE+"]");return r&&r.getAttribute(t.ACTION_ATTRIBUTE)},clickDefaultButton:function(){var t=e.defaultButton;t&&t.click()},reverseButtons:function(){var t=e.buttons;return t&&t.reverse().forEach((function(e){return e.parentElement&&e.parentElement.appendChild(e)}))},notifyOpening:function(){return e.handleOpening()},notifyOpened:function(){return e.props.onOpen&&e.props.onOpen()},notifyClosing:function(t){return e.handleClosing(t)},notifyClosed:function(t){return e.props.onClose&&e.props.onClose(t)}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.autoStackButtons,e.className,e.children),n=(e.escapeKeyAction,e.id),r=(e.onOpening,e.onOpen,e.onClick,e.onClosing,e.onClose,e.onKeyDown,e.open,e.scrimClickAction,e.tag),o=a(e,["autoStackButtons","className","children","escapeKeyAction","id","onOpening","onOpen","onClick","onClosing","onClose","onKeyDown","open","scrimClickAction","tag"]),s=this.renderContainer(t);return u.default.createElement(r,i({},o,{"aria-labelledby":this.labelledBy,"aria-describedby":this.describedBy,"aria-modal":!0,className:this.classes,id:n,onKeyDown:this.handleInteraction,onClick:this.handleInteraction,ref:this.dialogElement}),s,u.default.createElement("div",{className:v.cssClasses.SCRIM}))},t.defaultProps={autoStackButtons:!0,className:"",onOpening:function(){},onClosing:function(){},tag:"div",id:"mdc-dialog",open:!1,role:"alertdialog",escapeKeyAction:p.strings.CLOSE_ACTION,scrimClickAction:p.strings.CLOSE_ACTION},t}(u.default.Component);t.default=_},61:function(e,t,n){"use strict";n.r(t),n.d(t,"createFocusTrapInstance",(function(){return i})),n.d(t,"isScrollable",(function(){return a})),n.d(t,"areTopsMisaligned",(function(){return s}));var r=n(44),o=n.n(r);function i(e,t,n){return void 0===t&&(t=o.a),t(e,{clickOutsideDeactivates:!0,escapeDeactivates:!1,initialFocus:n})}function a(e){return!!e&&e.scrollHeight>e.offsetHeight}function s(e){var t=new Set;return[].forEach.call(e,(function(e){return t.add(e.offsetTop)})),t.size>1}},62:function(e,t){var n=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],r=n.join(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function i(e,t){t=t||{};var n,i,s,u=[],f=[],p=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(p=Array.prototype.slice.apply(p)).unshift(e),n=0;n<p.length;n++)a(i=p[n])&&(0===(s=c(i))?u.push(i):f.push({documentOrder:n,tabIndex:s,node:i}));return f.sort(l).map((function(e){return e.node})).concat(u)}function a(e){return!(!s(e)||function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||c(e)<0)}function s(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}i.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&a(e)},i.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,u)&&s(e)};var u=n.concat("iframe").join(",");function c(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=i},63:function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},64:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(23);t.default=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=e.tag,l=void 0===c?"div":c,f=o(e,["className","children","tag"]);return a.default.createElement(l,r({className:s.default(n,u.cssClasses.CONTENT)},f),i)}},65:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(23);t.default=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=e.tag,l=void 0===c?"footer":c,f=o(e,["className","children","tag"]);return a.default.createElement(l,r({className:s.default(n,u.cssClasses.ACTIONS)},f),i)}},66:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(23);t.default=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=e.tag,l=void 0===c?"h2":c,f=o(e,["className","children","tag"]);return a.default.createElement(l,r({className:s.default(n,u.cssClasses.TITLE)},f),i)}},67:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(23),c=i(n(68));t.default=function(e){var t,n=e.action,i=e.className,l=void 0===i?"":i,f=e.children,p=e.isDefault,d=void 0!==p&&p,h=o(e,["action","className","children","isDefault"]);return a.default.createElement(c.default,r({className:s.default(l,u.cssClasses.BUTTON,(t={},t[u.cssClasses.DEFAULT_BUTTON]=d,t)),"data-mdc-dialog-action":n},h),f)}},68:function(e,t){e.exports=i}}))},function(e,t,n){"use strict";var r=n(271);t.a=function(e){Object(r.a)((function(){e()}))}},,,function(e,t,n){var r,o,i,a,s;r=n(1177),o=n(825).utf8,i=n(1178),a=n(825).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),u=8*e.length,c=1732584193,l=-271733879,f=-1732584194,p=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[u>>>5]|=128<<u%32,n[14+(u+64>>>9<<4)]=u;var h=s._ff,m=s._gg,g=s._hh,y=s._ii;for(d=0;d<n.length;d+=16){var v=c,b=l,_=f,k=p;c=h(c,l,f,p,n[d+0],7,-680876936),p=h(p,c,l,f,n[d+1],12,-389564586),f=h(f,p,c,l,n[d+2],17,606105819),l=h(l,f,p,c,n[d+3],22,-1044525330),c=h(c,l,f,p,n[d+4],7,-176418897),p=h(p,c,l,f,n[d+5],12,1200080426),f=h(f,p,c,l,n[d+6],17,-1473231341),l=h(l,f,p,c,n[d+7],22,-45705983),c=h(c,l,f,p,n[d+8],7,1770035416),p=h(p,c,l,f,n[d+9],12,-1958414417),f=h(f,p,c,l,n[d+10],17,-42063),l=h(l,f,p,c,n[d+11],22,-1990404162),c=h(c,l,f,p,n[d+12],7,1804603682),p=h(p,c,l,f,n[d+13],12,-40341101),f=h(f,p,c,l,n[d+14],17,-1502002290),c=m(c,l=h(l,f,p,c,n[d+15],22,1236535329),f,p,n[d+1],5,-165796510),p=m(p,c,l,f,n[d+6],9,-1069501632),f=m(f,p,c,l,n[d+11],14,643717713),l=m(l,f,p,c,n[d+0],20,-373897302),c=m(c,l,f,p,n[d+5],5,-701558691),p=m(p,c,l,f,n[d+10],9,38016083),f=m(f,p,c,l,n[d+15],14,-660478335),l=m(l,f,p,c,n[d+4],20,-405537848),c=m(c,l,f,p,n[d+9],5,568446438),p=m(p,c,l,f,n[d+14],9,-1019803690),f=m(f,p,c,l,n[d+3],14,-187363961),l=m(l,f,p,c,n[d+8],20,1163531501),c=m(c,l,f,p,n[d+13],5,-1444681467),p=m(p,c,l,f,n[d+2],9,-51403784),f=m(f,p,c,l,n[d+7],14,1735328473),c=g(c,l=m(l,f,p,c,n[d+12],20,-1926607734),f,p,n[d+5],4,-378558),p=g(p,c,l,f,n[d+8],11,-2022574463),f=g(f,p,c,l,n[d+11],16,1839030562),l=g(l,f,p,c,n[d+14],23,-35309556),c=g(c,l,f,p,n[d+1],4,-1530992060),p=g(p,c,l,f,n[d+4],11,1272893353),f=g(f,p,c,l,n[d+7],16,-155497632),l=g(l,f,p,c,n[d+10],23,-1094730640),c=g(c,l,f,p,n[d+13],4,681279174),p=g(p,c,l,f,n[d+0],11,-358537222),f=g(f,p,c,l,n[d+3],16,-722521979),l=g(l,f,p,c,n[d+6],23,76029189),c=g(c,l,f,p,n[d+9],4,-640364487),p=g(p,c,l,f,n[d+12],11,-421815835),f=g(f,p,c,l,n[d+15],16,530742520),c=y(c,l=g(l,f,p,c,n[d+2],23,-995338651),f,p,n[d+0],6,-198630844),p=y(p,c,l,f,n[d+7],10,1126891415),f=y(f,p,c,l,n[d+14],15,-1416354905),l=y(l,f,p,c,n[d+5],21,-57434055),c=y(c,l,f,p,n[d+12],6,1700485571),p=y(p,c,l,f,n[d+3],10,-1894986606),f=y(f,p,c,l,n[d+10],15,-1051523),l=y(l,f,p,c,n[d+1],21,-2054922799),c=y(c,l,f,p,n[d+8],6,1873313359),p=y(p,c,l,f,n[d+15],10,-30611744),f=y(f,p,c,l,n[d+6],15,-1560198380),l=y(l,f,p,c,n[d+13],21,1309151649),c=y(c,l,f,p,n[d+4],6,-145523070),p=y(p,c,l,f,n[d+11],10,-1120210379),f=y(f,p,c,l,n[d+2],15,718787259),l=y(l,f,p,c,n[d+9],21,-343485551),c=c+v>>>0,l=l+b>>>0,f=f+_>>>0,p=p+k>>>0}return r.endian([c,l,f,p])})._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){try{return new URL(e),!0}catch{return!1}}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";function r(e){var t=function t(){return e(t.registry.select).apply(void 0,arguments)};return t.isRegistrySelector=!0,t}function o(e){return e.isRegistryControl=!0,e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}))},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1181)},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return y}));var r=n(173),o=n(370),i=n(0),a=n.n(i),s=n(411),u=(n(1),n(75)),c=n(397),l=n(399);a.a.Component;var f=function(e){function HashRouter(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(s.b)(t.props),t}return Object(o.a)(HashRouter,e),HashRouter.prototype.render=function(){return a.a.createElement(r.c,{history:this.history,children:this.props.children})},HashRouter}(a.a.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(s.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;void 0===m&&(m=h);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=Object(c.a)(e,["innerRef","navigate","onClick"]),s=i.target,l=Object(u.a)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return l.ref=h!==m&&t||n,a.a.createElement("a",l)}));var y=m((function(e,t){var n=e.component,o=void 0===n?g:n,i=e.replace,s=e.to,f=e.innerRef,y=Object(c.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.e.Consumer,null,(function(e){e||Object(l.a)(!1);var n=e.history,r=d(p(s,e.location),e.location),c=r?n.createHref(r):"",g=Object(u.a)({},y,{href:c,navigate:function(){var t=p(s,e.location);(i?n.replace:n.push)(t)}});return h!==m?g.ref=t||f:g.innerRef=f,a.a.createElement(o,g)}))})),v=function(e){return e},b=a.a.forwardRef;void 0===b&&(b=v);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,s=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,g=e.isActive,_=e.location,k=e.sensitive,O=e.strict,w=e.style,j=e.to,E=e.innerRef,C=Object(c.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.e.Consumer,null,(function(e){e||Object(l.a)(!1);var n=_||e.location,i=d(p(j,n),n),c=i.pathname,S=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=S?Object(r.f)(n.pathname,{path:S,exact:m,sensitive:k,strict:O}):null,x=!!(g?g(T,n):T),I=x?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,s):h,A=x?Object(u.a)({},w,{},f):w,P=Object(u.a)({"aria-current":x&&o||null,className:I,style:A,to:i},C);return v!==b?P.ref=t||E:P.innerRef=E,a.a.createElement(y,P)}))}))},,,,,function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,s=Object.create,u="undefined"!=typeof Reflect&&Reflect,c=u.apply,l=u.construct;c||(c=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var f,p=O(Array.prototype.forEach),d=O(Array.prototype.pop),h=O(Array.prototype.push),m=O(String.prototype.toLowerCase),g=O(String.prototype.match),y=O(String.prototype.replace),v=O(String.prototype.indexOf),b=O(String.prototype.trim),_=O(RegExp.prototype.test),k=(f=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l(f,t)});function O(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return c(e,t,r)}}function w(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=m(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function j(t){var n=s(null),r=void 0;for(r in t)c(e,t,[r])&&(n[r]=t[r]);return n}function E(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return O(n.get);if("function"==typeof n.value)return O(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var C=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),x=i(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),A=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=i(["#text"]),R=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),M=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),N=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=a(/<%[\s\S]*|[\s\S]*%>/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),B=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function G(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var $=function(){return"undefined"==typeof window?null:window},K=function(e,t){if("object"!==(void 0===e?"undefined":V(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$(),n=function DOMPurify(t){return e(t)};if(n.version="2.2.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,u=t.Node,c=t.Element,l=t.NodeFilter,f=t.NamedNodeMap,O=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,q=t.Text,X=t.Comment,Y=t.DOMParser,Q=t.trustedTypes,J=c.prototype,Z=E(J,"cloneNode"),ee=E(J,"nextSibling"),te=E(J,"childNodes"),ne=E(J,"parentNode");if("function"==typeof s){var re=o.createElement("template");re.content&&re.content.ownerDocument&&(o=re.content.ownerDocument)}var oe=K(Q,r),ie=oe&&We?oe.createHTML(""):"",ae=o,se=ae.implementation,ue=ae.createNodeIterator,ce=ae.createDocumentFragment,le=r.importNode,fe={};try{fe=j(o).documentMode?o.documentMode:{}}catch(e){}var pe={};n.isSupported="function"==typeof ne&&se&&void 0!==se.createHTMLDocument&&9!==fe;var de=N,he=F,me=z,ge=H,ye=U,ve=W,be=B,_e=null,ke=w({},[].concat(G(C),G(S),G(T),G(I),G(P))),Oe=null,we=w({},[].concat(G(R),G(L),G(D),G(M))),je=null,Se=null,Te=!0,xe=!0,Ae=!1,Re=!1,Me=!1,Ne=!1,Fe=!1,ze=!1,Be=!1,Ue=!0,We=!1,Ve=!0,$e=!0,qe=!1,Xe={},Ye=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),et=null,tt=w({},["audio","video","img","source","image","track"]),nt=null,rt=w({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml",st=at,ut=null,ct=o.createElement("form"),lt=function(e){ut&&ut===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=j(e),_e="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS):ke,Oe="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR):we,nt="ADD_URI_SAFE_ATTR"in e?w(j(rt),e.ADD_URI_SAFE_ATTR):rt,et="ADD_DATA_URI_TAGS"in e?w(j(tt),e.ADD_DATA_URI_TAGS):tt,je="FORBID_TAGS"in e?w({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?w({},e.FORBID_ATTR):{},Xe="USE_PROFILES"in e&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=e.SAFE_FOR_TEMPLATES||!1,Me=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ue=!1!==e.RETURN_DOM_IMPORT,We=e.RETURN_TRUSTED_TYPE||!1,Fe=e.FORCE_BODY||!1,Ve=!1!==e.SANITIZE_DOM,$e=!1!==e.KEEP_CONTENT,qe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,st=e.NAMESPACE||st,Re&&(xe=!1),Be&&(ze=!0),Xe&&(_e=w({},[].concat(G(P))),Oe=[],!0===Xe.html&&(w(_e,C),w(Oe,R)),!0===Xe.svg&&(w(_e,S),w(Oe,L),w(Oe,M)),!0===Xe.svgFilters&&(w(_e,T),w(Oe,L),w(Oe,M)),!0===Xe.mathMl&&(w(_e,I),w(Oe,D),w(Oe,M))),e.ADD_TAGS&&(_e===ke&&(_e=j(_e)),w(_e,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=j(Oe)),w(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&w(nt,e.ADD_URI_SAFE_ATTR),$e&&(_e["#text"]=!0),Me&&w(_e,["html","head","body"]),_e.table&&(w(_e,["tbody"]),delete je.tbody),i&&i(e),ut=e)},ft=w({},["mi","mo","mn","ms","mtext"]),pt=w({},["foreignobject","desc","title","annotation-xml"]),dt=w({},S);w(dt,T),w(dt,x);var ht=w({},I);w(ht,A);var mt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:at,tagName:"template"});var n=m(e.tagName),r=m(t.tagName);if(e.namespaceURI===it)return t.namespaceURI===at?"svg"===n:t.namespaceURI===ot?"svg"===n&&("annotation-xml"===r||ft[r]):Boolean(dt[n]);if(e.namespaceURI===ot)return t.namespaceURI===at?"math"===n:t.namespaceURI===it?"math"===n&&pt[r]:Boolean(ht[n]);if(e.namespaceURI===at){if(t.namespaceURI===it&&!pt[r])return!1;if(t.namespaceURI===ot&&!ft[r])return!1;var o=w({},["title","style","font","a","script"]);return!ht[n]&&(o[n]||!dt[n])}return!1},gt=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},yt=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Oe[e])if(ze||Be)try{gt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){var t=void 0,n=void 0;if(Fe)e="<remove></remove>"+e;else{var r=g(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=oe?oe.createHTML(e):e;if(st===at)try{t=(new Y).parseFromString(i,"text/html")}catch(e){}t&&t.documentElement||((t=se.createDocument(st,"template",null)).documentElement.innerHTML=i);var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Me?t.documentElement:a},bt=function(e){return ue.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,(function(){return l.FILTER_ACCEPT}),!1)},_t=function(e){return!(e instanceof q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof O&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},kt=function(e){return"object"===(void 0===u?"undefined":V(u))?e instanceof u:e&&"object"===(void 0===e?"undefined":V(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ot=function(e,t,r){pe[e]&&p(pe[e],(function(e){e.call(n,t,r,ut)}))},wt=function(e){var t=void 0;if(Ot("beforeSanitizeElements",e,null),_t(e))return gt(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return gt(e),!0;var r=m(e.nodeName);if(Ot("uponSanitizeElement",e,{tagName:r,allowedTags:_e}),!kt(e.firstElementChild)&&(!kt(e.content)||!kt(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return gt(e),!0;if(!_e[r]||je[r]){if($e&&!Ye[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(Z(i[a],!0),ee(e))}return gt(e),!0}return e instanceof c&&!mt(e)?(gt(e),!0):"noscript"!==r&&"noembed"!==r||!_(/<\/no(script|embed)/i,e.innerHTML)?(Re&&3===e.nodeType&&(t=e.textContent,t=y(t,de," "),t=y(t,he," "),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ot("afterSanitizeElements",e,null),!1):(gt(e),!0)},jt=function(e,t,n){if(Ve&&("id"===t||"name"===t)&&(n in o||n in ct))return!1;if(xe&&_(me,t));else if(Te&&_(ge,t));else{if(!Oe[t]||Se[t])return!1;if(nt[t]);else if(_(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!et[e])if(Ae&&!_(ye,y(n,ve,"")));else if(n)return!1}return!0},Et=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;Ot("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Oe};for(i=a.length;i--;){var u=t=a[i],c=u.name,l=u.namespaceURI;if(r=b(t.value),o=m(c),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,Ot("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(yt(c,e),s.keepAttr))if(_(/\/>/i,r))yt(c,e);else{Re&&(r=y(r,de," "),r=y(r,he," "));var f=e.nodeName.toLowerCase();if(jt(f,o,r))try{l?e.setAttributeNS(l,c,r):e.setAttribute(c,r),d(n.removed)}catch(e){}}}Ot("afterSanitizeAttributes",e,null)}},Ct=function e(t){var n=void 0,r=bt(t);for(Ot("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ot("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof a&&e(n.content),Et(n));Ot("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,s=void 0,c=void 0,l=void 0,f=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!kt(e)){if("function"!=typeof e.toString)throw k("toString is not a function");if("string"!=typeof(e=e.toString()))throw k("dirty is not a string, aborting")}if(!n.isSupported){if("object"===V(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(kt(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ne||lt(o),n.removed=[],"string"==typeof e&&(qe=!1),qe);else if(e instanceof u)1===(s=(i=vt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!ze&&!Re&&!Me&&-1===e.indexOf("<"))return oe&&We?oe.createHTML(e):e;if(!(i=vt(e)))return ze?null:ie}i&&Fe&>(i.firstChild);for(var p=bt(qe?e:i);c=p.nextNode();)3===c.nodeType&&c===l||wt(c)||(c.content instanceof a&&Ct(c.content),Et(c),l=c);if(l=null,qe)return e;if(ze){if(Be)for(f=ce.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return Ue&&(f=le.call(r,f,!0)),f}var d=Me?i.outerHTML:i.innerHTML;return Re&&(d=y(d,de," "),d=y(d,he," ")),oe&&We?oe.createHTML(d):d},n.setConfig=function(e){lt(e),Ne=!0},n.clearConfig=function(){ut=null,Ne=!1},n.isValidAttribute=function(e,t,n){ut||lt({});var r=m(e),o=m(t);return jt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],h(pe[e],t))},n.removeHook=function(e){pe[e]&&d(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}()}()},,,,,,,,,,,function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(631),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=55)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},167:function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(26),i={CHECKMARK_SELECTOR:".mdc-chip__checkmark",ENTRY_ANIMATION_NAME:"mdc-chip-entry",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction",TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"},a={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",SELECTED:"mdc-chip--selected",TRAILING_ICON:"mdc-chip__icon--trailing"};n.d(t,"MDCChipFoundation",(function(){return u}));var s={bottom:0,height:0,left:0,right:0,top:0,width:0},u=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.shouldRemoveOnTrailingIconClick_=!0,o}return r.b(t,e),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},getCheckmarkBoundingClientRect:function(){return s},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return s},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},notifyInteraction:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){},removeClass:function(){},removeClassFromLeadingIcon:function(){},setStyleProperty:function(){}}},enumerable:!0,configurable:!0}),t.prototype.isSelected=function(){return this.adapter_.hasClass(a.SELECTED)},t.prototype.setSelected=function(e){e?this.adapter_.addClass(a.SELECTED):this.adapter_.removeClass(a.SELECTED),this.adapter_.notifySelection(e)},t.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick_},t.prototype.setShouldRemoveOnTrailingIconClick=function(e){this.shouldRemoveOnTrailingIconClick_=e},t.prototype.getDimensions=function(){var e=this,t=function(){return e.adapter_.getRootBoundingClientRect()};if(!this.adapter_.hasLeadingIcon()){var n=e.adapter_.getCheckmarkBoundingClientRect();if(n){var r=t();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width+n.height}}}return t()},t.prototype.beginExit=function(){this.adapter_.addClass(a.CHIP_EXIT)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter_.notifyInteraction()},t.prototype.handleTransitionEnd=function(e){var t=this;if(this.adapter_.eventTargetHasClass(e.target,a.CHIP_EXIT)){if("width"===e.propertyName)this.adapter_.notifyRemoval();else if("opacity"===e.propertyName){var n=this.adapter_.getComputedStyleValue("width");requestAnimationFrame((function(){t.adapter_.setStyleProperty("width",n),t.adapter_.setStyleProperty("padding","0"),t.adapter_.setStyleProperty("margin","0"),requestAnimationFrame((function(){t.adapter_.setStyleProperty("width","0")}))}))}}else"opacity"===e.propertyName&&(this.adapter_.eventTargetHasClass(e.target,a.LEADING_ICON)&&this.adapter_.hasClass(a.SELECTED)?this.adapter_.addClassToLeadingIcon(a.HIDDEN_LEADING_ICON):this.adapter_.eventTargetHasClass(e.target,a.CHECKMARK)&&!this.adapter_.hasClass(a.SELECTED)&&this.adapter_.removeClassFromLeadingIcon(a.HIDDEN_LEADING_ICON))},t.prototype.handleTrailingIconInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;e.stopPropagation(),("click"===e.type||t)&&(this.adapter_.notifyTrailingIconInteraction(),this.shouldRemoveOnTrailingIconClick_&&this.beginExit())},t}(o.a);t.default=u},173:function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(26),i={CHIP_SELECTOR:".mdc-chip"},a={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"};n.d(t,"MDCChipSetFoundation",(function(){return s}));var s=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.selectedChipIds_=[],o}return r.b(t,e),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},removeChip:function(){},setSelected:function(){}}},enumerable:!0,configurable:!0}),t.prototype.getSelectedChipIds=function(){return this.selectedChipIds_.slice()},t.prototype.select=function(e){if(!(this.selectedChipIds_.indexOf(e)>=0)){if(this.adapter_.hasClass(a.CHOICE)&&this.selectedChipIds_.length>0){var t=this.selectedChipIds_[0];this.selectedChipIds_.length=0,this.adapter_.setSelected(t,!1)}this.selectedChipIds_.push(e),this.adapter_.setSelected(e,!0)}},t.prototype.handleChipInteraction=function(e){(this.adapter_.hasClass(a.CHOICE)||this.adapter_.hasClass(a.FILTER))&&this.toggleSelect_(e)},t.prototype.handleChipSelection=function(e,t){var n=this.selectedChipIds_.indexOf(e)>=0;t&&!n?this.select(e):!t&&n&&this.deselect_(e)},t.prototype.handleChipRemoval=function(e){this.deselect_(e),this.adapter_.removeChip(e)},t.prototype.deselect_=function(e){var t=this.selectedChipIds_.indexOf(e);t>=0&&(this.selectedChipIds_.splice(t,1),this.adapter_.setSelected(e,!1))},t.prototype.toggleSelect_=function(e){this.selectedChipIds_.indexOf(e)>=0?this.deselect_(e):this.select(e)},t}(o.a);t.default=s},21:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)}},26:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},40:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.width=0,t.init=function(e){e&&(t.width=e.getBoundingClientRect().height)},t}return o(t,e),t.prototype.render=function(){return a.default.createElement("div",{className:"mdc-chip__checkmark",ref:this.init},a.default.createElement("svg",{className:"mdc-chip__checkmark-svg",viewBox:"-2 -3 30 30",focusable:"false"},a.default.createElement("path",{className:"mdc-chip__checkmark-path",fill:"none",stroke:"black",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})))},t}(a.default.Component);t.default=s},5:function(e,t){e.exports=i},55:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(56));t.Chip=o.default;var i=r(n(40));t.ChipCheckmark=i.default;var a=r(n(57));t.ChipSet=a.default},56:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(5),f=n(167),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.chipElement=null,t.state={classList:new Set,leadingIconClassList:new Set},t.init=function(e){t.chipElement=e,t.props.initRipple&&t.props.initRipple(e)},t.onClick=function(e){t.props.onClick(e),t.foundation.handleInteraction(e.nativeEvent)},t.onKeyDown=function(e){t.props.onKeyDown(e),t.foundation.handleInteraction(e.nativeEvent)},t.handleTrailingIconClick=function(e){return t.foundation.handleTrailingIconInteraction(e.nativeEvent)},t.handleTransitionEnd=function(e){t.props.onTransitionEnd(e),t.foundation.handleTransitionEnd(e.nativeEvent)},t.renderLeadingIcon=function(e){var n=t.state.leadingIconClassList,r=e.props,o=r.className,s=a(r,["className"]),l=i({className:c.default(o,Array.from(n),"mdc-chip__icon","mdc-chip__icon--leading")},s);return u.default.cloneElement(e,l)},t.renderTrailingIcon=function(e){var n=e.props,r=n.className,o=a(n,["className"]),s=i({className:c.default(r,"mdc-chip__icon","mdc-chip__icon--trailing"),onClick:t.handleTrailingIconClick,onKeyDown:t.handleTrailingIconClick,tabIndex:0,role:"button"},o);return u.default.cloneElement(e,s)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.selected,n=e.shouldRemoveOnTrailingIconClick;this.foundation=new f.MDCChipFoundation(this.adapter),this.foundation.init(),this.foundation.setSelected(t),n!==this.foundation.getShouldRemoveOnTrailingIconClick()&&this.foundation.setShouldRemoveOnTrailingIconClick(n)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.selected,r=t.shouldRemoveOnTrailingIconClick;n!==e.selected&&this.foundation.setSelected(n),r!==e.shouldRemoveOnTrailingIconClick&&this.foundation.setShouldRemoveOnTrailingIconClick(r)},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.state.classList,t=this.props.className;return c.default("mdc-chip",Array.from(e),t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){var n=new Set(e.state.classList);n.add(t),e.setState({classList:n})},removeClass:function(t){var n=new Set(e.state.classList);n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},hasLeadingIcon:function(){return Boolean(e.props.leadingIcon)},eventTargetHasClass:function(e,t){return e.classList.contains(t)},getComputedStyleValue:function(t){return e.chipElement?window.getComputedStyle(e.chipElement).getPropertyValue(t):""},getRootBoundingClientRect:function(){return e.chipElement?e.chipElement.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},getCheckmarkBoundingClientRect:function(){var t=e.props.chipCheckmark;return t&&t.props&&t.props.getBoundingClientRect?t.props.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},setStyleProperty:function(t,n){e.chipElement&&e.chipElement.style.setProperty(t,n)},notifyRemoval:function(){return e.props.handleRemove(e.props.id)},notifyInteraction:function(){return e.props.handleInteraction(e.props.id)},notifySelection:function(t){return e.props.handleSelect(e.props.id,t)},notifyTrailingIconInteraction:function(){return e.props.handleTrailingIconInteraction(e.props.id)},addClassToLeadingIcon:function(t){var n=new Set(e.state.leadingIconClassList);n.add(t),e.setState({leadingIconClassList:n})},removeClassFromLeadingIcon:function(t){var n=new Set(e.state.leadingIconClassList);n.delete(t),e.setState({leadingIconClassList:n})}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.id,e.className,e.selected,e.handleSelect,e.handleInteraction,e.handleRemove,e.handleTrailingIconInteraction,e.onClick,e.onKeyDown,e.onTransitionEnd,e.computeBoundingRect,e.initRipple,e.unbounded,e.shouldRemoveOnTrailingIconClick,e.chipCheckmark),n=e.leadingIcon,r=e.trailingIcon,o=e.label,s=a(e,["id","className","selected","handleSelect","handleInteraction","handleRemove","handleTrailingIconInteraction","onClick","onKeyDown","onTransitionEnd","computeBoundingRect","initRipple","unbounded","shouldRemoveOnTrailingIconClick","chipCheckmark","leadingIcon","trailingIcon","label"]);return u.default.createElement("div",i({tabIndex:0,className:this.classes,onClick:this.onClick,onKeyDown:this.onKeyDown,onTransitionEnd:this.handleTransitionEnd,ref:this.init},s),n&&this.renderLeadingIcon(n),t,u.default.createElement("div",{className:"mdc-chip__text"},o),r&&this.renderTrailingIcon(r))},t.defaultProps={id:"",label:"",className:"",selected:!1,onClick:function(){},onKeyDown:function(){},onTransitionEnd:function(){},initRipple:function(){},handleSelect:function(){},handleRemove:function(){},handleInteraction:function(){},handleTrailingIconInteraction:function(){},shouldRemoveOnTrailingIconClick:!0},t}(u.default.Component);t.Chip=p,t.default=l.withRipple(p)},57:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(0)),u=n(58),c=a(n(1)),l=n(173),f=a(n(40)),p=function(e){function t(t){var n=e.call(this,t)||this;return n.checkmarkWidth=0,n.handleInteraction=function(e){n.state.foundation.handleChipInteraction(e)},n.handleSelect=function(e,t){n.state.foundation.handleChipSelection(e,t)},n.handleRemove=function(e){n.state.foundation.handleChipRemoval(e)},n.removeChip=function(e){var t=n.props,r=t.updateChips,o=t.children;if(o){for(var i=s.default.Children.toArray(o).filter(u.isElement).slice(),a=0;a<i.length;a++)if(i[a].props.id===e){i.splice(a,1);break}r(i.length?i.map((function(e){return e.props})):[])}},n.setCheckmarkWidth=function(e){!n.checkmarkWidth&&e&&(n.checkmarkWidth=e.width)},n.computeBoundingRect=function(e){var t=e.getBoundingClientRect();return{height:t.height,width:t.width+n.checkmarkWidth}},n.renderChip=function(e){if(e&&u.isElement(e)){var t=n.props,r=t.choice,o=t.filter,a=t.input;if((r||o||a)&&!e.props.id)throw new Error("Chip variant missing required property: id.");var c=n.state.selectedChipIds.indexOf(e.props.id)>-1,l=e.props,p=l.handleInteraction,d=l.handleSelect,h=l.handleRemove,m=i(l,["handleInteraction","handleSelect","handleRemove"]),g=Object.assign.apply(Object,[{}].concat(m,[{selected:c,handleSelect:function(e,t){d(e,t),n.handleSelect(e,t)},handleInteraction:function(e){p(e),n.handleInteraction(e)},handleRemove:function(e){h(e),n.handleRemove(e)},chipCheckmark:o?s.default.createElement(f.default,{ref:n.setCheckmarkWidth}):null,computeBoundingRect:o?n.computeBoundingRect:null}]));return s.default.cloneElement(e,g)}},n.state={selectedChipIds:t.selectedChipIds,foundation:null,hasInitialized:!1},n}return o(t,e),t.prototype.componentDidMount=function(){var e=new l.MDCChipSetFoundation(this.adapter);this.setState({foundation:e}),e.init()},t.prototype.componentDidUpdate=function(e,t){var n=this.props.selectedChipIds;this.state.foundation!==t.foundation&&this.initChipSelection(),n!==e.selectedChipIds&&this.setState({selectedChipIds:n})},t.prototype.componentWillUnmount=function(){this.state.foundation&&this.state.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.filter,r=e.choice,o=e.input;return c.default("mdc-chip-set",t,{"mdc-chip-set--filter":n,"mdc-chip-set--choice":r,"mdc-chip-set--input":o})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{hasClass:function(t){return e.classes.split(" ").includes(t)},setSelected:function(){var t=e.state.foundation.getSelectedChipIds().slice();e.setState({selectedChipIds:t},(function(){e.props.handleSelect(t)}))},removeChip:this.removeChip}},enumerable:!0,configurable:!0}),t.prototype.initChipSelection=function(){var e=this;s.default.Children.forEach(this.props.children,(function(t){if(t&&u.isElement(t)){var n=t.props.id;e.state.selectedChipIds.indexOf(n)>-1&&e.state.foundation.select(n)}})),this.setState({hasInitialized:!0})},t.prototype.render=function(){return this.state.hasInitialized?s.default.createElement("div",{className:this.classes},s.default.Children.map(this.props.children,this.renderChip)):null},t.defaultProps={className:"",selectedChipIds:[],handleSelect:function(){},updateChips:function(){},choice:!1,filter:!1,input:!1},t}(s.default.Component);t.default=p},58:function(e,t,n){"use strict";e.exports=n(59)},59:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,g=o?Symbol.for("react.memo"):60115,y=o?Symbol.for("react.lazy"):60116;function v(e){if("object"===(void 0===e?"undefined":r(e))&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case d:case s:case c:case u:case m:return e;default:switch(e=e&&e.$$typeof){case f:case h:case l:return e;default:return t}}case y:case g:case a:return t}}}function b(e){return v(e)===d}t.typeOf=v,t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=f,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=s,t.Lazy=y,t.Memo=g,t.Portal=a,t.Profiler=c,t.StrictMode=u,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===c||e===u||e===m||"object"===(void 0===e?"undefined":r(e))&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===f||e.$$typeof===h)},t.isAsyncMode=function(e){return b(e)||v(e)===p},t.isConcurrentMode=b,t.isContextConsumer=function(e){return v(e)===f},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return v(e)===h},t.isFragment=function(e){return v(e)===s},t.isLazy=function(e){return v(e)===y},t.isMemo=function(e){return v(e)===g},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===c},t.isStrictMode=function(e){return v(e)===u},t.isSuspense=function(e){return v(e)===m}}}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(617),o=n(745);function i(e="",t){if(!t||!Object.keys(t).length)return e;let n=e;const i=e.indexOf("?");return-1!==i&&(t=Object.assign(Object(r.a)(e),t),n=n.substr(0,i)),n+"?"+Object(o.a)(t)}},,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return __extends})),n.d(t,"a",(function(){return __assign})),n.d(t,"d",(function(){return __values})),n.d(t,"c",(function(){return __spread}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __values(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function __read(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}},function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(631),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=47)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},18:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CSS_CLASSES={ROOT:"mdc-card",OUTLINED:"mdc-card--outlined",PRIMARY_ACTION:"mdc-card__primary-action",MEDIA:"mdc-card__media",MEDIA_SQUARE:"mdc-card__media--square",MEDIA_16_9:"mdc-card__media--16-9",MEDIA_CONTENT:"mdc-card__media-content",ACTIONS:"mdc-card__actions",ACTIONS_FULL_BLEED:"mdc-card__actions--full-bleed",ACTION_BUTTONS:"mdc-card__action-buttons",ACTION_ICONS:"mdc-card__action-icons",ACTION:"mdc-card__action",ACTION_BUTTON:"mdc-card__action--button",ACTION_ICON:"mdc-card__action--icon"}},47:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=i(n(48));t.CardActionButtons=u.default;var c=i(n(49));t.CardActionIcons=c.default;var l=i(n(50));t.CardActions=l.default;var f=i(n(51));t.CardPrimaryContent=f.default;var p=i(n(52));t.CardMedia=p.default;var d=n(18);t.default=function(e){var t,n=e.children,i=e.className,u=void 0===i?"":i,c=e.outlined,l=void 0!==c&&c,f=o(e,["children","className","outlined"]),p=s.default(d.CSS_CLASSES.ROOT,u,((t={})[d.CSS_CLASSES.OUTLINED]=l,t));return a.default.createElement("div",r({className:p},f),n)}},48:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(18);t.default=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=o(e,["className","children"]),l=s.default(u.CSS_CLASSES.ACTION_BUTTONS,n);return i?a.default.createElement("div",r({className:l},c),function(e){return a.default.Children.map(e,(function(e){var t=s.default(e.props.className,u.CSS_CLASSES.ACTION,u.CSS_CLASSES.ACTION_BUTTON),n=Object.assign({},e.props,{className:t});return a.default.cloneElement(e,n)}))}(i)):null}},49:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(18);t.default=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=o(e,["className","children"]),l=s.default(u.CSS_CLASSES.ACTION_ICONS,n);return i?a.default.createElement("div",r({className:l},c),function(e){return a.default.Children.map(e,(function(e){var t=s.default(e.props.className,u.CSS_CLASSES.ACTION,u.CSS_CLASSES.ACTION_ICON),n=Object.assign({},e.props,{className:t});return a.default.cloneElement(e,n)}))}(i)):null}},5:function(e,t){e.exports=i},50:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(18);t.default=function(e){var t,n=e.className,i=void 0===n?"":n,c=e.children,l=e.fullBleed,f=void 0!==l&&l,p=o(e,["className","children","fullBleed"]),d=s.default(u.CSS_CLASSES.ACTIONS,i,((t={})[u.CSS_CLASSES.ACTIONS_FULL_BLEED]=f,t));return a.default.createElement("div",r({className:d},p),c)}},51:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(5),c=n(18);t.PrimaryContentBase=function(e){var t=e.className,n=void 0===t?"":t,i=e.initRipple,u=e.children,l=(e.unbounded,o(e,["className","initRipple","children","unbounded"])),f=s.default(c.CSS_CLASSES.PRIMARY_ACTION,n);return a.default.createElement("div",r({className:f,ref:i},l),u)},t.default=u.withRipple(t.PrimaryContentBase)},52:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(18),c=function(e){var t=e.imageUrl,n=e.style;return Object.assign({},{backgroundImage:"url("+t+")"},n)};t.default=function(e){var t,n=e.className,i=void 0===n?"":n,l=e.contentClassName,f=void 0===l?"":l,p=e.children,d=e.square,h=void 0!==d&&d,m=e.wide,g=void 0!==m&&m,y=e.imageUrl,v=void 0===y?"":y,b=e.style,_=void 0===b?{}:b,k=o(e,["className","contentClassName","children","square","wide","imageUrl","style"]),O=s.default(u.CSS_CLASSES.MEDIA,i,((t={})[u.CSS_CLASSES.MEDIA_SQUARE]=h,t[u.CSS_CLASSES.MEDIA_16_9]=g,t));return a.default.createElement("div",r({className:O,style:c({imageUrl:v,style:_})},k),function(e){var t=e.children,n=e.contentClassName;if(t){var r=s.default(u.CSS_CLASSES.MEDIA_CONTENT,n);return a.default.createElement("div",{className:r},t)}}({children:p,contentClassName:f}))}}}))},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return Redirect})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return L})),n.d(t,"h",(function(){return D})),n.d(t,"i",(function(){return M})),n.d(t,"j",(function(){return P}));var r=n(370),o=n(0),i=n.n(o),a=(n(1),n(411)),s=n(805),u=n(399),c=n(75),l=n(806),f=n.n(l),p=(n(798),n(397)),d=n(947),h=n.n(d),m=function(e){var t=Object(s.a)();return t.displayName=e,t}("Router-History"),g=function(e){var t=Object(s.a)();return t.displayName=e,t}("Router"),y=function(e){function Router(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(Router,e),Router.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=Router.prototype;return t.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function(){this.unlisten&&this.unlisten()},t.render=function(){return i.a.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:Router.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},Router}(i.a.Component);i.a.Component;var v=function(e){function Lifecycle(){return e.apply(this,arguments)||this}Object(r.a)(Lifecycle,e);var t=Lifecycle.prototype;return t.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},t.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},t.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},t.render=function(){return null},Lifecycle}(i.a.Component);var b={},_=0;function k(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(b[e])return b[e];var t=f.a.compile(e);return _<1e4&&(b[e]=t,_++),t}(e)(t,{pretty:!0})}function Redirect(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.a.createElement(g.Consumer,null,(function(e){e||Object(u.a)(!1);var r=e.history,s=e.staticContext,l=o?r.push:r.replace,f=Object(a.c)(t?"string"==typeof n?k(n,t.params):Object(c.a)({},n,{pathname:k(n.pathname,t.params)}):n);return s?(l(f),null):i.a.createElement(v,{onMount:function(){l(f)},onUpdate:function(e,t){var n=Object(a.c)(t.to);Object(a.f)(n,Object(c.a)({},f,{key:n.key}))||l(f)},to:n})}))}var O={},w=0;function j(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=O[n]||(O[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return w<1e4&&(r[e]=i,w++),i}(n,{end:i,strict:s,sensitive:c}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],p=u.slice(1),d=e===l;return i&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function Route(){return e.apply(this,arguments)||this}return Object(r.a)(Route,e),Route.prototype.render=function(){var e=this;return i.a.createElement(g.Consumer,null,(function(t){t||Object(u.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?j(n.pathname,e.props):t.match,o=Object(c.a)({},t,{location:n,match:r}),a=e.props,s=a.children,l=a.component,f=a.render;return Array.isArray(s)&&0===s.length&&(s=null),i.a.createElement(g.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:l?i.a.createElement(l,o):f?f(o):null:"function"==typeof s?s(o):null)}))},Route}(i.a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:Object(c.a)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:Object(a.e)(e)}function x(e){return function(){Object(u.a)(!1)}}function I(){}i.a.Component;var A=function(e){function Switch(){return e.apply(this,arguments)||this}return Object(r.a)(Switch,e),Switch.prototype.render=function(){var e=this;return i.a.createElement(g.Consumer,null,(function(t){t||Object(u.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?j(o.pathname,Object(c.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},Switch}(i.a.Component);function P(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(p.a)(t,["wrappedComponentRef"]);return i.a.createElement(g.Consumer,null,(function(t){return t||Object(u.a)(!1),i.a.createElement(e,Object(c.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}var R=i.a.useContext;function L(){return R(m)}function D(){return R(g).location}function M(){var e=R(g).match;return e?e.params:{}}},,,,,,,,,,,,,function(e,t){e.exports=function(e){if(navigator.clipboard)return navigator.clipboard.writeText(e).catch((function(e){throw void 0!==e?e:new DOMException("The request is not allowed","NotAllowedError")}));var t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);var n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);var o=!1;try{o=window.document.execCommand("copy")}catch(e){console.log("error",e)}return n.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))}},,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=new WeakMap;function i(e){var t=o.get(e)||0;return o.set(e,t+1),t}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.useMemo)((function(){if(n)return n;var r=i(e);return t?"".concat(t,"-").concat(r):r}),[e])}},,,,,,,,,,,,,,,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));const r=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:n,elements:r}=t;return{kind:n,elements:r,finisher(t){customElements.define(e,t)}}})(e,t),o=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function i(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):o(e,t)}function a(e){return i({...e,state:!0})}const s=({finisher:e,descriptor:t})=>(n,r)=>{var o;if(void 0===r){const r=null!==(o=n.originalKey)&&void 0!==o?o:n.key,i=null!=t?{kind:"method",placement:"prototype",key:r,descriptor:t(n.key)}:{...n,key:r};return null!=e&&(i.finisher=function(t){e(t,r)}),i}{const o=n.constructor;void 0!==t&&Object.defineProperty(n,r,t(r)),null==e||e(o,r)}};function u(e,t){return s({descriptor:n=>{const r={get(){var t,n;return null!==(n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof n?Symbol():"__"+n;r.get=function(){var n,r;return void 0===this[t]&&(this[t]=null!==(r=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(e))&&void 0!==r?r:null),this[t]}}return r}})}function c(e){return s({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}var l;null===(l=window.HTMLSlotElement)||void 0===l||l.prototype.assignedElements},function(e,t,n){"use strict";var r=n(0),o=n(513),i=["mousedown","touchstart"];t.a=function(e,t,n){void 0===n&&(n=i);var a=Object(r.useRef)(t);Object(r.useEffect)((function(){a.current=t}),[t]),Object(r.useEffect)((function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&a.current(t)},r=0,i=n;r<i.length;r++){var s=i[r];Object(o.d)(document,s,t)}return function(){for(var e=0,r=n;e<r.length;e++){var i=r[e];Object(o.c)(document,i,t)}}}),[n,e])}},,,function(e,t,n){"use strict";var r=n(615),o=n(616),i=n(501),a=n(13);var s=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function c(e){return e.replace(/</g,"<")}function l(e){return function __unstableEscapeGreaterThan(e){return e.replace(/>/g,">")}(function(e){return e.replace(/"/g,""")}(u(e)))}function f(e){return c(u(e))}var p=n(0),d=n(716);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=Object(p.createContext)(void 0),y=g.Provider,v=g.Consumer,b=Object(p.forwardRef)((function(){return null})),_=new Set(["string","boolean","number"]),k=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),O=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),w=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),j=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function E(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function C(e){return"key"===e||"children"===e}function S(e,t){switch(e){case"style":return function(e){if(!Object(a.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=x(n),i=I(n,r);t+=o+":"+i}}return t}(t)}return t}function T(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function x(e){return Object(a.startsWith)(e,"--")?e:E(e,["ms","O","Moz","Webkit"])?"-"+Object(a.kebabCase)(e):Object(a.kebabCase)(e)}function I(e,t){return"number"!=typeof t||0===t||j.has(e)?t:t+"px"}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return L(e,t,n);switch(Object(i.a)(e)){case"string":return f(e);case"number":return e.toString()}var r=e.type,s=e.props;switch(r){case p.StrictMode:case p.Fragment:return L(s.children,t,n);case d.a:var u=s.children,c=Object(o.a)(s,["children"]);return P(Object(a.isEmpty)(c)?null:"div",m(m({},c),{},{dangerouslySetInnerHTML:{__html:u}}),t,n)}switch(Object(i.a)(r)){case"string":return P(r,s,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?R(r,s,t,n):A(r(s,n),t,n)}switch(r&&r.$$typeof){case y.$$typeof:return L(s.children,s.value,n);case v.$$typeof:return A(s.children(t||r._currentValue),t,n);case b.$$typeof:return A(r.render(s),t,n)}return""}function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=L(t.value,n,r),t=Object(a.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=L(t.children,n,r)),!e)return o;var i=D(t);return k.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function R(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());var i=A(o.render(),n,r);return i}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(a.castArray)(e);for(var o=0;o<e.length;o++){var i=e[o];r+=A(i,t,n)}return r}function D(e){var t,n="";for(var r in e){var o=T(r);if(t=o,!s.test(t)){var a=S(r,e[r]);if(_.has(Object(i.a)(a))&&!C(r)){var u=O.has(o);if(!u||!1!==a){var c=u||E(r,["data-","aria-"])||w.has(o);("boolean"!=typeof a||c)&&(n+=" "+o,u||("string"==typeof a&&(a=l(a)),n+='="'+a+'"'))}}}}return n}t.a=A},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(){var e=Object(r.useRef)(!1),t=Object(r.useCallback)((function(){return e.current}),[]);return Object(r.useEffect)((function(){return e.current=!0,function(){e.current=!1}})),t}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){var n=Object(r.useState)(null),o=n[0],i=n[1];return Object(r.useEffect)((function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver((function(e){i(e[0])}),t);return n.observe(e.current),function(){i(null),n.disconnect()}}return function(){}}),[e.current,t.threshold,t.root,t.rootMargin]),o}},,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(0);function o(e,t){var n=Object(r.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),a=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}function i(e,t){return o((function(){return e}),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(397);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(165),o=n(386),i=n(566),a=n(619),s=n(568),u=function(e){function MDCRipple(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return r.b(MDCRipple,e),MDCRipple.attachTo=function(e,t){void 0===t&&(t={isUnbounded:void 0});var n=new MDCRipple(e);return void 0!==t.isUnbounded&&(n.unbounded=t.isUnbounded),n},MDCRipple.createAdapter=function(e){return{addClass:function(t){return e.root_.classList.add(t)},browserSupportsCssVars:function(){return s.c(window)},computeBoundingRect:function(){return e.root_.getBoundingClientRect()},containsEventTarget:function(t){return e.root_.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,s.a())},deregisterInteractionHandler:function(t,n){return e.root_.removeEventListener(t,n,s.a())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return Object(i.b)(e.root_,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,s.a())},registerInteractionHandler:function(t,n){return e.root_.addEventListener(t,n,s.a())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root_.classList.remove(t)},updateCssVariable:function(t,n){return e.root_.style.setProperty(t,n)}}},Object.defineProperty(MDCRipple.prototype,"unbounded",{get:function(){return Boolean(this.unbounded_)},set:function(e){this.unbounded_=Boolean(e),this.setUnbounded_()},enumerable:!0,configurable:!0}),MDCRipple.prototype.activate=function(){this.foundation_.activate()},MDCRipple.prototype.deactivate=function(){this.foundation_.deactivate()},MDCRipple.prototype.layout=function(){this.foundation_.layout()},MDCRipple.prototype.getDefaultFoundation=function(){return new a.a(MDCRipple.createAdapter(this))},MDCRipple.prototype.initialSyncWithDOM=function(){var e=this.root_;this.unbounded="mdcRippleIsUnbounded"in e.dataset},MDCRipple.prototype.setUnbounded_=function(){this.foundation_.setUnbounded(Boolean(this.unbounded_))},MDCRipple}(o.a)},,,function(e,t,n){"use strict";function r(e){var t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):r}Object.defineProperty(t,"__esModule",{value:!0}),t.getStablePath=r,t.default=void 0;var o=function(e){var t=Object.keys(e).reduce((function(t,n){return t[r(n)]=e[n],t}),{});return function(e,n){var o=e.parse,i=void 0===o||o;if("string"==typeof e.path){var a=e.method||"GET",s=r(e.path);if(i&&"GET"===a&&t[s])return Promise.resolve(t[s].body);if("OPTIONS"===a&&t[a]&&t[a][s])return Promise.resolve(t[a][s])}return n(e)}};t.default=o},,,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=n(0);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function Icon(e){var t=e.icon,n=e.size,r=void 0===n?24:n,o=a(e,["icon","size"]);return Object(s.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},o))}},,,,,,,,,,,,function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return k.a})),n.d(t,"e",(function(){return k.b})),n.d(t,"f",(function(){return k.c})),n.d(t,"a",(function(){return O})),n.d(t,"d",(function(){return j}));const r=window,o=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=new WeakMap;class s{constructor(e,t,n){if(this._$cssResult$=!0,n!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(o&&void 0===e){const n=void 0!==t&&1===t.length;n&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&a.set(t,e))}return e}toString(){return this.cssText}}const u=(e,...t)=>{const n=1===e.length?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[r+1],e[0]);return new s(n,e,i)},c=o?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new s("string"==typeof e?e:e+"",void 0,i))(t)})(e):e;var l;const f=window,p=f.trustedTypes,d=p?p.emptyScript:"",h=f.reactiveElementPolyfillSupport,m={toAttribute(e,t){switch(t){case Boolean:e=e?d:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},g=(e,t)=>t!==e&&(t==t||e==e),y={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:g};class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,n)=>{const r=this._$Ep(n,t);void 0!==r&&(this._$Ev.set(r,n),e.push(r))}),e}static createProperty(e,t=y){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const o=this[e];this[t]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||y}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(c(e))}else void 0!==e&&t.push(c(e));return t}static _$Ep(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach(e=>e(this))}addController(e){var t,n;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{o?e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(t=>{const n=document.createElement("style"),o=r.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=t.cssText,e.appendChild(n)})})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=y){var r;const o=this.constructor._$Ep(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:m).toAttribute(t,n.type);this._$El=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(n=e.converter)||void 0===n?void 0:n.fromAttribute)?e.converter:m;this._$El=o,this[o]=i.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||g)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(n)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach(e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:v}),(null!==(l=f.reactiveElementVersions)&&void 0!==l?l:f.reactiveElementVersions=[]).push("1.6.1");var b,_,k=n(563);class O extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const n=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=n.firstChild),n}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Object(k.d)(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return k.b}}O.finalized=!0,O._$litElement$=!0,null===(b=globalThis.litElementHydrateSupport)||void 0===b||b.call(globalThis,{LitElement:O});const w=globalThis.litElementPolyfillSupport;null==w||w({LitElement:O});(null!==(_=globalThis.litElementVersions)&&void 0!==_?_:globalThis.litElementVersions=[]).push("3.3.2");const j=!1},,,,function(e,t,n){"use strict";var r=n(0);t.a=function(e){Object(r.useEffect)(e,[])}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n(165),o=n(386),i=n(566),a={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",ROOT:"mdc-list"},s={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled)',CHECKBOX_SELECTOR:'input[type="checkbox"]:not(:disabled)',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+a.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+a.LIST_ITEM_CLASS+" a\n ",FOCUSABLE_CHILD_ELEMENTS:"\n ."+a.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+a.LIST_ITEM_CLASS+" a,\n ."+a.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+a.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]:not(:disabled)'},u={UNSET_INDEX:-1},c=n(356),l=["input","button","textarea","select"];var f,p,d=function(e){function MDCListFoundation(t){var n=e.call(this,r.a({},MDCListFoundation.defaultAdapter,t))||this;return n.wrapFocus_=!1,n.isVertical_=!0,n.isSingleSelectionList_=!1,n.selectedIndex_=u.UNSET_INDEX,n.focusedItemIndex_=u.UNSET_INDEX,n.useActivatedClass_=!1,n.ariaCurrentAttrValue_=null,n.isCheckboxList_=!1,n.isRadioList_=!1,n}return r.b(MDCListFoundation,e),Object.defineProperty(MDCListFoundation,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(MDCListFoundation,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(MDCListFoundation,"numbers",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(MDCListFoundation,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){}}},enumerable:!0,configurable:!0}),MDCListFoundation.prototype.layout=function(){0!==this.adapter_.getListItemCount()&&(this.adapter_.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter_.hasRadioAtIndex(0)&&(this.isRadioList_=!0))},MDCListFoundation.prototype.setWrapFocus=function(e){this.wrapFocus_=e},MDCListFoundation.prototype.setVerticalOrientation=function(e){this.isVertical_=e},MDCListFoundation.prototype.setSingleSelection=function(e){this.isSingleSelectionList_=e},MDCListFoundation.prototype.setUseActivatedClass=function(e){this.useActivatedClass_=e},MDCListFoundation.prototype.getSelectedIndex=function(){return this.selectedIndex_},MDCListFoundation.prototype.setSelectedIndex=function(e){this.isIndexValid_(e)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(e):this.isRadioList_?this.setRadioAtIndex_(e):this.setSingleSelectionAtIndex_(e))},MDCListFoundation.prototype.handleFocusIn=function(e,t){t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"0")},MDCListFoundation.prototype.handleFocusOut=function(e,t){var n=this;t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"-1"),setTimeout((function(){n.adapter_.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)},MDCListFoundation.prototype.handleKeydown=function(e,t,n){var r="ArrowLeft"===e.key||37===e.keyCode,o="ArrowUp"===e.key||38===e.keyCode,i="ArrowRight"===e.key||39===e.keyCode,a="ArrowDown"===e.key||40===e.keyCode,s="Home"===e.key||36===e.keyCode,u="End"===e.key||35===e.keyCode,c="Enter"===e.key||13===e.keyCode,l="Space"===e.key||32===e.keyCode;if(this.adapter_.isRootFocused())o||u?(e.preventDefault(),this.focusLastElement()):(a||s)&&(e.preventDefault(),this.focusFirstElement());else{var f=this.adapter_.getFocusedElementIndex();if(!(-1===f&&(f=n)<0)){var p;if(this.isVertical_&&a||!this.isVertical_&&i)this.preventDefaultEvent_(e),p=this.focusNextElement(f);else if(this.isVertical_&&o||!this.isVertical_&&r)this.preventDefaultEvent_(e),p=this.focusPrevElement(f);else if(s)this.preventDefaultEvent_(e),p=this.focusFirstElement();else if(u)this.preventDefaultEvent_(e),p=this.focusLastElement();else if((c||l)&&t){var d=e.target;if(d&&"A"===d.tagName&&c)return;this.preventDefaultEvent_(e),this.isSelectableList_()&&this.setSelectedIndexOnAction_(f),this.adapter_.notifyAction(f)}this.focusedItemIndex_=f,void 0!==p&&(this.setTabindexAtIndex_(p),this.focusedItemIndex_=p)}}},MDCListFoundation.prototype.handleClick=function(e,t){e!==u.UNSET_INDEX&&(this.isSelectableList_()&&this.setSelectedIndexOnAction_(e,t),this.adapter_.notifyAction(e),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)},MDCListFoundation.prototype.focusNextElement=function(e){var t=e+1;if(t>=this.adapter_.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter_.focusItemAtIndex(t),t},MDCListFoundation.prototype.focusPrevElement=function(e){var t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter_.getListItemCount()-1}return this.adapter_.focusItemAtIndex(t),t},MDCListFoundation.prototype.focusFirstElement=function(){return this.adapter_.focusItemAtIndex(0),0},MDCListFoundation.prototype.focusLastElement=function(){var e=this.adapter_.getListItemCount()-1;return this.adapter_.focusItemAtIndex(e),e},MDCListFoundation.prototype.preventDefaultEvent_=function(e){var t=(""+e.target.tagName).toLowerCase();-1===l.indexOf(t)&&e.preventDefault()},MDCListFoundation.prototype.setSingleSelectionAtIndex_=function(e){if(this.selectedIndex_!==e){var t=a.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(t=a.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.removeClassForElementIndex(this.selectedIndex_,t),this.adapter_.addClassForElementIndex(e,t),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e}},MDCListFoundation.prototype.setAriaForSingleSelectionAtIndex_=function(e){this.selectedIndex_===u.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter_.getAttributeForElementIndex(e,s.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue_,n=t?s.ARIA_CURRENT:s.ARIA_SELECTED;this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=t?this.ariaCurrentAttrValue_:"true";this.adapter_.setAttributeForElementIndex(e,n,r)},MDCListFoundation.prototype.setRadioAtIndex_=function(e){this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,!0),this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,s.ARIA_CHECKED,"false"),this.adapter_.setAttributeForElementIndex(e,s.ARIA_CHECKED,"true"),this.selectedIndex_=e},MDCListFoundation.prototype.setCheckboxAtIndex_=function(e){for(var t=0;t<this.adapter_.getListItemCount();t++){var n=!1;e.indexOf(t)>=0&&(n=!0),this.adapter_.setCheckedCheckboxOrRadioAtIndex(t,n),this.adapter_.setAttributeForElementIndex(t,s.ARIA_CHECKED,n?"true":"false")}this.selectedIndex_=e},MDCListFoundation.prototype.setTabindexAtIndex_=function(e){this.focusedItemIndex_===u.UNSET_INDEX&&0!==e?this.adapter_.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==e&&this.adapter_.setAttributeForElementIndex(this.focusedItemIndex_,"tabindex","-1"),this.adapter_.setAttributeForElementIndex(e,"tabindex","0")},MDCListFoundation.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},MDCListFoundation.prototype.setTabindexToFirstSelectedItem_=function(){var e=0;this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==u.UNSET_INDEX?e=this.selectedIndex_:this.selectedIndex_ instanceof Array&&this.selectedIndex_.length>0&&(e=this.selectedIndex_.reduce((function(e,t){return Math.min(e,t)})))),this.setTabindexAtIndex_(e)},MDCListFoundation.prototype.isIndexValid_=function(e){var t=this;if(e instanceof Array){if(!this.isCheckboxList_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===e.length||e.some((function(e){return t.isIndexInRange_(e)}))}if("number"==typeof e){if(this.isCheckboxList_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return this.isIndexInRange_(e)}return!1},MDCListFoundation.prototype.isIndexInRange_=function(e){var t=this.adapter_.getListItemCount();return e>=0&&e<t},MDCListFoundation.prototype.setSelectedIndexOnAction_=function(e,t){void 0===t&&(t=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(e,t):this.setSelectedIndex(e)},MDCListFoundation.prototype.toggleCheckboxAtIndex_=function(e,t){var n=this.adapter_.isCheckboxCheckedAtIndex(e);t&&(n=!n,this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,n)),this.adapter_.setAttributeForElementIndex(e,s.ARIA_CHECKED,n?"true":"false");var r=this.selectedIndex_===u.UNSET_INDEX?[]:this.selectedIndex_.slice();n?r.push(e):r=r.filter((function(t){return t!==e})),this.selectedIndex_=r},MDCListFoundation}(c.a),h=function(e){function MDCList(){return null!==e&&e.apply(this,arguments)||this}return r.b(MDCList,e),Object.defineProperty(MDCList.prototype,"vertical",{set:function(e){this.foundation_.setVerticalOrientation(e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCList.prototype,"listElements",{get:function(){return[].slice.call(this.root_.querySelectorAll("."+a.LIST_ITEM_CLASS))},enumerable:!0,configurable:!0}),Object.defineProperty(MDCList.prototype,"wrapFocus",{set:function(e){this.foundation_.setWrapFocus(e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCList.prototype,"singleSelection",{set:function(e){this.foundation_.setSingleSelection(e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCList.prototype,"selectedIndex",{get:function(){return this.foundation_.getSelectedIndex()},set:function(e){this.foundation_.setSelectedIndex(e)},enumerable:!0,configurable:!0}),MDCList.attachTo=function(e){return new MDCList(e)},MDCList.prototype.initialSyncWithDOM=function(){this.handleClick_=this.handleClickEvent_.bind(this),this.handleKeydown_=this.handleKeydownEvent_.bind(this),this.focusInEventListener_=this.handleFocusInEvent_.bind(this),this.focusOutEventListener_=this.handleFocusOutEvent_.bind(this),this.listen("keydown",this.handleKeydown_),this.listen("click",this.handleClick_),this.listen("focusin",this.focusInEventListener_),this.listen("focusout",this.focusOutEventListener_),this.layout(),this.initializeListType()},MDCList.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten("click",this.handleClick_),this.unlisten("focusin",this.focusInEventListener_),this.unlisten("focusout",this.focusOutEventListener_)},MDCList.prototype.layout=function(){var e=this.root_.getAttribute(s.ARIA_ORIENTATION);this.vertical=e!==s.ARIA_ORIENTATION_HORIZONTAL,[].slice.call(this.root_.querySelectorAll(".mdc-list-item:not([tabindex])")).forEach((function(e){e.setAttribute("tabindex","-1")})),[].slice.call(this.root_.querySelectorAll(s.FOCUSABLE_CHILD_ELEMENTS)).forEach((function(e){return e.setAttribute("tabindex","-1")})),this.foundation_.layout()},MDCList.prototype.initializeListType=function(){var e=this,t=this.root_.querySelectorAll(s.ARIA_ROLE_CHECKBOX_SELECTOR),n=this.root_.querySelector("\n ."+a.LIST_ITEM_ACTIVATED_CLASS+",\n ."+a.LIST_ITEM_SELECTED_CLASS+"\n "),r=this.root_.querySelector(s.ARIA_CHECKED_RADIO_SELECTOR);if(t.length){var o=this.root_.querySelectorAll(s.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=[].map.call(o,(function(t){return e.listElements.indexOf(t)}))}else n?(n.classList.contains(a.LIST_ITEM_ACTIVATED_CLASS)&&this.foundation_.setUseActivatedClass(!0),this.singleSelection=!0,this.selectedIndex=this.listElements.indexOf(n)):r&&(this.selectedIndex=this.listElements.indexOf(r))},MDCList.prototype.getDefaultFoundation=function(){var e=this;return new d({addClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.add(n)},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},getAttributeForElementIndex:function(t,n){return e.listElements[t].getAttribute(n)},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},getListItemCount:function(){return e.listElements.length},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(s.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(s.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){return e.listElements[t].querySelector(s.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return e.root_.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===e.root_},notifyAction:function(t){e.emit(s.ACTION_EVENT,{index:t},!0)},removeClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.remove(n)},setAttributeForElementIndex:function(t,n,r){var o=e.listElements[t];o&&o.setAttribute(n,r)},setCheckedCheckboxOrRadioAtIndex:function(t,n){var r=e.listElements[t].querySelector(s.CHECKBOX_RADIO_SELECTOR);r.checked=n;var o=document.createEvent("Event");o.initEvent("change",!0,!0),r.dispatchEvent(o)},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t];[].slice.call(r.querySelectorAll(s.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach((function(e){return e.setAttribute("tabindex",n)}))}})},MDCList.prototype.getListItemIndex_=function(e){var t=e.target,n=Object(i.a)(t,"."+a.LIST_ITEM_CLASS+", ."+a.ROOT);return n&&Object(i.b)(n,"."+a.LIST_ITEM_CLASS)?this.listElements.indexOf(n):-1},MDCList.prototype.handleFocusInEvent_=function(e){var t=this.getListItemIndex_(e);this.foundation_.handleFocusIn(e,t)},MDCList.prototype.handleFocusOutEvent_=function(e){var t=this.getListItemIndex_(e);this.foundation_.handleFocusOut(e,t)},MDCList.prototype.handleKeydownEvent_=function(e){var t=this.getListItemIndex_(e),n=e.target;this.foundation_.handleKeydown(e,n.classList.contains(a.LIST_ITEM_CLASS),t)},MDCList.prototype.handleClickEvent_=function(e){var t=this.getListItemIndex_(e),n=e.target,r=!Object(i.b)(n,s.CHECKBOX_RADIO_SELECTOR);this.foundation_.handleClick(t,r)},MDCList}(o.a),m={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},g={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},y={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(f||(f={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(p||(p={}));var v,b=function(e){function MDCMenuSurfaceFoundation(t){var n=e.call(this,r.a({},MDCMenuSurfaceFoundation.defaultAdapter,t))||this;return n.isOpen_=!1,n.isQuickOpen_=!1,n.isHoistedElement_=!1,n.isFixedPosition_=!1,n.openAnimationEndTimerId_=0,n.closeAnimationEndTimerId_=0,n.animationRequestId_=0,n.anchorCorner_=p.TOP_START,n.anchorMargin_={top:0,right:0,bottom:0,left:0},n.position_={x:0,y:0},n}return r.b(MDCMenuSurfaceFoundation,e),Object.defineProperty(MDCMenuSurfaceFoundation,"cssClasses",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuSurfaceFoundation,"strings",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuSurfaceFoundation,"numbers",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuSurfaceFoundation,"Corner",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuSurfaceFoundation,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isFirstElementFocused:function(){return!1},isLastElementFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},focusFirstElement:function(){},focusLastElement:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),MDCMenuSurfaceFoundation.prototype.init=function(){var e=MDCMenuSurfaceFoundation.cssClasses,t=e.ROOT,n=e.OPEN;if(!this.adapter_.hasClass(t))throw new Error(t+" class required in root element.");this.adapter_.hasClass(n)&&(this.isOpen_=!0)},MDCMenuSurfaceFoundation.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId_),clearTimeout(this.closeAnimationEndTimerId_),cancelAnimationFrame(this.animationRequestId_)},MDCMenuSurfaceFoundation.prototype.setAnchorCorner=function(e){this.anchorCorner_=e},MDCMenuSurfaceFoundation.prototype.setAnchorMargin=function(e){this.anchorMargin_.top=e.top||0,this.anchorMargin_.right=e.right||0,this.anchorMargin_.bottom=e.bottom||0,this.anchorMargin_.left=e.left||0},MDCMenuSurfaceFoundation.prototype.setIsHoisted=function(e){this.isHoistedElement_=e},MDCMenuSurfaceFoundation.prototype.setFixedPosition=function(e){this.isFixedPosition_=e},MDCMenuSurfaceFoundation.prototype.setAbsolutePosition=function(e,t){this.position_.x=this.isFinite_(e)?e:0,this.position_.y=this.isFinite_(t)?t:0},MDCMenuSurfaceFoundation.prototype.setQuickOpen=function(e){this.isQuickOpen_=e},MDCMenuSurfaceFoundation.prototype.isOpen=function(){return this.isOpen_},MDCMenuSurfaceFoundation.prototype.open=function(){var e=this;this.adapter_.saveFocus(),this.isQuickOpen_||this.adapter_.addClass(MDCMenuSurfaceFoundation.cssClasses.ANIMATING_OPEN),this.animationRequestId_=requestAnimationFrame((function(){e.adapter_.addClass(MDCMenuSurfaceFoundation.cssClasses.OPEN),e.dimensions_=e.adapter_.getInnerDimensions(),e.autoPosition_(),e.isQuickOpen_?e.adapter_.notifyOpen():e.openAnimationEndTimerId_=setTimeout((function(){e.openAnimationEndTimerId_=0,e.adapter_.removeClass(MDCMenuSurfaceFoundation.cssClasses.ANIMATING_OPEN),e.adapter_.notifyOpen()}),y.TRANSITION_OPEN_DURATION)})),this.isOpen_=!0},MDCMenuSurfaceFoundation.prototype.close=function(){var e=this;this.isQuickOpen_||this.adapter_.addClass(MDCMenuSurfaceFoundation.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){e.adapter_.removeClass(MDCMenuSurfaceFoundation.cssClasses.OPEN),e.isQuickOpen_?e.adapter_.notifyClose():e.closeAnimationEndTimerId_=setTimeout((function(){e.closeAnimationEndTimerId_=0,e.adapter_.removeClass(MDCMenuSurfaceFoundation.cssClasses.ANIMATING_CLOSED),e.adapter_.notifyClose()}),y.TRANSITION_CLOSE_DURATION)})),this.isOpen_=!1,this.maybeRestoreFocus_()},MDCMenuSurfaceFoundation.prototype.handleBodyClick=function(e){var t=e.target;this.adapter_.isElementInContainer(t)||this.close()},MDCMenuSurfaceFoundation.prototype.handleKeydown=function(e){var t=e.keyCode,n=e.key,r=e.shiftKey,o="Tab"===n||9===t;"Escape"===n||27===t?this.close():o&&(this.adapter_.isLastElementFocused()&&!r?(this.adapter_.focusFirstElement(),e.preventDefault()):this.adapter_.isFirstElementFocused()&&r&&(this.adapter_.focusLastElement(),e.preventDefault()))},MDCMenuSurfaceFoundation.prototype.autoPosition_=function(){var e;this.measurements_=this.getAutoLayoutMeasurements_();var t=this.getOriginCorner_(),n=this.getMenuSurfaceMaxHeight_(t),r=this.hasBit_(t,f.BOTTOM)?"bottom":"top",o=this.hasBit_(t,f.RIGHT)?"right":"left",i=this.getHorizontalOriginOffset_(t),a=this.getVerticalOriginOffset_(t),s=this.measurements_,u=s.anchorSize,c=s.surfaceSize,l=((e={})[o]=i,e[r]=a,e);u.width/c.width>y.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement_||this.isFixedPosition_)&&this.adjustPositionForHoistedElement_(l),this.adapter_.setTransformOrigin(o+" "+r),this.adapter_.setPosition(l),this.adapter_.setMaxHeight(n?n+"px":"")},MDCMenuSurfaceFoundation.prototype.getAutoLayoutMeasurements_=function(){var e=this.adapter_.getAnchorDimensions(),t=this.adapter_.getBodyDimensions(),n=this.adapter_.getWindowDimensions(),r=this.adapter_.getWindowScroll();return e||(e={top:this.position_.y,right:this.position_.x,bottom:this.position_.y,left:this.position_.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions_,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},MDCMenuSurfaceFoundation.prototype.getOriginCorner_=function(){var e=p.TOP_LEFT,t=this.measurements_,n=t.viewportDistance,r=t.anchorSize,o=t.surfaceSize,i=this.hasBit_(this.anchorCorner_,f.BOTTOM),a=i?n.top+r.height+this.anchorMargin_.bottom:n.top+this.anchorMargin_.top,s=i?n.bottom-this.anchorMargin_.bottom:n.bottom+r.height-this.anchorMargin_.top,u=o.height-a,c=o.height-s;c>0&&u<c&&(e=this.setBit_(e,f.BOTTOM));var l=this.adapter_.isRtl(),d=this.hasBit_(this.anchorCorner_,f.FLIP_RTL),h=this.hasBit_(this.anchorCorner_,f.RIGHT),m=h&&!l||!h&&d&&l,g=m?n.left+r.width+this.anchorMargin_.right:n.left+this.anchorMargin_.left,y=m?n.right-this.anchorMargin_.right:n.right+r.width-this.anchorMargin_.left,v=o.width-g,b=o.width-y;return(v<0&&m&&l||h&&!m&&v<0||b>0&&v<b)&&(e=this.setBit_(e,f.RIGHT)),e},MDCMenuSurfaceFoundation.prototype.getMenuSurfaceMaxHeight_=function(e){var t=this.measurements_.viewportDistance,n=0,r=this.hasBit_(e,f.BOTTOM),o=this.hasBit_(this.anchorCorner_,f.BOTTOM),i=MDCMenuSurfaceFoundation.numbers.MARGIN_TO_EDGE;return r?(n=t.top+this.anchorMargin_.top-i,o||(n+=this.measurements_.anchorSize.height)):(n=t.bottom-this.anchorMargin_.bottom+this.measurements_.anchorSize.height-i,o&&(n-=this.measurements_.anchorSize.height)),n},MDCMenuSurfaceFoundation.prototype.getHorizontalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,f.RIGHT),r=this.hasBit_(this.anchorCorner_,f.RIGHT);if(n){var o=r?t.width-this.anchorMargin_.left:this.anchorMargin_.right;return this.isHoistedElement_||this.isFixedPosition_?o-(this.measurements_.viewportSize.width-this.measurements_.bodySize.width):o}return r?t.width-this.anchorMargin_.right:this.anchorMargin_.left},MDCMenuSurfaceFoundation.prototype.getVerticalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,f.BOTTOM),r=this.hasBit_(this.anchorCorner_,f.BOTTOM);return n?r?t.height-this.anchorMargin_.top:-this.anchorMargin_.bottom:r?t.height+this.anchorMargin_.bottom:this.anchorMargin_.top},MDCMenuSurfaceFoundation.prototype.adjustPositionForHoistedElement_=function(e){var t,n,o=this.measurements_,i=o.windowScroll,a=o.viewportDistance,s=Object.keys(e);try{for(var u=r.d(s),c=u.next();!c.done;c=u.next()){var l=c.value,f=e[l]||0;f+=a[l],this.isFixedPosition_||("top"===l?f+=i.y:"bottom"===l?f-=i.y:"left"===l?f+=i.x:f-=i.x),e[l]=f}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}},MDCMenuSurfaceFoundation.prototype.maybeRestoreFocus_=function(){var e=this.adapter_.isFocused(),t=document.activeElement&&this.adapter_.isElementInContainer(document.activeElement);(e||t)&&this.adapter_.restoreFocus()},MDCMenuSurfaceFoundation.prototype.hasBit_=function(e,t){return Boolean(e&t)},MDCMenuSurfaceFoundation.prototype.setBit_=function(e,t){return e|t},MDCMenuSurfaceFoundation.prototype.isFinite_=function(e){return"number"==typeof e&&isFinite(e)},MDCMenuSurfaceFoundation}(c.a);var _,k=function(e){function MDCMenuSurface(){return null!==e&&e.apply(this,arguments)||this}return r.b(MDCMenuSurface,e),MDCMenuSurface.attachTo=function(e){return new MDCMenuSurface(e)},MDCMenuSurface.prototype.initialSyncWithDOM=function(){var e=this,t=this.root_.parentElement;this.anchorElement=t&&t.classList.contains(m.ANCHOR)?t:null,this.root_.classList.contains(m.FIXED)&&this.setFixedPosition(!0),this.handleKeydown_=function(t){return e.foundation_.handleKeydown(t)},this.handleBodyClick_=function(t){return e.foundation_.handleBodyClick(t)},this.registerBodyClickListener_=function(){return document.body.addEventListener("click",e.handleBodyClick_)},this.deregisterBodyClickListener_=function(){return document.body.removeEventListener("click",e.handleBodyClick_)},this.listen("keydown",this.handleKeydown_),this.listen(g.OPENED_EVENT,this.registerBodyClickListener_),this.listen(g.CLOSED_EVENT,this.deregisterBodyClickListener_)},MDCMenuSurface.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten(g.OPENED_EVENT,this.registerBodyClickListener_),this.unlisten(g.CLOSED_EVENT,this.deregisterBodyClickListener_),e.prototype.destroy.call(this)},Object.defineProperty(MDCMenuSurface.prototype,"open",{get:function(){return this.foundation_.isOpen()},set:function(e){if(e){var t=this.root_.querySelectorAll(g.FOCUSABLE_ELEMENTS);this.firstFocusableElement_=t[0],this.lastFocusableElement_=t[t.length-1],this.foundation_.open()}else this.foundation_.close()},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuSurface.prototype,"quickOpen",{set:function(e){this.foundation_.setQuickOpen(e)},enumerable:!0,configurable:!0}),MDCMenuSurface.prototype.hoistMenuToBody=function(){document.body.appendChild(this.root_),this.setIsHoisted(!0)},MDCMenuSurface.prototype.setIsHoisted=function(e){this.foundation_.setIsHoisted(e)},MDCMenuSurface.prototype.setMenuSurfaceAnchorElement=function(e){this.anchorElement=e},MDCMenuSurface.prototype.setFixedPosition=function(e){e?this.root_.classList.add(m.FIXED):this.root_.classList.remove(m.FIXED),this.foundation_.setFixedPosition(e)},MDCMenuSurface.prototype.setAbsolutePosition=function(e,t){this.foundation_.setAbsolutePosition(e,t),this.setIsHoisted(!0)},MDCMenuSurface.prototype.setAnchorCorner=function(e){this.foundation_.setAnchorCorner(e)},MDCMenuSurface.prototype.setAnchorMargin=function(e){this.foundation_.setAnchorMargin(e)},MDCMenuSurface.prototype.getDefaultFoundation=function(){var e=this;return new b({addClass:function(t){return e.root_.classList.add(t)},removeClass:function(t){return e.root_.classList.remove(t)},hasClass:function(t){return e.root_.classList.contains(t)},hasAnchor:function(){return!!e.anchorElement},notifyClose:function(){return e.emit(b.strings.CLOSED_EVENT,{})},notifyOpen:function(){return e.emit(b.strings.OPENED_EVENT,{})},isElementInContainer:function(t){return e.root_.contains(t)},isRtl:function(){return"rtl"===getComputedStyle(e.root_).getPropertyValue("direction")},setTransformOrigin:function(t){var n=function(e,t){if(void 0===t&&(t=!1),void 0===v||t){var n=e.document.createElement("div");v="transform"in n.style?"transform":"webkitTransform"}return v}(window)+"-origin";e.root_.style.setProperty(n,t)},isFocused:function(){return document.activeElement===e.root_},saveFocus:function(){e.previousFocus_=document.activeElement},restoreFocus:function(){e.root_.contains(document.activeElement)&&e.previousFocus_&&e.previousFocus_.focus&&e.previousFocus_.focus()},isFirstElementFocused:function(){return!!e.firstFocusableElement_&&e.firstFocusableElement_===document.activeElement},isLastElementFocused:function(){return!!e.lastFocusableElement_&&e.lastFocusableElement_===document.activeElement},focusFirstElement:function(){return e.firstFocusableElement_&&e.firstFocusableElement_.focus&&e.firstFocusableElement_.focus()},focusLastElement:function(){return e.lastFocusableElement_&&e.lastFocusableElement_.focus&&e.lastFocusableElement_.focus()},getInnerDimensions:function(){return{width:e.root_.offsetWidth,height:e.root_.offsetHeight}},getAnchorDimensions:function(){return e.anchorElement?e.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){e.root_.style.left="left"in t?t.left+"px":"",e.root_.style.right="right"in t?t.right+"px":"",e.root_.style.top="top"in t?t.top+"px":"",e.root_.style.bottom="bottom"in t?t.bottom+"px":""},setMaxHeight:function(t){e.root_.style.maxHeight=t}})},MDCMenuSurface}(o.a),O={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},w={ARIA_SELECTED_ATTR:"aria-selected",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list",SELECTED_EVENT:"MDCMenu:selected"},j={FOCUS_ROOT_INDEX:-1};!function(e){e[e.NONE=0]="NONE",e[e.LIST_ROOT=1]="LIST_ROOT",e[e.FIRST_ITEM=2]="FIRST_ITEM",e[e.LAST_ITEM=3]="LAST_ITEM"}(_||(_={}));var E=function(e){function MDCMenuFoundation(t){var n=e.call(this,r.a({},MDCMenuFoundation.defaultAdapter,t))||this;return n.closeAnimationEndTimerId_=0,n.defaultFocusState_=_.LIST_ROOT,n}return r.b(MDCMenuFoundation,e),Object.defineProperty(MDCMenuFoundation,"cssClasses",{get:function(){return O},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuFoundation,"strings",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuFoundation,"numbers",{get:function(){return j},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenuFoundation,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},getParentElement:function(){return null},getSelectedElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){}}},enumerable:!0,configurable:!0}),MDCMenuFoundation.prototype.destroy=function(){this.closeAnimationEndTimerId_&&clearTimeout(this.closeAnimationEndTimerId_),this.adapter_.closeSurface()},MDCMenuFoundation.prototype.handleKeydown=function(e){var t=e.key,n=e.keyCode;("Tab"===t||9===n)&&this.adapter_.closeSurface()},MDCMenuFoundation.prototype.handleItemAction=function(e){var t=this,n=this.adapter_.getElementIndex(e);n<0||(this.adapter_.notifySelected({index:n}),this.adapter_.closeSurface(),this.closeAnimationEndTimerId_=setTimeout((function(){var r=t.getSelectionGroup_(e);r&&t.handleSelectionGroup_(r,n)}),b.numbers.TRANSITION_CLOSE_DURATION))},MDCMenuFoundation.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case _.FIRST_ITEM:this.adapter_.focusItemAtIndex(0);break;case _.LAST_ITEM:this.adapter_.focusItemAtIndex(this.adapter_.getMenuItemCount()-1);break;case _.NONE:break;default:this.adapter_.focusListRoot()}},MDCMenuFoundation.prototype.setDefaultFocusState=function(e){this.defaultFocusState_=e},MDCMenuFoundation.prototype.handleSelectionGroup_=function(e,t){var n=this.adapter_.getSelectedElementIndex(e);n>=0&&(this.adapter_.removeAttributeFromElementAtIndex(n,w.ARIA_SELECTED_ATTR),this.adapter_.removeClassFromElementAtIndex(n,O.MENU_SELECTED_LIST_ITEM)),this.adapter_.addClassToElementAtIndex(t,O.MENU_SELECTED_LIST_ITEM),this.adapter_.addAttributeToElementAtIndex(t,w.ARIA_SELECTED_ATTR,"true")},MDCMenuFoundation.prototype.getSelectionGroup_=function(e){var t=this.adapter_.getParentElement(e);if(!t)return null;for(var n=this.adapter_.elementContainsClass(t,O.MENU_SELECTION_GROUP);!n&&t&&!this.adapter_.elementContainsClass(t,d.cssClasses.ROOT);)n=!!(t=this.adapter_.getParentElement(t))&&this.adapter_.elementContainsClass(t,O.MENU_SELECTION_GROUP);return n?t:null},MDCMenuFoundation}(c.a),C=function(e){function MDCMenu(){return null!==e&&e.apply(this,arguments)||this}return r.b(MDCMenu,e),MDCMenu.attachTo=function(e){return new MDCMenu(e)},MDCMenu.prototype.initialize=function(e,t){void 0===e&&(e=function(e){return new k(e)}),void 0===t&&(t=function(e){return new h(e)}),this.menuSurfaceFactory_=e,this.listFactory_=t},MDCMenu.prototype.initialSyncWithDOM=function(){var e=this;this.menuSurface_=this.menuSurfaceFactory_(this.root_);var t=this.root_.querySelector(w.LIST_SELECTOR);t?(this.list_=this.listFactory_(t),this.list_.wrapFocus=!0):this.list_=null,this.handleKeydown_=function(t){return e.foundation_.handleKeydown(t)},this.handleItemAction_=function(t){return e.foundation_.handleItemAction(e.items[t.detail.index])},this.handleMenuSurfaceOpened_=function(){return e.foundation_.handleMenuSurfaceOpened()},this.menuSurface_.listen(b.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.listen("keydown",this.handleKeydown_),this.listen(d.strings.ACTION_EVENT,this.handleItemAction_)},MDCMenu.prototype.destroy=function(){this.list_&&this.list_.destroy(),this.menuSurface_.destroy(),this.menuSurface_.unlisten(b.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(d.strings.ACTION_EVENT,this.handleItemAction_),e.prototype.destroy.call(this)},Object.defineProperty(MDCMenu.prototype,"open",{get:function(){return this.menuSurface_.open},set:function(e){this.menuSurface_.open=e},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenu.prototype,"wrapFocus",{get:function(){return!!this.list_&&this.list_.wrapFocus},set:function(e){this.list_&&(this.list_.wrapFocus=e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenu.prototype,"items",{get:function(){return this.list_?this.list_.listElements:[]},enumerable:!0,configurable:!0}),Object.defineProperty(MDCMenu.prototype,"quickOpen",{set:function(e){this.menuSurface_.quickOpen=e},enumerable:!0,configurable:!0}),MDCMenu.prototype.setDefaultFocusState=function(e){this.foundation_.setDefaultFocusState(e)},MDCMenu.prototype.setAnchorCorner=function(e){this.menuSurface_.setAnchorCorner(e)},MDCMenu.prototype.setAnchorMargin=function(e){this.menuSurface_.setAnchorMargin(e)},MDCMenu.prototype.getOptionByIndex=function(e){return e<this.items.length?this.items[e]:null},MDCMenu.prototype.setFixedPosition=function(e){this.menuSurface_.setFixedPosition(e)},MDCMenu.prototype.hoistMenuToBody=function(){this.menuSurface_.hoistMenuToBody()},MDCMenu.prototype.setIsHoisted=function(e){this.menuSurface_.setIsHoisted(e)},MDCMenu.prototype.setAbsolutePosition=function(e,t){this.menuSurface_.setAbsolutePosition(e,t)},MDCMenu.prototype.setAnchorElement=function(e){this.menuSurface_.anchorElement=e},MDCMenu.prototype.getDefaultFoundation=function(){var e=this;return new E({addClassToElementAtIndex:function(t,n){e.items[t].classList.add(n)},removeClassFromElementAtIndex:function(t,n){e.items[t].classList.remove(n)},addAttributeToElementAtIndex:function(t,n,r){e.items[t].setAttribute(n,r)},removeAttributeFromElementAtIndex:function(t,n){e.items[t].removeAttribute(n)},elementContainsClass:function(e,t){return e.classList.contains(t)},closeSurface:function(){return e.open=!1},getElementIndex:function(t){return e.items.indexOf(t)},getParentElement:function(e){return e.parentElement},getSelectedElementIndex:function(t){var n=t.querySelector("."+O.MENU_SELECTED_LIST_ITEM);return n?e.items.indexOf(n):-1},notifySelected:function(t){return e.emit(w.SELECTED_EVENT,{index:t.index,item:e.items[t.index]})},getMenuItemCount:function(){return e.items.length},focusItemAtIndex:function(t){return e.items[t].focus()},focusListRoot:function(){return e.root_.querySelector(w.LIST_SELECTOR).focus()}})},MDCMenu}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(165),o=n(386),i=n(356),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},u=function(e){function MDCFormFieldFoundation(t){var n=e.call(this,r.a({},MDCFormFieldFoundation.defaultAdapter,t))||this;return n.clickHandler_=function(){return n.handleClick_()},n}return r.b(MDCFormFieldFoundation,e),Object.defineProperty(MDCFormFieldFoundation,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFormFieldFoundation,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFormFieldFoundation,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),MDCFormFieldFoundation.prototype.init=function(){this.adapter_.registerInteractionHandler("click",this.clickHandler_)},MDCFormFieldFoundation.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("click",this.clickHandler_)},MDCFormFieldFoundation.prototype.handleClick_=function(){var e=this;this.adapter_.activateInputRipple(),requestAnimationFrame((function(){return e.adapter_.deactivateInputRipple()}))},MDCFormFieldFoundation}(i.a),c=function(e){function MDCFormField(){return null!==e&&e.apply(this,arguments)||this}return r.b(MDCFormField,e),MDCFormField.attachTo=function(e){return new MDCFormField(e)},Object.defineProperty(MDCFormField.prototype,"input",{get:function(){return this.input_},set:function(e){this.input_=e},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFormField.prototype,"label_",{get:function(){var e=u.strings.LABEL_SELECTOR;return this.root_.querySelector(e)},enumerable:!0,configurable:!0}),MDCFormField.prototype.getDefaultFoundation=function(){var e=this;return new u({activateInputRipple:function(){e.input_&&e.input_.ripple&&e.input_.ripple.activate()},deactivateInputRipple:function(){e.input_&&e.input_.ripple&&e.input_.ripple.deactivate()},deregisterInteractionHandler:function(t,n){e.label_&&e.label_.removeEventListener(t,n)},registerInteractionHandler:function(t,n){e.label_&&e.label_.addEventListener(t,n)}})},MDCFormField}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(165),o=n(386),i=n(245),a=n(619),s=n(356),u={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"},c={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"},l=function(e){function MDCRadioFoundation(t){return e.call(this,r.a({},MDCRadioFoundation.defaultAdapter,t))||this}return r.b(MDCRadioFoundation,e),Object.defineProperty(MDCRadioFoundation,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRadioFoundation,"strings",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRadioFoundation,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),MDCRadioFoundation.prototype.setDisabled=function(e){var t=MDCRadioFoundation.cssClasses.DISABLED;this.adapter_.setNativeControlDisabled(e),e?this.adapter_.addClass(t):this.adapter_.removeClass(t)},MDCRadioFoundation}(s.a),f=function(e){function MDCRadio(){var t=null!==e&&e.apply(this,arguments)||this;return t.ripple_=t.createRipple_(),t}return r.b(MDCRadio,e),MDCRadio.attachTo=function(e){return new MDCRadio(e)},Object.defineProperty(MDCRadio.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(e){this.nativeControl_.checked=e},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRadio.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(e){this.foundation_.setDisabled(e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRadio.prototype,"value",{get:function(){return this.nativeControl_.value},set:function(e){this.nativeControl_.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRadio.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),MDCRadio.prototype.destroy=function(){this.ripple_.destroy(),e.prototype.destroy.call(this)},MDCRadio.prototype.getDefaultFoundation=function(){var e=this;return new l({addClass:function(t){return e.root_.classList.add(t)},removeClass:function(t){return e.root_.classList.remove(t)},setNativeControlDisabled:function(t){return e.nativeControl_.disabled=t}})},MDCRadio.prototype.createRipple_=function(){var e=this,t=r.a({},i.a.createAdapter(this),{registerInteractionHandler:function(t,n){return e.nativeControl_.addEventListener(t,n)},deregisterInteractionHandler:function(t,n){return e.nativeControl_.removeEventListener(t,n)},isSurfaceActive:function(){return!1},isUnbounded:function(){return!0}});return new i.a(this.root_,new a.a(t))},Object.defineProperty(MDCRadio.prototype,"nativeControl_",{get:function(){var e=l.strings.NATIVE_CONTROL_SELECTOR,t=this.root_.querySelector(e);if(!t)throw new Error("Radio component requires a "+e+" element");return t},enumerable:!0,configurable:!0}),MDCRadio}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(165),o=n(386),i=n(566),a=n(245),s=n(619),u=n(356),c={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"},l={NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"},f=function(e){function MDCSwitchFoundation(t){return e.call(this,r.a({},MDCSwitchFoundation.defaultAdapter,t))||this}return r.b(MDCSwitchFoundation,e),Object.defineProperty(MDCSwitchFoundation,"strings",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(MDCSwitchFoundation,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(MDCSwitchFoundation,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),MDCSwitchFoundation.prototype.setChecked=function(e){this.adapter_.setNativeControlChecked(e),this.updateCheckedStyling_(e)},MDCSwitchFoundation.prototype.setDisabled=function(e){this.adapter_.setNativeControlDisabled(e),e?this.adapter_.addClass(c.DISABLED):this.adapter_.removeClass(c.DISABLED)},MDCSwitchFoundation.prototype.handleChange=function(e){var t=e.target;this.updateCheckedStyling_(t.checked)},MDCSwitchFoundation.prototype.updateCheckedStyling_=function(e){e?this.adapter_.addClass(c.CHECKED):this.adapter_.removeClass(c.CHECKED)},MDCSwitchFoundation}(u.a),p=function(e){function MDCSwitch(){var t=null!==e&&e.apply(this,arguments)||this;return t.ripple_=t.createRipple_(),t}return r.b(MDCSwitch,e),MDCSwitch.attachTo=function(e){return new MDCSwitch(e)},MDCSwitch.prototype.destroy=function(){e.prototype.destroy.call(this),this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.changeHandler_)},MDCSwitch.prototype.initialSyncWithDOM=function(){var e=this;this.changeHandler_=function(){for(var t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return(t=e.foundation_).handleChange.apply(t,r.c(n))},this.nativeControl_.addEventListener("change",this.changeHandler_),this.checked=this.checked},MDCSwitch.prototype.getDefaultFoundation=function(){var e=this;return new f({addClass:function(t){return e.root_.classList.add(t)},removeClass:function(t){return e.root_.classList.remove(t)},setNativeControlChecked:function(t){return e.nativeControl_.checked=t},setNativeControlDisabled:function(t){return e.nativeControl_.disabled=t}})},Object.defineProperty(MDCSwitch.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),Object.defineProperty(MDCSwitch.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(e){this.foundation_.setChecked(e)},enumerable:!0,configurable:!0}),Object.defineProperty(MDCSwitch.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(e){this.foundation_.setDisabled(e)},enumerable:!0,configurable:!0}),MDCSwitch.prototype.createRipple_=function(){var e=this,t=f.strings.RIPPLE_SURFACE_SELECTOR,n=this.root_.querySelector(t),o=r.a({},a.a.createAdapter(this),{addClass:function(e){return n.classList.add(e)},computeBoundingRect:function(){return n.getBoundingClientRect()},deregisterInteractionHandler:function(t,n){e.nativeControl_.removeEventListener(t,n)},isSurfaceActive:function(){return Object(i.b)(e.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,n){e.nativeControl_.addEventListener(t,n)},removeClass:function(e){return n.classList.remove(e)},updateCssVariable:function(e,t){n.style.setProperty(e,t)}});return new a.a(this.root_,new s.a(o))},Object.defineProperty(MDCSwitch.prototype,"nativeControl_",{get:function(){var e=f.strings.NATIVE_CONTROL_SELECTOR;return this.root_.querySelector(e)},enumerable:!0,configurable:!0}),MDCSwitch}(o.a)},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return se})),n.d(t,"b",(function(){return ue})),n.d(t,"c",(function(){return le})),n.d(t,"d",(function(){return fe})),n.d(t,"e",(function(){return ce}));var r=n(0),o=n.n(r),i=(n(1),n(914),u()?o.a.useLayoutEffect:o.a.useEffect),a=d;"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math&&self;function s(e,t){if(null!=e)if(p(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function u(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function c(e,t){var n=Object(r.createContext)(t);return n.displayName=e,n}function l(e){return o.a.forwardRef(e)}function f(e){return e&&e.ownerDocument?e.ownerDocument:u()?document:null}function p(e){return!(!e||"[object Function]"!={}.toString.call(e))}function d(){}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(r.useMemo)((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){s(t,e)}))}}),[].concat(t))}function m(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function y(e,t){void 0===t&&(t={});return c(e,g({descendants:[],registerDescendant:d,unregisterDescendant:d},t))}function v(e,t,n){var o,a,s=Object(r.useState)()[1],u=Object(r.useContext)(t),c=u.registerDescendant,l=u.unregisterDescendant,f=u.descendants,p=null!=n?n:f.findIndex((function(t){return t.element===e.element})),d=(o=f,a=Object(r.useRef)(null),Object(r.useEffect)((function(){a.current=o}),[o]),a.current),h=f.some((function(e,t){var n;return e.element!==(null==d||null===(n=d[t])||void 0===n?void 0:n.element)}));return i((function(){return e.element||s({}),c(g({},e,{index:p})),function(){return l(e.element)}}),[c,l,p,h].concat(Object.values(e))),p}function DescendantProvider(e){var t=e.context,n=e.children,i=e.items,a=e.set,s=Object(r.useCallback)((function(e){var t=e.element,n=e.index,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["element","index"]);t&&a((function(e){var o;if(null!=n)o=[].concat(e,[g({},r,{element:t,index:n})]);else if(0===e.length)o=[].concat(e,[g({},r,{element:t,index:0})]);else if(e.find((function(e){return e.element===t})))o=e;else{var i=e.findIndex((function(e){return!(!e.element||!t)&&Boolean(e.element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)})),a=g({},r,{element:t,index:i});o=-1===i?[].concat(e,[a]):[].concat(e.slice(0,i),[a],e.slice(i))}return o.map((function(e,t){return g({},e,{index:t})}))}))}),[]),u=Object(r.useCallback)((function(e){e&&a((function(t){return t.filter((function(t){return e!==t.element}))}))}),[]);return o.a.createElement(t.Provider,{value:Object(r.useMemo)((function(){return{descendants:i,registerDescendant:s,unregisterDescendant:u}}),[i,s,u])},n)}var b=n(1080),_=!1,k=0,O=function(){return++k},w=n(137);var j,E=function Portal(e){var t=e.children,n=e.type,a=void 0===n?"reach-portal":n,s=Object(r.useRef)(null),u=Object(r.useRef)(null),c=Object(r.useState)()[1];return i((function(){if(s.current){var e=s.current.ownerDocument;return u.current=null==e?void 0:e.createElement(a),e.body.appendChild(u.current),c({}),function(){u.current&&u.current.ownerDocument&&u.current.ownerDocument.body.removeChild(u.current)}}}),[a]),u.current?Object(w.createPortal)(t,u.current):o.a.createElement("span",{ref:s})},C=["bottom","height","left","right","top","width"],S=new Map,T=function e(){var t=[];S.forEach((function(e,n){var r,o,i=n.getBoundingClientRect();r=i,o=e.rect,void 0===r&&(r={}),void 0===o&&(o={}),C.some((function(e){return r[e]!==o[e]}))&&(e.rect=i,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),j=window.requestAnimationFrame(e)};var x=function(e,t){return{observe:function(){var n=0===S.size;S.has(e)?S.get(e).callbacks.push(t):S.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&T()},unobserve:function(){var n=S.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||S.delete(e),S.size||cancelAnimationFrame(j)}}}};function I(e,t,n){void 0===t&&(t=!0);var o=Object(r.useState)(e.current),a=o[0],s=o[1],u=Object(r.useRef)(!1),c=Object(r.useRef)(!1),l=Object(r.useState)(null),f=l[0],p=l[1],d=Object(r.useRef)();return i((function(){d.current=n,e.current!==a&&s(e.current)})),i((function(){a&&!u.current&&(u.current=!0,p(a.getBoundingClientRect()))}),[a]),i((function(){var n,r=a;return c.current||(c.current=!0,r=e.current),r?(n=x(r,(function(e){d.current&&d.current(e),p(e)})),t&&n.observe(),o):o;function o(){n&&n.unobserve()}}),[t,a]),f}var A=n(518),P=n.n(A);function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var L=Object(r.forwardRef)((function Popover(e,t){return o.a.createElement(E,null,o.a.createElement(D,Object.assign({ref:t},e)))}));var D=Object(r.forwardRef)((function PopoverImpl(e,t){var n=e.targetRef,i=e.position,a=void 0===i?F:i,s=e.unstable_observableRefs,u=void 0===s?[]:s,c=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["targetRef","position","unstable_observableRefs"]),l=Object(r.useRef)(null),p=I(l),d=I(n),m=h(l,t);return function(e,t){var n=f(e.current);function o(r){"Tab"===r.key&&t.current&&0===P()(t.current).length||("Tab"===r.key&&r.shiftKey?function(e){if(!e.shiftKey)return;var t=i();return e.target===t}(r)?function(e){var n=t.current&&P()(t.current),r=n&&n[n.length-1];r&&(e.preventDefault(),r.focus())}(r):function(e){var n=t.current&&P()(t.current);if(n)return 0!==n.length&&e.target===n[0];return!1}(r)?function(t){var n;t.preventDefault(),null===(n=e.current)||void 0===n||n.focus()}(r):function(e){return!!n&&e.target===P()(n)[0]}(r)&&s():"Tab"===r.key&&(e.current&&n&&e.current===n.activeElement?function(e){var n=t.current&&P()(t.current);n&&n[0]&&(e.preventDefault(),n[0].focus())}(r):function(){if(t.current&&n&&t.current.contains(n.activeElement||null)){var e=t.current&&P()(t.current);return Boolean(e&&n&&e[e.length-1]===n.activeElement)}return!1}()?function(e){var t=i();t&&(e.preventDefault(),t.focus())}(r):function(e){var r=n&&t.current?P()(n).filter((function(e){return!t.current.contains(e)})):null;return!!r&&e.target===r[r.length-1]}(r)&&s()))}function i(){var r=n&&P()(n),o=r&&e.current?r.indexOf(e.current):-1,i=r&&r[o+1];return(!t.current||!t.current.contains(i||null))&&i}Object(r.useEffect)((function(){if(n)return n.addEventListener("keydown",o),function(){n.removeEventListener("keydown",o)}}),[]);var a=[];function s(){var e=t.current&&P()(t.current);e&&(e.forEach((function(e){a.push([e,e.tabIndex]),e.tabIndex=-1})),n&&n.addEventListener("focusin",u))}function u(){n&&n.removeEventListener("focusin",u),a.forEach((function(e){var t=e[0],n=e[1];t.tabIndex=n}))}}(n,l),o.a.createElement("div",Object.assign({"data-reach-popover":"",ref:m},c,{style:R({position:"absolute"},M.apply(void 0,[a,d,p].concat(u)),c.style)}))}));function M(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return n?e.apply(void 0,[t,n].concat(o.map((function(e){return e.current})))):{visibility:"hidden"}}function N(e,t){return{top:H(e,t).directionUp?e.top-t.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}var F=function(e,t){return e&&t?R({left:H(e,t).directionRight?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},N(e,t)):{}},z=function(e,t){return e&&t?R({width:e.width,left:e.left},N(e,t)):{}};function H(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0};return{directionRight:o.right&&!o.left,directionLeft:o.left&&!o.right,directionUp:o.bottom&&!o.top,directionDown:o.top&&!o.bottom}}var B,U,W,V,G,$=L;function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function q(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var X="IDLE",Y="SUGGESTING",Q="NAVIGATING",J="INTERACTING",Z="NAVIGATE",ee={initial:X,states:(G={},G[X]={on:(B={},B.BLUR=X,B.CLEAR=X,B.CHANGE=Y,B.INITIAL_CHANGE=X,B.FOCUS=Y,B[Z]=Q,B.OPEN_WITH_BUTTON=Y,B)},G[Y]={on:(U={},U.CHANGE=Y,U.FOCUS=Y,U[Z]=Q,U.CLEAR=X,U.ESCAPE=X,U.BLUR=X,U.SELECT_WITH_CLICK=X,U.INTERACT=J,U.CLOSE_WITH_BUTTON=X,U)},G[Q]={on:(W={},W.CHANGE=Y,W.FOCUS=Y,W.CLEAR=X,W.BLUR=X,W.ESCAPE=X,W[Z]=Q,W.SELECT_WITH_CLICK=X,W.SELECT_WITH_KEYBOARD=X,W.CLOSE_WITH_BUTTON=X,W.INTERACT=J,W)},G[J]={on:(V={},V.CLEAR=X,V.CHANGE=Y,V.FOCUS=Y,V.BLUR=X,V.ESCAPE=X,V[Z]=Q,V.CLOSE_WITH_BUTTON=X,V.SELECT_WITH_CLICK=X,V)},G)},te=function(e,t){var n=K({},e,{lastEventType:t.type});switch(t.type){case"CHANGE":case"INITIAL_CHANGE":return K({},n,{navigationValue:null,value:t.value});case Z:case"OPEN_WITH_BUTTON":return K({},n,{navigationValue:re(n,t)});case"CLEAR":return K({},n,{value:"",navigationValue:null});case"BLUR":case"ESCAPE":return K({},n,{navigationValue:null});case"SELECT_WITH_CLICK":return K({},n,{value:t.value,navigationValue:null});case"SELECT_WITH_KEYBOARD":return K({},n,{value:e.navigationValue,navigationValue:null});case"CLOSE_WITH_BUTTON":return K({},n,{navigationValue:null});case"INTERACT":return n;case"FOCUS":return K({},n,{navigationValue:re(n,t)});default:return n}};function ne(e){return[Y,Q,J].includes(e)}function re(e,t){return t.value?t.value:t.persistSelection?e.value:null}var oe=y("ComboboxDescendantContext"),ie=c("ComboboxContext",{}),ae=c("OptionContext",{}),se=l((function Combobox(e,t){var n=e.onSelect,s=e.openOnFocus,u=void 0!==s&&s,c=e.children,l=e.as,f=void 0===l?"div":l,h=e["aria-label"],m=e["aria-labelledby"],g=q(e,["onSelect","openOnFocus","children","as","aria-label","aria-labelledby"]),y=Object(r.useState)([]),v=y[0],b=y[1],k=Object(r.useRef)(),w=Object(r.useRef)(),j=Object(r.useRef)(),E=Object(r.useRef)(),C=Object(r.useRef)(),S=function(e,t,n){var o=Object(r.useState)(e.initial),i=o[0],a=o[1],s=Object(r.useReducer)(t,n),u=s[0],c=s[1];return[i,u,function(t,n){void 0===n&&(n={});var r=e.states[i],o=r&&r.on[t];if(o)return c(K({type:t,state:i,nextState:i},n)),void a(o)}]}(ee,te,{value:"",navigationValue:null}),T=S[0],x=S[1],I=S[2];!function(e,t){i((function(){e!==Z&&"ESCAPE"!==e&&"SELECT_WITH_CLICK"!==e&&"OPEN_WITH_BUTTON"!==e||t.current.focus()}),[t,e])}(x.lastEventType,k);var A=function(e){var t=e||(_?O():null),n=Object(r.useState)(t),o=n[0],a=n[1];return i((function(){null===o&&a(O())}),[]),Object(r.useEffect)((function(){!1===_&&(_=!0)}),[]),null!=o?String(o):void 0}(g.id),P=A?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).join("--")}("listbox",A):"listbox",R={ariaLabel:h,ariaLabelledby:m,autocompletePropRef:E,buttonRef:j,comboboxId:A,data:x,inputRef:k,isExpanded:ne(T),listboxId:P,onSelect:n||d,openOnFocus:u,persistSelectionRef:C,popoverRef:w,state:T,transition:I};return Object(r.useEffect)((function(){return a("combobox")}),[]),o.a.createElement(DescendantProvider,{context:oe,items:v,set:b},o.a.createElement(ie.Provider,{value:R},o.a.createElement(f,Object.assign({},g,{"data-reach-combobox":"",ref:t}),p(c)?c({id:A,isExpanded:ne(T)}):c)))}));var ue=l((function ComboboxInput(e,t){var n,a,s,u=e.as,c=void 0===u?"input":u,l=e.selectOnClick,f=void 0!==l&&l,p=e.autocomplete,d=void 0===p||p,g=e.onClick,y=e.onChange,v=e.onKeyDown,b=e.onBlur,_=e.onFocus,k=e.value,O=q(e,["as","selectOnClick","autocomplete","onClick","onChange","onKeyDown","onBlur","onFocus","value"]),w=Object(r.useRef)(k).current,j=Object(r.useRef)(!1);n=function(){j.current=!0},a=[k],s=Object(r.useRef)(!1),Object(r.useEffect)((function(){s.current?n():s.current=!0}),a);var E=Object(r.useContext)(ie),C=E.data,S=C.navigationValue,T=C.value,x=C.lastEventType,I=E.inputRef,A=E.state,P=E.transition,R=E.listboxId,L=E.autocompletePropRef,D=E.openOnFocus,M=E.isExpanded,N=E.ariaLabel,F=E.ariaLabelledby,z=h(I,t),H=Object(r.useRef)(!1),B=pe(),U=de(),W=null!=k;i((function(){L.current=d}),[d,L]);var V=Object(r.useCallback)((function(e){""===e.trim()?P("CLEAR"):e!==w||j.current?P("CHANGE",{value:e}):P("INITIAL_CHANGE",{value:e})}),[w,P]);Object(r.useEffect)((function(){!W||k===T||""===k.trim()&&""===(T||"").trim()||V(k)}),[k,V,W,T]);var G=!d||A!==Q&&A!==J?k||T:S||k||T;return o.a.createElement(c,Object.assign({"aria-activedescendant":S?String(he(S)):void 0,"aria-autocomplete":"both","aria-controls":R,"aria-expanded":M,"aria-haspopup":"listbox","aria-label":N,"aria-labelledby":N?void 0:F,role:"combobox"},O,{"data-reach-combobox-input":"",ref:z,onBlur:m(b,U),onChange:m(y,(function(e){var t=e.target.value;W||V(t)})),onClick:m(g,(function(){H.current&&(H.current=!1,I.current.select())})),onFocus:m(_,(function(){f&&(H.current=!0),D&&"SELECT_WITH_CLICK"!==x&&P("FOCUS")})),onKeyDown:m(v,B),value:G||""}))}));var ce=Object(r.forwardRef)((function ComboboxPopover(e,t){var n=e.children,i=e.portal,a=void 0===i||i,s=e.onKeyDown,u=e.onBlur,c=e.position,l=void 0===c?z:c,f=q(e,["children","portal","onKeyDown","onBlur","position"]),p=Object(r.useContext)(ie),d=p.popoverRef,g=p.inputRef,y=p.isExpanded,v=h(d,t),b=pe(),_=de(),k={"data-reach-combobox-popover":"",onKeyDown:m(s,b),onBlur:m(u,_),hidden:!y,tabIndex:-1,children:n};return a?o.a.createElement($,Object.assign({},f,{ref:v,position:l,targetRef:g},k)):o.a.createElement("div",Object.assign({ref:v},f,k))}));var le=l((function ComboboxList(e,t){var n=e.persistSelection,i=void 0!==n&&n,a=e.as,s=void 0===a?"ul":a,u=q(e,["persistSelection","as"]),c=Object(r.useContext)(ie),l=c.persistSelectionRef,f=c.listboxId;return i&&(l.current=!0),o.a.createElement(s,Object.assign({role:"listbox"},u,{ref:t,"data-reach-combobox-list":"",id:f}))}));var fe=l((function ComboboxOption(e,t){var n=e.as,i=void 0===n?"li":n,a=e.children,s=e.value,u=e.onClick,c=q(e,["as","children","value","onClick"]),l=Object(r.useContext)(ie),f=l.onSelect,p=l.data.navigationValue,d=l.transition,g=Object(r.useRef)(null),y=h(t,g),b=v({element:g.current,value:s},oe),_=p===s;return o.a.createElement(ae.Provider,{value:{value:s,index:b}},o.a.createElement(i,Object.assign({"aria-selected":_,role:"option"},c,{"data-reach-combobox-option":"",ref:y,id:String(he(s)),"data-highlighted":_?"":void 0,tabIndex:-1,onClick:m(u,(function(){f&&f(s),d("SELECT_WITH_CLICK",{value:s})})),children:a||o.a.createElement(ComboboxOptionText,null)})))}));function ComboboxOptionText(){var e=Object(r.useContext)(ae).value,t=Object(r.useContext)(ie).data.value,n=Object(r.useMemo)((function(){return Object(b.findAll)({searchWords:(n=t||"",String(n).replace(/([.*+?=^!:${}()|[\]/\\])/g,"\\$1")).split(/\s+/),textToHighlight:e});var n}),[t,e]);return o.a.createElement(o.a.Fragment,null,n.length?n.map((function(t,n){var r=e.slice(t.start,t.end);return o.a.createElement("span",{key:n,"data-user-value":!!t.highlight||void 0,"data-suggested-value":!t.highlight||void 0},r)})):e)}function pe(){var e,t=Object(r.useContext)(ie),n=t.data.navigationValue,o=t.onSelect,i=t.state,a=t.transition,s=t.autocompletePropRef,u=t.persistSelectionRef,c=(e=oe,Object(r.useContext)(e).descendants);return function(e){var t=c.findIndex((function(e){return e.value===n}));function r(){return c[0]}function l(){return c[c.length-1]}switch(e.key){case"ArrowDown":if(e.preventDefault(),!c||!c.length)return;if(i===X)a(Z,{persistSelection:u.current});else{var f=t===c.length-1?s.current?null:r():c[(t+1)%c.length];a(Z,{value:f?f.value:null})}break;case"ArrowUp":if(e.preventDefault(),!c||0===c.length)return;if(i===X)a(Z);else{var p=0===t?s.current?null:l():-1===t?l():c[(t-1+c.length)%c.length];a(Z,{value:p?p.value:null})}break;case"Home":case"PageUp":if(e.preventDefault(),!c||0===c.length)return;i===X?a(Z):a(Z,{value:r().value});break;case"End":case"PageDown":if(e.preventDefault(),!c||0===c.length)return;i===X?a(Z):a(Z,{value:l().value});break;case"Escape":i!==X&&a("ESCAPE");break;case"Enter":i===Q&&null!==n&&(e.preventDefault(),o&&o(n),a("SELECT_WITH_KEYBOARD"))}}}function de(){var e=Object(r.useContext)(ie),t=e.state,n=e.transition,o=e.popoverRef,i=e.inputRef,a=e.buttonRef;return function(){var e=f(i.current)||document;requestAnimationFrame((function(){e.activeElement!==i.current&&e.activeElement!==a.current&&o.current&&(o.current.contains(e.activeElement)?t!==J&&n("INTERACT"):n("BLUR"))}))}}var he=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[$]}function i(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===K}(e)||Array.isArray(e)||!!e[G]||!!e.constructor[G]||d(e)||h(e))}function a(e){return o(e)||r(23,e),e[$].t}function s(e,t,n){void 0===n&&(n=!1),0===u(e)?(n?Object.keys:q)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function u(e){var t=e[$];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:h(e)?3:0}function c(e,t){return 2===u(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===u(e)?e.get(t):e[t]}function f(e,t,n){var r=u(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return B&&e instanceof Map}function h(e){return U&&e instanceof Set}function m(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[$];for(var n=q(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function y(e,t){return void 0===t&&(t=!1),b(e)||o(e)||!i(e)||(u(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&s(e,(function(e,t){return y(t,!0)}),!0)),e}function v(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=Y[e];return t||r(18,e),t}function k(){return z}function O(e,t){t&&(_("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){j(e),e.p.forEach(C),e.p=null}function j(e){e===z&&(z=e.l)}function E(e){return z={p:[],l:z,h:e,m:!0,_:0}}function C(e){var t=e[$];0===t.i||1===t.i?t.j():t.O=!0}function S(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.g||_("ES5").S(t,e,o),o?(n[$].P&&(w(t),r(4)),i(e)&&(e=T(t,e),t.l||I(t,e)),t.u&&_("Patches").M(n[$].t,e,t.u,t.s)):e=T(t,n,[]),w(t),t.u&&t.v(t.u,t.s),e!==V?e:void 0}function T(e,t,n){if(b(t))return t;var r=t[$];if(!r)return s(t,(function(o,i){return x(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return I(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=g(r.k):r.o;s(3===r.i?new Set(o):o,(function(t,i){return x(e,r,o,t,i,n)})),I(e,o,!1),n&&e.u&&_("Patches").R(r,n,e.u,e.s)}return r.o}function x(e,t,n,r,a,s){if(o(a)){var u=T(e,a,s&&t&&3!==t.i&&!c(t.D,r)?s.concat(r):void 0);if(f(n,r,u),!o(u))return;e.m=!1}if(i(a)&&!b(a)){if(!e.h.F&&e._<1)return;T(e,a),t&&t.A.l||I(e,a)}}function I(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&y(t,n)}function A(e,t){var n=e[$];return(n?m(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function R(e){e.P||(e.P=!0,e.l&&R(e.l))}function L(e){e.o||(e.o=g(e.t))}function D(e,t,n){var r=d(t)?_("MapSet").N(t,n):h(t)?_("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:k(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Q;n&&(o=[r],i=J);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):_("ES5").J(t,n);return(n?n.A:k()).p.push(r),r}function M(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[$],o=u(t);if(r){if(!r.P&&(r.i<4||!_("ES5").K(r)))return r.t;r.I=!0,n=N(t,o),r.I=!1}else n=N(t,o);return s(n,(function(t,o){r&&l(r.t,t)===o||f(n,t,e(o))})),3===o?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}n.d(t,"b",(function(){return a}));var F,z,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,U="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,V=H?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),G=H?Symbol.for("immer-draftable"):"__$immer_draftable",$=H?Symbol.for("immer-state"):"__$immer_state",K=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,X=Object.getOwnPropertyDescriptors||function(e){var t={};return q(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},Q={get:function(e,t){if(t===$)return e;var n=m(e);if(!c(n,t))return function(e,t,n){var r,o=P(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===A(e.t,t)?(L(e),e.o[t]=D(e.A.h,r,e)):r},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,n){var r=P(m(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=A(m(e),t),i=null==o?void 0:o[$];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(p(n,o)&&(void 0!==n||c(e.t,t)))return!0;L(e),R(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.D[t]=!1,L(e),R(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=m(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};s(Q,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var Z=new(function(){function e(e){var t=this;this.g=W,this.F=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var u;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(e)){var c=E(t),l=D(t,e,void 0),f=!0;try{u=n(l),f=!1}finally{f?w(c):j(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return O(c,o),S(e,c)}),(function(e){throw w(c),e})):(O(c,o),S(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===V&&(u=void 0),t.F&&y(u,!0),o){var p=[],d=[];_("Patches").M(e,u,p,d),o(p,d)}return u}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||r(8),o(e)&&(e=M(e));var t=E(this),n=D(this,e,void 0);return n[$].C=!0,j(t),n},t.finishDraft=function(e,t){var n=(e&&e[$]).A;return O(n,t),S(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!W&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=_("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}()),ee=Z.produce;Z.produceWithPatches.bind(Z),Z.setAutoFreeze.bind(Z),Z.setUseProxies.bind(Z),Z.applyPatches.bind(Z),Z.createDraft.bind(Z),Z.finishDraft.bind(Z);t.a=ee},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function MDCFoundation(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(MDCFoundation,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFoundation,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFoundation,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(MDCFoundation,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),MDCFoundation.prototype.init=function(){},MDCFoundation.prototype.destroy=function(){},MDCFoundation}()},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(614),o=n(232);var i="undefined"==typeof window?function(e){setTimeout((function(){return e(Date.now())}),0)}:window.requestIdleCallback||window.requestAnimationFrame,a=n(0),s=n(622),u=n(1258),c=n(510),l=Object(a.createContext)(!1);l.Consumer,l.Provider;var f,p,d,h,m=(f=[],p=new WeakMap,d=!1,h=function e(t){var n="number"==typeof t?function(){return!1}:function(){return t.timeRemaining()>0};do{if(0===f.length)return void(d=!1);var r=f.shift();p.get(r)(),p.delete(r)}while(n());i(e)},{add:function(e,t){p.has(e)||f.push(e),p.set(e,t),d||(d=!0,i(h))},flush:function(e){if(!p.has(e))return!1;var t=f.indexOf(e);f.splice(t,1);var n=p.get(e);return p.delete(e),n(),!0},reset:function(){f=[],p=new WeakMap,d=!1}});function g(e,t){var n="function"!=typeof e;n&&(t=[]);var i,f=Object(a.useCallback)(e,t),p=Object(c.a)(),d=Object(a.useContext)(l),h=Object(o.b)((function(){return{queue:!0}}),[p]),g=Object(a.useReducer)((function(e){return e+1}),0),y=Object(r.a)(g,2)[1],v=Object(a.useRef)(),b=Object(a.useRef)(d),_=Object(a.useRef)(),k=Object(a.useRef)(),O=Object(a.useRef)(),w=Object(a.useMemo)((function(){return{}}),t||[]);if(!n)try{i=v.current!==f||k.current?f(p.select,p):_.current}catch(e){var j="An error occurred while running 'mapSelect': ".concat(e.message);if(k.current)throw j+="\nThe error may be correlated with this previous error:\n",j+="".concat(k.current.stack,"\n\n"),j+="Original stack trace:",new Error(j);console.error(j)}return Object(u.a)((function(){n||(v.current=f,_.current=i,k.current=void 0,O.current=!0,b.current!==d&&(b.current=d,m.flush(h)))})),Object(u.a)((function(){if(!n){var e=function(){if(O.current){try{var e=v.current(p.select,p);if(Object(s.a)(_.current,e))return;_.current=e}catch(e){k.current=e}y()}};b.current?m.add(h,e):e();var t=p.subscribe(()=>{b.current?m.add(h,e):e()});return function(){O.current=!1,t(),m.flush(h)}}}),[p,w,n]),n?p.select(e):i}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(514);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(o.a)(e,n),Object(o.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(13);t.a=r.flowRight},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(165),o=n(356),i=function(){function MDCComponent(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];this.root_=e,this.initialize.apply(this,r.c(n)),this.foundation_=void 0===t?this.getDefaultFoundation():t,this.foundation_.init(),this.initialSyncWithDOM()}return MDCComponent.attachTo=function(e){return new MDCComponent(e,new o.a({}))},MDCComponent.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},MDCComponent.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},MDCComponent.prototype.initialSyncWithDOM=function(){},MDCComponent.prototype.destroy=function(){this.foundation_.destroy()},MDCComponent.prototype.listen=function(e,t){this.root_.addEventListener(e,t)},MDCComponent.prototype.unlisten=function(e,t){this.root_.removeEventListener(e,t)},MDCComponent.prototype.emit=function(e,t,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n,!1,t),this.root_.dispatchEvent(r)},MDCComponent}()},function(e,t,n){"use strict";t.a=(...e)=>t=>e.forEach(e=>{"function"==typeof e?e(t):e&&"object"==typeof e&&(e.current=t)})},,,,,,,,,,function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";var r=n(0),o=n(513).a?window:null,i=function(e){return!!e.addEventListener},a=function(e){return!!e.on},s=function(e,t,n,s){void 0===n&&(n=o),Object(r.useEffect)((function(){if(t&&n)return i(n)?n.addEventListener(e,t,s):a(n)&&n.on(e,t,s),function(){i(n)?n.removeEventListener(e,t,s):a(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])},u=function(){};t.a=function(e,t,n,o){void 0===t&&(t=u),void 0===n&&(n={}),void 0===o&&(o=[e]);var i=n.event,a=void 0===i?"keydown":i,c=n.target,l=n.options,f=Object(r.useMemo)((function(){var n,r="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}}),o);s(a,f,c,l)}},,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=n(0),f=n(1),p=n(1208).createFocusTrap,d=n(504).isFocusable,h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(FocusTrap,e);var t,n,r,s=a(FocusTrap);function FocusTrap(e){var t,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FocusTrap),t=s.call(this,e),n=u(t),o=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n=n.apply(void 0,o)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(r="getNodeForOption")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.handleDeactivate=t.handleDeactivate.bind(u(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(u(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(u(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&("returnFocusOnDeactivate"!==a&&"onDeactivate"!==a&&"onPostDeactivate"!==a&&"checkCanReturnFocus"!==a&&"clickOutsideDeactivates"!==a?t.internalOptions[a]=i[a]:t.originalOptions[a]=i[a]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=FocusTrap,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||d(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,o=void 0!==r&&r;n&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),FocusTrap}(l.Component),m="undefined"==typeof Element?Function:Element;h.propTypes={active:f.bool,paused:f.bool,focusTrapOptions:f.shape({document:f.object,onActivate:f.func,onPostActivate:f.func,checkCanFocusTrap:f.func,onDeactivate:f.func,onPostDeactivate:f.func,checkCanReturnFocus:f.func,initialFocus:f.oneOfType([f.instanceOf(m),f.string,f.bool,f.func]),fallbackFocus:f.oneOfType([f.instanceOf(m),f.string,f.func]),escapeDeactivates:f.oneOfType([f.bool,f.func]),clickOutsideDeactivates:f.oneOfType([f.bool,f.func]),returnFocusOnDeactivate:f.bool,setReturnFocus:f.oneOfType([f.instanceOf(m),f.string,f.bool,f.func]),allowOutsideClick:f.oneOfType([f.bool,f.func]),preventScroll:f.bool,tabbableOptions:f.shape({displayCheck:f.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:f.oneOfType([f.bool,f.func])})}),containerElements:f.arrayOf(f.instanceOf(m)),children:f.oneOfType([f.element,f.instanceOf(m)])},h.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:p},e.exports=h},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n(0),o=n(982),i=n.n(o),a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){function __(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function __generator(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var s={graph_id:null,legend_toggle:!1,graphID:null,options:{colors:null},data:null,rows:null,columns:null,diffdata:null,chartEvents:null,legendToggle:!1,chartActions:null,getChartWrapper:function(e,t){},getChartEditor:null,className:"",style:{},formatters:null,spreadSheetUrl:null,spreadSheetQueryParameters:{headers:1,gid:1},rootProps:{},chartWrapperParams:{},controls:null,render:null,toolbarItems:null,toolbarID:null},u=function(e){function GoogleChartLoader(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleGoogleChartsLoaderScriptLoaded=function(e){var n=t.props,r=n.chartVersion,o=n.chartPackages,i=n.chartLanguage,a=n.mapsApiKey,s=n.onLoad;e.charts.load(r||"current",{packages:o||["corechart","controls"],language:i||"en",mapsApiKey:a}),e.charts.setOnLoadCallback((function(){s(e)}))},t}return __extends(GoogleChartLoader,e),GoogleChartLoader.prototype.shouldComponentUpdate=function(e){return e.chartPackages===this.props.chartPackages},GoogleChartLoader.prototype.render=function(){var e=this,t=this.props.onError;return Object(r.createElement)(i.a,{url:"https://www.gstatic.com/charts/loader.js",onError:t,onLoad:function(){var t=window;t.google&&e.handleGoogleChartsLoaderScriptLoaded(t.google)}})},GoogleChartLoader}(r.Component),c=0,l=function(){return"reactgooglegraph-"+(c+=1)},f=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#3B3EAC"],p=function(e,t,n){return void 0===n&&(n={}),__awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){return[2,new Promise((function(r,o){var i=n.headers?"headers="+n.headers:"headers=0",a=n.query?"&tq="+encodeURIComponent(n.query):"",s=n.gid?"&gid="+n.gid:"",u=n.sheet?"&sheet="+n.sheet:"",c=n.access_token?"&access_token="+n.access_token:"",l=t+"/gviz/tq?"+(""+i+s+u+a+c);new e.visualization.Query(l).send((function(e){e.isError()?o("Error in query: "+e.getMessage()+" "+e.getDetailedMessage()):r(e.getDataTable())}))}))]}))}))},d=Object(r.createContext)(s),h=d.Provider,m=d.Consumer,ContextProvider=function(e){var t=e.children,n=e.value;return Object(r.createElement)(h,{value:n},t)},ContextConsumer=function(e){var t=e.render;return Object(r.createElement)(m,null,(function(e){return t(e)}))},g=function(e){function GoogleChartDataTableInner(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hiddenColumns:[]},t.listenToLegendToggle=function(){var e=t.props,n=e.google,r=e.googleChartWrapper;n.visualization.events.addListener(r,"select",(function(){var e=r.getChart().getSelection(),n=r.getDataTable();if(0!==e.length&&null===e[0].row&&null!==n){var o=e[0].column,i=t.getColumnID(n,o);t.state.hiddenColumns.includes(i)?t.setState((function(e){return __assign({},e,{hiddenColumns:e.hiddenColumns.filter((function(e){return e!==i})).slice()})})):t.setState((function(e){return __assign({},e,{hiddenColumns:e.hiddenColumns.concat([i])})}))}}))},t.applyFormatters=function(e,n){for(var r=t.props.google,o=0,i=n;o<i.length;o++){var a=i[o];switch(a.type){case"ArrowFormat":(s=new r.visualization.ArrowFormat(a.options)).format(e,a.column);break;case"BarFormat":(s=new r.visualization.BarFormat(a.options)).format(e,a.column);break;case"ColorFormat":for(var s=new r.visualization.ColorFormat(a.options),u=0,c=a.ranges;u<c.length;u++){var l=c[u];s.addRange.apply(s,l)}s.format(e,a.column);break;case"DateFormat":(s=new r.visualization.DateFormat(a.options)).format(e,a.column);break;case"NumberFormat":(s=new r.visualization.NumberFormat(a.options)).format(e,a.column);break;case"PatternFormat":(s=new r.visualization.PatternFormat(a.options)).format(e,a.column)}}},t.getColumnID=function(e,t){return e.getColumnId(t)||e.getColumnLabel(t)},t.draw=function(e){var n=e.data,r=e.diffdata,o=e.rows,i=e.columns,a=e.options,s=e.legend_toggle,u=e.legendToggle,c=e.chartType,l=e.formatters,f=e.spreadSheetUrl,d=e.spreadSheetQueryParameters;return __awaiter(t,void 0,void 0,(function(){var e,t,h,m,g,y,v,b,_,k,O,w,j,E;return __generator(this,(function(C){switch(C.label){case 0:return e=this.props,t=e.google,h=e.googleChartWrapper,g=null,null!==r&&(y=t.visualization.arrayToDataTable(r.old),v=t.visualization.arrayToDataTable(r.new),g=t.visualization[c].prototype.computeDiff(y,v)),null===n?[3,1]:(m=Array.isArray(n)?t.visualization.arrayToDataTable(n):new t.visualization.DataTable(n),[3,5]);case 1:return null===o||null===i?[3,2]:(m=t.visualization.arrayToDataTable([i].concat(o)),[3,5]);case 2:return null===f?[3,4]:[4,p(t,f,d)];case 3:return m=C.sent(),[3,5];case 4:m=t.visualization.arrayToDataTable([]),C.label=5;case 5:for(b=m.getNumberOfColumns(),_=0;_<b;_+=1)k=this.getColumnID(m,_),this.state.hiddenColumns.includes(k)&&(O=m.getColumnLabel(_),w=m.getColumnId(_),j=m.getColumnType(_),m.removeColumn(_),m.addColumn({label:O,id:w,type:j}));return E=h.getChart(),"Timeline"===h.getChartType()&&E&&E.clearChart(),h.setChartType(c),h.setOptions(a),h.setDataTable(m),h.draw(),null!==this.props.googleChartDashboard&&this.props.googleChartDashboard.draw(m),null!==g&&(h.setDataTable(g),h.draw()),null!==l&&(this.applyFormatters(m,l),h.setDataTable(m),h.draw()),!0!==u&&!0!==s||this.grayOutHiddenColumns({options:a}),[2]}}))}))},t.grayOutHiddenColumns=function(e){var n=e.options,r=t.props.googleChartWrapper,o=r.getDataTable();if(null!==o){var i=o.getNumberOfColumns();if(!1!==t.state.hiddenColumns.length>0){var a=Array.from({length:i-1}).map((function(e,r){var i=t.getColumnID(o,r+1);return t.state.hiddenColumns.includes(i)?"#CCCCCC":void 0!==n.colors&&null!==n.colors?n.colors[r]:f[r]}));r.setOptions(__assign({},n,{colors:a})),r.draw()}}},t.onResize=function(){t.props.googleChartWrapper.draw()},t}return __extends(GoogleChartDataTableInner,e),GoogleChartDataTableInner.prototype.componentDidMount=function(){this.draw(this.props),window.addEventListener("resize",this.onResize),(this.props.legend_toggle||this.props.legendToggle)&&this.listenToLegendToggle()},GoogleChartDataTableInner.prototype.componentWillUnmount=function(){var e=this.props,t=e.google,n=e.googleChartWrapper;window.removeEventListener("resize",this.onResize),t.visualization.events.removeAllListeners(n),"Timeline"===n.getChartType()&&n.getChart()&&n.getChart().clearChart()},GoogleChartDataTableInner.prototype.componentDidUpdate=function(){this.draw(this.props)},GoogleChartDataTableInner.prototype.render=function(){return null},GoogleChartDataTableInner}(r.Component),y=function(e){function GoogleChartDataTable(){return null!==e&&e.apply(this,arguments)||this}return __extends(GoogleChartDataTable,e),GoogleChartDataTable.prototype.componentDidMount=function(){},GoogleChartDataTable.prototype.componentWillUnmount=function(){},GoogleChartDataTable.prototype.shouldComponentUpdate=function(){return!1},GoogleChartDataTable.prototype.render=function(){var e=this.props,t=e.google,n=e.googleChartWrapper,o=e.googleChartDashboard;return Object(r.createElement)(ContextConsumer,{render:function(e){return Object(r.createElement)(g,__assign({},e,{google:t,googleChartWrapper:n,googleChartDashboard:o}))}})},GoogleChartDataTable}(r.Component),v=function(e){function GoogleChartEvents(){return null!==e&&e.apply(this,arguments)||this}return __extends(GoogleChartEvents,e),GoogleChartEvents.prototype.shouldComponentUpdate=function(){return!1},GoogleChartEvents.prototype.listenToEvents=function(e){var t=this,n=e.chartEvents,r=e.google,o=e.googleChartWrapper;if(null!==n){r.visualization.events.removeAllListeners(o);for(var i=function(e){var n=e.eventName,i=e.callback;r.visualization.events.addListener(o,n,(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];i({chartWrapper:o,props:t.props,google:r,eventArgs:e})}))},a=0,s=n;a<s.length;a++){i(s[a])}}},GoogleChartEvents.prototype.render=function(){var e=this,t=this.props,n=t.google,o=t.googleChartWrapper;return Object(r.createElement)(ContextConsumer,{render:function(t){return e.listenToEvents({chartEvents:t.chartEvents||null,google:n,googleChartWrapper:o}),null}})},GoogleChartEvents}(r.Component),b=0,_=function(e){function GoogleChart(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={googleChartWrapper:null,googleChartDashboard:null,googleChartControls:null,googleChartEditor:null,isReady:!1},t.graphID=null,t.dashboard_ref=Object(r.createRef)(),t.toolbar_ref=Object(r.createRef)(),t.getGraphID=function(){var e,n=t.props,r=n.graphID,o=n.graph_id;return e=null===r&&null===o?null===t.graphID?l():t.graphID:null!==r&&null===o?r:null!==o&&null===r?o:r,t.graphID=e,t.graphID},t.getControlID=function(e,t){return b+=1,void 0===e?"googlechart-control-"+t+"-"+b:e},t.addControls=function(e,n){var r=t.props,o=r.google,i=r.controls,a=null===i?null:i.map((function(e,n){var r=e.controlID,i=e.controlType,a=e.options,s=e.controlWrapperParams,u=t.getControlID(r,n);return{controlProp:e,control:new o.visualization.ControlWrapper(__assign({containerId:u,controlType:i,options:a},s))}}));if(null===a)return null;n.bind(a.map((function(e){return e.control})),e);for(var s=function(n){for(var r=n.control,i=n.controlProp.controlEvents,a=function(n){var i=n.callback,a=n.eventName;o.visualization.events.removeListener(r,a,i),o.visualization.events.addListener(r,a,(function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i({chartWrapper:e,controlWrapper:r,props:t.props,google:o,eventArgs:n})}))},s=0,u=void 0===i?[]:i;s<u.length;s++){a(u[s])}},u=0,c=a;u<c.length;u++){s(c[u])}return a},t.renderChart=function(){var e=t.props,n=e.width,o=e.height,i=e.options,a=e.style,s=e.className,u=e.rootProps,c=e.google,l=__assign({height:o||i&&i.height,width:n||i&&i.width},a);return Object(r.createElement)("div",__assign({id:t.getGraphID(),style:l,className:s},u),t.state.isReady&&null!==t.state.googleChartWrapper?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(y,{googleChartWrapper:t.state.googleChartWrapper,google:c,googleChartDashboard:t.state.googleChartDashboard}),Object(r.createElement)(v,{googleChartWrapper:t.state.googleChartWrapper,google:c})):null)},t.renderControl=function(e){return void 0===e&&(e=function(e){e.control,e.controlProp;return!0}),t.state.isReady&&null!==t.state.googleChartControls?Object(r.createElement)(r.Fragment,null,t.state.googleChartControls.filter((function(t){var n=t.controlProp,r=t.control;return e({control:r,controlProp:n})})).map((function(e){var t=e.control;e.controlProp;return Object(r.createElement)("div",{key:t.getContainerId(),id:t.getContainerId()})}))):null},t.renderToolBar=function(){return null===t.props.toolbarItems?null:Object(r.createElement)("div",{ref:t.toolbar_ref})},t}return __extends(GoogleChart,e),GoogleChart.prototype.componentDidMount=function(){var e=this.props,t=e.options,n=e.google,r=e.chartType,o=e.chartWrapperParams,i=e.toolbarItems,a=e.getChartEditor,s=e.getChartWrapper,u=__assign({chartType:r,options:t,containerId:this.getGraphID()},o),c=new n.visualization.ChartWrapper(u);c.setOptions(t),s(c,n);var l=new n.visualization.Dashboard(this.dashboard_ref),f=this.addControls(c,l);null!==i&&n.visualization.drawToolbar(this.toolbar_ref.current,i);var p=null;null!==a&&a({chartEditor:p=new n.visualization.ChartEditor,chartWrapper:c,google:n}),this.setState({googleChartEditor:p,googleChartControls:f,googleChartDashboard:l,googleChartWrapper:c,isReady:!0})},GoogleChart.prototype.componentDidUpdate=function(){if(null!==this.state.googleChartWrapper&&null!==this.state.googleChartDashboard&&null!==this.state.googleChartControls)for(var e=this.props.controls,t=0;t<e.length;t+=1){var n=e[t],r=n.controlType,o=n.options,i=n.controlWrapperParams;i&&"state"in i&&this.state.googleChartControls[t].control.setState(i.state),this.state.googleChartControls[t].control.setOptions(o),this.state.googleChartControls[t].control.setControlType(r)}},GoogleChart.prototype.shouldComponentUpdate=function(e,t){return this.state.isReady!==t.isReady||e.controls!==this.props.controls},GoogleChart.prototype.render=function(){var e=this.props,t=e.width,n=e.height,o=e.options,i=e.style,a=__assign({height:n||o&&o.height,width:t||o&&o.width},i);return null!==this.props.render?Object(r.createElement)("div",{ref:this.dashboard_ref,style:a},Object(r.createElement)("div",{ref:this.toolbar_ref,id:"toolbar"}),this.props.render({renderChart:this.renderChart,renderControl:this.renderControl,renderToolbar:this.renderToolBar})):Object(r.createElement)("div",{ref:this.dashboard_ref,style:a},this.renderControl((function(e){return"bottom"!==e.controlProp.controlPosition})),this.renderChart(),this.renderControl((function(e){return"bottom"===e.controlProp.controlPosition})),this.renderToolBar())},GoogleChart}(r.Component),k=function(e){function Chart(){var t=null!==e&&e.apply(this,arguments)||this;return t._isMounted=!1,t.state={loadingStatus:"loading",google:null},t.onLoad=function(e){if(t.isFullyLoaded(e))t.onSuccess(e);else var n=setInterval((function(){var e=window.google;t._isMounted?e&&t.isFullyLoaded(e)&&(clearInterval(n),t.onSuccess(e)):clearInterval(n)}),1e3)},t.onSuccess=function(e){t.setState({loadingStatus:"ready",google:e})},t.onError=function(){t.setState({loadingStatus:"errored"})},t}return __extends(Chart,e),Chart.prototype.render=function(){var e=this.props,t=e.chartLanguage,n=e.chartPackages,o=e.chartVersion,i=e.mapsApiKey,a=e.loader,s=e.errorElement;return Object(r.createElement)(ContextProvider,{value:this.props},"ready"===this.state.loadingStatus&&null!==this.state.google?Object(r.createElement)(_,__assign({},this.props,{google:this.state.google})):"errored"===this.state.loadingStatus&&s?s:a,Object(r.createElement)(u,__assign({},{chartLanguage:t,chartPackages:n,chartVersion:o,mapsApiKey:i},{onLoad:this.onLoad,onError:this.onError})))},Chart.prototype.componentDidMount=function(){this._isMounted=!0},Chart.prototype.componentWillUnmount=function(){this._isMounted=!1},Chart.prototype.isFullyLoaded=function(e){var t=this.props,n=t.controls,r=t.toolbarItems,o=t.getChartEditor;return e&&e.visualization&&e.visualization.ChartWrapper&&e.visualization.Dashboard&&(!n||e.visualization.ChartWrapper)&&(!o||e.visualization.ChartEditor)&&(!r||e.visualization.drawToolbar)},Chart.defaultProps=s,Chart}(r.Component)},,function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function u(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=i(e[t],n)})),s(t).forEach((function(o){(function(e,t){return u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(u(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(o,n)(e[o],t[o],n):r[o]=i(t[o],n))})),r}function l(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var f=l;e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return C})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return h}));var r=n(75);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),u=t&&o(t),c=s||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(399);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var v=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function _(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),v||Object(c.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,u=void 0!==s&&s,f=a.getUserConfirmation,g=void 0===f?b:f,k=a.keyLength,O=void 0===k?6:k,w=e.basename?d(l(e.basename)):"";function j(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return w&&(i=p(i,w)),m(i,r,n)}function E(){return Math.random().toString(36).substr(2,O)}var C=y();function S(e){Object(r.a)(z,e),z.length=n.length,C.notifyListeners(z.location,z.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||A(j(e.state))}function x(){A(j(_()))}var I=!1;function A(e){if(I)I=!1,S();else{C.confirmTransitionTo(e,"POP",g,(function(t){t?S({action:"POP",location:e}):function(e){var t=z.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(I=!0,D(o))}(e)}))}}var P=j(_()),R=[P.key];function L(e){return w+h(e)}function D(e){n.go(e)}var M=0;function N(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",T),i&&window.addEventListener("hashchange",x)):0===M&&(window.removeEventListener("popstate",T),i&&window.removeEventListener("hashchange",x))}var F=!1;var z={length:n.length,action:"POP",location:P,createHref:L,push:function(e,t){var r=m(e,t,E(),z.location);C.confirmTransitionTo(r,"PUSH",g,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),u)window.location.href=t;else{var s=R.indexOf(z.location.key),c=R.slice(0,s+1);c.push(r.key),R=c,S({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,E(),z.location);C.confirmTransitionTo(r,"REPLACE",g,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),u)window.location.replace(t);else{var s=R.indexOf(z.location.key);-1!==s&&(R[s]=r.key),S({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),t()}},listen:function(e){var t=C.appendListener(e);return N(1),function(){N(-1),t()}}};return z}var O={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:l},slash:{encodePath:l,decodePath:l}};function w(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function j(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(w(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),v||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,s=void 0===a?"slash":a,u=e.basename?d(l(e.basename)):"",f=O[s],g=f.encodePath,_=f.decodePath;function k(){var e=_(j());return u&&(e=p(e,u)),m(e)}var C=y();function S(e){Object(r.a)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var T=!1,x=null;function I(){var e,t,n=j(),r=g(n);if(n!==r)E(r);else{var o=k(),a=z.location;if(!T&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(x===h(o))return;x=null,function(e){if(T)T=!1,S();else{C.confirmTransitionTo(e,"POP",i,(function(t){t?S({action:"POP",location:e}):function(e){var t=z.location,n=L.lastIndexOf(h(t));-1===n&&(n=0);var r=L.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,D(o))}(e)}))}}(o)}}var A=j(),P=g(A);A!==P&&E(P);var R=k(),L=[h(R)];function D(e){t.go(e)}var M=0;function N(e){1===(M+=e)&&1===e?window.addEventListener("hashchange",I):0===M&&window.removeEventListener("hashchange",I)}var F=!1;var z={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=w(window.location.href)),n+"#"+g(u+h(e))},push:function(e,t){var n=m(e,void 0,void 0,z.location);C.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=g(u+t);if(j()!==r){x=t,function(e){window.location.hash=e}(r);var o=L.lastIndexOf(h(z.location)),i=L.slice(0,o+1);i.push(t),L=i,S({action:"PUSH",location:n})}else S()}}))},replace:function(e,t){var n=m(e,void 0,void 0,z.location);C.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=g(u+t);j()!==r&&(x=t,E(r));var o=L.indexOf(h(z.location));-1!==o&&(L[o]=t),S({action:"REPLACE",location:n})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),t()}},listen:function(e){var t=C.appendListener(e);return N(1),function(){N(-1),t()}}};return z}function S(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,u=t.keyLength,c=void 0===u?6:u,l=y();function f(e){Object(r.a)(_,e),_.length=_.entries.length,l.notifyListeners(_.location,_.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=S(s,0,i.length-1),g=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),v=h;function b(e){var t=S(_.index+e,0,_.entries.length-1),r=_.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var _={length:g.length,action:"POP",location:g[d],index:d,entries:g,createHref:v,push:function(e,t){var r=m(e,t,p(),_.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=_.index+1,n=_.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),_.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(_.entries[_.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=_.index+e;return t>=0&&t<_.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return _}},function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}));t.a=i},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var s=n(12),u=n.n(s),c=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function Path(e){return Object(c.createElement)("path",e)},d=function SVG(e){var t=e.className,n=e.isPressed,r=f(f({},a(e,["className","isPressed"])),{},{className:u()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(c.createElement)("svg",r)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";n.r(t),n.d(t,"focusable",(function(){return _})),n.d(t,"isFocusable",(function(){return w})),n.d(t,"isTabbable",(function(){return k})),n.d(t,"tabbable",(function(){return b}));var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&a.call(e,o)&&r.unshift(e),r=r.filter(n)},c=function e(t,n,r){for(var i=[],s=Array.from(t);s.length;){var u=s.shift();if("SLOT"===u.tagName){var c=u.assignedElements(),l=e(c.length?c:u.children,!0,r);r.flatten?i.push.apply(i,l):i.push({scope:u,candidates:l})}else{a.call(u,o)&&r.filter(u)&&(n||!t.includes(u))&&i.push(u);var f=u.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(u),p=!r.shadowRootFilter||r.shadowRootFilter(u);if(f&&p){var d=e(!0===f?u.children:f.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scope:u,candidates:d})}else s.unshift.apply(s,u.children)}}return i},l=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},d=function(e){return function(e){return p(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},h=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},m=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof r){for(var i=e;e;){var u=e.parentElement,c=s(e);if(u&&!u.shadowRoot&&!0===r(u))return h(e);e=e.assignedSlot?e.assignedSlot:u||c===e.ownerDocument?u:c.host}e=i}if(function(e){for(var t,n=s(e).host,r=!!(null!==(t=n)&&void 0!==t&&t.ownerDocument.contains(n)||e.ownerDocument.contains(e));!r&&n;){var o;r=!(null===(o=n=s(n).host)||void 0===o||!o.ownerDocument.contains(n))}return r}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},g=function(e,t){return!(t.disabled||function(e){return p(e)&&"hidden"===e.type}(t)||m(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(d(t)||l(t)<0||!g(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function(e,t){return function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,a=i?t.scope:t,s=l(a,i),u=i?e(t.candidates):a;0===s?i?n.push.apply(n,u):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:u})})),r.sort(f).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)}((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):u(e,t.includeContainer,y.bind(null,t)))},_=function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:g.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,g.bind(null,t))},k=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&y(t,e)},O=r.concat("iframe").join(","),w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,O)&&g(t,e)}},function(e,t,n){"use strict";var r=n(407),o=n(233),i=n(1259),a=n(75),s=["xs","sm","md","lg","xl"];function u(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,u=e.step,c=void 0===u?5:u,l=Object(o.a)(e,["values","unit","step"]);function f(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function p(e,t){var r=s.indexOf(t);return r===s.length-1?f(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[s[r+1]]?n[s[r+1]]:t)-c/100).concat(i,")")}return Object(a.a)({keys:s,values:n,up:f,down:function(e){var t=s.indexOf(e)+1,r=n[s[t]];return t===s.length?f("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(i,")")},between:p,only:function(e){return p(e,e)},width:function(e){return n[e]}},l)}function c(e,t,n){var o;return Object(a.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(a.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(a.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(o={minHeight:56},Object(r.a)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(o,e.up("sm"),{minHeight:64}),o)},n)}var l=n(1155),f={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},d={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},h={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=n(589),_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:p[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},k={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:p[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(b.d)(e.main,o):"dark"===t&&(e.dark=Object(b.a)(e.main,i)))}function w(e){var t=e.primary,n=void 0===t?{light:d[300],main:d[500],dark:d[700]}:t,r=e.secondary,s=void 0===r?{light:h.A200,main:h.A400,dark:h.A700}:r,u=e.error,c=void 0===u?{light:m[300],main:m[500],dark:m[700]}:u,w=e.warning,j=void 0===w?{light:g[300],main:g[500],dark:g[700]}:w,E=e.info,C=void 0===E?{light:y[300],main:y[500],dark:y[700]}:E,S=e.success,T=void 0===S?{light:v[300],main:v[500],dark:v[700]}:S,x=e.type,I=void 0===x?"light":x,A=e.contrastThreshold,P=void 0===A?3:A,R=e.tonalOffset,L=void 0===R?.2:R,D=Object(o.a)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function M(e){return Object(b.c)(e,k.text.primary)>=P?k.text.primary:_.text.primary}var N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(a.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(l.a)(4,t));if("string"!=typeof e.main)throw new Error(Object(l.a)(5,JSON.stringify(e.main)));return O(e,"light",n,L),O(e,"dark",r,L),e.contrastText||(e.contrastText=M(e.main)),e},F={dark:k,light:_};return Object(i.a)(Object(a.a)({common:f,type:I,primary:N(n),secondary:N(s,"A400","A200","A700"),error:N(c),warning:N(j),info:N(C),success:N(T),grey:p,contrastThreshold:P,getContrastText:M,augmentColor:N,tonalOffset:L},F[I]),D)}function j(e){return Math.round(1e5*e)/1e5}var E={textTransform:"uppercase"};function C(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,s=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,u=n.fontSize,c=void 0===u?14:u,l=n.fontWeightLight,f=void 0===l?300:l,p=n.fontWeightRegular,d=void 0===p?400:p,h=n.fontWeightMedium,m=void 0===h?500:h,g=n.fontWeightBold,y=void 0===g?700:g,v=n.htmlFontSize,b=void 0===v?16:v,_=n.allVariants,k=n.pxToRem,O=Object(o.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var w=c/14,C=k||function(e){return"".concat(e/b*w,"rem")},S=function(e,t,n,r,o){return Object(a.a)({fontFamily:s,fontWeight:e,fontSize:C(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat(j(r/t),"em")}:{},o,_)},T={h1:S(f,96,1.167,-1.5),h2:S(f,60,1.2,-.5),h3:S(d,48,1.167,0),h4:S(d,34,1.235,.25),h5:S(d,24,1.334,0),h6:S(m,20,1.6,.15),subtitle1:S(d,16,1.75,.15),subtitle2:S(m,14,1.57,.1),body1:S(d,16,1.5,.15),body2:S(d,14,1.43,.15),button:S(m,14,1.75,.4,E),caption:S(d,12,1.66,.4),overline:S(d,12,2.66,1,E)};return Object(i.a)(Object(a.a)({htmlFontSize:b,pxToRem:C,round:j,fontFamily:s,fontSize:c,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:y},T),O,{clone:!1})}function S(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",S(0,2,1,-1,0,1,1,0,0,1,3,0),S(0,3,1,-2,0,2,2,0,0,1,5,0),S(0,3,3,-2,0,3,4,0,0,1,8,0),S(0,2,4,-1,0,4,5,0,0,1,10,0),S(0,3,5,-1,0,5,8,0,0,1,14,0),S(0,3,5,-1,0,6,10,0,0,1,18,0),S(0,4,5,-2,0,7,10,1,0,2,16,1),S(0,5,5,-3,0,8,10,1,0,3,14,2),S(0,5,6,-3,0,9,12,1,0,3,16,2),S(0,6,6,-3,0,10,14,1,0,4,18,3),S(0,6,7,-4,0,11,15,1,0,4,20,3),S(0,7,8,-4,0,12,17,2,0,5,22,4),S(0,7,8,-4,0,13,19,2,0,5,24,4),S(0,7,9,-4,0,14,21,2,0,5,26,4),S(0,8,9,-5,0,15,22,2,0,6,28,5),S(0,8,10,-5,0,16,24,2,0,6,30,5),S(0,8,11,-5,0,17,26,2,0,6,32,5),S(0,9,11,-5,0,18,28,2,0,7,34,6),S(0,9,12,-6,0,19,29,2,0,7,36,6),S(0,10,13,-6,0,20,31,3,0,8,38,7),S(0,10,13,-6,0,21,33,3,0,8,40,7),S(0,10,14,-6,0,22,35,3,0,8,42,7),S(0,11,14,-7,0,23,36,3,0,9,44,8),S(0,11,15,-7,0,24,38,3,0,9,46,8)],x={borderRadius:4},I=n(620),A=(n(773),n(643));n(1);var P=function(e,t){return t?Object(i.a)(e,t,{clone:!1}):e},R={xs:0,sm:600,md:960,lg:1280,xl:1920},L={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(R[e],"px)")}};var D,M,N={m:"margin",p:"padding"},F={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},z={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},H=(D=function(e){if(e.length>2){if(!z[e])return[e];e=z[e]}var t=e.split(""),n=Object(I.a)(t,2),r=n[0],o=n[1],i=N[r],a=F[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]},M={},function(e){return void 0===M[e]&&(M[e]=D(e)),M[e]}),B=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function U(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function W(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function V(e){var t=U(e.theme);return Object.keys(e).map((function(n){if(-1===B.indexOf(n))return null;var r=W(H(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||L;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===Object(A.a)(t)){var o=e.theme.breakpoints||L;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(P,{})}V.propTypes={},V.filterProps=B;function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=U({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var $=n(707),K={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};t.a=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,a=void 0===r?{}:r,s=e.palette,l=void 0===s?{}:s,f=e.spacing,p=e.typography,d=void 0===p?{}:p,h=Object(o.a)(e,["breakpoints","mixins","palette","spacing","typography"]),m=w(l),g=u(n),y=G(f),v=Object(i.a)({breakpoints:g,direction:"ltr",mixins:c(g,y,a),overrides:{},palette:m,props:{},shadows:T,typography:C(m,d),spacing:y,shape:x,transitions:$.a,zIndex:K},h),b=arguments.length,_=new Array(b>1?b-1:0),k=1;k<b;k++)_[k-1]=arguments[k];return v=_.reduce((function(e,t){return Object(i.a)(e,t)}),v)}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){var n=Object(r.useRef)((function(){}));Object(r.useEffect)((function(){n.current=e})),Object(r.useEffect)((function(){if(null!==t){var e=setInterval((function(){return n.current()}),t||0);return function(){return clearInterval(e)}}}),[t])}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(618);function i(){return Object(r.useContext)(o.a)}},function(e,t,n){var r=n(826),o=n(824),i=n(797),a=n(827);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(963),o="object"==typeof window,i=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.addEventListener.apply(e,t)},a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.removeEventListener.apply(e,t)},s=n.n(r).a},function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},,,,function(e,t){var n=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],r=n.join(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function i(e,t){t=t||{};var n,i,s,u=[],f=[],p=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(p=Array.prototype.slice.apply(p)).unshift(e),n=0;n<p.length;n++)a(i=p[n])&&(0===(s=c(i))?u.push(i):f.push({documentOrder:n,tabIndex:s,node:i}));return f.sort(l).map((function(e){return e.node})).concat(u)}function a(e){return!(!s(e)||function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||c(e)<0)}function s(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}i.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&a(e)},i.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,u)&&s(e)};var u=n.concat("iframe").join(",");function c(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(617);function o(e,t){return Object(r.a)(e)[t]}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){Object(r.useEffect)((function(){return e&&e(),function(){t&&t()}}),[])}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){var n,o=(n=Object(r.useRef)(!0)).current?(n.current=!1,!0):n.current;Object(r.useEffect)((function(){if(!o)return e()}),t)}},function(e,t,n){"use strict";t.a=function(e,t){}},,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(75),o=n(0),i=n.n(o),a=(n(1),n(755)),s=n(1154),u=n(759);t.a=function ThemeProvider(e){var t=e.children,n=e.theme,o=Object(s.a)(),c=i.a.useMemo((function(){var e=null===o?n:function(e,t){return"function"==typeof t?t(e):Object(r.a)({},e,t)}(o,n);return null!=e&&(e[u.a]=null!==o),e}),[n,o]);return i.a.createElement(a.a.Provider,{value:c},t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return U}));const o=window,i=o.trustedTypes,a=i?i.createPolicy("lit-html",{createHTML:e=>e}):void 0,s="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,c="?"+u,l=`<${c}>`,f=document,p=()=>f.createComment(""),d=e=>null===e||"object"!=typeof e&&"function"!=typeof e,h=Array.isArray,m=e=>h(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]),g="[ \t\n\f\r]",y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,b=/>/g,_=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,O=/"/g,w=/^(?:script|style|textarea|title)$/i,j=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),E=j(1),C=(j(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),T=new WeakMap,x=f.createTreeWalker(f,129,null,!1),I=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":"",c=y;for(let t=0;t<n;t++){const n=e[t];let a,f,p=-1,d=0;for(;d<n.length&&(c.lastIndex=d,f=c.exec(n),null!==f);)d=c.lastIndex,c===y?"!--"===f[1]?c=v:void 0!==f[1]?c=b:void 0!==f[2]?(w.test(f[2])&&(o=RegExp("</"+f[2],"g")),c=_):void 0!==f[3]&&(c=_):c===_?">"===f[0]?(c=null!=o?o:y,p=-1):void 0===f[1]?p=-2:(p=c.lastIndex-f[2].length,a=f[1],c=void 0===f[3]?_:'"'===f[3]?O:k):c===O||c===k?c=_:c===v||c===b?c=y:(c=_,o=void 0);const h=c===_&&e[t+1].startsWith("/>")?" ":"";i+=c===y?n+l:p>=0?(r.push(a),n.slice(0,p)+s+n.slice(p)+u+h):n+u+(-2===p?(r.push(void 0),t):h)}const f=i+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(f):f,r]};class A{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,a=0;const l=e.length-1,f=this.parts,[d,h]=I(e,t);if(this.el=A.createElement(d,n),x.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=x.nextNode())&&f.length<l;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith(s)||t.startsWith(u)){const n=h[a++];if(e.push(t),void 0!==n){const e=r.getAttribute(n.toLowerCase()+s).split(u),t=/([.?@])?(.*)/.exec(n);f.push({type:1,index:o,name:t[2],strings:e,ctor:"."===t[1]?M:"?"===t[1]?F:"@"===t[1]?z:D})}else f.push({type:6,index:o})}for(const t of e)r.removeAttribute(t)}if(w.test(r.tagName)){const e=r.textContent.split(u),t=e.length-1;if(t>0){r.textContent=i?i.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],p()),x.nextNode(),f.push({type:2,index:++o});r.append(e[t],p())}}}else if(8===r.nodeType)if(r.data===c)f.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(u,e+1));)f.push({type:7,index:o}),e+=u.length-1}o++}}static createElement(e,t){const n=f.createElement("template");return n.innerHTML=e,n}}function P(e,t,n=e,r){var o,i,a,s;if(t===C)return t;let u=void 0!==r?null===(o=n._$Co)||void 0===o?void 0:o[r]:n._$Cl;const c=d(t)?void 0:t._$litDirective$;return(null==u?void 0:u.constructor)!==c&&(null===(i=null==u?void 0:u._$AO)||void 0===i||i.call(u,!1),void 0===c?u=void 0:(u=new c(e),u._$AT(e,n,r)),void 0!==r?(null!==(a=(s=n)._$Co)&&void 0!==a?a:s._$Co=[])[r]=u:n._$Cl=u),void 0!==u&&(t=P(e,u._$AS(e,t.values),u,r)),t}class R{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:f).importNode(n,!0);x.currentNode=o;let i=x.nextNode(),a=0,s=0,u=r[0];for(;void 0!==u;){if(a===u.index){let t;2===u.type?t=new L(i,i.nextSibling,this,e):1===u.type?t=new u.ctor(i,u.name,u.strings,this,e):6===u.type&&(t=new H(i,this,e)),this._$AV.push(t),u=r[++s]}a!==(null==u?void 0:u.index)&&(i=x.nextNode(),a++)}return x.currentNode=f,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class L{constructor(e,t,n,r){var o;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cp=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=P(this,e,t),d(e)?e===S||null==e||""===e?(this._$AH!==S&&this._$AR(),this._$AH=S):e!==this._$AH&&e!==C&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):m(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=e:this.$(f.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=A.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new R(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=T.get(e.strings);return void 0===t&&T.set(e.strings,t=new A(e)),t}T(e){h(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new L(this.k(p()),this.k(p()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class D{constructor(e,t,n,r,o){this.type=1,this._$AH=S,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=P(this,e,t,0),i=!d(e)||e!==this._$AH&&e!==C,i&&(this._$AH=e);else{const r=e;let a,s;for(e=o[0],a=0;a<o.length-1;a++)s=P(this,r[n+a],t,a),s===C&&(s=this._$AH[a]),i||(i=!d(s)||s!==this._$AH[a]),s===S?e=S:e!==S&&(e+=(null!=s?s:"")+o[a+1]),this._$AH[a]=s}i&&!r&&this.j(e)}j(e){e===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class M extends D{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===S?void 0:e}}const N=i?i.emptyScript:"";class F extends D{constructor(){super(...arguments),this.type=4}j(e){e&&e!==S?this.element.setAttribute(this.name,N):this.element.removeAttribute(this.name)}}class z extends D{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=P(this,e,t,0))&&void 0!==n?n:S)===C)return;const r=this._$AH,o=e===S&&r!==S||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==S&&(r===S||o);o&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class H{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){P(this,e)}}const B=o.litHtmlPolyfillSupport;null==B||B(A,L),(null!==(r=o.litHtmlVersions)&&void 0!==r?r:o.litHtmlVersions=[]).push("2.7.4");const U=(e,t,n)=>{var r,o;const i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let a=i._$litPart$;if(void 0===a){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;i._$litPart$=a=new L(t.insertBefore(p(),e),e,void 0,null!=n?n:{})}return a._$AI(e),a}},,,function(e,t,n){"use strict";function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(706);var o=n(746);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var r,o;function i(e,t){void 0===t&&(t=!1);var n=e.CSS,o=r;if("boolean"==typeof r&&!t)return r;if(!(n&&"function"==typeof n.supports))return!1;var i=n.supports("--css-vars","yes"),a=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return o=!(!i&&!a)&&!function(e){var t=e.document,n=t.createElement("div");n.className="mdc-ripple-surface--test-edge-var-bug",t.body.appendChild(n);var r=e.getComputedStyle(n),o=null!==r&&"solid"===r.borderTopStyle;return n.parentNode&&n.parentNode.removeChild(n),o}(e),t||(r=o),o}function a(e,t){if(void 0===e&&(e=window),void 0===t&&(t=!1),void 0===o||t){var n=!1;try{e.document.addEventListener("test",(function(){}),{get passive(){return n=!0}})}catch(e){}o=n}return!!o&&{passive:!0}}function s(e,t,n){if(!e)return{x:0,y:0};var r,o,i=t.x,a=t.y,s=i+n.left,u=a+n.top;if("touchstart"===e.type){var c=e;r=c.changedTouches[0].pageX-s,o=c.changedTouches[0].pageY-u}else{var l=e;r=l.pageX-s,o=l.pageY-u}return{x:r,y:o}}n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r=function(e){return e.scrollTop};function o(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}},,,,function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=i},function(e,t,n){"use strict";var r=n(75),o=n(233),i=n(0),a=(n(1),n(137));var s=n(1260),u=n(368),c=n(604),l=n(707),f=n(569);function p(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"==typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var d={enter:l.b.enteringScreen,exit:l.b.leavingScreen},h=i.forwardRef((function Slide(e,t){var n=e.children,l=e.direction,h=void 0===l?"down":l,m=e.in,g=e.onEnter,y=e.onEntered,v=e.onEntering,b=e.onExit,_=e.onExited,k=e.onExiting,O=e.style,w=e.timeout,j=void 0===w?d:w,E=e.TransitionComponent,C=void 0===E?s.a:E,S=Object(o.a)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=Object(c.a)(),x=i.useRef(null),I=i.useCallback((function(e){x.current=a.findDOMNode(e)}),[]),A=Object(u.a)(n.ref,I),P=Object(u.a)(A,t),R=function(e){return function(t){e&&(void 0===t?e(x.current):e(x.current,t))}},L=R((function(e,t){p(h,e),Object(f.b)(e),g&&g(e,t)})),D=R((function(e,t){var n=Object(f.a)({timeout:j,style:O},{mode:"enter"});e.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:T.transitions.easing.easeOut})),e.style.transition=T.transitions.create("transform",Object(r.a)({},n,{easing:T.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",v&&v(e,t)})),M=R(y),N=R(k),F=R((function(e){var t=Object(f.a)({timeout:j,style:O},{mode:"exit"});e.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},t,{easing:T.transitions.easing.sharp})),e.style.transition=T.transitions.create("transform",Object(r.a)({},t,{easing:T.transitions.easing.sharp})),p(h,e),b&&b(e)})),z=R((function(e){e.style.webkitTransition="",e.style.transition="",_&&_(e)})),H=i.useCallback((function(){x.current&&p(h,x.current)}),[h]);return i.useEffect((function(){if(!m&&"down"!==h&&"right"!==h){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,s=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}((function(){x.current&&p(h,x.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[h,m]),i.useEffect((function(){m||H()}),[m,H]),i.createElement(C,Object(r.a)({nodeRef:x,onEnter:L,onEntered:M,onEntering:D,onExit:F,onExited:z,onExiting:N,appear:!0,in:m,timeout:j},S),(function(e,t){return i.cloneElement(n,Object(r.a)({ref:P,style:Object(r.a)({visibility:"exited"!==e||m?void 0:"hidden"},O,n.props.style)},t))}))}));t.a=h},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){var r=n(1220);function o(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=o=Reflect.get:e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},o(t,n,i||t)}e.exports=o},,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return f}));var r=n(1155);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function l(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.a=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},,function(e,t,n){var r=n(1186)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(975),o=n.n(r),i=n(0),a=n.n(i),s=n(976),u=n.n(s);function c(e){var t=a.a.useRef(),n=a.a.useRef(0);return u()(e,t.current)||(t.current=e,n.current+=1),[n.current]}var l,f=function(e,t){return a.a.useEffect(e,c(t))},p={observer:{},subscribe:function(){},unsubscribe:function(){}};function d(e,t){var n=void 0===t?{}:t,r=n.observerOptions,o=n.subscribeOptions,a=Object(i.useState)({}),s=a[0],u=a[1],c=Object(i.useState)(),d=c[0],h=c[1],m=Object(i.useCallback)((function(e){null!==e&&h(e)}),[]);return f((function(){if(d&&e){l||(l=new Map);var t=l.get(e);t||(t=new Map,l.set(e,t));var n=r?JSON.stringify(r):"default",i=t.get(n);i||(i=function(e,t){if(!e)return p;var n=new WeakMap,r=new e((function(e){e.forEach((function(e){var t=(n.get(e.target)||{}).callback;t&&t(e)}))}),t),o=function(e){n.get(e)&&(n.delete(e),r.unobserve?r.unobserve(e):r.disconnect())};return{observer:r,subscribe:function(e,t){var i=e.element||e,a=e.options,s=n.get(i);if(s){if(a===s.options)return;o(i)}n.set(i,{callback:t,options:a}),r.observe(i,a)},unsubscribe:o}}(e,r),t.set(n,i));var a=i,s=a.subscribe,c=a.unsubscribe;return s({element:d,options:o},(function(e){return u(e)})),function(){return c(d)}}}),[d,e,r,o]),[m,s]}function h(e){return d(o.a.MutationObserver,{subscribeOptions:e})}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r,o=n(369),i=n(567),a=n(111),s="@@data/SELECT";var u={select:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:s,storeKey:e,selectorName:t,args:r}},resolveSelect:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"@@data/RESOLVE_SELECT",storeKey:e,selectorName:t,args:r}},dispatch:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"@@data/DISPATCH",storeKey:e,actionName:t,args:r}}},c=(r={},Object(o.a)(r,s,Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.selectorName,a=t.args;return(n=e.select(r))[o].apply(n,Object(i.a)(a))}}))),Object(o.a)(r,"@@data/RESOLVE_SELECT",Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.selectorName,a=t.args,s=e.select(r)[o].hasResolver?"resolveSelect":"select";return(n=e[s](r))[o].apply(n,Object(i.a)(a))}}))),Object(o.a)(r,"@@data/DISPATCH",Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.actionName,a=t.args;return(n=e.dispatch(r))[o].apply(n,Object(i.a)(a))}}))),r)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1154),o=(n(0),n(756));function i(){return Object(r.a)()||o.a}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o}));const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=e=>(...t)=>({_$litDirective$:e,values:t});class i{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(746);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Object(r.a)(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(501);function o(e){var t=function(e,t){if("object"!==Object(r.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(r.a)(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[n,r=""]=t.split("=").filter(Boolean).map(decodeURIComponent);if(n){!function(e,t,n){const r=t.length,o=r-1;for(let i=0;i<r;i++){let r=t[i];!r&&Array.isArray(e)&&(r=e.length.toString());const a=!isNaN(Number(t[i+1]));e[r]=i===o?n:e[r]||(a?[]:{}),Array.isArray(e[r])&&!a&&(e[r]={...e[r]}),e=e[r]}}(e,n.replace(/\]/g,"").split("["),r)}return e},{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(788),i=Object(o.a)(),a=Object(r.createContext)(i),s=(a.Consumer,a.Provider);t.b=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(165),o=n(356),i={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},a={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},s={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},u=n(568),c=["touchstart","pointerdown","mousedown","keydown"],l=["touchend","pointerup","mouseup","contextmenu"],f=[],p=function(e){function MDCRippleFoundation(t){var n=e.call(this,r.a({},MDCRippleFoundation.defaultAdapter,t))||this;return n.activationAnimationHasEnded_=!1,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.fgScale_="0",n.frame_={width:0,height:0},n.initialSize_=0,n.layoutFrame_=0,n.maxRadius_=0,n.unboundedCoords_={left:0,top:0},n.activationState_=n.defaultActivationState_(),n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n.activateHandler_=function(e){return n.activate_(e)},n.deactivateHandler_=function(){return n.deactivate_()},n.focusHandler_=function(){return n.handleFocus()},n.blurHandler_=function(){return n.handleBlur()},n.resizeHandler_=function(){return n.layout()},n}return r.b(MDCRippleFoundation,e),Object.defineProperty(MDCRippleFoundation,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRippleFoundation,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRippleFoundation,"numbers",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(MDCRippleFoundation,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),MDCRippleFoundation.prototype.init=function(){var e=this,t=this.supportsPressRipple_();if(this.registerRootHandlers_(t),t){var n=MDCRippleFoundation.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter_.addClass(r),e.adapter_.isUnbounded()&&(e.adapter_.addClass(o),e.layoutInternal_())}))}},MDCRippleFoundation.prototype.destroy=function(){var e=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION));var t=MDCRippleFoundation.cssClasses,n=t.ROOT,r=t.UNBOUNDED;requestAnimationFrame((function(){e.adapter_.removeClass(n),e.adapter_.removeClass(r),e.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},MDCRippleFoundation.prototype.activate=function(e){this.activate_(e)},MDCRippleFoundation.prototype.deactivate=function(){this.deactivate_()},MDCRippleFoundation.prototype.layout=function(){var e=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){e.layoutInternal_(),e.layoutFrame_=0}))},MDCRippleFoundation.prototype.setUnbounded=function(e){var t=MDCRippleFoundation.cssClasses.UNBOUNDED;e?this.adapter_.addClass(t):this.adapter_.removeClass(t)},MDCRippleFoundation.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED)}))},MDCRippleFoundation.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED)}))},MDCRippleFoundation.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},MDCRippleFoundation.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},MDCRippleFoundation.prototype.registerRootHandlers_=function(e){var t=this;e&&(c.forEach((function(e){t.adapter_.registerInteractionHandler(e,t.activateHandler_)})),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},MDCRippleFoundation.prototype.registerDeactivationHandlers_=function(e){var t=this;"keydown"===e.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):l.forEach((function(e){t.adapter_.registerDocumentInteractionHandler(e,t.deactivateHandler_)}))},MDCRippleFoundation.prototype.deregisterRootHandlers_=function(){var e=this;c.forEach((function(t){e.adapter_.deregisterInteractionHandler(t,e.activateHandler_)})),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},MDCRippleFoundation.prototype.deregisterDeactivationHandlers_=function(){var e=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),l.forEach((function(t){e.adapter_.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)}))},MDCRippleFoundation.prototype.removeCssVars_=function(){var e=this,t=MDCRippleFoundation.strings;Object.keys(t).forEach((function(n){0===n.indexOf("VAR_")&&e.adapter_.updateCssVariable(t[n],null)}))},MDCRippleFoundation.prototype.activate_=function(e){var t=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var r=this.previousActivationEvent_;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&f.length>0&&f.some((function(e){return t.adapter_.containsEventTarget(e)}))?this.resetActivationState_():(void 0!==e&&(f.push(e.target),this.registerDeactivationHandlers_(e)),n.wasElementMadeActive=this.checkElementMadeActive_(e),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){f=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive_(e),n.wasElementMadeActive&&t.animateActivation_()),n.wasElementMadeActive||(t.activationState_=t.defaultActivationState_())})))}}},MDCRippleFoundation.prototype.checkElementMadeActive_=function(e){return void 0===e||"keydown"!==e.type||this.adapter_.isSurfaceActive()},MDCRippleFoundation.prototype.animateActivation_=function(){var e=this,t=MDCRippleFoundation.strings,n=t.VAR_FG_TRANSLATE_START,r=t.VAR_FG_TRANSLATE_END,o=MDCRippleFoundation.cssClasses,i=o.FG_DEACTIVATION,a=o.FG_ACTIVATION,s=MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var u="",c="";if(!this.adapter_.isUnbounded()){var l=this.getFgTranslationCoordinates_(),f=l.startPoint,p=l.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter_.updateCssVariable(n,u),this.adapter_.updateCssVariable(r,c),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(i),this.adapter_.computeBoundingRect(),this.adapter_.addClass(a),this.activationTimer_=setTimeout((function(){return e.activationTimerCallback_()}),s)},MDCRippleFoundation.prototype.getFgTranslationCoordinates_=function(){var e,t=this.activationState_,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?Object(u.b)(n,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:e.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_=function(){var e=this,t=MDCRippleFoundation.cssClasses.FG_DEACTIVATION,n=this.activationState_,r=n.hasDeactivationUXRun,o=n.isActivated;(r||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(t),this.fgDeactivationRemovalTimer_=setTimeout((function(){e.adapter_.removeClass(t)}),s.FG_DEACTIVATION_MS))},MDCRippleFoundation.prototype.rmBoundedActivationClasses_=function(){var e=MDCRippleFoundation.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(e),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},MDCRippleFoundation.prototype.resetActivationState_=function(){var e=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return e.previousActivationEvent_=void 0}),MDCRippleFoundation.numbers.TAP_DELAY_MS)},MDCRippleFoundation.prototype.deactivate_=function(){var e=this,t=this.activationState_;if(t.isActivated){var n=r.a({},t);t.isProgrammatic?(requestAnimationFrame((function(){return e.animateDeactivation_(n)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(n),e.resetActivationState_()})))}},MDCRippleFoundation.prototype.animateDeactivation_=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady_()},MDCRippleFoundation.prototype.layoutInternal_=function(){var e=this;this.frame_=this.adapter_.computeBoundingRect();var t=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter_.isUnbounded()?t:Math.sqrt(Math.pow(e.frame_.width,2)+Math.pow(e.frame_.height,2))+MDCRippleFoundation.numbers.PADDING,this.initialSize_=Math.floor(t*MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE),this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},MDCRippleFoundation.prototype.updateLayoutCssVars_=function(){var e=MDCRippleFoundation.strings,t=e.VAR_FG_SIZE,n=e.VAR_LEFT,r=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter_.updateCssVariable(t,this.initialSize_+"px"),this.adapter_.updateCssVariable(o,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(n,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(r,this.unboundedCoords_.top+"px"))},MDCRippleFoundation}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(967);var o=n(757),i=n(968);function a(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,s=0;s<i.length;s++){var u=i[s];if(void 0===(a=a.get(u)))return;var c=t[u];if(void 0===(a=a.get(c)))return}var l=a.get("_ekm_value");return l?(n.delete(l[0]),l[0]=t,a.set("_ekm_value",l),n.set(t,l),l):void 0}var a=function(){function EquivalentKeyMap(e){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,EquivalentKeyMap),this.clear(),e instanceof EquivalentKeyMap){var t=[];e.forEach((function(e,n){t.push([n,e])})),e=t}if(null!=e)for(var n=0;n<e.length;n++)this.set(e[n][0],e[n][1])}var e,t,n;return e=EquivalentKeyMap,(t=[{key:"set",value:function(e,t){if(null===e||"object"!==r(e))return this._map.set(e,t),this;for(var n=Object.keys(e).sort(),o=[e,t],i=Array.isArray(e)?this._arrayTreeMap:this._objectTreeMap,a=0;a<n.length;a++){var s=n[a];i.has(s)||i.set(s,new EquivalentKeyMap),i=i.get(s);var u=e[s];i.has(u)||i.set(u,new EquivalentKeyMap),i=i.get(u)}var c=i.get("_ekm_value");return c&&this._map.delete(c[0]),i.set("_ekm_value",o),this._map.set(e,o),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(e.prototype,t),n&&o(e,n),EquivalentKeyMap}();e.exports=a},function(e,t,n){"use strict";function r(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;){var i=n[o],a=e[i];if(void 0===a&&!t.hasOwnProperty(i)||a!==t[i])return!1;o++}return!0}(e,t);if(Array.isArray(e)&&Array.isArray(t))return function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}(e,t)}return e===t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=n(1198)},,function(e,t,n){"use strict";var r=n(0),o=n(271);t.a=function(e){var t=Object(r.useRef)(e);t.current=e,Object(o.a)((function(){return function(){return t.current()}}))}},,function(e,t,n){"use strict";var r=n(75),o=n(233),i=n(0),a=(n(1),n(590)),s=n(771),u=n(758),c=i.forwardRef((function CircularProgress(e,t){var n=e.classes,s=e.className,c=e.color,l=void 0===c?"primary":c,f=e.disableShrink,p=void 0!==f&&f,d=e.size,h=void 0===d?40:d,m=e.style,g=e.thickness,y=void 0===g?3.6:g,v=e.value,b=void 0===v?0:v,_=e.variant,k=void 0===_?"indeterminate":_,O=Object(o.a)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),w={},j={},E={};if("determinate"===k||"static"===k){var C=2*Math.PI*((44-y)/2);w.strokeDasharray=C.toFixed(3),E["aria-valuenow"]=Math.round(b),w.strokeDashoffset="".concat(((100-b)/100*C).toFixed(3),"px"),j.transform="rotate(-90deg)"}return i.createElement("div",Object(r.a)({className:Object(a.a)(n.root,s,"inherit"!==l&&n["color".concat(Object(u.a)(l))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[k]),style:Object(r.a)({width:h,height:h},j,m),ref:t,role:"progressbar"},E,O),i.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44)},i.createElement("circle",{className:Object(a.a)(n.circle,p&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[k]),style:w,cx:44,cy:44,r:(44-y)/2,fill:"none",strokeWidth:y})))}));t.a=Object(s.a)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(c)},function(e,t,n){"use strict";var r=n(75),o=n(620),i=n(233),a=n(407),s=n(0),u=n(137),c=(n(1),n(590)),l=n(1259),f=n(589),p=n(771),d=n(758),h=n(1260),m=n(604),g=n(569),y=n(368);function v(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var b={entering:{opacity:1,transform:v(1)},entered:{opacity:1,transform:"none"}},_=s.forwardRef((function Grow(e,t){var n=e.children,a=e.disableStrictModeCompat,u=void 0!==a&&a,c=e.in,l=e.onEnter,f=e.onEntered,p=e.onEntering,d=e.onExit,_=e.onExited,k=e.onExiting,O=e.style,w=e.timeout,j=void 0===w?"auto":w,E=e.TransitionComponent,C=void 0===E?h.a:E,S=Object(i.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=s.useRef(),x=s.useRef(),I=Object(m.a)(),A=I.unstable_strictMode&&!u,P=s.useRef(null),R=Object(y.a)(n.ref,t),L=Object(y.a)(A?P:void 0,R),D=function(e){return function(t,n){if(e){var r=A?[P.current,t]:[t,n],i=Object(o.a)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},M=D(p),N=D((function(e,t){Object(g.b)(e);var n,r=Object(g.a)({style:O,timeout:j},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===j?(n=I.transitions.getAutoHeightDuration(e.clientHeight),x.current=n):n=o,e.style.transition=[I.transitions.create("opacity",{duration:n,delay:i}),I.transitions.create("transform",{duration:.666*n,delay:i})].join(","),l&&l(e,t)})),F=D(f),z=D(k),H=D((function(e){var t,n=Object(g.a)({style:O,timeout:j},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===j?(t=I.transitions.getAutoHeightDuration(e.clientHeight),x.current=t):t=r,e.style.transition=[I.transitions.create("opacity",{duration:t,delay:o}),I.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=v(.75),d&&d(e)})),B=D(_);return s.useEffect((function(){return function(){clearTimeout(T.current)}}),[]),s.createElement(C,Object(r.a)({appear:!0,in:c,nodeRef:A?P:void 0,onEnter:N,onEntered:F,onEntering:M,onExit:H,onExited:B,onExiting:z,addEndListener:function(e,t){var n=A?e:t;"auto"===j&&(T.current=setTimeout(n,x.current||0))},timeout:"auto"===j?null:j},S),(function(e,t){return s.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:v(.75),visibility:"exited"!==e||c?void 0:"hidden"},b[e],O,n.props.style),ref:L},t))}))}));_.muiSupportAuto=!0;var k=_,O=n(970),w=n(1154),j=n(514);var E="undefined"!=typeof window?s.useLayoutEffect:s.useEffect;var C=s.forwardRef((function Portal(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,c=s.useState(null),l=c[0],f=c[1],p=Object(y.a)(s.isValidElement(n)?n.ref:null,t);return E((function(){i||f(function(e){return e="function"==typeof e?e():e,u.findDOMNode(e)}(r)||document.body)}),[r,i]),E((function(){if(l&&!i)return Object(j.a)(t,l),function(){Object(j.a)(t,null)}}),[t,l,i]),E((function(){a&&(l||i)&&a()}),[a,l,i]),i?s.isValidElement(n)?s.cloneElement(n,{ref:p}):n:l?u.createPortal(n,l):l}));function S(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function T(e){return"function"==typeof e?e():e}var x="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,I={},A=s.forwardRef((function Popper(e,t){var n=e.anchorEl,o=e.children,a=e.container,u=e.disablePortal,c=void 0!==u&&u,l=e.keepMounted,f=void 0!==l&&l,p=e.modifiers,d=e.open,h=e.placement,m=void 0===h?"bottom":h,g=e.popperOptions,v=void 0===g?I:g,b=e.popperRef,_=e.style,k=e.transition,E=void 0!==k&&k,A=Object(i.a)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),P=s.useRef(null),R=Object(y.a)(P,t),L=s.useRef(null),D=Object(y.a)(L,b),M=s.useRef(D);x((function(){M.current=D}),[D]),s.useImperativeHandle(b,(function(){return L.current}),[]);var N=s.useState(!0),F=N[0],z=N[1],H=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(m,Object(w.a)()),B=s.useState(H),U=B[0],W=B[1];s.useEffect((function(){L.current&&L.current.update()}));var V=s.useCallback((function(){if(P.current&&n&&d){L.current&&(L.current.destroy(),M.current(null));var e=function(e){W(e.placement)},t=(T(n),new O.a(T(n),P.current,Object(r.a)({placement:H},v,{modifiers:Object(r.a)({},c?{}:{preventOverflow:{boundariesElement:"window"}},p,v.modifiers),onCreate:S(e,v.onCreate),onUpdate:S(e,v.onUpdate)})));M.current(t)}}),[n,c,p,d,H,v]),G=s.useCallback((function(e){Object(j.a)(R,e),V()}),[R,V]),$=function(){L.current&&(L.current.destroy(),M.current(null))};if(s.useEffect((function(){return function(){$()}}),[]),s.useEffect((function(){d||E||$()}),[d,E]),!f&&!d&&(!E||F))return null;var K={placement:U};return E&&(K.TransitionProps={in:d,onEnter:function(){z(!1)},onExited:function(){z(!0),$()}}),s.createElement(C,{disablePortal:c,container:a},s.createElement("div",Object(r.a)({ref:G,role:"tooltip"},A,{style:Object(r.a)({position:"fixed",top:0,left:0,display:d||!f||E?null:"none"},_)}),"function"==typeof o?o(K):o))}));var P=!0,R=!1,L=null,D={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function M(e){e.metaKey||e.altKey||e.ctrlKey||(P=!0)}function N(){P=!1}function F(){"hidden"===this.visibilityState&&R&&(P=!0)}function z(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return P||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!D[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function H(){R=!0,window.clearTimeout(L),L=window.setTimeout((function(){R=!1}),100)}function B(){return{isFocusVisible:z,onBlurVisible:H,ref:s.useCallback((function(e){var t,n=u.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",M,!0),t.addEventListener("mousedown",N,!0),t.addEventListener("pointerdown",N,!0),t.addEventListener("touchstart",N,!0),t.addEventListener("visibilitychange",F,!0))}),[])}}function U(e){return Math.round(1e5*e)/1e5}var W=!1,V=null;var G=s.forwardRef((function Tooltip(e,t){var n=e.arrow,a=void 0!==n&&n,f=e.children,p=e.classes,h=e.disableFocusListener,g=void 0!==h&&h,v=e.disableHoverListener,b=void 0!==v&&v,_=e.disableTouchListener,O=void 0!==_&&_,w=e.enterDelay,E=void 0===w?100:w,C=e.enterNextDelay,S=void 0===C?0:C,T=e.enterTouchDelay,x=void 0===T?700:T,I=e.id,P=e.interactive,R=void 0!==P&&P,L=e.leaveDelay,D=void 0===L?0:L,M=e.leaveTouchDelay,N=void 0===M?1500:M,F=e.onClose,z=e.onOpen,H=e.open,U=e.placement,G=void 0===U?"bottom":U,$=e.PopperComponent,K=void 0===$?A:$,q=e.PopperProps,X=e.title,Y=e.TransitionComponent,Q=void 0===Y?k:Y,J=e.TransitionProps,Z=Object(i.a)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),ee=Object(m.a)(),te=s.useState(),ne=te[0],re=te[1],oe=s.useState(null),ie=oe[0],ae=oe[1],se=s.useRef(!1),ue=s.useRef(),ce=s.useRef(),le=s.useRef(),fe=s.useRef(),pe=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,s.useRef(void 0!==t).current),o=s.useState(n),i=o[0],a=o[1];return[r?t:i,s.useCallback((function(e){r||a(e)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"}),de=Object(o.a)(pe,2),he=de[0],me=de[1],ge=he,ye=function(e){var t=s.useState(e),n=t[0],r=t[1],o=e||n;return s.useEffect((function(){null==n&&r("mui-".concat(Math.round(1e5*Math.random())))}),[n]),o}(I);s.useEffect((function(){return function(){clearTimeout(ue.current),clearTimeout(ce.current),clearTimeout(le.current),clearTimeout(fe.current)}}),[]);var ve=function(e){clearTimeout(V),W=!0,me(!0),z&&z(e)},be=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),se.current&&"touchstart"!==t.type||(ne&&ne.removeAttribute("title"),clearTimeout(ce.current),clearTimeout(le.current),E||W&&S?(t.persist(),ce.current=setTimeout((function(){ve(t)}),W?S:E)):ve(t))}},_e=B(),ke=_e.isFocusVisible,Oe=_e.onBlurVisible,we=_e.ref,je=s.useState(!1),Se=je[0],Te=je[1],xe=function(){Se&&(Te(!1),Oe())},Ae=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ne||re(t.currentTarget),ke(t)&&(Te(!0),be()(t));var n=f.props;n.onFocus&&e&&n.onFocus(t)}},Re=function(e){clearTimeout(V),V=setTimeout((function(){W=!1}),800+D),me(!1),F&&F(e),clearTimeout(ue.current),ue.current=setTimeout((function(){se.current=!1}),ee.transitions.duration.shortest)},Me=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),xe()),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===ne&&n.onMouseLeave(t),clearTimeout(ce.current),clearTimeout(le.current),t.persist(),le.current=setTimeout((function(){Re(t)}),D)}},Ne=function(e){se.current=!0;var t=f.props;t.onTouchStart&&t.onTouchStart(e)},Fe=Object(y.a)(re,t),ze=Object(y.a)(we,Fe),Be=s.useCallback((function(e){Object(j.a)(ze,u.findDOMNode(e))}),[ze]),Ue=Object(y.a)(f.ref,Be);""===X&&(ge=!1);var We=!ge&&!b,Ve=Object(r.a)({"aria-describedby":ge?ye:null,title:We&&"string"==typeof X?X:null},Z,f.props,{className:Object(c.a)(Z.className,f.props.className),onTouchStart:Ne,ref:Ue}),$e={};O||(Ve.onTouchStart=function(e){Ne(e),clearTimeout(le.current),clearTimeout(ue.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){be()(e)}),x)},Ve.onTouchEnd=function(e){f.props.onTouchEnd&&f.props.onTouchEnd(e),clearTimeout(fe.current),clearTimeout(le.current),e.persist(),le.current=setTimeout((function(){Re(e)}),N)}),b||(Ve.onMouseOver=be(),Ve.onMouseLeave=Me(),R&&($e.onMouseOver=be(!1),$e.onMouseLeave=Me(!1))),g||(Ve.onFocus=Ae(),Ve.onBlur=Me(),R&&($e.onFocus=Ae(!1),$e.onBlur=Me(!1)));var qe=s.useMemo((function(){return Object(l.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(ie),element:ie}}}},q)}),[ie,q]);return s.createElement(s.Fragment,null,s.cloneElement(f,Ve),s.createElement(K,Object(r.a)({className:Object(c.a)(p.popper,R&&p.popperInteractive,a&&p.popperArrow),placement:G,anchorEl:ne,open:!!ne&&ge,id:Ve["aria-describedby"],transition:!0},$e,qe),(function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(Q,Object(r.a)({timeout:ee.transitions.duration.shorter},n,J),s.createElement("div",{className:Object(c.a)(p.tooltip,p["tooltipPlacement".concat(Object(d.a)(t.split("-")[0]))],se.current&&p.touch,a&&p.tooltipArrow)},X,a?s.createElement("span",{className:p.arrow,ref:ae}):null))})))}));t.a=Object(p.a)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(f.b)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(U(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(f.b)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(U(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(G)},,function(e,t,n){"use strict";n.d(t,"g",(function(){return u})),n.d(t,"o",(function(){return c}));var r=n(615),o=n(616),i=n(0);n.d(t,"a",(function(){return i.Children})),n.d(t,"f",(function(){return i.cloneElement})),n.d(t,"b",(function(){return i.Component})),n.d(t,"h",(function(){return i.createContext})),n.d(t,"i",(function(){return i.createElement})),n.d(t,"j",(function(){return i.createRef})),n.d(t,"k",(function(){return i.forwardRef})),n.d(t,"c",(function(){return i.Fragment})),n.d(t,"l",(function(){return i.isValidElement})),n.d(t,"n",(function(){return i.memo})),n.d(t,"d",(function(){return i.StrictMode})),n.d(t,"p",(function(){return i.useCallback})),n.d(t,"q",(function(){return i.useContext})),n.d(t,"r",(function(){return i.useDebugValue})),n.d(t,"s",(function(){return i.useEffect})),n.d(t,"t",(function(){return i.useImperativeHandle})),n.d(t,"u",(function(){return i.useLayoutEffect})),n.d(t,"v",(function(){return i.useMemo})),n.d(t,"w",(function(){return i.useReducer})),n.d(t,"x",(function(){return i.useRef})),n.d(t,"y",(function(){return i.useState})),n.d(t,"m",(function(){return i.lazy})),n.d(t,"e",(function(){return i.Suspense}));var a=n(13);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return i.Children.forEach(t,(function(t,r){t&&"string"!=typeof t&&(t=Object(i.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e}),[])}function c(e,t){return e&&i.Children.map(e,(function(e,n){if(Object(a.isString)(e))return Object(i.createElement)(t,{key:n},e);var u=e.props,c=u.children,l=Object(o.a)(u,["children"]);return Object(i.createElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:n},l),c)}))}},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=107)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},107:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(155),f=n(38),p=n(108);t.withRipple=function(e){var t;return(t=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.isComponentMounted=!0,n.isTouched=!1,n.displayName="WithRipple("+function(e){return e.displayName||e.name||"Component"}(e)+")",n.state={classList:new Set,style:{}},n.initializeFoundation=function(e,t){var r=n.createAdapter(e,t);n.foundation=new l.MDCRippleFoundation(r),n.foundation.init()},n.createAdapter=function(e,t){return{browserSupportsCssVars:function(){return f.supportsCssVariables(window)},isUnbounded:function(){return n.props.unbounded},isSurfaceActive:function(){return t?p.matches(t,":active"):p.matches(e,":active")},isSurfaceDisabled:function(){return n.props.disabled},addClass:function(e){n.isComponentMounted&&n.setState({classList:n.state.classList.add(e)})},removeClass:function(e){if(n.isComponentMounted){var t=n.state.classList;t.delete(e),n.setState({classList:t})}},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,f.applyPassive())},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,f.applyPassive())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},updateCssVariable:n.updateCssVariable,computeBoundingRect:function(){return n.isComponentMounted?n.props.computeBoundingRect?n.props.computeBoundingRect(e):e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},containsEventTarget:function(e){return!(!t||null===e)&&t.contains(e)},registerInteractionHandler:function(){return null},deregisterInteractionHandler:function(){return null},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}}}},n.handleFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.foundation.handleFocus()},n.handleBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.foundation.handleBlur()},n.handleMouseDown=function(e){n.props.onMouseDown&&n.props.onMouseDown(e),n.isTouched?n.isTouched=!1:n.activateRipple(e)},n.handleMouseUp=function(e){n.props.onMouseUp&&n.props.onMouseUp(e),n.deactivateRipple()},n.handleTouchStart=function(e){n.isTouched=!0,n.props.onTouchStart&&n.props.onTouchStart(e),n.activateRipple(e)},n.handleTouchEnd=function(e){n.props.onTouchEnd&&n.props.onTouchEnd(e),n.deactivateRipple()},n.handleKeyDown=function(e){n.props.onKeyDown&&n.props.onKeyDown(e),n.activateRipple(e)},n.handleKeyUp=function(e){n.props.onKeyUp&&n.props.onKeyUp(e),n.deactivateRipple()},n.activateRipple=function(e){e.persist(),n.foundation.activate(e.nativeEvent)},n.deactivateRipple=function(){n.foundation.deactivate()},n.updateCssVariable=function(e,t){n.isComponentMounted&&n.setState((function(r){var o=Object.assign({},n.state.style,r.style);return null===t?delete o[e]:o[e]=t,Object.assign(r,{style:o})}))},n}return o(n,t),n.prototype.componentDidMount=function(){if(!this.foundation)throw new Error("You must call initRipple from the element's ref prop to initialize the adapter for withRipple")},n.prototype.componentDidUpdate=function(e){this.props.disabled!==e.disabled&&this.props.disabled&&this.foundation.handleBlur()},n.prototype.componentWillUnmount=function(){this.foundation&&(this.isComponentMounted=!1,this.foundation.destroy())},Object.defineProperty(n.prototype,"classes",{get:function(){var e=this.props.className,t=this.state.classList;return c.default(Array.from(t),e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"style",{get:function(){var e=this.props.style,t=this.state.style;return Object.assign({},t,e)},enumerable:!0,configurable:!0}),n.prototype.render=function(){var t=this.props,n=(t.unbounded,t.style,t.className,t.onMouseDown,t.onMouseUp,t.onTouchStart,t.onTouchEnd,t.onKeyDown,t.onKeyUp,t.onFocus,t.onBlur,a(t,["unbounded","style","className","onMouseDown","onMouseUp","onTouchStart","onTouchEnd","onKeyDown","onKeyUp","onFocus","onBlur"])),r=i({},n,{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onFocus:this.handleFocus,onBlur:this.handleBlur,initRipple:this.initializeFoundation,className:this.classes,style:this.style});return u.default.createElement(e,i({},r))},n}(u.default.Component)).defaultProps=i({unbounded:!1,disabled:!1,style:{},className:"",onMouseDown:function(){},onMouseUp:function(){},onTouchStart:function(){},onTouchEnd:function(){},onKeyDown:function(){},onKeyUp:function(){},onFocus:function(){},onBlur:function(){}},e.defaultProps),t}},108:function(e,t,n){"use strict";function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}n.r(t),n.d(t,"closest",(function(){return r})),n.d(t,"matches",(function(){return o}))},155:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},s={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},u={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},c=n(38);n.d(t,"MDCRippleFoundation",(function(){return d}));var l=["touchstart","pointerdown","mousedown","keydown"],f=["touchend","pointerup","mouseup","contextmenu"],p=[],d=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.activationAnimationHasEnded_=!1,r.activationTimer_=0,r.fgDeactivationRemovalTimer_=0,r.fgScale_="0",r.frame_={width:0,height:0},r.initialSize_=0,r.layoutFrame_=0,r.maxRadius_=0,r.unboundedCoords_={left:0,top:0},r.activationState_=r.defaultActivationState_(),r.activationTimerCallback_=function(){r.activationAnimationHasEnded_=!0,r.runDeactivationUXLogicIfReady_()},r.activateHandler_=function(e){return r.activate_(e)},r.deactivateHandler_=function(){return r.deactivate_()},r.focusHandler_=function(){return r.handleFocus()},r.blurHandler_=function(){return r.handleBlur()},r.resizeHandler_=function(){return r.layout()},r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple_();if(this.registerRootHandlers_(n),n){var r=t.cssClasses,o=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter_.addClass(o),e.adapter_.isUnbounded()&&(e.adapter_.addClass(i),e.layoutInternal_())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter_.removeClass(r),e.adapter_.removeClass(o),e.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},t.prototype.activate=function(e){this.activate_(e)},t.prototype.deactivate=function(){this.deactivate_()},t.prototype.layout=function(){var e=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){e.layoutInternal_(),e.layoutFrame_=0}))},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter_.addClass(n):this.adapter_.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter_.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter_.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},t.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers_=function(e){var t=this;e&&(l.forEach((function(e){t.adapter_.registerInteractionHandler(e,t.activateHandler_)})),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},t.prototype.registerDeactivationHandlers_=function(e){var t=this;"keydown"===e.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):f.forEach((function(e){t.adapter_.registerDocumentInteractionHandler(e,t.deactivateHandler_)}))},t.prototype.deregisterRootHandlers_=function(){var e=this;l.forEach((function(t){e.adapter_.deregisterInteractionHandler(t,e.activateHandler_)})),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},t.prototype.deregisterDeactivationHandlers_=function(){var e=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),f.forEach((function(t){e.adapter_.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)}))},t.prototype.removeCssVars_=function(){var e=this,n=t.strings;Object.keys(n).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter_.updateCssVariable(n[t],null)}))},t.prototype.activate_=function(e){var t=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var r=this.previousActivationEvent_;r&&void 0!==e&&r.type!==e.type||(n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type),void 0!==e&&p.length>0&&p.some((function(e){return t.adapter_.containsEventTarget(e)}))?this.resetActivationState_():(void 0!==e&&(p.push(e.target),this.registerDeactivationHandlers_(e)),n.wasElementMadeActive=this.checkElementMadeActive_(e),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){p=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive_(e),n.wasElementMadeActive&&t.animateActivation_()),n.wasElementMadeActive||(t.activationState_=t.defaultActivationState_())}))))}}},t.prototype.checkElementMadeActive_=function(e){return void 0===e||"keydown"!==e.type||this.adapter_.isSurfaceActive()},t.prototype.animateActivation_=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,i=t.cssClasses,a=i.FG_DEACTIVATION,s=i.FG_ACTIVATION,u=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var c="",l="";if(!this.adapter_.isUnbounded()){var f=this.getFgTranslationCoordinates_(),p=f.startPoint,d=f.endPoint;c=p.x+"px, "+p.y+"px",l=d.x+"px, "+d.y+"px"}this.adapter_.updateCssVariable(r,c),this.adapter_.updateCssVariable(o,l),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(a),this.adapter_.computeBoundingRect(),this.adapter_.addClass(s),this.activationTimer_=setTimeout((function(){return e.activationTimerCallback_()}),u)},t.prototype.getFgTranslationCoordinates_=function(){var e,t=this.activationState_,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?Object(c.getNormalizedEventCoords)(n,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:e.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},t.prototype.runDeactivationUXLogicIfReady_=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState_,o=r.hasDeactivationUXRun,i=r.isActivated;(o||!i)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout((function(){e.adapter_.removeClass(n)}),u.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses_=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(e),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},t.prototype.resetActivationState_=function(){var e=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return e.previousActivationEvent_=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivate_=function(){var e=this,t=this.activationState_;if(t.isActivated){var n=o({},t);t.isProgrammatic?(requestAnimationFrame((function(){return e.animateDeactivation_(n)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(n),e.resetActivationState_()})))}},t.prototype.animateDeactivation_=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady_()},t.prototype.layoutInternal_=function(){this.frame_=this.adapter_.computeBoundingRect();var e=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter_.isUnbounded()?e:Math.sqrt(Math.pow(this.frame_.width,2)+Math.pow(this.frame_.height,2))+t.numbers.PADDING,this.initialSize_=Math.floor(e*t.numbers.INITIAL_ORIGIN_SCALE),this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},t.prototype.updateLayoutCssVars_=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,o=e.VAR_TOP,i=e.VAR_FG_SCALE;this.adapter_.updateCssVariable(n,this.initialSize_+"px"),this.adapter_.updateCssVariable(i,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(r,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(o,this.unboundedCoords_.top+"px"))},t}(i);t.default=d},38:function(e,t,n){"use strict";var r,o;function i(e,t){void 0===t&&(t=!1);var n,o=e.CSS;if("boolean"==typeof r&&!t)return r;if(!o||"function"!=typeof o.supports)return!1;var i=o.supports("--css-vars","yes"),a=o.supports("(--css-vars: yes)")&&o.supports("color","#00000000");return n=!(!i&&!a||function(e){var t=e.document,n=t.createElement("div");n.className="mdc-ripple-surface--test-edge-var-bug",t.body.appendChild(n);var r=e.getComputedStyle(n),o=null!==r&&"solid"===r.borderTopStyle;return n.remove(),o}(e)),t||(r=n),n}function a(e,t){if(void 0===e&&(e=window),void 0===t&&(t=!1),void 0===o||t){var n=!1;try{e.document.addEventListener("test",(function(){}),{get passive(){return n=!0}})}catch(e){}o=n}return!!o&&{passive:!0}}function s(e,t,n){if(!e)return{x:0,y:0};var r,o,i=t.x,a=t.y,s=i+n.left,u=a+n.top;if("touchstart"===e.type){var c=e;r=c.changedTouches[0].pageX-s,o=c.changedTouches[0].pageY-u}else{var l=e;r=l.pageX-s,o=l.pageY-u}return{x:r,y:o}}n.r(t),n.d(t,"supportsCssVariables",(function(){return i})),n.d(t,"applyPassive",(function(){return a})),n.d(t,"getNormalizedEventCoords",(function(){return s}))}}))},,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(233),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.a={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?i.standard:n,u=t.easing,c=void 0===u?o.easeInOut:u,l=t.delay,f=void 0===l?0:l;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:a(s)," ").concat(c," ").concat("string"==typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},,,function(e,t,n){var r,o,i,a,s;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(910),a=n(911),s=n(912),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=132)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},10:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)}},132:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(164),f=s(n(133));t.Input=f.default;var p=s(n(134));t.Icon=p.default;var d=s(n(135));t.HelperText=d.default;var h=s(n(136));t.CharacterCounter=h.default;var m=s(n(33)),g=s(n(34)),y=s(n(35)),v=l.MDCTextFieldFoundation.cssClasses,b=function(e){function t(t){var n,r=e.call(this,t)||this;return r.textFieldElement=u.default.createRef(),r.floatingLabelElement=u.default.createRef(),r.inputComponent_=null,t.children&&u.default.Children.only(t.children)&&(n=t.children.props.id),r.state={classList:new Set,inputId:n,isFocused:!1,dir:"ltr",disabled:!1,labelIsFloated:!1,initialLabelWidth:0,notchedLabelWidth:0,activeLineRipple:!1,lineRippleCenter:0,outlineIsNotched:!1,isValid:!0,foundation:void 0},r}return o(t,e),t.prototype.componentDidMount=function(){var e=new l.MDCTextFieldFoundation(this.adapter);this.setState({foundation:e}),e.init()},t.prototype.componentWillUnmount=function(){this.state.foundation&&this.state.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){var e,t=this.state,n=t.classList,r=t.disabled,o=t.isFocused,i=t.isValid,a=this.props,s=a.className,u=a.dense,l=a.fullWidth,f=a.textarea,p=a.trailingIcon,d=a.leadingIcon,h=a.noLabel;return c.default(v.ROOT,Array.from(n),s,((e={})[v.DENSE]=u,e[v.DISABLED]=r,e[v.FOCUSED]=o,e[v.INVALID]=!i,e[v.OUTLINED]=this.notchedOutlineAdapter.hasOutline()&&!l,e[v.TEXTAREA]=f,e[v.WITH_LEADING_ICON]=d,e["mdc-text-field--fullwidth"]=l,e["mdc-text-field--with-trailing-icon"]=p,e["mdc-text-field--no-label"]=!this.labelAdapter.hasLabel()||h,e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"otherProps",{get:function(){var e=this.props;return e.children,e.className,e.dense,e.floatingLabelClassName,e.fullWidth,e.helperText,e.characterCounter,e.label,e.leadingIcon,e.lineRippleClassName,e.notchedOutlineClassName,e.onLeadingIconSelect,e.onTrailingIconSelect,e.outlined,e.textarea,e.trailingIcon,e.noLabel,a(e,["children","className","dense","floatingLabelClassName","fullWidth","helperText","characterCounter","label","leadingIcon","lineRippleClassName","notchedOutlineClassName","onLeadingIconSelect","onTrailingIconSelect","outlined","textarea","trailingIcon","noLabel"])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this,t={addClass:function(t){return e.setState({classList:e.state.classList.add(t)})},removeClass:function(t){var n=e.state.classList;n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){},deregisterValidationAttributeChangeHandler:function(){}};return Object.assign({},t,this.inputAdapter,this.labelAdapter,this.lineRippleAdapter,this.notchedOutlineAdapter)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputAdapter",{get:function(){var e=this;return{isFocused:function(){return e.state.isFocused},getNativeInput:function(){var t=e.inputComponent_;if(t)return{disabled:t.isDisabled(),value:t.getValue(),maxLength:t.getMaxLength(),type:t.getInputType(),validity:{badInput:!!t.isBadInput(),valid:!!t.isValid()}};throw Error("MDCReactTextField: The input did not render properly")},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelAdapter",{get:function(){var e=this;return{shakeLabel:function(t){var n=e.floatingLabelElement;t&&n&&n.current&&n.current.shake()},floatLabel:function(t){return e.setState({labelIsFloated:t})},hasLabel:function(){return!!e.props.label&&!e.props.fullWidth},getLabelWidth:function(){return e.state.initialLabelWidth}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineRippleAdapter",{get:function(){var e=this;return{activateLineRipple:function(){return e.setState({activeLineRipple:!0})},deactivateLineRipple:function(){return e.setState({activeLineRipple:!1})},setLineRippleTransformOrigin:function(t){return e.setState({lineRippleCenter:t})}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"notchedOutlineAdapter",{get:function(){var e=this;return{notchOutline:function(t){return e.setState({outlineIsNotched:!0,notchedLabelWidth:t})},closeOutline:function(){return e.setState({outlineIsNotched:!1})},hasOutline:function(){return!!e.props.outlined||!!e.props.textarea}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputProps",{get:function(){var e=this,t=u.default.Children.only(this.props.children).props;return Object.assign({},t,{foundation:this.state.foundation,handleFocusChange:function(t){e.setState({isFocused:t}),e.state.foundation&&(t?e.state.foundation.activateFocus():e.state.foundation.deactivateFocus())},setDisabled:function(t){return e.setState({disabled:t})},setInputId:function(t){return e.setState({inputId:t})},syncInput:function(t){return e.inputComponent_=t},inputType:this.props.textarea?"textarea":"input",placeholder:this.props.noLabel?this.props.label:null})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterCounterProps",{get:function(){var e=this.inputProps,t=e.value,n=e.maxLength;return{count:t?t.length:0,maxLength:n?parseInt(n):0}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.fullWidth,n=e.helperText,r=e.characterCounter,o=e.onLeadingIconSelect,a=e.onTrailingIconSelect,s=e.leadingIcon,c=e.trailingIcon,l=e.textarea,f=e.noLabel,p=this.state.foundation;return u.default.createElement(u.default.Fragment,null,u.default.createElement("div",i({},this.otherProps,{className:this.classes,onClick:function(){return p.handleTextFieldInteraction()},onKeyDown:function(){return p.handleTextFieldInteraction()},ref:this.textFieldElement,key:"text-field-container"}),s?this.renderIcon(s,o):null,l&&r&&this.renderCharacterCounter(r),this.renderInput(),this.notchedOutlineAdapter.hasOutline()?this.renderNotchedOutline():u.default.createElement(u.default.Fragment,null,this.labelAdapter.hasLabel()&&!f?this.renderLabel():null,l||t?null:this.renderLineRipple()),c?this.renderIcon(c,a):null),n||r?this.renderHelperLine(n,r):null)},t.prototype.renderInput=function(){var e=u.default.Children.only(this.props.children);return u.default.cloneElement(e,this.inputProps)},t.prototype.renderLabel=function(){var e=this,t=this.props,n=t.label,r=t.floatingLabelClassName,o=this.state.inputId;return u.default.createElement(m.default,{className:r,float:this.state.labelIsFloated,handleWidthChange:function(t){return e.setState({initialLabelWidth:t})},ref:this.floatingLabelElement,htmlFor:o},n)},t.prototype.renderLineRipple=function(){var e=this.props.lineRippleClassName,t=this.state,n=t.activeLineRipple,r=t.lineRippleCenter;return u.default.createElement(g.default,{rippleCenter:r,className:e,active:n})},t.prototype.renderNotchedOutline=function(){var e=this.props.notchedOutlineClassName,t=this.state,n=t.notchedLabelWidth,r=t.outlineIsNotched;return u.default.createElement(y.default,{className:e,notchWidth:n,notch:r},this.labelAdapter.hasLabel()?this.renderLabel():null)},t.prototype.renderHelperLine=function(e,t){return u.default.createElement("div",{className:v.HELPER_LINE},e&&this.renderHelperText(e),t&&!this.props.textarea&&this.renderCharacterCounter(t))},t.prototype.renderHelperText=function(e){var t=this.state.isValid,n=Object.assign({isValid:t,key:"text-field-helper-text"},e.props);return u.default.cloneElement(e,n)},t.prototype.renderIcon=function(e,t){var n=this.state.disabled;return u.default.createElement(p.default,{disabled:n,onSelect:t},e)},t.prototype.renderCharacterCounter=function(e){return u.default.cloneElement(e,Object.assign(this.characterCounterProps,e.props))},t.defaultProps={className:"",dense:!1,floatingLabelClassName:"",fullWidth:!1,lineRippleClassName:"",notchedOutlineClassName:"",outlined:!1,textarea:!1,noLabel:!1},t}(u.default.Component);t.default=b},133:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=["pattern","min","max","required","step","minlength","maxlength"],f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputElement_=u.default.createRef(),t.state={wasUserTriggeredChange:!1,isMounted:!1},t.initializeComponentWithFoundation=function(){var e=t.props,n=e.handleFocusChange,r=e.foundation,o=e.autoFocus,i=e.isValid;o&&n&&n(!0),r&&void 0!==i&&(r.setUseNativeValidation(!1),r.setValid(i))},t.handleFocus=function(e){var n=t.props,r=n.handleFocusChange,o=n.onFocus,i=void 0===o?function(){}:o;r&&r(!0),i(e)},t.handleBlur=function(e){var n=t.props,r=n.handleFocusChange,o=n.onBlur,i=void 0===o?function(){}:o;r&&r(!1),i(e)},t.handleMouseDown=function(e){var n=t.props,r=n.foundation,o=n.onMouseDown,i=void 0===o?function(){}:o;r&&r.setTransformOrigin(e.nativeEvent),i(e)},t.handleTouchStart=function(e){var n=t.props,r=n.foundation,o=n.onTouchStart,i=void 0===o?function(){}:o;r&&r.setTransformOrigin(e.nativeEvent),i(e)},t.handleChange=function(e){var n=t.props,r=n.foundation,o=n.onChange,i=void 0===o?function(){}:o;r&&r.autoCompleteFocus(),t.setState({wasUserTriggeredChange:!0}),i(e)},t.handleValidationAttributeUpdate=function(e){var n=e.foundation;l.some((function(r){var o;return o="minlength"===r?"minLength":"maxlength"===r?"maxLength":r,t.props[o]!==e[o]&&(n.handleValidationAttributeChange([r]),!0)}))},t.isBadInput=function(){var e=t.inputElement;return e&&e.validity.badInput},t.isValid=function(){return t.inputElement&&void 0===t.props.isValid?t.inputElement.validity.valid:t.props.isValid},t.isDisabled=function(){return!!t.props.disabled},t.getMaxLength=function(){return"number"==typeof t.props.maxLength?t.props.maxLength:-1},t.getInputType=function(){return String(t.props.inputType)},t.getValue=function(){return t.valueToString(t.props.value)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.id,n=e.syncInput,r=e.disabled,o=e.value,i=e.setInputId,a=e.setDisabled,s=e.foundation;n&&n(this),i&&t&&i(t),a&&r&&a(!0),o&&s&&s.setValue(this.valueToString(o)),this.setState({isMounted:!0})},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.id,o=n.foundation,i=n.value,a=n.disabled,s=n.isValid,u=n.setInputId,c=n.setDisabled;if((!t.isMounted&&this.state.isMounted&&this.props.foundation||this.state.isMounted&&!e.foundation&&this.props.foundation)&&this.initializeComponentWithFoundation(),this.handleValidationAttributeUpdate(e),a!==e.disabled&&(c&&c(a),o&&o.setDisabled(!!a)),r!==e.id&&u&&u(r),i!==e.value){var l=this.valueToString(i);!this.state.wasUserTriggeredChange&&o&&o.setValue(l),this.setState({wasUserTriggeredChange:!1})}s!==e.isValid&&o&&(void 0===s?o.setUseNativeValidation(!0):(o.setUseNativeValidation(!1),o.setValid(!!s)))},t.prototype.valueToString=function(e){return"object"==typeof e?e.join(""):"number"==typeof e?e.toString():e||""},Object.defineProperty(t.prototype,"classes",{get:function(){return c.default("mdc-text-field__input",this.props.className)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.inputElement_.current},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.inputType,n=e.disabled,r=(e.className,e.foundation,e.syncInput,e.isValid,e.value),o=(e.handleFocusChange,e.setDisabled,e.setInputId,e.onFocus,e.onBlur,e.onMouseDown,e.onTouchStart,e.onChange,a(e,["inputType","disabled","className","foundation","syncInput","isValid","value","handleFocusChange","setDisabled","setInputId","onFocus","onBlur","onMouseDown","onTouchStart","onChange"])),s=Object.assign({},{onFocus:this.handleFocus,onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onChange:this.handleChange,disabled:n,value:r,ref:this.inputElement_,className:this.classes},o);return"input"===t?u.default.createElement("input",i({},s)):u.default.createElement("textarea",i({},s))},t.defaultProps={className:"",inputType:"input",disabled:!1,id:"",setDisabled:function(){},setInputId:function(){},handleFocusChange:function(){},value:""},t}(u.default.Component);t.default=f},134:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(0)),u=a(n(1)),c=n(170),l=function(e){function t(t){var n=e.call(this,t)||this;n.handleClick=function(e){return n.foundation.handleInteraction(e.nativeEvent)},n.handleKeyDown=function(e){return n.foundation.handleInteraction(e.nativeEvent)},n.addIconAttrsToChildren=function(){var e=n.state,t=e.tabindex,r=e.role,o=s.default.Children.only(n.props.children),i=u.default("mdc-text-field__icon",o.props.className),a=Object.assign({},o.props,{className:i,onClick:n.handleClick,onKeyDown:n.handleKeyDown,tabIndex:t,role:r});return s.default.cloneElement(o,a)};var r=t.children.props.role;return n.state={tabindex:n.tabindex,role:r},n}return o(t,e),t.prototype.componentDidMount=function(){this.foundation=new c.MDCTextFieldIconFoundation(this.adapter),this.foundation.init(),this.props.disabled&&this.foundation.setDisabled(!0)},t.prototype.componentDidUpdate=function(e){this.props.disabled!==e.disabled&&this.foundation.setDisabled(!!this.props.disabled),this.props.onSelect!==e.onSelect&&this.setState({tabindex:this.tabindex})},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"tabindex",{get:function(){return"number"==typeof this.props.children.props.tabIndex?this.props.children.props.tabIndex:this.props.onSelect?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{getAttr:function(t){var n=e.state[t];return n||"number"==typeof n&&!isNaN(n)?n.toString():""},setAttr:function(t,n){return e.setState((function(e){var r;return i({},e,((r={})[t]="tabindex"===t?Number(n):n,r))}))},removeAttr:function(t){return e.setState((function(e){var n;return i({},e,((n={})[t]=null,n))}))},notifyIconAction:function(){return e.props.onSelect&&e.props.onSelect()},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){return this.addIconAttrsToChildren()},t.defaultProps={disabled:!1},t}(s.default.Component);t.default=l},135:function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(169),f=l.MDCTextFieldHelperTextFoundation.cssClasses,p=function(e){function t(t){var n,r=e.call(this,t)||this;return r.state=((n={})["aria-hidden"]=t["aria-hidden"],n.role=t.role,n.classList=new Set,n),r}return i(t,e),t.prototype.componentDidMount=function(){this.foundation=new l.MDCTextFieldHelperTextFoundation(this.adapter),this.foundation.init(),this.props.showToScreenReader&&this.foundation.showToScreenReader(),this.props.isValid||this.foundation.setValidity(!1),this.props.isValidationMessage&&this.foundation.setValidation(!0)},t.prototype.componentDidUpdate=function(e){this.props.showToScreenReader!==e.showToScreenReader&&this.props.showToScreenReader&&this.foundation.showToScreenReader(),this.props.isValid!==e.isValid&&this.foundation.setValidity(!!this.props.isValid),this.props.isValidationMessage!==e.isValidationMessage&&this.props.isValidationMessage&&this.foundation.setValidation(this.props.isValidationMessage)},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){var e,t=this.props,n=t.className,r=t.persistent,o=t.validation;return c.default(f.ROOT,n,((e={})[f.HELPER_TEXT_PERSISTENT]=r,e[f.HELPER_TEXT_VALIDATION_MSG]=o,e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){return e.setState({classList:e.state.classList.add(t)})},removeClass:function(t){var n=e.state.classList;n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},setAttr:function(t,n){return e.setState((function(e){var r;return a({},e,((r={})[t]=n,r))}))},removeAttr:function(t){return e.setState((function(e){var n;return a({},e,((n={})[t]=null,n))}))},setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){return u.default.createElement("p",{className:this.classes,role:this.state.role,"aria-hidden":this.state["aria-hidden"]},this.props.children)},t.defaultProps=((o={})["aria-hidden"]=!1,o.className="",o.isValid=!0,o.isValidationMessage=!1,o.persistent=!1,o.showToScreenReader=!1,o.validation=!1,o),t}(u.default.Component);t.default=p},136:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(163),f=l.MDCTextFieldCharacterCounterFoundation.cssClasses,p="${count}",d="${maxLength}",h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.foundation=new l.MDCTextFieldCharacterCounterFoundation(t.adapter),t}return o(t,e),t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"adapter",{get:function(){return{setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.renderTemplate=function(e){var t=this.props,n=t.count,r=void 0===n?0:n,o=t.maxLength,i=void 0===o?0:o;return e.replace(p,r.toString()).replace(d,i.toString())},Object.defineProperty(t.prototype,"classes",{get:function(){return c.default(f.ROOT,this.props.className)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"otherProps",{get:function(){var e=this.props;return e.className,e.count,e.maxLength,e.template,a(e,["className","count","maxLength","template"])},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props.template;return u.default.createElement("div",i({className:this.classes},this.otherProps),this.renderTemplate(e||p+" / "+d))},t}(u.default.Component);t.default=h},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},163:function(e,t,n){"use strict";n.r(t);var r=n(10),o=n(14),i={ROOT:"mdc-text-field-character-counter"},a={ROOT_SELECTOR:"."+i.ROOT};n.d(t,"MDCTextFieldCharacterCounterFoundation",(function(){return s}));var s=function(e){function t(n){return e.call(this,r.a({},t.defaultAdapter,n))||this}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.setCounterValue=function(e,t){e=Math.min(e,t),this.adapter_.setContent(e+" / "+t)},t}(o.a);t.default=s},164:function(e,t,n){"use strict";n.r(t);var r=n(10),o=n(14),i={ARIA_CONTROLS:"aria-controls",ICON_SELECTOR:".mdc-text-field__icon",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline"},a={DENSE:"mdc-text-field--dense",DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",FULLWIDTH:"mdc-text-field--fullwidth",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"},s={DENSE_LABEL_SCALE:.923,LABEL_SCALE:.75},u=["pattern","min","max","required","step","minlength","maxlength"],c=["color","date","datetime-local","month","range","time","week"];n.d(t,"MDCTextFieldFoundation",(function(){return p}));var l=["mousedown","touchstart"],f=["click","keydown"],p=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,r.a({},t.defaultAdapter,n))||this;return i.isFocused_=!1,i.receivedUserInput_=!1,i.isValid_=!0,i.useNativeValidation_=!0,i.helperText_=o.helperText,i.characterCounter_=o.characterCounter,i.leadingIcon_=o.leadingIcon,i.trailingIcon_=o.trailingIcon,i.inputFocusHandler_=function(){return i.activateFocus()},i.inputBlurHandler_=function(){return i.deactivateFocus()},i.inputInputHandler_=function(){return i.handleInput()},i.setPointerXOffset_=function(e){return i.setTransformOrigin(e)},i.textFieldInteractionHandler_=function(){return i.handleTextFieldInteraction()},i.validationAttributeChangeHandler_=function(e){return i.handleValidationAttributeChange(e)},i}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldAlwaysFloat_",{get:function(){var e=this.getNativeInput_().type;return c.indexOf(e)>=0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||Boolean(this.getValue())||this.isBadInput_()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&Boolean(this.getValue())},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this;this.adapter_.isFocused()?this.inputFocusHandler_():this.adapter_.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter_.floatLabel(!0)),this.adapter_.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter_.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter_.registerInputInteractionHandler("input",this.inputInputHandler_),l.forEach((function(t){e.adapter_.registerInputInteractionHandler(t,e.setPointerXOffset_)})),f.forEach((function(t){e.adapter_.registerTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)})),this.validationObserver_=this.adapter_.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},t.prototype.destroy=function(){var e=this;this.adapter_.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter_.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter_.deregisterInputInteractionHandler("input",this.inputInputHandler_),l.forEach((function(t){e.adapter_.deregisterInputInteractionHandler(t,e.setPointerXOffset_)})),f.forEach((function(t){e.adapter_.deregisterTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)})),this.adapter_.deregisterValidationAttributeChangeHandler(this.validationObserver_)},t.prototype.handleTextFieldInteraction=function(){var e=this.adapter_.getNativeInput();e&&e.disabled||(this.receivedUserInput_=!0)},t.prototype.handleValidationAttributeChange=function(e){var t=this;e.some((function(e){return u.indexOf(e)>-1&&(t.styleValidity_(!0),!0)})),e.indexOf("maxlength")>-1&&this.setCharacterCounter_(this.getValue().length)},t.prototype.notchOutline=function(e){if(this.adapter_.hasOutline())if(e){var t=this.adapter_.hasClass(a.DENSE)?s.DENSE_LABEL_SCALE:s.LABEL_SCALE,n=this.adapter_.getLabelWidth()*t;this.adapter_.notchOutline(n)}else this.adapter_.closeOutline()},t.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter_.activateLineRipple(),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake)),this.helperText_&&this.helperText_.showToScreenReader()},t.prototype.setTransformOrigin=function(e){var t=e.touches,n=t?t[0]:e,r=n.target.getBoundingClientRect(),o=n.clientX-r.left;this.adapter_.setLineRippleTransformOrigin(o)},t.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},t.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},t.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter_.deactivateLineRipple();var e=this.isValid();this.styleValidity_(e),this.styleFocused_(this.isFocused_),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},t.prototype.getValue=function(){return this.getNativeInput_().value},t.prototype.setValue=function(e){this.getValue()!==e&&(this.getNativeInput_().value=e),this.setCharacterCounter_(e.length);var t=this.isValid();this.styleValidity_(t),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake))},t.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},t.prototype.setValid=function(e){this.isValid_=e,this.styleValidity_(e);var t=!e&&!this.isFocused_;this.adapter_.hasLabel()&&this.adapter_.shakeLabel(t)},t.prototype.setUseNativeValidation=function(e){this.useNativeValidation_=e},t.prototype.isDisabled=function(){return this.getNativeInput_().disabled},t.prototype.setDisabled=function(e){this.getNativeInput_().disabled=e,this.styleDisabled_(e)},t.prototype.setHelperTextContent=function(e){this.helperText_&&this.helperText_.setContent(e)},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon_&&this.leadingIcon_.setContent(e)},t.prototype.setTrailingIconAriaLabel=function(e){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(e)},t.prototype.setTrailingIconContent=function(e){this.trailingIcon_&&this.trailingIcon_.setContent(e)},t.prototype.setCharacterCounter_=function(e){if(this.characterCounter_){var t=this.getNativeInput_().maxLength;if(-1===t)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(e,t)}},t.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},t.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},t.prototype.styleValidity_=function(e){var n=t.cssClasses.INVALID;e?this.adapter_.removeClass(n):this.adapter_.addClass(n),this.helperText_&&this.helperText_.setValidity(e)},t.prototype.styleFocused_=function(e){var n=t.cssClasses.FOCUSED;e?this.adapter_.addClass(n):this.adapter_.removeClass(n)},t.prototype.styleDisabled_=function(e){var n=t.cssClasses,r=n.DISABLED,o=n.INVALID;e?(this.adapter_.addClass(r),this.adapter_.removeClass(o)):this.adapter_.removeClass(r),this.leadingIcon_&&this.leadingIcon_.setDisabled(e),this.trailingIcon_&&this.trailingIcon_.setDisabled(e)},t.prototype.getNativeInput_=function(){return(this.adapter_?this.adapter_.getNativeInput():null)||{disabled:!1,maxLength:-1,type:"input",validity:{badInput:!1,valid:!0},value:""}},t}(o.a);t.default=p},169:function(e,t,n){"use strict";n.r(t);var r=n(10),o=n(14),i={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},a={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+i.ROOT};n.d(t,"MDCTextFieldHelperTextFoundation",(function(){return s}));var s=function(e){function t(n){return e.call(this,r.a({},t.defaultAdapter,n))||this}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.setContent=function(e){this.adapter_.setContent(e)},t.prototype.setPersistent=function(e){e?this.adapter_.addClass(i.HELPER_TEXT_PERSISTENT):this.adapter_.removeClass(i.HELPER_TEXT_PERSISTENT)},t.prototype.setValidation=function(e){e?this.adapter_.addClass(i.HELPER_TEXT_VALIDATION_MSG):this.adapter_.removeClass(i.HELPER_TEXT_VALIDATION_MSG)},t.prototype.showToScreenReader=function(){this.adapter_.removeAttr(a.ARIA_HIDDEN)},t.prototype.setValidity=function(e){var t=this.adapter_.hasClass(i.HELPER_TEXT_PERSISTENT),n=this.adapter_.hasClass(i.HELPER_TEXT_VALIDATION_MSG)&&!e;n?this.adapter_.setAttr(a.ROLE,"alert"):this.adapter_.removeAttr(a.ROLE),t||n||this.hide_()},t.prototype.hide_=function(){this.adapter_.setAttr(a.ARIA_HIDDEN,"true")},t}(o.a);t.default=s},170:function(e,t,n){"use strict";n.r(t);var r=n(10),o=n(14),i={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},a={ROOT:"mdc-text-field__icon"};n.d(t,"MDCTextFieldIconFoundation",(function(){return u}));var s=["click","keydown"],u=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.savedTabIndex_=null,o.interactionHandler_=function(e){return o.handleInteraction(e)},o}return r.b(t,e),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this;this.savedTabIndex_=this.adapter_.getAttr("tabindex"),s.forEach((function(t){e.adapter_.registerInteractionHandler(t,e.interactionHandler_)}))},t.prototype.destroy=function(){var e=this;s.forEach((function(t){e.adapter_.deregisterInteractionHandler(t,e.interactionHandler_)}))},t.prototype.setDisabled=function(e){this.savedTabIndex_&&(e?(this.adapter_.setAttr("tabindex","-1"),this.adapter_.removeAttr("role")):(this.adapter_.setAttr("tabindex",this.savedTabIndex_),this.adapter_.setAttr("role",i.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter_.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter_.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter_.notifyIconAction()},t}(o.a);t.default=u},33:function(e,t){e.exports=i},34:function(e,t){e.exports=a},35:function(e,t){e.exports=s}}))},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(830),a=(r=i)&&r.__esModule?r:{default:r};var s={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return s.obj(e)&&e.type===a.default.all},error:function(e){return s.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&s.func(e.then)},iterator:function(e){return e&&s.func(e.next)&&s.func(e.throw)},fork:function(e){return s.obj(e)&&e.type===a.default.fork},join:function(e){return s.obj(e)&&e.type===a.default.join},race:function(e){return s.obj(e)&&e.type===a.default.race},call:function(e){return s.obj(e)&&e.type===a.default.call},cps:function(e){return s.obj(e)&&e.type===a.default.cps},subscribe:function(e){return s.obj(e)&&e.type===a.default.subscribe},channel:function(e){return s.obj(e)&&s.func(e.subscribe)}};t.default=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return RawHTML}));var r=n(615),o=n(616),i=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function RawHTML(e){var t=e.children,n=Object(o.a)(e,["children"]);return Object(i.createElement)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({dangerouslySetInnerHTML:{__html:t}},n))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){let t="";const n=Object.entries(e);let r;for(;r=n.shift();){let[e,o]=r;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[r,o]of t)n.unshift([`${e}[${r}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(706);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=n,e.exports.default=n},function(e,t,n){"use strict";var r=n(510);t.a=function(e){var t=Object(r.a)().dispatch;return void 0===e?t:t(e)}},function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";const r=n(1193),o=n(1194),i=n(1195),a=n(1196),s=Symbol("encodeFragmentIdentifier");function u(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){u((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map(t=>l(t,e)):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>l(t,e));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=d(n[e],t);else r[e]=d(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=p,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";u((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",o,"]"].join("")]:[...n,[c(t,e),"[",c(o,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[c(n,e),t,c(o,e)].join("")]:[[r,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const o=e[n];return void 0===o?"":null===o?c(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":o.reduce(r(n),[]).join("&"):c(n,t)+"="+c(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=f(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let u=t.stringify(a,n);u&&(u="?"+u);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l="#"+(n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier)),`${r}${u}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:u}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:u},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},function(e,t,n){!function(){"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};"function"==typeof define&&"object"==typeof define.amd&&define.amd?define((function(){return n})):e.exports?e.exports=n:window.ExecutionEnvironment=n}()},,,,function(e,t,n){"use strict";var r=n(0),o=n.n(r).a.createContext(null);t.a=o},function(e,t,n){"use strict";var r=n(505),o=Object(r.a)();t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(708);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1155);function o(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},,,,,,,,,,,function(e,t,n){var r,o,i,a,s,u;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(910),a=n(911),s=n(912),u=n(1214),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},109:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(43),f=s(n(33)),p=s(n(34)),d=s(n(35)),h=n(110),m=s(n(113));t.Option=m.default;var g=l.MDCSelectFoundation.cssClasses,y=function(e){function t(t){var n=e.call(this,t)||this;return n.nativeControl=u.default.createRef(),n.classesBeingRemoved=new Set,n.classesBeingAdded=new Set,n.createFoundation=function(e){var t=new l.MDCSelectFoundation(n.adapter,n.foundationMap);t.init(),n.setState({foundation:t},e)},n.destroyFoundation=function(){n.state.foundation&&n.state.foundation.destroy()},n.addClass=function(e){n.classesBeingAdded.add(e),n.setState((function(t){var n=new Set(t.classList);return n.add(e),{classList:n}}),(function(){n.classesBeingAdded.delete(e)}))},n.removeClass=function(e){n.classesBeingRemoved.add(e),n.setState((function(t){var n=new Set(t.classList);return n.delete(e),{classList:n}}),(function(){n.classesBeingRemoved.delete(e)}))},n.closeMenu=function(){return n.setState({open:!1})},n.setValidClasses=function(e){e?n.removeClass(g.INVALID):n.addClass(g.INVALID)},n.setHelperTextFoundation=function(e){n.setState({helperTextFoundation:e})},n.setIconFoundation=function(e){n.setState({iconFoundation:e})},n.state={classList:new Set,disabled:t.disabled,value:t.value,labelIsFloated:!1,labelWidth:0,activeLineRipple:!1,lineRippleCenter:void 0,outlineIsNotched:!1,open:!1,selectElement:u.default.createRef(),isInvalid:!1,helperTextFoundation:void 0,iconFoundation:void 0,foundation:void 0},n}return o(t,e),t.prototype.componentDidMount=function(){var e=this;this.createFoundation((function(){e.state.foundation.handleChange(!1)}))},t.prototype.componentDidUpdate=function(e,t){this.props.value!==e.value&&this.setState({value:this.props.value}),this.state.foundation&&this.state.value!==t.value&&this.state.foundation.handleChange(!0),this.state.foundation&&this.props.disabled!==e.disabled&&this.state.foundation.setDisabled(this.props.disabled),this.state.helperTextFoundation===t.helperTextFoundation&&this.state.iconFoundation===t.iconFoundation||(this.destroyFoundation(),this.createFoundation())},t.prototype.componentWillUnmount=function(){this.destroyFoundation()},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.state,t=e.classList,n=e.disabled,r=this.props,o=r.className,i=r.leadingIcon,a=r.required,s=r.outlined;return c.default("mdc-select",Array.from(t),o,{"mdc-select--outlined":s,"mdc-select--disabled":n,"mdc-select--required":a,"mdc-select--with-leading-icon":i})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this,t=this.props.enhanced,n={addClass:this.addClass,removeClass:this.removeClass,hasClass:function(t){var n=e.classes.split(" ").includes(t),r=e.classesBeingAdded.has(t),o=e.classesBeingRemoved.has(t);return(n||r)&&!o},setRippleCenter:function(t){return e.setState({lineRippleCenter:t})},getValue:function(){return e.state.value},setValue:function(t){return e.setState({value:t})},setDisabled:function(t){return e.setState({disabled:t})},setSelectedIndex:function(){},closeMenu:this.closeMenu,openMenu:function(){return e.setState({open:!0})}},r={isMenuOpen:function(){return!1},checkValidity:function(){return!!e.nativeControl.current&&e.nativeControl.current.checkValidity()},setValid:this.setValidClasses};return i({},t?{isMenuOpen:function(){return e.state.open},checkValidity:function(){return!(!e.props.disabled&&e.props.required)||Boolean(e.state.value)},setValid:function(t){e.setState({isInvalid:!t}),e.setValidClasses(t)}}:r,n,{floatLabel:function(t){return e.setState({labelIsFloated:t})},getLabelWidth:function(){return e.state.labelWidth}},{activateBottomLine:function(){return e.setState({activeLineRipple:!0})},deactivateBottomLine:function(){return e.setState({activeLineRipple:!1})},notifyChange:function(t){return e.props.afterChange(t)}},{notchOutline:function(){return e.setState({outlineIsNotched:!0})},closeOutline:function(){return e.setState({outlineIsNotched:!1})},hasOutline:function(){return!!e.props.outlined}})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"foundationMap",{get:function(){var e=this.state;return{helperText:e.helperTextFoundation,leadingIcon:e.iconFoundation}},enumerable:!0,configurable:!0}),t.prototype.render=function(){return u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:this.classes,ref:this.state.selectElement},this.renderIcon(),u.default.createElement("i",{className:"mdc-select__dropdown-icon"}),this.renderSelect(),this.props.outlined?null:this.renderLabel(),this.props.outlined?this.renderNotchedOutline():this.renderLineRipple()),this.renderHelperText())},t.prototype.renderSelect=function(){var e=this.props,t=e.selectClassName,n=(e.className,e.floatingLabelClassName,e.lineRippleClassName,e.notchedOutlineClassName,e.outlined,e.ref,e.value,e.afterChange,e.onEnhancedChange),r=(e.helperText,e.leadingIcon,e.enhanced),o=a(e,["selectClassName","className","floatingLabelClassName","lineRippleClassName","notchedOutlineClassName","outlined","ref","value","afterChange","onEnhancedChange","helperText","leadingIcon","enhanced"]),s=this.state,c=s.open,l=s.selectElement,f=s.isInvalid,p=s.value,d={onEnhancedChange:n,closeMenu:this.closeMenu,anchorElement:l.current,enhanced:r,isInvalid:f};return u.default.createElement(h.BaseSelect,i({open:c,value:p,innerRef:this.nativeControl,foundation:this.state.foundation,className:t},r?d:{},o),this.renderOptions())},t.prototype.renderOptions=function(){var e=this.props,t=e.children,n=e.options;return void 0!==n&&n.length?n.map((function(e,t){if("string"==typeof e)return u.default.createElement(m.default,{key:t,value:e},e);var n=e.label,r=a(e,["label"]);return u.default.createElement(m.default,i({key:t},r),n)})):t},t.prototype.renderLabel=function(){var e=this,t=this.props,n=t.id,r=t.label,o=t.floatingLabelClassName;if(r)return u.default.createElement(f.default,{className:o,float:this.state.labelIsFloated,handleWidthChange:function(t){return e.setState({labelWidth:t})},htmlFor:n},r)},t.prototype.renderLineRipple=function(){var e=this.props.lineRippleClassName,t=this.state,n=t.activeLineRipple,r=t.lineRippleCenter;return u.default.createElement(p.default,{rippleCenter:r,className:e,active:n})},t.prototype.renderNotchedOutline=function(){var e=this.props.notchedOutlineClassName,t=this.state,n=t.outlineIsNotched,r=t.labelWidth;return u.default.createElement(d.default,{className:e,notch:n,notchWidth:r},this.renderLabel())},t.prototype.renderHelperText=function(){var e=this.props.helperText;if(e){var t=i({},e.props,{setHelperTextFoundation:this.setHelperTextFoundation});return u.default.cloneElement(e,t)}},t.prototype.renderIcon=function(){var e=this.props.leadingIcon;if(e){var t=i({},e.props,{setIconFoundation:this.setIconFoundation});return u.default.cloneElement(e,t)}},t.defaultProps={enhanced:!1,className:"",disabled:!1,floatingLabelClassName:"",lineRippleClassName:"",selectClassName:"",notchedOutlineClassName:"",outlined:!1,options:[],onChange:function(){},onEnhancedChange:function(){},value:"",afterChange:function(){}},t}(u.default.Component);t.default=y;var v=n(114);t.SelectHelperText=v.SelectHelperText;var b=n(115);t.SelectIcon=b.SelectIcon;var _=n(36);t.OptionDivider=_.MenuListDivider,t.OptionGroup=_.MenuListGroup,t.OptionGroupSubheader=_.MenuListGroupSubheader,t.OptionGraphic=_.MenuListItemGraphic,t.OptionMeta=_.MenuListItemMeta,t.OptionText=_.MenuListItemText},110:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(111)),l=s(n(112)),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleFocus=function(e){var n=t.props,r=n.foundation,o=n.onFocus;r&&r.handleFocus(),o&&o(e)},t.handleBlur=function(e){var n=t.props,r=n.foundation,o=n.onBlur;r&&r.handleBlur(),o&&o(e)},t.handleTouchStart=function(e){var n=t.props,r=n.foundation,o=n.onTouchStart;r&&r.handleClick(t.getNormalizedXCoordinate(e)),o&&o(e)},t.handleMouseDown=function(e){var n=t.props,r=n.foundation,o=n.onMouseDown;r&&r.handleClick(t.getNormalizedXCoordinate(e)),o&&o(e)},t.handleClick=function(e){var n=t.props,r=n.foundation,o=n.onClick;r&&r.handleClick(t.getNormalizedXCoordinate(e)),o&&o(e)},t.handleKeyDown=function(e){var n=t.props,r=n.foundation,o=n.onKeyDown;r&&r.handleKeydown(e.nativeEvent),o&&o(e)},t.isTouchEvent=function(e){return Boolean(e.touches)},t.getNormalizedXCoordinate=function(e){var n=e.currentTarget.getBoundingClientRect();return(t.isTouchEvent(e.nativeEvent)?e.nativeEvent.touches[0].clientX:e.nativeEvent.clientX)-n.left},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=(e.onFocus,e.onBlur,e.onClick,e.onMouseDown,e.onTouchStart,e.ref,e.enhanced),n=e.children,r=e.onKeyDown,o=e.selectClassName,s=a(e,["onFocus","onBlur","onClick","onMouseDown","onTouchStart","ref","enhanced","children","onKeyDown","selectClassName"]),f=i({onFocus:this.handleFocus,onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onClick:this.handleClick,onTouchStart:this.handleTouchStart,className:o},s);return t?u.default.createElement(l.default,i({onKeyDown:this.handleKeyDown},f),n):u.default.createElement(c.default,i({onKeyDown:r},f),n)},t.defaultProps={enhanced:!1,selectClassName:""},t}(u.default.Component);t.BaseSelect=f},111:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.NativeSelect=u.default.createRef(),t.attachRef=function(e){var n=t.props.innerRef;t.NativeSelect.current=e,n&&("function"!=typeof n?n.current=e:n(e))},t}return o(t,e),Object.defineProperty(t.prototype,"classes",{get:function(){return c.default("mdc-select__native-control",this.props.className)},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.className,e.children),n=(e.foundation,e.innerRef,a(e,["className","children","foundation","innerRef"]));return u.default.createElement("select",i({className:this.classes,ref:this.attachRef},n),t)},t.defaultProps={className:"",children:null,disabled:!1,value:""},t}(u.default.Component);t.default=l},112:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(n(0)),c=n(174),l=s(n(36)),f=a(n(43)),p=c.MDCMenuSurfaceFoundation.Corner,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.nativeControl=u.default.createRef(),t.selectedTextEl=u.default.createRef(),t.menuEl=u.default.createRef(),t.state={"aria-expanded":void 0,selectedItem:null,selectedValue:""},t.setSelected=function(){var e=null!==t.menuEl.current&&t.menuEl.current.listElements;if(e&&e.length){var n=e[t.getIndexByValue(e)],r=n&&n.getAttribute(f.default.strings.ENHANCED_VALUE_ATTR)||"";t.setState({selectedItem:n,selectedValue:r})}},t.getIndexByValue=function(e){var n=t.props.value,r=-1;return r<0&&n&&e.some((function(e,t){return e.getAttribute(f.default.strings.ENHANCED_VALUE_ATTR)===n&&(r=t,!0)})),r},t.handleMenuClose=function(){var e=t.props,n=e.closeMenu,r=e.foundation;n(),t.setState({"aria-expanded":void 0}),r&&document.activeElement!==t.selectedTextEl.current&&r.handleBlur()},t.handleMenuOpen=function(){if(t.setState({"aria-expanded":!0}),t.listElements&&t.listElements.length>0){var e=t.getIndexByValue(t.listElements);e=e>-1?e:0,t.listElements[e].focus()}},t}return o(t,e),t.prototype.componentDidUpdate=function(e){this.props.value!==e.value&&this.setSelected()},Object.defineProperty(t.prototype,"listElements",{get:function(){return null!==this.menuEl.current&&this.menuEl.current.listElements},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.children,n=e.required,r=e.open,o=e.disabled,a=e.anchorElement,s=e.onMouseDown,c=e.onTouchStart,f=e.onKeyDown,d=e.onFocus,h=e.onClick,m=e.onBlur,g=e.onEnhancedChange,y=e.isInvalid,v=this.state,b=v["aria-expanded"],_=v.selectedValue,k=v.selectedItem,O={};return n&&(O["aria-required"]=n.toString()),b&&"false"!==b&&(O["aria-expanded"]="true"),y&&(O["aria-invalid"]="true"),O["aria-disabled"]=o?"true":"false",u.default.createElement(u.default.Fragment,null,u.default.createElement("input",{type:"hidden",name:"enhanced-select",disabled:o,value:_}),u.default.createElement("div",i({className:"mdc-select__selected-text"},O,{ref:this.selectedTextEl,tabIndex:o?-1:0,onMouseDown:s,onTouchStart:c,onKeyDown:f,onFocus:d,onClick:h,onBlur:m}),k?k.textContent.trim():""),u.default.createElement(l.default,{className:"mdc-select__menu",onClose:this.handleMenuClose,onOpen:this.handleMenuOpen,open:r,onSelected:g,anchorElement:a||void 0,anchorCorner:p.BOTTOM_START,ref:this.menuEl,onMount:this.setSelected},u.default.createElement(l.MenuList,null,u.default.Children.map(t,(function(e){var t=e;return u.default.cloneElement(t,i({},t.props,{enhanced:!0}))})))))},t.defaultProps={disabled:!1,closeMenu:function(){},onEnhancedChange:function(){},value:"",anchorElement:null,isInvalid:!1},t}(u.default.Component);t.default=d},113:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=n(36),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.value,n=e.enhanced,r=e.children,o=a(e,["value","enhanced","children"]);return n?u.default.createElement(c.MenuListItem,i({"data-value":t},o),r):u.default.createElement("option",i({value:t},o),r)},t.defaultProps={enhanced:!1},t}(u.default.Component);t.default=l},114:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(166),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={"aria-hidden":void 0,role:void 0,classList:new Set},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props.setHelperTextFoundation;this.foundation=new l.MDCSelectHelperTextFoundation(this.adapter),this.foundation.init(),e&&e(this.foundation)},t.prototype.componentWillUnmount=function(){var e=this.props.setHelperTextFoundation;this.foundation&&(this.foundation.destroy(),e&&e(void 0))},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.persistent,r=this.state.classList;return c.default("mdc-select-helper-text",Array.from(r),t,{"mdc-select-helper-text--persistent":n})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){var n=new Set(e.state.classList);n.add(t),e.setState({classList:n})},removeClass:function(t){var n=new Set(e.state.classList);n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},setAttr:function(t,n){e.setState((function(e){var r;return i({},e,((r={})[t]=n,r))}))},removeAttr:function(t){e.setState((function(e){var n;return i({},e,((n={})[t]=null,n))}))},setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.children,n=(e.persistent,e.className,e.setHelperTextFoundation,a(e,["children","persistent","className","setHelperTextFoundation"])),r=this.state,o=r["aria-hidden"],s=r.role;return u.default.createElement("p",i({className:this.classes,"aria-hidden":o,role:s},n),t)},t}(u.default.Component);t.SelectHelperText=f},115:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(171),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={tabindex:void 0,role:void 0},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props.setIconFoundation;this.foundation=new l.MDCSelectIconFoundation(this.adapter),this.foundation.init(),e&&e(this.foundation)},t.prototype.componentWillUnmount=function(){var e=this.props.setIconFoundation;this.foundation&&(this.foundation.destroy(),e&&e(void 0))},Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{getAttr:function(t){if(void 0!==e.state[t])return e.state[t].toString();var n="tabindex"===t?"tabIndex":t;return void 0!==e.props[n]?e.props[n].toString():null},setAttr:function(t,n){e.setState((function(e){var r;return i({},e,((r={})[t]=n,r))}))},removeAttr:function(t){e.setState((function(e){var n;return i({},e,((n={})[t]=null,n))}))},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.tag,n=(e.setIconFoundation,e.children),r=e.className,o=a(e,["tag","setIconFoundation","children","className"]),s=this.state,l=s.tabindex,f=s.role;return u.default.createElement(t,i({className:c.default("mdc-select__icon",r),role:f,tabIndex:l},o),n)},t.defaultProps={tag:"i"},t}(u.default.Component);t.SelectIcon=f},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},166:function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(13),i={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},a={HELPER_TEXT_PERSISTENT:"mdc-select-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg"};n.d(t,"MDCSelectHelperTextFoundation",(function(){return s}));var s=function(e){function t(n){return e.call(this,r.a({},t.defaultAdapter,n))||this}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),t.prototype.setContent=function(e){this.adapter_.setContent(e)},t.prototype.setPersistent=function(e){e?this.adapter_.addClass(a.HELPER_TEXT_PERSISTENT):this.adapter_.removeClass(a.HELPER_TEXT_PERSISTENT)},t.prototype.setValidation=function(e){e?this.adapter_.addClass(a.HELPER_TEXT_VALIDATION_MSG):this.adapter_.removeClass(a.HELPER_TEXT_VALIDATION_MSG)},t.prototype.showToScreenReader=function(){this.adapter_.removeAttr(i.ARIA_HIDDEN)},t.prototype.setValidity=function(e){var t=this.adapter_.hasClass(a.HELPER_TEXT_PERSISTENT),n=this.adapter_.hasClass(a.HELPER_TEXT_VALIDATION_MSG)&&!e;n?this.adapter_.setAttr(i.ROLE,"alert"):this.adapter_.removeAttr(i.ROLE),t||n||this.hide_()},t.prototype.hide_=function(){this.adapter_.setAttr(i.ARIA_HIDDEN,"true")},t}(o.a);t.default=s},171:function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(13),i={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"};n.d(t,"MDCSelectIconFoundation",(function(){return s}));var a=["click","keydown"],s=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.savedTabIndex_=null,o.interactionHandler_=function(e){return o.handleInteraction(e)},o}return r.b(t,e),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this;this.savedTabIndex_=this.adapter_.getAttr("tabindex"),a.forEach((function(t){e.adapter_.registerInteractionHandler(t,e.interactionHandler_)}))},t.prototype.destroy=function(){var e=this;a.forEach((function(t){e.adapter_.deregisterInteractionHandler(t,e.interactionHandler_)}))},t.prototype.setDisabled=function(e){this.savedTabIndex_&&(e?(this.adapter_.setAttr("tabindex","-1"),this.adapter_.removeAttr("role")):(this.adapter_.setAttr("tabindex",this.savedTabIndex_),this.adapter_.setAttr("role",i.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter_.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter_.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter_.notifyIconAction()},t}(o.a);t.default=s},174:function(e,t,n){"use strict";n.r(t);var r,o,i=n(9),a=n(13),s={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},u={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},c={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(r||(r={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(o||(o={})),n.d(t,"MDCMenuSurfaceFoundation",(function(){return l}));var l=function(e){function t(n){var r=e.call(this,i.a({},t.defaultAdapter,n))||this;return r.isOpen_=!1,r.isQuickOpen_=!1,r.isHoistedElement_=!1,r.isFixedPosition_=!1,r.openAnimationEndTimerId_=0,r.closeAnimationEndTimerId_=0,r.animationRequestId_=0,r.anchorCorner_=o.TOP_START,r.anchorMargin_={top:0,right:0,bottom:0,left:0},r.position_={x:0,y:0},r}return i.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isFirstElementFocused:function(){return!1},isLastElementFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},focusFirstElement:function(){},focusLastElement:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter_.hasClass(n))throw new Error(n+" class required in root element.");this.adapter_.hasClass(r)&&(this.isOpen_=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId_),clearTimeout(this.closeAnimationEndTimerId_),cancelAnimationFrame(this.animationRequestId_)},t.prototype.setAnchorCorner=function(e){this.anchorCorner_=e},t.prototype.setAnchorMargin=function(e){this.anchorMargin_.top=e.top||0,this.anchorMargin_.right=e.right||0,this.anchorMargin_.bottom=e.bottom||0,this.anchorMargin_.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement_=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition_=e},t.prototype.setAbsolutePosition=function(e,t){this.position_.x=this.isFinite_(e)?e:0,this.position_.y=this.isFinite_(t)?t:0},t.prototype.setQuickOpen=function(e){this.isQuickOpen_=e},t.prototype.isOpen=function(){return this.isOpen_},t.prototype.open=function(){var e=this;this.adapter_.saveFocus(),this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId_=requestAnimationFrame((function(){e.adapter_.addClass(t.cssClasses.OPEN),e.dimensions_=e.adapter_.getInnerDimensions(),e.autoPosition_(),e.isQuickOpen_?e.adapter_.notifyOpen():e.openAnimationEndTimerId_=setTimeout((function(){e.openAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter_.notifyOpen()}),c.TRANSITION_OPEN_DURATION)})),this.isOpen_=!0},t.prototype.close=function(){var e=this;this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){e.adapter_.removeClass(t.cssClasses.OPEN),e.isQuickOpen_?e.adapter_.notifyClose():e.closeAnimationEndTimerId_=setTimeout((function(){e.closeAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_CLOSED),e.adapter_.notifyClose()}),c.TRANSITION_CLOSE_DURATION)})),this.isOpen_=!1,this.maybeRestoreFocus_()},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter_.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode,n=e.key,r=e.shiftKey,o="Tab"===n||9===t;"Escape"===n||27===t?this.close():o&&(this.adapter_.isLastElementFocused()&&!r?(this.adapter_.focusFirstElement(),e.preventDefault()):this.adapter_.isFirstElementFocused()&&r&&(this.adapter_.focusLastElement(),e.preventDefault()))},t.prototype.autoPosition_=function(){var e;this.measurements_=this.getAutoLayoutMeasurements_();var t=this.getOriginCorner_(),n=this.getMenuSurfaceMaxHeight_(t),o=this.hasBit_(t,r.BOTTOM)?"bottom":"top",i=this.hasBit_(t,r.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset_(t),s=this.getVerticalOriginOffset_(t),u=this.measurements_,l=u.anchorSize,f=u.surfaceSize,p=((e={})[i]=a,e[o]=s,e);l.width/f.width>c.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(i="center"),(this.isHoistedElement_||this.isFixedPosition_)&&this.adjustPositionForHoistedElement_(p),this.adapter_.setTransformOrigin(i+" "+o),this.adapter_.setPosition(p),this.adapter_.setMaxHeight(n?n+"px":"")},t.prototype.getAutoLayoutMeasurements_=function(){var e=this.adapter_.getAnchorDimensions(),t=this.adapter_.getBodyDimensions(),n=this.adapter_.getWindowDimensions(),r=this.adapter_.getWindowScroll();return e||(e={top:this.position_.y,right:this.position_.x,bottom:this.position_.y,left:this.position_.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions_,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getOriginCorner_=function(){var e=o.TOP_LEFT,t=this.measurements_,n=t.viewportDistance,i=t.anchorSize,a=t.surfaceSize,s=this.hasBit_(this.anchorCorner_,r.BOTTOM),u=s?n.top+i.height+this.anchorMargin_.bottom:n.top+this.anchorMargin_.top,c=s?n.bottom-this.anchorMargin_.bottom:n.bottom+i.height-this.anchorMargin_.top,l=a.height-u,f=a.height-c;f>0&&l<f&&(e=this.setBit_(e,r.BOTTOM));var p=this.adapter_.isRtl(),d=this.hasBit_(this.anchorCorner_,r.FLIP_RTL),h=this.hasBit_(this.anchorCorner_,r.RIGHT),m=h&&!p||!h&&d&&p,g=m?n.left+i.width+this.anchorMargin_.right:n.left+this.anchorMargin_.left,y=m?n.right-this.anchorMargin_.right:n.right+i.width-this.anchorMargin_.left,v=a.width-g,b=a.width-y;return(v<0&&m&&p||h&&!m&&v<0||b>0&&v<b)&&(e=this.setBit_(e,r.RIGHT)),e},t.prototype.getMenuSurfaceMaxHeight_=function(e){var n=this.measurements_.viewportDistance,o=0,i=this.hasBit_(e,r.BOTTOM),a=this.hasBit_(this.anchorCorner_,r.BOTTOM),s=t.numbers.MARGIN_TO_EDGE;return i?(o=n.top+this.anchorMargin_.top-s,a||(o+=this.measurements_.anchorSize.height)):(o=n.bottom-this.anchorMargin_.bottom+this.measurements_.anchorSize.height-s,a&&(o-=this.measurements_.anchorSize.height)),o},t.prototype.getHorizontalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,r.RIGHT),o=this.hasBit_(this.anchorCorner_,r.RIGHT);if(n){var i=o?t.width-this.anchorMargin_.left:this.anchorMargin_.right;return this.isHoistedElement_||this.isFixedPosition_?i-(this.measurements_.viewportSize.width-this.measurements_.bodySize.width):i}return o?t.width-this.anchorMargin_.right:this.anchorMargin_.left},t.prototype.getVerticalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,r.BOTTOM),o=this.hasBit_(this.anchorCorner_,r.BOTTOM);return n?o?t.height-this.anchorMargin_.top:-this.anchorMargin_.bottom:o?t.height+this.anchorMargin_.bottom:this.anchorMargin_.top},t.prototype.adjustPositionForHoistedElement_=function(e){var t,n,r=this.measurements_,o=r.windowScroll,a=r.viewportDistance,s=Object.keys(e);try{for(var u=i.c(s),c=u.next();!c.done;c=u.next()){var l=c.value,f=e[l]||0;f+=a[l],this.isFixedPosition_||("top"===l?f+=o.y:"bottom"===l?f-=o.y:"left"===l?f+=o.x:f-=o.x),e[l]=f}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus_=function(){var e=this.adapter_.isFocused(),t=document.activeElement&&this.adapter_.isElementInContainer(document.activeElement);(e||t)&&this.adapter_.restoreFocus()},t.prototype.hasBit_=function(e,t){return Boolean(e&t)},t.prototype.setBit_=function(e,t){return e|t},t.prototype.isFinite_=function(e){return"number"==typeof e&&isFinite(e)},t}(a.a);t.default=l},33:function(e,t){e.exports=i},34:function(e,t){e.exports=a},35:function(e,t){e.exports=s},36:function(e,t){e.exports=u},43:function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(13),i={DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",SELECTED_ITEM_CLASS:"mdc-list-item--selected",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},a={ARIA_CONTROLS:"aria-controls",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",ENHANCED_VALUE_ATTR:"data-value",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",NATIVE_CONTROL_SELECTOR:".mdc-select__native-control",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_ITEM_SELECTOR:"."+i.SELECTED_ITEM_CLASS,SELECTED_TEXT_SELECTOR:".mdc-select__selected-text"},s={LABEL_SCALE:.75};n.d(t,"MDCSelectFoundation",(function(){return u}));var u=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,r.a({},t.defaultAdapter,n))||this;return i.leadingIcon_=o.leadingIcon,i.helperText_=o.helperText,i}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},setValue:function(){},getValue:function(){return""},floatLabel:function(){},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},openMenu:function(){},closeMenu:function(){},isMenuOpen:function(){return!1},setSelectedIndex:function(){},setDisabled:function(){},setRippleCenter:function(){},notifyChange:function(){},checkValidity:function(){return!1},setValid:function(){}}},enumerable:!0,configurable:!0}),t.prototype.setSelectedIndex=function(e){this.adapter_.setSelectedIndex(e),this.adapter_.closeMenu(),this.handleChange(!0)},t.prototype.setValue=function(e){this.adapter_.setValue(e),this.handleChange(!0)},t.prototype.getValue=function(){return this.adapter_.getValue()},t.prototype.setDisabled=function(e){e?this.adapter_.addClass(i.DISABLED):this.adapter_.removeClass(i.DISABLED),this.adapter_.setDisabled(e),this.adapter_.closeMenu(),this.leadingIcon_&&this.leadingIcon_.setDisabled(e)},t.prototype.setHelperTextContent=function(e){this.helperText_&&this.helperText_.setContent(e)},t.prototype.layout=function(){var e=this.getValue().length>0;this.notchOutline(e)},t.prototype.handleChange=function(e){void 0===e&&(e=!0);var t=this.getValue(),n=t.length>0,r=this.adapter_.hasClass(i.REQUIRED);this.notchOutline(n),this.adapter_.hasClass(i.FOCUSED)||this.adapter_.floatLabel(n),e&&(this.adapter_.notifyChange(t),r&&(this.setValid(this.isValid()),this.helperText_&&this.helperText_.setValidity(this.isValid())))},t.prototype.handleFocus=function(){this.adapter_.addClass(i.FOCUSED),this.adapter_.floatLabel(!0),this.notchOutline(!0),this.adapter_.activateBottomLine(),this.helperText_&&this.helperText_.showToScreenReader()},t.prototype.handleBlur=function(){this.adapter_.isMenuOpen()||(this.adapter_.removeClass(i.FOCUSED),this.handleChange(!1),this.adapter_.deactivateBottomLine(),this.adapter_.hasClass(i.REQUIRED)&&(this.setValid(this.isValid()),this.helperText_&&this.helperText_.setValidity(this.isValid())))},t.prototype.handleClick=function(e){this.adapter_.isMenuOpen()||(this.adapter_.setRippleCenter(e),this.adapter_.openMenu())},t.prototype.handleKeydown=function(e){if(!this.adapter_.isMenuOpen()){var t="Enter"===e.key||13===e.keyCode,n="Space"===e.key||32===e.keyCode,r="ArrowUp"===e.key||38===e.keyCode,o="ArrowDown"===e.key||40===e.keyCode;this.adapter_.hasClass(i.FOCUSED)&&(t||n||r||o)&&(this.adapter_.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter_.hasOutline()){var t=this.adapter_.hasClass(i.FOCUSED);if(e){var n=s.LABEL_SCALE,r=this.adapter_.getLabelWidth()*n;this.adapter_.notchOutline(r)}else t||this.adapter_.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon_&&this.leadingIcon_.setContent(e)},t.prototype.setValid=function(e){this.adapter_.setValid(e)},t.prototype.isValid=function(){return this.adapter_.checkValidity()},t}(o.a);t.default=u},9:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}}}))},function(e,t,n){"use strict";var r=n(75),o=n(233),i=n(0),a=n.n(i),s=(n(1),n(971)),u=n.n(s),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l="object"===("undefined"==typeof window?"undefined":c(window))&&"object"===("undefined"==typeof document?"undefined":c(document))&&9===document.nodeType;n(522);function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var d=n(370),h=n(807),m=n(397),g={}.constructor;function y(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(y);if(e.constructor!==g)return e;var t={};for(var n in e)t[n]=y(e[n]);return t}function v(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=y(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var b=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},_=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=b(e[r]," ");else n=b(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function k(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function O(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var u=a[s];for(var c in u){var l=u[c];null!=l&&(r&&(r+="\n"),r+=""+k(c+": "+_(l)+";",i))}}else for(var f in a){var p=a[f];null!=p&&(r&&(r+="\n"),r+=""+k(f+": "+_(p)+";",i))}for(var d in t){var h=t[d];null!=h&&"fallbacks"!==d&&(r&&(r+="\n"),r+=""+k(d+": "+_(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),k(e+" {"+r,--i)+k("}",i)):r}var w=/([[\].#*$><+~=|^:(),"'`\s])/g,j="undefined"!=typeof CSS&&CSS.escape,E=function(e){return j?j(e):e.replace(w,"\\$1")},C=function(){function BaseStyleRule(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return BaseStyleRule.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var u=this.options.sheet;return u&&u.attached,this},BaseStyleRule}(),S=function(e){function StyleRule(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,s=r.sheet,u=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=u(Object(h.a)(Object(h.a)(o)),s),o.selectorText="."+E(o.id)),o}Object(d.a)(StyleRule,e);var t=StyleRule.prototype;return t.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},t.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=_(n))}return e},t.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return O(this.selectorText,this.style,n)},p(StyleRule,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),StyleRule}(C),T={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new S(e,t,n)}},x={indent:1,children:!0},I=/@([\w-]+)/,A=function(){function ConditionalRule(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var o=e.match(I);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var e=ConditionalRule.prototype;return e.getRule=function(e){return this.rules.get(e)},e.indexOf=function(e){return this.rules.indexOf(e)},e.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(e){if(void 0===e&&(e=x),null==e.indent&&(e.indent=x.indent),null==e.children&&(e.children=x.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},ConditionalRule}(),P=/@media|@supports\s+/,R={onCreateRule:function(e,t,n){return P.test(e)?new A(e,t,n):null}},L={indent:1,children:!0},D=/@keyframes\s+([\w-]+)/,M=function(){function KeyframesRule(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var o=e.match(D);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===i?this.name:E(s(this,a)),this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return KeyframesRule.prototype.toString=function(e){if(void 0===e&&(e=L),null==e.indent&&(e.indent=L.indent),null==e.children&&(e.children=L.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},KeyframesRule}(),N=/@keyframes\s+/,F=/\$([\w-]+)/g,z=function(e,t){return"string"==typeof e?e.replace(F,(function(e,n){return n in t?t[n]:e})):e},H=function(e,t,n){var r=e[t],o=z(r,n);o!==r&&(e[t]=o)},B={onCreateRule:function(e,t,n){return"string"==typeof e&&N.test(e)?new M(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&H(e,"animation-name",n.keyframes),"animation"in e&&H(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return z(e,r.keyframes);default:return e}}},U=function(e){function KeyframeRule(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Object(d.a)(KeyframeRule,e),KeyframeRule.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return O(this.key,this.style,n)},KeyframeRule}(C),W={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new U(e,t,n):null}},V=function(){function FontFaceRule(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return FontFaceRule.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=O(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return O(this.at,this.style,e)},FontFaceRule}(),G=/@font-face/,$={onCreateRule:function(e,t,n){return G.test(e)?new V(e,t,n):null}},K=function(){function ViewportRule(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return ViewportRule.prototype.toString=function(e){return O(this.key,this.style,e)},ViewportRule}(),q={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new K(e,t,n):null}},X=function(){function SimpleRule(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return SimpleRule.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},SimpleRule}(),Y={"@charset":!0,"@import":!0,"@namespace":!0},Q=[T,R,B,W,$,q,{onCreateRule:function(e,t,n){return e in Y?new X(e,t,n):null}}],J={process:!0},Z={force:!0,process:!0},ee=function(){function RuleList(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var e=RuleList.prototype;return e.add=function(e,t,n){var o=this.options,i=o.parent,a=o.sheet,s=o.jss,u=o.Renderer,c=o.generateId,l=o.scoped,f=Object(r.a)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:u,generateId:c,scoped:l,name:e,keyframes:this.keyframes,selector:void 0},n),p=e;e in this.raw&&(p=e+"-d"+this.counter++),this.raw[p]=t,p in this.classes&&(f.selector="."+E(this.classes[p]));var d=v(p,t,f);if(!d)return null;this.register(d);var h=void 0===f.index?this.index.length:f.index;return this.index.splice(h,0,d),d},e.get=function(e){return this.map[e]},e.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},e.indexOf=function(e){return this.index.indexOf(e)},e.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},e.register=function(e){this.map[e.key]=e,e instanceof S?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof M&&this.keyframes&&(this.keyframes[e.name]=e.id)},e.unregister=function(e){delete this.map[e.key],e instanceof S?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof M&&delete this.keyframes[e.name]},e.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},e.updateOne=function(e,t,n){void 0===n&&(n=J);var r=this.options,o=r.jss.plugins,i=r.sheet;if(e.rules instanceof RuleList)e.rules.update(t,n);else{var a=e,s=a.style;if(o.onUpdate(t,e,i,n),n.process&&s&&s!==a.style){for(var u in o.onProcessStyle(a.style,a,i),a.style){var c=a.style[u];c!==s[u]&&a.prop(u,c,Z)}for(var l in s){var f=a.style[l],p=s[l];null==f&&f!==p&&a.prop(l,null,Z)}}}},e.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},RuleList}(),te=function(){function StyleSheet(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ee(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var e=StyleSheet.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},e.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},e.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},e.getRule=function(e){return this.rules.get(e)},e.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},e.indexOf=function(e){return this.rules.indexOf(e)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},e.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},e.toString=function(e){return this.rules.toString(e)},StyleSheet}(),ne=function(){function PluginsRegistry(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=PluginsRegistry.prototype;return e.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},e.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},e.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},e.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},e.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},e.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},e.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},PluginsRegistry}(),re=new(function(){function SheetsRegistry(){this.registry=[]}var e=SheetsRegistry.prototype;return e.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},e.reset=function(){this.registry=[]},e.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},e.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(m.a)(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},p(SheetsRegistry,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}()),oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ie="2f1acc6c3a606b082e5eef5e54414ffb";null==oe[ie]&&(oe[ie]=0);var ae=oe[ie]++,se=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ae+o+t:i+n.key+"-"+ae+(o?"-"+o:"")+"-"+t}},ue=function(e){var t;return function(){return t||(t=e()),t}},ce=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},le=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=_(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},fe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},pe=function(e,t){return e.selectorText=t,e.selectorText===t},de=ue((function(){return document.querySelector("head")}));function he(e){var t=re.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=de(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var me=ue((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ge=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},ye=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ve=function(){function DomRenderer(e){this.getPropertyValue=ce,this.setProperty=le,this.removeProperty=fe,this.setSelector=pe,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&re.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=me();i&&this.element.setAttribute("nonce",i)}var e=DomRenderer.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=he(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else de().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},e.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},e.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=ye(n,t);if(!1===(o=ge(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=ye(n,t),u=ge(n,a,s);return!1!==u&&(this.hasInsertedRules=!0,this.refCssRule(e,s,u),u)},e.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof te&&(this.cssRules[t]=n)},e.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(e){return this.cssRules.indexOf(e)},e.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},e.getRules=function(){return this.element.sheet.cssRules},DomRenderer}(),be=0,_e=function(){function Jss(e){this.id=be++,this.version="10.6.0",this.plugins=new ne,this.options={id:{minify:!1},createGenerateId:se,Renderer:l?ve:null,plugins:[]},this.generateId=se({minify:!1});for(var t=0;t<Q.length;t++)this.plugins.use(Q[t],{queue:"internal"});this.setup(e)}var e=Jss.prototype;return e.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(r.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},e.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===re.index?0:re.index+1);var o=new te(e,Object(r.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o},e.removeStyleSheet=function(e){return e.detach(),re.remove(e),this},e.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var o=Object(r.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});o.generateId||(o.generateId=this.generateId),o.classes||(o.classes={}),o.keyframes||(o.keyframes={});var i=v(e,t,o);return i&&this.plugins.onProcessRule(i),i},e.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},Jss}();var ke="object"==typeof CSS&&null!=CSS&&"number"in CSS,Oe=function(e){return new _e(e)};Oe();function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}var je={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Se=n(1154),Te=n(759),xe=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ae=Date.now(),Re="fnValues"+Ae,Me="fnStyle"+ ++Ae,Ne=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=v(e,{},n);return r[Me]=t,r},onProcessStyle:function(e,t){if(Re in t||Me in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Re]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Me];i&&(o.style=i(e)||{});var a=o[Re];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Fe="@global",ze=function(){function GlobalContainerRule(e,t,n){for(var o in this.type="global",this.at=Fe,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var e=GlobalContainerRule.prototype;return e.getRule=function(e){return this.rules.get(e)},e.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(e){return this.rules.indexOf(e)},e.toString=function(){return this.rules.toString()},GlobalContainerRule}(),Be=function(){function GlobalPrefixedRule(e,t,n){this.type="global",this.at=Fe,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var o=e.substr("@global ".length);this.rule=n.jss.createRule(o,t,Object(r.a)({},n,{parent:this}))}return GlobalPrefixedRule.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},GlobalPrefixedRule}(),Ue=/\s*,\s*/g;function We(e,t){for(var n=e.split(Ue),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var Ve=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Fe)return new ze(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new Be(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,o=e.style,i=o?o[Fe]:null;if(i){for(var a in i)t.addRule(a,i[a],Object(r.a)({},n,{selector:We(a,e.selector)}));delete o[Fe]}}(e,t),function(e,t){var n=e.options,o=e.style;for(var i in o)if("@"===i[0]&&i.substr(0,Fe.length)===Fe){var a=We(i.substr(Fe.length),e.selector);t.addRule(a,o[i],Object(r.a)({},n,{selector:a})),delete o[i]}}(e,t))}}},$e=/\s*,\s*/g,qe=/&/g,Xe=/\$([\w-]+)/g;var jss_plugin_nested_esm=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split($e),r=e.split($e),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var u=r[s];o&&(o+=", "),o+=-1!==u.indexOf("&")?u.replace(qe,a):a+" "+u}return o}function n(e,t,n){if(n)return Object(r.a)({},n,{index:n.index+1});var o=e.options.nestingLevel;o=void 0===o?1:o+1;var i=Object(r.a)({},e.options,{nestingLevel:o,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(o,i,a){if("style"!==i.type)return o;var s,u,c=i,l=c.options.parent;for(var f in o){var p=-1!==f.indexOf("&"),d="@"===f[0];if(p||d){if(s=n(c,l,s),p){var h=t(f,c.selector);u||(u=e(l,a)),h=h.replace(Xe,u),l.addRule(h,o[f],Object(r.a)({},s,{selector:h}))}else d&&l.addRule(f,{},s).addRule(c.key,o[f],{selector:c.selector});delete o[f]}}return o}}},Ye=/[A-Z]/g,et=/^ms-/,tt={};function nt(e){return"-"+e.toLowerCase()}var hyphenate_style_name=function(e){if(tt.hasOwnProperty(e))return tt[e];var t=e.replace(Ye,nt);return tt[e]=et.test(t)?"-"+t:t};function rt(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:hyphenate_style_name(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(rt):t.fallbacks=rt(e.fallbacks)),t}var ot=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=rt(e[t]);return e}return rt(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=hyphenate_style_name(t);return t===r?e:(n.prop(r,e),null)}}},it=ke&&CSS?CSS.px:"px",at=ke&&CSS?CSS.ms:"ms",st=ke&&CSS?CSS.percent:"%";function ut(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var ct=ut({"animation-delay":at,"animation-duration":at,"background-position":it,"background-position-x":it,"background-position-y":it,"background-size":it,border:it,"border-bottom":it,"border-bottom-left-radius":it,"border-bottom-right-radius":it,"border-bottom-width":it,"border-left":it,"border-left-width":it,"border-radius":it,"border-right":it,"border-right-width":it,"border-top":it,"border-top-left-radius":it,"border-top-right-radius":it,"border-top-width":it,"border-width":it,"border-block":it,"border-block-end":it,"border-block-end-width":it,"border-block-start":it,"border-block-start-width":it,"border-block-width":it,"border-inline":it,"border-inline-end":it,"border-inline-end-width":it,"border-inline-start":it,"border-inline-start-width":it,"border-inline-width":it,"border-start-start-radius":it,"border-start-end-radius":it,"border-end-start-radius":it,"border-end-end-radius":it,margin:it,"margin-bottom":it,"margin-left":it,"margin-right":it,"margin-top":it,"margin-block":it,"margin-block-end":it,"margin-block-start":it,"margin-inline":it,"margin-inline-end":it,"margin-inline-start":it,padding:it,"padding-bottom":it,"padding-left":it,"padding-right":it,"padding-top":it,"padding-block":it,"padding-block-end":it,"padding-block-start":it,"padding-inline":it,"padding-inline-end":it,"padding-inline-start":it,"mask-position-x":it,"mask-position-y":it,"mask-size":it,height:it,width:it,"min-height":it,"max-height":it,"min-width":it,"max-width":it,bottom:it,left:it,top:it,right:it,inset:it,"inset-block":it,"inset-block-end":it,"inset-block-start":it,"inset-inline":it,"inset-inline-end":it,"inset-inline-start":it,"box-shadow":it,"text-shadow":it,"column-gap":it,"column-rule":it,"column-rule-width":it,"column-width":it,"font-size":it,"font-size-delta":it,"letter-spacing":it,"text-decoration-thickness":it,"text-indent":it,"text-stroke":it,"text-stroke-width":it,"word-spacing":it,motion:it,"motion-offset":it,outline:it,"outline-offset":it,"outline-width":it,perspective:it,"perspective-origin-x":st,"perspective-origin-y":st,"transform-origin":st,"transform-origin-x":st,"transform-origin-y":st,"transform-origin-z":st,"transition-delay":at,"transition-duration":at,"vertical-align":it,"flex-basis":it,"shape-margin":it,size:it,gap:it,grid:it,"grid-gap":it,"row-gap":it,"grid-row-gap":it,"grid-column-gap":it,"grid-template-rows":it,"grid-template-columns":it,"grid-auto-rows":it,"grid-auto-columns":it,"box-shadow-x":it,"box-shadow-y":it,"box-shadow-blur":it,"box-shadow-spread":it,"font-line-height":it,"text-shadow-x":it,"text-shadow-y":it,"text-shadow-blur":it});function lt(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=lt(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=lt(o,t[o],n);else for(var i in t)t[i]=lt(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||ct[e];return!a||0===t&&a===it?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var ft=function(e){void 0===e&&(e={});var t=ut(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=lt(r,e[r],t);return e},onChangeValue:function(e,n){return lt(n,e,t)}}},pt=n(773),dt="",ht="",mt="",gt="",yt=l&&"ontouchstart"in document.documentElement;if(l){var vt={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},bt=document.createElement("p").style;for(var _t in vt)if(_t+"Transform"in bt){dt=_t,ht=vt[_t];break}"Webkit"===dt&&"msHyphens"in bt&&(dt="ms",ht=vt.ms,gt="edge"),"Webkit"===dt&&"-apple-trailing-word"in bt&&(mt="apple")}var kt=dt,Ot=ht,wt=mt,jt=gt,Et=yt;var Ct={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===kt?"-webkit-"+e:Ot+e)}},St={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===kt?Ot+"print-"+e:e)}},Tt=/[-\s]+(.)?/g;function xt(e,t){return t?t.toUpperCase():""}function It(e){return e.replace(Tt,xt)}function At(e){return It("-"+e)}var Pt,Rt={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===kt){if(It("mask-image")in t)return e;if(kt+At("mask-image")in t)return Ot+e}return e}},Lt={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==wt||Et?e:Ot+e)}},Dt={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Ot+e)}},Mt={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Ot+e)}},Nt={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===kt||"ms"===kt&&"edge"!==jt?Ot+e:e)}},Ft={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===kt||"ms"===kt||"apple"===wt?Ot+e:e)}},zt={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===kt?"WebkitColumn"+At(e)in t&&Ot+"column-"+e:"Moz"===kt&&("page"+At(e)in t&&"page-"+e))}},Ht={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===kt)return e;var n=e.replace("-inline","");return kt+At(n)in t&&Ot+n}},Bt={supportedProperty:function(e,t){return It(e)in t&&e}},Ut={supportedProperty:function(e,t){var n=At(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:kt+n in t?Ot+e:"Webkit"!==kt&&"Webkit"+n in t&&"-webkit-"+e}},Wt={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===kt?""+Ot+e:e)}},Vt={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===kt?Ot+"scroll-chaining":e)}},Gt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},$t={supportedProperty:function(e,t){var n=Gt[e];return!!n&&(kt+At(n)in t&&Ot+n)}},Kt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},qt=Object.keys(Kt),Xt=function(e){return Ot+e},Yt=[Ct,St,Rt,Lt,Dt,Mt,Nt,Ft,zt,Ht,Bt,Ut,Wt,Vt,$t,{supportedProperty:function(e,t,n){var r=n.multiple;if(qt.indexOf(e)>-1){var o=Kt[e];if(!Array.isArray(o))return kt+At(o)in t&&Ot+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(kt+At(o[0])in t))return!1;return o.map(Xt)}return!1}}],Qt=Yt.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Jt=Yt.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Object(pt.a)(t.noPrefill)),e}),[]),Zt={};if(l){Pt=document.createElement("p");var en=window.getComputedStyle(document.documentElement,"");for(var tn in en)isNaN(tn)||(Zt[en[tn]]=en[tn]);Jt.forEach((function(e){return delete Zt[e]}))}function nn(e,t){if(void 0===t&&(t={}),!Pt)return e;if(null!=Zt[e])return Zt[e];"transition"!==e&&"transform"!==e||(t[e]=e in Pt.style);for(var n=0;n<Qt.length&&(Zt[e]=Qt[n](e,Pt.style,t),!Zt[e]);n++);try{Pt.style[e]=""}catch(e){return!1}return Zt[e]}var rn,on={},an={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},sn=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function un(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?nn(t):", "+nn(n);return r||(t||n)}function cn(e,t){var n=t;if(!rn||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=on[r])return on[r];try{rn.style[e]=n}catch(e){return on[r]=!1,!1}if(an[e])n=n.replace(sn,un);else if(""===rn.style[e]&&("-ms-flex"===(n=Ot+n)&&(rn.style[e]="-ms-flexbox"),rn.style[e]=n,""===rn.style[e]))return on[r]=!1,!1;return rn.style[e]="",on[r]=n,on[r]}l&&(rn=document.createElement("p"));var ln=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=nn(n);i&&i!==n&&(o=!0);var a=!1,s=cn(i,_(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===kt?n:"@"+Ot+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return cn(t,_(e))||e}}};var fn=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function pn(){return{plugins:[Ne(),Ve(),jss_plugin_nested_esm(),ot(),ft(),"undefined"==typeof window?null:ln(),fn()]}}var dn=Oe(pn()),hn={disableGeneration:!1,generateClassName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),u=0,c=function(){return u+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==xe.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Te.a]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}(),jss:dn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},mn=a.a.createContext(hn);var gn=-1e9;function yn(){return gn+=1}n(643);var vn=n(1259);function bn(e){var t="function"==typeof e;return{create:function(n,o){var i;try{i=t?e(n):e}catch(e){throw e}if(!o||!n.overrides||!n.overrides[o])return i;var a=n.overrides[o],s=Object(r.a)({},i);return Object.keys(a).forEach((function(e){s[e]=Object(vn.a)(s[e],a[e])})),s},options:{}}}var _n={};function kn(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=we({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function On(e,t){var n=e.state,o=e.theme,i=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!i.disableGeneration){var u=je.get(i.sheetsManager,a,o);u||(u={refs:0,staticSheet:null,dynamicStyles:null},je.set(i.sheetsManager,a,o,u));var c=Object(r.a)({},a.options,i,{theme:o,flip:"boolean"==typeof i.flip?i.flip:"rtl"===o.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var l=i.sheetsRegistry;if(0===u.refs){var f;i.sheetsCache&&(f=je.get(i.sheetsCache,a,o));var p=a.create(o,s);f||((f=i.jss.createStyleSheet(p,Object(r.a)({link:!1},c))).attach(),i.sheetsCache&&je.set(i.sheetsCache,a,o,f)),l&&l.add(f),u.staticSheet=f,u.dynamicStyles=function e(t){var n=null;for(var r in t){var o=t[r],i=typeof o;if("function"===i)n||(n={}),n[r]=o;else if("object"===i&&null!==o&&!Array.isArray(o)){var a=e(o);a&&(n||(n={}),n[r]=a)}}return n}(p)}if(u.dynamicStyles){var d=i.jss.createStyleSheet(u.dynamicStyles,Object(r.a)({link:!0},c));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=we({baseClasses:u.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else n.classes=u.staticSheet.classes;u.refs+=1}}function wn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function jn(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=je.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(je.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function En(e,t){var n,r=a.a.useRef([]),o=a.a.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[o])}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,i=t.classNamePrefix,s=t.Component,u=t.defaultTheme,c=void 0===u?_n:u,l=Object(o.a)(t,["name","classNamePrefix","Component","defaultTheme"]),f=bn(e),p=n||i||"makeStyles";f.options={index:yn(),name:n,meta:p,classNamePrefix:p};var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(Se.a)()||c,o=Object(r.a)({},a.a.useContext(mn),l),i=a.a.useRef(),u=a.a.useRef();En((function(){var r={name:n,state:{},stylesCreator:f,stylesOptions:o,theme:t};return On(r,e),u.current=!1,i.current=r,function(){jn(r)}}),[t,f]),a.a.useEffect((function(){u.current&&wn(i.current,e),u.current=!0}));var p=kn(i.current,e.classes,s);return p};return d}function Sn(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var Tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.defaultTheme,s=t.withTheme,c=void 0!==s&&s,l=t.name,f=Object(o.a)(t,["defaultTheme","withTheme","name"]);var p=l,d=Cn(e,Object(r.a)({defaultTheme:i,Component:n,name:l||n.displayName,classNamePrefix:p},f)),h=a.a.forwardRef((function WithStyles(e,t){e.classes;var s,u=e.innerRef,f=Object(o.a)(e,["classes","innerRef"]),p=d(Object(r.a)({},n.defaultProps,e)),h=f;return("string"==typeof l||c)&&(s=Object(Se.a)()||i,l&&(h=Sn({theme:s,name:l,props:f})),c&&!h.theme&&(h.theme=s)),a.a.createElement(n,Object(r.a)({ref:u||t,classes:p},h))}));return u()(h,n),h}},xn=n(756);t.a=function(e,t){return Tn(e,Object(r.a)({defaultTheme:xn.a},t))}},function(e,t,n){"use strict";var r=n(749),o=n(0),i=n(919);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=n(1153);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Object(s.a)(r.key),r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}var p=n(580);function d(e,t){if(t&&("object"==Object(p.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=n(622);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}var y=Object(i.a)((function(e){return e.prototype instanceof o.Component?function(e){f(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"shouldComponentUpdate",value:function(e,t){return!Object(m.a)(e,this.props)||!Object(m.a)(t,this.state)}}]),n}(e):function(t){f(r,t);var n=g(r);function r(){return a(this,r),n.apply(this,arguments)}return c(r,[{key:"shouldComponentUpdate",value:function(e){return!Object(m.a)(e,this.props)}},{key:"render",value:function(){return Object(o.createElement)(e,this.props)}}]),r}(o.Component)}),"pure"),v=n(359);t.a=function(e){return Object(i.a)((function(t){return y((function(n){var i=Object(v.a)((function(t,r){return e(t,n,r)}));return Object(o.createElement)(t,Object(r.a)({},n,i))}))}),"withSelect")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(708);var o=n(969),i=n(757);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var r=n(749),o=n(0),i=n(919),a=n(567),s=n(13),u=n(1258),c=n(510),l=function(e,t){var n=Object(c.a)(),r=Object(o.useRef)(e);return Object(u.a)((function(){r.current=e})),Object(o.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(s.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(Object(a.a)(t)))};t.a=function(e){return Object(i.a)((function(t){return function(n){var i=l((function(t,r){return e(t,n,r)}),[]);return Object(o.createElement)(t,Object(r.a)({},n,i))}}),"withDispatch")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(563),o=n(609);const i=Object(o.c)(class extends o.a{constructor(e){var t;if(super(e),e.type!==o.b.ATTRIBUTE||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var n,o;if(void 0===this.it){this.it=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!(null===(n=this.nt)||void 0===n?void 0:n.has(e))&&this.it.add(e);return this.render(t)}const i=e.element.classList;this.it.forEach(e=>{e in t||(i.remove(e),this.it.delete(e))});for(const e in t){const n=!!t[e];n===this.it.has(e)||(null===(o=this.nt)||void 0===o?void 0:o.has(e))||(n?(i.add(e),this.it.add(e)):(i.remove(e),this.it.delete(e)))}return r.b}})},,,,,,,,,function(e,t,n){"use strict";var r=n(609);n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return r.b})),n.d(t,"c",(function(){return r.c}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return le}));var r={};n.r(r),n.d(r,"getIsResolving",(function(){return V})),n.d(r,"hasStartedResolution",(function(){return G})),n.d(r,"hasFinishedResolution",(function(){return $})),n.d(r,"isResolving",(function(){return K})),n.d(r,"getCachedResolvers",(function(){return q}));var o={};n.r(o),n.d(o,"startResolution",(function(){return X})),n.d(o,"finishResolution",(function(){return Y})),n.d(o,"invalidateResolution",(function(){return Q})),n.d(o,"invalidateResolutionForStore",(function(){return J})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return Z}));var i=n(614),a=n(369),s=n(13);function u(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function _next(e){u(i,r,o,_next,a,"next",e)}function a(e){u(i,r,o,_next,a,"throw",e)}_next(void 0)}))}}var l=n(592),f=n.n(l),p=n(407);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(p.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var g="function"==typeof Symbol&&Symbol.observable||"@@observable",y=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+y(),REPLACE:"@@redux/REPLACE"+y(),PROBE_UNKNOWN_ACTION:function PROBE_UNKNOWN_ACTION(){return"@@redux/PROBE_UNKNOWN_ACTION"+y()}};function b(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(m(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(m(1));return n(_)(e,t)}if("function"!=typeof e)throw new Error(m(2));var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(m(3));return i}function f(e){if("function"!=typeof e)throw new Error(m(4));if(u)throw new Error(m(5));var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error(m(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!b(e))throw new Error(m(7));if(void 0===e.type)throw new Error(m(8));if(u)throw new Error(m(9));try{u=!0,i=o(i,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}function d(e){if("function"!=typeof e)throw new Error(m(10));o=e,p({type:v.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(m(11));function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[g]=function(){return this},e}return p({type:v.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:d})[g]=h,r}function k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(m(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=k.apply(void 0,i)(n.dispatch),h(h({},n),{},{dispatch:r})}}}var w=n(917),j=n.n(w),E=n(621),C=n.n(E);function S(e){return!!e&&"function"==typeof e[Symbol.iterator]&&"function"==typeof e.next}var T=n(918),x=n(747),I=n.n(x);function A(e){return Object(s.isPlainObject)(e)&&Object(s.isString)(e.type)}function P(e,t){return A(e)&&e.type===t}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(s.map)(e,(function(e,t){return function(n,r,o,i,a){if(!P(n,t))return!1;var s=e(n);return I()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!A(e)&&(t(e),n(),!0)};n.push(r);var o=Object(T.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){A(e)&&t(e),n(e)}),r)}))}}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=R(e,t.dispatch);return function(e){return function(t){return S(t)?n(t):e(t)}}}}var D=n(603),M=function(){return function(e){return function(t){return I()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},N=n(567),F=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Object(i.a)(n,2),a=o[0],u=o[1],c=Object(s.get)(e.stores,[t,"resolvers",a]);c&&c.shouldInvalidate&&u.forEach((function(n,o){!1===n&&c.shouldInvalidate.apply(c,[r].concat(Object(N.a)(o)))&&e.dispatch("core/data").invalidateResolution(t,a,o)}))})),n(r)}}}};function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B,U=(B="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[B];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:H(H({},t),{},Object(a.a)({},r,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new C.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new C.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new C.a(e);return o.delete(t.args),o}return e})),W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(s.has)(e,[t.selectorName])?Object(s.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return U(e,t)}return e};function V(e,t,n){var r=Object(s.get)(e,[t]);if(r)return r.get(n)}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==V(e,t,n)}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===V(e,t,n)}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===V(e,t,n)}function q(e){return e}function X(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Y(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Q(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function J(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Z(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t){return{name:e,instantiate:function(n){var i,a,u=t.reducer,l=function(e,t,n,r){var o=te(te({},t.controls),D.a),i=Object(s.mapValues)(o,(function(e){return e.isRegistryControl?e(n):e})),a=[F(n,e),M,L(i)];t.__experimentalUseThunks&&a.push((u=r,function(){return function(e){return function(t){return"function"==typeof t?t(u):e(t)}}}));var u;var c=[O.apply(void 0,a)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&c.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var l=t.reducer,f=t.initialState;return _(j()({metadata:W,root:l}),{root:f},Object(s.flowRight)(c))}(e,t,n,{registry:n,get dispatch(){return Object.assign((function(e){return l.dispatch(e)}),v())},get select(){return Object.assign((function(e){return e(l.__unstableOriginalGetState())}),y())},get resolveSelect(){return b()}}),p=(i={},{isRunning:function(e,t){return i[e]&&i[e].get(t)},clear:function(e,t){i[e]&&i[e].delete(t)},markAsRunning:function(e,t){i[e]||(i[e]=new C.a),i[e].set(t,!0)}}),d=function(e,t){return Object(s.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(te(te({},o),t.actions),l),h=function(e,t){return Object(s.mapValues)(e,(function(e){var n=function(){var n=arguments.length,r=new Array(n+1);r[0]=t.__unstableOriginalGetState();for(var o=0;o<n;o++)r[o+1]=arguments[o];return e.apply(void 0,r)};return n.hasResolver=!1,n}))}(te(te({},Object(s.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}}))),Object(s.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=n),function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),l);if(t.resolvers){var m=function(e,t,n,r){var o=Object(s.mapValues)(e,(function(e){return e.fulfill?e:te(te({},e),{},{fulfill:e})}));return{resolvers:o,selectors:Object(s.mapValues)(t,(function(t,i){var a=e[i];if(!a)return t.hasResolver=!1,t;var s=function(){for(var e=arguments.length,s=new Array(e),u=0;u<e;u++)s[u]=arguments[u];function l(){return p.apply(this,arguments)}function p(){return(p=c(f.a.mark((function e(){var t,u;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),!(r.isRunning(i,s)||"function"==typeof a.isFulfilled&&a.isFulfilled.apply(a,[t].concat(s)))){e.next=3;break}return e.abrupt("return");case 3:if(u=n.__unstableOriginalGetState(),!G(u.metadata,i,s)){e.next=6;break}return e.abrupt("return");case 6:r.markAsRunning(i,s),setTimeout(c(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.clear(i,s),n.dispatch(X(i,s)),e.next=4,re.apply(void 0,[n,o,i].concat(s));case 4:n.dispatch(Y(i,s));case 5:case"end":return e.stop()}}),e)}))));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return l.apply(void 0,s),t.apply(void 0,s)};return s.hasResolver=!0,s}))}}(t.resolvers,h,l,p);a=m.resolvers,h=m.selectors}var g=function(e,t){return Object(s.mapValues)(Object(s.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(n,r){return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return new Promise((function(o){var a=function(){return e.hasFinishedResolution(r,i)},s=function(){return n.apply(null,i)},u=s();if(a())return o(u);var c=t.subscribe((function(){a()&&(c(),o(s()))}))}))}}))}(h,l),y=function(){return h},v=function(){return d},b=function(){return g};l.__unstableOriginalGetState=l.getState,l.getState=function(){return l.__unstableOriginalGetState().root};var k=l&&function(e){var t=l.__unstableOriginalGetState();return l.subscribe((function(){var n=l.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:u,store:l,actions:d,selectors:h,resolvers:a,getSelectors:y,getResolveSelectors:b,getActions:v,subscribe:k}}}}function re(e,t,n){return oe.apply(this,arguments)}function oe(){return(oe=c(f.a.mark((function e(t,n,r){var o,i,a,u,c,l=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(s.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),u=3;u<i;u++)a[u-3]=l[u];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return ae(ae({},t),{},Object(a.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return ae(ae({},t),{},Object(a.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[],o=new Set;function a(){r.forEach((function(e){return e()}))}var u=function(e){return r.push(e),function(){r=Object(s.without)(r,e)}};function c(e){var r=Object(s.isObject)(e)?e.name:e;o.add(r);var i=n[r];return i?i.getSelectors():t&&t.select(r)}function __experimentalMarkListeningStores(e,t){o.clear();var n=e.call(this);return t.current=Array.from(o),n}function l(e){var r=Object(s.isObject)(e)?e.name:e;o.add(r);var i=n[r];return i?i.getResolveSelectors():t&&t.resolveSelect(r)}function f(e){var r=Object(s.isObject)(e)?e.name:e,o=n[r];return o?o.getActions():t&&t.dispatch(r)}function p(e){return Object(s.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return m[t].apply(null,arguments)}}))}function d(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(a)}function h(e){d(e.name,e.instantiate(m))}function __experimentalSubscribeStore(e,r){return e in n?n[e].subscribe(r):t?t.__experimentalSubscribeStore(e,r):u(r)}var m={registerGenericStore:d,stores:n,namespaces:n,subscribe:u,select:c,resolveSelect:l,dispatch:f,use:g,register:h,__experimentalMarkListeningStores:__experimentalMarkListeningStores,__experimentalSubscribeStore:__experimentalSubscribeStore};function g(e,t){return m=ce(ce({},m),e(m,t))}return m.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=ne(e,t).instantiate(m);return d(e,n),n.store},d("core/data",se(m)),Object.entries(e).forEach((function(e){var t=Object(i.a)(e,2),n=t[0],r=t[1];return m.registerStore(n,r)})),t&&t.subscribe(a),p(m)}},,,function(e,t,n){"use strict";var r=n(513),o=n(0),i=function(e,t,n){var r=Object(o.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),Object(o.useEffect)(e,r.current)};t.a=function(e,t){i(e,t,r.b)}},function(e,t,n){"use strict";var r=n(0),o=n(513),i=n(625),a=function(e){var t=Object(r.useRef)(0),n=Object(r.useState)(e),o=n[0],a=n[1],s=Object(r.useCallback)((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){a(e)}))}),[]);return Object(i.a)((function(){cancelAnimationFrame(t.current)})),[o,s]};t.a=function(){var e=a({x:o.a?window.pageXOffset:0,y:o.a?window.pageYOffset:0}),t=e[0],n=e[1];return Object(r.useEffect)((function(){var e=function(){n({x:window.pageXOffset,y:window.pageYOffset})};return window.addEventListener("scroll",e,{capture:!1,passive:!0}),function(){window.removeEventListener("scroll",e)}}),[]),t}},,,,,function(e,t,n){var r=n(823);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";e.exports=n(1203)},function(e,t,n){(function(e,n){!function(r){var o=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self!==a||(r=a);var s,u,c=2147483647,l=/^xn--/,f=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,m=String.fromCharCode;function g(e){throw new RangeError(d[e])}function y(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function v(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+y((e=e.replace(p,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function _(e){return y(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=m(e)})).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=36)e=h(e/35);return h(r+36*e/(e+38))}function w(e){var t,n,r,o,i,a,s,u,l,f,p,d=[],m=e.length,y=0,v=128,b=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&g("not-basic"),d.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=y,a=1,s=36;o>=m&&g("invalid-input"),((u=(p=e.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||u>h((c-y)/a))&&g("overflow"),y+=u*a,!(u<(l=s<=b?1:s>=b+26?26:s-b));s+=36)a>h(c/(f=36-l))&&g("overflow"),a*=f;b=O(y-i,t=d.length+1,0==i),h(y/t)>c-v&&g("overflow"),v+=h(y/t),y%=t,d.splice(y++,0,v)}return _(d)}function j(e){var t,n,r,o,i,a,s,u,l,f,p,d,y,v,_,w=[];for(d=(e=b(e)).length,t=128,n=0,i=72,a=0;a<d;++a)(p=e[a])<128&&w.push(m(p));for(r=o=w.length,o&&w.push("-");r<d;){for(s=c,a=0;a<d;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>h((c-n)/(y=r+1))&&g("overflow"),n+=(s-t)*y,t=s,a=0;a<d;++a)if((p=e[a])<t&&++n>c&&g("overflow"),p==t){for(u=n,l=36;!(u<(f=l<=i?1:l>=i+26?26:l-i));l+=36)_=u-f,v=36-f,w.push(m(k(f+_%v,0))),u=h(_/v);w.push(m(k(u,0))),i=O(n,y,r==o),n=0,++r}++n,++t}return w.join("")}if(s={version:"1.4.1",ucs2:{decode:b,encode:_},decode:w,encode:j,toASCII:function(e){return v(e,(function(e){return f.test(e)?"xn--"+j(e):e}))},toUnicode:function(e){return v(e,(function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e}))}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",(function(){return s}));else if(o&&i)if(e.exports==o)i.exports=s;else for(u in s)s.hasOwnProperty(u)&&(o[u]=s[u]);else r.punycode=s}(this)}).call(this,n(821)(e),n(26))},function(e,t,n){var r,o,i,a;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(631),a=n(1217),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=120)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},120:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=s(n(121)),f=n(157),p=s(n(122));t.TabRipple=p.default;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tabRef=u.default.createRef(),t.tabContentRef=u.default.createRef(),t.tabIndicatorRef=u.default.createRef(),t.tabRippleRef=u.default.createRef(),t.state={classList:new Set,"aria-selected":"false",activateIndicator:!1,previousIndicatorClientRect:t.props.previousIndicatorClientRect,tabIndex:-1},t.computeIndicatorClientRect=function(){return t.tabIndicatorRef.current?t.tabIndicatorRef.current.computeContentClientRect():{}},t.computeDimensions=function(){return t.foundation.computeDimensions()},t.focus=function(){t.tabRef.current&&t.tabRef.current.focus()},t.onFocus=function(e){t.tabRippleRef.current&&t.tabRippleRef.current.handleFocus(e)},t.onBlur=function(e){t.tabRippleRef.current&&t.tabRippleRef.current.handleBlur(e)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.active,n=e.focusOnActivate;this.foundation=new f.MDCTabFoundation(this.adapter),this.foundation.init(),this.foundation.setFocusOnActivate(n),t&&this.foundation.activate()},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.active,r=t.focusOnActivate,o=t.previousIndicatorClientRect;r!==e.focusOnActivate&&this.foundation.setFocusOnActivate(r),n!==e.active&&(n?this.activate(o):this.deactivate())},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.state.classList,t=this.props,n=t.className,r=t.minWidth,o=t.stacked;return c.default("mdc-tab",Array.from(e),n,{"mdc-tab--min-width":r,"mdc-tab--stacked":o})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){var n=new Set(e.state.classList);n.add(t),e.setState({classList:n})},removeClass:function(t){var n=new Set(e.state.classList);n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},setAttr:function(t,n){return e.setState((function(e){var r;return i({},e,((r={})[t]=n,r))}))},getOffsetLeft:function(){return Number(e.tabRef.current&&e.tabRef.current.offsetLeft)},getOffsetWidth:function(){return Number(e.tabRef.current&&e.tabRef.current.offsetWidth)},getContentOffsetLeft:function(){return e.tabContentRef.current?e.tabContentRef.current.offsetLeft:0},getContentOffsetWidth:function(){return e.tabContentRef.current?e.tabContentRef.current.offsetWidth:0},focus:function(){return e.tabRef.current&&e.tabRef.current.focus()},notifyInteracted:this.props.onInteraction,activateIndicator:function(t){return e.setState({activateIndicator:!0,previousIndicatorClientRect:t})},deactivateIndicator:function(){return e.setState({activateIndicator:!1})}}},enumerable:!0,configurable:!0}),t.prototype.activate=function(e){this.foundation.activate(e)},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.render=function(){var e=this.props,t=(e.active,e.focusOnActivate,e.previousIndicatorClientRect,e.className,e.isFadingIndicator,e.indicatorContent,e.minWidth,e.onInteraction,e.stacked,e.tag),n=e.children,r=e.isMinWidthIndicator,o=a(e,["active","focusOnActivate","previousIndicatorClientRect","className","isFadingIndicator","indicatorContent","minWidth","onInteraction","stacked","tag","children","isMinWidthIndicator"]),s=this.state,c=s.tabIndex,l=s["aria-selected"];return u.default.createElement(t,i({className:this.classes,role:"tab","aria-selected":l,tabIndex:c,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.tabRef},o),u.default.createElement("span",{className:"mdc-tab__content",ref:this.tabContentRef},n,r?this.renderIndicator():null),r?null:this.renderIndicator(),u.default.createElement(p.default,{ref:this.tabRippleRef}))},t.prototype.renderIndicator=function(){var e=this.props,t=e.isFadingIndicator,n=e.indicatorContent,r=this.state,o=r.activateIndicator,i=r.previousIndicatorClientRect;return u.default.createElement(l.default,{icon:!!n,fade:t,active:o,previousIndicatorClientRect:i,ref:this.tabIndicatorRef},n)},t.defaultProps={active:!1,focusOnActivate:!0,className:"",isFadingIndicator:!1,indicatorContent:null,minWidth:!1,isMinWidthIndicator:!1,stacked:!1,tag:"button",onInteraction:function(){return null}},t}(u.default.Component);t.Tab=d,t.default=d},121:function(e,t){e.exports=a},122:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(5),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"classes",{get:function(){return c.default("mdc-tab__ripple",this.props.className)},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.className,e.unbounded,e.initRipple),n=a(e,["className","unbounded","initRipple"]);return u.default.createElement("div",i({className:this.classes},n,{ref:t}))},t}(u.default.Component),p=l.withRipple(f);t.default=p},157:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a={ACTIVE:"mdc-tab--active"},s={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"};n.d(t,"MDCTabFoundation",(function(){return u}));var u=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.focusOnActivate_=!0,r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!0,configurable:!0}),t.prototype.handleClick=function(){this.adapter_.notifyInteracted()},t.prototype.isActive=function(){return this.adapter_.hasClass(a.ACTIVE)},t.prototype.setFocusOnActivate=function(e){this.focusOnActivate_=e},t.prototype.activate=function(e){this.adapter_.addClass(a.ACTIVE),this.adapter_.setAttr(s.ARIA_SELECTED,"true"),this.adapter_.setAttr(s.TABINDEX,"0"),this.adapter_.activateIndicator(e),this.focusOnActivate_&&this.adapter_.focus()},t.prototype.deactivate=function(){this.isActive()&&(this.adapter_.removeClass(a.ACTIVE),this.adapter_.setAttr(s.ARIA_SELECTED,"false"),this.adapter_.setAttr(s.TABINDEX,"-1"),this.adapter_.deactivateIndicator())},t.prototype.computeDimensions=function(){var e=this.adapter_.getOffsetWidth(),t=this.adapter_.getOffsetLeft(),n=this.adapter_.getContentOffsetWidth(),r=this.adapter_.getContentOffsetLeft();return{contentLeft:t+r,contentRight:t+r+n,rootLeft:t,rootRight:t+e}},t}(i);t.default=u},5:function(e,t){e.exports=i}}))},,function(e,t,n){var r,o;r=this,o=function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=function(t){return e.test(function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")}(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),o=0;o<n.length;o+=1)if(r(n[o]))return n[o];return document.scrollingElement||document.documentElement}}},"function"==typeof define&&define.amd?define([],o):e.exports?e.exports=o():r.Scrollparent=o()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n,r){return"boolean"==typeof e?e:"function"==typeof e?e(t,n,r):!(!0!=!!e||!e)},o=function(e,t){return Object.hasOwnProperty.call(e,t)},i=function(e,t,n,r){return r?new Error(r):new Error("Required "+e[t]+" `"+t+"` was not specified in `"+n+"`.")};t.default=function(e,t,n){return function(e,t){if("function"!=typeof e)throw new TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw new TypeError("The error message is optional, but must be a string if provided.")}(e,n),function(a,s,u){for(var c=arguments.length,l=Array(3<c?c-3:0),f=3;f<c;f++)l[f-3]=arguments[f];return r(t,a,s,u)?o(a,s)?e.apply(void 0,[a,s,u].concat(l)):i(a,s,u,n):e.apply(void 0,[a,s,u].concat(l))}}},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:u(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?l:10===e?f:l||f}function d(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,u=i.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var k=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),w=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function E(e){return j({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?_(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,u=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,l=e.offsetHeight-u;if(c||l){var f=a(e);c-=v(f,"x"),l-=v(f,"y"),o.width-=c,o.height-=l}return E(o)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===t.nodeName,i=C(e),s=C(t),c=u(e),l=a(t),f=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-f,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);h.top-=f-m,h.bottom-=f-m,h.left-=d-g,h.right-=d-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=y(h,t)),h}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return E(u)}function x(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&x(n)}function I(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?I(e):m(e,c(t));if("viewport"===r)i=T(a,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=u(s(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var f=S(l,a,o);if("HTML"!==l.nodeName||x(a))i=f;else{var p=_(e.ownerDocument),d=p.height,h=p.width;i.top+=f.top-f.marginTop,i.bottom=d+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function P(e){return e.width*e.height}function R(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=A(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return j({key:e},s[e],{area:P(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function L(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?I(t):m(t,c(n));return S(n,o,r)}function D(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function M(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,n){n=n.split("-")[0];var r=D(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[M(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var o=u(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(u(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function $(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function K(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Y=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){q(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:w({},u,i[u]),end:w({},u,i[u]+i[c]-a[c])};e.offsets.popper=j({},a,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=q(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var r=U("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=A(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),w({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),w({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=j({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]<i(r[u])&&(e.offsets.popper[u]=i(r[u])-n[c]),n[u]>i(r[s])&&(e.offsets.popper[u]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,u=i.reference,c=-1!==["left","right"].indexOf(o),l=c?"height":"width",f=c?"Top":"Left",p=f.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=D(r)[l];u[h]-m<s[p]&&(e.offsets.popper[p]-=s[p]-(u[h]-m)),u[p]+m>s[h]&&(e.offsets.popper[p]+=u[p]+m-s[h]),e.offsets.popper=E(e.offsets.popper);var g=u[p]+u[l]/2-m/2,y=a(e.instance.popper),v=parseFloat(y["margin"+f]),b=parseFloat(y["border"+f+"Width"]),_=g-e.offsets.popper[p]-v-b;return _=Math.max(Math.min(s[l]-m,_),0),e.arrowElement=r,e.offsets.arrow=(w(n={},p,Math.round(_)),w(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=M(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],o=M(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),d=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),y="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&d||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),_=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&d||!v&&"start"===i&&g||!v&&"end"===i&&m),k=b||_;(p||y||k)&&(e.flipped=!0,(p||y)&&(r=a[u+1]),k&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=j({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=M(t),e.offsets.popper=E(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),u=C(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},u=i(o.width),c=i(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),p=t?l||f||u%2==c%2?i:a:s,d=t?i:s;return{left:p(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Y),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",h=U("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,a&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[p]=0,c.willChange="transform";else{var y="bottom"===f?-1:1,v="right"===p?-1:1;c[f]=g*y,c[p]=m*v,c.willChange=f+", "+p}var b={"x-placement":e.placement};return e.attributes=j({},b,e.attributes),e.styles=j({},c,e.styles),e.arrowStyles=j({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=L(o,t,e,n.positionFixed),a=R(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function Popper(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};k(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=j({},Popper.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(j({},Popper.Defaults.modifiers,r.modifiers)).forEach((function(e){n.options.modifiers[e]=j({},Popper.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return j({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return O(Popper,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),Popper}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(816),a=n(1),s=n.n(a),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var l=o.a.createContext||function(e,t){var n,o,a,l="__create-react-context-"+((u[a="__global_unique_id__"]=(u[a]||0)+1)+"__"),f=function(e){function Provider(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(i.a)(Provider,e);var n=Provider.prototype;return n.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},n.render=function(){return this.props.children},Provider}(r.Component);f.childContextTypes=((n={})[l]=s.a.object.isRequired,n);var p=function(t){function Consumer(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(Consumer,t);var n=Consumer.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},n.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},n.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},n.getValue=function(){return this.context[l]?this.context[l].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},Consumer}(r.Component);return p.contextTypes=((o={})[l]=s.a.object,o),{Provider:f,Consumer:p}};t.a=l}).call(this,n(26))},function(e,t,n){var r=n(1202);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(s+=e.slice(a,d),a=d+f.length,p)s+=p[1];else{var h=e[a],m=n[2],g=n[3],y=n[4],v=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var k=null!=m&&null!=h&&h!==m,O="+"===b||"*"===b,w="?"===b||"*"===b,j=n[2]||l,E=y||v;r.push({name:g||i++,prefix:m||"",delimiter:j,optional:w,repeat:O,partial:k,asterisk:!!_,pattern:E?c(E):_?".*":"[^"+u(j)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",s=t||{},u=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var f,p=s[l.name];if(null==p){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=u(p[d]),!n[c].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[c].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');i+=l.prefix+f}}else i+=l}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=u(c);else{var p=u(c.prefix),d="(?:"+c.pattern+")";t.push(c),c.repeat&&(d+="(?:"+p+d+")*"),a+=d=c.optional?c.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var h=u(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},,,,,,,,,function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(e){var t=Object(r.useRef)(void 0);return Object(r.useEffect)((function(){t.current=e}),[e]),t.current}},,,function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var a=function(e,t){var n,r,a=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),a=(r=e.endpoint.replace(/^\//,""))?n+"/"+r:n),delete e.namespace,delete e.endpoint,t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{path:a}))};t.default=a},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAndThrowError=a,t.parseResponseAndNormalizeError=void 0;var r=n(2),o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},i=function(e){var t={code:"invalid_json",message:(0,r.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))};function a(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t)throw e;return i(e).then((function(e){var t={code:"unknown_error",message:(0,r.__)("An unknown error occurred.")};throw e||t}))}t.parseResponseAndNormalizeError=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(o(e,t)).catch((function(e){return a(e,t)}))}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))o.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(830),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=79)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},160:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a=n(37);n.d(t,"MDCFloatingLabelFoundation",(function(){return s}));var s=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.shakeAnimationEndHandler_=function(){return r.handleShakeAnimationEnd_()},r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a.cssClasses},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.adapter_.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.getWidth=function(){return this.adapter_.getWidth()},t.prototype.shake=function(e){var n=t.cssClasses.LABEL_SHAKE;e?this.adapter_.addClass(n):this.adapter_.removeClass(n)},t.prototype.float=function(e){var n=t.cssClasses,r=n.LABEL_FLOAT_ABOVE,o=n.LABEL_SHAKE;e?this.adapter_.addClass(r):(this.adapter_.removeClass(r),this.adapter_.removeClass(o))},t.prototype.handleShakeAnimationEnd_=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter_.removeClass(e)},t}(i);t.default=s},37:function(e,t,n){"use strict";n.r(t),n.d(t,"cssClasses",(function(){return r}));var r={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"}},79:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(160),f=n(37),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelElement=u.default.createRef(),t.state={classList:new Set},t.initializeFoundation=function(){t.foundation=new l.MDCFloatingLabelFoundation(t.adapter),t.foundation.init()},t.shake=function(){t.foundation.shake(!0)},t.removeClassFromClassList=function(e){var n=t.state.classList;n.delete(e),t.setState({classList:n})},t.handleWidthChange=function(){t.props.handleWidthChange&&t.labelElement.current&&t.props.handleWidthChange(t.labelElement.current.offsetWidth)},t.onShakeEnd=function(){t.removeClassFromClassList(f.cssClasses.LABEL_SHAKE)},t}return o(t,e),t.prototype.componentDidMount=function(){this.initializeFoundation(),this.handleWidthChange(),this.props.float&&this.foundation.float(!0)},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},t.prototype.componentDidUpdate=function(e){this.props.children!==e.children&&this.handleWidthChange(),this.props.float!==e.float&&this.foundation.float(this.props.float)},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.state.classList,t=this.props.className;return c.default(f.cssClasses.ROOT,Array.from(e),t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){return e.setState({classList:e.state.classList.add(t)})},removeClass:this.removeClassFromClassList,registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},getWidth:function(){return 0}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.className,e.children),n=(e.handleWidthChange,e.float,a(e,["className","children","handleWidthChange","float"]));return u.default.createElement("label",i({className:this.classes,ref:this.labelElement,onAnimationEnd:this.onShakeEnd},n),t)},t.defaultProps={className:"",float:!1},t}(u.default.Component);t.default=p}}))},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=86)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},151:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"};n.d(t,"MDCLineRippleFoundation",(function(){return s}));var s=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.transitionEndHandler_=function(e){return r.handleTransitionEnd(e)},r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.adapter_.registerEventHandler("transitionend",this.transitionEndHandler_)},t.prototype.destroy=function(){this.adapter_.deregisterEventHandler("transitionend",this.transitionEndHandler_)},t.prototype.activate=function(){this.adapter_.removeClass(a.LINE_RIPPLE_DEACTIVATING),this.adapter_.addClass(a.LINE_RIPPLE_ACTIVE)},t.prototype.setRippleCenter=function(e){this.adapter_.setStyle("transform-origin",e+"px center")},t.prototype.deactivate=function(){this.adapter_.addClass(a.LINE_RIPPLE_DEACTIVATING)},t.prototype.handleTransitionEnd=function(e){var t=this.adapter_.hasClass(a.LINE_RIPPLE_DEACTIVATING);"opacity"===e.propertyName&&t&&(this.adapter_.removeClass(a.LINE_RIPPLE_ACTIVE),this.adapter_.removeClass(a.LINE_RIPPLE_DEACTIVATING))},t}(i);t.default=s},86:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(151),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={classList:new Set,style:{}},t.setStyle=function(e,n){var r=e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()})),o=Object.assign({},t.state.style);o[r]=n,t.setState({style:o})},t.getMergedStyles=function(){var e=t.props.style,n=t.state.style;return Object.assign({},n,e)},t.onTransitionEnd=function(e){return t.foundation_.handleTransitionEnd(e.nativeEvent)},t}return o(t,e),t.prototype.componentDidMount=function(){this.foundation_=new l.MDCLineRippleFoundation(this.adapter),this.foundation_.init(),this.props.active&&this.foundation_.activate()},t.prototype.componentDidUpdate=function(e){this.props.active!==e.active&&(this.props.active?this.foundation_.activate():this.foundation_.deactivate());var t=this.props.rippleCenter;t&&t!==e.rippleCenter&&!isNaN(t)&&this.foundation_.setRippleCenter(t)},t.prototype.componentWillUnmount=function(){this.foundation_.destroy()},Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){return e.setState({classList:e.state.classList.add(t)})},removeClass:function(t){var n=e.state.classList;n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.state.classList.has(t)},setStyle:this.setStyle,registerEventHandler:function(){return null},deregisterEventHandler:function(){return null}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props.className,t=this.state.classList;return c.default("mdc-line-ripple",Array.from(t),e)},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.style,e.className,e.active,e.rippleCenter,a(e,["style","className","active","rippleCenter"]));return u.default.createElement("div",i({className:this.classes,style:this.getMergedStyles(),onTransitionEnd:this.onTransitionEnd},t))},t.defaultProps={className:"",style:{},active:!1,rippleCenter:0},t}(u.default.Component);t.default=f}}))},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=104)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},104:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(168),f=n(165),p=l.MDCNotchedOutlineFoundation.cssClasses,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notchedEl=u.default.createRef(),t.state={classList:new Set,foundationNotchWidth:void 0},t.addClass=function(e){t.setState((function(t){var n=new Set(t.classList);return n.add(e),{classList:n}}))},t.notch=function(){var e=t.props,n=e.notchWidth,r=e.notch;t.foundation&&(r?t.foundation.notch(n):t.foundation.closeNotch())},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this;this.foundation=new l.MDCNotchedOutlineFoundation(this.adapter),this.foundation.init(),this.notch(),this.label&&(this.label.style.transitionDuration="0s",this.addClass(p.OUTLINE_UPGRADED),requestAnimationFrame((function(){e.label&&(e.label.style.transitionDuration="")})))},t.prototype.componentWillUnmount=function(){this.foundation&&this.foundation.destroy()},t.prototype.componentDidUpdate=function(e){this.props.notchWidth===e.notchWidth&&this.props.notch===e.notch||this.notch()},Object.defineProperty(t.prototype,"classes",{get:function(){var e,t=this.state.classList,n=this.props.className;return c.default("mdc-notched-outline",Array.from(t),n,((e={})[p.NO_LABEL]=!this.label,e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.notchedEl.current?this.notchedEl.current.querySelector("."+f.MDCFloatingLabelFoundation.cssClasses.ROOT):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:this.addClass,removeClass:function(t){e.setState((function(e){var n=new Set(e.classList);return n.delete(t),{classList:n}}))},setNotchWidthProperty:function(t){return e.setState({foundationNotchWidth:t})},removeNotchWidthProperty:function(){return e.setState({foundationNotchWidth:void 0})}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.children,n=(e.className,e.notchWidth,e.notch,a(e,["children","className","notchWidth","notch"])),r=this.state.foundationNotchWidth,o={width:r?r+"px":void 0};return u.default.createElement("div",i({className:this.classes,ref:this.notchedEl},n),u.default.createElement("div",{className:"mdc-notched-outline__leading"}),t?u.default.createElement("div",{className:"mdc-notched-outline__notch",style:o},u.default.Children.only(t)):null,u.default.createElement("div",{className:"mdc-notched-outline__trailing"}))},t.defaultProps={className:"",notchWidth:0,notch:!1},t}(u.default.Component);t.default=d},165:function(e,t,n){"use strict";n.r(t);var r=n(22),o=n(29),i={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};n.d(t,"MDCFloatingLabelFoundation",(function(){return a}));var a=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.shakeAnimationEndHandler_=function(){return o.handleShakeAnimationEnd_()},o}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.adapter_.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.getWidth=function(){return this.adapter_.getWidth()},t.prototype.shake=function(e){var n=t.cssClasses.LABEL_SHAKE;e?this.adapter_.addClass(n):this.adapter_.removeClass(n)},t.prototype.float=function(e){var n=t.cssClasses,r=n.LABEL_FLOAT_ABOVE,o=n.LABEL_SHAKE;e?this.adapter_.addClass(r):(this.adapter_.removeClass(r),this.adapter_.removeClass(o))},t.prototype.handleShakeAnimationEnd_=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter_.removeClass(e)},t}(o.a);t.default=a},168:function(e,t,n){"use strict";n.r(t);var r=n(22),o=n(29),i={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},a={NOTCH_ELEMENT_PADDING:8},s={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};n.d(t,"MDCNotchedOutlineFoundation",(function(){return u}));var u=function(e){function t(n){return e.call(this,r.a({},t.defaultAdapter,n))||this}return r.b(t,e),Object.defineProperty(t,"strings",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!0,configurable:!0}),t.prototype.notch=function(e){var n=t.cssClasses.OUTLINE_NOTCHED;e>0&&(e+=a.NOTCH_ELEMENT_PADDING),this.adapter_.setNotchWidthProperty(e),this.adapter_.addClass(n)},t.prototype.closeNotch=function(){var e=t.cssClasses.OUTLINE_NOTCHED;this.adapter_.removeClass(e),this.adapter_.removeNotchWidthProperty()},t}(o.a);t.default=u},22:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)}},29:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()}}))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){try{return new URL(e),!0}catch(e){return!1}}n.r(t),n.d(t,"isURL",(function(){return r})),n.d(t,"isEmail",(function(){return i})),n.d(t,"getProtocol",(function(){return a})),n.d(t,"isValidProtocol",(function(){return s})),n.d(t,"getAuthority",(function(){return u})),n.d(t,"isValidAuthority",(function(){return c})),n.d(t,"getPath",(function(){return l})),n.d(t,"isValidPath",(function(){return f})),n.d(t,"getQueryString",(function(){return p})),n.d(t,"buildQueryString",(function(){return y})),n.d(t,"isValidQueryString",(function(){return v})),n.d(t,"getPathAndQueryString",(function(){return b})),n.d(t,"getFragment",(function(){return _})),n.d(t,"isValidFragment",(function(){return k})),n.d(t,"addQueryArgs",(function(){return C})),n.d(t,"getQueryArg",(function(){return S})),n.d(t,"getQueryArgs",(function(){return E})),n.d(t,"hasQueryArg",(function(){return T})),n.d(t,"removeQueryArgs",(function(){return x})),n.d(t,"prependHTTP",(function(){return A})),n.d(t,"safeDecodeURI",(function(){return P})),n.d(t,"safeDecodeURIComponent",(function(){return R})),n.d(t,"filterURLForDisplay",(function(){return L})),n.d(t,"cleanForSlug",(function(){return M}));var o=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;function i(e){return o.test(e)}function a(e){var t=/^([^\s:]+:)/.exec(e);if(t)return t[1]}function s(e){return!!e&&/^[a-z\-.\+]+[0-9]*:$/i.test(e)}function u(e){var t=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(e);if(t)return t[1]}function c(e){return!!e&&/^[^\s#?]+$/.test(e)}function l(e){var t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]}function f(e){return!!e&&/^[^\s#?]+$/.test(e)}function p(e){var t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e){for(var t,n="",r=Object.entries(e);t=r.shift();){var o=h(t,2),i=o[0],a=o[1];if(Array.isArray(a)||a&&a.constructor===Object){var s,u=m(Object.entries(a).reverse());try{for(u.s();!(s=u.n()).done;){var c=h(s.value,2),l=c[0],f=c[1];r.unshift(["".concat(i,"[").concat(l,"]"),f])}}catch(e){u.e(e)}finally{u.f()}}else void 0!==a&&(null===a&&(a=""),n+="&"+[i,a].map(encodeURIComponent).join("="))}return n.substr(1)}function v(e){return!!e&&/^[^\s#?\/]+$/.test(e)}function b(e){var t=l(e),n=p(e),r="/";return t&&(r+=t),n&&(r+="?".concat(n)),r}function _(e){var t=/^\S+?(#[^\s\?]*)/.exec(e);if(t)return t[1]}function k(e){return!!e&&/^#[^\s#?\/]*$/.test(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e){return(p(e)||"").replace(/\+/g,"%20").split("&").reduce((function(e,t){var n=h(t.split("=").filter(Boolean).map(decodeURIComponent),2),r=n[0],o=n[1],i=void 0===o?"":o;r&&function(e,t,n){for(var r=t.length,o=r-1,i=0;i<r;i++){var a=t[i];!a&&Array.isArray(e)&&(a=e.length.toString());var s=!isNaN(Number(t[i+1]));e[a]=i===o?n:e[a]||(s?[]:{}),Array.isArray(e[a])&&!s&&(e[a]=j({},e[a])),e=e[a]}}(e,r.replace(/\]/g,"").split("["),i);return e}),{})}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(E(e),t),n=n.substr(0,r)),n+"?"+y(t)}function S(e,t){return E(e)[t]}function T(e,t){return void 0!==S(e,t)}function x(e){var t=e.indexOf("?");if(-1===t)return e;for(var n=E(e),r=e.substr(0,t),o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];i.forEach((function(e){return delete n[e]}));var s=y(n);return s?r+"?"+s:r}var I=/^(?:[a-z]+:|#|\?|\.|\/)/i;function A(e){return e?(e=e.trim(),I.test(e)||i(e)?e:"http://"+e):e}function P(e){try{return decodeURI(e)}catch(t){return e}}function R(e){try{return decodeURIComponent(e)}catch(t){return e}}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.replace(/^(?:https?:)\/\/(?:www\.)?/,"");n.match(/^[^\/]+\/$/)&&(n=n.replace("/",""));var r=/([\w|:])*\.(?:jpg|jpeg|gif|png|svg)/;if(!t||n.length<=t||!n.match(r))return n;var o=(n=n.split("?")[0]).split("/"),i=o[o.length-1];if(i.length<=t)return"…"+n.slice(-t);var a=i.lastIndexOf("."),s=[i.slice(0,a),i.slice(a+1)],u=s[0],c=s[1],l=u.slice(-3)+"."+c;return i.slice(0,t-l.length-1)+"…"+l}var D=n(13);function M(e){return e?Object(D.trim)(Object(D.deburr)(e).replace(/[\s\./]+/g,"-").replace(/[^\w-]+/g,"").toLowerCase(),"-"):""}},,function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,s;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[s=n[a]]!==i[s])return i;return r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(829);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=s(n(1188)),i=s(n(1190)),a=s(n(1192));function s(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";var r=n(13);t.a=function(e,t){return function(n){var o=e(n),i=n.displayName,a=void 0===i?n.name||"Component":i;return o.displayName="".concat(Object(r.upperFirst)(Object(r.camelCase)(t)),"(").concat(a,")"),o}}},,,,,function(e,t,n){e.exports=function(){"use strict";function e(){return void 0!==navigator.brave&&void 0!==navigator.brave.isBrave}function t(){return"string"==typeof navigator.userAgent&&navigator.userAgent.match(/Opera|OPR\//)}function n(){return new Promise((function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){4==n.readyState&&e(n)},n.open("GET","https://raw.githubusercontent.com/wmcmurray/just-detect-adblock/master/baits/pagead2.googlesyndication.com",!0),n.send()}))}function r(e){return 200===e.status&&!e.responseText.match(/^thistextshouldbethere(\n|)$/)}function o(e){return 0===e.status&&!e.responseText.match(/^thistextshouldbethere(\n|)$/)}function i(){if(null!==window.document.body.getAttribute("abp"))return!0;var e=function(){var e=document.createElement("div");return e.setAttribute("class","pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links ad-text adSense adBlock adContent adBanner"),e.setAttribute("style","width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"),e}();window.document.body.appendChild(e);var t=function(e){if(null===e.offsetParent||0==e.offsetHeight||0==e.offsetLeft||0==e.offsetTop||0==e.offsetWidth||0==e.clientHeight||0==e.clientWidth)return!0;if(void 0!==window.getComputedStyle){var t=window.getComputedStyle(e,null);if(t&&("none"==t.getPropertyValue("display")||"hidden"==t.getPropertyValue("visibility")))return!0}return!1}(e);return window.document.body.removeChild(e),t}var a;return{detectAnyAdblocker:function(){return new Promise((function(a,s){if(i())return a(!0);e()||t()?n().then((function(n){return e()?a(r(n)):t()?a(o(n)):void a(!1)})):a(!1)}))},detectDomAdblocker:(a=i,function(){var e=arguments;return new Promise((function(t,n){t(a.apply(this,e))}))}),detectBraveShields:function(){return new Promise((function(t,o){e()?n().then((function(e){t(r(e))})):t(!1)}))},detectOperaAdblocker:function(){return new Promise((function(e,r){t()?n().then((function(t){e(o(t))})):e(!1)}))},isDetected:function(e,t){return function(){return console.warn("just-detect-adblock : "+t),e.apply(this,arguments)}}(i,"The `isDetected()` method is now deprecated, please use `detectAnyAdblocker()` instead, which returns a Promise and can detect more stuff (like Brave Shields).")}}()},,,,,,,function(e,t,n){var r;r=function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e){var t,n,r=e.replace(/^v/,"").replace(/\+.*$/,""),o=(n="-",-1===(t=r).indexOf(n)?t.length:t.indexOf(n)),i=r.substring(0,o).split(".");return i.push(r.substring(o+1)),i}function n(e){return isNaN(Number(e))?e:Number(e)}function r(t){if("string"!=typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver ('"+t+"' received)")}function o(e,o){[e,o].forEach(r);for(var i=t(e),a=t(o),s=0;s<Math.max(i.length-1,a.length-1);s++){var u=parseInt(i[s]||0,10),c=parseInt(a[s]||0,10);if(u>c)return 1;if(c>u)return-1}var l=i[i.length-1],f=a[a.length-1];if(l&&f){var p=l.split(".").map(n),d=f.split(".").map(n);for(s=0;s<Math.max(p.length,d.length);s++){if(void 0===p[s]||"string"==typeof d[s]&&"number"==typeof p[s])return-1;if(void 0===d[s]||"string"==typeof p[s]&&"number"==typeof d[s])return 1;if(p[s]>d[s])return 1;if(d[s]>p[s])return-1}}else if(l||f)return l?-1:1;return 0}var i=[">",">=","=","<","<="],a={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return o.validate=function(t){return"string"==typeof t&&e.test(t)},o.compare=function(e,t,n){!function(e){if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===i.indexOf(e))throw new TypeError("Invalid operator, expected one of "+i.join("|"))}(n);var r=o(e,t);return a[n].indexOf(r)>-1},o},"function"==typeof define&&define.amd?define([],r):e.exports=r()},function(e,t){var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),o=Math.min,i=Date.now;function a(e){return function(t,a,c,l){"function"==typeof(c=c||{})&&(l=c,c={}),"function"!=typeof l&&(l=u);var f=i(),p=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return p===a?l(n,t[e]):requestAnimationFrame((function n(s){if(m)return l(r,t[e]);var u=i(),c=o(1,(u-f)/h),g=d(c);t[e]=g*(a-p)+p,c<1?requestAnimationFrame(n):requestAnimationFrame((function(){l(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function u(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return X}));var r=n(0),o=n.n(r),i=n(87),a=n.n(i),s=n(803),u=n.n(s),c=n(804),l=n(410),f=n.n(l),p=n(55),d=n(1149),h=n(137),m=n.n(h),g=n(751);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T(this,n)}}var I={flip:{padding:20},preventOverflow:{padding:10}},A={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},P=n.n(g).a.canUseDOM,R=void 0!==m.a.createPortal;function L(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function D(e){var t=e.title,n=e.data,r=e.warn,o=void 0!==r&&r,i=e.debug,a=void 0!==i&&i,s=o?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){p.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,r)}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,r)}function F(){}var z=function(e){w(ReactFloaterPortal,e);var t=x(ReactFloaterPortal);function ReactFloaterPortal(){return b(this,ReactFloaterPortal),t.apply(this,arguments)}return k(ReactFloaterPortal,[{key:"componentDidMount",value:function(){P&&(this.node||this.appendNode(),R||this.renderPortal())}},{key:"componentDidUpdate",value:function(){P&&(R||this.renderPortal())}},{key:"componentWillUnmount",value:function(){P&&this.node&&(R||m.a.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props,t=e.id,n=e.zIndex;this.node||(this.node=document.createElement("div"),t&&(this.node.id=t),n&&(this.node.style.zIndex=n),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!P)return null;var e=this.props,t=e.children,n=e.setRef;return this.node||this.appendNode(),R?m.a.createPortal(t,this.node):(n(m.a.unstable_renderSubtreeIntoContainer(this,t.length>1?o.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,r=e.target;return t||r||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return R?this.renderReact16():null}}]),ReactFloaterPortal}(o.a.Component);O(z,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var H=function(e){w(FloaterArrow,e);var t=x(FloaterArrow);function FloaterArrow(){return b(this,FloaterArrow),t.apply(this,arguments)}return k(FloaterArrow,[{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,r={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(r.bottom=0,r.left=0,r.right=0,r.height=n):t.startsWith("bottom")?(r.left=0,r.right=0,r.top=0,r.height=n):t.startsWith("left")?(r.right=0,r.top=0,r.bottom=0):t.startsWith("right")&&(r.left=0,r.top=0),r}},{key:"render",value:function(){var e,t=this.props,n=t.placement,r=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,u=i.length,c=i.margin,l=i.position,f=i.spread,p={display:s,position:l},d=f,h=u;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),p.bottom=0,p.marginLeft=c,p.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),p.top=0,p.marginLeft=c,p.marginRight=c):n.startsWith("left")?(h=f,e="0,0 ".concat(d=u,",").concat(h/2," 0,").concat(h),p.right=0,p.marginTop=c,p.marginBottom=c):n.startsWith("right")&&(h=f,e="".concat(d=u,",").concat(h," ").concat(d,",0 0,").concat(h/2),p.left=0,p.marginTop=c,p.marginBottom=c),o.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},o.a.createElement("span",{ref:r,style:p},o.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("polygon",{points:e,fill:a}))))}}]),FloaterArrow}(o.a.Component);O(H,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var B=["color","height","width"],U=function FloaterCloseBtn(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,a=n.width,s=C(n,B);return o.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},o.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},o.a.createElement("g",null,o.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))};U.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var W=function FloaterContainer(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,u=e.title,c=e.styles,l={content:o.a.isValidElement(t)?t:o.a.createElement("div",{className:"__floater__content",style:c.content},t)};return u&&(l.title=o.a.isValidElement(u)?u:o.a.createElement("div",{className:"__floater__title",style:c.title},u)),n&&(l.footer=o.a.isValidElement(n)?n:o.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||p.a.boolean(i)||(l.close=o.a.createElement(U,{styles:c.close,handleClick:r})),o.a.createElement("div",{className:"__floater__container",style:c.container},l.close,l.title,l.content,l.footer)};W.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var V=function(e){w(Floater,e);var t=x(Floater);function Floater(){return b(this,Floater),t.apply(this,arguments)}return k(Floater,[{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,r=e.placement,o=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,u=a.floater,c=a.floaterCentered,l=a.floaterClosing,f=a.floaterOpening,p=a.floaterWithAnimation,d=a.floaterWithComponent,h={};return o||(r.startsWith("top")?h.padding="0 0 ".concat(s,"px"):r.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):r.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):r.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[A.OPENING,A.OPEN].indexOf(i)&&(h=v(v({},h),f)),i===A.CLOSING&&(h=v(v({},h),l)),i!==A.OPEN||t||(h=v(v({},h),p)),"center"===r&&(h=v(v({},h),c)),n&&(h=v(v({},h),d)),v(v({},u),h)}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,r=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},u=["__floater"];return s.content=t?o.a.isValidElement(t)?o.a.cloneElement(t,{closeFn:n}):t({closeFn:n}):o.a.createElement(W,this.props),a===A.OPEN&&u.push("__floater__open"),r||(s.arrow=o.a.createElement(H,this.props)),o.a.createElement("div",{ref:i,className:u.join(" "),style:this.style},o.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}}]),Floater}(o.a.Component);O(V,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var G=function(e){w(ReactFloaterWrapper,e);var t=x(ReactFloaterWrapper);function ReactFloaterWrapper(){return b(this,ReactFloaterWrapper),t.apply(this,arguments)}return k(ReactFloaterWrapper,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,u=t.setWrapperRef,c=t.style,l=t.styles;if(n)if(1===o.a.Children.count(n))if(o.a.isValidElement(n)){var f=p.a.function(n.type)?"innerRef":"ref";e=o.a.cloneElement(o.a.Children.only(n),O({},f,s))}else e=o.a.createElement("span",null,n);else e=n;return e?o.a.createElement("span",{ref:u,style:v(v({},l),c),onClick:r,onMouseEnter:i,onMouseLeave:a},e):null}}]),ReactFloaterWrapper}(o.a.Component);O(G,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var $={zIndex:100};var K=["arrow","flip","offset"],q=["position","top","right","bottom","left"],X=function(t){w(ReactFloater,t);var n=x(ReactFloater);function ReactFloater(e){var t;return b(this,ReactFloater),O(S(t=n.call(this,e)),"setArrowRef",(function(e){t.arrowRef=e})),O(S(t),"setChildRef",(function(e){t.childRef=e})),O(S(t),"setFloaterRef",(function(e){t.floaterRef=e})),O(S(t),"setWrapperRef",(function(e){t.wrapperRef=e})),O(S(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===A.OPENING?A.OPEN:A.IDLE},(function(){var e=t.state.status;n(e===A.OPEN?"open":"close",t.props)}))})),O(S(t),"handleClick",(function(){var e=t.props,n=e.event,r=e.open;if(!p.a.boolean(r)){var o=t.state,i=o.positionWrapper,a=o.status;("click"===t.event||"hover"===t.event&&i)&&(D({title:"click",data:[{event:n,status:a===A.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),O(S(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,r=e.open;if(!p.a.boolean(r)&&!L()){var o=t.state.status;"hover"===t.event&&o===A.IDLE&&(D({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),O(S(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,r=e.eventDelay,o=e.open;if(!p.a.boolean(o)&&!L()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(D({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),r?-1===[A.OPENING,A.OPEN].indexOf(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*r)):t.toggle(A.IDLE))}})),t.state={currentPlacement:e.placement,needsUpdate:!1,positionWrapper:e.wrapperOptions.position&&!!e.target,status:A.INIT,statusWrapper:A.INIT},t._isMounted=!1,t.hasMounted=!1,P&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return k(ReactFloater,[{key:"componentDidMount",value:function(){if(P){var e=this.state.positionWrapper,t=this.props,n=t.children,r=t.open,o=t.target;this._isMounted=!0,D({title:"init",data:{hasChildren:!!n,hasTarget:!!o,isControlled:p.a.boolean(r),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!n&&o&&p.a.boolean(r)}}},{key:"componentDidUpdate",value:function(e,t){if(P){var n,r=this.props,o=r.autoOpen,i=r.open,a=r.target,s=r.wrapperOptions,u=Object(d.a)(t,this.state),c=u.changedFrom,l=u.changed;if(e.open!==i)p.a.boolean(i)&&(n=i?A.OPENING:A.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),(l("status",A.IDLE)&&i||c("status",A.INIT,A.IDLE)&&o)&&this.toggle(A.OPEN),this.popper&&l("status",A.OPENING)&&this.popper.instance.update(),this.floaterRef&&(l("status",A.OPENING)||l("status",A.CLOSING))&&function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];M(e,t,r=function(o){n(o),N(e,t,r)},o)}(this.floaterRef,"transitionend",this.handleTransitionEnd),l("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){P&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,r=this.props,o=r.disableFlip,i=r.getPopper,a=r.hideArrow,s=r.offset,u=r.placement,l=r.wrapperOptions,f="top"===u||"bottom"===u?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===u)this.setState({status:A.IDLE});else if(t&&this.floaterRef){var d=this.options,h=d.arrow,m=d.flip,g=d.offset,y=C(d,K);new c.a(t,this.floaterRef,{placement:u,modifiers:v({arrow:v({enabled:!a,element:this.arrowRef},h),flip:v({enabled:!o,behavior:f},m),offset:v({offset:"0, ".concat(s,"px")},g)},y),onCreate:function(t){var n;e.popper=t,null!==(n=e.floaterRef)&&void 0!==n&&n.isConnected?(i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:A.IDLE}),u!==t.placement&&setTimeout((function(){t.instance.update()}),1)):e.setState({needsUpdate:!0})},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var b=p.a.undefined(l.offset)?0:l.offset;new c.a(this.target,this.wrapperRef,{placement:l.placement||u,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(b,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:A.IDLE}),i(t,"wrapper"),u!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"rebuildPopper",value:function(){var e=this;this.floaterRefInterval=setInterval((function(){var t;null!==(t=e.floaterRef)&&void 0!==t&&t.isConnected&&(clearInterval(e.floaterRefInterval),e.setState({needsUpdate:!1}),e.initPopper())}),50)}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===A.OPEN?A.CLOSING:A.OPENING;p.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&L()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return f()(I,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,r=n.status,o=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=f()(function(e){var t=f()($,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);o&&(e=-1===[A.IDLE].indexOf(r)||-1===[A.IDLE].indexOf(i)?s.wrapperPosition:this.wrapperPopper.styles,s.wrapper=v(v({},s.wrapper),e));if(this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=v(v({},s.wrapper),this.wrapperStyles):-1===["relative","static"].indexOf(u.position)&&(this.wrapperStyles={},o||(q.forEach((function(e){t.wrapperStyles[e]=u[e]})),s.wrapper=v(v({},s.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!P)return null;var e=this.props.target;return e?p.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,r=e.status,i=this.props,a=i.children,s=i.component,u=i.content,c=i.disableAnimation,l=i.footer,f=i.hideArrow,p=i.id,d=i.open,h=i.showCloseButton,m=i.style,g=i.target,y=i.title,v=o.a.createElement(G,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),b={};return n?b.wrapperInPortal=v:b.wrapperAsChildren=v,o.a.createElement("span",null,o.a.createElement(z,{hasChildren:!!a,id:p,placement:t,setRef:this.setFloaterRef,target:g,zIndex:this.styles.options.zIndex},o.a.createElement(V,{component:s,content:u,disableAnimation:c,footer:l,handleClick:this.handleClick,hideArrow:f||"center"===t,open:d,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:r,styles:this.styles,title:y}),b.wrapperInPortal),b.wrapperAsChildren)}}]),ReactFloater}(o.a.Component);O(X,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:u()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:u()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),O(X,"defaultProps",{autoOpen:!1,callback:F,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:F,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}})}).call(this,n(26))},,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(798),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=p(n,y);try{c(t,y,v)}catch(e){}}}return t}return t}},,function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},,,,function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return _nonIterableRest}))},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:u(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?l:10===e?f:l||f}function d(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,u=i.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var k=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),w=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function E(e){return j({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?_(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,u=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,l=e.offsetHeight-u;if(c||l){var f=a(e);c-=v(f,"x"),l-=v(f,"y"),o.width-=c,o.height-=l}return E(o)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===t.nodeName,i=C(e),s=C(t),c=u(e),l=a(t),f=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-f,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);h.top-=f-m,h.bottom-=f-m,h.left-=d-g,h.right-=d-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=y(h,t)),h}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return E(u)}function x(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&x(n)}function I(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?I(e):m(e,c(t));if("viewport"===r)i=T(a,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=u(s(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var f=S(l,a,o);if("HTML"!==l.nodeName||x(a))i=f;else{var p=_(e.ownerDocument),d=p.height,h=p.width;i.top+=f.top-f.marginTop,i.bottom=d+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function P(e){return e.width*e.height}function R(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=A(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return j({key:e},s[e],{area:P(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function L(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?I(t):m(t,c(n));return S(n,o,r)}function D(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function M(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,n){n=n.split("-")[0];var r=D(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[M(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var o=u(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(u(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function $(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function K(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Y=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){q(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:w({},u,i[u]),end:w({},u,i[u]+i[c]-a[c])};e.offsets.popper=j({},a,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=q(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var r=U("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=A(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),w({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),w({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=j({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]<i(r[u])&&(e.offsets.popper[u]=i(r[u])-n[c]),n[u]>i(r[s])&&(e.offsets.popper[u]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,u=i.reference,c=-1!==["left","right"].indexOf(o),l=c?"height":"width",f=c?"Top":"Left",p=f.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=D(r)[l];u[h]-m<s[p]&&(e.offsets.popper[p]-=s[p]-(u[h]-m)),u[p]+m>s[h]&&(e.offsets.popper[p]+=u[p]+m-s[h]),e.offsets.popper=E(e.offsets.popper);var g=u[p]+u[l]/2-m/2,y=a(e.instance.popper),v=parseFloat(y["margin"+f]),b=parseFloat(y["border"+f+"Width"]),_=g-e.offsets.popper[p]-v-b;return _=Math.max(Math.min(s[l]-m,_),0),e.arrowElement=r,e.offsets.arrow=(w(n={},p,Math.round(_)),w(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=M(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],o=M(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),d=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),y="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&d||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),_=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&d||!v&&"start"===i&&g||!v&&"end"===i&&m),k=b||_;(p||y||k)&&(e.flipped=!0,(p||y)&&(r=a[u+1]),k&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=j({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=M(t),e.offsets.popper=E(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),u=C(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},u=i(o.width),c=i(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),p=t?l||f||u%2==c%2?i:a:s,d=t?i:s;return{left:p(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Y),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",h=U("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,a&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[p]=0,c.willChange="transform";else{var y="bottom"===f?-1:1,v="right"===p?-1:1;c[f]=g*y,c[p]=m*v,c.willChange=f+", "+p}var b={"x-placement":e.placement};return e.attributes=j({},b,e.attributes),e.styles=j({},c,e.styles),e.arrowStyles=j({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=L(o,t,e,n.positionFixed),a=R(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function Popper(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};k(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=j({},Popper.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(j({},Popper.Defaults.modifiers,r.modifiers)).forEach((function(e){n.options.modifiers[e]=j({},Popper.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return j({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return O(Popper,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),Popper}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(26))},function(e,t,n){"use strict";var r=n(798),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=p(n,y);try{c(t,y,v)}catch(e){}}}}return t}},,,,function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(26))},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";var r=n(799),o={};o.rules=n(1209).map((function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===e.charAt(0),exception:"!"===e.charAt(0)}})),o.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},o.findRule=function(e){var t=r.toASCII(e);return o.rules.reduce((function(e,n){return-1===n.punySuffix&&(n.punySuffix=r.toASCII(n.suffix)),o.endsWith(t,"."+n.punySuffix)||t===n.punySuffix?n:e}),null)},t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},o.validate=function(e){var t=r.toASCII(e);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(var n,o=t.split("."),i=0;i<o.length;++i){if(!(n=o[i]).length)return"LABEL_TOO_SHORT";if(n.length>63)return"LABEL_TOO_LONG";if("-"===n.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===n.charAt(n.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(n))return"LABEL_INVALID_CHARS"}},t.parse=function(e){if("string"!=typeof e)throw new TypeError("Domain name must be a string.");var n=e.slice(0).toLowerCase();"."===n.charAt(n.length-1)&&(n=n.slice(0,n.length-1));var i=o.validate(n);if(i)return{input:e,error:{message:t.errorCodes[i],code:i}};var a={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:!1},s=n.split(".");if("local"===s[s.length-1])return a;var u=function(){return/xn--/.test(n)?(a.domain&&(a.domain=r.toASCII(a.domain)),a.subdomain&&(a.subdomain=r.toASCII(a.subdomain)),a):a},c=o.findRule(n);if(!c)return s.length<2?a:(a.tld=s.pop(),a.sld=s.pop(),a.domain=[a.sld,a.tld].join("."),s.length&&(a.subdomain=s.pop()),u());a.listed=!0;var l=c.suffix.split("."),f=s.slice(0,s.length-l.length);return c.exception&&f.push(l.shift()),a.tld=l.join("."),f.length?(c.wildcard&&(l.unshift(f.pop()),a.tld=l.join(".")),f.length?(a.sld=f.pop(),a.domain=[a.sld,a.tld].join("."),f.length&&(a.subdomain=f.join(".")),u()):u()):u()},t.get=function(e){return e&&t.parse(e).domain||null},t.isValid=function(e){var n=t.parse(e);return Boolean(n.domain&&n.listed)}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(r=i)&&r.__esModule?r:{default:r},s=n(1);var u=function(e){function Script(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Script);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Script.__proto__||Object.getPrototypeOf(Script)).call(this,e));return t.scriptLoaderId="id"+t.constructor.idCount++,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Script,e),o(Script,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onError,n=e.onLoad,r=e.url;this.constructor.loadedScripts[r]?n():this.constructor.erroredScripts[r]?t():this.constructor.scriptObservers[r]?this.constructor.scriptObservers[r][this.scriptLoaderId]=this.props:(this.constructor.scriptObservers[r]=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.scriptLoaderId,this.props),this.createScript())}},{key:"componentWillUnmount",value:function(){var e=this.props.url,t=this.constructor.scriptObservers[e];t&&delete t[this.scriptLoaderId]}},{key:"createScript",value:function(){var e=this,t=this.props,n=t.onCreate,r=t.url,o=t.attributes,i=document.createElement("script");n(),o&&Object.keys(o).forEach((function(e){return i.setAttribute(e,o[e])})),i.src=r,i.hasAttribute("async")||(i.async=1);var a=function(t){var n=e.constructor.scriptObservers[r];Object.keys(n).forEach((function(o){t(n[o])&&delete e.constructor.scriptObservers[r][e.scriptLoaderId]}))};i.onload=function(){e.constructor.loadedScripts[r]=!0,a((function(e){return e.onLoad(),!0}))},i.onerror=function(){e.constructor.erroredScripts[r]=!0,a((function(e){return e.onError(),!0}))},document.body.appendChild(i)}},{key:"render",value:function(){return null}}]),Script}(a.default.Component);u.propTypes={attributes:s.PropTypes.object,onCreate:s.PropTypes.func,onError:s.PropTypes.func.isRequired,onLoad:s.PropTypes.func.isRequired,url:s.PropTypes.string.isRequired},u.defaultProps={attributes:{},onCreate:function(){},onError:function(){},onLoad:function(){}},u.scriptObservers={},u.loadedScripts={},u.erroredScripts={},u.idCount=0,t.default=u,e.exports=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r,o,i,a;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(1218),a=n(800),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=123)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},123:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=s(n(124)),f=s(n(125));t.Tab=f.default;var p=n(154),d=function(e){function t(t){var n=e.call(this,t)||this;return n.tabBarRef=u.default.createRef(),n.tabScrollerRef=u.default.createRef(),n.tabList=[],n.pushToTabList=function(e){n.tabList.push(e)},n.onKeyDown=function(e){e.persist(),n.setState({previousActiveIndex:n.props.activeIndex},(function(){return n.foundation.handleKeyDown(e.nativeEvent)})),n.props.onKeyDown&&n.props.onKeyDown(e)},n.onClickTab=function(e,t,r){n.setState({previousActiveIndex:n.props.activeIndex},(function(){return n.adapter.setActiveTab(t)})),r&&r(e)},n.renderTab=function(e,t){var r=e.props,o=r.children,s=r.onClick,c=a(r,["children","onClick"]),l=i({onClick:function(e){return n.onClickTab(e,t,s)},ref:n.pushToTabList},c);return u.default.cloneElement(e,l,o)},n.state={previousActiveIndex:t.activeIndex},n}return o(t,e),t.prototype.componentDidMount=function(){this.foundation=new p.MDCTabBarFoundation(this.adapter),this.foundation.init();var e=this.props,t=e.activeIndex,n=e.indexInView;this.tabList[t]&&this.tabList[t].activate({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),this.foundation.scrollIntoView(n)},t.prototype.componentDidUpdate=function(e){var t=this;this.props.activeIndex!==e.activeIndex&&this.setState({previousActiveIndex:e.activeIndex},(function(){return t.foundation.activateTab(t.props.activeIndex)})),this.props.indexInView!==e.indexInView&&this.foundation.scrollIntoView(this.props.indexInView)},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){return c.default("mdc-tab-bar",this.props.className)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{scrollTo:function(t){e.tabScrollerRef.current&&e.tabScrollerRef.current.scrollTo(t)},incrementScroll:function(t){e.tabScrollerRef.current&&e.tabScrollerRef.current.incrementScroll(t)},getScrollPosition:function(){return e.tabScrollerRef.current?e.tabScrollerRef.current.getScrollPosition():0},getScrollContentWidth:function(){return e.tabScrollerRef.current?e.tabScrollerRef.current.getScrollContentWidth():0},getOffsetWidth:function(){return null===e.tabBarRef.current?0:e.tabBarRef.current.offsetWidth},isRTL:function(){return!!e.props.isRtl},setActiveTab:function(t){e.props.handleActiveIndexUpdate&&e.props.handleActiveIndexUpdate(t)},activateTabAtIndex:function(t,n){return e.tabList[t].activate(n)},deactivateTabAtIndex:function(t){return e.tabList[t].deactivate()},focusTabAtIndex:function(t){return e.tabList[t].focus()},getTabIndicatorClientRectAtIndex:function(t){return e.tabList[t].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(t){return e.tabList[t].computeDimensions()},getPreviousActiveTabIndex:function(){return e.state.previousActiveIndex},getFocusedTabIndex:function(){for(var t=document.activeElement,n=0;n<e.tabList.length;n++)if(e.tabList[n].tabRef.current===t)return n;return-1},getIndexOfTabById:function(t){return e.tabList.map((function(e){return e.props.id})).indexOf(t)},getTabListLength:function(){return e.tabList.length},notifyTabActivated:function(t){return e.props.onActivated&&e.props.onActivated(t)}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.className,e.indexInView,e.activeIndex,e.handleActiveIndexUpdate,e.onKeyDown,e.isRtl),n=e.children,r=a(e,["className","indexInView","activeIndex","handleActiveIndexUpdate","onKeyDown","isRtl","children"]);return u.default.createElement("div",i({dir:t?"rtl":"ltr",className:this.classes,role:"tablist",onKeyDown:this.onKeyDown,ref:this.tabBarRef},r),u.default.createElement(l.default,{ref:this.tabScrollerRef},u.default.Children.map(n,this.renderTab)))},t.defaultProps={indexInView:0,activeIndex:0,handleActiveIndexUpdate:function(){},className:"",children:[],isRtl:!1},t}(u.default.Component);t.default=d},124:function(e,t){e.exports=i},125:function(e,t){e.exports=a},154:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},s={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32};n.d(t,"MDCTabBarFoundation",(function(){return l}));var u=new Set;u.add(a.ARROW_LEFT_KEY),u.add(a.ARROW_RIGHT_KEY),u.add(a.END_KEY),u.add(a.HOME_KEY),u.add(a.ENTER_KEY),u.add(a.SPACE_KEY);var c=new Map;c.set(s.ARROW_LEFT_KEYCODE,a.ARROW_LEFT_KEY),c.set(s.ARROW_RIGHT_KEYCODE,a.ARROW_RIGHT_KEY),c.set(s.END_KEYCODE,a.END_KEY),c.set(s.HOME_KEYCODE,a.HOME_KEY),c.set(s.ENTER_KEYCODE,a.ENTER_KEY),c.set(s.SPACE_KEYCODE,a.SPACE_KEY);var l=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.useAutomaticActivation_=!1,r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!0,configurable:!0}),t.prototype.setUseAutomaticActivation=function(e){this.useAutomaticActivation_=e},t.prototype.activateTab=function(e){var t=this.adapter_.getPreviousActiveTabIndex();this.indexIsInRange_(e)&&e!==t&&(this.adapter_.deactivateTabAtIndex(t),this.adapter_.activateTabAtIndex(e,this.adapter_.getTabIndicatorClientRectAtIndex(t)),this.scrollIntoView(e),this.adapter_.notifyTabActivated(e))},t.prototype.handleKeyDown=function(e){var t=this.getKeyFromEvent_(e);if(void 0!==t)if(this.isActivationKey_(t)||e.preventDefault(),this.useAutomaticActivation_){if(this.isActivationKey_(t))return;var n=this.determineTargetFromKey_(this.adapter_.getPreviousActiveTabIndex(),t);this.adapter_.setActiveTab(n),this.scrollIntoView(n)}else{var r=this.adapter_.getFocusedTabIndex();this.isActivationKey_(t)?this.adapter_.setActiveTab(r):(n=this.determineTargetFromKey_(r,t),this.adapter_.focusTabAtIndex(n),this.scrollIntoView(n))}},t.prototype.handleTabInteraction=function(e){this.adapter_.setActiveTab(this.adapter_.getIndexOfTabById(e.detail.tabId))},t.prototype.scrollIntoView=function(e){if(this.indexIsInRange_(e))return 0===e?this.adapter_.scrollTo(0):e===this.adapter_.getTabListLength()-1?this.adapter_.scrollTo(this.adapter_.getScrollContentWidth()):this.isRTL_()?this.scrollIntoViewRTL_(e):void this.scrollIntoView_(e)},t.prototype.determineTargetFromKey_=function(e,t){var n=this.isRTL_(),r=this.adapter_.getTabListLength()-1,o=e;return t===a.END_KEY?o=r:t===a.ARROW_LEFT_KEY&&!n||t===a.ARROW_RIGHT_KEY&&n?o-=1:t===a.ARROW_RIGHT_KEY&&!n||t===a.ARROW_LEFT_KEY&&n?o+=1:o=0,o<0?o=r:o>r&&(o=0),o},t.prototype.calculateScrollIncrement_=function(e,t,n,r){var o=this.adapter_.getTabDimensionsAtIndex(t),i=o.contentLeft-n-r,a=o.contentRight-n-s.EXTRA_SCROLL_AMOUNT,u=i+s.EXTRA_SCROLL_AMOUNT;return t<e?Math.min(a,0):Math.max(u,0)},t.prototype.calculateScrollIncrementRTL_=function(e,t,n,r,o){var i=this.adapter_.getTabDimensionsAtIndex(t),a=o-i.contentLeft-n,u=o-i.contentRight-n-r+s.EXTRA_SCROLL_AMOUNT,c=a-s.EXTRA_SCROLL_AMOUNT;return t>e?Math.max(u,0):Math.min(c,0)},t.prototype.findAdjacentTabIndexClosestToEdge_=function(e,t,n,r){var o=t.rootLeft-n,i=t.rootRight-n-r,a=o+i;return o<0||a<0?e-1:i>0||a>0?e+1:-1},t.prototype.findAdjacentTabIndexClosestToEdgeRTL_=function(e,t,n,r,o){var i=o-t.rootLeft-r-n,a=o-t.rootRight-n,s=i+a;return i>0||s>0?e+1:a<0||s<0?e-1:-1},t.prototype.getKeyFromEvent_=function(e){return u.has(e.key)?e.key:c.get(e.keyCode)},t.prototype.isActivationKey_=function(e){return e===a.SPACE_KEY||e===a.ENTER_KEY},t.prototype.indexIsInRange_=function(e){return e>=0&&e<this.adapter_.getTabListLength()},t.prototype.isRTL_=function(){return this.adapter_.isRTL()},t.prototype.scrollIntoView_=function(e){var t=this.adapter_.getScrollPosition(),n=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(e),o=this.findAdjacentTabIndexClosestToEdge_(e,r,t,n);if(this.indexIsInRange_(o)){var i=this.calculateScrollIncrement_(e,o,t,n);this.adapter_.incrementScroll(i)}},t.prototype.scrollIntoViewRTL_=function(e){var t=this.adapter_.getScrollPosition(),n=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(e),o=this.adapter_.getScrollContentWidth(),i=this.findAdjacentTabIndexClosestToEdgeRTL_(e,r,t,n,o);if(this.indexIsInRange_(i)){var a=this.calculateScrollIncrementRTL_(e,i,t,n,o);this.adapter_.incrementScroll(a)}},t}(i);t.default=l}}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var r=t[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.p="",__webpack_require__(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=void 0!==i&&i,s=e.findChunks,u=void 0===s?r:s,c=e.sanitize,l=e.searchWords,f=e.textToHighlight;return o({chunksToHighlight:n({chunks:u({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:l,textToHighlight:f})}),totalLength:f?f.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var u=a.index,c=i.lastIndex;c>u&&e.push({highlight:!1,start:u,end:c}),a.index===i.lastIndex&&i.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach((function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end})),o(i,n,!1)}return r};function i(e){return e}}])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return function(t){return typeof t===e}}n.d(t,"a",(function(){return b}));var o=r("function"),i=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},a=function(e){return!s(e)&&!function(e){return null===e}(e)&&(o(e)||"object"==typeof e)},s=r("undefined"),__values=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function u(e,t){if(e===t)return!0;if(e&&a(e)&&t&&a(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var n,r,o,i;if(e.size!==t.size)return!1;try{for(var a=__values(e.entries()),s=a.next();!s.done;s=a.next()){var c=s.value;if(!t.has(c[0]))return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}try{for(var l=__values(e.entries()),f=l.next();!f.done;f=l.next()){if(!u((c=f.value)[1],t.get(c[0])))return!1}}catch(e){o={error:e}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var o=__values(e.entries()),i=o.next();!i.done;i=o.next()){var a=i.value;if(!t.has(a[0]))return!1}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}(e,t);if(i(e)&&i(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=n.length;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(o=n.length;0!=o--;){var s=n[o];if(("_owner"!==s||!e.$$typeof)&&!u(e[s],t[s]))return!1}return!0}return!(!Number.isNaN(e)||!Number.isNaN(t))||e===t}var c=n(55);function l(e,t,n){var r=n.actual,o=n.key,i=n.previous,a=n.type,s=v(e,o),u=v(t,o),l=[s,u].every(c.a.number)&&("increased"===a?s<u:s>u);return c.a.undefined(r)||(l=l&&u===r),c.a.undefined(i)||(l=l&&s===i),l}function f(e,t,n){var r=n.key,o=n.type,i=n.value,a=v(e,r),s=v(t,r),l="added"===o?a:s,f="added"===o?s:a;return c.a.nullOrUndefined(i)?[a,s].every(c.a.array)?!f.every(g(l)):[a,s].every(c.a.plainObject)?function(e,t){return t.some((function(t){return!e.includes(t)}))}(Object.keys(l),Object.keys(f)):![a,s].every((function(e){return c.a.primitive(e)&&c.a.defined(e)}))&&("added"===o?!c.a.defined(a)&&c.a.defined(s):c.a.defined(a)&&!c.a.defined(s)):c.a.defined(l)?!(!c.a.array(l)&&!c.a.plainObject(l))&&function(e,t,n){return!!y(e,t)&&([e,t].every(c.a.array)?!e.some(h(n))&&t.some(h(n)):[e,t].every(c.a.plainObject)?!Object.entries(e).some(d(n))&&Object.entries(t).some(d(n)):t===n)}(l,f,i):u(f,i)}function p(e,t,n){var r=(void 0===n?{}:n).key,o=v(e,r),i=v(t,r);if(!y(o,i))throw new TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return c.a.string(e)||c.a.array(e)||c.a.plainObject(e)}))}(o,i))throw new TypeError("Inputs don't have length");return[o,i].every(c.a.plainObject)&&(o=Object.keys(o),i=Object.keys(i)),[o,i]}function d(e){return function(t){var n=t[0],r=t[1];return c.a.array(e)?u(e,r)||e.some((function(e){return u(e,r)||c.a.array(r)&&g(r)(e)})):c.a.plainObject(e)&&e[n]?!!e[n]&&u(e[n],r):u(e,r)}}function h(e){return function(t){return c.a.array(e)?e.some((function(e){return u(e,t)||c.a.array(t)&&g(t)(e)})):u(e,t)}}function m(e,t){return c.a.array(e)?e.some((function(e){return u(e,t)})):u(e,t)}function g(e){return function(t){return e.some((function(e){return u(e,t)}))}}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(c.a.array)||e.every(c.a.number)||e.every(c.a.plainObject)||e.every(c.a.string)}function v(e,t){return c.a.plainObject(e)||c.a.array(e)?c.a.string(t)?t.split(".").reduce((function(e,t){return e&&e[t]}),e):c.a.number(t)?e[t]:e:e}function b(e,t){if([e,t].some(c.a.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every((function(e){return c.a.plainObject(e)||c.a.array(e)})))throw new Error("Expected plain objects or array");var n=function(n,r,o){try{var i=v(e,n),a=v(t,n),s=c.a.defined(r),l=c.a.defined(o);if(s||l){var f=l?m(o,i):!m(r,i),p=m(r,a);return f&&p}return[i,a].every(c.a.array)||[i,a].every(c.a.plainObject)?!u(i,a):i!==a}catch(e){return!1}};return{added:function(n,r){try{return f(e,t,{key:n,type:"added",value:r})}catch(e){return!1}},changed:n,changedFrom:function(n,r,o){if(!c.a.defined(n))return!1;try{var i=v(e,n),a=v(t,n),s=c.a.defined(o);return m(r,i)&&(s?m(o,a):!s)}catch(e){return!1}},changedTo:function(e,t){return!!c.a.defined(e)&&n(e,t)},decreased:function(n,r,o){if(!c.a.defined(n))return!1;try{return l(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var r=p(e,t,{key:n}),o=r[0],i=r[1];return!!o.length&&!i.length}catch(e){return!1}},filled:function(n){try{var r=p(e,t,{key:n}),o=r[0],i=r[1];return!o.length&&!!i.length}catch(e){return!1}},increased:function(n,r,o){if(!c.a.defined(n))return!1;try{return l(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch(e){return!1}},removed:function(n,r){try{return f(e,t,{key:n,type:"removed",value:r})}catch(e){return!1}}}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const r=new Set(["children","localName","ref","style","className"]),o=new WeakMap,i=(e,t,n,r,i)=>{const a=null==i?void 0:i[t];void 0===a||n===r?null==n&&t in HTMLElement.prototype?e.removeAttribute(t):e[t]=n:((e,t,n)=>{let r=o.get(e);void 0===r&&o.set(e,r=new Map);let i=r.get(t);void 0!==n?void 0===i?(r.set(t,i={handleEvent:n}),e.addEventListener(t,i)):i.handleEvent=n:void 0!==i&&(r.delete(t),e.removeEventListener(t,i))})(e,a,n)};function a(e=window.React,t,n,o,a){let s,u,c;if(void 0===t){const t=e;({tagName:u,elementClass:c,events:o,displayName:a}=t),s=t.react}else s=e,c=n,u=t;const l=s.Component,f=s.createElement,p=new Set(Object.keys(null!=o?o:{}));class d extends l{constructor(){super(...arguments),this.o=null}t(e){if(null!==this.o)for(const t in this.i)i(this.o,t,this.props[t],e?e[t]:void 0,o)}componentDidMount(){var e;this.t(),null===(e=this.o)||void 0===e||e.removeAttribute("defer-hydration")}componentDidUpdate(e){this.t(e)}render(){const{_$Gl:e,...t}=this.props;this.h!==e&&(this.u=t=>{null!==e&&((e,t)=>{"function"==typeof e?e(t):e.current=t})(e,t),this.o=t,this.h=e}),this.i={};const n={ref:this.u};for(const[e,o]of Object.entries(t))r.has(e)?n["className"===e?"class":e]=o:p.has(e)||e in c.prototype?this.i[e]=o:n[e]=o;return n.suppressHydrationWarning=!0,f(u,n)}}d.displayName=null!=a?a:c.name;const h=s.forwardRef((e,t)=>f(d,{...e,_$Gl:t},null==e?void 0:e.children));return h.displayName=d.displayName,h}},function(e,t,n){"use strict";function r(e,t,n){return e?t():null==n?void 0:n()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(580);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n.n(r),i=n(755);function a(){return o.a.useContext(i.a)}},function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M9.737 18.011L3.98 12.255l5.734-6.28 1.107 1.012-4.103 4.494h13.3v1.5H6.828l3.97 3.97-1.06 1.06z"}));t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(617),o=n(745);function i(e,...t){const n=e.indexOf("?");if(-1===n)return e;const i=Object(r.a)(e),a=e.substr(0,n);t.forEach(e=>delete i[e]);const s=Object(o.a)(i);return s?a+"?"+s:a}},,,,,,,,,,function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return b()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=m(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(v([])));p&&p!==t&&n.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function h(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function m(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,m(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function g(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(g,this),this.reset(!0)}function v(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},h(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},h(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=v,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(y),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),y(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;y(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){function t(e,n){var r=e.headers,o=void 0===r?{}:r;for(var i in o)if("x-wp-nonce"===i.toLowerCase())return n(e);return n(a({},e,{headers:a({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t};t.default=s},function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(820));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=function(e){return function(t,n){return(0,i.default)(t,(function(t){var r,i=t.url,s=t.path;return"string"==typeof s&&(r=e,-1!==e.indexOf("?")&&(s=s.replace("?","&")),s=s.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(s=s.replace("?","&")),i=r+s),n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{url:i}))}))}};t.default=s},function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(16)),a=r(n(7)),s=r(n(23)),u=n(915),c=r(n(53));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){return e.json?e.json():Promise.reject(e)},d=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},h=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),n=e.url&&-1!==e.url.indexOf("per_page=-1");return t||n},m=function(){var e=(0,i.default)(o.default.mark((function e(t,n){var r,i,a,l,m,g;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",n(t));case 2:if(h(t)){e.next=4;break}return e.abrupt("return",n(t));case 4:return e.next=6,(0,c.default)(f({},(y={per_page:100},v=void 0,b=void 0,v=(o=t).path,b=o.url,f({},(0,s.default)(o,["path","url"]),{url:b&&(0,u.addQueryArgs)(b,y),path:v&&(0,u.addQueryArgs)(v,y)})),{parse:!1}));case 6:return r=e.sent,e.next=9,p(r);case 9:if(i=e.sent,Array.isArray(i)){e.next=12;break}return e.abrupt("return",i);case 12:if(a=d(r)){e.next=15;break}return e.abrupt("return",i);case 15:l=[].concat(i);case 16:if(!a){e.next=27;break}return e.next=19,(0,c.default)(f({},t,{path:void 0,url:a,parse:!1}));case 19:return m=e.sent,e.next=22,p(m);case 22:g=e.sent,l=l.concat(g),a=d(m),e.next=16;break;case 27:return e.abrupt("return",l);case 28:case"end":return e.stop()}var o,y,v,b}),e)})));return function(t,n){return e.apply(this,arguments)}}();t.default=m},function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=new Set(["PATCH","PUT","DELETE"]);var u=function(e,t){var n=e.method,r=void 0===n?"GET":n;return s.has(r.toUpperCase())&&(e=a({},e,{headers:a({},e.headers,{"X-HTTP-Method-Override":r,"Content-Type":"application/json"}),method:"POST"})),t(e,t)};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(915);var o=function(e,t){return"string"!=typeof e.url||(0,r.hasQueryArg)(e.url,"_locale")||(e.url=(0,r.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||(0,r.hasQueryArg)(e.path,"_locale")||(e.path=(0,r.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)};t.default=o},function(e,t,n){"use strict";var r=n(575);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=n(2),a=n(822);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var n=0;return t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{parse:!1})).catch((function(r){var o=r.headers.get("x-wp-upload-attachment-id");return r.status>=500&&r.status<600&&o?function e(r){return n++,t({path:"/wp/v2/media/".concat(r,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return n<5?e(r):(t({path:"/wp/v2/media/".concat(r,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:(0,i.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(r)})):(0,a.parseAndThrowError)(r,e.parse)})).then((function(t){return(0,a.parseResponseAndNormalizeError)(t,e.parse)}))};t.default=u},function(e,t,n){var r=n(823);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?t.push(n.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){"use strict";var r=n(828),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function k(){}function O(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=_.prototype;var w=O.prototype=new k;w.constructor=O,r(w,_.prototype),w.isPureReactComponent=!0;var j={current:null},E=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&!C.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:j.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var x=/\/+/g,I=[];function A(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+L(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var l=n+L(s=t[c],c);u+=e(s,l,r,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=g&&t[g]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),c=0;!(s=t.next()).done;)u+=e(s=s.value,l=n+L(s,c++),r,o);else if("object"===s)throw r=""+t,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?N(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(x,"$&/")+"/")+n)),r.push(e))}function N(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(x,"$&/")+"/"),R(e,M,t=A(t,i,r,o)),P(t)}var F={current:null};function z(){var e=F.current;if(null===e)throw Error(y(321));return e}var H={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:j,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return N(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,D,t=A(null,null,t,n)),P(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return N(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(y(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=c,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(y(267,e));var o=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=j.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)E.call(t,l)&&!C.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return z().useCallback(e,t)},t.useContext=function(e,t){return z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return z().useMemo(e,t)},t.useReducer=function(e,t,n){return z().useReducer(e,t,n)},t.useRef=function(e){return z().useRef(e)},t.useState=function(e){return z().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";var r=n(0),o=n(828),i=n(1182);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,o,i,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var u=!1,c=null,l=!1,f=null,p={onError:function(e){u=!0,c=e}};function d(e,t,n,r,o,i,a,l,f){u=!1,c=null,s.apply(p,arguments)}var h=null,m=null,g=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,o,i,s,p,h){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var m=c;u=!1,c=null,l||(l=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function _(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!O[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in O[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,u=r;if(w.hasOwnProperty(u))throw Error(a(99,u));w[u]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&k(c[o],s,u);o=!0}else i.registrationName?(k(i.registrationName,s,u),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function k(e,t,n){if(j[e])throw Error(a(100,e));j[e]=t,E[e]=t.eventTypes[n].dependencies}var O=[],w={},j={},E={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&_()}var S=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=null,x=null,I=null;function Ca(e){if(e=m(e)){if("function"!=typeof T)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),T(e.stateNode,e.type,t))}}function Da(e){x?I?I.push(e):I=[e]:x=e}function Ea(){if(x){var e=x,t=I;if(I=x=null,Ca(e),t)for(e=0;e<t.length;e++)Ca(t[e])}}function Fa(e,t){return e(t)}function Ga(e,t,n,r,o){return e(t,n,r,o)}function Ha(){}var A=Fa,P=!1,R=!1;function La(){null===x&&null===I||(Ha(),Ea())}function Ma(e,t,n){if(R)return e(t,n);R=!0;try{return A(e,t,n)}finally{R=!1,La()}}var L=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D=Object.prototype.hasOwnProperty,M={},N={};function F(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){z[e]=new F(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];z[t]=new F(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){z[e]=new F(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){z[e]=new F(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){z[e]=new F(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){z[e]=new F(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){z[e]=new F(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){z[e]=new F(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){z[e]=new F(e,5,!1,e.toLowerCase(),null,!1)}));var H=/[\-:]([a-z])/g;function Va(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(H,Va);z[t]=new F(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(H,Va);z[t]=new F(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(H,Va);z[t]=new F(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){z[e]=new F(e,1,!1,e.toLowerCase(),null,!1)})),z.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){z[e]=new F(e,1,!1,e.toLowerCase(),null,!0)}));var B=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Xa(e,t,n,r){var o=z.hasOwnProperty(t)?z[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function Ta(e,t,n,r){if(null==t||function Sa(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function Ra(e){return!!D.call(N,e)||!D.call(M,e)&&(L.test(e)?N[e]=!0:(M[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}B.hasOwnProperty("ReactCurrentDispatcher")||(B.ReactCurrentDispatcher={current:null}),B.hasOwnProperty("ReactCurrentBatchConfig")||(B.ReactCurrentBatchConfig={suspense:null});var U=/^(.*)[\\\/]/,W="function"==typeof Symbol&&Symbol.for,V=W?Symbol.for("react.element"):60103,G=W?Symbol.for("react.portal"):60106,$=W?Symbol.for("react.fragment"):60107,K=W?Symbol.for("react.strict_mode"):60108,q=W?Symbol.for("react.profiler"):60114,X=W?Symbol.for("react.provider"):60109,Y=W?Symbol.for("react.context"):60110,Q=W?Symbol.for("react.concurrent_mode"):60111,J=W?Symbol.for("react.forward_ref"):60112,Z=W?Symbol.for("react.suspense"):60113,ee=W?Symbol.for("react.suspense_list"):60120,te=W?Symbol.for("react.memo"):60115,ne=W?Symbol.for("react.lazy"):60116,re=W?Symbol.for("react.block"):60121,oe="function"==typeof Symbol&&Symbol.iterator;function ie(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=oe&&e[oe]||e["@@iterator"])?e:null}function ae(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case $:return"Fragment";case G:return"Portal";case q:return"Profiler";case K:return"StrictMode";case Z:return"Suspense";case ee:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Y:return"Context.Consumer";case X:return"Context.Provider";case J:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case te:return ae(e.type);case re:return ae(e.render);case ne:if(e=1===e._status?e._result:null)return ae(e)}return null}function se(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ae(e.type);n=null,r&&(n=ae(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(U,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ue(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ce(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function le(e){e._valueTracker||(e._valueTracker=function(e){var t=ce(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function fe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ce(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function pe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ab(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ue(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Bb(e,t){null!=(t=t.checked)&&Xa(e,"checked",t,!1)}function Cb(e,t){Bb(e,t);var n=ue(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Db(e,t.type,n):t.hasOwnProperty("defaultValue")&&Db(e,t.type,ue(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Eb(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Db(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Gb(e,t){return e=o({children:void 0},t),(t=function Fb(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Hb(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ue(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ib(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Jb(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ue(n)}}function Kb(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Lb(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",he="http://www.w3.org/2000/svg";function Nb(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ob(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Nb(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==he||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Rb(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Sb(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ye={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},ve={},be={};function Wb(e){if(ve[e])return ve[e];if(!ye[e])return e;var t,n=ye[e];for(t in n)if(n.hasOwnProperty(t)&&t in be)return ve[e]=n[t];return e}S&&(be=document.createElement("div").style,"AnimationEvent"in window||(delete ye.animationend.animation,delete ye.animationiteration.animation,delete ye.animationstart.animation),"TransitionEvent"in window||delete ye.transitionend.transition);var _e=Wb("animationend"),ke=Wb("animationiteration"),Oe=Wb("animationstart"),we=Wb("transitionend"),je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Se=new("function"==typeof WeakMap?WeakMap:Map);function Te(e){var t=Se.get(e);return void 0===t&&(t=new Map,Se.set(e,t)),t}function xe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ae(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Re(e){if(xe(e)!==e)throw Error(a(188))}function Me(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=xe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Re(o),e;if(i===r)return Re(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s){for(u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ne(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Fe(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ze=null;function Be(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function Ue(e){if(null!==e&&(ze=Ne(ze,e)),e=ze,ze=null,e){if(Fe(e,Be),ze)throw Error(a(95));if(l)throw e=f,l=!1,f=null,e}}function We(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ve(e){if(!S)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var $e=[];function qe(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>$e.length&&$e.push(e)}function Xe(e,t,n,r){if($e.length){var o=$e.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function Ye(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Jt(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=We(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<O.length;u++){var c=O[u];c&&(c=c.extractEvents(r,t,i,o,a))&&(s=Ne(s,c))}Ue(s)}}function et(e,t,n){if(!n.has(e)){switch(e){case"scroll":Et(t,"scroll",!0);break;case"focus":case"blur":Et(t,"focus",!0),Et(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":Ve(e)&&Et(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===je.indexOf(e)&&jt(e,t)}n.set(e,null)}}var tt,nt,rt,ot=!1,it=[],at=null,st=null,ut=null,ct=new Map,lt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),dt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Kc(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Lc(e,t){switch(e){case"focus":case"blur":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lt.delete(t.pointerId)}}function Mc(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Kc(t,n,r,o,i),null!==t&&(null!==(t=Nc(t))&&nt(t)),e):(e.eventSystemFlags|=r,e)}function Pc(e){var t=Jt(e.target);if(null!==t){var n=xe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ae(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Qc(e){if(null!==e.blockedOn)return!1;var t=Rc(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Nc(t);return null!==n&&nt(n),e.blockedOn=t,!1}return!0}function Sc(e,t,n){Qc(e)&&n.delete(t)}function Tc(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=Nc(e.blockedOn))&&tt(e);break}var t=Rc(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:it.shift()}null!==at&&Qc(at)&&(at=null),null!==st&&Qc(st)&&(st=null),null!==ut&&Qc(ut)&&(ut=null),ct.forEach(Sc),lt.forEach(Sc)}function Uc(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Tc)))}function Vc(e){function t(t){return Uc(t,e)}if(0<it.length){Uc(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&Uc(at,e),null!==st&&Uc(st,e),null!==ut&&Uc(ut,e),ct.forEach(t),lt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)Pc(n),null===n.blockedOn&&ft.shift()}var ht={},mt=new Map,gt=new Map,yt=["abort","abort",_e,"animationEnd",ke,"animationIteration",Oe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",we,"transitionEnd","waiting","waiting"];function vt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},gt.set(r,t),mt.set(r,i),ht[o]=i}}vt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),vt(yt,2);for(var bt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_t=0;_t<bt.length;_t++)gt.set(bt[_t],0);var kt=i.unstable_UserBlockingPriority,Ot=i.unstable_runWithPriority,wt=!0;function jt(e,t){Et(t,e,!1)}function Et(e,t,n){var r=gt.get(t);switch(void 0===r?2:r){case 0:r=Ct.bind(null,t,1,e);break;case 1:r=St.bind(null,t,1,e);break;default:r=Tt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Ct(e,t,n,r){P||Ha();var o=Tt,i=P;P=!0;try{Ga(o,e,t,n,r)}finally{(P=i)||La()}}function St(e,t,n,r){Ot(kt,Tt.bind(null,e,t,n,r))}function Tt(e,t,n,r){if(wt)if(0<it.length&&-1<pt.indexOf(e))e=Kc(null,e,t,n,r),it.push(e);else{var o=Rc(e,t,n,r);if(null===o)Lc(e,r);else if(-1<pt.indexOf(e))e=Kc(o,e,t,n,r),it.push(e);else if(!function Oc(e,t,n,r,o){switch(t){case"focus":return at=Mc(at,e,t,n,r,o),!0;case"dragenter":return st=Mc(st,e,t,n,r,o),!0;case"mouseover":return ut=Mc(ut,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ct.set(i,Mc(ct.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,lt.set(i,Mc(lt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Lc(e,r),e=Xe(e,r,null,t);try{Ma(Ye,e)}finally{qe(e)}}}}function Rc(e,t,n,r){if(null!==(n=Jt(n=We(r)))){var o=xe(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=Ae(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=Xe(e,r,n,t);try{Ma(Ye,e)}finally{qe(e)}return null}var xt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},It=["Webkit","ms","Moz","O"];function At(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xt.hasOwnProperty(e)&&xt[e]?(""+t).trim():t+"px"}function Pt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=At(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(xt).forEach((function(e){It.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xt[t]=xt[e]}))}));var Rt=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lt(e,t){if(t){if(Rt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function Dt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mt=de;function Nt(e,t){var n=Te(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=E[t];for(var r=0;r<t.length;r++)et(t[r],e,n)}function Ft(){}function zt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bt(e,t){var n,r=Ht(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ht(r)}}function Ut(){for(var e=window,t=zt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=zt((e=t.contentWindow).document)}return t}function Wt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Vt=null,Gt=null;function Fd(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gd(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $t="function"==typeof setTimeout?setTimeout:void 0,Kt="function"==typeof clearTimeout?clearTimeout:void 0;function Jd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Kd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var qt=Math.random().toString(36).slice(2),Xt="__reactInternalInstance$"+qt,Yt="__reactEventHandlers$"+qt,Qt="__reactContainere$"+qt;function Jt(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qt]||n[Xt]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Kd(e);null!==e;){if(n=e[Xt])return n;e=Kd(e)}return t}n=(e=n).parentNode}return null}function Nc(e){return!(e=e[Xt]||e[Qt])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pd(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Qd(e){return e[Yt]||null}function Rd(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Sd(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Td(e,t,n){(t=Sd(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=Ne(n._dispatchListeners,t),n._dispatchInstances=Ne(n._dispatchInstances,e))}function Ud(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Rd(t);for(t=n.length;0<t--;)Td(n[t],"captured",e);for(t=0;t<n.length;t++)Td(n[t],"bubbled",e)}}function Vd(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Sd(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=Ne(n._dispatchListeners,t),n._dispatchInstances=Ne(n._dispatchInstances,e))}function Wd(e){e&&e.dispatchConfig.registrationName&&Vd(e._targetInst,null,e)}function Xd(e){Fe(e,Ud)}var Zt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(){return!0}function on(){return!1}function an(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?rn:on,this.isPropagationStopped=on,this}function sn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function un(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function cn(e){e.eventPool=[],e.getPooled=sn,e.release=un}o(an.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){this.isPersistent=rn},isPersistent:on,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=on,this._dispatchInstances=this._dispatchListeners=null}}),an.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},an.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,cn(n),n},cn(an);var ln=an.extend({data:null}),fn=an.extend({data:null}),pn=[9,13,27,32],dn=S&&"CompositionEvent"in window,hn=null;S&&"documentMode"in document&&(hn=document.documentMode);var mn=S&&"TextEvent"in window&&!hn,gn=S&&(!dn||hn&&8<hn&&11>=hn),yn=String.fromCharCode(32),vn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},bn=!1;function _n(e,t){switch(e){case"keyup":return-1!==pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function kn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var wn={eventTypes:vn,extractEvents:function(e,t,n,r){var o;if(dn)e:{switch(e){case"compositionstart":var i=vn.compositionStart;break e;case"compositionend":i=vn.compositionEnd;break e;case"compositionupdate":i=vn.compositionUpdate;break e}i=void 0}else On?_n(e,n)&&(i=vn.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=vn.compositionStart);return i?(gn&&"ko"!==n.locale&&(On||i!==vn.compositionStart?i===vn.compositionEnd&&On&&(o=nn()):(en="value"in(Zt=r)?Zt.value:Zt.textContent,On=!0)),i=ln.getPooled(i,t,n,r),o?i.data=o:null!==(o=kn(n))&&(i.data=o),Xd(i),o=i):o=null,(e=mn?function(e,t){switch(e){case"compositionend":return kn(t);case"keypress":return 32!==t.which?null:(bn=!0,yn);case"textInput":return(e=t.data)===yn&&bn?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!dn&&_n(e,t)?(e=nn(),tn=en=Zt=null,On=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return gn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=fn.getPooled(vn.beforeInput,t,n,r)).data=e,Xd(t)):t=null,null===o?t:null===t?o:[o,t]}},jn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function En(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}var Cn={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Sn(e,t,n){return(e=an.getPooled(Cn.change,e,t,n)).type="change",Da(n),Xd(e),e}var Tn=null,xn=null;function Ce(e){Ue(e)}function De(e){if(fe(Pd(e)))return e}function Ee(e,t){if("change"===e)return t}var In=!1;function Ge(){Tn&&(Tn.detachEvent("onpropertychange",He),xn=Tn=null)}function He(e){if("value"===e.propertyName&&De(xn))if(e=Sn(xn,e,We(e)),P)Ue(e);else{P=!0;try{Fa(Ce,e)}finally{P=!1,La()}}}function Ie(e,t,n){"focus"===e?(Ge(),xn=n,(Tn=t).attachEvent("onpropertychange",He)):"blur"===e&&Ge()}function Je(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return De(xn)}function Ke(e,t){if("click"===e)return De(t)}function Le(e,t){if("input"===e||"change"===e)return De(t)}S&&(In=Ve("input")&&(!document.documentMode||9<document.documentMode));var An={eventTypes:Cn,_isInputEventSupported:In,extractEvents:function(e,t,n,r){var o=t?Pd(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=Ee;else if(En(o))if(In)a=Le;else{a=Je;var s=Ie}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Ke);if(a&&(a=a(e,t)))return Sn(a,n,r);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Db(o,"number",o.value)}},Pn=an.extend({view:null,detail:null}),Rn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pe(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Rn[e])&&!!t[e]}function Qe(){return Pe}var Ln=0,Dn=0,Mn=!1,Nn=!1,Fn=Pn.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Ln;return Ln=e.screenX,Mn?"mousemove"===e.type?e.screenX-t:0:(Mn=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dn;return Dn=e.screenY,Nn?"mousemove"===e.type?e.screenY-t:0:(Nn=!0,0)}}),zn=Fn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Hn={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Bn={eventTypes:Hn,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Jt(t):null)&&(t!==xe(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Fn,u=Hn.mouseLeave,c=Hn.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=zn,u=Hn.pointerLeave,c=Hn.pointerEnter,l="pointer");if(e=null==a?i:Pd(a),i=null==t?i:Pd(t),(u=s.getPooled(u,a,n,r)).type=l+"leave",u.target=e,u.relatedTarget=i,(n=s.getPooled(c,t,n,r)).type=l+"enter",n.target=i,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(c=l,a=0,e=s=r;e;e=Rd(e))a++;for(e=0,t=c;t;t=Rd(t))e++;for(;0<a-e;)s=Rd(s),a--;for(;0<e-a;)c=Rd(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Rd(s),c=Rd(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)s.push(r),r=Rd(r);for(r=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)r.push(l),l=Rd(l);for(l=0;l<s.length;l++)Vd(s[l],"bubbled",u);for(l=r.length;0<l--;)Vd(r[l],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Un="function"==typeof Object.is?Object.is:function Ze(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Wn=Object.prototype.hasOwnProperty;function Vn(e,t){if(Un(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Wn.call(t,n[r])||!Un(e[n[r]],t[n[r]]))return!1;return!0}var Gn=S&&"documentMode"in document&&11>=document.documentMode,$n={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Kn=null,qn=null,Xn=null,Yn=!1;function Qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yn||null==Kn||Kn!==zt(n)?null:("selectionStart"in(n=Kn)&&Wt(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Xn&&Vn(Xn,n)?null:(Xn=n,(e=an.getPooled($n.select,qn,e,t)).type="select",e.target=Kn,Xd(e),e))}var Jn={eventTypes:$n,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Te(o),i=E.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Pd(t):window,e){case"focus":(En(o)||"true"===o.contentEditable)&&(Kn=o,qn=t,Xn=null);break;case"blur":Xn=qn=Kn=null;break;case"mousedown":Yn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yn=!1,Qn(n,r);case"selectionchange":if(Gn)break;case"keydown":case"keyup":return Qn(n,r)}return null}},Zn=an.extend({animationName:null,elapsedTime:null,pseudoElement:null}),er=an.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tr=Pn.extend({relatedTarget:null});function nr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var rr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},or={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ir=Pn.extend({key:function(e){if(e.key){var t=rr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?or[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(e){return"keypress"===e.type?nr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ar=Fn.extend({dataTransfer:null}),sr=Pn.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),ur=an.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),cr=Fn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),lr={eventTypes:ht,extractEvents:function(e,t,n,r){var o=mt.get(e);if(!o)return null;switch(e){case"keypress":if(0===nr(n))return null;case"keydown":case"keyup":e=ir;break;case"blur":case"focus":e=tr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ar;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=sr;break;case _e:case ke:case Oe:e=Zn;break;case we:e=ur;break;case"scroll":e=Pn;break;case"wheel":e=cr;break;case"copy":case"cut":case"paste":e=er;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=zn;break;default:e=an}return Xd(t=e.getPooled(o,t,n,r)),t}};if(v)throw Error(a(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),h=Qd,m=Nc,g=Pd,C({SimpleEventPlugin:lr,EnterLeaveEventPlugin:Bn,ChangeEventPlugin:An,SelectEventPlugin:Jn,BeforeInputEventPlugin:wn});var fr=[],pr=-1;function dr(e){0>pr||(e.current=fr[pr],fr[pr]=null,pr--)}function hr(e,t){pr++,fr[pr]=e.current,e.current=t}var mr={},gr={current:mr},yr={current:!1},vr=mr;function Cf(e,t){var n=e.type.contextTypes;if(!n)return mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function br(e){return null!=(e=e.childContextTypes)}function Df(){dr(yr),dr(gr)}function Ef(e,t,n){if(gr.current!==mr)throw Error(a(168));hr(gr,t),hr(yr,n)}function Ff(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ae(t)||"Unknown",i));return o({},n,{},r)}function Gf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,vr=gr.current,hr(gr,e),hr(yr,yr.current),!0}function Hf(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ff(e,t,vr),r.__reactInternalMemoizedMergedChildContext=e,dr(yr),dr(gr),hr(gr,e)):dr(yr),hr(yr,n)}var _r=i.unstable_runWithPriority,kr=i.unstable_scheduleCallback,Or=i.unstable_cancelCallback,wr=i.unstable_requestPaint,jr=i.unstable_now,Er=i.unstable_getCurrentPriorityLevel,Cr=i.unstable_ImmediatePriority,Sr=i.unstable_UserBlockingPriority,Tr=i.unstable_NormalPriority,xr=i.unstable_LowPriority,Ir=i.unstable_IdlePriority,Ar={},Pr=i.unstable_shouldYield,Rr=void 0!==wr?wr:function(){},Lr=null,Dr=null,Mr=!1,Nr=jr(),Fr=1e4>Nr?jr:function(){return jr()-Nr};function zr(){switch(Er()){case Cr:return 99;case Sr:return 98;case Tr:return 97;case xr:return 96;case Ir:return 95;default:throw Error(a(332))}}function Hr(e){switch(e){case 99:return Cr;case 98:return Sr;case 97:return Tr;case 96:return xr;case 95:return Ir;default:throw Error(a(332))}}function Br(e,t){return e=Hr(e),_r(e,t)}function Ur(e,t,n){return e=Hr(e),kr(e,t,n)}function Wr(e){return null===Lr?(Lr=[e],Dr=kr(Cr,Gr)):Lr.push(e),Ar}function Vr(){if(null!==Dr){var e=Dr;Dr=null,Or(e)}Gr()}function Gr(){if(!Mr&&null!==Lr){Mr=!0;var e=0;try{var t=Lr;Br(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Lr=null}catch(t){throw null!==Lr&&(Lr=Lr.slice(e+1)),kr(Cr,Vr),t}finally{Mr=!1}}}function $r(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Kr(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var qr={current:null},Xr=null,Yr=null,Qr=null;function Jr(){Qr=Yr=Xr=null}function Zr(e){var t=qr.current;dr(qr),e.type._context._currentValue=t}function eo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function to(e,t){Xr=e,Qr=Yr=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ei=!0),e.firstContext=null)}function no(e,t){if(Qr!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qr=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Yr){if(null===Xr)throw Error(a(308));Yr=t,Xr.dependencies={expirationTime:0,firstContext:t,responders:null}}else Yr=Yr.next=t;return e._currentValue}var ro=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ao(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function so(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function uo(e,t){var n=e.alternate;null!==n&&io(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function co(e,t,n,r){var i=e.updateQueue;ro=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var c=i.baseState,l=0,f=null,p=null,d=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=m,f=c):d=d.next=m,s>l&&(l=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),Ag(s,h.suspenseConfig);e:{var g=e,y=h;switch(s=t,m=n,y.tag){case 1:if("function"==typeof(g=y.payload)){c=g.call(m,c,s);break e}c=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(s="function"==typeof(g=y.payload)?g.call(m,c,s):g))break e;c=o({},c,s);break e;case 2:ro=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=i.effects)?i.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=i.shared.pending))break;h=a.next=s.next,s.next=u,i.baseQueue=a=s,i.shared.pending=null}}null===d?f=c:d.next=p,i.baseState=f,i.baseQueue=d,Bg(l),e.expirationTime=l,e.memoizedState=c}}function Cg(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var lo=B.ReactCurrentBatchConfig,fo=(new r.Component).refs;function Fg(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var po={isMounted:function(e){return!!(e=e._reactInternalFiber)&&xe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Gg(),o=lo.suspense;(o=ao(r=Hg(r,e,o),o)).payload=t,null!=n&&(o.callback=n),so(e,o),Ig(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Gg(),o=lo.suspense;(o=ao(r=Hg(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),so(e,o),Ig(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Gg(),r=lo.suspense;(r=ao(n=Hg(n,e,r),r)).tag=2,null!=t&&(r.callback=t),so(e,r),Ig(e,n)}};function Kg(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Vn(n,r)||!Vn(o,i))}function Lg(e,t,n){var r=!1,o=mr,i=t.contextType;return"object"==typeof i&&null!==i?i=no(i):(o=br(t)?vr:gr.current,i=(r=null!=(r=t.contextTypes))?Cf(e,o):mr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=po,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Mg(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&po.enqueueReplaceState(t,t.state,null)}function Ng(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=fo,oo(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=no(i):(i=br(t)?vr:gr.current,o.context=Cf(e,i)),co(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Fg(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&po.enqueueReplaceState(o,o.state,null),co(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var ho=Array.isArray;function Pg(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===fo&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Qg(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Rg(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Sg(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Tg(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Pg(e,t,n),r.return=e,r):((r=Ug(n.type,n.key,n.props,null,e.mode,r)).ref=Pg(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vg(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Wg(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Tg(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case V:return(n=Ug(t.type,t.key,t.props,null,e.mode,n)).ref=Pg(e,null,t),n.return=e,n;case G:return(t=Vg(t,e.mode,n)).return=e,t}if(ho(t)||ie(t))return(t=Wg(t,e.mode,n,null)).return=e,t;Qg(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case V:return n.key===o?n.type===$?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case G:return n.key===o?l(e,t,n,r):null}if(ho(n)||ie(n))return null!==o?null:f(e,t,n,r,null);Qg(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case V:return e=e.get(null===r.key?n:r.key)||null,r.type===$?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case G:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ho(r)||ie(r))return f(t,e=e.get(n)||null,r,o,null);Qg(t,r)}return null}function m(o,a,s,u){for(var c=null,l=null,f=a,m=a=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var y=d(o,f,s[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,m),null===l?c=y:l.sibling=y,l=y,f=g}if(m===s.length)return n(o,f),c;if(null===f){for(;m<s.length;m++)null!==(f=p(o,s[m],u))&&(a=i(f,a,m),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(o,f);m<s.length;m++)null!==(g=h(f,o,m,s[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=i(g,a,m),null===l?c=g:l.sibling=g,l=g);return e&&f.forEach((function(e){return t(o,e)})),c}function g(o,s,u,c){var l=ie(u);if("function"!=typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var f=l=null,m=s,g=s=0,y=null,v=u.next();null!==m&&!v.done;g++,v=u.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=d(o,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,g),null===f?l=b:f.sibling=b,f=b,m=y}if(v.done)return n(o,m),l;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=p(o,v.value,c))&&(s=i(v,s,g),null===f?l=v:f.sibling=v,f=v);return l}for(m=r(o,m);!v.done;g++,v=u.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=i(v,s,g),null===f?l=v:f.sibling=v,f=v);return e&&m.forEach((function(e){return t(o,e)})),l}return function(e,r,i,u){var c="object"==typeof i&&null!==i&&i.type===$&&null===i.key;c&&(i=i.props.children);var l="object"==typeof i&&null!==i;if(l)switch(i.$$typeof){case V:e:{for(l=i.key,c=r;null!==c;){if(c.key===l){switch(c.tag){case 7:if(i.type===$){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Pg(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===$?((r=Wg(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Ug(i.type,i.key,i.props,null,e.mode,u)).ref=Pg(e,r,i),u.return=e,e=u)}return s(e);case G:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vg(i,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Tg(i,e.mode,u)).return=e,e=r),s(e);if(ho(i))return m(e,r,i,u);if(ie(i))return g(e,r,i,u);if(l&&Qg(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var mo=Rg(!0),go=Rg(!1),yo={},vo={current:yo},bo={current:yo},_o={current:yo};function ko(e){if(e===yo)throw Error(a(174));return e}function Oo(e,t){switch(hr(_o,t),hr(bo,e),hr(vo,yo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ob(null,"");break;default:t=Ob(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}dr(vo),hr(vo,t)}function wo(){dr(vo),dr(bo),dr(_o)}function jo(e){ko(_o.current);var t=ko(vo.current),n=Ob(t,e.type);t!==n&&(hr(bo,e),hr(vo,n))}function Eo(e){bo.current===e&&(dr(vo),dr(bo))}var Co={current:0};function So(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function To(e,t){return{responder:e,props:t}}var xo=B.ReactCurrentDispatcher,Io=B.ReactCurrentBatchConfig,Ao=0,Po=null,Ro=null,Lo=null,Do=!1;function Mo(){throw Error(a(321))}function No(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Un(e[n],t[n]))return!1;return!0}function Fo(e,t,n,r,o,i){if(Ao=i,Po=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,xo.current=null===e||null===e.memoizedState?Ko:qo,e=n(r,o),t.expirationTime===Ao){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Lo=Ro=null,t.updateQueue=null,xo.current=Xo,e=n(r,o)}while(t.expirationTime===Ao)}if(xo.current=$o,t=null!==Ro&&null!==Ro.next,Ao=0,Lo=Ro=Po=null,Do=!1,t)throw Error(a(300));return e}function zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Lo?Po.memoizedState=Lo=e:Lo=Lo.next=e,Lo}function Ho(){if(null===Ro){var e=Po.alternate;e=null!==e?e.memoizedState:null}else e=Ro.next;var t=null===Lo?Po.memoizedState:Lo.next;if(null!==t)Lo=t,Ro=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Ro=e).memoizedState,baseState:Ro.baseState,baseQueue:Ro.baseQueue,queue:Ro.queue,next:null},null===Lo?Po.memoizedState=Lo=e:Lo=Lo.next=e}return Lo}function Bo(e,t){return"function"==typeof t?t(e):t}function Uo(e){var t=Ho(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Ro,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=s=i=null,c=o;do{var l=c.expirationTime;if(l<Ao){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=f,i=r):u=u.next=f,l>Po.expirationTime&&(Po.expirationTime=l,Bg(l))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),Ag(l,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===u?i=r:u.next=s,Un(r,t.memoizedState)||(ei=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Wo(e){var t=Ho(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);Un(i,t.memoizedState)||(ei=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Vo(e){var t=zo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:e}).dispatch=Go.bind(null,Po,e),[t.memoizedState,e]}function Ah(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Po.updateQueue)?(t={lastEffect:null},Po.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bh(){return Ho().memoizedState}function Ch(e,t,n,r){var o=zo();Po.effectTag|=e,o.memoizedState=Ah(1|t,n,void 0,void 0===r?null:r)}function Dh(e,t,n,r){var o=Ho();r=void 0===r?null:r;var i=void 0;if(null!==Ro){var a=Ro.memoizedState;if(i=a.destroy,null!==r&&No(r,a.deps))return void Ah(t,n,i,r)}Po.effectTag|=e,o.memoizedState=Ah(1|t,n,i,r)}function Eh(e,t){return Ch(516,4,e,t)}function Fh(e,t){return Dh(516,4,e,t)}function Gh(e,t){return Dh(4,2,e,t)}function Hh(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ih(e,t,n){return n=null!=n?n.concat([e]):null,Dh(4,2,Hh.bind(null,t,e),n)}function Jh(){}function Kh(e,t){return zo().memoizedState=[e,void 0===t?null:t],e}function Lh(e,t){var n=Ho();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&No(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Mh(e,t){var n=Ho();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&No(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Nh(e,t,n){var r=zr();Br(98>r?98:r,(function(){e(!0)})),Br(97<r?97:r,(function(){var r=Io.suspense;Io.suspense=void 0===t?null:t;try{e(!1),n()}finally{Io.suspense=r}}))}function Go(e,t,n){var r=Gg(),o=lo.suspense;o={expirationTime:r=Hg(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Po||null!==i&&i===Po)Do=!0,o.expirationTime=Ao,Po.expirationTime=Ao;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.eagerReducer=i,o.eagerState=s,Un(s,a))return}catch(e){}Ig(e,r)}}var $o={readContext:no,useCallback:Mo,useContext:Mo,useEffect:Mo,useImperativeHandle:Mo,useLayoutEffect:Mo,useMemo:Mo,useReducer:Mo,useRef:Mo,useState:Mo,useDebugValue:Mo,useResponder:Mo,useDeferredValue:Mo,useTransition:Mo},Ko={readContext:no,useCallback:Kh,useContext:no,useEffect:Eh,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ch(4,2,Hh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ch(4,2,e,t)},useMemo:function(e,t){var n=zo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=zo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Go.bind(null,Po,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},zo().memoizedState=e},useState:Vo,useDebugValue:Jh,useResponder:To,useDeferredValue:function(e,t){var n=Vo(e),r=n[0],o=n[1];return Eh((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{o(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Vo(!1),n=t[0];return t=t[1],[Kh(Nh.bind(null,t,e),[t,e]),n]}},qo={readContext:no,useCallback:Lh,useContext:no,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:Uo,useRef:Bh,useState:function(){return Uo(Bo)},useDebugValue:Jh,useResponder:To,useDeferredValue:function(e,t){var n=Uo(Bo),r=n[0],o=n[1];return Fh((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{o(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Uo(Bo),n=t[0];return t=t[1],[Lh(Nh.bind(null,t,e),[t,e]),n]}},Xo={readContext:no,useCallback:Lh,useContext:no,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:Wo,useRef:Bh,useState:function(){return Wo(Bo)},useDebugValue:Jh,useResponder:To,useDeferredValue:function(e,t){var n=Wo(Bo),r=n[0],o=n[1];return Fh((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{o(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Wo(Bo),n=t[0];return t=t[1],[Lh(Nh.bind(null,t,e),[t,e]),n]}},Yo=null,Qo=null,Jo=!1;function Rh(e,t){var n=Sh(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Th(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Uh(e){if(Jo){var t=Qo;if(t){var n=t;if(!Th(e,t)){if(!(t=Jd(n.nextSibling))||!Th(e,t))return e.effectTag=-1025&e.effectTag|2,Jo=!1,void(Yo=e);Rh(Yo,n)}Yo=e,Qo=Jd(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Jo=!1,Yo=e}}function Vh(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Yo=e}function Wh(e){if(e!==Yo)return!1;if(!Jo)return Vh(e),Jo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gd(t,e.memoizedProps))for(t=Qo;t;)Rh(e,t),t=Jd(t.nextSibling);if(Vh(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Qo=Jd(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Qo=null}}else Qo=Yo?Jd(e.stateNode.nextSibling):null;return!0}function Xh(){Qo=Yo=null,Jo=!1}var Zo=B.ReactCurrentOwner,ei=!1;function ti(e,t,n,r){t.child=null===e?go(t,null,n,r):mo(t,e.child,n,r)}function Zh(e,t,n,r,o){n=n.render;var i=t.ref;return to(t,o),r=Fo(e,t,n,r,i,o),null===e||ei?(t.effectTag|=1,ti(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),yi(e,t,o))}function ni(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Ia(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ug(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ri(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Vn)(o,r)&&e.ref===t.ref)?yi(e,t,i):(t.effectTag|=1,(e=Sg(a,r)).ref=t.ref,e.return=t,t.child=e)}function ri(e,t,n,r,o,i){return null!==e&&Vn(e.memoizedProps,r)&&e.ref===t.ref&&(ei=!1,o<i)?(t.expirationTime=e.expirationTime,yi(e,t,i)):ii(e,t,n,r,i)}function oi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function ii(e,t,n,r,o){var i=br(n)?vr:gr.current;return i=Cf(t,i),to(t,o),n=Fo(e,t,n,r,i,o),null===e||ei?(t.effectTag|=1,ti(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),yi(e,t,o))}function ai(e,t,n,r,o){if(br(n)){var i=!0;Gf(t)}else i=!1;if(to(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Lg(t,n,r),Ng(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=no(c):c=Cf(t,c=br(n)?vr:gr.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Mg(t,a,r,c),ro=!1;var p=t.memoizedState;a.state=p,co(t,r,a,o),u=t.memoizedState,s!==r||p!==u||yr.current||ro?("function"==typeof l&&(Fg(t,n,l,r),u=t.memoizedState),(s=ro||Kg(t,n,s,r,p,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,io(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Kr(t.type,s),u=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=no(c):c=Cf(t,c=br(n)?vr:gr.current),(f="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Mg(t,a,r,c),ro=!1,u=t.memoizedState,a.state=u,co(t,r,a,o),p=t.memoizedState,s!==r||u!==p||yr.current||ro?("function"==typeof l&&(Fg(t,n,l,r),p=t.memoizedState),(l=ro||Kg(t,n,s,r,u,p,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return si(e,t,n,r,i,o)}function si(e,t,n,r,o,i){oi(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Hf(t,n,!1),yi(e,t,i);r=t.stateNode,Zo.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,s,i)):ti(e,t,s,i),t.memoizedState=r.state,o&&Hf(t,n,!0),t.child}function ui(e){var t=e.stateNode;t.pendingContext?Ef(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ef(0,t.context,!1),Oo(e,t.containerInfo)}var ci,li,fi,pi={dehydrated:null,retryTime:0};function di(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Co.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),hr(Co,1&a),null===e){if(void 0!==i.fallback&&Uh(t),s){if(s=i.fallback,(i=Wg(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Wg(s,o,n,null)).return=t,i.sibling=n,t.memoizedState=pi,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=go(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(i=i.fallback,(n=Sg(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(o=Sg(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=pi,t.child=n,o}return n=mo(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=Wg(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Wg(s,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=pi,t.child=i,n}return t.memoizedState=null,t.child=mo(t,e,i.children,n)}function hi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),eo(e.return,t)}function mi(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function gi(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ti(e,t,r.children,n),0!=(2&(r=Co.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&hi(e,n);else if(19===e.tag)hi(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(hr(Co,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===So(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),mi(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===So(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}mi(t,!0,n,null,i,t.lastEffect);break;case"together":mi(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function yi(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Bg(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Sg(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Sg(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function vi(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function bi(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return br(t.type)&&Df(),null;case 3:return wo(),dr(yr),dr(gr),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Wh(t)||(t.effectTag|=4),null;case 5:Eo(t),n=ko(_o.current);var i=t.type;if(null!==e&&null!=t.stateNode)li(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ko(vo.current),Wh(t)){r=t.stateNode,i=t.type;var s=t.memoizedProps;switch(r[Xt]=t,r[Yt]=s,i){case"iframe":case"object":case"embed":jt("load",r);break;case"video":case"audio":for(e=0;e<je.length;e++)jt(je[e],r);break;case"source":jt("error",r);break;case"img":case"image":case"link":jt("error",r),jt("load",r);break;case"form":jt("reset",r),jt("submit",r);break;case"details":jt("toggle",r);break;case"input":Ab(r,s),jt("invalid",r),Nt(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},jt("invalid",r),Nt(n,"onChange");break;case"textarea":Jb(r,s),jt("invalid",r),Nt(n,"onChange")}for(var u in Lt(i,s),e=null,s)if(s.hasOwnProperty(u)){var c=s[u];"children"===u?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):j.hasOwnProperty(u)&&null!=c&&Nt(n,u)}switch(i){case"input":le(r),Eb(r,s,!0);break;case"textarea":le(r),Lb(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Ft)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===Mt&&(e=Nb(i)),e===Mt?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Xt]=t,e[Yt]=r,ci(e,t),t.stateNode=e,u=Dt(i,r),i){case"iframe":case"object":case"embed":jt("load",e),c=r;break;case"video":case"audio":for(c=0;c<je.length;c++)jt(je[c],e);c=r;break;case"source":jt("error",e),c=r;break;case"img":case"image":case"link":jt("error",e),jt("load",e),c=r;break;case"form":jt("reset",e),jt("submit",e),c=r;break;case"details":jt("toggle",e),c=r;break;case"input":Ab(e,r),c=pe(e,r),jt("invalid",e),Nt(n,"onChange");break;case"option":c=Gb(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),jt("invalid",e),Nt(n,"onChange");break;case"textarea":Jb(e,r),c=Ib(e,r),jt("invalid",e),Nt(n,"onChange");break;default:c=r}Lt(i,c);var l=c;for(s in l)if(l.hasOwnProperty(s)){var f=l[s];"style"===s?Pt(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&ge(e,f):"children"===s?"string"==typeof f?("textarea"!==i||""!==f)&&Rb(e,f):"number"==typeof f&&Rb(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(j.hasOwnProperty(s)?null!=f&&Nt(n,s):null!=f&&Xa(e,s,f,u))}switch(i){case"input":le(e),Eb(e,r,!1);break;case"textarea":le(e),Lb(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ue(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Hb(e,!!r.multiple,n,!1):null!=r.defaultValue&&Hb(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=Ft)}Fd(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)fi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=ko(_o.current),ko(vo.current),Wh(t)?(n=t.stateNode,r=t.memoizedProps,n[Xt]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xt]=t,t.stateNode=n)}return null;case 13:return dr(Co),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Wh(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Co.current)?ta===Bi&&(ta=Wi):(ta!==Bi&&ta!==Wi||(ta=$i),0!==aa&&null!==Yi&&(Pa(Yi,ea),Na(Yi,aa)))),(n||r)&&(t.effectTag|=4),null);case 4:return wo(),null;case 10:return Zr(t),null;case 17:return br(t.type)&&Df(),null;case 19:if(dr(Co),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(s=r.rendering)){if(i)vi(r,!1);else if(ta!==Bi||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=So(s))){for(t.effectTag|=64,vi(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=s,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return hr(Co,1&Co.current|2),t.child}s=s.sibling}}else{if(!i)if(null!==(e=So(s))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),vi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Fr()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,vi(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Fr()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Fr(),n.sibling=null,t=Co.current,hr(Co,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function _i(e){switch(e.tag){case 1:br(e.type)&&Df();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(wo(),dr(yr),dr(gr),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Eo(e),null;case 13:return dr(Co),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return dr(Co),null;case 4:return wo(),null;case 10:return Zr(e),null;default:return null}}function Ai(e,t){return{value:e,source:t,stack:se(t)}}ci=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},li=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s,u,c=t.stateNode;switch(ko(vo.current),e=null,n){case"input":a=pe(c,a),r=pe(c,r),e=[];break;case"option":a=Gb(c,a),r=Gb(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ib(c,a),r=Ib(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=Ft)}for(s in Lt(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in c=a[s])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(j.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var l=r[s];if(c=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&l!==c&&(null!=l||null!=c))if("style"===s)if(c){for(u in c)!c.hasOwnProperty(u)||l&&l.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in l)l.hasOwnProperty(u)&&c[u]!==l[u]&&(n||(n={}),n[u]=l[u])}else n||(e||(e=[]),e.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(s,l)):"children"===s?c===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(j.hasOwnProperty(s)?(null!=l&&Nt(i,s),e||c===l||(e=[])):(e=e||[]).push(s,l))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},fi=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var ki="function"==typeof WeakSet?WeakSet:Set;function Ci(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=se(n)),null!==n&&ae(n.type),t=t.value,null!==e&&1===e.tag&&ae(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function Fi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ei(e,t)}else t.current=null}function Gi(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Kr(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function Hi(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function Ii(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ji(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void Ii(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Kr(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&Cg(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Cg(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Fd(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Vc(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function Ki(e,t,n){switch("function"==typeof xa&&xa(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Br(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){Ei(o,e)}}e=e.next}while(e!==r)}))}break;case 1:Fi(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function Di(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ei(e,t)}}(t,n);break;case 5:Fi(t);break;case 4:Mi(e,t,n)}}function Ni(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&Ni(t)}function Oi(e){return 5===e.tag||3===e.tag||4===e.tag}function Pi(e){e:{for(var t=e.return;null!==t;){if(Oi(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Rb(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Oi(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function Qi(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Ft));else if(4!==r&&null!==(e=e.child))for(Qi(e,t,n),e=e.sibling;null!==e;)Qi(e,t,n),e=e.sibling}(e,n,t):function Ri(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ri(e,t,n),e=e.sibling;null!==e;)Ri(e,t,n),e=e.sibling}(e,n,t)}function Mi(e,t,n){for(var r,o,i=t,s=!1;;){if(!s){s=i.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}s=s.return}s=!0}if(5===i.tag||6===i.tag){e:for(var u=e,c=i,l=n,f=c;;)if(Ki(u,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,c=i.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(Ki(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(s=!1)}i.sibling.return=i.return,i=i.sibling}}function Si(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Hi(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Yt]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Bb(n,r),Dt(e,o),t=Dt(e,r),o=0;o<i.length;o+=2){var s=i[o],u=i[o+1];"style"===s?Pt(n,u):"dangerouslySetInnerHTML"===s?ge(n,u):"children"===s?Rb(n,u):Xa(n,s,u,t)}switch(e){case"input":Cb(n,r);break;case"textarea":Kb(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Hb(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Hb(n,!!r.multiple,r.defaultValue,!0):Hb(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Vc(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,ua=Fr()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=At("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void Ui(t);case 19:return void Ui(t);case 17:return}throw Error(a(163))}function Ui(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ki),t.forEach((function(t){var r=Vi.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var wi="function"==typeof WeakMap?WeakMap:Map;function Xi(e,t,n){(n=ao(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){la||(la=!0,fa=r),Ci(e,t)},n}function ji(e,t,n){(n=ao(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return Ci(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===pa?pa=new Set([this]):pa.add(this),Ci(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Ti,xi=Math.ceil,Li=B.ReactCurrentDispatcher,zi=B.ReactCurrentOwner,Bi=0,Wi=3,$i=4,qi=0,Yi=null,Zi=null,ea=0,ta=Bi,na=null,ra=1073741823,oa=1073741823,ia=null,aa=0,sa=!1,ua=0,ca=null,la=!1,fa=null,pa=null,da=!1,ha=null,ma=90,ga=null,ya=0,va=null,ba=0;function Gg(){return 0!=(48&qi)?1073741821-(Fr()/10|0):0!==ba?ba:ba=1073741821-(Fr()/10|0)}function Hg(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zr();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&qi))return ea;if(null!==n)e=$r(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$r(e,150,100);break;case 97:case 96:e=$r(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Yi&&e===ea&&--e,e}function Ig(e,t){if(50<ya)throw ya=0,va=null,Error(a(185));if(null!==(e=_a(e,t))){var n=zr();1073741823===t?0!=(8&qi)&&0==(48&qi)?wa(e):(Oa(e),0===qi&&Vr()):Oa(e),0==(4&qi)||98!==n&&99!==n||(null===ga?ga=new Map([[e,t]]):(void 0===(n=ga.get(e))||n>t)&&ga.set(e,t))}}function _a(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Yi===o&&(Bg(t),ta===$i&&Pa(o,ea)),Na(o,t)),o}function ka(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Aj(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Oa(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Wr(wa.bind(null,e));else{var t=ka(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Gg();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Ar&&Or(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Wr(wa.bind(null,e)):Ur(r,Bj.bind(null,e),{timeout:10*(1073741821-t)-Fr()}),e.callbackNode=t}}}function Bj(e,t){if(ba=0,t)return Cj(e,t=Gg()),Oa(e),null;var n=ka(e);if(0!==n){if(t=e.callbackNode,0!=(48&qi))throw Error(a(327));if(Dj(),e===Yi&&n===ea||Ej(e,n),null!==Zi){var r=qi;qi|=16;for(var o=Fj();;)try{Gj();break}catch(t){Hj(e,t)}if(Jr(),qi=r,Li.current=o,1===ta)throw t=na,Ej(e,n),Pa(e,n),Oa(e),t;if(null===Zi)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=ta,Yi=null,r){case Bi:case 1:throw Error(a(345));case 2:Cj(e,2<n?2:n);break;case Wi:if(Pa(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Ij(o)),1073741823===ra&&10<(o=ua+500-Fr())){if(sa){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,Ej(e,n);break}}if(0!==(i=ka(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=$t(Jj.bind(null,e),o);break}Jj(e);break;case $i:if(Pa(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Ij(o)),sa&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,Ej(e,n);break}if(0!==(o=ka(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==oa?r=10*(1073741821-oa)-Fr():1073741823===ra?r=0:(r=10*(1073741821-ra)-5e3,0>(r=(o=Fr())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xi(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=$t(Jj.bind(null,e),r);break}Jj(e);break;case 5:if(1073741823!==ra&&null!==ia){i=ra;var s=ia;if(0>=(r=0|s.busyMinDurationMs)?r=0:(o=0|s.busyDelayMs,r=(i=Fr()-(10*(1073741821-i)-(0|s.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Pa(e,n),e.timeoutHandle=$t(Jj.bind(null,e),r);break}}Jj(e);break;default:throw Error(a(329))}if(Oa(e),e.callbackNode===t)return Bj.bind(null,e)}}return null}function wa(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&qi))throw Error(a(327));if(Dj(),e===Yi&&t===ea||Ej(e,t),null!==Zi){var n=qi;qi|=16;for(var r=Fj();;)try{Kj();break}catch(t){Hj(e,t)}if(Jr(),qi=n,Li.current=r,1===ta)throw n=na,Ej(e,t),Pa(e,t),Oa(e),n;if(null!==Zi)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Yi=null,Jj(e),Oa(e)}return null}function Mj(e,t){var n=qi;qi|=1;try{return e(t)}finally{0===(qi=n)&&Vr()}}function Nj(e,t){var n=qi;qi&=-2,qi|=8;try{return e(t)}finally{0===(qi=n)&&Vr()}}function Ej(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kt(n)),null!==Zi)for(n=Zi.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Df();break;case 3:wo(),dr(yr),dr(gr);break;case 5:Eo(r);break;case 4:wo();break;case 13:case 19:dr(Co);break;case 10:Zr(r)}n=n.return}Yi=e,Zi=Sg(e.current,null),ea=t,ta=Bi,na=null,oa=ra=1073741823,ia=null,aa=0,sa=!1}function Hj(e,t){for(;;){try{if(Jr(),xo.current=$o,Do)for(var n=Po.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ao=0,Lo=Ro=Po=null,Do=!1,null===Zi||null===Zi.return)return ta=1,na=t,Zi=null;e:{var o=e,i=Zi.return,a=Zi,s=t;if(t=ea,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!=(1&Co.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(p){var m=f.updateQueue;if(null===m){var g=new Set;g.add(u),f.updateQueue=g}else m.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var y=ao(1073741823,null);y.tag=2,so(a,y)}a.expirationTime=1073741823;break e}s=void 0,a=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new wi,s=new Set,v.set(u,s)):void 0===(s=v.get(u))&&(s=new Set,v.set(u,s)),!s.has(a)){s.add(a);var b=Oj.bind(null,o,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((ae(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+se(a))}5!==ta&&(ta=2),s=Ai(s,a),f=i;do{switch(f.tag){case 3:u=s,f.effectTag|=4096,f.expirationTime=t,uo(f,Xi(f,u,t));break e;case 1:u=s;var _=f.type,k=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===pa||!pa.has(k)))){f.effectTag|=4096,f.expirationTime=t,uo(f,ji(f,u,t));break e}}f=f.return}while(null!==f)}Zi=Pj(Zi)}catch(e){t=e;continue}break}}function Fj(){var e=Li.current;return Li.current=$o,null===e?$o:e}function Ag(e,t){e<ra&&2<e&&(ra=e),null!==t&&e<oa&&2<e&&(oa=e,ia=t)}function Bg(e){e>aa&&(aa=e)}function Kj(){for(;null!==Zi;)Zi=Qj(Zi)}function Gj(){for(;null!==Zi&&!Pr();)Zi=Qj(Zi)}function Qj(e){var t=Ti(e.alternate,e,ea);return e.memoizedProps=e.pendingProps,null===t&&(t=Pj(e)),zi.current=null,t}function Pj(e){Zi=e;do{var t=Zi.alternate;if(e=Zi.return,0==(2048&Zi.effectTag)){if(t=bi(t,Zi,ea),1===ea||1!==Zi.childExpirationTime){for(var n=0,r=Zi.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Zi.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Zi.firstEffect),null!==Zi.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Zi.firstEffect),e.lastEffect=Zi.lastEffect),1<Zi.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Zi:e.firstEffect=Zi,e.lastEffect=Zi))}else{if(null!==(t=_i(Zi)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Zi.sibling))return t;Zi=e}while(null!==Zi);return ta===Bi&&(ta=5),null}function Ij(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Jj(e){var t=zr();return Br(99,Sj.bind(null,e,t)),null}function Sj(e,t){do{Dj()}while(null!==ha);if(0!=(48&qi))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=Ij(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Yi&&(Zi=Yi=null,ea=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=qi;qi|=32,zi.current=null,Vt=wt;var s=Ut();if(Wt(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var l=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,d=-1,h=-1,m=0,g=0,y=s,v=null;t:for(;;){for(var b;y!==u||0!==l&&3!==y.nodeType||(d=p+l),y!==f||0!==c&&3!==y.nodeType||(h=p+c),3===y.nodeType&&(p+=y.nodeValue.length),null!==(b=y.firstChild);)v=y,y=b;for(;;){if(y===s)break t;if(v===u&&++m===l&&(d=p),v===f&&++g===c&&(h=p),null!==(b=y.nextSibling))break;v=(y=v).parentNode}y=b}u=-1===d||-1===h?null:{start:d,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;Gt={activeElementDetached:null,focusedElem:s,selectionRange:u},wt=!1,ca=o;do{try{Tj()}catch(e){if(null===ca)throw Error(a(330));Ei(ca,e),ca=ca.nextEffect}}while(null!==ca);ca=o;do{try{for(s=e,u=t;null!==ca;){var _=ca.effectTag;if(16&_&&Rb(ca.stateNode,""),128&_){var k=ca.alternate;if(null!==k){var O=k.ref;null!==O&&("function"==typeof O?O(null):O.current=null)}}switch(1038&_){case 2:Pi(ca),ca.effectTag&=-3;break;case 6:Pi(ca),ca.effectTag&=-3,Si(ca.alternate,ca);break;case 1024:ca.effectTag&=-1025;break;case 1028:ca.effectTag&=-1025,Si(ca.alternate,ca);break;case 4:Si(ca.alternate,ca);break;case 8:Mi(s,l=ca,u),Ni(l)}ca=ca.nextEffect}}catch(e){if(null===ca)throw Error(a(330));Ei(ca,e),ca=ca.nextEffect}}while(null!==ca);if(O=Gt,k=Ut(),_=O.focusedElem,u=O.selectionRange,k!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==u&&Wt(_)&&(k=u.start,void 0===(O=u.end)&&(O=k),"selectionStart"in _?(_.selectionStart=k,_.selectionEnd=Math.min(O,_.value.length)):(O=(k=_.ownerDocument||document)&&k.defaultView||window).getSelection&&(O=O.getSelection(),l=_.textContent.length,s=Math.min(u.start,l),u=void 0===u.end?s:Math.min(u.end,l),!O.extend&&s>u&&(l=u,u=s,s=l),l=Bt(_,s),f=Bt(_,u),l&&f&&(1!==O.rangeCount||O.anchorNode!==l.node||O.anchorOffset!==l.offset||O.focusNode!==f.node||O.focusOffset!==f.offset)&&((k=k.createRange()).setStart(l.node,l.offset),O.removeAllRanges(),s>u?(O.addRange(k),O.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),O.addRange(k))))),k=[];for(O=_;O=O.parentNode;)1===O.nodeType&&k.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<k.length;_++)(O=k[_]).element.scrollLeft=O.left,O.element.scrollTop=O.top}wt=!!Vt,Gt=Vt=null,e.current=n,ca=o;do{try{for(_=e;null!==ca;){var w=ca.effectTag;if(36&w&&Ji(_,ca.alternate,ca),128&w){k=void 0;var j=ca.ref;if(null!==j){var E=ca.stateNode;switch(ca.tag){case 5:k=E;break;default:k=E}"function"==typeof j?j(k):j.current=k}}ca=ca.nextEffect}}catch(e){if(null===ca)throw Error(a(330));Ei(ca,e),ca=ca.nextEffect}}while(null!==ca);ca=null,Rr(),qi=i}else e.current=n;if(da)da=!1,ha=e,ma=t;else for(ca=o;null!==ca;)t=ca.nextEffect,ca.nextEffect=null,ca=t;if(0===(t=e.firstPendingTime)&&(pa=null),1073741823===t?e===va?ya++:(ya=0,va=e):ya=0,"function"==typeof ja&&ja(n.stateNode,r),Oa(e),la)throw la=!1,e=fa,fa=null,e;return 0!=(8&qi)||Vr(),null}function Tj(){for(;null!==ca;){var e=ca.effectTag;0!=(256&e)&&Gi(ca.alternate,ca),0==(512&e)||da||(da=!0,Ur(97,(function(){return Dj(),null}))),ca=ca.nextEffect}}function Dj(){if(90!==ma){var e=97<ma?97:ma;return ma=90,Br(e,Vj)}}function Vj(){if(null===ha)return!1;var e=ha;if(ha=null,0!=(48&qi))throw Error(a(331));var t=qi;for(qi|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:Hi(5,n),Ii(5,n)}}catch(t){if(null===e)throw Error(a(330));Ei(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return qi=t,Vr(),!0}function Wj(e,t,n){so(e,t=Xi(e,t=Ai(n,t),1073741823)),null!==(e=_a(e,1073741823))&&Oa(e)}function Ei(e,t){if(3===e.tag)Wj(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Wj(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===pa||!pa.has(r))){so(n,e=ji(n,e=Ai(t,e),1073741823)),null!==(n=_a(n,1073741823))&&Oa(n);break}}n=n.return}}function Oj(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Yi===e&&ea===n?ta===$i||ta===Wi&&1073741823===ra&&Fr()-ua<500?Ej(e,ea):sa=!0:Aj(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Oa(e)))}function Vi(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Hg(t=Gg(),e,null)),null!==(e=_a(e,t))&&Oa(e)}Ti=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||yr.current)ei=!0;else{if(r<n){switch(ei=!1,t.tag){case 3:ui(t),Xh();break;case 5:if(jo(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:br(t.type)&&Gf(t);break;case 4:Oo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,hr(qr,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?di(e,t,n):(hr(Co,1&Co.current),null!==(t=yi(e,t,n))?t.sibling:null);hr(Co,1&Co.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return gi(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),hr(Co,Co.current),!r)return null}return yi(e,t,n)}ei=!1}}else ei=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=Cf(t,gr.current),to(t,n),o=Fo(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,br(r)){var i=!0;Gf(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,oo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&Fg(t,r,s,e),o.updater=po,t.stateNode=o,o._reactInternalFiber=t,Ng(t,r,e,n),t=si(null,t,r,!0,i,n)}else t.tag=0,ti(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function Xj(e){if("function"==typeof e)return Ia(e)?1:0;if(null!=e){if((e=e.$$typeof)===J)return 11;if(e===te)return 14}return 2}(o),e=Kr(o,e),i){case 0:t=ii(null,t,o,e,n);break e;case 1:t=ai(null,t,o,e,n);break e;case 11:t=Zh(null,t,o,e,n);break e;case 14:t=ni(null,t,o,Kr(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,ii(e,t,r,o=t.elementType===r?o:Kr(r,o),n);case 1:return r=t.type,o=t.pendingProps,ai(e,t,r,o=t.elementType===r?o:Kr(r,o),n);case 3:if(ui(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,io(e,t),co(t,r,null,n),(r=t.memoizedState.element)===o)Xh(),t=yi(e,t,n);else{if((o=t.stateNode.hydrate)&&(Qo=Jd(t.stateNode.containerInfo.firstChild),Yo=t,o=Jo=!0),o)for(n=go(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ti(e,t,r,n),Xh();t=t.child}return t;case 5:return jo(t),null===e&&Uh(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Gd(r,o)?s=null:null!==i&&Gd(r,i)&&(t.effectTag|=16),oi(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ti(e,t,s,n),t=t.child),t;case 6:return null===e&&Uh(t),null;case 13:return di(e,t,n);case 4:return Oo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=mo(t,null,r,n):ti(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Zh(e,t,r,o=t.elementType===r?o:Kr(r,o),n);case 7:return ti(e,t,t.pendingProps,n),t.child;case 8:case 12:return ti(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var u=t.type._context;if(hr(qr,u._currentValue),u._currentValue=i,null!==s)if(u=s.value,0===(i=Un(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(s.children===o.children&&!yr.current){t=yi(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&i)){1===u.tag&&((l=ao(n,null)).tag=2,so(u,l)),u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n),eo(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}ti(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,to(t,n),r=r(o=no(o,i.unstable_observedBits)),t.effectTag|=1,ti(e,t,r,n),t.child;case 14:return i=Kr(o=t.type,t.pendingProps),ni(e,t,o,i=Kr(o.type,i),r,n);case 15:return ri(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,br(r)?(e=!0,Gf(t)):e=!1,to(t,n),Lg(t,r,o),Ng(t,r,o,n),si(null,t,r,!0,e,n);case 19:return gi(e,t,n)}throw Error(a(156,t.tag))};var ja=null,xa=null;function Zj(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Sh(e,t,n,r){return new Zj(e,t,n,r)}function Ia(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Sg(e,t){var n=e.alternate;return null===n?((n=Sh(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ug(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Ia(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case $:return Wg(n.children,o,i,t);case Q:s=8,o|=7;break;case K:s=8,o|=1;break;case q:return(e=Sh(12,n,t,8|o)).elementType=q,e.type=q,e.expirationTime=i,e;case Z:return(e=Sh(13,n,t,o)).type=Z,e.elementType=Z,e.expirationTime=i,e;case ee:return(e=Sh(19,n,t,o)).elementType=ee,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case X:s=10;break e;case Y:s=9;break e;case J:s=11;break e;case te:s=14;break e;case ne:s=16,r=null;break e;case re:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Sh(s,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Wg(e,t,n,r){return(e=Sh(7,e,r,t)).expirationTime=n,e}function Tg(e,t,n){return(e=Sh(6,e,null,t)).expirationTime=n,e}function Vg(e,t,n){return(t=Sh(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Aa(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Aj(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Pa(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Na(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Cj(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function za(e,t,n,r){var o=t.current,i=Gg(),s=lo.suspense;i=Hg(i,o,s);e:if(n){t:{if(xe(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(br(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var c=n.type;if(br(c)){n=Ff(n,c,u);break e}}n=u}else n=mr;return null===t.context?t.context=n:t.pendingContext=n,(t=ao(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),so(o,t),Ig(o,i),i}function Ba(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ua(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Wa(e,t){Ua(e,t),(e=e.alternate)&&Ua(e,t)}function $a(e,t,n){var r=new Aa(e,t,n=null!=n&&!0===n.hydrate),o=Sh(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,oo(o),e[Qt]=r.current,n&&0!==t&&function Jc(e,t){var n=Te(t);pt.forEach((function(e){et(e,t,n)})),dt.forEach((function(e){et(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ka(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function qa(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Ba(a);s.call(e)}}za(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new $a(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Ba(a);u.call(e)}}Nj((function(){za(t,a,e,o)}))}return Ba(a)}function Ya(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:G,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Qa(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ka(t))throw Error(a(200));return Ya(e,t,null,n)}$a.prototype.render=function(e){za(e,this._internalRoot,null,null)},$a.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;za(null,e,null,(function(){t[Qt]=null}))},tt=function(e){if(13===e.tag){var t=$r(Gg(),150,100);Ig(e,t),Wa(e,t)}},nt=function(e){13===e.tag&&(Ig(e,3),Wa(e,3))},rt=function(e){if(13===e.tag){var t=Gg();Ig(e,t=Hg(t,e,null)),Wa(e,t)}},T=function(e,t,n){switch(t){case"input":if(Cb(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Qd(r);if(!o)throw Error(a(90));fe(r),Cb(r,o)}}}break;case"textarea":Kb(e,n);break;case"select":null!=(t=n.value)&&Hb(e,!!n.multiple,t,!1)}},Fa=Mj,Ga=function(e,t,n,r,o){var i=qi;qi|=4;try{return Br(98,e.bind(null,t,n,r,o))}finally{0===(qi=i)&&Vr()}},Ha=function(){0==(49&qi)&&(function Lj(){if(null!==ga){var e=ga;ga=null,e.forEach((function(e,t){Cj(t,e),Oa(t)})),Vr()}}(),Dj())},A=function(e,t){var n=qi;qi|=2;try{return e(t)}finally{0===(qi=n)&&Vr()}};var Ja,Za,es={Events:[Nc,Pd,Qd,C,w,Xd,function(e){Fe(e,Wd)},Da,Ea,Tt,Ue,Dj,{current:!1}]};Za=(Ja={findFiberByHostInstance:Jt,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function Yj(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);ja=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},xa=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}return!0}(o({},Ja,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:B.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Me(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Za?Za(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=es,t.createPortal=Qa,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Me(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&qi))throw Error(a(187));var n=qi;qi|=1;try{return Br(99,e.bind(null,t))}finally{qi=n,Vr()}},t.hydrate=function(e,t,n){if(!Ka(t))throw Error(a(200));return qa(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ka(t))throw Error(a(200));return qa(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ka(e))throw Error(a(40));return!!e._reactRootContainer&&(Nj((function(){qa(null,null,e,!1,(function(){e._reactRootContainer=null,e[Qt]=null}))})),!0)},t.unstable_batchedUpdates=Mj,t.unstable_createPortal=function(e,t){return Qa(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ka(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return qa(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(1183)},function(e,t,n){"use strict";var r,o,i,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var v=!1,b=null,_=-1,k=5,O=0;a=function(){return t.unstable_now()>=O},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,j=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();O=e+k;try{b(!0,e)?j.postMessage(null):(v=!1,b=null)}catch(e){throw j.postMessage(null),e}}else v=!1},r=function(e){b=e,v||(v=!0,j.postMessage(null))},o=function(e,n){_=h((function(){e(t.unstable_now())}),n)},i=function(){m(_),_=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<T(o,t)))break e;e[r]=t,e[n]=o,n=r}}function C(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,u=e[s];if(void 0!==a&&0>T(a,n))void 0!==u&&0>T(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var x=[],I=[],A=1,P=null,R=3,L=!1,D=!1,M=!1;function N(e){for(var t=C(I);null!==t;){if(null===t.callback)S(I);else{if(!(t.startTime<=e))break;S(I),t.sortIndex=t.expirationTime,E(x,t)}t=C(I)}}function F(e){if(M=!1,N(e),!D)if(null!==C(x))D=!0,r(z);else{var t=C(I);null!==t&&o(F,t.startTime-e)}}function z(e,n){D=!1,M&&(M=!1,i()),L=!0;var r=R;try{for(N(n),P=C(x);null!==P&&(!(P.expirationTime>n)||e&&!a());){var s=P.callback;if(null!==s){P.callback=null,R=P.priorityLevel;var u=s(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?P.callback=u:P===C(x)&&S(x),N(n)}else S(x);P=C(x)}if(null!==P)var c=!0;else{var l=C(I);null!==l&&o(F,l.startTime-n),c=!1}return c}finally{P=null,R=r,L=!1}}function H(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||L||(D=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return C(x)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:H(e)}else a=H(e),u=s;return e={id:A++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,E(I,e),null===C(x)&&e===C(I)&&(M?i():M=!0,o(F,u-s))):(e.sortIndex=a,E(x,e),D||L||(D=!0,r(z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();N(e);var n=C(x);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},function(e,t,n){"use strict";var r=n(1185);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(1187).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(r||[]);return s(i,"_invoke",{value:j(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var m="suspendedStart",g="executing",y="completed",v={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var b={};p(b,c,(function(){return this}));var _=Object.getPrototypeOf,k=_&&_(_(T([])));k&&k!==i&&a.call(k,c)&&(b=k);var O=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function n(o,i,s,u){var c=h(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,u)}))}u(c.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=m;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=E(s,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=h(e,n,r);if("normal"===c.type){if(o=r.done?y:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function E(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,s(O,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),s(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=p(GeneratorFunctionPrototype,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,p(e,f,"GeneratorFunction")),e.prototype=Object.create(O),e},n.awrap=function(e){return{__await:e}},w(AsyncIterator.prototype),p(AsyncIterator.prototype,l,(function(){return this})),n.AsyncIterator=AsyncIterator,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(d(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(O),p(O,f,"Generator"),p(O,c,(function(){return this})),p(O,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=T,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1189)),o=i(n(715));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(a(e),a(r.default)),n=function e(n){var r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=function(n){var o=function(e){return function(t){try{var o=e?n.throw(t):n.next(t),s=o.value;if(o.done)return r(s);a(s)}catch(e){return i(e)}}},a=function n(r){t.some((function(t){return t(r,n,e,o(!1),o(!0))}))};o(!1)()},s=o.default.iterator(n)?n:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))();a(s,r,i)};return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(715),i=(r=o)&&r.__esModule?r:{default:r};var a=t.any=function(e,t,n,r){return r(e),!0},s=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},u=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var a={},s=Object.keys(e.value),u=0,c=!1;return s.map((function(t){n(e.value[t],(function(e){return function(e,t){c||(a[e]=t,++u===s.length&&r(a))}(t,e)}),(function(e){return function(e,t){c||(c=!0,o(t))}(0,e)}))})),!0},c=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var a=[],s=0,u=!1;return e.value.map((function(t,i){n(t,(function(t){return function(t,n){u||(a[t]=n,++s===e.value.length&&r(a))}(i,t)}),(function(e){return function(e,t){u||(u=!0,o(t))}(0,e)}))})),!0},l=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[s,l,c,u,a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=a(n(715)),o=n(829),i=a(n(1191));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},u=new Map,c=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var a=Symbol("fork"),s=(0,i.default)();u.set(a,s),n(e.iterator.apply(null,e.args),(function(e){return s.dispatch(e)}),(function(e){return s.dispatch((0,o.error)(e))}));var c=s.subscribe((function(){c(),u.delete(a)}));return t(a),!0},l=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var a,s=u.get(e.task);return s?a=s.subscribe((function(e){a(),t(e)})):i("join error : task not found"),!0},f=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var a,s=!1,u=function(e,n,r){s||(s=!0,e[n]=r,t(e))},c=function(e){s||i(e)};return r.default.array(e.competitors)?(a=e.competitors.map((function(){return!1})),e.competitors.forEach((function(e,t){n(e,(function(e){return u(a,t,e)}),c)}))):function(){var t=Object.keys(e.competitors).reduce((function(e,t){return e[t]=!1,e}),{});Object.keys(e.competitors).forEach((function(r){n(e.competitors[r],(function(e){return u(t,r,e)}),c)}))}(),!0};t.default=[s,c,l,f,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe((function(e){n&&n(),t(e)}));return!0}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},dispatch:function(t){e.slice().forEach((function(e){return e(t)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(715),i=(r=o)&&r.__esModule?r:{default:r};var a=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(e){o(e)}return!0},s=t.cps=function(e,t,n,r,o){var a;return!!i.default.cps(e)&&((a=e.func).call.apply(a,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[a,s]},function(e,t,n){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())},function(e,t,n){"use strict";var r=new RegExp("(%[a-f0-9]{2})|([^%]+?)","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function a(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=a(n[0]);r!==n[0]&&(t[n[0]]=r)}n=o.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var u=i[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},function(e,t,n){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},,function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case c:return e;default:return t}}case i:return t}}}function w(e){return O(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||O(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===y},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===u},t.isStrictMode=function(e){return O(e)===s},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===_||e.$$typeof===k||e.$$typeof===v)},t.typeOf=O},function(e,t,n){"use strict";var r=n(1200);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case c:return e;default:return t}}case g:case m:case i:return t}}}function v(e){return y(e)===p}t.typeOf=y,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===s||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d)},t.isAsyncMode=function(e){return v(e)||y(e)===f},t.isConcurrentMode=v,t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===a},t.isLazy=function(e){return y(e)===g},t.isMemo=function(e){return y(e)===m},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===u},t.isStrictMode=function(e){return y(e)===s},t.isSuspense=function(e){return y(e)===h}},,function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(631),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},45:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1)),u=n(5),c=n(46);t.Button=function(e){var t,n=e.className,i=void 0===n?"":n,u=e.raised,f=void 0!==u&&u,p=e.unelevated,d=void 0!==p&&p,h=e.outlined,m=void 0!==h&&h,g=e.dense,y=void 0!==g&&g,v=e.disabled,b=void 0!==v&&v,_=e.icon,k=e.href,O=e.children,w=e.initRipple,j=e.trailingIcon,E=(e.unbounded,o(e,["className","raised","unelevated","outlined","dense","disabled","icon","href","children","initRipple","trailingIcon","unbounded"])),C=r({className:s.default(c.CSS_CLASSES.ROOT,i,(t={},t[c.CSS_CLASSES.RAISED]=f,t[c.CSS_CLASSES.UNELEVATED]=d,t[c.CSS_CLASSES.OUTLINED]=m,t[c.CSS_CLASSES.DENSE]=y,t)),ref:w,disabled:b},E);return k?a.default.createElement("a",r({},C,{href:k}),j?null:l(_),a.default.createElement("span",{className:c.CSS_CLASSES.LABEL},O),j?l(j):null):a.default.createElement("button",r({},C),j?null:l(_),a.default.createElement("span",{className:c.CSS_CLASSES.LABEL},O),j?l(j):null)};var l=function(e){return e?a.default.cloneElement(e,{className:s.default(c.CSS_CLASSES.ICON,e.props.className)}):null};t.Button.defaultProps={initRipple:function(){}},t.default=u.withRipple(t.Button)},46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CSS_CLASSES={ROOT:"mdc-button",ICON:"mdc-button__icon",LABEL:"mdc-button__label",DENSE:"mdc-button--dense",RAISED:"mdc-button--raised",OUTLINED:"mdc-button--outlined",UNELEVATED:"mdc-button--unelevated"}},5:function(e,t){e.exports=i}}))},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"createFocusTrap",(function(){return d}));var r=n(504);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,u=(s=[],{activateTrap:function(e){if(s.length>0){var t=s[s.length-1];t!==e&&t.pause()}var n=s.indexOf(e);-1===n||s.splice(n,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),c=function(e){return setTimeout(e,0)},l=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},f=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},d=function(e,t){var n,o=(null==t?void 0:t.document)||document,a=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},d=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},h=function(e){return s.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},m=function(e){var t=a[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},g=function(){var e=m("initialFocus");if(!1===e)return!1;if(void 0===e)if(h(o.activeElement)>=0)e=o.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},y=function(){if(s.containerGroups=s.containers.map((function(e){var t=Object(r.tabbable)(e,a.tabbableOptions),n=Object(r.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findIndex((function(t){return t===e}));if(!(o<0))return t?n.slice(o+1).find((function(e){return Object(r.isTabbable)(e,a.tabbableOptions)})):n.slice(0,o).reverse().find((function(e){return Object(r.isTabbable)(e,a.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(g()))},b=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},_=function(e){var t=p(e);h(t)>=0||(f(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!Object(r.isFocusable)(t,a.tabbableOptions)}):f(a.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=p(e),n=h(t)>=0;n||t instanceof Document?n&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),v(s.mostRecentlyFocusedNode||g()))},O=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==f(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=p(e);y();var n=null;if(s.tabbableGroups.length>0){var o=h(t),i=o>=0?s.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var u=l(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(i.container===t||Object(r.isFocusable)(t,a.tabbableOptions)&&!Object(r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t,!1))&&(u=o),u>=0){var c=0===u?s.tabbableGroups.length-1:u-1;n=s.tabbableGroups[c].lastTabbableNode}}else{var f=l(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(f<0&&(i.container===t||Object(r.isFocusable)(t,a.tabbableOptions)&&!Object(r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t))&&(f=o),f>=0){var d=f===s.tabbableGroups.length-1?0:f+1;n=s.tabbableGroups[d].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),v(n))}(e)},w=function(e){var t=p(e);h(t)>=0||f(a.clickOutsideDeactivates,e)||f(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},j=function(){if(s.active)return u.activateTrap(n),s.delayInitialFocusTimer=a.delayInitialFocus?c((function(){v(g())})):v(g()),o.addEventListener("focusin",k,!0),o.addEventListener("mousedown",_,{capture:!0,passive:!1}),o.addEventListener("touchstart",_,{capture:!0,passive:!1}),o.addEventListener("click",w,{capture:!0,passive:!1}),o.addEventListener("keydown",O,{capture:!0,passive:!1}),n},E=function(){if(s.active)return o.removeEventListener("focusin",k,!0),o.removeEventListener("mousedown",_,!0),o.removeEventListener("touchstart",_,!0),o.removeEventListener("click",w,!0),o.removeEventListener("keydown",O,!0),n};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=d(e,"onActivate"),n=d(e,"onPostActivate"),r=d(e,"checkCanFocusTrap");r||y(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=o.activeElement,t&&t();var i=function(){r&&y(),j(),n&&n()};return r?(r(s.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!s.active)return this;var t=i({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,E(),s.active=!1,s.paused=!1,u.deactivateTrap(n);var r=d(t,"onDeactivate"),o=d(t,"onPostDeactivate"),l=d(t,"checkCanReturnFocus"),f=d(t,"returnFocus","returnFocusOnDeactivate");r&&r();var p=function(){c((function(){f&&v(b(s.nodeFocusedBeforeActivation)),o&&o()}))};return f&&l?(l(b(s.nodeFocusedBeforeActivation)).then(p,p),this):(p(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,E()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,y(),j(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),s.active&&y(),this}}).updateContainerElements(e),n}},function(e){e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')},,,,,function(e,t,n){var r,o,i,a;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(1215),a=n(1216),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=98)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},100:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=s(n(0)),l=u(n(32)),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.listInstance=c.createRef(),t.handleSelect=function(e,n){t.props.handleSelect(e,n),t.props.handleItemAction(t.listElements[e])},t.attachRef=function(e){var n=t.props.innerRef;t.listInstance.current=e,n&&("function"!=typeof n?n.current=e:n(e))},t}return o(t,e),Object.defineProperty(t.prototype,"listElements",{get:function(){return this.listInstance.current?this.listInstance.current.listElements:[]},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e["aria-hidden"],n=(e.handleSelect,e.handleItemAction,e.role),r=(e.innerRef,e.children),o=(e.ref,a(e,["aria-hidden","handleSelect","handleItemAction","role","innerRef","children","ref"]));return c.createElement(l.default,i({"aria-hidden":void 0!==t?t:"true",role:n||"menu",handleSelect:this.handleSelect,ref:this.attachRef},o),r)},t.defaultProps={className:"",handleSelect:function(){},handleItemAction:function(){}},t}(c.Component);t.default=f},101:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=n(32),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.role,n=void 0===t?"menuitem":t,r=e.children,o=(e.computeBoundingRect,a(e,["role","children","computeBoundingRect"]));return u.createElement(c.ListItem,i({role:n},o),r)},t}(u.Component);t.default=l},148:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i,a,s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},u=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),c={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",ROOT:"mdc-list"},l={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled)',CHECKBOX_SELECTOR:'input[type="checkbox"]:not(:disabled)',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+c.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+c.LIST_ITEM_CLASS+" a\n ",ENABLED_ITEMS_SELECTOR:".mdc-list-item:not(.mdc-list-item--disabled)",FOCUSABLE_CHILD_ELEMENTS:"\n ."+c.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+c.LIST_ITEM_CLASS+" a,\n ."+c.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+c.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]:not(:disabled)'},f={UNSET_INDEX:-1},p=["input","button","textarea","select"],d=function(e){function t(n){var r=e.call(this,s({},t.defaultAdapter,n))||this;return r.wrapFocus_=!1,r.isVertical_=!0,r.isSingleSelectionList_=!1,r.selectedIndex_=f.UNSET_INDEX,r.focusedItemIndex_=f.UNSET_INDEX,r.useActivatedClass_=!1,r.ariaCurrentAttrValue_=null,r.isCheckboxList_=!1,r.isRadioList_=!1,r}return o(t,e),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){}}},enumerable:!0,configurable:!0}),t.prototype.layout=function(){0!==this.adapter_.getListItemCount()&&(this.adapter_.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter_.hasRadioAtIndex(0)&&(this.isRadioList_=!0))},t.prototype.setWrapFocus=function(e){this.wrapFocus_=e},t.prototype.setVerticalOrientation=function(e){this.isVertical_=e},t.prototype.setSingleSelection=function(e){this.isSingleSelectionList_=e},t.prototype.setUseActivatedClass=function(e){this.useActivatedClass_=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex_},t.prototype.setSelectedIndex=function(e){this.isIndexValid_(e)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(e):this.isRadioList_?this.setRadioAtIndex_(e):this.setSingleSelectionAtIndex_(e))},t.prototype.handleFocusIn=function(e,t){t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"0")},t.prototype.handleFocusOut=function(e,t){var n=this;t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"-1"),setTimeout((function(){n.adapter_.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)},t.prototype.handleKeydown=function(e,t,n){var r="ArrowLeft"===e.key||37===e.keyCode,o="ArrowUp"===e.key||38===e.keyCode,i="ArrowRight"===e.key||39===e.keyCode,a="ArrowDown"===e.key||40===e.keyCode,s="Home"===e.key||36===e.keyCode,u="End"===e.key||35===e.keyCode,c="Enter"===e.key||13===e.keyCode,l="Space"===e.key||32===e.keyCode,p=this.adapter_.getFocusedElementIndex(),d=f.UNSET_INDEX;if(!(p===f.UNSET_INDEX&&(p=n)<0)){if(this.isVertical_&&a||!this.isVertical_&&i)this.preventDefaultEvent_(e),d=this.focusNextElement(p);else if(this.isVertical_&&o||!this.isVertical_&&r)this.preventDefaultEvent_(e),d=this.focusPrevElement(p);else if(s)this.preventDefaultEvent_(e),d=this.focusFirstElement();else if(u)this.preventDefaultEvent_(e),d=this.focusLastElement();else if((c||l)&&t){var h=e.target;if(h&&"A"===h.tagName&&c)return;this.preventDefaultEvent_(e),this.isSelectableList_()&&this.setSelectedIndexOnAction_(p),this.adapter_.notifyAction(p)}this.focusedItemIndex_=p,d>=0&&(this.setTabindexAtIndex_(d),this.focusedItemIndex_=d)}},t.prototype.handleClick=function(e,t){e!==f.UNSET_INDEX&&(this.isSelectableList_()&&this.setSelectedIndexOnAction_(e,t),this.adapter_.notifyAction(e),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)},t.prototype.focusNextElement=function(e){var t=e+1;if(t>=this.adapter_.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter_.focusItemAtIndex(t),t},t.prototype.focusPrevElement=function(e){var t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter_.getListItemCount()-1}return this.adapter_.focusItemAtIndex(t),t},t.prototype.focusFirstElement=function(){return this.adapter_.focusItemAtIndex(0),0},t.prototype.focusLastElement=function(){var e=this.adapter_.getListItemCount()-1;return this.adapter_.focusItemAtIndex(e),e},t.prototype.preventDefaultEvent_=function(e){var t=(""+e.target.tagName).toLowerCase();-1===p.indexOf(t)&&e.preventDefault()},t.prototype.setSingleSelectionAtIndex_=function(e){if(this.selectedIndex_!==e){var t=c.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(t=c.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==f.UNSET_INDEX&&this.adapter_.removeClassForElementIndex(this.selectedIndex_,t),this.adapter_.addClassForElementIndex(e,t),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e}},t.prototype.setAriaForSingleSelectionAtIndex_=function(e){this.selectedIndex_===f.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter_.getAttributeForElementIndex(e,l.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue_,n=t?l.ARIA_CURRENT:l.ARIA_SELECTED;this.selectedIndex_!==f.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=t?this.ariaCurrentAttrValue_:"true";this.adapter_.setAttributeForElementIndex(e,n,r)},t.prototype.setRadioAtIndex_=function(e){this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,!0),this.selectedIndex_!==f.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,l.ARIA_CHECKED,"false"),this.adapter_.setAttributeForElementIndex(e,l.ARIA_CHECKED,"true"),this.selectedIndex_=e},t.prototype.setCheckboxAtIndex_=function(e){for(var t=0;t<this.adapter_.getListItemCount();t++){var n=!1;e.indexOf(t)>=0&&(n=!0),this.adapter_.setCheckedCheckboxOrRadioAtIndex(t,n),this.adapter_.setAttributeForElementIndex(t,l.ARIA_CHECKED,n?"true":"false")}this.selectedIndex_=e},t.prototype.setTabindexAtIndex_=function(e){this.focusedItemIndex_===f.UNSET_INDEX&&0!==e?this.adapter_.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==e&&this.adapter_.setAttributeForElementIndex(this.focusedItemIndex_,"tabindex","-1"),this.adapter_.setAttributeForElementIndex(e,"tabindex","0")},t.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},t.prototype.setTabindexToFirstSelectedItem_=function(){var e=0;this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==f.UNSET_INDEX?e=this.selectedIndex_:this.selectedIndex_ instanceof Array&&this.selectedIndex_.length>0&&(e=this.selectedIndex_.reduce((function(e,t){return Math.min(e,t)})))),this.setTabindexAtIndex_(e)},t.prototype.isIndexValid_=function(e){var t=this;if(e instanceof Array){if(!this.isCheckboxList_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===e.length||e.some((function(e){return t.isIndexInRange_(e)}))}if("number"==typeof e){if(this.isCheckboxList_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return this.isIndexInRange_(e)}return!1},t.prototype.isIndexInRange_=function(e){var t=this.adapter_.getListItemCount();return e>=0&&e<t},t.prototype.setSelectedIndexOnAction_=function(e,t){void 0===t&&(t=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(e,t):this.setSelectedIndex(e)},t.prototype.toggleCheckboxAtIndex_=function(e,t){var n=this.adapter_.isCheckboxCheckedAtIndex(e);t&&(n=!n,this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,n)),this.adapter_.setAttributeForElementIndex(e,l.ARIA_CHECKED,n?"true":"false");var r=this.selectedIndex_===f.UNSET_INDEX?[]:this.selectedIndex_.slice();n?r.push(e):r=r.filter((function(t){return t!==e})),this.selectedIndex_=r},t}(u),h={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},m={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},g={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(i||(i={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(a||(a={}));var y=function(e){function t(n){var r=e.call(this,s({},t.defaultAdapter,n))||this;return r.isOpen_=!1,r.isQuickOpen_=!1,r.isHoistedElement_=!1,r.isFixedPosition_=!1,r.openAnimationEndTimerId_=0,r.closeAnimationEndTimerId_=0,r.animationRequestId_=0,r.anchorCorner_=a.TOP_START,r.anchorMargin_={top:0,right:0,bottom:0,left:0},r.position_={x:0,y:0},r}return o(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return h},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isFirstElementFocused:function(){return!1},isLastElementFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},focusFirstElement:function(){},focusLastElement:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter_.hasClass(n))throw new Error(n+" class required in root element.");this.adapter_.hasClass(r)&&(this.isOpen_=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId_),clearTimeout(this.closeAnimationEndTimerId_),cancelAnimationFrame(this.animationRequestId_)},t.prototype.setAnchorCorner=function(e){this.anchorCorner_=e},t.prototype.setAnchorMargin=function(e){this.anchorMargin_.top=e.top||0,this.anchorMargin_.right=e.right||0,this.anchorMargin_.bottom=e.bottom||0,this.anchorMargin_.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement_=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition_=e},t.prototype.setAbsolutePosition=function(e,t){this.position_.x=this.isFinite_(e)?e:0,this.position_.y=this.isFinite_(t)?t:0},t.prototype.setQuickOpen=function(e){this.isQuickOpen_=e},t.prototype.isOpen=function(){return this.isOpen_},t.prototype.open=function(){var e=this;this.adapter_.saveFocus(),this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId_=requestAnimationFrame((function(){e.adapter_.addClass(t.cssClasses.OPEN),e.dimensions_=e.adapter_.getInnerDimensions(),e.autoPosition_(),e.isQuickOpen_?e.adapter_.notifyOpen():e.openAnimationEndTimerId_=setTimeout((function(){e.openAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter_.notifyOpen()}),g.TRANSITION_OPEN_DURATION)})),this.isOpen_=!0},t.prototype.close=function(){var e=this;this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){e.adapter_.removeClass(t.cssClasses.OPEN),e.isQuickOpen_?e.adapter_.notifyClose():e.closeAnimationEndTimerId_=setTimeout((function(){e.closeAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_CLOSED),e.adapter_.notifyClose()}),g.TRANSITION_CLOSE_DURATION)})),this.isOpen_=!1,this.maybeRestoreFocus_()},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter_.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode,n=e.key,r=e.shiftKey,o="Tab"===n||9===t;"Escape"===n||27===t?this.close():o&&(this.adapter_.isLastElementFocused()&&!r?(this.adapter_.focusFirstElement(),e.preventDefault()):this.adapter_.isFirstElementFocused()&&r&&(this.adapter_.focusLastElement(),e.preventDefault()))},t.prototype.autoPosition_=function(){var e;this.measurements_=this.getAutoLayoutMeasurements_();var t=this.getOriginCorner_(),n=this.getMenuSurfaceMaxHeight_(t),r=this.hasBit_(t,i.BOTTOM)?"bottom":"top",o=this.hasBit_(t,i.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset_(t),s=this.getVerticalOriginOffset_(t),u=this.measurements_,c=u.anchorSize,l=u.surfaceSize,f=((e={})[o]=a,e[r]=s,e);c.width/l.width>g.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement_||this.isFixedPosition_)&&this.adjustPositionForHoistedElement_(f),this.adapter_.setTransformOrigin(o+" "+r),this.adapter_.setPosition(f),this.adapter_.setMaxHeight(n?n+"px":"")},t.prototype.getAutoLayoutMeasurements_=function(){var e=this.adapter_.getAnchorDimensions(),t=this.adapter_.getBodyDimensions(),n=this.adapter_.getWindowDimensions(),r=this.adapter_.getWindowScroll();return e||(e={top:this.position_.y,right:this.position_.x,bottom:this.position_.y,left:this.position_.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions_,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getOriginCorner_=function(){var e=a.TOP_LEFT,t=this.measurements_,n=t.viewportDistance,r=t.anchorSize,o=t.surfaceSize,s=this.hasBit_(this.anchorCorner_,i.BOTTOM),u=s?n.top+r.height+this.anchorMargin_.bottom:n.top+this.anchorMargin_.top,c=s?n.bottom-this.anchorMargin_.bottom:n.bottom+r.height-this.anchorMargin_.top,l=o.height-u,f=o.height-c;f>0&&l<f&&(e=this.setBit_(e,i.BOTTOM));var p=this.adapter_.isRtl(),d=this.hasBit_(this.anchorCorner_,i.FLIP_RTL),h=this.hasBit_(this.anchorCorner_,i.RIGHT),m=h&&!p||!h&&d&&p,g=m?n.left+r.width+this.anchorMargin_.right:n.left+this.anchorMargin_.left,y=m?n.right-this.anchorMargin_.right:n.right+r.width-this.anchorMargin_.left,v=o.width-g,b=o.width-y;return(v<0&&m&&p||h&&!m&&v<0||b>0&&v<b)&&(e=this.setBit_(e,i.RIGHT)),e},t.prototype.getMenuSurfaceMaxHeight_=function(e){var n=this.measurements_.viewportDistance,r=0,o=this.hasBit_(e,i.BOTTOM),a=this.hasBit_(this.anchorCorner_,i.BOTTOM),s=t.numbers.MARGIN_TO_EDGE;return o?(r=n.top+this.anchorMargin_.top-s,a||(r+=this.measurements_.anchorSize.height)):(r=n.bottom-this.anchorMargin_.bottom+this.measurements_.anchorSize.height-s,a&&(r-=this.measurements_.anchorSize.height)),r},t.prototype.getHorizontalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,i.RIGHT),r=this.hasBit_(this.anchorCorner_,i.RIGHT);if(n){var o=r?t.width-this.anchorMargin_.left:this.anchorMargin_.right;return this.isHoistedElement_||this.isFixedPosition_?o-(this.measurements_.viewportSize.width-this.measurements_.bodySize.width):o}return r?t.width-this.anchorMargin_.right:this.anchorMargin_.left},t.prototype.getVerticalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,i.BOTTOM),r=this.hasBit_(this.anchorCorner_,i.BOTTOM);return n?r?t.height-this.anchorMargin_.top:-this.anchorMargin_.bottom:r?t.height+this.anchorMargin_.bottom:this.anchorMargin_.top},t.prototype.adjustPositionForHoistedElement_=function(e){var t,n,r=this.measurements_,o=r.windowScroll,i=r.viewportDistance,a=Object.keys(e);try{for(var s=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}(a),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c]||0;l+=i[c],this.isFixedPosition_||("top"===c?l+=o.y:"bottom"===c?l-=o.y:"left"===c?l+=o.x:l-=o.x),e[c]=l}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus_=function(){var e=this.adapter_.isFocused(),t=document.activeElement&&this.adapter_.isElementInContainer(document.activeElement);(e||t)&&this.adapter_.restoreFocus()},t.prototype.hasBit_=function(e,t){return Boolean(e&t)},t.prototype.setBit_=function(e,t){return e|t},t.prototype.isFinite_=function(e){return"number"==typeof e&&isFinite(e)},t}(u),v={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},b={ARIA_SELECTED_ATTR:"aria-selected",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list",SELECTED_EVENT:"MDCMenu:selected"};n.d(t,"MDCMenuFoundation",(function(){return _}));var _=function(e){function t(n){var r=e.call(this,s({},t.defaultAdapter,n))||this;return r.closeAnimationEndTimerId_=0,r}return o(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return v},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return b},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},getParentElement:function(){return null},getSelectedElementIndex:function(){return-1},notifySelected:function(){}}},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.closeAnimationEndTimerId_&&clearTimeout(this.closeAnimationEndTimerId_),this.adapter_.closeSurface()},t.prototype.handleKeydown=function(e){var t=e.key,n=e.keyCode;("Tab"===t||9===n)&&this.adapter_.closeSurface()},t.prototype.handleItemAction=function(e){var t=this,n=this.adapter_.getElementIndex(e);n<0||(this.adapter_.notifySelected({index:n}),this.adapter_.closeSurface(),this.closeAnimationEndTimerId_=setTimeout((function(){var r=t.getSelectionGroup_(e);r&&t.handleSelectionGroup_(r,n)}),y.numbers.TRANSITION_CLOSE_DURATION))},t.prototype.handleSelectionGroup_=function(e,t){var n=this.adapter_.getSelectedElementIndex(e);n>=0&&(this.adapter_.removeAttributeFromElementAtIndex(n,b.ARIA_SELECTED_ATTR),this.adapter_.removeClassFromElementAtIndex(n,v.MENU_SELECTED_LIST_ITEM)),this.adapter_.addClassToElementAtIndex(t,v.MENU_SELECTED_LIST_ITEM),this.adapter_.addAttributeToElementAtIndex(t,b.ARIA_SELECTED_ATTR,"true")},t.prototype.getSelectionGroup_=function(e){var t=this.adapter_.getParentElement(e);if(!t)return null;for(var n=this.adapter_.elementContainsClass(t,v.MENU_SELECTION_GROUP);!n&&t&&!this.adapter_.elementContainsClass(t,d.cssClasses.ROOT);)n=!!(t=this.adapter_.getParentElement(t))&&this.adapter_.elementContainsClass(t,v.MENU_SELECTION_GROUP);return n?t:null},t}(u);t.default=_},32:function(e,t){e.exports=i},98:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=s(n(0)),l=u(n(1)),f=n(148),p=u(n(99)),d=u(n(100));t.MenuList=d.default;var h=u(n(101));t.MenuListItem=h.default;var m=f.MDCMenuFoundation.cssClasses,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.menuListElement=c.createRef(),t.state={foundation:void 0,open:t.props.open||!1},t.handleKeyDown=function(e){var n=t.props.onKeyDown;n&&n(e),t.state.foundation&&t.state.foundation.handleKeydown(e.nativeEvent)},t.handleOpen=function(){var e=t.props.onOpen;e&&e()},t}return o(t,e),t.prototype.componentDidMount=function(){var e=new f.MDCMenuFoundation(this.adapter);e.init(),this.setState({foundation:e})},t.prototype.componentDidUpdate=function(e){this.props.open!==e.open&&this.setState({open:this.props.open})},t.prototype.componentWillUnmount=function(){this.state.foundation&&this.state.foundation.destroy()},Object.defineProperty(t.prototype,"listElements",{get:function(){return this.menuListElement.current&&this.menuListElement.current.listElements&&this.menuListElement.current.listElements.length>=0?this.menuListElement.current.listElements:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClassToElementAtIndex:function(t,n){e.listElements[t].classList.add(n)},removeClassFromElementAtIndex:function(t,n){e.listElements[t].classList.remove(n)},addAttributeToElementAtIndex:function(t,n,r){e.listElements[t].setAttribute(n,r)},removeAttributeFromElementAtIndex:function(t,n){e.listElements[t].removeAttribute(n)},elementContainsClass:function(e,t){return e.classList.contains(t)},closeSurface:function(){return e.setState({open:!1})},getElementIndex:function(t){return e.listElements.indexOf(t)},getParentElement:function(e){return e.parentElement},getSelectedElementIndex:function(t){var n=t.querySelector("."+m.MENU_SELECTED_LIST_ITEM);return n?e.listElements.indexOf(n):-1},notifySelected:function(t){return e.props.onSelected(t.index,e.listElements[t.index])}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.className,n=(e.open,e.onKeyDown,e.onOpen,e.children,e.onSelected,a(e,["className","open","onKeyDown","onOpen","children","onSelected"]));return c.createElement(p.default,i({tabIndex:-1,open:this.state.open,className:l.default("mdc-menu",t),onKeyDown:this.handleKeyDown,onOpen:this.handleOpen},n),this.renderChild())},t.prototype.renderChild=function(){var e=this.props.children,t=this.state.foundation;if(e){var n=function(){};t&&(n=t.handleItemAction.bind(t));var r=i({},e.props,{handleItemAction:n,ref:this.menuListElement,wrapFocus:!0});return c.cloneElement(e,r)}},t.defaultProps={className:"",open:!1,onKeyDown:function(){},onSelected:function(){}},t}(c.Component);t.default=g;var y=n(32);t.MenuListDivider=y.ListDivider,t.MenuListGroup=y.ListGroup,t.MenuListGroupSubheader=y.ListGroupSubheader,t.MenuListItemGraphic=y.ListItemGraphic,t.MenuListItemMeta=y.ListItemMeta,t.MenuListItemText=y.ListItemText},99:function(e,t){e.exports=a}}))},function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(631),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},41:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(42),f=s(n(88)),p=s(n(89));t.ListItem=p.default;var d=s(n(91));t.ListItemGraphic=d.default;var h=s(n(92));t.ListItemText=h.default;var m=s(n(93));t.ListItemMeta=m.default;var g=s(n(94));t.ListDivider=g.default;var y=s(n(95));t.ListGroup=y.default;var v=s(n(96));function b(e){return"number"==typeof e&&!isNaN(e)||Array.isArray(e)}t.ListGroupSubheader=v.default,t.defaultListItemContext={handleClick:function(){},handleKeyDown:function(){},handleBlur:function(){},handleFocus:function(){},onDestroy:function(){},getListItemInitialTabIndex:function(){return-1},getClassNamesFromList:function(){return{}}},t.ListItemContext=u.default.createContext(t.defaultListItemContext);var _=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasInitializedListItemTabIndex=!1,t.listElement=u.default.createRef(),t.state={listItemClassNames:{}},t.initializeListType=function(){var e=t.props.singleSelection,n=l.MDCListFoundation.cssClasses,r=l.MDCListFoundation.strings;if(t.listElement.current){var o=t.listElement.current.querySelectorAll(r.ARIA_ROLE_CHECKBOX_SELECTOR),i=t.listElement.current.querySelector(r.ARIA_CHECKED_RADIO_SELECTOR);if(o.length){var a=t.listElement.current.querySelectorAll(r.ARIA_CHECKED_CHECKBOX_SELECTOR),s=[].map.call(a,(function(e){return t.listElements.indexOf(e)}));t.foundation.setSelectedIndex(s)}else e?t.listElement.current.querySelector(n.LIST_ITEM_ACTIVATED_CLASS)&&t.foundation.setUseActivatedClass(!0):i&&t.foundation.setSelectedIndex(t.listElements.indexOf(i))}},t.getListItemInitialTabIndex=function(e){var n=t.props.selectedIndex,r=-1;return t.hasInitializedListItemTabIndex||(Array.isArray(n)&&n.length>0&&e===n[0]||n===e||-1===n)&&(r=0,t.hasInitializedListItemTabIndex=!0),r},t.getListItemClassNames=function(){return t.state.listItemClassNames},t.handleKeyDown=function(e,n){e.persist(),t.foundation.handleKeydown(e.nativeEvent,!0,n)},t.handleClick=function(e,n){t.foundation.handleClick(n,!1)},t.handleFocus=function(e,n){t.foundation.handleFocusIn(e.nativeEvent,n)},t.handleBlur=function(e,n){t.foundation.handleFocusOut(e.nativeEvent,n)},t.onDestroy=function(e){var n=t.state.listItemClassNames;delete n[e],t.setState({listItemClassNames:n})},t.getListProps=function(e,n){return{checkboxList:Boolean(e),radioList:Boolean(n),handleKeyDown:t.handleKeyDown,handleClick:t.handleClick,handleFocus:t.handleFocus,handleBlur:t.handleBlur,onDestroy:t.onDestroy,getClassNamesFromList:t.getListItemClassNames,getListItemInitialTabIndex:t.getListItemInitialTabIndex}},t.getListPropsMemoized=f.default(t.getListProps),t}return o(n,e),n.prototype.componentDidMount=function(){var e=this.props,t=e.singleSelection,n=e.wrapFocus,r=e.selectedIndex;this.foundation=new l.MDCListFoundation(this.adapter),this.foundation.init(),this.foundation.setSingleSelection(t),this.foundation.layout(),b(r)&&this.foundation.setSelectedIndex(r),this.foundation.setWrapFocus(n),this.foundation.setVerticalOrientation("horizontal"!==this.props.orientation),this.initializeListType()},n.prototype.componentDidUpdate=function(e){var t=this.props,n=t.singleSelection,r=t.wrapFocus,o=t.selectedIndex,i=o!==e.selectedIndex;n!==e.singleSelection&&this.foundation.setSingleSelection(n),i&&b(o)&&this.foundation.setSelectedIndex(o),r!==e.wrapFocus&&this.foundation.setWrapFocus(r),this.props.orientation!==e.orientation&&this.foundation.setVerticalOrientation("horizontal"!==this.props.orientation)},n.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(n.prototype,"listElements",{get:function(){return this.listElement.current?[].slice.call(this.listElement.current.querySelectorAll(l.MDCListFoundation.strings.ENABLED_ITEMS_SELECTOR)):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.nonInteractive,r=e.dense,o=e.avatarList,i=e.twoLine;return c.default("mdc-list",t,{"mdc-list--non-interactive":n,"mdc-list--dense":r,"mdc-list--avatar-list":o,"mdc-list--two-line":i})},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"adapter",{get:function(){var e=this;return{getListItemCount:function(){return e.listElements.length},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},getAttributeForElementIndex:function(t,n){return e.listElements[t].getAttribute(n)},setAttributeForElementIndex:function(t,n,r){var o=e.listElements[t];o&&o.setAttribute(n,r)},addClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;r[t]&&-1===r[t].indexOf(n)?r[t].push(n):r[t]=[n],e.setState({listItemClassNames:r})},removeClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;if(r[t]){var o=r[t].indexOf(n);-1!==o&&(r[t].splice(o,1),e.setState({listItemClassNames:r}))}},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t],o=l.MDCListFoundation.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;[].slice.call(r.querySelectorAll(o)).forEach((function(e){return e.setAttribute("tabindex",n)}))},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},setCheckedCheckboxOrRadioAtIndex:function(){},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(l.MDCListFoundation.strings.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(l.MDCListFoundation.strings.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){var n=e.listElements[t],r=l.MDCListFoundation.strings.CHECKBOX_SELECTOR;return n.querySelector(r).checked},isFocusInsideList:function(){return!!e.listElement.current&&e.listElement.current.contains(document.activeElement)},notifyAction:function(t){e.props.handleSelect(t,e.foundation.getSelectedIndex())}}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"role",{get:function(){var e=this.props,t=e.checkboxList,n=e.radioList;return e.role||(t?"group":n?"radiogroup":null)},enumerable:!0,configurable:!0}),n.prototype.render=function(){var e=this.props,n=(e.className,e.checkboxList),r=e.radioList,o=(e.nonInteractive,e.dense,e.avatarList,e.twoLine,e.singleSelection,e.role),s=(e.selectedIndex,e.handleSelect,e.wrapFocus,e.children),c=e.tag,l=e.orientation,f=a(e,["className","checkboxList","radioList","nonInteractive","dense","avatarList","twoLine","singleSelection","role","selectedIndex","handleSelect","wrapFocus","children","tag","orientation"]);return u.default.createElement(c,i({className:this.classes,ref:this.listElement,role:this.role,"aria-orientation":"horizontal"===l&&!o&&this.role?"horizontal":void 0},f),u.default.createElement(t.ListItemContext.Provider,{value:this.getListPropsMemoized(n,r)},s))},n.defaultProps={className:"",checkboxList:!1,radioList:!1,nonInteractive:!1,dense:!1,avatarList:!1,twoLine:!1,singleSelection:!1,selectedIndex:-1,handleSelect:function(){},wrapFocus:!0,tag:"ul"},n}(u.default.Component);t.default=_},42:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),a={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",ROOT:"mdc-list"},s={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled)',CHECKBOX_SELECTOR:'input[type="checkbox"]:not(:disabled)',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+a.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+a.LIST_ITEM_CLASS+" a\n ",ENABLED_ITEMS_SELECTOR:".mdc-list-item:not(.mdc-list-item--disabled)",FOCUSABLE_CHILD_ELEMENTS:"\n ."+a.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+a.LIST_ITEM_CLASS+" a,\n ."+a.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+a.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]:not(:disabled)'},u={UNSET_INDEX:-1};n.d(t,"MDCListFoundation",(function(){return l}));var c=["input","button","textarea","select"],l=function(e){function t(n){var r=e.call(this,o({},t.defaultAdapter,n))||this;return r.wrapFocus_=!1,r.isVertical_=!0,r.isSingleSelectionList_=!1,r.selectedIndex_=u.UNSET_INDEX,r.focusedItemIndex_=u.UNSET_INDEX,r.useActivatedClass_=!1,r.ariaCurrentAttrValue_=null,r.isCheckboxList_=!1,r.isRadioList_=!1,r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){}}},enumerable:!0,configurable:!0}),t.prototype.layout=function(){0!==this.adapter_.getListItemCount()&&(this.adapter_.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter_.hasRadioAtIndex(0)&&(this.isRadioList_=!0))},t.prototype.setWrapFocus=function(e){this.wrapFocus_=e},t.prototype.setVerticalOrientation=function(e){this.isVertical_=e},t.prototype.setSingleSelection=function(e){this.isSingleSelectionList_=e},t.prototype.setUseActivatedClass=function(e){this.useActivatedClass_=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex_},t.prototype.setSelectedIndex=function(e){this.isIndexValid_(e)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(e):this.isRadioList_?this.setRadioAtIndex_(e):this.setSingleSelectionAtIndex_(e))},t.prototype.handleFocusIn=function(e,t){t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"0")},t.prototype.handleFocusOut=function(e,t){var n=this;t>=0&&this.adapter_.setTabIndexForListItemChildren(t,"-1"),setTimeout((function(){n.adapter_.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)},t.prototype.handleKeydown=function(e,t,n){var r="ArrowLeft"===e.key||37===e.keyCode,o="ArrowUp"===e.key||38===e.keyCode,i="ArrowRight"===e.key||39===e.keyCode,a="ArrowDown"===e.key||40===e.keyCode,s="Home"===e.key||36===e.keyCode,c="End"===e.key||35===e.keyCode,l="Enter"===e.key||13===e.keyCode,f="Space"===e.key||32===e.keyCode,p=this.adapter_.getFocusedElementIndex(),d=u.UNSET_INDEX;if(!(p===u.UNSET_INDEX&&(p=n)<0)){if(this.isVertical_&&a||!this.isVertical_&&i)this.preventDefaultEvent_(e),d=this.focusNextElement(p);else if(this.isVertical_&&o||!this.isVertical_&&r)this.preventDefaultEvent_(e),d=this.focusPrevElement(p);else if(s)this.preventDefaultEvent_(e),d=this.focusFirstElement();else if(c)this.preventDefaultEvent_(e),d=this.focusLastElement();else if((l||f)&&t){var h=e.target;if(h&&"A"===h.tagName&&l)return;this.preventDefaultEvent_(e),this.isSelectableList_()&&this.setSelectedIndexOnAction_(p),this.adapter_.notifyAction(p)}this.focusedItemIndex_=p,d>=0&&(this.setTabindexAtIndex_(d),this.focusedItemIndex_=d)}},t.prototype.handleClick=function(e,t){e!==u.UNSET_INDEX&&(this.isSelectableList_()&&this.setSelectedIndexOnAction_(e,t),this.adapter_.notifyAction(e),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)},t.prototype.focusNextElement=function(e){var t=e+1;if(t>=this.adapter_.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter_.focusItemAtIndex(t),t},t.prototype.focusPrevElement=function(e){var t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter_.getListItemCount()-1}return this.adapter_.focusItemAtIndex(t),t},t.prototype.focusFirstElement=function(){return this.adapter_.focusItemAtIndex(0),0},t.prototype.focusLastElement=function(){var e=this.adapter_.getListItemCount()-1;return this.adapter_.focusItemAtIndex(e),e},t.prototype.preventDefaultEvent_=function(e){var t=(""+e.target.tagName).toLowerCase();-1===c.indexOf(t)&&e.preventDefault()},t.prototype.setSingleSelectionAtIndex_=function(e){if(this.selectedIndex_!==e){var t=a.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(t=a.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.removeClassForElementIndex(this.selectedIndex_,t),this.adapter_.addClassForElementIndex(e,t),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e}},t.prototype.setAriaForSingleSelectionAtIndex_=function(e){this.selectedIndex_===u.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter_.getAttributeForElementIndex(e,s.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue_,n=t?s.ARIA_CURRENT:s.ARIA_SELECTED;this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=t?this.ariaCurrentAttrValue_:"true";this.adapter_.setAttributeForElementIndex(e,n,r)},t.prototype.setRadioAtIndex_=function(e){this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,!0),this.selectedIndex_!==u.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,s.ARIA_CHECKED,"false"),this.adapter_.setAttributeForElementIndex(e,s.ARIA_CHECKED,"true"),this.selectedIndex_=e},t.prototype.setCheckboxAtIndex_=function(e){for(var t=0;t<this.adapter_.getListItemCount();t++){var n=!1;e.indexOf(t)>=0&&(n=!0),this.adapter_.setCheckedCheckboxOrRadioAtIndex(t,n),this.adapter_.setAttributeForElementIndex(t,s.ARIA_CHECKED,n?"true":"false")}this.selectedIndex_=e},t.prototype.setTabindexAtIndex_=function(e){this.focusedItemIndex_===u.UNSET_INDEX&&0!==e?this.adapter_.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==e&&this.adapter_.setAttributeForElementIndex(this.focusedItemIndex_,"tabindex","-1"),this.adapter_.setAttributeForElementIndex(e,"tabindex","0")},t.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},t.prototype.setTabindexToFirstSelectedItem_=function(){var e=0;this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==u.UNSET_INDEX?e=this.selectedIndex_:this.selectedIndex_ instanceof Array&&this.selectedIndex_.length>0&&(e=this.selectedIndex_.reduce((function(e,t){return Math.min(e,t)})))),this.setTabindexAtIndex_(e)},t.prototype.isIndexValid_=function(e){var t=this;if(e instanceof Array){if(!this.isCheckboxList_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===e.length||e.some((function(e){return t.isIndexInRange_(e)}))}if("number"==typeof e){if(this.isCheckboxList_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return this.isIndexInRange_(e)}return!1},t.prototype.isIndexInRange_=function(e){var t=this.adapter_.getListItemCount();return e>=0&&e<t},t.prototype.setSelectedIndexOnAction_=function(e,t){void 0===t&&(t=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(e,t):this.setSelectedIndex(e)},t.prototype.toggleCheckboxAtIndex_=function(e,t){var n=this.adapter_.isCheckboxCheckedAtIndex(e);t&&(n=!n,this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,n)),this.adapter_.setAttributeForElementIndex(e,s.ARIA_CHECKED,n?"true":"false");var r=this.selectedIndex_===u.UNSET_INDEX?[]:this.selectedIndex_.slice();n?r.push(e):r=r.filter((function(t){return t!==e})),this.selectedIndex_=r},t}(i);t.default=l},5:function(e,t){e.exports=i},88:function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}e.exports=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=arguments.length,s=new Array(r),u=0;u<r;u++)s[u]=arguments[u];return a&&n===this&&t(s,i)||(o=e.apply(this,s),a=!0,n=this,i=s),o}}},89:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(90),f=n(5),p=n(42),d=n(41),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.listItemElement=u.default.createRef(),t.state={tabIndex:t.props.tabIndex},t.initializeTabIndex=function(){if(t.listItemElement.current){var e=t.getIndex(t.listItemElement.current),n=t.props.getListItemInitialTabIndex(e);t.setState({tabIndex:n})}},t.getIndex=function(e){return t.listElements.indexOf(e)},t.handleClick=function(e){(0,t.props.onClick)(e),t.props.handleClick(e,t.getIndex(e.currentTarget))},t.handleKeyDown=function(e){(0,t.props.onKeyDown)(e),t.props.handleKeyDown(e,t.getIndex(e.currentTarget))},t.handleFocus=function(e){(0,t.props.onFocus)(e),t.props.handleFocus(e,t.getIndex(e.currentTarget))},t.handleBlur=function(e){(0,t.props.onBlur)(e),t.props.handleBlur(e,t.getIndex(e.currentTarget))},t}return o(t,e),Object.defineProperty(t.prototype,"listElements",{get:function(){if(this.listItemElement.current){var e=l.closest(this.listItemElement.current,"."+p.MDCListFoundation.cssClasses.ROOT);return e?[].slice.call(e.querySelectorAll(p.MDCListFoundation.strings.ENABLED_ITEMS_SELECTOR)):[]}return[]},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this.initializeTabIndex(),this.props.initRipple&&this.props.initRipple(this.listItemElement.current)},t.prototype.componentDidUpdate=function(e){e.tabIndex!==this.props.tabIndex&&this.setState({tabIndex:this.props.tabIndex})},t.prototype.componentWillUnmount=function(){if(this.listItemElement.current){var e=this.getIndex(this.listItemElement.current);this.props.onDestroy(e)}},Object.defineProperty(t.prototype,"classes",{get:function(){var e,t=this.props,n=t.className,r=t.activated,o=t.disabled,i=t.selected,a=t.getClassNamesFromList,s=[""];if(this.listItemElement.current){var u=this.getIndex(this.listItemElement.current);s=a()[u]}return c.default("mdc-list-item",n,s,((e={})[p.MDCListFoundation.cssClasses.LIST_ITEM_ACTIVATED_CLASS]=r,e[p.MDCListFoundation.cssClasses.LIST_ITEM_SELECTED_CLASS]=i,e["mdc-list-item--disabled"]=o,e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"role",{get:function(){var e=this.props,t=e.checkboxList,n=e.radioList;return e.role||(t?"checkbox":n?"radio":null)},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.className,e.children),n=(e.role,e.initRipple,e.checkboxList,e.radioList,e.selected,e.activated,e.onDestroy,e.onClick,e.onKeyDown,e.onFocus,e.onBlur,e.handleClick,e.handleKeyDown,e.handleFocus,e.handleBlur,e.getListItemInitialTabIndex,e.getClassNamesFromList,e.tabIndex,e.tag),r=a(e,["className","children","role","initRipple","checkboxList","radioList","selected","activated","onDestroy","onClick","onKeyDown","onFocus","onBlur","handleClick","handleKeyDown","handleFocus","handleBlur","getListItemInitialTabIndex","getClassNamesFromList","tabIndex","tag"]);return u.default.createElement(n,i({},r,this.context,{role:this.role,className:this.classes,ref:this.listItemElement,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:this.state.tabIndex}),t)},t.defaultProps={checkboxList:!1,radioList:!1,className:"",tabIndex:-1,onKeyDown:function(){},onClick:function(){},onFocus:function(){},onBlur:function(){},onDestroy:function(){},tag:"li",handleClick:function(){},handleKeyDown:function(){},handleBlur:function(){},handleFocus:function(){},getListItemInitialTabIndex:function(){return-1},getClassNamesFromList:function(){return{}}},t}(u.default.Component);t.ListItemBase=h,t.default=f.withRipple((function(e){return u.default.createElement(d.ListItemContext.Consumer,null,(function(t){return u.default.createElement(h,i({},t,e))}))}))},90:function(e,t,n){"use strict";function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}n.r(t),n.d(t,"closest",(function(){return r})),n.d(t,"matches",(function(){return o}))},91:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t=e.tabIndex,n=void 0===t?-1:t,i=e.graphic,u=e.className,c=void 0===u?"":u,l=o(e,["tabIndex","graphic","className"]),f=r({className:s.default("mdc-list-item__graphic",c),tabIndex:void 0!==n?n:-1},l);return a.default.cloneElement(i,f)}},92:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t=e.primaryText,n=void 0===t?"":t,i=e.secondaryText,u=void 0===i?"":i,c=e.tabIndex,l=void 0===c?-1:c,f=e.className,p=void 0===f?"":f,d=o(e,["primaryText","secondaryText","tabIndex","className"]),h=function(e,t){if(void 0===e)return null;if("string"==typeof e||"number"==typeof e)return a.default.createElement("span",{className:t,tabIndex:void 0!==l?l:-1},e);if(null===(n=e)||void 0===n.props)return null;var n,i=e.props,u=i.className,c=o(i,["className"]);t=s.default(t,u);var f=r({},c,{className:t});return a.default.cloneElement(e,f)};return u?a.default.createElement("span",r({className:s.default("mdc-list-item__text",p),tabIndex:void 0!==l?l:-1},d),h(n,"mdc-list-item__primary-text"),h(u,"mdc-list-item__secondary-text")):h(n,s.default("mdc-list-item__text",p))}},93:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t,n=e.tabIndex,i=e.meta,u=e.className,c=void 0===u?"":u,l=o(e,["tabIndex","meta","className"]);t="string"==typeof i?a.default.createElement("span",null,i):i;var f=r({className:s.default("mdc-list-item__meta",c,t.props.className),tabIndex:void 0!==n?n:-1},l);return a.default.cloneElement(t,f)}},94:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t=e.tag,n=void 0===t?"li":t,i=e.className,u=void 0===i?"":i,c=e.role,l=void 0===c?"separator":c,f=o(e,["tag","className","role"]);return a.default.createElement(n,r({className:s.default("mdc-list-divider",u),role:l},f))}},95:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t=e.tag,n=void 0===t?"div":t,i=e.className,u=void 0===i?"":i,c=e.children,l=o(e,["tag","className","children"]);return a.default.createElement(n,r({className:s.default("mdc-list-group",u)},l),c)}},96:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),s=i(n(1));t.default=function(e){var t=e.tag,n=void 0===t?"h3":t,i=e.className,u=void 0===i?"":i,c=e.children,l=o(e,["tag","className","children"]);return a.default.createElement(n,r({className:s.default("mdc-list-group__subheader",u)},l),c)}}}))},function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),i=n(137),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=102)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},102:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(103)),l=s(n(1)),f=n(16),p=n(159);t.Corner=p.Corner;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.menuSurfaceElement=u.default.createRef(),t.previousFocus=null,t.firstFocusableElement=null,t.lastFocusableElement=null,t.state={transformOrigin:"",maxHeight:void 0,styleLeft:void 0,styleRight:void 0,styleTop:void 0,styleBottom:void 0,classList:new Set,mounted:!1},t.open_=function(){if(t.props.open){if(!t.menuSurfaceElement.current)return;var e=t.menuSurfaceElement.current.querySelectorAll(f.MDCMenuSurfaceFoundation.strings.FOCUSABLE_ELEMENTS);t.firstFocusableElement=e.length>0?e[0]:null,t.lastFocusableElement=e.length>0?e[e.length-1]:null,t.foundation.open()}else t.foundation.close()},t.handleKeydown=function(e){t.props.onKeyDown(e),t.foundation.handleKeydown(e.nativeEvent)},t.handleOpen=function(){t.registerWindowClickListener&&t.registerWindowClickListener()},t.handleClose=function(){t.deregisterWindowClickListener&&t.deregisterWindowClickListener()},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.anchorCorner,r=t.anchorMargin,o=t.coordinates,i=t.fixed,a=t.quickOpen;this.handleWindowClick=function(t){return e.foundation.handleBodyClick(t)},this.registerWindowClickListener=function(){return window.addEventListener("click",e.handleWindowClick)},this.deregisterWindowClickListener=function(){return window.removeEventListener("click",e.handleWindowClick)},this.foundation=new f.MDCMenuSurfaceFoundation(this.adapter),this.foundation.init(),this.foundation.setIsHoisted(!0),this.foundation.setFixedPosition(i),o&&this.setCoordinates(),n&&this.foundation.setAnchorCorner(n),r&&this.foundation.setAnchorMargin(r),a&&this.foundation.setQuickOpen(a),this.setState({mounted:!0})},t.prototype.componentDidUpdate=function(e,t){(this.props.open!==e.open||this.props.open&&this.state.mounted!==t.mounted)&&this.open_(),this.props.coordinates!==e.coordinates&&this.setCoordinates(),this.props.anchorCorner!==e.anchorCorner&&this.foundation.setAnchorCorner(this.props.anchorCorner),this.props.anchorMargin!==e.anchorMargin&&this.foundation.setAnchorMargin(this.props.anchorMargin),this.props.quickOpen!==e.quickOpen&&this.foundation.setQuickOpen(this.props.quickOpen),this.state.mounted!==t.mounted&&this.props.onMount&&this.props.onMount(this.state.mounted)},t.prototype.componentWillUnmount=function(){this.deregisterWindowClickListener&&this.deregisterWindowClickListener(),this.foundation&&this.foundation.destroy()},t.prototype.setCoordinates=function(){if(this.props.coordinates){var e=this.props.coordinates,t=e.x,n=e.y;this.foundation.setAbsolutePosition(t,n)}},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props,t=e.fixed,n=e.className,r=this.state.classList;return l.default("mdc-menu-surface",Array.from(r),n,{"mdc-menu-surface--fixed":t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){var e=this.state,t=e.styleLeft,n=e.styleRight,r=e.styleTop,o=e.styleBottom,i=e.transformOrigin,a=e.maxHeight;return Object.assign({},this.props.styles,{transformOrigin:i,maxHeight:a,left:t,right:n,top:r,bottom:o})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return i({addClass:function(t){var n=new Set(e.state.classList);n.add(t),e.setState({classList:n})},removeClass:function(t){var n=new Set(e.state.classList);n.delete(t),e.setState({classList:n})},hasClass:function(t){return e.classes.split(" ").includes(t)},hasAnchor:function(){return!!e.props.anchorElement},notifyOpen:function(){e.handleOpen(),e.props.onOpen()},notifyClose:function(){e.handleClose(),e.props.onClose()},isElementInContainer:function(t){return!!e.menuSurfaceElement.current&&e.menuSurfaceElement.current.contains(t)},isRtl:function(){return!!e.menuSurfaceElement&&!!e.menuSurfaceElement.current&&"rtl"===window.getComputedStyle(e.menuSurfaceElement.current).getPropertyValue("direction")},setTransformOrigin:function(t){return e.setState({transformOrigin:t})}},{isFocused:function(){return e.menuSurfaceElement&&document.activeElement===e.menuSurfaceElement.current},saveFocus:function(){e.previousFocus=document.activeElement},restoreFocus:function(){var t=e.menuSurfaceElement;t&&t.current&&t.current.contains(document.activeElement)&&e.previousFocus&&e.previousFocus.focus&&e.previousFocus.focus()},isFirstElementFocused:function(){return e.firstFocusableElement===document.activeElement},isLastElementFocused:function(){return e.lastFocusableElement===document.activeElement},focusFirstElement:function(){return!!e.firstFocusableElement&&e.firstFocusableElement.focus&&e.firstFocusableElement.focus()},focusLastElement:function(){return e.lastFocusableElement&&e.lastFocusableElement.focus&&e.lastFocusableElement.focus()}},{getInnerDimensions:function(){var t=e.menuSurfaceElement.current;return t?{width:t.offsetWidth,height:t.offsetHeight}:{width:0,height:0}},getAnchorDimensions:function(){return e.props.anchorElement?e.props.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){e.setState((function(e){return Object.assign(e,{styleLeft:"left"in t?t.left:null,styleRight:"right"in t?t.right:null,styleTop:"top"in t?t.top:null,styleBottom:"bottom"in t?t.bottom:null})}))},setMaxHeight:function(t){return e.setState({maxHeight:t})}})},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.anchorCorner,e.anchorElement,e.anchorMargin,e.className,e.coordinates,e.fixed,e.onClose,e.onOpen,e.onKeyDown,e.styles,e.quickOpen,e.onMount,e.children),n=a(e,["anchorCorner","anchorElement","anchorMargin","className","coordinates","fixed","onClose","onOpen","onKeyDown","styles","quickOpen","onMount","children"]);return this.state.mounted?c.default.createPortal(u.default.createElement("div",i({className:this.classes,onKeyDown:this.handleKeydown,ref:this.menuSurfaceElement,style:this.styles},n),t),document.body):null},t.defaultProps={className:"",styles:{},anchorCorner:0,anchorMargin:{},onClose:function(){},onOpen:function(){},onKeyDown:function(){},quickOpen:!1,open:!1,fixed:!1},t}(u.default.Component);t.default=d},103:function(e,t){e.exports=i},15:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return u})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}},159:function(e,t,n){"use strict";n.r(t);var r,o={};function i(e,t){if(void 0===t&&(t=!1),void 0===r||t){var n=e.document.createElement("div");r="transform"in n.style?"transform":"webkitTransform"}return r}n.r(o),n.d(o,"getTransformPropertyName",(function(){return i}));var a=n(3),s=n(15),u=n(28),c=function(){function e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root_=e,this.initialize.apply(this,s.c(n)),this.foundation_=void 0===t?this.getDefaultFoundation():t,this.foundation_.init(),this.initialSyncWithDOM()}return e.attachTo=function(t){return new e(t,new u.a({}))},e.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation_.destroy()},e.prototype.listen=function(e,t){this.root_.addEventListener(e,t)},e.prototype.unlisten=function(e,t){this.root_.removeEventListener(e,t)},e.prototype.emit=function(e,t,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n,!1,t),this.root_.dispatchEvent(r)},e}(),l=n(16),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this,t=this.root_.parentElement;this.anchorElement=t&&t.classList.contains(a.c.ANCHOR)?t:null,this.root_.classList.contains(a.c.FIXED)&&this.setFixedPosition(!0),this.handleKeydown_=function(t){return e.foundation_.handleKeydown(t)},this.handleBodyClick_=function(t){return e.foundation_.handleBodyClick(t)},this.registerBodyClickListener_=function(){return document.body.addEventListener("click",e.handleBodyClick_)},this.deregisterBodyClickListener_=function(){return document.body.removeEventListener("click",e.handleBodyClick_)},this.listen("keydown",this.handleKeydown_),this.listen(a.e.OPENED_EVENT,this.registerBodyClickListener_),this.listen(a.e.CLOSED_EVENT,this.deregisterBodyClickListener_)},t.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten(a.e.OPENED_EVENT,this.registerBodyClickListener_),this.unlisten(a.e.CLOSED_EVENT,this.deregisterBodyClickListener_),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"open",{get:function(){return this.foundation_.isOpen()},set:function(e){if(e){var t=this.root_.querySelectorAll(a.e.FOCUSABLE_ELEMENTS);this.firstFocusableElement_=t[0],this.lastFocusableElement_=t[t.length-1],this.foundation_.open()}else this.foundation_.close()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"quickOpen",{set:function(e){this.foundation_.setQuickOpen(e)},enumerable:!0,configurable:!0}),t.prototype.hoistMenuToBody=function(){document.body.appendChild(this.root_),this.setIsHoisted(!0)},t.prototype.setIsHoisted=function(e){this.foundation_.setIsHoisted(e)},t.prototype.setMenuSurfaceAnchorElement=function(e){this.anchorElement=e},t.prototype.setFixedPosition=function(e){e?this.root_.classList.add(a.c.FIXED):this.root_.classList.remove(a.c.FIXED),this.foundation_.setFixedPosition(e)},t.prototype.setAbsolutePosition=function(e,t){this.foundation_.setAbsolutePosition(e,t),this.setIsHoisted(!0)},t.prototype.setAnchorCorner=function(e){this.foundation_.setAnchorCorner(e)},t.prototype.setAnchorMargin=function(e){this.foundation_.setAnchorMargin(e)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root_.classList.add(t)},removeClass:function(t){return e.root_.classList.remove(t)},hasClass:function(t){return e.root_.classList.contains(t)},hasAnchor:function(){return!!e.anchorElement},notifyClose:function(){return e.emit(l.MDCMenuSurfaceFoundation.strings.CLOSED_EVENT,{})},notifyOpen:function(){return e.emit(l.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,{})},isElementInContainer:function(t){return e.root_.contains(t)},isRtl:function(){return"rtl"===getComputedStyle(e.root_).getPropertyValue("direction")},setTransformOrigin:function(t){var n=i(window)+"-origin";e.root_.style.setProperty(n,t)},isFocused:function(){return document.activeElement===e.root_},saveFocus:function(){e.previousFocus_=document.activeElement},restoreFocus:function(){e.root_.contains(document.activeElement)&&e.previousFocus_&&e.previousFocus_.focus&&e.previousFocus_.focus()},isFirstElementFocused:function(){return!!e.firstFocusableElement_&&e.firstFocusableElement_===document.activeElement},isLastElementFocused:function(){return!!e.lastFocusableElement_&&e.lastFocusableElement_===document.activeElement},focusFirstElement:function(){return e.firstFocusableElement_&&e.firstFocusableElement_.focus&&e.firstFocusableElement_.focus()},focusLastElement:function(){return e.lastFocusableElement_&&e.lastFocusableElement_.focus&&e.lastFocusableElement_.focus()},getInnerDimensions:function(){return{width:e.root_.offsetWidth,height:e.root_.offsetHeight}},getAnchorDimensions:function(){return e.anchorElement?e.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){e.root_.style.left="left"in t?t.left+"px":"",e.root_.style.right="right"in t?t.right+"px":"",e.root_.style.top="top"in t?t.top+"px":"",e.root_.style.bottom="bottom"in t?t.bottom+"px":""},setMaxHeight:function(t){e.root_.style.maxHeight=t}};return new l.MDCMenuSurfaceFoundation(t)},t}(c);n.d(t,"Corner",(function(){return a.a})),n.d(t,"CornerBit",(function(){return a.b})),n.d(t,"util",(function(){return o})),n.d(t,"MDCMenuSurface",(function(){return f})),n.d(t,"MDCMenuSurfaceFoundation",(function(){return l.MDCMenuSurfaceFoundation}))},16:function(e,t,n){"use strict";n.r(t),n.d(t,"MDCMenuSurfaceFoundation",(function(){return a}));var r=n(15),o=n(28),i=n(3),a=function(e){function t(n){var o=e.call(this,r.a({},t.defaultAdapter,n))||this;return o.isOpen_=!1,o.isQuickOpen_=!1,o.isHoistedElement_=!1,o.isFixedPosition_=!1,o.openAnimationEndTimerId_=0,o.closeAnimationEndTimerId_=0,o.animationRequestId_=0,o.anchorCorner_=i.a.TOP_START,o.anchorMargin_={top:0,right:0,bottom:0,left:0},o.position_={x:0,y:0},o}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.c},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i.e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return i.d},enumerable:!0,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return i.a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isFirstElementFocused:function(){return!1},isLastElementFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},focusFirstElement:function(){},focusLastElement:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter_.hasClass(n))throw new Error(n+" class required in root element.");this.adapter_.hasClass(r)&&(this.isOpen_=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId_),clearTimeout(this.closeAnimationEndTimerId_),cancelAnimationFrame(this.animationRequestId_)},t.prototype.setAnchorCorner=function(e){this.anchorCorner_=e},t.prototype.setAnchorMargin=function(e){this.anchorMargin_.top=e.top||0,this.anchorMargin_.right=e.right||0,this.anchorMargin_.bottom=e.bottom||0,this.anchorMargin_.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement_=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition_=e},t.prototype.setAbsolutePosition=function(e,t){this.position_.x=this.isFinite_(e)?e:0,this.position_.y=this.isFinite_(t)?t:0},t.prototype.setQuickOpen=function(e){this.isQuickOpen_=e},t.prototype.isOpen=function(){return this.isOpen_},t.prototype.open=function(){var e=this;this.adapter_.saveFocus(),this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId_=requestAnimationFrame((function(){e.adapter_.addClass(t.cssClasses.OPEN),e.dimensions_=e.adapter_.getInnerDimensions(),e.autoPosition_(),e.isQuickOpen_?e.adapter_.notifyOpen():e.openAnimationEndTimerId_=setTimeout((function(){e.openAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter_.notifyOpen()}),i.d.TRANSITION_OPEN_DURATION)})),this.isOpen_=!0},t.prototype.close=function(){var e=this;this.isQuickOpen_||this.adapter_.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){e.adapter_.removeClass(t.cssClasses.OPEN),e.isQuickOpen_?e.adapter_.notifyClose():e.closeAnimationEndTimerId_=setTimeout((function(){e.closeAnimationEndTimerId_=0,e.adapter_.removeClass(t.cssClasses.ANIMATING_CLOSED),e.adapter_.notifyClose()}),i.d.TRANSITION_CLOSE_DURATION)})),this.isOpen_=!1,this.maybeRestoreFocus_()},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter_.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode,n=e.key,r=e.shiftKey,o="Tab"===n||9===t;"Escape"===n||27===t?this.close():o&&(this.adapter_.isLastElementFocused()&&!r?(this.adapter_.focusFirstElement(),e.preventDefault()):this.adapter_.isFirstElementFocused()&&r&&(this.adapter_.focusLastElement(),e.preventDefault()))},t.prototype.autoPosition_=function(){var e;this.measurements_=this.getAutoLayoutMeasurements_();var t=this.getOriginCorner_(),n=this.getMenuSurfaceMaxHeight_(t),r=this.hasBit_(t,i.b.BOTTOM)?"bottom":"top",o=this.hasBit_(t,i.b.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset_(t),s=this.getVerticalOriginOffset_(t),u=this.measurements_,c=u.anchorSize,l=u.surfaceSize,f=((e={})[o]=a,e[r]=s,e);c.width/l.width>i.d.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement_||this.isFixedPosition_)&&this.adjustPositionForHoistedElement_(f),this.adapter_.setTransformOrigin(o+" "+r),this.adapter_.setPosition(f),this.adapter_.setMaxHeight(n?n+"px":"")},t.prototype.getAutoLayoutMeasurements_=function(){var e=this.adapter_.getAnchorDimensions(),t=this.adapter_.getBodyDimensions(),n=this.adapter_.getWindowDimensions(),r=this.adapter_.getWindowScroll();return e||(e={top:this.position_.y,right:this.position_.x,bottom:this.position_.y,left:this.position_.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions_,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getOriginCorner_=function(){var e=i.a.TOP_LEFT,t=this.measurements_,n=t.viewportDistance,r=t.anchorSize,o=t.surfaceSize,a=this.hasBit_(this.anchorCorner_,i.b.BOTTOM),s=a?n.top+r.height+this.anchorMargin_.bottom:n.top+this.anchorMargin_.top,u=a?n.bottom-this.anchorMargin_.bottom:n.bottom+r.height-this.anchorMargin_.top,c=o.height-s,l=o.height-u;l>0&&c<l&&(e=this.setBit_(e,i.b.BOTTOM));var f=this.adapter_.isRtl(),p=this.hasBit_(this.anchorCorner_,i.b.FLIP_RTL),d=this.hasBit_(this.anchorCorner_,i.b.RIGHT),h=d&&!f||!d&&p&&f,m=h?n.left+r.width+this.anchorMargin_.right:n.left+this.anchorMargin_.left,g=h?n.right-this.anchorMargin_.right:n.right+r.width-this.anchorMargin_.left,y=o.width-m,v=o.width-g;return(y<0&&h&&f||d&&!h&&y<0||v>0&&y<v)&&(e=this.setBit_(e,i.b.RIGHT)),e},t.prototype.getMenuSurfaceMaxHeight_=function(e){var n=this.measurements_.viewportDistance,r=0,o=this.hasBit_(e,i.b.BOTTOM),a=this.hasBit_(this.anchorCorner_,i.b.BOTTOM),s=t.numbers.MARGIN_TO_EDGE;return o?(r=n.top+this.anchorMargin_.top-s,a||(r+=this.measurements_.anchorSize.height)):(r=n.bottom-this.anchorMargin_.bottom+this.measurements_.anchorSize.height-s,a&&(r-=this.measurements_.anchorSize.height)),r},t.prototype.getHorizontalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,i.b.RIGHT),r=this.hasBit_(this.anchorCorner_,i.b.RIGHT);if(n){var o=r?t.width-this.anchorMargin_.left:this.anchorMargin_.right;return this.isHoistedElement_||this.isFixedPosition_?o-(this.measurements_.viewportSize.width-this.measurements_.bodySize.width):o}return r?t.width-this.anchorMargin_.right:this.anchorMargin_.left},t.prototype.getVerticalOriginOffset_=function(e){var t=this.measurements_.anchorSize,n=this.hasBit_(e,i.b.BOTTOM),r=this.hasBit_(this.anchorCorner_,i.b.BOTTOM);return n?r?t.height-this.anchorMargin_.top:-this.anchorMargin_.bottom:r?t.height+this.anchorMargin_.bottom:this.anchorMargin_.top},t.prototype.adjustPositionForHoistedElement_=function(e){var t,n,o=this.measurements_,i=o.windowScroll,a=o.viewportDistance,s=Object.keys(e);try{for(var u=r.d(s),c=u.next();!c.done;c=u.next()){var l=c.value,f=e[l]||0;f+=a[l],this.isFixedPosition_||("top"===l?f+=i.y:"bottom"===l?f-=i.y:"left"===l?f+=i.x:f-=i.x),e[l]=f}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus_=function(){var e=this.adapter_.isFocused(),t=document.activeElement&&this.adapter_.isElementInContainer(document.activeElement);(e||t)&&this.adapter_.restoreFocus()},t.prototype.hasBit_=function(e,t){return Boolean(e&t)},t.prototype.setBit_=function(e,t){return e|t},t.prototype.isFinite_=function(e){return"number"==typeof e&&isFinite(e)},t}(o.a);t.default=a},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},3:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r,o,i={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},a={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},s={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(r||(r={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(o||(o={}))}}))},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=126)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},11:function(e,t,n){"use strict";var r=n(17),o=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),i={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},a={CONTENT_SELECTOR:".mdc-tab-indicator__content"};n.d(t,"a",(function(){return s}));var s=function(e){function t(n){return e.call(this,r.a({},t.defaultAdapter,n))||this}return r.b(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!0,configurable:!0}),t.prototype.computeContentClientRect=function(){return this.adapter_.computeContentClientRect()},t}(o)},126:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(127),f=n(128),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tabIndicatorElement=u.default.createRef(),t.getNativeContentElement=function(){if(t.tabIndicatorElement.current)return t.tabIndicatorElement.current.getElementsByClassName("mdc-tab-indicator__content")[0]},t.computeContentClientRect=function(){var e=t.getNativeContentElement();return e&&e.getBoundingClientRect?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},t.addContentClassesToChildren=function(){var e=u.default.Children.only(t.props.children),n=c.default(e.props.className,t.contentClasses),r=Object.assign({},e.props,{className:n});return u.default.cloneElement(e,r)},t}return o(t,e),t.prototype.componentDidMount=function(){this.props.fade?this.foundation=new f.MDCFadingTabIndicatorFoundation(this.adapter):this.foundation=new l.MDCSlidingTabIndicatorFoundation(this.adapter),this.foundation.init(),this.props.active&&this.foundation.activate()},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},t.prototype.componentDidUpdate=function(e){this.props.active!==e.active&&(this.props.active?this.foundation.activate(this.props.previousIndicatorClientRect):this.foundation.deactivate())},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.fade;return c.default("mdc-tab-indicator",t,{"mdc-tab-indicator--fade":n})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentClasses",{get:function(){var e=this.props.icon;return c.default("mdc-tab-indicator__content",{"mdc-tab-indicator__content--icon":e,"mdc-tab-indicator__content--underline":!e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{addClass:function(t){e.tabIndicatorElement.current&&(e.tabIndicatorElement.current.classList.add(t),e.forceUpdate())},removeClass:function(t){e.tabIndicatorElement.current&&(e.tabIndicatorElement.current.classList.remove(t),e.forceUpdate())},computeContentClientRect:this.computeContentClientRect,setContentStyleProperty:function(t,n){var r=e.getNativeContentElement(),o=t;r&&"length"!==o&&"parentRule"!==o&&(r.style[o]=n)}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=(e.active,e.children,e.className,e.fade,e.icon,e.previousIndicatorClientRect,a(e,["active","children","className","fade","icon","previousIndicatorClientRect"]));return u.default.createElement("span",i({className:this.classes,ref:this.tabIndicatorElement},t),this.renderContent())},t.prototype.renderContent=function(){return this.props.children?this.addContentClassesToChildren():u.default.createElement("span",{className:this.contentClasses})},t.defaultProps={active:!1,className:"",fade:!1,icon:!1},t}(u.default.Component);t.default=p},127:function(e,t,n){"use strict";n.r(t),n.d(t,"MDCSlidingTabIndicatorFoundation",(function(){return i}));var r=n(17),o=n(11),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.b(t,e),t.prototype.activate=function(e){if(e){var t=this.computeContentClientRect(),n=e.width/t.width,r=e.left-t.left;this.adapter_.addClass(o.a.cssClasses.NO_TRANSITION),this.adapter_.setContentStyleProperty("transform","translateX("+r+"px) scaleX("+n+")"),this.computeContentClientRect(),this.adapter_.removeClass(o.a.cssClasses.NO_TRANSITION),this.adapter_.addClass(o.a.cssClasses.ACTIVE),this.adapter_.setContentStyleProperty("transform","")}else this.adapter_.addClass(o.a.cssClasses.ACTIVE)},t.prototype.deactivate=function(){this.adapter_.removeClass(o.a.cssClasses.ACTIVE)},t}(o.a);t.default=i},128:function(e,t,n){"use strict";n.r(t),n.d(t,"MDCFadingTabIndicatorFoundation",(function(){return i}));var r=n(17),o=n(11),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.b(t,e),t.prototype.activate=function(){this.adapter_.addClass(o.a.cssClasses.ACTIVE)},t.prototype.deactivate=function(){this.adapter_.removeClass(o.a.cssClasses.ACTIVE)},t}(o.a);t.default=i},17:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)}}}))},function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(0),o=n(12),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=129)}({0:function(e,t){e.exports=r},1:function(e,t){e.exports=o},129:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(0)),c=s(n(1)),l=n(149),f=n(130),p=n(131),d=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.areaElement=u.default.createRef(),t.contentElement=u.default.createRef(),t.state={classList:new Set,areaClassList:new Set,scrollAreaStyleProperty:{},scrollContentStyleProperty:{}},t.setStyleToElement=function(e,n,r){var o,i=d(e),a=Object.assign({},t.state[r],((o={})[i]=n,o));t.setState((function(e){var t;return Object.assign(e,((t={})[r]=a,t))}))},t.getBoundingClientRectOf=function(e){return e?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},t.getScrollPosition=function(){return t.foundation.getScrollPosition()},t.getScrollContentWidth=function(){return t.contentElement.current?t.contentElement.current.offsetWidth:0},t.incrementScroll=function(e){t.foundation.incrementScroll(e)},t.scrollTo=function(e){t.foundation.scrollTo(e)},t.handleWheel_=function(e){t.props.onWheel&&t.props.onWheel(e),t.foundation.handleInteraction()},t.handleTouchStart_=function(e){t.props.onTouchStart&&t.props.onTouchStart(e),t.foundation.handleInteraction()},t.handlePointerDown_=function(e){t.props.onPointerDown&&t.props.onPointerDown(e),t.foundation.handleInteraction()},t.handleMouseDown_=function(e){t.props.onMouseDown&&t.props.onMouseDown(e),t.foundation.handleInteraction()},t.handleKeyDown_=function(e){t.props.onKeyDown&&t.props.onKeyDown(e),t.foundation.handleInteraction()},t.handleTransitionEnd_=function(e){t.props.onTransitionEnd&&t.props.onTransitionEnd(e),t.foundation.handleTransitionEnd(e.nativeEvent)},t}return o(t,e),t.prototype.componentDidMount=function(){this.foundation=new l.MDCTabScrollerFoundation(this.adapter),this.foundation.init()},t.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.props,t=e.alignStart,n=e.alignEnd,r=e.alignCenter,o=e.className,i=this.state.classList;return c.default("mdc-tab-scroller",Array.from(i),o,{"mdc-tab-scroller--align-start":t,"mdc-tab-scroller--align-end":n,"mdc-tab-scroller--align-center":r})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adapter",{get:function(){var e=this;return{eventTargetMatchesSelector:function(e,t){return!!t&&p.matches(e,t)},addClass:function(t){var n=new Set(e.state.classList);n.add(t),e.setState({classList:n})},removeClass:function(t){var n=new Set(e.state.classList);n.delete(t),e.setState({classList:n})},addScrollAreaClass:function(t){var n=new Set(e.state.areaClassList);n.add(t),e.setState({areaClassList:n})},setScrollAreaStyleProperty:function(t,n){return e.setStyleToElement(t,n,"scrollAreaStyleProperty")},setScrollContentStyleProperty:function(t,n){return e.setStyleToElement(t,n,"scrollContentStyleProperty")},getScrollContentStyleValue:function(t){return e.contentElement.current?window.getComputedStyle(e.contentElement.current).getPropertyValue(t):""},setScrollAreaScrollLeft:function(t){e.areaElement.current&&(e.areaElement.current.scrollLeft=t)},getScrollAreaScrollLeft:function(){return e.areaElement.current?e.areaElement.current.scrollLeft:0},getScrollContentOffsetWidth:this.getScrollContentWidth,getScrollAreaOffsetWidth:function(){return e.areaElement.current?e.areaElement.current.offsetWidth:0},computeScrollAreaClientRect:function(){return e.getBoundingClientRectOf(e.contentElement.current)},computeScrollContentClientRect:function(){return e.getBoundingClientRectOf(e.contentElement.current)},computeHorizontalScrollbarHeight:function(){return f.computeHorizontalScrollbarHeight(document)}}},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.state,t=e.areaClassList,n=e.scrollAreaStyleProperty,r=e.scrollContentStyleProperty,o=this.props,s=o.children,l=(o.alignStart,o.alignEnd,o.alignCenter,o.className,o.onWheel,o.onTouchStart,o.onPointerDown,o.onMouseDown,o.onKeyDown,o.onTransitionEnd,a(o,["children","alignStart","alignEnd","alignCenter","className","onWheel","onTouchStart","onPointerDown","onMouseDown","onKeyDown","onTransitionEnd"])),f=c.default("mdc-tab-scroller__scroll-area",Array.from(t));return u.default.createElement("div",i({className:this.classes,onWheel:this.handleWheel_,onTouchStart:this.handleTouchStart_,onPointerDown:this.handlePointerDown_,onMouseDown:this.handleMouseDown_,onKeyDown:this.handleKeyDown_,onTransitionEnd:this.handleTransitionEnd_},l),u.default.createElement("div",{className:f,style:n,ref:this.areaElement},u.default.createElement("div",{className:"mdc-tab-scroller__scroll-content",style:r,ref:this.contentElement},s)))},t.defaultProps={alignStart:!1,alignEnd:!1,alignCenter:!1,className:"",children:null,onWheel:function(){},onTouchStart:function(){},onPointerDown:function(){},onMouseDown:function(){},onKeyDown:function(){},onTransitionEnd:function(){}},t}(u.default.Component);t.default=h},130:function(e,t,n){"use strict";n.r(t),n.d(t,"computeHorizontalScrollbarHeight",(function(){return i}));var r,o=n(25);function i(e,t){if(void 0===t&&(t=!0),t&&void 0!==r)return r;var n=e.createElement("div");n.classList.add(o.a.SCROLL_TEST),e.body.appendChild(n);var i=n.offsetHeight-n.clientHeight;return e.body.removeChild(n),t&&(r=i),i}},131:function(e,t,n){"use strict";function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}n.r(t),n.d(t,"closest",(function(){return r})),n.d(t,"matches",(function(){return o}))},149:function(e,t,n){"use strict";n.r(t),"function"==typeof Symbol&&Symbol.iterator;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(){function e(e){void 0===e&&(e={}),this.adapter_=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}(),s=n(25),u=function(e){this.adapter_=e},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getScrollPositionRTL=function(){var e=this.adapter_.getScrollAreaScrollLeft(),t=this.calculateScrollEdges_().right;return Math.round(t-e)},t.prototype.scrollToRTL=function(e){var t=this.calculateScrollEdges_(),n=this.adapter_.getScrollAreaScrollLeft(),r=this.clampScrollValue_(t.right-e);return{finalScrollPosition:r,scrollDelta:r-n}},t.prototype.incrementScrollRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(t-e);return{finalScrollPosition:n,scrollDelta:n-t}},t.prototype.getAnimatingScrollPosition=function(e){return e},t.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},t.prototype.clampScrollValue_=function(e){var t=this.calculateScrollEdges_();return Math.min(Math.max(t.left,e),t.right)},t}(u),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getScrollPositionRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft();return Math.round(e-t)},t.prototype.scrollToRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(-e);return{finalScrollPosition:n,scrollDelta:n-t}},t.prototype.incrementScrollRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(t-e);return{finalScrollPosition:n,scrollDelta:n-t}},t.prototype.getAnimatingScrollPosition=function(e,t){return e-t},t.prototype.calculateScrollEdges_=function(){var e=this.adapter_.getScrollContentOffsetWidth();return{left:this.adapter_.getScrollAreaOffsetWidth()-e,right:0}},t.prototype.clampScrollValue_=function(e){var t=this.calculateScrollEdges_();return Math.max(Math.min(t.right,e),t.left)},t}(u),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getScrollPositionRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft();return Math.round(t-e)},t.prototype.scrollToRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e);return{finalScrollPosition:n,scrollDelta:t-n}},t.prototype.incrementScrollRTL=function(e){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(t+e);return{finalScrollPosition:n,scrollDelta:t-n}},t.prototype.getAnimatingScrollPosition=function(e,t){return e+t},t.prototype.calculateScrollEdges_=function(){return{left:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth(),right:0}},t.prototype.clampScrollValue_=function(e){var t=this.calculateScrollEdges_();return Math.min(Math.max(t.right,e),t.left)},t}(u);n.d(t,"MDCTabScrollerFoundation",(function(){return p}));var p=function(e){function t(n){var r=e.call(this,i({},t.defaultAdapter,n))||this;return r.isAnimating_=!1,r}return o(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s.a},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s.b},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this.adapter_.computeHorizontalScrollbarHeight();this.adapter_.setScrollAreaStyleProperty("margin-bottom",-e+"px"),this.adapter_.addScrollAreaClass(t.cssClasses.SCROLL_AREA_SCROLL)},t.prototype.getScrollPosition=function(){if(this.isRTL_())return this.computeCurrentScrollPositionRTL_();var e=this.calculateCurrentTranslateX_();return this.adapter_.getScrollAreaScrollLeft()-e},t.prototype.handleInteraction=function(){this.isAnimating_&&this.stopScrollAnimation_()},t.prototype.handleTransitionEnd=function(e){var n=e.target;this.isAnimating_&&this.adapter_.eventTargetMatchesSelector(n,t.strings.CONTENT_SELECTOR)&&(this.isAnimating_=!1,this.adapter_.removeClass(t.cssClasses.ANIMATING))},t.prototype.incrementScroll=function(e){if(0!==e)return this.isRTL_()?this.incrementScrollRTL_(e):void this.incrementScroll_(e)},t.prototype.scrollTo=function(e){if(this.isRTL_())return this.scrollToRTL_(e);this.scrollTo_(e)},t.prototype.getRTLScroller=function(){return this.rtlScrollerInstance_||(this.rtlScrollerInstance_=this.rtlScrollerFactory_()),this.rtlScrollerInstance_},t.prototype.calculateCurrentTranslateX_=function(){var e=this.adapter_.getScrollContentStyleValue("transform");if("none"===e)return 0;var t=/\((.+?)\)/.exec(e);if(!t)return 0;var n=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(t[1].split(","),6),r=(n[0],n[1],n[2],n[3],n[4]);return n[5],parseFloat(r)},t.prototype.clampScrollValue_=function(e){var t=this.calculateScrollEdges_();return Math.min(Math.max(t.left,e),t.right)},t.prototype.computeCurrentScrollPositionRTL_=function(){var e=this.calculateCurrentTranslateX_();return this.getRTLScroller().getScrollPositionRTL(e)},t.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},t.prototype.scrollTo_=function(e){var t=this.getScrollPosition(),n=this.clampScrollValue_(e),r=n-t;this.animate_({finalScrollPosition:n,scrollDelta:r})},t.prototype.scrollToRTL_=function(e){var t=this.getRTLScroller().scrollToRTL(e);this.animate_(t)},t.prototype.incrementScroll_=function(e){var t=this.getScrollPosition(),n=e+t,r=this.clampScrollValue_(n),o=r-t;this.animate_({finalScrollPosition:r,scrollDelta:o})},t.prototype.incrementScrollRTL_=function(e){var t=this.getRTLScroller().incrementScrollRTL(e);this.animate_(t)},t.prototype.animate_=function(e){var n=this;0!==e.scrollDelta&&(this.stopScrollAnimation_(),this.adapter_.setScrollAreaScrollLeft(e.finalScrollPosition),this.adapter_.setScrollContentStyleProperty("transform","translateX("+e.scrollDelta+"px)"),this.adapter_.computeScrollAreaClientRect(),requestAnimationFrame((function(){n.adapter_.addClass(t.cssClasses.ANIMATING),n.adapter_.setScrollContentStyleProperty("transform","none")})),this.isAnimating_=!0)},t.prototype.stopScrollAnimation_=function(){this.isAnimating_=!1;var e=this.getAnimatingScrollPosition_();this.adapter_.removeClass(t.cssClasses.ANIMATING),this.adapter_.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter_.setScrollAreaScrollLeft(e)},t.prototype.getAnimatingScrollPosition_=function(){var e=this.calculateCurrentTranslateX_(),t=this.adapter_.getScrollAreaScrollLeft();return this.isRTL_()?this.getRTLScroller().getAnimatingScrollPosition(t,e):t-e},t.prototype.rtlScrollerFactory_=function(){var e=this.adapter_.getScrollAreaScrollLeft();this.adapter_.setScrollAreaScrollLeft(e-1);var t=this.adapter_.getScrollAreaScrollLeft();if(t<0)return this.adapter_.setScrollAreaScrollLeft(e),new l(this.adapter_);var n=this.adapter_.computeScrollAreaClientRect(),r=this.adapter_.computeScrollContentClientRect(),o=Math.round(r.right-n.right);return this.adapter_.setScrollAreaScrollLeft(e),o===t?new f(this.adapter_):new c(this.adapter_)},t.prototype.isRTL_=function(){return"rtl"===this.adapter_.getScrollContentStyleValue("direction")},t}(a);t.default=p},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},o={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"}}}))},,function(e,t,n){var r=n(49);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(414),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"}));t.a=i},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(75),o=n(643);function i(e){return e&&"object"===Object(o.a)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},function(e,t,n){"use strict";var r=n(397),o=n(370),i=(n(1),n(0)),a=n.n(i),s=n(137),u=n.n(s),c=!1,l=a.a.createContext(null),f=function(e){function Transition(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}Object(o.a)(Transition,e),Transition.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var t=Transition.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},t.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[u.a.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,a)}))}))})))},t.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.a.findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.Provider,{value:null},"function"==typeof n?n(e,o):a.a.cloneElement(a.a.Children.only(n),o))},Transition}(a.a.Component);function p(){}f.contextType=l,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:p,onEntering:p,onEntered:p,onExit:p,onExiting:p,onExited:p},f.UNMOUNTED="unmounted",f.EXITED="exited",f.ENTERING="entering",f.ENTERED="entered",f.EXITING="exiting";t.a=f}]]); dist/assets/js/googlesitekit-widgets-c2422864a9b59a9a6def.js 0000604 00001336423 14717744000 0017222 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[30],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n(58),r=n(37),a=n(44);function o(t,n){var o,c=Object(i.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(r.b,"]"))),!o){o=!0;var i=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:f?"1":"0",user_properties:{user_roles:i,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(r.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n(5),r=n.n(i),a=n(7),o=n.n(a),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,i){var a=Object(s.a)(t);return function(){var t=l()(r.a.mark((function t(o,c,l,s){var u;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(r),e()};a("event",c,d(d({},u),{},{event_callback:l})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,i,r){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var i=n(123);n.d(t,"a",(function(){return i.a}));var r=n(124);n.d(t,"c",(function(){return r.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},105:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,i=t.children,a=o()(t,["className","children"]);return i?e.createElement("span",r()({},a,{className:u()("screen-reader-text",n)}),i):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,i){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var r=n(7),a=n.n(r),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),g=n(24),f=n(6),m=n(36),p=n(130),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,r=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(r,"-step"),A="".concat(r,"-run"),w=Object(d.useDispatch)(g.b).setValue,T=Object(d.useDispatch)(f.a).dismissTour,C=Object(d.useRegistry)(),N=Object(h.a)(),R=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),D=Object(d.useSelect)((function(e){return e(g.b).getValue(A)&&!1===e(f.a).isTourDismissed(r)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),w(A,!0)}));var M=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return i.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,i=e.lifecycle,r=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(N):l;o===c.b.TOOLTIP&&i===c.c.TOOLTIP?Object(m.b)(u,O,s):n===c.a.CLOSE&&i===c.c.COMPLETE?Object(m.b)(u,j,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&r===s&&Object(m.b)(u,S,s),i===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,k,s),n===c.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,i=t.index,a=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=g&&d===c.b.STEP_AFTER,v=p||h;if(c.b.STEP_BEFORE===d){var b,E,_=o.target;"string"==typeof o.target&&(_=e.document.querySelector(o.target)),null===(b=_)||void 0===b||null===(E=b.scrollIntoView)||void 0===E||E.call(b,{block:"center"})}f?function(e,t){w(u,e+(t===c.a.PREV?-1:1))}(i,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),T(r)),s&&s(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:D,showProgress:!0,stepIndex:R,steps:M,styles:b,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},107:function(e,t,n){"use strict";var i=n(415);n.d(t,"a",(function(){return i.a}));var r=n(416);n.d(t,"b",(function(){return r.a}));var a=n(417);n.d(t,"c",(function(){return a.a}));var o=n(418);n.d(t,"d",(function(){return o.a}));var c=n(419);n.d(t,"e",(function(){return c.a}));var l=n(420);n.d(t,"f",(function(){return l.a}));var s=n(255);n.d(t,"g",(function(){return s.a}));var u=n(189);n.d(t,"h",(function(){return u.a}));n(421)},108:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(15),l=n.n(c),s=n(23),u=n.n(s),d=n(222),g=n(1),f=n.n(g),m=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(t){function WithIntersectionObserverComponent(n){var i=n.onInView,r=u()(n,["onInView"]),a=Object(m.useRef)(),c=Object(d.a)(a,{root:null,threshold:.45}),s=Object(m.useState)(!1),g=l()(s,2),f=g[0],p=g[1],h=!!(null==c?void 0:c.isIntersecting)&&!!(null==c?void 0:c.intersectionRatio);return Object(m.useEffect)((function(){c&&h&&!f&&(i(),p(!0))}),[f,h,c,i]),e.createElement(t,o()({ref:a},r))}return WithIntersectionObserverComponent.displayName="WithIntersectionObserverComponent",(t.displayName||t.name)&&(WithIntersectionObserverComponent.displayName+="(".concat(t.displayName||t.name,")")),WithIntersectionObserverComponent.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onInView:f.a.func.isRequired},t.propTypes),WithIntersectionObserverComponent}}).call(this,n(4))},110:function(e,t,n){"use strict";var i=n(224);n.d(t,"b",(function(){return i.a}));var r=n(160);n.d(t,"c",(function(){return r.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},114:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,i=void 0===n?"":n,r=t.dialogActive,a=void 0!==r&&r,g=t.handleDialog,f=void 0===g?null:g,m=t.onOpen,p=void 0===m?null:m,h=t.onClose,v=void 0===h?null:h,b=t.title,E=void 0===b?null:b,_=t.provides,O=t.handleConfirm,y=t.subtitle,k=t.confirmButton,j=void 0===k?null:k,S=t.dependentModules,A=t.danger,w=void 0!==A&&A,T=t.inProgress,C=void 0!==T&&T,N=t.small,R=void 0!==N&&N,D=t.medium,M=void 0!==D&&D,x=t.buttonLink,I=void 0===x?null:x,B=Object(c.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(B),F=!(!_||!_.length);return e.createElement(u.Dialog,{open:a,onOpen:p,onClose:v,"aria-describedby":F?P:void 0,tabIndex:"-1",className:o()(i,{"googlesitekit-dialog-sm":R,"googlesitekit-dialog-md":M})},e.createElement(u.DialogTitle,null,w&&e.createElement(d.a,{width:28,height:28}),E),y?e.createElement("p",{className:"mdc-dialog__lead"},y):[],e.createElement(u.DialogContent,null,F&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:C},Object(s.__)("Cancel","google-site-kit")),I?e.createElement(u.Button,{href:I,onClick:O,target:"_blank",danger:w},j):e.createElement(u.SpinnerButton,{onClick:O,danger:w,disabled:C,isSaving:C},j||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r.a.string,dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,onOpen:r.a.func,onClose:r.a.func,title:r.a.string,confirmButton:r.a.string,danger:r.a.bool,small:r.a.bool,medium:r.a.bool,buttonLink:r.a.string},t.a=ModalDialog}).call(this,n(4))},115:function(e,t,n){"use strict";var i=n(343),r=n(339);n.d(t,"b",(function(){return r.a}));var a=n(340);n.d(t,"c",(function(){return a.a}));var o=n(341);n.d(t,"d",(function(){return o.a}));var c=n(342);n.d(t,"a",(function(){return c.a})),t.e=i.a},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,i=t.error,r=t.hasButton,d=void 0!==r&&r,g=t.storeName,f=t.message,m=void 0===f?i.message:f,p=t.noPrefix,h=void 0!==p&&p,v=t.Icon,b=Object(c.useDispatch)(),E=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(i):null})),_=Object(a.useCallback)((function(){b(E.storeName).invalidateResolution(E.name,E.args)}),[b,E]);if(!i||Object(s.f)(i))return null;var O=d&&Object(s.d)(i,E);return d||(m=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),m)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:m,reconnectURL:null===(n=i.data)||void 0===n?void 0:n.reconnectURL,noPrefix:h}),O&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:_},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),hasButton:r.a.bool,storeName:r.a.string,message:r.a.string,noPrefix:r.a.bool,Icon:r.a.elementType}}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(14),f=n(19),m=n(34),p=n(35),h=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,i=t.error,r=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,v=t.onRetry,E=t.onRequestAccess,_=t.getHelpClassName,O=t.RequestAccessButton,y=t.RetryButton,k=Object(p.a)(),j=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),A=Array.isArray(i)?i:[i],w=Object(u.useSelect)((function(e){return A.map((function(t){var n,i=null===(n=e(j))||void 0===n?void 0:n.getSelectorDataForError(t);return b(b({},t),{},{selectorData:i})}))})),T=null==w?void 0:w.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),C=!!T.length,N=Object(u.useSelect)((function(e){var t=b({},C?T[0]:A[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),R=Object(u.useDispatch)(),D=A.some((function(e){return Object(m.e)(e)})),M=Object(c.useCallback)((function(){T.forEach((function(e){var t=e.selectorData;R(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[R,T,v]),x=S&&D&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},x&&("function"==typeof O?e.createElement(O,{requestAccessURL:S}):e.createElement(d.Button,{onClick:E,href:S,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),C&&e.createElement(c.Fragment,null,"function"==typeof y?e.createElement(y,{handleRetry:M}):e.createElement(d.Button,{onClick:M,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!C&&!a&&e.createElement("div",{className:_},"function"==typeof r?e.createElement(r,{linkURL:N}):e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r=n(3),a=n(46);function o(e,t,n){var o=Object(r.useDispatch)(a.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(i.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},119:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return i.createElement("svg",r({viewBox:"0 0 14 14",fill:"none"},e),a)}},1206:function(e,t,n){"use strict";n.r(t),function(e){var i=n(3),r=n.n(i),a=n(790);Object(a.b)(r.a);var o=Object(a.a)(r.a);Object(a.c)(o),void 0===e.googlesitekit&&(e.googlesitekit={}),e.googlesitekit.widgets=o,t.default=o}.call(this,n(26))},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(13),r=function(e){return Object(i.isFinite)(e)?e:0}},122:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(10),l=n(277);function InfoTooltip(t){var n=t.onOpen,i=t.title,a=t.tooltipClassName;return i?e.createElement(c.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:r()("googlesitekit-info-tooltip__content",a),title:i,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(l.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:o.a.func,title:o.a.oneOfType([o.a.string,o.a.element]),tooltipClassName:o.a.string}}).call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var i=n(21),r=n.n(i),a=n(7),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),g=n.n(d);function Cell(t){var n,i=t.className,a=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,v=t.smStart,b=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,A=t.children,w=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},w,{className:g()(i,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),A)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",r()({ref:n,className:u()("mdc-layout-grid__inner",i)},c),a)}));g.displayName="Row",g.propTypes={className:l.a.string,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.alignLeft,a=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":i,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));g.displayName="Grid",g.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),i.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return i.createElement("svg",r({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),i.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return i.createElement("svg",r({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var i=n(21),r=n.n(i),a=n(166),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,i=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(g.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",r()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,r()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},i))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},134:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,i=t.href,r=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:i,external:a})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,i=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===i)return null;var r=1===i.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),i[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),i.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:r})}RecoverableModules.propTypes={moduleSlugs:r.a.arrayOf(r.a.string).isRequired}}).call(this,n(4))},139:function(e,t,n){"use strict";(function(e,i){var r=n(50),a=n.n(r),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),h=n(0),v=n(2),b=n(67);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return d()(this,n)}}var _=function(t){s()(MediaErrorHandler,t);var n=E(MediaErrorHandler);function MediaErrorHandler(e){var t;return a()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?i.createElement(b.a,{message:n}):t}}]),MediaErrorHandler}(h.Component);_.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},_.propTypes={children:p.a.node.isRequired,errorMessage:p.a.string.isRequired},t.a=_}).call(this,n(26),n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i="core/site",r="primary",a="secondary"},141:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(13),l=n(0),s=n(2),u=n(3),d=n(19),g=n(34),f=n(150),m=n(81),p=n(67),h=n(85),v=n(117),b=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,i=t.moduleSlug,r=t.error,a=Object(b.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(i)})),E=Array.isArray(r)?r:[r],O=function(e){return Object(g.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(f.a)(e.message,o)):Object(g.b)(e)},y=Object(c.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=E.some((function(e){return Object(g.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,i=null==r||null===(n=r.data)||void 0===n?void 0:n.reconnectURL;return i?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:i}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(v.a,{moduleSlug:i,error:r}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},142:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,i=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==i?void 0:i.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==i?void 0:i.name)})}ReportZero.propTypes={moduleSlug:r.a.string.isRequired}}).call(this,n(4))},149:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return g})),n.d(t,"d",(function(){return f}));var i=1,r=2,a=3,o="enhanced-measurement-activation-banner-tooltip-state",c="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",s="_r.explorerCard..seldim",u="_r..dataFilters",d="_r..nav",g="key-metrics-connect-ga4-cta-widget",f="ads-conversion-id-notice-dismissed-item"},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(2);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,a=void 0===r?"":r,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(i.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(i.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(i.sprintf)( /* translators: %s: module name */ Object(i.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(i.sprintf)( /* translators: %s: owner name */ Object(i.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(i.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},151:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"none"},e),a)}},153:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var i=n(2),r="audience-segmentation-info-notice-ui",a="audience-segmentation-info-notice",o=[{slug:"new-visitors",content:Object(i.__)("The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.","google-site-kit")},{slug:"compare-metrics",content:Object(i.__)("Select up to three visitor groups to display on the dashboard and easily compare metrics between them.","google-site-kit")},{slug:"custom-audiences",content:Object(i.__)("Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.","google-site-kit")},{slug:"purchasers",content:Object(i.__)("Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.","google-site-kit")},{slug:"returning-visitors",content:Object(i.__)("The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.","google-site-kit")},{slug:"compare-new-returning",content:Object(i.__)("Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.","google-site-kit")},{slug:"compare-cities",content:Object(i.__)("Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.","google-site-kit")}]},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(3),r=n(24);function a(e){return Object(i.useSelect)((function(t){return t(r.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(232),r=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(i.b)((function(){return r.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},163:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileLoading}));var i=n(40);function AudienceTileLoading(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-loading"},e.createElement(i.a,{width:"100%",height:"20px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}),e.createElement(i.a,{width:"100%",height:"52px"}))}}).call(this,n(4))},164:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(355);function r(e){return Object(i.a)(e)}},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},17:function(e,t,n){"use strict";var i=n(245);n.d(t,"i",(function(){return i.a}));var r=n(309);n.d(t,"f",(function(){return r.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},171:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(8);function ChangeBadge(t){var n=t.previousValue,i=t.currentValue,r=t.isAbsolute?i-n:Object(c.h)(n,i),a=r<0,l=0===r;return null===r?null:e.createElement("div",{className:o()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":a,"googlesitekit-change-badge--zero":l})},Object(c.C)(r,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:r.a.bool,previousValue:r.a.number.isRequired,currentValue:r.a.number.isRequired}}).call(this,n(4))},172:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(7),r=n.n(i),a=n(2),o=n(6),c=n(14),l=n(9),s=n(44);function u(e,t,n){return!!Object(s.b)("conversionReporting")&&(e(l.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(o.a).isKeyMetricActive(n))}var d,g=n(30);function f(e,t){return!t||!(!t||!e(l.p).getAdSenseLinked())}function m(e,t){return!t||e(l.p).hasCustomDimensions(this.requiredCustomDimensions)}var p=(d={},r()(d,o.f,{title:Object(a.__)("Top earning pages","google-site-kit"),description:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:f,displayInList:f,metadata:{group:g.d.SLUG}}),r()(d,o.y,{title:Object(a.__)("Top recent trending pages","google-site-kit"),description:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.l,{title:Object(a.__)("Most popular authors by pageviews","google-site-kit"),description:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.p,{title:Object(a.__)("Top categories by pageviews","google-site-kit"),description:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),r()(d,o.m,{title:Object(a.__)("Most popular content by pageviews","google-site-kit"),description:Object(a.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.n,{title:Object(a.__)("Most popular products by pageviews","google-site-kit"),description:Object(a.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(o.a).isKeyMetricActive(o.n)||e(c.c).getProductPostType()},displayInWidgetArea:m,metadata:{group:g.g.SLUG}}),r()(d,o.k,{title:Object(a.__)("Pages per visit","google-site-kit"),description:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.F,{title:Object(a.__)("Visit length","google-site-kit"),description:Object(a.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(a.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.E,{title:Object(a.__)("Visits per visitor","google-site-kit"),description:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.i,{title:Object(a.__)("Most engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.h,{title:Object(a.__)("Least engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(a.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:g.d.SLUG}}),r()(d,o.z,{title:Object(a.__)("Top pages by returning visitors","google-site-kit"),description:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.j,{title:Object(a.__)("New visitors","google-site-kit"),description:Object(a.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(a.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.o,{title:Object(a.__)("Returning visitors","google-site-kit"),description:Object(a.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(a.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),r()(d,o.A,{title:Object(a.__)("Top traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.B,{title:Object(a.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.C,{title:Object(a.__)("Top traffic source driving leads","google-site-kit"),description:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.D,{title:Object(a.__)("Top traffic source driving purchases","google-site-kit"),description:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.g,{title:Object(a.__)("Most engaged traffic source","google-site-kit"),description:Object(a.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.u,{title:Object(a.__)("Top converting traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.q,{title:Object(a.__)("Top cities driving traffic","google-site-kit"),description:Object(a.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.s,{title:Object(a.__)("Top cities driving leads","google-site-kit"),description:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),r()(d,o.r,{title:Object(a.__)("Top cities driving add to cart","google-site-kit"),description:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.t,{title:Object(a.__)("Top cities driving purchases","google-site-kit"),description:Object(a.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.w,{title:Object(a.__)("Top device driving purchases","google-site-kit"),description:Object(a.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),r()(d,o.v,{title:Object(a.__)("Top countries driving traffic","google-site-kit"),description:Object(a.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.G,{title:Object(a.__)("Top performing keywords","google-site-kit"),description:Object(a.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(a.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:g.e.SLUG}}),r()(d,o.x,{title:Object(a.__)("Top pages driving leads","google-site-kit"),description:Object(a.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),d)},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(6),d=n(19),g=n(32),f=n(36),m=n(18);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),i=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(g.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,v=Object(c.useCallback)(o()(r.a.mark((function n(){var i,o,c;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(i=n.sent,o=i.error,c=i.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&i?v:null}},18:function(e,t,n){"use strict";var i=n(0),r=n(63);t.a=function(){return Object(i.useContext)(r.b)}},181:function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var i=n(15),r=n.n(i),a=n(27),o=n.n(a),c=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function g(e,t){var n=[],i=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:i};var a=0,o=0,l=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void i.push(o);var h=d(a,m),v=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==v&&0!==d(h.sort(l)[0].counter,v).filter(f).length||h.some(f)&&(h=(h=h.sort(g)).filter(f));var b=h[0].width;if(i.push(o),(a+=c.c[b])>12){if(a-=c.c[b],i[p]++,9===a){var E=u(n,a),_=r()(E,2);n=_[0],a=_[1]}a=c.c[b],o++}else 12===a&&(a=0,o++);n.push(c.c[b])})),9===a){var m=u(n,a),p=r()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:i}}var f=n(13);function m(e,t,n){var i=n.columnWidths,r=n.rowIndexes,a=[],l=o()(i);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},i=0;i<e.length;i++){var r,a=e[i],o=null==t?void 0:t[a.slug],l=null==o?void 0:o.Component,s=null==o||null===(r=o.metadata)||void 0===r?void 0:r.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(g))}}return e.forEach((function(n,o){var c,g,m,p,h;if(a.push(null),s=t[n.slug],u=r[o],s)if(g=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,h=r[o+1],p===h&&Object(f.isEqual)(g,m))d.push(i[o]),l[o]=0;else if(d.length>0){d.push(i[o]);var v=d.reduce((function(e,t){return e+t}),0);a[o]=s,l[o]=v,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(207);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},189:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileWrapper}));var i=n(12),r=n.n(i),a=n(13),o=n(1),c=n.n(o),l=n(0),s=n(2),u=n(172),d=n(437),g=n(438),f=n(264),m=n(439),p=n(117),h=n(34),v=n(8),b=n(18);function MetricTileWrapper(t){var n,i,o,c=t.className,E=t.children,_=t.error,O=t.loading,y=t.moduleSlug,k=t.Widget,j=t.widgetSlug,S=t.title,A=void 0===S?null===(n=u.a[j])||void 0===n?void 0:n.title:S,w=t.infoTooltip,T=void 0===w?(null===(i=u.a[j])||void 0===i?void 0:i.infoTooltip)||(null===(o=u.a[j])||void 0===o?void 0:o.description):w,C=Object(b.a)(),N=!!_&&Object(a.castArray)(_).some(h.e),R=Object(l.useCallback)((function(){Object(v.J)("".concat(C,"_kmw"),"data_loading_error_retry")}),[C]);return Object(l.useEffect)((function(){_&&Object(v.J)("".concat(C,"_kmw"),"data_loading_error")}),[C,_]),_?e.createElement(f.a,{title:N?Object(s.__)("Insufficient permissions","google-site-kit"):Object(s.__)("Data loading failed","google-site-kit"),headerText:A,infoTooltip:T},e.createElement(p.a,{moduleSlug:y,error:_,onRetry:R,GetHelpLink:N?d.a:void 0,getHelpClassName:"googlesitekit-error-retry-text"})):e.createElement(k,{noPadding:!0},e.createElement("div",{className:r()("googlesitekit-km-widget-tile",c)},e.createElement(m.a,{title:A,infoTooltip:T,loading:O}),e.createElement("div",{className:"googlesitekit-km-widget-tile__body"},O&&e.createElement(g.a,null),!O&&E)))}MetricTileWrapper.propTypes={Widget:c.a.elementType.isRequired,loading:c.a.bool,title:c.a.string,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),moduleSlug:c.a.string.isRequired}}).call(this,n(4))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i="core/modules",r="insufficient_module_dependencies"},190:function(e,t,n){"use strict";(function(e){var i=n(13),r=n(1),a=n.n(r),o=n(0),c=n(54),l=n(3),s=n(34),u=n(24),d=n(153),g=n(442),f=n(108),m=n(8),p=n(18),h=Object(f.a)(g.a);function AudienceSegmentationErrorWidget(t){var n=t.Widget,r=t.errors,a=t.onRetry,c=t.showRetryButton,g=Object(p.a)(),f=Object(l.useDispatch)(u.b).setValue,v=r?Object(i.castArray)(r):[],b=v.some(s.e);return Object(o.useEffect)((function(){f(d.b,!0)}),[f]),e.createElement(h,{Widget:n,errors:v,onRetry:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"data_loading_error_retry").finally((function(){f(d.b,!1),null==a||a()}))},onRequestAccess:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"insufficient_permissions_error_request_access")},showRetryButton:c,onInView:function(){var e=b?"insufficient_permissions_error":"data_loading_error";Object(m.J)("".concat(g,"_audiences-all-tiles"),e)}})}AudienceSegmentationErrorWidget.propTypes={Widget:a.a.elementType.isRequired,errors:a.a.oneOfType([a.a.object,a.a.arrayOf(a.a.object)]).isRequired,onRetry:a.a.func,showRetryButton:a.a.bool},t.a=Object(c.a)({moduleName:"analytics-4"})(AudienceSegmentationErrorWidget)}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),g=n(0),f=n(2),m=n(126),p=n(127),h=n(128),v=n(80),b=n(77),E=Object(g.forwardRef)((function(t,n){var i,a=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,A=t.danger,w=void 0!==A&&A,T=t.disabled,C=void 0!==T&&T,N=t.external,R=void 0!==N&&N,D=t.hideExternalIndicator,M=void 0!==D&&D,x=t.href,I=void 0===x?"":x,B=t.inverse,P=void 0!==B&&B,F=t.noFlex,L=void 0!==F&&F,z=t.onClick,W=t.small,V=void 0!==W&&W,H=t.standalone,G=void 0!==H&&H,U=t.linkButton,q=void 0!==U&&U,K=t.to,Y=t.leadingIcon,J=t.trailingIcon,X=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),Z=I||K||!z?K?"ROUTER_LINK":R?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",$="BUTTON"===Z||"BUTTON_DISABLED"===Z?"button":"ROUTER_LINK"===Z?d.b:"a",Q=("EXTERNAL_LINK"===Z&&(i=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===Z&&(i=Object(f._x)("(disabled)","screen reader text","google-site-kit")),i?a?"".concat(a," ").concat(i):"string"==typeof k?"".concat(k," ").concat(i):void 0:a),ee=Y,te=J;return _&&(ee=e.createElement(h.a,{width:14,height:14})),R&&!M&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(m.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement($,r()({"aria-label":Q,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":V,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":w,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":G,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!L}),disabled:C,href:"LINK"!==Z&&"EXTERNAL_LINK"!==Z||C?void 0:I,onClick:z,rel:"EXTERNAL_LINK"===Z?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===Z?"_blank":void 0,to:K},X),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(b.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},205:function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var i=n(0),r=n(1),a=n.n(r),o=n(3),c=n(14),l=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,r=void 0===n?0:n,a=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()})),s=Object(o.useDispatch)(l.a).triggerSurvey;return Object(i.useEffect)((function(){a&&s(t,{ttl:r})}),[a,t,r,s]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return v}));var i=n(21),r=n.n(i),a=n(57),o=n.n(a),c=n(229),l=n(258),s=n(259),u=n(199),d=n(230),g=n(260),f=n(0),m=o()((function(e){return{widgetSlug:e,Widget:p(e)(c.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var i=Object(f.forwardRef)((function(i,a){return e.createElement(n,r()({},i,{ref:a,widgetSlug:t}))}));return i.displayName="WithWidgetSlug",(n.displayName||n.name)&&(i.displayName+="(".concat(n.displayName||n.name,")")),i}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(i){return e.createElement(t,r()({},i,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(i){return e.createElement(n,r()({},i,{WPDashboardReportError:p(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},208:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return JoyrideTooltip}));var r=n(7),a=n.n(r),o=n(15),c=n.n(o),l=n(1),s=n(31),u=n(506),d=n(0),g=n(130),f=n(76),m=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,r=t.content,a=t.dismissLabel,o=t.target,l=t.cta,p=void 0!==l&&l,v=t.className,b=t.styles,E=void 0===b?{}:b,_=t.slug,O=void 0===_?"":_,y=t.onDismiss,k=void 0===y?function(){}:y,j=t.onView,S=void 0===j?function(){}:j,A=t.onTourStart,w=void 0===A?function(){}:A,T=t.onTourEnd,C=void 0===T?function(){}:T,N=function(){return!!e.document.querySelector(o)},R=Object(d.useState)(N),D=c()(R,2),M=D[0],x=D[1];if(Object(u.a)((function(){N()&&x(!0)}),M?null:250),Object(d.useEffect)((function(){if(M&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,M]),!M)return null;var I=[{title:n,target:o,content:r,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:v}],B={last:a};return i.createElement(f.a,{slug:O},i.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:w(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:C(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:k();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:B,steps:I,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var i=n(574),r=n(12),a=n.n(r),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,r=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,g=t.notificationID,f=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(g)})),v=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(v(g),null==f||f())}),[h,g,f,v,m]),!m||!h)return null;var b=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:b},r,c&&e.createElement(c,null)):e.createElement(i.a,{direction:"up",in:h},e.createElement("div",{className:b},o&&e.createElement(o,null),r))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return i})),n.d(t,"l",(function(){return r})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var i="mainDashboard",r="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",v="key-metrics",b="traffic",E="content",_="speed",O="monetization",y=[i,r,a,o,c,s,g,h],k=[a,o,d,p]},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),i=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(r.a.mark((function a(){var o,c,l,s;return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){r.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){r.next=7;break}return c.firstChild.click(),r.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!i&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:l});case 12:case"end":return r.stop()}}),a)}))),[n,i,t,e])}},225:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(23),g=n.n(d),f=n(0),m=n(1),p=n.n(m),h=n(3),v=n(208),b=n(24),E=n(160);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,i=t.tooltipStateKey,r=g()(t,["onDismiss","tooltipStateKey"]),a=Object(h.useDispatch)(b.b).setValue,c=Object(E.a)(i),s=c.rehideAdminMenu,d=c.rehideAdminSubMenu,m=Object(f.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(i,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,i]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},r))}AdminMenuTooltip.propTypes=O(O({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},226:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(3),l=n(20),s=n(114),u=n(76),d=n(14),g=n(9),f=n(34),m=n(8);function AudienceErrorModal(t){var n=t.apiErrors,i=t.hasOAuthError,r=t.inProgress,p=t.title,h=t.description,v=t.trackEventCategory,b=t.onCancel,E=void 0===b?function(){}:b,_=t.onRetry,O=void 0===_?function(){}:_,y=Array.isArray(n)?n:[n],k=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),j=Object(c.useSelect)((function(e){return e(g.p).getServiceEntityAccessURL()})),S=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!y.length&&!i)return null;var A,w,T,C,N=y.some((function(e){return Object(f.e)(e)}));return i?(A=Object(o.__)("Analytics update failed","google-site-kit"),w=Object(a.a)(Object(o.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:S,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),T=Object(o.__)("Retry","google-site-kit")):N?(A=Object(o.__)("Insufficient permissions","google-site-kit"),w=Object(a.a)(Object(o.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:k,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),T=Object(o.__)("Request access","google-site-kit"),C=j):(A=p||Object(o.__)("Failed to set up visitor groups","google-site-kit"),w=h||Object(o.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),T=Object(o.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(s.a,{dialogActive:!0,buttonLink:C,title:A,subtitle:w,handleConfirm:function(){var e;e=i?"auth_error_retry":N?"insufficient_permissions_error_request_access":"setup_error_retry",Object(m.J)(v,e).finally((function(){N||O()}))},confirmButton:T,handleDialog:function(){var e;e=i?"auth_error_cancel":N?"insufficient_permissions_error_cancel":"setup_error_cancel",Object(m.J)(v,e).finally(E)},onOpen:function(){var e;e=i?"auth_error":N?"insufficient_permissions_error":"setup_error",Object(m.J)(v,e)},onClose:E,danger:!0,inProgress:r}))}AudienceErrorModal.propTypes={apiErrors:r.a.oneOfType([r.a.arrayOf(r.a.object),r.a.object,r.a.array]),hasOAuthError:r.a.bool,inProgress:r.a.bool,title:r.a.string,description:r.a.string,trackEventCategory:r.a.string,onCancel:r.a.func,onRetry:r.a.func}}).call(this,n(4))},227:function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(10),s=n(474),u=Object(c.forwardRef)((function(t,n){var i=t.className,a=t.content,o=t.dismissLabel,c=t.Icon,u=void 0===c?s.a:c,d=t.onDismiss;return e.createElement("div",{ref:n,className:r()("googlesitekit-audience-segmentation-info-notice",i)},e.createElement(u,{width:"20",height:"20"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-info-notice__body"},e.createElement("p",null,a),o&&e.createElement(l.Button,{tertiary:!0,onClick:d,className:"googlesitekit-audience-segmentation-info-notice__dismiss"},o)))}));u.propTypes={className:o.a.string,content:o.a.string.isRequired,dismissLabel:o.a.string,Icon:o.a.elementType,onDismiss:o.a.func},t.a=u}).call(this,n(4))},229:function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var i=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:r()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},i),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},230:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(27),l=n.n(c),s=n(23),u=n.n(s),d=n(1),g=n.n(d),f=n(0),m=n(118),p=n(136);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,i=t.moduleSlugs,r=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:l()(i).sort().join(","),moduleSlugs:i}}),[i]);return Object(m.a)(n,p.a,a),e.createElement(p.a,o()({moduleSlugs:i},r))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},231:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BadgeWithTooltip}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(122);function BadgeWithTooltip(t){var n=t.className,i=void 0===n?"":n,r=t.label,a=t.onTooltipOpen,l=t.tooltipTitle;return e.createElement("span",{className:o()("googlesitekit-badge-with-tooltip","googlesitekit-badge",i)},r,l&&e.createElement(c.a,{onOpen:a,title:l}))}BadgeWithTooltip.propTypes={onTooltipOpen:r.a.func,tooltipTitle:r.a.node,className:r.a.string,label:r.a.node.isRequired}}).call(this,n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var i="core/ui",r="activeContextID"},246:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(313),g=n(247),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,i=t.onClick,a=void 0===i?function(){}:i,c=t.isSaving,l=void 0!==c&&c,s=t.spinnerPosition,m=void 0===s?f.AFTER:s,p=o()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,r()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":l,"googlesitekit-button-icon--spinner__before":m===f.BEFORE,"googlesitekit-button-icon--spinner__after":m===f.AFTER}),icon:l&&m===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:l&&m===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},p))}SpinnerButton.propTypes={className:l.a.string,onClick:l.a.func,isSaving:l.a.bool,spinnerPosition:l.a.oneOf(Object.values(f))}}).call(this,n(4))},247:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var i=n(627);function CircularProgress(t){return e.createElement(i.a,t)}}).call(this,n(4))},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var i=n(79),r="xlarge",a="desktop",o="tablet",c="small";function l(){var e=Object(i.a)();return e>1280?r:e>960?a:e>600?o:c}},253:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(9);function i(e){var t;return 400===(null==e?void 0:e.code)&&(null==e||null===(t=e.message)||void 0===t?void 0:t.includes("is not a valid dimension"))}},255:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileText}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(171),u=n(8),d=n(189);function MetricTileText(t){var n=t.metricValue,i=t.metricValueFormat,a=t.subText,c=t.previousValue,l=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),f=Object(u.n)(i);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--text"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},n),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},a)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(s.a,{previousValue:c,currentValue:l,isAbsolute:"percent"===(null==f?void 0:f.style)})))}MetricTileText.propTypes={metricValue:l.a.oneOfType([l.a.string,l.a.number]),subtext:l.a.string,previousValue:l.a.number,currentValue:l.a.number}}).call(this,n(4))},258:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var i=n(7),r=n.n(i),a=n(21),o=n.n(a),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(118),f=n(142);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetReportZero(t){var n=t.widgetSlug,i=t.moduleSlug,r=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:i}}),[i]);return Object(g.a)(n,f.a,a),e.createElement(f.a,o()({moduleSlug:i},r))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},259:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var i=n(7),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},260:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var i=n(1),r=n.n(i),a=n(520),o=n(200),c=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,i=t.error,r=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=i.message,g=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),r)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==r?null:e.createElement(s.a,{moduleSlug:n,error:i})}WPDashboardReportError.propTypes={moduleSlug:r.a.string.isRequired,error:r.a.object.isRequired}}).call(this,n(4))},263:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(0),l=n(2),s=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,i=t.learnMoreLink,r=t.forceOpen,a=t.hasLeftSpacing,g=t.hasNoSpacing,f=t.onLearnMoreClick,m=void 0===f?function(){}:f,p=e.createElement(u.a,{className:o()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":g}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:i,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:r},p):p}NewBadge.propTypes={tooltipTitle:r.a.string,learnMoreLink:r.a.string,forceOpen:r.a.bool,onLearnMoreClick:r.a.func,hasLeftSpacing:r.a.bool,hasNoSpacing:r.a.bool},t.a=NewBadge}).call(this,n(4))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileError}));var i=n(85),r=n(122);function MetricTileError(t){var n=t.children,a=t.headerText,o=t.infoTooltip,c=t.title;return e.createElement("div",{className:"googlesitekit-km-widget-tile--error"},e.createElement(i.a,{title:c,headerText:a,headerContent:o&&e.createElement(r.a,{title:o}),description:"",error:!0},n))}}).call(this,n(4))},268:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileMetric}));var i=n(1),r=n.n(i),a=n(8);function AudienceTileMetric(t){var n=t.TileIcon,i=t.title,r=t.metricValue,o=t.Badge,c=t.metricValueFormat;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(n,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__value"},Object(a.C)(r,c)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},i)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__badge-container"},e.createElement(o,null)))}AudienceTileMetric.propTypes={TileIcon:r.a.elementType.isRequired,title:r.a.string.isRequired,metricValue:r.a.number.isRequired,Badge:r.a.elementType.isRequired,metricValueFormat:r.a.object}}).call(this,n(4))},275:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),o=i.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return i.createElement("svg",r({viewBox:"0 0 22 22",fill:"currentColor"},e),a,o)}},277:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return i.createElement("svg",r({viewBox:"0 0 16 16",fill:"none"},e),a)}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="core/forms"},3:function(e,t){e.exports=googlesitekit.data},30:function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"k",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"o",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return b}));var i=n(2),r="key-metrics-setup-cta-widget",a="key-metrics-acr-subtle-notification",o="googlesitekit-key-metrics-selection-panel-opened",c="key-metrics-selection-form",l="key-metrics-selected",s=2,u=4,d=8,g="current-selection",f={SLUG:"visitors",LABEL:Object(i.__)("Visitors","google-site-kit")},m={SLUG:"driving-traffic",LABEL:Object(i.__)("Driving traffic","google-site-kit")},p={SLUG:"generating-leads",LABEL:Object(i.__)("Generating leads","google-site-kit")},h={SLUG:"selling-products",LABEL:Object(i.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(i.__)("Content performance","google-site-kit")},b=[f,m,p,h,v]},312:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(3),o=n(54),c=n(9),l=n(6),s=n(472),u=n(108),d=n(8),g=n(18),f=Object(u.a)(s.a);function NoAudienceBannerWidget(t){var n=t.Widget,i=t.WidgetNull,r=Object(g.a)(),o=Object(a.useSelect)((function(e){var t=e(c.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),s=Object(a.useSelect)((function(e){return e(l.a).getConfiguredAudiences()})),u=Object(a.useSelect)((function(e){return e(l.a).didSetAudiences()})),m=null==s?void 0:s.every((function(e){return Array.isArray(o)&&!o.includes(e)}));return s&&(0===(null==s?void 0:s.length)||m)?e.createElement(n,{noPadding:!0},e.createElement(f,{onInView:function(){Object(d.J)("".concat(r,"_audiences-no-audiences"),"view_banner",u?"no-longer-available":"none-selected")}})):e.createElement(i,null)}NoAudienceBannerWidget.propTypes={Widget:r.a.elementType.isRequired,WidgetNull:r.a.elementType.isRequired},t.a=Object(o.a)({moduleName:"analytics-4"})(NoAudienceBannerWidget)}).call(this,n(4))},313:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(387),g=n(0),f=n(2),m=n(17),p=n(314),h=Object(g.forwardRef)((function(t,n){var i=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,h=t.disabled,v=t.target,b=t.icon,E=t.trailingIcon,_=t["aria-label"],O=t.title,y=t.customizedTooltip,k=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,A=void 0!==S&&S,w=t.tooltipEnterDelayInMS,T=void 0===w?100:w,C=t.tertiary,N=void 0!==C&&C,R=t.callout,D=t.calloutStyle,M=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),x=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),I=Object(d.a)(n,x),B=a&&!h?"a":"button",P=e.createElement(B,r()({className:l()("mdc-button",s,{"mdc-button--raised":!c&&!N&&!R,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":N,"mdc-button--callout":R,"mdc-button--callout-primary":R||"primary"===D,"mdc-button--callout-warning":"warning"===D,"mdc-button--callout-error":"error"===D}),href:h?void 0:a,ref:I,disabled:!!h,"aria-label":function(){var e=_;if("_blank"!==v)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof i&&(e=e||i),e?"".concat(e," ").concat(t):t}(),target:v||"_self",role:"a"===B?"button":void 0},M),b,i&&e.createElement("span",{className:"mdc-button__label"},i),E),F=A?null:O||y||_;return!h&&(k&&F||b&&F&&void 0===i)?e.createElement(p.a,{title:F,enterDelay:T},P):P}));h.displayName="Button",h.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},h.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=h}).call(this,n(4))},314:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(628),g=n(0);function Tooltip(t){var n=t.children,i=t.popperClassName,a=t.tooltipClassName,c=t.onOpen,l=t.onClose,s=o()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),f=Object(g.useRef)(!1),m=c?function(){f.current||(f.current=!0,null==c||c())}:void 0,p=c?function(){f.current=!1,null==l||l()}:l;return e.createElement(d.a,r()({classes:{popper:u()("googlesitekit-tooltip-popper",i),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:m,onClose:p},s),n)}Tooltip.propTypes={children:l.a.node,popperClassName:l.a.string,tooltipClassName:l.a.string,onOpen:l.a.func,onClose:l.a.func}}).call(this,n(4))},315:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)(Object(o.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:r.a.string.isRequired}}).call(this,n(4))},316:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileNoData}));var i=n(2);function AudienceTileNoData(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__no-data"},Object(i.__)("No data to show yet","google-site-kit"))}}).call(this,n(4))},317:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PartialDataNotice}));var i=n(1),r=n.n(i);function PartialDataNotice(t){var n=t.content;return e.createElement("span",{className:"googlesitekit-audience-segmentation-partial-data-notice"},n)}PartialDataNotice.propTypes={content:r.a.node}}).call(this,n(4))},318:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),u=i.createElement("path",{d:"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z",fill:"#77AD8C"}),d=i.createElement("path",{d:"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z",fill:"#5C9271"}),g=i.createElement("path",{d:"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z",fill:"#CBD0D3"}),f=i.createElement("path",{d:"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z",fill:"#EBEEF0"}),m=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z",fill:"#CBD0D3"}),p=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z",fill:"#B8BDB9"}),h=i.createElement("path",{d:"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z",fill:"#B8BDB9"}),v=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z",fill:"#B8BDB9"}),b=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z",fill:"#EBEEF0"}),E=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z",fill:"#CBD0D3"}),_=i.createElement("path",{d:"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z",fill:"#CBD0D3"}),O=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z",fill:"#CBD0D3"}),y=i.createElement("path",{d:"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),k=i.createElement("path",{d:"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),j=i.createElement("path",{d:"M39.988 67.196l.768 37.221",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),S=i.createElement("path",{d:"M31.757 63.326a27.536 27.536 0 00-2.058 5.225",stroke:"#1967D2",strokeWidth:2.748,strokeLinejoin:"round"}),A=i.createElement("path",{d:"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),w=i.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#70B2F5"}),T=i.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#77AD8C"}),C=i.createElement("path",{d:"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z",fill:"#5C9271"}),N=i.createElement("path",{d:"M45.22 104.418h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),R=i.createElement("path",{d:"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z",fill:"#CBD0D3"}),D=i.createElement("path",{d:"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z",fill:"#EBEEF0"}),M=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z",fill:"#CBD0D3"}),x=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z",fill:"#B8BDB9"}),I=i.createElement("path",{d:"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z",fill:"#B8BDB9"}),B=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z",fill:"#B8BDB9"}),P=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z",fill:"#EBEEF0"}),F=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z",fill:"#CBD0D3"}),L=i.createElement("path",{d:"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z",fill:"#CBD0D3"}),z=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z",fill:"#CBD0D3"}),W=i.createElement("path",{d:"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),V=i.createElement("path",{d:"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),H=i.createElement("path",{d:"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),G=i.createElement("path",{d:"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),U=i.createElement("path",{d:"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),q=i.createElement("path",{d:"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z",fill:"#77AD8C"}),K=i.createElement("path",{d:"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z",fill:"#5C9271"}),Y=i.createElement("path",{d:"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),J=i.createElement("path",{d:"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z",fill:"#CBD0D3"}),X=i.createElement("path",{d:"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z",fill:"#EBEEF0"}),Z=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z",fill:"#CBD0D3"}),$=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z",fill:"#B8BDB9"}),Q=i.createElement("path",{d:"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z",fill:"#B8BDB9"}),ee=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z",fill:"#B8BDB9"}),te=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z",fill:"#EBEEF0"}),ne=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z",fill:"#CBD0D3"}),ie=i.createElement("path",{d:"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z",fill:"#CBD0D3"}),re=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z",fill:"#CBD0D3"}),ae=i.createElement("path",{d:"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),oe=i.createElement("path",{d:"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),ce=i.createElement("path",{d:"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),le=i.createElement("path",{d:"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z",fill:"#77AD8C"}),se=i.createElement("path",{d:"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z",fill:"#5C9271"}),ue=i.createElement("path",{d:"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),de=i.createElement("path",{d:"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z",fill:"#CBD0D3"}),ge=i.createElement("path",{d:"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z",fill:"#EBEEF0"}),fe=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z",fill:"#CBD0D3"}),me=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z",fill:"#B8BDB9"}),pe=i.createElement("path",{d:"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z",fill:"#B8BDB9"}),he=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z",fill:"#B8BDB9"}),ve=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z",fill:"#EBEEF0"}),be=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z",fill:"#CBD0D3"}),Ee=i.createElement("path",{d:"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z",fill:"#CBD0D3"}),_e=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z",fill:"#CBD0D3"}),Oe=i.createElement("path",{d:"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"});t.a=function SvgNoAudienceBannerGraphic(e){return i.createElement("svg",r({viewBox:"0 0 211 109",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,j,S,A,w,T,C,N,R,D,M,x,I,B,P,F,L,z,W,V,H,G,U,q,K,Y,J,X,Z,$,Q,ee,te,ne,ie,re,ae,oe,ce,le,se,ue,de,ge,fe,me,pe,he,ve,be,Ee,_e,Oe)}},319:function(e,t,n){"use strict";(function(e){var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var i=t.className,a=t.children,o=t.Icon,c=t.SVGGraphic;return e.createElement("div",{ref:n,className:r()("googlesitekit-lean-cta-banner",i)},e.createElement("div",{className:"googlesitekit-lean-cta-banner__body"},o&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-icon"},e.createElement(o,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-content"},a)),c&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__graphic"},e.createElement(c,null)))}));l.propTypes={className:o.a.string,children:o.a.node.isRequired,Icon:o.a.elementType,SVGGraphic:o.a.elementType},t.a=l}).call(this,n(4))},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="core/location"},320:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z",fill:"#F3F5F7"}),o=i.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618",stroke:"#161B18",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),u=i.createElement("path",{d:"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),d=i.createElement("path",{d:"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z",fill:"#CBD0D3"}),g=i.createElement("path",{d:"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z",fill:"#999F9B"}),f=i.createElement("path",{d:"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),m=i.createElement("path",{d:"M159.169 21.79l-22.985 89.068",stroke:"#7B807D",strokeWidth:3.607,strokeMiterlimit:10,strokeLinecap:"round"}),p=i.createElement("path",{d:"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z",fill:"#E77D5B"}),h=i.createElement("path",{d:"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z",fill:"#962C0A"}),v=i.createElement("path",{d:"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationErrorFullWidth(e){return i.createElement("svg",r({viewBox:"0 0 233 117",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,v)}},334:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(10),l=n(151),s=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,i=t.description,a=t.Icon,o=t.ctaLink,g=t.ctaLabel,f=t.className,m=t.onCTAClick,p=t.isCTALinkExternal,h=t.dismissLabel,v=t.onDismiss,b=t.variant,E=void 0===b?d.SUCCESS:b,_=t.hideIcon,O=void 0!==_&&_;return e.createElement("div",{className:r()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":E===d.SUCCESS,"googlesitekit-subtle-notification--warning":E===d.WARNING},f)},!O&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&E===d.SUCCESS&&e.createElement(l.a,{width:24,height:24}),!a&&E===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),i&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},h&&e.createElement(c.Button,{tertiary:!0,onClick:v},h),g&&e.createElement(c.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:m,target:p?"_blank":"_self",trailingIcon:p?e.createElement(s.a,{width:14,height:14}):void 0},g)))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,className:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func,variant:o.a.oneOf(Object.values(d)),hideIcon:o.a.bool},t.b=SubtleNotification}).call(this,n(4))},339:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var i=n(1),r=n.n(i),a=n(20),o=n(119);function SelectionPanelHeader(t){var n=t.children,i=t.title,r=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,i),e.createElement(a.a,{className:"googlesitekit-selection-panel-header__close",onClick:r,linkButton:!0},e.createElement(o.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:r.a.node,title:r.a.string,onCloseClick:r.a.func}}).call(this,n(4))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var i=n(2),r="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===r}function l(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(i.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(i.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},340:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var i=n(1),r=n.n(i),a=n(345);function SelectionPanelItem(t){var n=t.children,i=t.id,r=t.slug,o=t.title,c=t.description,l=t.isItemSelected,s=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,g=t.suffix,f=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(a.a,{badge:f,checked:l,disabled:s,id:i,onChange:u,title:o,value:r},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),c,n),g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},g))}SelectionPanelItem.propTypes={children:r.a.node,id:r.a.string,slug:r.a.string,title:r.a.string,description:r.a.string,isItemSelected:r.a.bool,isItemDisabled:r.a.bool,onCheckboxChange:r.a.func,subtitle:r.a.string,suffix:r.a.node,badge:r.a.node}}).call(this,n(4))},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var i=n(21),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,i=void 0===n?Object(l.__)("Current selection","google-site-kit"):n,a=t.availableItemsTitle,o=void 0===a?Object(l.__)("Additional items","google-site-kit"):a,s=t.savedItemSlugs,u=void 0===s?[]:s,d=t.availableSavedItems,g=void 0===d?{}:d,f=t.availableUnsavedItems,m=void 0===f?{}:f,p=t.ItemComponent,h=function(t){return Object.keys(t).map((function(n){return e.createElement(p,r()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(m).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},i),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(g)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},o)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(m)))}SelectionPanelItems.propTypes={currentSelectionTitle:o.a.string,availableItemsTitle:o.a.string,savedItemSlugs:o.a.array,availableSavedItems:o.a.object,availableUnsavedItems:o.a.object,ItemComponent:o.a.elementType}}).call(this,n(4))},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(13),u=n(1),d=n.n(u),g=n(0),f=n(38),m=n(2),p=n(3),h=n(10),v=n(116),b=n(8),E=n(9),_=n(40),O=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,i=void 0===n?[]:n,a=t.selectedItemSlugs,c=void 0===a?[]:a,u=t.saveSettings,d=void 0===u?function(){}:u,y=t.saveError,k=t.itemLimitError,j=t.minSelectedItemCount,S=void 0===j?0:j,A=t.maxSelectedItemCount,w=void 0===A?0:A,T=t.isBusy,C=t.onSaveSuccess,N=void 0===C?function(){}:C,R=t.onCancel,D=void 0===R?function(){}:R,M=t.isOpen,x=t.closePanel,I=void 0===x?function(){}:x,B=Object(g.useState)(null),P=l()(B,2),F=P[0],L=P[1],z=Object(g.useState)(!1),W=l()(z,2),V=W[0],H=W[1],G=Object(p.useSelect)((function(e){return e(E.p).isFetchingSyncAvailableAudiences()})),U=Object(g.useMemo)((function(){return!Object(s.isEqual)(Object(b.F)(c),Object(b.F)(i))}),[i,c]),q=(null==i?void 0:i.length)>0&&U?Object(m.__)("Apply changes","google-site-kit"):Object(m.__)("Save selection","google-site-kit"),K=Object(g.useCallback)(o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(c);case 2:t=e.sent,t.error||(N(),I(),L(q),H(!0));case 5:case"end":return e.stop()}}),e)}))),[d,c,N,I,q]),Y=Object(g.useCallback)((function(){I(),D()}),[I,D]),J=Object(g.useState)(null),X=l()(J,2),Z=X[0],$=X[1];Object(g.useEffect)((function(){null!==Z&&Z!==M&&M&&(L(null),H(!1)),$(M)}),[M,Z]);var Q=(null==c?void 0:c.length)||0,ee=G?e.createElement(_.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(f.a)(Object(m.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(m.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Q,w),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},y&&e.createElement(v.a,{error:y}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},U&&k?e.createElement(O.a,{noPrefix:!0,message:k}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(h.Button,{tertiary:!0,onClick:Y,disabled:T},Object(m.__)("Cancel","google-site-kit")),e.createElement(h.SpinnerButton,{onClick:K,isSaving:T,disabled:Q<S||Q>w||T||!M&&V},F||q))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},343:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(344);function SelectionPanel(t){var n=t.children,i=t.isOpen,a=t.onOpen,o=t.closePanel,l=t.className;return e.createElement(c.a,{className:r()("googlesitekit-selection-panel",l),isOpen:i,onOpen:a,closeSheet:o,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:o.a.node,isOpen:o.a.bool,onOpen:o.a.func,closePanel:o.a.func,className:o.a.string}}).call(this,n(4))},344:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var i=n(7),r=n.n(i),a=n(12),o=n.n(a),c=n(405),l=n.n(c),s=n(1),u=n.n(s),d=n(217),g=n(401),f=n(0),m=n(56),p=n(76);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,i=t.children,r=t.isOpen,a=t.onOpen,c=void 0===a?function(){}:a,s=t.closeSheet,u=void 0===s?function(){}:s,h=t.focusTrapOptions,b=void 0===h?{}:h,E=Object(f.useRef)();return Object(f.useEffect)((function(){r?(c(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[r,c]),Object(d.a)(E,u),Object(g.a)((function(e){return r&&m.c===e.keyCode}),u),e.createElement(p.a,null,e.createElement(l.a,{active:!!r,focusTrapOptions:v({fallbackFocus:"body"},b)},e.createElement("section",{ref:E,className:o()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":r}),role:"dialog","aria-modal":"true","aria-hidden":!r,tabIndex:"0"},i)),r&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},345:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(10);function SelectionBox(t){var n=t.badge,i=t.checked,r=t.children,a=t.disabled,l=t.id,s=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:o()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":a})},e.createElement(c.Checkbox,{checked:i,description:r,disabled:a,id:l,name:l,onChange:s,value:d,badge:n},u))}SelectionBox.propTypes={badge:r.a.node,checked:r.a.bool,children:r.a.node,disabled:r.a.bool,id:r.a.string,onChange:r.a.func,title:r.a.string,value:r.a.string}}).call(this,n(4))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(22),r=n(18);function a(){var e=Object(r.a)();return i.g.includes(e)}},353:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var r=n(2),a=n(10),o=n(3),c=n(380),l=n(381),s=n(213),u=n(89),d=n(25),g=n(24),f=n(6),m=n(19),p=n(18),h=n(35),v=n(8),b=n(9),E=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(p.a)(),n=Object(h.a)(),_=Object(d.e)(),O=Object(E.c)(),y=Object(o.useSelect)((function(e){return e(f.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),k=Object(o.useSelect)((function(e){var t=e(f.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),i=e(f.a).isAudienceSegmentationWidgetHidden(),r=e(m.a).isModuleActive("analytics-4"),a=!n||e(f.a).canViewSharedModule("analytics-4"),o=e(b.p).getAudienceSegmentationSetupCompletedBy(),c=e(f.a).getID();return E.b===O&&!1===t&&!1===i&&r&&a&&Number.isInteger(o)&&o!==c})),j=Object(o.useDispatch)(g.b).dismissOverlayNotification,S=function(){j("audienceSegmentationIntroductoryOverlayNotification")};return i.createElement(s.a,{shouldShowNotification:k,GraphicDesktop:c.a,GraphicMobile:l.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},i.createElement("div",{className:"googlesitekit-overlay-notification__body"},i.createElement("h3",null,Object(r.__)("New! Visitor groups","google-site-kit")),i.createElement("p",null,Object(r.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),i.createElement("div",{className:"googlesitekit-overlay-notification__actions"},i.createElement(a.Button,{tertiary:!0,disabled:y,onClick:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Got it","google-site-kit")),i.createElement(a.Button,{disabled:y,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",_),behavior:"smooth"})}),0),Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){S()}))}},Object(r.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},358:function(e,t,n){"use strict";var i=n(226);n.d(t,"b",(function(){return i.a}));n(190),n(353);var r=n(422);n.d(t,"c",(function(){return r.a}));var a=n(423);n.d(t,"e",(function(){return a.a}));var o=n(424);n.d(t,"d",(function(){return o.a}));var c=n(425);n.d(t,"a",(function(){return c.a}));var l=n(426);n.d(t,"f",(function(){return l.a}));var s=n(427);n.d(t,"g",(function(){return s.a}));var u=n(428);n.d(t,"h",(function(){return u.a}));n(227),n(312);var d=n(429);n.d(t,"i",(function(){return d.a}))},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return E}));var i=n(99),r=e._googlesitekitTrackingData||{},a=r.activeModules,o=void 0===a?[]:a,c=r.isSiteKitScreen,l=r.trackingEnabled,s=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,g=r.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},m=Object(i.a)(f),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}c&&l&&v()}).call(this,n(26))},360:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAContent}));var i=n(15),r=n.n(i),a=n(12),o=n.n(a),c=n(1),l=n.n(c),s=n(222),u=n(79),d=n(0),g=n(3),f=n(14),m=n(6),p=n(25),h=n(8),v=n(18),b=n(17),E=n(433),_=n(434),O=n(435),y=n(436);function KeyMetricsCTAContent(t){var n=t.className,i=t.title,a=t.description,c=t.actions,l=t.ga4Connected,k=Object(d.useRef)(),j=Object(p.e)(),S=Object(u.a)(),A=Object(v.a)(),w=j===p.b,T=j===p.c&&S<960,C=S>=1280,N=S>=960&&S<1280;l||(T=j===p.c&&S<800,N=S>=800&&S<1280);var R=Object(s.a)(k,{threshold:.25}),D=Object(d.useState)(!1),M=r()(D,2),x=M[0],I=M[1],B=!!(null==R?void 0:R.intersectionRatio),P=Object(g.useDispatch)(m.a).triggerSurvey,F=Object(g.useSelect)((function(e){return e(f.c).isUsingProxy()}));return Object(d.useEffect)((function(){B&&!x&&(l&&Object(h.J)("".concat(A,"_kmw-cta-notification"),"view_notification"),F&&P("view_kmw_setup_cta",{ttl:h.g}),I(!0))}),[B,A,l,x,F,P]),e.createElement("section",{ref:k,className:o()("googlesitekit-setup__wrapper","googlesitekit-setup__wrapper--key-metrics-setup-cta",n)},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{smSize:5,mdSize:6,lgSize:5,className:"googlesitekit-widget-key-metrics-content__wrapper"},e.createElement("div",{className:"googlesitekit-widget-key-metrics-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},i),e.createElement("p",null,a)),e.createElement("div",{className:"googlesitekit-widget-key-metrics-actions__wrapper"},c),T&&e.createElement(b.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(O.a,null)),w&&e.createElement(b.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(y.a,null))),N&&e.createElement(b.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(_.a,null)),C&&e.createElement(b.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper",smSize:6,mdSize:3,lgSize:6},e.createElement(E.a,null)))))}KeyMetricsCTAContent.propTypes={title:l.a.string,description:l.a.string,actions:l.a.node}}).call(this,n(4))},361:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAFooter}));var i=n(1),r=n.n(i),a=n(2),o=n(17),c=n(20);function KeyMetricsCTAFooter(t){var n=t.onActionClick,i=void 0===n?function(){}:n,r=t.showDismiss;return e.createElement(o.k,{className:"googlesitekit-widget-key-metrics-footer"},e.createElement(o.a,{size:12,className:"googlesitekit-widget-key-metrics-footer__cta-wrapper"},!r&&e.createElement("span",null,Object(a.__)("Interested in specific metrics?","google-site-kit")),e.createElement(c.a,{onClick:i},r?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Select your own metrics","google-site-kit"))))}KeyMetricsCTAFooter.propTypes={onActionClick:r.a.func}}).call(this,n(4))},362:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return i.createElement("svg",r({viewBox:"0 0 23 22",fill:"none"},e),a)}},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Chip}));var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(10),l=n(30),s=n(440);function Chip(t){var n=t.slug,i=t.label,r=t.isActive,a=t.onClick,u=t.selectedCount;return e.createElement(c.Button,{className:o()("googlesitekit-chip-tab-group__chip-item",{"googlesitekit-chip-tab-group__chip-item--active":r}),icon:n===l.b?e.createElement(s.a,{width:12,height:12}):null,trailingIcon:u>0?e.createElement("span",{className:"googlesitekit-chip-tab-group__chip-item-count"},"(",u,")"):null,onClick:function(){return a(n)}},i)}Chip.propTypes={slug:r.a.string.isRequired,label:r.a.string.isRequired,isActive:r.a.bool,selectedCount:r.a.number.isRequired,onClick:r.a.func.isRequired}}).call(this,n(4))},365:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTooltipMessage}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(20),u=n(14);function AudienceTooltipMessage(t){var n=t.audienceSlug,i=t.audienceName,r=Object(l.useSelect)((function(e){return e(u.c).getDocumentationLinkURL("visitor-groups")}));return Object(a.useMemo)((function(){switch(n){case"new-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who visited your site for the first time. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>New visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})});case"returning-visitors":return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)('%s are people who have visited your site at least once before. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>Returning visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})});default:return Object(o.a)(Object(c.sprintf)( /* translators: %s: is the audience name */ Object(c.__)("%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>","google-site-kit"),"<strong>".concat(i,"</strong>")),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:r,external:!0,hideExternalIndicator:!0})})}}),[n,i,r])}AudienceTooltipMessage.propTypes={audienceSlug:r.a.string.isRequired}}).call(this,n(4))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RetryButton}));var i=n(1),r=n.n(i),a=n(2),o=n(10),c=n(8),l=n(18);function RetryButton(t){var n=t.handleRetry,i=Object(l.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",onClick:function(){n(),Object(c.J)("".concat(i,"_audiences-sidebar"),"data_loading_error_retry")},tertiary:!0},Object(a.__)("Retry","google-site-kit"))}RetryButton.propTypes={handleRetry:r.a.func.isRequired}}).call(this,n(4))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},376:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(3),r=n(19),a=n(6),o=n(30),c=n(9),l=n(64);function s(){return Object(i.useSelect)((function(e){var t=e(a.a).isItemDismissed(o.l),n=u(e,"search-console",l.b),i=u(e,"analytics-4",c.p);return!1===t&&n&&i}),[])}function u(e,t,n){if(e(r.a).isModuleConnected(t)){var i=e(n),a=i.isGatheringData,o=i.isDataAvailableOnLoad;return a(),o()}}},377:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var i=n(271),r=n(3),a=n(24),o="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(r.useDispatch)(a.b).setValue;return Object(i.a)((function(){e(o,!0)})),null}},378:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var i=n(7),r=n.n(i),a=n(27),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(3),g=n(28),f=n(46),m=n(19),p=n(30),h=n(115);function MetricItem(t){var n=t.slug,i=t.title,a=t.description,c=t.savedItemSlugs,l=void 0===c?[]:c,v=Object(d.useSelect)((function(e){var t=e(m.a).getModule,i=e(f.a).getWidget(n);return null==i?void 0:i.modules.reduce((function(e,n){var i=t(n);return(null==i?void 0:i.connected)||!(null==i?void 0:i.name)?e:[].concat(o()(e),[i.name])}),[])})),b=Object(d.useSelect)((function(e){return e(g.a).getValue(p.j,p.i)})),E=Object(d.useSelect)((function(e){return e(g.a)})).getValue,_=Object(d.useDispatch)(g.a).setValues,O=Object(s.useCallback)((function(e){var t=E(p.j,p.i);_(p.j,r()({},p.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[E,_,n]),y=null==b?void 0:b.includes(n),k=!l.includes(n)&&v.length>0,j="key-metric-selection-checkbox-".concat(n);return e.createElement(h.c,{id:j,slug:n,title:i,description:a,isItemSelected:y,isItemDisabled:k,onCheckboxChange:O},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,savedItemSlugs:l.a.array}}).call(this,n(4))},379:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(0),r=n(3),a=n(6),o=n(19),c=n(32);function l(e){var t=Object(r.useSelect)((function(e){return e(a.a).hasCapability(a.K)})),n=Object(r.useSelect)((function(t){return t(o.a).getModuleStoreName(e)})),l=Object(r.useSelect)((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),s=Object(r.useDispatch)(c.a).navigateTo,u=Object(i.useCallback)((function(){return s(l)}),[l,s]);return l&&t?u:null}},380:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},i.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},i.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),i.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},i.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),i.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),o=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},i.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return i.createElement("svg",r({viewBox:"0 0 296 163",fill:"none"},e),a,o)}},381:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=i.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},i.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),i.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),i.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),i.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),i.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),i.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},i.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),i.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),i.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),i.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),i.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),i.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),i.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),l=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},i.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return i.createElement("svg",r({viewBox:"0 0 343 123",fill:"none"},e),i.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},a,i.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},o),c),l)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var i="audience-segmentation-add-group-notice",r="googlesitekit-audience-selection-panel-opened",a="audience-selection-form",o="audience-selected",c="audience-selection-changed",l="audience-segmentation-creation-notice",s="audience-segmentation-creation-success-notice",u=1,d=3,g="audience-creation-edit-scope-notice",f="audience-creation-form"},391:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return SetupSuccess}));var i=n(3),r=n(6),a=n(18),o=n(108),c=n(8),l=n(443),s=Object(o.a)(l.a),u="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(a.a)(),n=Object(i.useSelect)((function(e){return e(r.a).isItemDismissed(u)}));return void 0===n||n?null:e.createElement(s,{onInView:function(){Object(c.J)("".concat(t,"_audiences-setup-cta-settings-success"),"view_notification")}})}}).call(this,n(4))},392:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(221),u=n(2),d=n(0),g=n(157),f=n(3),m=n(28),p=n(6),h=n(34),v=n(9);function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,i=t.onSuccess,a=t.onError,c=Object(s.a)(),b=Object(d.useState)([]),E=l()(b,2),_=E[0],O=E[1],y=Object(d.useState)([]),k=l()(y,2),j=k[0],S=k[1],A=Object(d.useState)(!1),w=l()(A,2),T=w[0],C=w[1],N=Object(f.useSelect)((function(e){return e(p.a).hasScope(v.g)})),R=Object(f.useSelect)((function(e){return e(m.a).getValue(v.c,"autoSubmit")})),D=Object(f.useDispatch)(m.a),M=D.setValues,x=Object(f.useDispatch)(p.a),I=x.setPermissionScopeError,B=Object(f.useDispatch)(v.p),P=B.enableAudienceGroup;n||(n=Object(g.a)(e.location.href,{notification:"audience_segmentation"}));var F=Object(d.useCallback)(o()(r.a.mark((function t(){var o,l,s;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(C(!0),N){t.next=5;break}return M(v.c,{autoSubmit:!0}),I({code:h.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[v.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n,errorRedirectURL:e.location.href}}),t.abrupt("return");case 5:return M(v.c,{autoSubmit:!1}),t.next=8,P(j);case 8:if(t.t0=t.sent,t.t0){t.next=11;break}t.t0={};case 11:o=t.t0,l=o.error,s=o.failedSiteKitAudienceSlugs,l||s?null==a||a():null==i||i(),c()&&(l?(O([l]),S([])):Array.isArray(s)?(S(s),O([])):(O([]),S([])),C(!1));case 16:case"end":return t.stop()}}),t)}))),[N,M,P,j,c,I,n,a,i]);return Object(d.useEffect)((function(){N&&R&&F()}),[N,R,F]),{apiErrors:_,failedAudiences:j,isSaving:T,onEnableGroups:F}}}).call(this,n(26))},40:function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(1),o=n.n(a),c=n(12),l=n.n(c),s=n(25);function PreviewBlock(t){var n,i,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,v=t.desktopHeight,b=Object(s.e)(),E={width:(n={},r()(n,s.b,g),r()(n,s.c,m),r()(n,s.a,h),r()(n,s.d,h),n),height:(i={},r()(i,s.b,f),r()(i,s.c,p),r()(i,s.a,v),r()(i,s.d,h),i)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[b]||o,height:E.height[b]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},415:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeMetricsLink}));var i=n(0),r=n(2),a=n(3),o=n(24),c=n(6),l=n(30),s=n(20),u=n(275),d=n(432),g=n(8),f=n(18),m=n(496);function ChangeMetricsLink(){var t=Object(a.useSelect)((function(e){return e(c.a).getKeyMetrics()})),n=Object(f.a)(),p=Object(a.useDispatch)(o.b).setValue,h=Object(i.useCallback)((function(){p(l.k,!0),Object(g.J)("".concat(n,"_kmw"),"change_metrics")}),[p,n]),v=Array.isArray(t)&&(null==t?void 0:t.length)>0;return Object(m.a)(v),v?e.createElement(i.Fragment,null,e.createElement(s.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:h,leadingIcon:e.createElement(u.a,{width:22,height:22})},Object(r.__)("Change metrics","google-site-kit")),e.createElement(d.a,null)):null}}).call(this,n(4))},416:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InsufficientPermissionsError}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(14),u=n(20),d=n(264),g=n(8),f=n(18);function InsufficientPermissionsError(t){var n=t.moduleSlug,i=t.onRetry,r=t.infoTooltip,m=t.headerText,p=Object(f.a)(),h=Object(l.useSelect)((function(e){return e(s.c).getErrorTroubleshootingLinkURL({code:"".concat(n,"_insufficient_permissions")})}));Object(a.useEffect)((function(){Object(g.K)("".concat(p,"_kmw"),"insufficient_permissions_error")}),[p]);var v=Object(a.useCallback)((function(){Object(g.J)("".concat(p,"_kmw"),"insufficient_permissions_error_retry"),null==i||i()}),[i,p]);return e.createElement(d.a,{title:Object(c.__)("Insufficient permissions","google-site-kit"),headerText:m,infoTooltip:r},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("Permissions updated? <a>Retry</a>","google-site-kit"),{a:e.createElement(u.a,{onClick:v})})),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("You’ll need to contact your administrator. <a>Learn more</a>","google-site-kit"),{a:e.createElement(u.a,{href:h,external:!0,hideExternalIndicator:!0})}))))}InsufficientPermissionsError.propTypes={moduleSlug:r.a.string.isRequired,onRetry:r.a.func.isRequired,headerText:r.a.string,infoTooltip:r.a.string}}).call(this,n(4))},417:function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(1),l=n.n(c),s=n(91),u=n(2),d=n(0),g=n(3),f=n(10),m=n(360),p=n(361),h=n(6),v=n(14),b=n(30),E=n(24),_=n(54),O=n(110),y=n(8),k=n(18),j=n(376),S=n(377);function KeyMetricsSetupCTAWidget(t){var n=t.Widget,i=t.WidgetNull,a=Object(k.a)(),c=Object(j.a)(),l=Object(g.useSelect)((function(e){return e(v.c).getAdminURL("googlesitekit-user-input")})),_=Object(O.b)(b.l),A=Object(O.c)(b.l).isTooltipVisible,w=Object(g.useDispatch)(h.a).dismissItem,T=Object(g.useDispatch)(E.b).setValue,C=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.J)("".concat(a,"_kmw-cta-notification"),"dismiss_notification");case 2:return _(),e.next=5,w(b.l);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=Object(d.useCallback)((function(){Object(y.J)("".concat(a,"_kmw"),"tooltip_dismiss")}),[a]),R=Object(d.useCallback)((function(){T(b.k,!0),Object(y.J)("".concat(a,"_kmw-cta-notification"),"confirm_pick_own_metrics")}),[T,a]),D=Object(d.useCallback)((function(){Object(y.J)("".concat(a,"_kmw-cta-notification"),"confirm_get_tailored_metrics")}),[a]);return Object(s.a)((function(){A&&Object(y.J)("".concat(a,"_kmw"),"tooltip_view")})),A?e.createElement(d.Fragment,null,e.createElement(i,null),e.createElement(O.a,{title:Object(u.__)("You can always set up goals from Settings later","google-site-kit"),content:Object(u.__)("The Key Metrics section will be added back to your dashboard once you set your goals in Settings","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),tooltipStateKey:b.l,onDismiss:N})):c?e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(p.a,{onActionClick:R})}},e.createElement(m.a,{title:Object(u.__)("Get personalized suggestions for user interaction metrics based on your goals","google-site-kit"),description:Object(u.__)("Answer 3 questions and we’ll suggest relevant metrics for your dashboard. These metrics will help you track how users interact with your site.","google-site-kit"),actions:e.createElement(d.Fragment,null,e.createElement(S.b,null),e.createElement(f.Button,{className:"googlesitekit-key-metrics-cta-button",href:l,onClick:D},Object(u.__)("Get tailored metrics","google-site-kit")),e.createElement(f.Button,{tertiary:!0,onClick:C},Object(u.__)("Maybe later","google-site-kit"))),ga4Connected:!0})):e.createElement(i,null)}KeyMetricsSetupCTAWidget.propTypes={Widget:l.a.elementType.isRequired,WidgetNull:l.a.elementType},t.a=Object(_.a)({moduleName:"analytics-4"})(KeyMetricsSetupCTAWidget)}).call(this,n(4))},418:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileNumeric}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(8),u=n(171),d=n(189);function MetricTileNumeric(t){var n=t.metricValue,i=t.metricValueFormat,a=t.subText,c=t.previousValue,l=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),f=Object(s.n)(i);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--numeric"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},Object(s.C)(n,f)),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},a)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(u.a,{previousValue:c,currentValue:l,isAbsolute:"percent"===(null==f?void 0:f.style)})))}MetricTileNumeric.propTypes={metricValue:l.a.oneOfType([l.a.string,l.a.number]),metricValueFormat:l.a.oneOfType([l.a.string,l.a.object]),subtext:l.a.string,previousValue:l.a.number,currentValue:l.a.number}}).call(this,n(4))},419:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTable}));var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n(12),d=n.n(u),g=n(189);function MetricTileTable(t){var n=t.rows,i=void 0===n?[]:n,a=t.columns,c=void 0===a?[]:a,l=t.limit,u=t.ZeroState,f=o()(t,["rows","columns","limit","ZeroState"]),m=null;return(null==i?void 0:i.length)>0?m=i.slice(0,l||i.length).map((function(t,n){return e.createElement("div",{key:n,className:"googlesitekit-table__body-row"},c.map((function(n,i){var r=n.Component,a=n.field,o=n.className,c=void 0!==a?Object(s.get)(t,a):void 0;return e.createElement("div",{key:i,className:d()("googlesitekit-table__body-item",o)},r&&e.createElement(r,{row:t,fieldValue:c}),!r&&c)})))})):u&&(m=e.createElement("div",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("div",{className:"googlesitekit-table__body-zero-data"},e.createElement(u,null)))),e.createElement(g.a,r()({className:"googlesitekit-km-widget-tile--table"},f),e.createElement("div",{className:"googlesitekit-km-widget-tile__table"},m))}MetricTileTable.propTypes={rows:l.a.array,columns:l.a.array,limit:l.a.number,ZeroState:l.a.elementType}}).call(this,n(4))},420:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTablePlainText}));var i=n(1),r=n.n(i);function MetricTileTablePlainText(t){var n=t.content;return e.createElement("p",{className:"googlesitekit-km-widget-tile__table-plain-text"},n)}MetricTileTablePlainText.propTypes={content:r.a.string.isRequired}}).call(this,n(4))},421:function(e,t,n){"use strict";(function(e){n(21),n(27),n(15),n(0),n(2),n(3),n(30),n(28),n(364),n(378),n(441),n(25)}).call(this,n(4))},422:function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(371),g=n(2),f=n(0),m=n(3),p=n(54),h=n(28),v=n(6),b=n(14),E=n(60),_=n(9),O=n(391),y=n(18),k=n(110),j=n(181),S=n(8),A=n(108),w=n(392),T=n(226),C=n(444),N=Object(A.a)(C.a);function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,i=t.WidgetNull,a=Object(y.a)(),c=Object(m.useDispatch)(E.a).invalidateResolution,s=Object(m.useDispatch)(h.a).setValues,u=Object(k.b)("audience_segmentation_setup_cta-notification"),d=Object(k.c)("audience_segmentation_setup_cta-notification").isTooltipVisible,p=Object(m.useSelect)((function(e){return e(v.a).isPromptDismissed("audience_segmentation_setup_cta-notification")})),j=Object(m.useSelect)((function(e){return e(v.a).getPromptDismissCount("audience_segmentation_setup_cta-notification")})),A=Object(m.useSelect)((function(e){return e(v.a).hasFinishedResolution("getDismissedPrompts",[])})),C=Object(m.useSelect)((function(e){return e(v.a).getConfiguredAudiences()})),R=Object(m.useSelect)((function(e){return e(h.a).getValue(_.c,"autoSubmit")})),D=Object(f.useState)(!1),M=l()(D,2),x=M[0],I=M[1],B=Object(m.useDispatch)(v.a),P=B.dismissItem,F=B.dismissPrompt,L=Object(w.a)({onSuccess:function(){c("getQueuedNotifications",[a]),F("audience_segmentation_setup_cta-notification",{expiresInSeconds:0}),P(O.a)},onError:function(){I(!0)}}),z=L.apiErrors,W=L.failedAudiences,V=L.isSaving,H=L.onEnableGroups,G=Object(m.useSelect)((function(e){return e(_.p).isGatheringData(),e(_.p).isDataAvailableOnLoad()})),U=Object(m.useSelect)((function(e){return e(_.p).getAudienceSegmentationSetupCompletedBy()}));var q=Object(m.useDispatch)(v.a).clearPermissionScopeError,K=Object(m.useDispatch)(b.c).setSetupErrorCode,Y=Object(f.useCallback)((function(){s(_.c,{autoSubmit:!1}),q(),K(null),I(!1)}),[q,K,s]),J=Object(m.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),X=R&&"access_denied"===J;if(Object(f.useEffect)((function(){d&&Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_view")}),[d,a]),d)return e.createElement(f.Fragment,null,e.createElement(i,null),e.createElement(k.a,{title:Object(g.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(g.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),onDismiss:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_dismiss")},tooltipStateKey:"audience_segmentation_setup_cta-notification"}));if(null!==U||void 0===C||(null==C?void 0:C.length)||!G||p||!A)return null;return e.createElement(f.Fragment,null,e.createElement(N,{Widget:n,onEnableGroups:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"confirm_notification").finally(H)},isSaving:V,dismissCount:j,handleDismissClick:function(){u(),Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"dismiss_notification").finally(o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(j<1)){e.next=6;break}return t=2*S.g,e.next=4,F("audience_segmentation_setup_cta-notification",{expiresInSeconds:t});case 4:e.next=8;break;case 6:return e.next=8,F("audience_segmentation_setup_cta-notification");case 8:case"end":return e.stop()}}),e)}))))},onInView:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"view_notification")}}),(x||X)&&e.createElement(T.a,{hasOAuthError:X,apiErrors:z.length?z:W,onRetry:H,inProgress:V,onCancel:X?Y:function(){return I(!1)},trackEventCategory:"".concat(a,"_audiences-setup")}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.a=Object(d.a)(Object(p.a)({moduleName:"analytics-4"}),Object(j.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},423:function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(3),f=n(54),m=n(9),p=n(6),h=n(448),v=n(163),b=n(190),E=n(312),_=n(199),O=n(34);function AudienceTilesWidget(t){var n=t.Widget,i=Object(g.useSelect)((function(e){var t=e(m.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),a=Object(g.useSelect)((function(e){return e(p.a).getConfiguredAudiences()})),c=Object(d.useState)(!1),s=l()(c,2),u=s[0],f=s[1],y=Object(g.useDispatch)(m.p),k=y.clearErrors,j=y.maybeSyncAvailableAudiences,S=y.syncAvailableAudiences,A=Object(g.useSelect)((function(e){return e(m.p).isSettingUpAudiences()})),w=Object(g.useSelect)((function(e){return e(m.p).getErrorForAction("syncAvailableAudiences")}));if(Object(d.useEffect)((function(){u||A||function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:f(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[u,A,j]),w){var T=Object(O.e)(w);return e.createElement(b.a,{errors:w,Widget:n,onRetry:T?void 0:o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k("syncAvailableAudiences");case 2:return e.next=4,S();case 4:case"end":return e.stop()}}),e)}))),showRetryButton:!T})}return(null==a?void 0:a.some((function(e){return null==i?void 0:i.includes(e)})))?e.createElement(h.a,{Widget:n,widgetLoading:!u||!i||!a}):u?e.createElement(E.a,{Widget:n,WidgetNull:_.a}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(v.a,null)),e.createElement(n,{noPadding:!0},e.createElement(v.a,null))))}AudienceTilesWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4"})(AudienceTilesWidget)}).call(this,n(4))},424:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceSelectionPanel}));var i=n(7),r=n.n(i),a=n(0),o=n(3),c=n(18),l=n(35),s=n(8),u=n(39),d=n(28),g=n(24),f=n(6),m=n(9),p=n(473),h=n(475),v=n(478),b=n(480),E=n(481),_=n(482),O=n(115),y=n(483),k=n(485);function AudienceSelectionPanel(){var t=Object(c.a)(),n=Object(l.a)(),i=Object(o.useSelect)((function(e){return e(g.b).getValue(u.i)})),j=Object(o.useSelect)((function(e){var t=e(m.p).getConfigurableAudiences,n=(0,e(f.a).getConfiguredAudiences)()||[],i=t()||[];return i.length&&n.length?i.filter((function(e){var t=e.name;return n.includes(t)})).map((function(e){return e.name})):[]})),S=Object(o.useSelect)((function(e){return e(d.a).getValue(u.c,"autoSubmit")})),A=Object(o.useDispatch)(d.a).setValues,w=Object(o.useDispatch)(g.b).setValue,T=Object(a.useCallback)((function(){var e;A(u.h,(e={},r()(e,u.f,j),r()(e,u.g,!1),e)),Object(s.J)("".concat(t,"_audiences-sidebar"),"audiences_sidebar_view")}),[j,A,t]),C=Object(a.useCallback)((function(){i&&(w(u.i,!1),w(u.e,!1))}),[w,i]);return e.createElement(O.e,{className:"googlesitekit-audience-selection-panel",closePanel:C,isOpen:i||S,onOpen:T},e.createElement(E.a,{closePanel:C}),e.createElement(h.a,{savedItemSlugs:j}),e.createElement(p.a,null),!n&&e.createElement(y.a,null),e.createElement(_.a,null),e.createElement(v.a,null),e.createElement(k.a,null),e.createElement(b.a,{closePanel:C,isOpen:i,savedItemSlugs:j}))}}).call(this,n(4))},425:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceAreaFooter}));var i=n(2),r=n(3),a=n(6),o=n(9),c=n(19),l=n(134),s=n(35);function AudienceAreaFooter(){var t=Object(s.a)(),n=Object(r.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:o.f})})),u=Object(r.useSelect)((function(e){return t?null:e(o.p).getServiceReportURL("audiences",{dates:n})}));return Object(r.useSelect)((function(e){return e(c.a).isModuleConnected("analytics-4")}))?e.createElement(l.a,{className:"googlesitekit-audience-widget__source",name:Object(i._x)("Analytics","Service name","google-site-kit"),href:u,external:!0}):null}}).call(this,n(4))},426:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeGroupsLink}));var i=n(0),r=n(2),a=n(3),o=n(18),c=n(8),l=n(39),s=n(24),u=n(9),d=n(20),g=n(275);function ChangeGroupsLink(){var t=Object(o.a)(),n=Object(a.useInViewSelect)((function(e){return e(u.p).getConfigurableAudiences()}),[]),f=Object(a.useDispatch)(s.b).setValue,m=Object(i.useCallback)((function(){f(l.i,!0),Object(c.J)("".concat(t,"_audiences-sidebar"),"change_groups")}),[f,t]);return Array.isArray(n)&&(null==n?void 0:n.length)>0?e.createElement(i.Fragment,null,e.createElement(d.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:m,leadingIcon:e.createElement(g.a,{width:22,height:22})},Object(r.__)("Change groups","google-site-kit"))):null}}).call(this,n(4))},427:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAnalyticsCTAWidget}));var i=n(1),r=n.n(i),a=n(38),o=n(0),c=n(2),l=n(3),s=n(486),u=n(487),d=n(20),g=n(19),f=n(176),m=n(25),p=n(319);function ConnectAnalyticsCTAWidget(t){var n=t.Widget,i=Object(m.e)()===m.c,r=Object(f.a)("analytics-4"),h=Object(l.useSelect)((function(e){return e(g.a).getModuleIcon("analytics-4")})),v=i?e.createElement("p",null,Object(a.a)(Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>","google-site-kit"),{a:e.createElement(d.a,{secondary:!0,onClick:r})})):e.createElement(o.Fragment,null,e.createElement("p",null,Object(c.__)("Google Analytics is disconnected, your audience metrics can’t be displayed","google-site-kit")),e.createElement(d.a,{secondary:!0,onClick:r},Object(c.__)("Connect Google Analytics","google-site-kit")));return e.createElement(n,{noPadding:!0},e.createElement(p.a,{Icon:h,SVGGraphic:i?u.a:s.a},v))}ConnectAnalyticsCTAWidget.propTypes={Widget:r.a.elementType.isRequired}}).call(this,n(4))},428:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(3),l=n(6),s=n(8),u=n(54),d=n(227),g=n(153),f=n(9),m=n(24),p=n(108),h=n(18),v=Object(p.a)(d.a);function InfoNoticeWidget(t){var n=t.Widget,i=t.WidgetNull,r=Object(h.a)(),u=Object(c.useInViewSelect)((function(e){var t=e(f.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))}),[]),d=Object(c.useInViewSelect)((function(e){return e(l.a).getConfiguredAudiences()}),[]),p=null==d?void 0:d.some((function(e){return null==u?void 0:u.includes(e)})),b=g.a.length,E=Object(c.useInViewSelect)((function(e){return e(l.a).isPromptDismissed(g.c)}),[]),_=Object(c.useSelect)((function(e){return e(m.b).getValue(g.b)})),O=Object(c.useInViewSelect)((function(e){return e(l.a).getPromptDismissCount(g.c)}),[]),y=Object(c.useDispatch)(l.a).dismissPrompt,k=Object(a.useCallback)((function(){void 0!==O&&Object(s.J)("".concat(r,"_audiences-info-notice"),"dismiss_notice",g.a[O].slug).finally((function(){var e=2*s.g,t=O+1<b?e:0;y(g.c,{expiresInSeconds:t})}))}),[O,y,b,r]);if(!0!==p||E||void 0===O||O>=b||!0===_)return e.createElement(i,null);var j=g.a[O],S=j.slug,A=j.content;return e.createElement(n,{noPadding:!0},e.createElement(v,{content:A,dismissLabel:Object(o.__)("Got it","google-site-kit"),onDismiss:k,onInView:function(){Object(s.J)("".concat(r,"_audiences-info-notice"),"view_notice",S)}}))}InfoNoticeWidget.propTypes={Widget:r.a.elementType.isRequired,WidgetNull:r.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"analytics-4"})(InfoNoticeWidget)}).call(this,n(4))},429:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SecondaryUserSetupWidget}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(91),g=n(0),f=n(3),m=n(163),p=n(9),h=n(190),v=n(34);function SecondaryUserSetupWidget(t){var n=t.Widget,i=Object(g.useState)(null),a=l()(i,2),c=a[0],s=a[1],u=Object(f.useSelect)((function(e){return e(p.p).isSettingUpAudiences()})),b=Object(f.useDispatch)(p.p).enableSecondaryUserAudienceGroup,E=function(){var e=o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(null),e.next=3,b();case 3:t=e.sent,(n=t.error)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(d.a)((function(){u||o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:t=e.sent,(n=t.error)&&s(n);case 5:case"end":return e.stop()}}),e)})))()})),c?e.createElement(h.a,{Widget:n,errors:c,onRetry:E,showRetryButton:!Object(v.e)(c)}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(m.a,null)),e.createElement(n,{noPadding:!0},e.createElement(m.a,null))))}SecondaryUserSetupWidget.propTypes={Widget:u.a.elementType.isRequired}}).call(this,n(4))},432:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupCompletedSurveyTrigger}));var i=n(0),r=n(3),a=n(14),o=n(6),c=n(8),l=n(205);function SetupCompletedSurveyTrigger(){var t=Object(r.useSelect)((function(e){return e(a.c).isKeyMetricsSetupCompleted()})),n=Object(r.useSelect)((function(e){return e(a.c).getKeyMetricsSetupCompletedBy()})),s=Object(r.useSelect)((function(e){return e(o.a).getID()}));return t?e.createElement(i.Fragment,null,e.createElement(l.a,{triggerID:"view_kmw",ttl:c.g}),n===s&&e.createElement(l.a,{triggerID:"view_kmw_setup_completed",ttl:c.g})):null}}).call(this,n(4))},433:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupDesktopSVG}));var i=n(0),r=n(2),a=n(40),o=n(139),c=Object(i.lazy)((function(){return n.e(37).then(n.bind(null,793))}));function KeyMetricsSetupDesktopSVG(){return e.createElement(i.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},434:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupSmallDesktopSVG}));var i=n(0),r=n(2),a=n(40),o=n(139),c=Object(i.lazy)((function(){return n.e(39).then(n.bind(null,794))}));function KeyMetricsSetupSmallDesktopSVG(){return e.createElement(i.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},435:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupTabletSVG}));var i=n(0),r=n(2),a=n(40),o=n(139),c=Object(i.lazy)((function(){return n.e(40).then(n.bind(null,795))}));function KeyMetricsSetupTabletSVG(){return e.createElement(i.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},436:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsSetupMobileSVG}));var i=n(0),r=n(2),a=n(40),o=n(139),c=Object(i.lazy)((function(){return n.e(38).then(n.bind(null,796))}));function KeyMetricsSetupMobileSVG(){return e.createElement(i.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"235px"})},e.createElement(o.a,{errorMessage:Object(r.__)("Failed to load graphic","google-site-kit")},e.createElement(c,null)))}}).call(this,n(4))},437:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var i=n(1),r=n.n(i),a=n(38),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)( /* translators: %s: get help text. */ Object(o.__)("Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:r.a.string.isRequired}}).call(this,n(4))},438:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileLoader}));var i=n(40);function MetricTileLoader(){return e.createElement("div",{className:"googlesitekit-km-widget-tile__loading"},e.createElement(i.a,{className:"googlesitekit-km-widget-tile__loading-header",width:"100%",height:"14px"}),e.createElement(i.a,{className:"googlesitekit-km-widget-tile__loading-body",width:"100%",height:"53px"}))}}).call(this,n(4))},439:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileHeader}));var i=n(1),r=n.n(i),a=n(122),o=n(105);function MetricTileHeader(t){var n=t.title,i=t.infoTooltip,r=t.loading;return e.createElement("div",{className:"googlesitekit-km-widget-tile__title-container"},e.createElement("h3",{className:"googlesitekit-km-widget-tile__title"},n),r?e.createElement(o.a,null,e.createElement(a.a,{title:i})):e.createElement(a.a,{title:i}))}MetricTileHeader.propTypes={title:r.a.string,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),loading:r.a.bool}}).call(this,n(4))},44:function(e,t,n){"use strict";(function(e){var i,r;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(i=e)||void 0===i||null===(r=i._googlesitekitBaseData)||void 0===r?void 0:r.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},440:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M2 5.309l1.474 2.14c.69 1.001 1.946 1.001 2.636 0L10 1.8",stroke:"#161B18",strokeWidth:1.6,strokeLinecap:"square"});t.a=function SvgCheck2(e){return i.createElement("svg",r({viewBox:"0 0 12 9",fill:"none"},e),a)}},441:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M59.238 58.571c-2.136 20.178 4.272 29.099 20.48 53.216 16.209 24.118-29.092 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.443-3.208 57.819 12.98 90.86 5.9 33.04-7.08 46.385-42.599 43.153-68.059-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86-18.53 5.918-32.662 22.571-34.335 38.621z",fill:"#B8E6CA"}),o=i.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter0_d_2200_11981)"},i.createElement("rect",{x:242.455,y:45.266,width:130.621,height:89.651,rx:10.957,transform:"rotate(15 242.455 45.266)",fill:"#fff"})),c=i.createElement("rect",{x:253.726,y:64.785,width:24.903,height:7.969,rx:3.985,transform:"rotate(15 253.726 64.785)",fill:"#EBEEF0"}),l=i.createElement("rect",{x:249.342,y:81.144,width:49.806,height:19.923,rx:9.961,transform:"rotate(15 249.342 81.144)",fill:"#FFDED3"}),s=i.createElement("rect",{x:240.436,y:114.357,width:99.428,height:8.773,rx:3.985,transform:"rotate(15 240.436 114.357)",fill:"#EBEEF0"}),u=i.createElement("path",{d:"M256.195 90.198l4.644 8.044m0 0l1.412-4.986m-1.412 4.986l-5.023-1.27",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),d=i.createElement("rect",{x:268.706,y:93.551,width:19.923,height:5.977,rx:1.992,transform:"rotate(15 268.706 93.55)",fill:"#fff"}),g=i.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter1_d_2200_11981)"},i.createElement("rect",{x:13.887,y:79.094,width:130.621,height:89.68,rx:10.957,transform:"rotate(-15 13.887 79.094)",fill:"#fff"})),f=i.createElement("rect",{x:32.989,y:90.122,width:62.386,height:7.798,rx:3.899,transform:"rotate(-15 32.99 90.122)",fill:"#EBEEF0"}),m=i.createElement("rect",{x:37.691,y:106.902,width:49.806,height:19.923,rx:9.961,transform:"rotate(-15 37.691 106.902)",fill:"#FFDED3"}),p=i.createElement("rect",{x:46.612,y:140.967,width:99.428,height:7.798,rx:3.899,transform:"rotate(-15 46.612 140.967)",fill:"#EBEEF0"}),h=i.createElement("path",{d:"M48.152 111.318l8.044 4.645m0 0l-1.27-5.024m1.27 5.024l-4.986 1.411",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),v=i.createElement("rect",{x:60.663,y:107.966,width:19.923,height:5.977,rx:1.992,transform:"rotate(-15 60.663 107.966)",fill:"#fff"}),b=i.createElement("g",{filter:"url(#key-metrics-no-selected-items_svg__filter2_d_2200_11981)"},i.createElement("rect",{x:126.251,y:37.4,width:130.621,height:89.68,rx:10.957,fill:"#fff"})),E=i.createElement("rect",{x:143.013,y:53.134,width:98.333,height:7.867,rx:3.933,fill:"#EBEEF0"}),_=i.createElement("rect",{x:142.369,y:70.423,width:49.806,height:19.923,rx:9.961,fill:"#B8E6CA"}),O=i.createElement("rect",{x:143.013,y:105.84,width:33.04,height:7.867,rx:3.933,fill:"#EBEEF0"}),y=i.createElement("path",{d:"M151.336 84.036l6.568-6.567m0 0l-5.182-.073m5.182.073l.073 5.18",stroke:"#fff",strokeWidth:1.494,strokeLinecap:"round",strokeLinejoin:"round"}),k=i.createElement("rect",{x:164.287,y:77.395,width:19.923,height:5.977,rx:1.992,fill:"#fff"}),j=i.createElement("path",{d:"M59.237 58.571C57.1 78.75 63.509 87.67 79.717 111.787c16.209 24.118-29.091 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.444-3.208 57.82 12.98 90.86 5.9s46.385-42.599 43.153-68.059c-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86C75.042 25.867 60.91 42.52 59.237 58.57z",fill:"#B8E6CA"}),S=i.createElement("g",{mask:"url(#key-metrics-no-selected-items_svg__a)"},i.createElement("path",{d:"M227.674 108.973l11.312-8.418M218.925 98.852l2.868-12.68M205.623 102.87l-5.375-13.037",stroke:"#CBD0D3",strokeWidth:3.147,strokeMiterlimit:10}),i.createElement("path",{d:"M63.953 190.487c16.127 12.193 38.716 10.349 55.335 5.162 16.618-5.187 31.107-14.61 45.314-23.791 6.717-4.337 13.617-8.738 21.496-11.119 7.878-2.381 17.057-2.39 22.958 1.658 3.392 2.328 5.205 5.923 5.36 9.702",stroke:"#3C7251",strokeWidth:9.44,strokeLinejoin:"round"}),i.createElement("path",{d:"M215.831 109.67l-19.169 71.73",stroke:"#CBD0D3",strokeWidth:9.44,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M213.975 116.472l-19.169 71.731",stroke:"#161B18",strokeWidth:9.44,strokeMiterlimit:10})),A=i.createElement("defs",null,i.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter0_d_2200_11981",x:205.773,y:35.772,width:176.33,height:147.36,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:3.985}),i.createElement("feGaussianBlur",{stdDeviation:7.969}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),i.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter1_d_2200_11981",x:.409,y:35.793,width:176.337,height:147.388,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:3.985}),i.createElement("feGaussianBlur",{stdDeviation:7.969}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})),i.createElement("filter",{id:"key-metrics-no-selected-items_svg__filter2_d_2200_11981",x:110.313,y:25.447,width:162.497,height:121.556,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:3.985}),i.createElement("feGaussianBlur",{stdDeviation:7.969}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2200_11981"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2200_11981",result:"shape"})));t.a=function SvgKeyMetricsNoSelectedItems(e){return i.createElement("svg",r({viewBox:"0 0 383 238",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,i.createElement("mask",{id:"key-metrics-no-selected-items_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:58,y:0,width:273,height:230},j),S,A)}},442:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(10),l=n(17),s=n(25),u=n(320),d=n(34),g=n(117),f=n(315),m=Object(a.forwardRef)((function(t,n){var i=t.Widget,r=t.errors,a=t.onRetry,m=t.onRequestAccess,p=t.showRetryButton,h=Object(s.e)(),v=h===s.b,b=h===s.c,E=r.some(d.e);return e.createElement(i,{ref:n,noPadding:!0,className:"googlesitekit-audience-segmentation-error-widget"},e.createElement(l.e,{collapsed:!0,className:"googlesitekit-audience-segmentation-error__widget-primary-cell"},e.createElement(l.k,null,e.createElement(l.a,{smSize:6,mdSize:8,lgSize:7},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},E?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Your visitor groups data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-error__actions"},p&&a?e.createElement(c.Button,{onClick:a,danger:!0},Object(o.__)("Retry","google-site-kit")):e.createElement(g.a,{moduleSlug:"analytics-4",error:r,GetHelpLink:E?f.a:void 0,hideGetHelpLink:!E,buttonVariant:"danger",getHelpClassName:"googlesitekit-error-retry-text",onRetry:a,onRequestAccess:m}))),!v&&!b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(u.a,{width:"233px"})),b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",mdSize:8},e.createElement(u.a,{width:"233px"})),v&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:8},e.createElement(u.a,{width:"233px"})))))}));m.propTypes={Widget:r.a.elementType.isRequired,errors:r.a.arrayOf(r.a.object).isRequired,onRetry:r.a.func.isRequired,onRequestAccess:r.a.func.isRequired,showRetryButton:r.a.bool},t.a=m}).call(this,n(4))},443:function(e,t,n){"use strict";(function(e){var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(0),l=n(2),s=n(157),u=n(84),d=n(32),g=n(14),f=n(6),m=n(8),p=n(18),h=n(3),v=n(10),b=n(151),E=Object(c.forwardRef)((function(t,n){var i=Object(p.a)(),a=Object(h.useSelect)((function(e){var t=e(g.c).getAdminURL("googlesitekit-dashboard");return Object(s.a)(t,{widgetArea:u.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),c=Object(h.useDispatch)(d.a).navigateTo,E=Object(h.useDispatch)(f.a).dismissItem;function _(){return E("settings_visitor_groups_setup_success_notification")}return e.createElement("div",{ref:n,className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(b.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(l.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(v.Button,{tertiary:!0,onClick:function(){Object(m.J)("".concat(i,"_audiences-setup-cta-settings-success"),"dismiss_notification").finally(_)}},Object(l.__)("Got it","google-site-kit")),e.createElement(v.Button,{onClick:function(){Object(m.J)("".concat(i,"_audiences-setup-cta-settings-success"),"confirm_notification").finally(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:c(a);case 3:case"end":return e.stop()}}),e)}))))}},Object(l.__)("Show me","google-site-kit"))))}));t.a=E}).call(this,n(4))},444:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(2),o=n(0),c=n(445),l=n(446),s=n(447),u=n(10),d=n(17),g=n(25),f=Object(o.forwardRef)((function(t,n){var i=t.Widget,r=t.onEnableGroups,f=t.isSaving,m=t.dismissCount,p=t.handleDismissClick,h=Object(g.e)(),v=h===g.b,b=h===g.c;return e.createElement("div",{ref:n,className:"googlesitekit-widget-context"},e.createElement(d.e,{className:"googlesitekit-widget-area"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(i,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(d.e,{collapsed:!0},e.createElement(d.k,null,e.createElement(d.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(a.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(a.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(o.Fragment,null,e.createElement(u.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:r,isSaving:f},f?Object(a.__)("Enabling groups","google-site-kit"):Object(a.__)("Enable groups","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:p},m<1?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Don’t show again","google-site-kit"))))),!v&&!b&&e.createElement(d.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(c.a,null)),b&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(l.a,null)),v&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(s.a,null)))))))))}));f.propTypes={Widget:r.a.elementType.isRequired,onEnableGroups:r.a.func.isRequired,isSaving:r.a.bool.isRequired,dismissCount:r.a.number.isRequired,handleDismissClick:r.a.func.isRequired},t.a=f}).call(this,n(4))},445:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},i.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),i.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),i.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),i.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),i.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),i.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),i.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),i.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),i.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},i.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return i.createElement("svg",r({viewBox:"0 0 496 216",fill:"none"},e),a,o)}},446:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),i.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},i.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return i.createElement("svg",r({viewBox:"0 0 553 146",fill:"none"},e),a,o)}},447:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},i.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},i.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},i.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),i.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),i.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),i.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),i.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),i.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),i.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),i.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),o=i.createElement("defs",null,i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:2.92,dy:3.65}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),i.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},i.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return i.createElement("svg",r({viewBox:"0 0 343 120",fill:"none"},e),a,o)}},448:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTiles}));var i=n(27),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(10),d=n(3),g=n(25),f=n(6),m=n(9),p=n(449),h=n(122),v=n(365),b=n(190),E=n(466),_=n(163),O=n(469),y=n(471),k=n(253),j=n(18),S=n(35),A=n(8),w=function(e,t){var n,i,r,a=null==e||null===(n=e.rows)||void 0===n?void 0:n.find((function(e){var n,i;return(null===(n=e.dimensionValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)===t}));return 0===((null==a||null===(i=a.metricValues)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.value)||0)};function AudienceTiles(t){var n=t.Widget,i=t.widgetLoading,a=Object(j.a)(),c=Object(S.a)(),l=Object(g.e)(),T=l===g.b||l===g.c,C=Object(d.useInViewSelect)((function(e){return e(f.a).getConfiguredAudiences()}),[]),N=Object(d.useInViewSelect)((function(e){return e(m.p).getAvailableAudiences()}),[]),R=Object(d.useSelect)((function(e){return e(m.p).getConfiguredSiteKitAndOtherAudiences()}))||[[],[]],D=o()(R,2),M=D[0],x=D[1],I=Object(d.useSelect)((function(e){return e(m.p).hasAudiencePartialData(M)})),B=Object(y.a)({isSiteKitAudiencePartialData:I,siteKitAudiences:M,otherAudiences:x}),P=B.report,F=B.reportLoaded,L=B.reportError,z=B.siteKitAudiencesReport,W=B.siteKitAudiencesReportLoaded,V=B.siteKitAudiencesReportError,H=B.totalPageviews,G=B.totalPageviewsReportLoaded,U=B.totalPageviewsReportError,q=B.topCitiesReport,K=B.topCitiesReportLoaded,Y=B.topCitiesReportErrors,J=B.topContentReport,X=B.topContentReportLoaded,Z=B.topContentReportErrors,$=B.topContentPageTitlesReport,Q=B.topContentPageTitlesReportLoaded,ee=B.topContentPageTitlesReportErrors,te=function(e,t){var n,i,r,a,o,c,l=(null==N||null===(n=N.filter((function(t){return t.name===e})))||void 0===n||null===(i=n[0])||void 0===i?void 0:i.displayName)||"",s=(null==N||null===(r=N.filter((function(t){return t.name===e})))||void 0===r||null===(a=r[0])||void 0===a?void 0:a.audienceSlug)||"",u=function(e){var t,n=M.some((function(t){return t.name===e})),i=null===(t=M.find((function(t){return t.name===e})))||void 0===t?void 0:t.audienceSlug,r=function(t){var r,a,o,c,l,s,u,d,g,f,m,p,h;if(n&&I){var v,b="new-visitors"===i?"new":"returning";h=null==z||null===(v=z.rows)||void 0===v?void 0:v.find((function(e){var n,i,r=e.dimensionValues;return(null==r||null===(n=r[0])||void 0===n?void 0:n.value)===b&&(null==r||null===(i=r[1])||void 0===i?void 0:i.value)===t}))}else{var E;h=null==P||null===(E=P.rows)||void 0===E?void 0:E.find((function(n){var i,r,a=n.dimensionValues;return(null==a||null===(i=a[0])||void 0===i?void 0:i.value)===e&&(null==a||null===(r=a[1])||void 0===r?void 0:r.value)===t}))}return[Number((null===(r=h)||void 0===r||null===(a=r.metricValues)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.value)||0),Number((null===(c=h)||void 0===c||null===(l=c.metricValues)||void 0===l||null===(s=l[1])||void 0===s?void 0:s.value)||0),Number((null===(u=h)||void 0===u||null===(d=u.metricValues)||void 0===d||null===(g=d[2])||void 0===g?void 0:g.value)||0),Number((null===(f=h)||void 0===f||null===(m=f.metricValues)||void 0===m||null===(p=m[3])||void 0===p?void 0:p.value)||0)]};return{current:r("date_range_0"),previous:r("date_range_1")}}(e),d=u.current,g=u.previous,f=d[0],m=g[0],p=d[1],h=g[1],v=d[2],b=g[2],E=d[3],_=g[3],O=null==q?void 0:q[t],y=null==J?void 0:J[t],k=(null==$||null===(o=$[t])||void 0===o||null===(c=o.rows)||void 0===c?void 0:c.reduce((function(e,t){return e[t.dimensionValues[0].value]=t.dimensionValues[1].value,e}),{}))||{},j=M.some((function(t){return t.name===e})),S=P,A=e;return j&&I&&(S=z,A="new-visitors"===s?"new":"returning"),{audienceName:l,audienceSlug:s,visitors:f,prevVisitors:m,visitsPerVisitors:p,prevVisitsPerVisitors:h,pagesPerVisit:v,prevPagesPerVisit:b,pageviews:E,prevPageviews:_,topCities:O,topContent:y,topContentTitles:k,isZeroData:w(S,A),isPartialData:!j&&ce[e]}},ne=null==C?void 0:C.reduce((function(e,t){return e[t]=[],[Y,Z,ee].forEach((function(n){var i=n[t];i&&!Object(k.a)(i)&&e[t].push(i)})),e}),{}),ie=Object(d.useSelect)((function(e){return e(f.a).getDismissedItems()})),re=Object(d.useSelect)((function(e){return e(f.a)})).isDismissingItem,ae=Object(d.useDispatch)(f.a).dismissItem,oe=Object(s.useCallback)((function(e){ae("audience-tile-".concat(e))}),[ae]),ce=Object(d.useInViewSelect)((function(e){return null==C?void 0:C.reduce((function(t,n){return t[n]=e(m.p).isAudiencePartialData(n),t}),{})}),[C]),le=Object(s.useRef)({}),se=Object(s.useMemo)((function(){for(var e=[],t=[],n=null==C?void 0:C.slice().filter((function(e){return N.some((function(t){return t.name===e}))})),i=function(){var i,r=n.shift(),a=null==ie?void 0:ie.includes("audience-tile-".concat(r)),o=M.some((function(e){return e.name===r})),c=P,l=r;o&&I&&(c=z,l="new-visitors"===(null===(i=M.find((function(e){return e.name===r})))||void 0===i?void 0:i.audienceSlug)?"new":"returning");var s=w(c,l),u=n.length+t.length>0;if(a&&s&&u)return"continue";a&&!s&&e.push(r),t.push(r)};(null==n?void 0:n.length)>0;)i();return[e,t]}),[N,C,ie,I,P,M,z]),ue=o()(se,2),de=ue[0],ge=ue[1];var fe,me=(fe=[],P&&fe.push(L),z&&fe.push(V),!(!fe.every(Boolean)&&!U)||(null==C?void 0:C.every((function(e){return ne[e].length>0}))));Object(s.useEffect)((function(){de.forEach((function(e){var t="audience-tile-".concat(e);le.current[t]||(ae(t,{expiresInSeconds:1}),le.current[t]=!0)}))}),[de,ae,re]);var pe=Object(d.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),he=Object(d.useDispatch)(m.p).fetchSyncAvailableCustomDimensions,ve=Object.values(Z).some(k.a)||Object.values(ee).some(k.a);Object(s.useEffect)((function(){!c&&ve&&he()}),[he,ve,c]);var be=Object(s.useState)(ge[0]),Ee=o()(be,2),_e=Ee[0],Oe=Ee[1],ye=Object(s.useCallback)((function(e){var t=ge.indexOf(e);return-1===t?0:t}),[ge]);Object(s.useEffect)((function(){ge.includes(_e)||Oe(ge[0])}),[_e,ge]);var ke=ye(_e),je=i||!F||!W||!G||!K||!X||!Q||pe,Se=0;return e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},!1===me&&!je&&T&&ge.length>0&&e.createElement(u.TabBar,{key:ge.length,className:"googlesitekit-widget-audience-tiles__tabs",activeIndex:ke,handleActiveIndexUpdate:function(e){return Oe(ge[e])}},ge.map((function(t,n){var i,r,o,c,l=(null==N||null===(i=N.filter((function(e){return e.name===t})))||void 0===i||null===(r=i[0])||void 0===r?void 0:r.displayName)||"",s=(null==N||null===(o=N.filter((function(e){return e.name===t})))||void 0===o||null===(c=o[0])||void 0===c?void 0:c.audienceSlug)||"",d=e.createElement(v.a,{audienceName:l,audienceSlug:s});return e.createElement(u.Tab,{key:n,"aria-label":l},l,e.createElement(h.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){Object(A.J)("".concat(a,"_audiences-tile"),"view_tile_tooltip",s)}}))}))),e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},me&&!je&&e.createElement(b.a,{Widget:n,errors:[].concat(r()(Object.values(ne).flat(2)),[L,U])}),(!1===me||je)&&ge.map((function(t,i){var r,a,o,c,l,s,u,d,g,f,m,h,b,O,y,k,j,S,A,w,C,N,R,D,M,x,I,B,P,F,L,z,W,V,G,U;if(T&&i!==ke)return null;var q=te(t,i),K=q.audienceName,Y=q.audienceSlug,J=q.visitors,X=q.prevVisitors,Z=q.visitsPerVisitors,$=q.prevVisitsPerVisitors,Q=q.pagesPerVisit,ee=q.prevPagesPerVisit,ie=q.pageviews,re=q.prevPageviews,ae=q.topCities,ce=q.topContent,le=q.topContentTitles,se=q.isZeroData,ue=q.isPartialData;return je||void 0===se||void 0===ue?e.createElement(n,{key:t,noPadding:!0},e.createElement(_.a,null)):ne[t].length>0?e.createElement(E.a,{key:t,audienceSlug:Y,errors:ne[t]}):e.createElement(p.a,{key:t,audienceTileNumber:Se++,audienceSlug:Y,title:K,infoTooltip:e.createElement(v.a,{audienceName:K,audienceSlug:Y}),visitors:{currentValue:J,previousValue:X},visitsPerVisitor:{currentValue:Z,previousValue:$},pagesPerVisit:{currentValue:Q,previousValue:ee},pageviews:{currentValue:ie,previousValue:re},percentageOfTotalPageViews:0!==H?ie/H:0,topCities:{dimensionValues:[null==ae||null===(r=ae.rows)||void 0===r||null===(a=r[0])||void 0===a||null===(o=a.dimensionValues)||void 0===o?void 0:o[0],null==ae||null===(c=ae.rows)||void 0===c||null===(l=c[1])||void 0===l||null===(s=l.dimensionValues)||void 0===s?void 0:s[0],null==ae||null===(u=ae.rows)||void 0===u||null===(d=u[2])||void 0===d||null===(g=d.dimensionValues)||void 0===g?void 0:g[0]],metricValues:[null==ae||null===(f=ae.rows)||void 0===f||null===(m=f[0])||void 0===m||null===(h=m.metricValues)||void 0===h?void 0:h[0],null==ae||null===(b=ae.rows)||void 0===b||null===(O=b[1])||void 0===O||null===(y=O.metricValues)||void 0===y?void 0:y[0],null==ae||null===(k=ae.rows)||void 0===k||null===(j=k[2])||void 0===j||null===(S=j.metricValues)||void 0===S?void 0:S[0]],total:J},topContent:{dimensionValues:[null==ce||null===(A=ce.rows)||void 0===A||null===(w=A[0])||void 0===w||null===(C=w.dimensionValues)||void 0===C?void 0:C[0],null==ce||null===(N=ce.rows)||void 0===N||null===(R=N[1])||void 0===R||null===(D=R.dimensionValues)||void 0===D?void 0:D[0],null==ce||null===(M=ce.rows)||void 0===M||null===(x=M[2])||void 0===x||null===(I=x.dimensionValues)||void 0===I?void 0:I[0]],metricValues:[null==ce||null===(B=ce.rows)||void 0===B||null===(P=B[0])||void 0===P||null===(F=P.metricValues)||void 0===F?void 0:F[0],null==ce||null===(L=ce.rows)||void 0===L||null===(z=L[1])||void 0===z||null===(W=z.metricValues)||void 0===W?void 0:W[0],null==ce||null===(V=ce.rows)||void 0===V||null===(G=V[2])||void 0===G||null===(U=G.metricValues)||void 0===U?void 0:U[0]]},topContentTitles:le,hasInvalidCustomDimensionError:ve,Widget:n,audienceResourceName:t,isZeroData:se,isPartialData:ue,isTileHideable:ge.length>1,onHideTile:function(){return oe(t)}})})),!T&&e.createElement(O.a,{Widget:n,loading:je,allTilesError:me,visibleAudienceCount:ge.length})))}AudienceTiles.propTypes={Widget:l.a.elementType.isRequired,widgetLoading:l.a.bool.isRequired}}).call(this,n(4))},449:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTile}));var i=n(12),r=n.n(i),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(25),u=n(35),d=n(9),g=n(450),f=n(451),m=n(452),p=n(453),h=n(454),v=n(455),b=n(268),E=n(456),_=n(457),O=n(171),y=n(122),k=n(317),j=n(8),S=n(231),A=n(18),w=n(460);function AudienceTile(t){var n=t.audienceTileNumber,i=void 0===n?0:n,a=t.audienceSlug,o=t.title,T=t.infoTooltip,C=t.visitors,N=t.visitsPerVisitor,R=t.pagesPerVisit,D=t.pageviews,M=t.percentageOfTotalPageViews,x=t.topCities,I=t.topContent,B=t.topContentTitles,P=t.hasInvalidCustomDimensionError,F=t.Widget,L=t.audienceResourceName,z=t.isZeroData,W=t.isPartialData,V=t.isTileHideable,H=t.onHideTile,G=Object(s.e)(),U=Object(A.a)(),q=Object(u.a)(),K=Object(l.useInViewSelect)((function(e){var t=e(d.p).getPropertyID();return t&&e(d.p).isPropertyPartialData(t)})),Y=Object(l.useSelect)((function(e){return e(d.p).isSiteKitAudience(L)})),J=Object(l.useInViewSelect)((function(e){return!Y&&void 0!==K&&(!K&&L&&e(d.p).isAudiencePartialData(L))}),[K,Y,L]),X=Object(l.useInViewSelect)((function(e){return void 0!==K&&(!K&&!J&&e(d.p).isCustomDimensionPartialData("googlesitekit_post_type"))}),[J]),Z=Object(l.useInViewSelect)((function(e){return e(d.p).hasCustomDimensions("googlesitekit_post_type")}),[]),$=[s.b,s.c].includes(G);return W&&z?e.createElement(w.a,{Widget:F,audienceSlug:a,title:o,infoTooltip:T,isMobileBreakpoint:$,isTileHideable:V,onHideTile:H}):e.createElement(F,{noPadding:!0},e.createElement("div",{className:r()("googlesitekit-audience-segmentation-tile",{"googlesitekit-audience-segmentation-tile--partial-data":J})},!$&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},o,T&&e.createElement(y.a,{title:T,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(j.J)("".concat(U,"_audiences-tile"),"view_tile_tooltip",a)}})),J&&e.createElement(S.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(c.__)("Partial data","google-site-kit"),tooltipTitle:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit"),onTooltipOpen:function(){Object(j.J)("".concat(U,"_audiences-tile"),"view_tile_partial_data_tooltip",a)}})),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__metrics"},$&&J&&e.createElement(k.a,{content:Object(c.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit")}),e.createElement(b.a,{TileIcon:g.a,title:Object(c.__)("Visitors","google-site-kit"),metricValue:C.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:C.previousValue,currentValue:C.currentValue})}}),e.createElement(b.a,{TileIcon:f.a,title:Object(c.__)("Visits per visitor","google-site-kit"),metricValue:N.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:N.previousValue,currentValue:N.currentValue})}}),e.createElement(b.a,{TileIcon:m.a,title:Object(c.__)("Pages per visit","google-site-kit"),metricValue:R.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:R.previousValue,currentValue:R.currentValue})},metricValueFormat:{style:"decimal",maximumFractionDigits:2}}),e.createElement(b.a,{TileIcon:p.a,title:Object(c.sprintf)( /* translators: %s: is a percentage value such as 33.3%. */ Object(c.__)("%s of total pageviews","google-site-kit"),Object(j.C)(M,{style:"percent",maximumFractionDigits:1})),metricValue:D.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:D.previousValue,currentValue:D.currentValue})}}),e.createElement(E.a,{TileIcon:h.a,title:Object(c.__)("Cities with the most visitors","google-site-kit"),topCities:x}),(!q||Z&&!P)&&e.createElement(_.a,{audienceTileNumber:i,audienceSlug:a,TileIcon:v.a,title:Object(c.__)("Top content by pageviews","google-site-kit"),topContentTitles:B,topContent:I,isTopContentPartialData:X}))))}AudienceTile.propTypes={audienceTileNumber:o.a.number,audienceSlug:o.a.string.isRequired,title:o.a.string.isRequired,infoTooltip:o.a.oneOfType([o.a.string,o.a.element]),visitors:o.a.object,visitsPerVisitor:o.a.object,pagesPerVisit:o.a.object,pageviews:o.a.object,percentageOfTotalPageViews:o.a.number,topCities:o.a.object,topContent:o.a.object,topContentTitles:o.a.object,hasInvalidCustomDimensionError:o.a.bool,Widget:o.a.elementType.isRequired,audienceResourceName:o.a.string.isRequired,isZeroData:o.a.bool,isPartialData:o.a.bool,isTileHideable:o.a.bool,onHideTile:o.a.func}}).call(this,n(4))},450:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitors(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},451:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitsPerVisitor(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},452:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPagesPerVisit(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},453:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPageviews(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},454:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconCities(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},455:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconTopContent(e){return i.createElement("svg",r({viewBox:"0 0 20 20",fill:"none"},e),a)}},456:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCitiesMetric}));var i=n(1),r=n.n(i),a=n(8),o=n(316);function AudienceTileCitiesMetric(t){var n,i=t.TileIcon,r=t.title,c=t.topCities,l=(null==c||null===(n=c.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],s=!!l.length;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(i,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},r),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!s&&e.createElement(o.a,null),s&&l.map((function(t,n){var i;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__cities-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-name"},null==t?void 0:t.value),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-value"},Object(a.C)((null==c||null===(i=c.metricValues[n])||void 0===i?void 0:i.value)/(null==c?void 0:c.total),{style:"percent",maximumFractionDigits:1})))})))))}AudienceTileCitiesMetric.propTypes={TileIcon:r.a.elementType.isRequired,title:r.a.string.isRequired,topCities:r.a.object}}).call(this,n(4))},457:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceTilePagesMetric}));var r=n(1),a=n.n(r),o=n(0),c=n(157),l=n(2),s=n(3),u=n(25),d=n(28),g=n(14),f=n(6),m=n(9),p=n(34),h=n(231),v=n(458),b=n(226),E=n(84),_=n(18),O=n(8);function AudienceTilePagesMetric(t){var n=t.audienceTileNumber,r=t.audienceSlug,a=t.TileIcon,y=t.title,k=t.topContent,j=t.topContentTitles,S=t.isTopContentPartialData,A=Object(u.e)(),w=Object(_.a)(),T=m.e.googlesitekit_post_type.parameterName,C=Object(s.useSelect)((function(e){return!e(m.p).hasCustomDimensions(T)})),N=Object(s.useSelect)((function(e){return e(f.a).hasScope(m.g)})),R=Object(c.a)(e.location.href,{notification:"audience_segmentation",widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),D=Object(c.a)(e.location.href,{widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),M=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isAutoCreatingCustomDimensionsForAudience")})),x=Object(s.useSelect)((function(e){return e(m.p).isCreatingCustomDimension(T)})),I=Object(s.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),B=Object(s.useSelect)((function(e){return e(m.p).getCreateCustomDimensionError(T)})),P=Object(s.useSelect)((function(e){return e(m.p).getPropertyID()})),F=Object(s.useDispatch)(m.p).clearError,L=Object(s.useDispatch)(d.a).setValues,z=Object(s.useDispatch)(f.a),W=z.setPermissionScopeError,V=z.clearPermissionScopeError,H=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isRetrying")})),G=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"autoSubmit")})),U=Object(s.useSelect)((function(e){return e(g.c).getSetupErrorCode()})),q=Object(s.useDispatch)(g.c).setSetupErrorCode,K=G&&"access_denied"===U,Y=Object(o.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isRetrying;L(m.d,{autoSubmit:!0,isRetrying:t}),N||W({code:p.a,message:Object(l.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[m.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:R,errorRedirectURL:D}})}),[N,R,D,W,L]),J=Object(o.useCallback)((function(){L(m.d,{autoSubmit:!1,isRetrying:!1}),q(null),V(),F("createCustomDimension",[P,m.e.googlesitekit_post_type])}),[F,V,P,q,L]),X=[u.b,u.c].includes(A),Z=M||x||I;return i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content"},i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},i.createElement(a,null)),i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},i.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},y,!X&&S&&i.createElement(h.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(l.__)("Partial data","google-site-kit"),onTooltipOpen:function(){Object(O.J)("".concat(w,"_audiences-tile"),"view_top_content_partial_data_tooltip",r)},tooltipTitle:Object(l.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")})),i.createElement(v.a,{topContentTitles:j,topContent:k,isTopContentPartialData:S,hasCustomDimension:!C,onCreateCustomDimension:Y,isSaving:Z}),0===n&&(B&&!Z||H&&!M||K)&&i.createElement(b.a,{apiErrors:[B],title:Object(l.__)("Failed to enable metric","google-site-kit"),description:Object(l.__)("Oops! Something went wrong. Retry enabling the metric.","google-site-kit"),onRetry:function(){return Y({isRetrying:!0})},onCancel:J,inProgress:Z,hasOAuthError:K,trackEventCategory:"".concat(w,"_audiences-top-content-cta")})))}AudienceTilePagesMetric.propTypes={audienceTileNumber:a.a.number,audienceSlug:a.a.string.isRequired,TileIcon:a.a.elementType.isRequired,title:a.a.string.isRequired,topContent:a.a.object,topContentTitles:a.a.object,isTopContentPartialData:a.a.bool}}).call(this,n(26),n(4))},458:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTilePagesMetricContent}));var i=n(1),r=n.n(i),a=n(2),o=n(3),c=n(25),l=n(6),s=n(9),u=n(316),d=n(20),g=n(317),f=n(8),m=n(108),p=n(18),h=n(35),v=n(459),b=Object(m.a)(v.a);function AudienceTilePagesMetricContent(t){var n,i=t.topContentTitles,r=t.topContent,m=t.isTopContentPartialData,v=t.hasCustomDimension,E=t.onCreateCustomDimension,_=t.isSaving,O=Object(p.a)(),y=Object(h.a)(),k=Object(c.e)(),j=[c.b,c.c].includes(k),S=(null==r||null===(n=r.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],A=!!S.length,w=Object(o.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:s.f})}));function ContentLinkComponent(t){var n=t.content,r=i[null==n?void 0:n.value],a=null==n?void 0:n.value,c=Object(o.useSelect)((function(e){return y?null:e(s.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:w})}));return y?e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__top-content-metric-name"},r):e.createElement(d.a,{href:c,title:r,external:!0,hideExternalIndicator:!0},r)}return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!v&&e.createElement(b,{onClick:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"create_custom_dimension").finally(E)},isSaving:_,onInView:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"view_cta")}}),v&&!A&&e.createElement(u.a,null),v&&A&&S.map((function(t,n){var i;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__page-metric-container"},e.createElement(ContentLinkComponent,{content:t}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__page-metric-value"},Object(f.C)(null==r||null===(i=r.metricValues[n])||void 0===i?void 0:i.value)))})),j&&m&&e.createElement(g.a,{content:Object(a.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")}))}AudienceTilePagesMetricContent.propTypes={topContentTitles:r.a.object,topContent:r.a.object,isTopContentPartialData:r.a.bool,hasCustomDimension:r.a.bool,onCreateCustomDimension:r.a.func,isSaving:r.a.bool}}).call(this,n(4))},459:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(10),l=Object(a.forwardRef)((function(t,n){var i=t.onClick,r=t.isSaving;return e.createElement("div",{ref:n,className:"googlesitekit-audience-segmentation-tile-metric__no-data"},Object(o.__)("No data to show","google-site-kit"),e.createElement("p",null,Object(o.__)("Update Analytics to track metric","google-site-kit")),e.createElement(c.SpinnerButton,{danger:!0,onClick:i,isSaving:r,disabled:r},Object(o.__)("Update","google-site-kit")))}));l.propTypes={onClick:r.a.func.isRequired,isSaving:r.a.bool},t.a=l}).call(this,n(4))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var i={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},460:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileZeroData}));var i=n(1),r=n.n(i),a=n(18),o=n(108),c=n(8),l=n(461),s=Object(o.a)(l.a);function AudienceTileZeroData(t){var n=t.Widget,i=t.audienceSlug,r=t.title,o=t.infoTooltip,l=t.isMobileBreakpoint,u=t.isTileHideable,d=t.onHideTile,g=Object(a.a)();return e.createElement(s,{Widget:n,audienceSlug:i,title:r,infoTooltip:o,isMobileBreakpoint:l,isTileHideable:u,onHideTile:function(){Object(c.J)("".concat(g,"_audiences-tile"),"temporarily_hide",i).finally(d)},onInView:function(){Object(c.J)("".concat(g,"_audiences-tile"),"view_tile_collecting_data",i)}})}AudienceTileZeroData.propTypes={Widget:r.a.elementType.isRequired,audienceSlug:r.a.string.isRequired,title:r.a.string.isRequired,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),isMobileBreakpoint:r.a.bool,isTileHideable:r.a.bool,onHideTile:r.a.func}}).call(this,n(4))},461:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(18),c=n(8),l=n(122),s=n(462),u=n(464),d=Object(a.forwardRef)((function(t,n){var i=t.Widget,r=t.audienceSlug,a=t.title,d=t.infoTooltip,g=t.isMobileBreakpoint,f=t.isTileHideable,m=t.onHideTile,p=Object(o.a)();return e.createElement(i,{ref:n,noPadding:!0},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-container"},!g&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},a,d&&e.createElement(l.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(c.J)("".concat(p,"_audiences-tile"),"view_tile_tooltip",r)}}))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-content"},e.createElement(s.a,null),f&&e.createElement(u.a,{onHideTile:m})))))}));d.propTypes={Widget:r.a.elementType.isRequired,audienceSlug:r.a.string.isRequired,title:r.a.string.isRequired,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),isMobileBreakpoint:r.a.bool,isTileHideable:r.a.bool,onHideTile:r.a.func},t.a=d}).call(this,n(4))},462:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingData}));var i=n(0),r=n(2),a=n(463);function AudienceTileCollectingData(){return e.createElement(i.Fragment,null,e.createElement(a.a,{className:"googlesitekit-audience-segmentation-tile__zero-data-image"}),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(r.__)("Site Kit is collecting data for this group.","google-site-kit")))}}).call(this,n(4))},463:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z",fill:"#EBEEF0"}),o=i.createElement("path",{d:"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),c=i.createElement("path",{d:"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),l=i.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#70B2F5"}),s=i.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#77AD8C"}),u=i.createElement("path",{d:"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z",fill:"#77AD8C",opacity:.2}),d=i.createElement("path",{d:"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273",stroke:"#161B18",strokeWidth:1.785,strokeLinecap:"round",strokeLinejoin:"round"}),g=i.createElement("path",{d:"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z",fill:"#7B807D"}),f=i.createElement("path",{d:"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),m=i.createElement("path",{d:"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),p=i.createElement("path",{d:"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726",stroke:"#B8BDB9",strokeWidth:3.173,strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationCollectingData(e){return i.createElement("svg",r({viewBox:"0 0 109 94",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p)}},464:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingDataHideable}));var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(20),l=n(465);function AudienceTileCollectingDataHideable(t){var n=t.onHideTile;return e.createElement(a.Fragment,null,e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(o.__)("You can hide this group until data is available.","google-site-kit")),e.createElement(c.a,{secondary:!0,linkButton:!0,className:"googlesitekit-audience-segmentation-tile-hide-cta",onClick:n,leadingIcon:e.createElement(l.a,{width:22,height:22})},Object(o.__)("Temporarily hide","google-site-kit")))}AudienceTileCollectingDataHideable.propTypes={onHideTile:r.a.func.isRequired}}).call(this,n(4))},465:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z",fill:"#108080"});t.a=function SvgVisibility(e){return i.createElement("svg",r({viewBox:"0 0 19 19",fill:"none"},e),a)}},466:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileError}));var i=n(1),r=n.n(i),a=n(34),o=n(467),c=n(108),l=n(18),s=n(8),u=Object(c.a)(o.a);function AudienceTileError(t){var n=t.audienceSlug,i=t.errors,r=Object(l.a)(),o=i.some((function(e){return Object(a.e)(e)}));return e.createElement(u,{errors:i,onInView:function(){var e=o?"insufficient_permissions_error":"data_loading_error";Object(s.J)("".concat(r,"_audiences-tile"),e,n)},onRetry:function(){Object(s.J)("".concat(r,"_audiences-tile"),"data_loading_error_retry",n)},onRequestAccess:function(){Object(s.J)("".concat(r,"_audiences-tile"),"insufficient_permissions_error_request_access",n)}})}AudienceTileError.propTypes={audienceSlug:r.a.string.isRequired,errors:r.a.array.isRequired}}).call(this,n(4))},467:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(0),o=n(2),c=n(34),l=n(468),s=n(117),u=n(315),d=Object(a.forwardRef)((function(t,n){var i=t.errors,r=t.onRetry,a=t.onRequestAccess,d=i.some((function(e){return Object(c.e)(e)}));return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error",ref:n},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__container"},e.createElement(l.a,{className:"googlesitekit-audience-segmentation-tile-error__image"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__body"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__message"},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-error__title"},d?Object(o.__)("Insufficient permissions","google-site-kit"):Object(o.__)("Data loading failed","google-site-kit"))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__actions"},e.createElement(s.a,{moduleSlug:"analytics-4",error:i,GetHelpLink:d?u.a:void 0,hideGetHelpLink:!d,buttonVariant:"danger",onRetry:r,onRequestAccess:a})))))}));d.propTypes={errors:r.a.array.isRequired,onRetry:r.a.func.isRequired,onRequestAccess:r.a.func.isRequired},t.a=d}).call(this,n(4))},468:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z",fill:"#F3F5F7"}),o=i.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#161B18",opacity:.1}),c=i.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#CBD0D3"}),l=i.createElement("path",{d:"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"}),s=i.createElement("path",{d:"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224",stroke:"#161B18",strokeWidth:1.705,strokeLinecap:"round",strokeLinejoin:"round"}),u=i.createElement("path",{d:"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),d=i.createElement("path",{d:"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z",fill:"#CBD0D3"}),g=i.createElement("path",{d:"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z",fill:"#999F9B"}),f=i.createElement("path",{d:"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),m=i.createElement("path",{d:"M145.07 26.773l-28 108.499",stroke:"#7B807D",strokeWidth:4.393,strokeMiterlimit:10,strokeLinecap:"round"}),p=i.createElement("path",{d:"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z",fill:"#E77D5B"}),h=i.createElement("path",{d:"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z",fill:"#962C0A"}),v=i.createElement("path",{d:"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAnalyticsAudienceSegmentationTileError(e){return i.createElement("svg",r({viewBox:"0 0 190 142",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,v)}},469:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MaybePlaceholderTile}));var i=n(1),r=n.n(i),a=n(163),o=n(470);function MaybePlaceholderTile(t){var n=t.Widget,i=t.loading,r=t.allTilesError,c=t.visibleAudienceCount;return!1!==r&&!i||1!==c?null:i?e.createElement(n,{noPadding:!0},e.createElement(a.a,null)):e.createElement(o.a,{Widget:n})}MaybePlaceholderTile.propTypes={Widget:r.a.elementType.isRequired,loading:r.a.bool.isRequired,allTilesError:r.a.bool,visibleAudienceCount:r.a.number.isRequired}}).call(this,n(4))},470:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceholderTile}));var i=n(12),r=n.n(i),a=n(38),o=n(2),c=n(3),l=n(14),s=n(24),u=n(6),d=n(9),g=n(20),f=n(318),m=n(39);function PlaceholderTile(t){var n=t.Widget,i=Object(c.useSelect)((function(e){var t=e(u.a).getConfiguredAudiences();return e(d.p).getConfigurableAudiences().some((function(e){return"DEFAULT_AUDIENCE"!==e.audienceType&&!t.includes(e.name)}))})),p=Object(c.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})})),h=Object(c.useDispatch)(s.b).setValue,v=e.createElement(g.a,{secondary:!0,href:p,external:!0,hideExternalIndicator:!0});return e.createElement(n,{className:"googlesitekit-audience-segmentation-tile-placeholder"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-placeholder__container"},e.createElement(f.a,{className:"googlesitekit-audience-segmentation-tile-placeholder__image"}),e.createElement("div",{className:r()("googlesitekit-audience-segmentation-tile-placeholder__body",{"googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences":!i})},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-placeholder__title"},i?Object(o.__)("Compare your group to other groups","google-site-kit"):Object(o.__)("Create more visitor groups","google-site-kit")),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile-placeholder__description"},i?Object(a.a)(Object(o.__)("<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v,SelectGroupLink:e.createElement(g.a,{secondary:!0,onClick:function(){return h(m.i,!0)}})}):Object(a.a)(Object(o.__)("Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v})))))}}).call(this,n(4))},471:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n(7),r=n.n(i),a=n(3),o=n(6),c=n(9);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return Object(a.useSelect)((function(n){return t.every((function(t){var i=n(c.p).getPartialDataSiteKitAudience(t);if(void 0===i)return!1;var r={};return i?r.newVsReturning="new-visitors"===i.audienceSlug?"new":"returning":r.audienceResourceName=t,n(c.p).hasFinishedResolution("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),r)})])}))}))}function d(e,t){return Object(a.useSelect)((function(n){return t.reduce((function(t,i){var r=n(c.p).getPartialDataSiteKitAudience(i);if(void 0===r)return t;var a={};r?a.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":a.audienceResourceName=i;var o=n(c.p).getErrorForSelector("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),a)})]);return o&&(t[i]=o),t}),{})}))}function g(e){var t,n,i,r,l=e.isSiteKitAudiencePartialData,g=e.siteKitAudiences,f=e.otherAudiences,m=Object(a.useSelect)((function(e){return e(o.a).getConfiguredAudiences()})),p={audienceResourceName:m},h=Object(a.useSelect)((function(e){return e(o.a).getDateRangeDates({offsetDays:c.f,compare:!0})})),v=h.startDate,b=h.endDate,E=void 0===l?void 0:f.length>0||!1===l,_=g.length>0&&l,O=s(s({},h),{},{dimensions:[{name:"audienceResourceName"}],dimensionFilters:p,metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),y=Object(a.useInViewSelect)((function(e){if(void 0!==E)return E?e(c.p).getReport(O):null}),[E,O]),k=Object(a.useSelect)((function(e){if(void 0!==E)return!E||e(c.p).hasFinishedResolution("getReport",[O])})),j=Object(a.useSelect)((function(e){if(void 0!==E)return E?e(c.p).getErrorForSelector("getReport",[O]):null})),S=s(s({},h),{},{dimensions:[{name:"newVsReturning"}],dimensionFilters:{newVsReturning:["new","returning"]},metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),A=Object(a.useInViewSelect)((function(e){if(void 0!==_)return _?e(c.p).getReport(S):null}),[_,S]),w=Object(a.useSelect)((function(e){if(void 0!==_)return!_||e(c.p).hasFinishedResolution("getReport",[S])})),T=Object(a.useSelect)((function(e){if(void 0!==_)return _?e(c.p).getErrorForSelector("getReport",[S]):null})),C={startDate:v,endDate:b,metrics:[{name:"screenPageViews"}]},N=Object(a.useInViewSelect)((function(e){return e(c.p).getReport(C)})),R=Object(a.useSelect)((function(e){return e(c.p).hasFinishedResolution("getReport",[C])})),D=Object(a.useSelect)((function(e){return e(c.p).getErrorForSelector("getReport",[C])})),M=Number(null==N||null===(t=N.totals)||void 0===t||null===(n=t[0])||void 0===n||null===(i=n.metricValues)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.value)||0,x={startDate:v,endDate:b,dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3},I=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(x,m)})),B=u(x,m),P=d(x,m),F={startDate:v,endDate:b,dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3},L=Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(F,m)})),z=u(F,m),W=d(F,m),V={startDate:v,endDate:b,dimensions:["pagePath","pageTitle"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:15};return{report:y,reportLoaded:k,reportError:j,siteKitAudiencesReport:A,siteKitAudiencesReportLoaded:w,siteKitAudiencesReportError:T,totalPageviews:M,totalPageviewsReportLoaded:R,totalPageviewsReportError:D,topCitiesReport:I,topCitiesReportLoaded:B,topCitiesReportErrors:P,topContentReport:L,topContentReportLoaded:z,topContentReportErrors:W,topContentPageTitlesReport:Object(a.useInViewSelect)((function(e){return e(c.p).getReportForAllAudiences(V,m)})),topContentPageTitlesReportLoaded:u(V,m),topContentPageTitlesReportErrors:d(V,m)}}},472:function(e,t,n){"use strict";(function(e){var i=n(0),r=n(38),a=n(2),o=n(3),c=n(318),l=n(20),s=n(19),u=n(319),d=n(32),g=n(14),f=n(24),m=n(6),p=n(39),h=n(18),v=n(35),b=n(8),E=Object(i.forwardRef)((function(t,n){var i=Object(h.a)(),E=Object(v.a)(),_=Object(o.useSelect)((function(e){return e(m.a).didSetAudiences()})),O=Object(o.useSelect)((function(e){return e(s.a).getModuleIcon("analytics-4")})),y=Object(o.useSelect)((function(e){return e(g.c).getAdminURL("googlesitekit-settings")})),k=Object(o.useDispatch)(f.b).setValue,j=Object(o.useDispatch)(d.a).navigateTo,S=_?"no-longer-available":"none-selected";function A(){Object(b.J)("".concat(i,"_audiences-no-audiences"),"select_groups",S).finally((function(){k(p.i,!0)}))}return e.createElement(u.a,{ref:n,className:"googlesitekit-no-audience-banner",Icon:O,SVGGraphic:c.a},e.createElement("p",null,_&&Object(r.a)(Object(a.__)("It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:A})}),!_&&Object(r.a)(Object(a.__)("You don’t have any visitor groups selected. <a>Select groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:A})})),!E&&e.createElement("p",null,Object(r.a)(Object(a.__)("You can deactivate this widget in <a>Settings</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:function(){Object(b.J)("".concat(i,"_audiences-no-audiences"),"change_settings",S).finally((function(){j("".concat(y,"#/admin-settings"))}))}})})))}));t.a=E}).call(this,n(4))},473:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddGroupNotice}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(39),p=n(28),h=n(6),v=n(362),b=n(227),E=n(24),_=n(9);function AddGroupNotice(){var t=Object(d.useState)(!1),n=l()(t,2),i=n[0],a=n[1],c=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(m.a)})),s=Object(f.useSelect)((function(e){return e(E.b).getValue(m.i)})),u=Object(f.useSelect)((function(e){return e(_.p).isFetchingSyncAvailableAudiences()})),O=Object(f.useSelect)((function(e){return e(p.a).getValue(m.h,m.f)})),y=Object(f.useDispatch)(h.a).dismissItem,k=Object(d.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(m.a);case 2:case"end":return e.stop()}}),e)}))),[y]);return Object(d.useEffect)((function(){Array.isArray(O)&&(O.length>1&&a(!0),s||1!==(null==O?void 0:O.length)||a(!1))}),[O,s,a]),c||i||u||!(null==O?void 0:O.length)?null:e.createElement(b.a,{className:"googlesitekit-audience-selection-panel__add-group-notice",content:Object(g.__)("By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),Icon:v.a,onDismiss:k})}AddGroupNotice.propTypes={savedItemSlugs:u.a.array}}).call(this,n(4))},474:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{fill:"currentColor",d:"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z"});t.a=function SvgLightbulb(e){return i.createElement("svg",r({fill:"none"},e),a)}},475:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItems}));var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(791),u=n(2),d=n(0),g=n(3),f=n(39),m=n(24),p=n(6),h=n(9),v=n(8),b=n(476),E=n(115),_=n(477);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AudienceItems(t){var n=t.savedItemSlugs,i=void 0===n?[]:n,a=Object(d.useState)(!0),c=o()(a,2),l=c[0],O=c[1],k=Object(g.useDispatch)(p.a).setExpirableItemTimers,j=Object(g.useDispatch)(h.p).syncAvailableAudiences,S=Object(g.useSelect)((function(e){return e(m.b).getValue(f.i)})),A=Object(g.useSelect)((function(e){return e(h.p).isFetchingSyncAvailableAudiences()}));Object(d.useEffect)((function(){l&&S&&(j(),O(!1))}),[l,S,j]),Object(d.useEffect)((function(){if(!A&&S){var e=document.querySelector(".googlesitekit-audience-selection-panel .googlesitekit-selection-panel-item input");e&&e.focus()}}),[A,S]);var w=Object(g.useSelect)((function(e){var t=e(h.p),n=t.getConfigurableAudiences,i=t.getReport,r=t.getAudiencesUserCountReportOptions,a=t.getConfigurableSiteKitAndOtherAudiences,c=t.hasAudiencePartialData,l=n();if(void 0!==l){if(!l.length)return[];var s=a(),u=o()(s,2),d=u[0],g=u[1],f=c(d),m=e(p.a).getDateRangeDates({offsetDays:h.f}),v=f&&i(y(y({},m),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]})),b=!1===f||!0===f&&(null==g?void 0:g.length)>0?i(r(f?g:l)):{},E=(v||{}).rows,_=void 0===E?[]:E,O=(b||{}).rows,k=void 0===O?[]:O;return l.map((function(e){var t,n,i,r;return r="SITE_KIT_AUDIENCE"===e.audienceType&&f?j(_,"new-visitors"===e.audienceSlug?"new":"returning"):j(k,e.name),y(y({},e),{},{userCount:Number(null===(t=r)||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)||0})}))}function j(e,t){return e.find((function(e){var n,i;return(null==e||null===(n=e.dimensionValues)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.value)===t}))}})),T=function(e,t){var n=t.audienceType,i=t.description,a=t.displayName,o=t.name,c=t.userCount,l="";switch(n){case"DEFAULT_AUDIENCE":l=Object(u.__)("Created by default by Google Analytics","google-site-kit"),i="";break;case"SITE_KIT_AUDIENCE":l=Object(u.__)("Created by Site Kit","google-site-kit");break;case"USER_AUDIENCE":l=Object(u.__)("Already exists in your Analytics property","google-site-kit")}return y(y({},e),{},r()({},o,{title:a,subtitle:i,description:l,userCount:c,audienceType:n}))},C=null==w?void 0:w.filter((function(e){var t=e.name;return i.includes(t)})).reduce(T,{}),N=null==w?void 0:w.filter((function(e){var t=e.name;return!i.includes(t)})).reduce(T,{}),R=Object(g.useSelect)((function(e){if(void 0!==w){var t=e(p.a),n=t.hasFinishedResolution,i=t.hasExpirableItem;if(n("getExpirableItems"))return w.filter((function(e){var t=e.audienceType,n=e.name;return"DEFAULT_AUDIENCE"!==t&&!i("".concat(h.b).concat(n))})).map((function(e){var t=e.name;return"".concat(h.b).concat(t)}))}}));return Object(s.a)((function(){S&&void 0!==R&&R.length&&k(R.map((function(e){return{slug:e,expiresInSeconds:4*v.g}})))}),[S,k,R]),e.createElement(E.d,{availableItemsTitle:Object(u.__)("Additional groups","google-site-kit"),availableSavedItems:C,availableUnsavedItems:N,ItemComponent:A?_.a:b.a,savedItemSlugs:i})}AudienceItems.propTypes={savedItemSlugs:l.a.array}}).call(this,n(4))},476:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItem}));var i=n(7),r=n.n(i),a=n(15),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(3),g=n(39),f=n(28),m=n(6),p=n(9),h=n(8),v=n(263),b=n(115),E=n(231);function AudienceItem(t){var n=t.slug,i=t.title,a=t.description,c=t.subtitle,l=t.userCount,_=t.audienceType,O="".concat(p.b).concat(n),y=Object(d.useSelect)((function(e){return e(f.a).getValue(g.h,g.f)})),k=Object(d.useSelect)((function(e){return e(m.a).hasExpirableItem(O)})),j=Object(d.useSelect)((function(e){return e(m.a).isExpirableItemActive(O)})),S=Object(d.useSelect)((function(e){return e(p.p).getAudienceUserCountReportErrors()}))||[],A=o()(S,2),w=A[0],T=A[1],C=[];T&&C.push(T),w&&C.push(w);var N=Object(d.useDispatch)(f.a).setValues,R=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed("audience-tile-".concat(n))})),D=Object(s.useCallback)((function(e){var t;N(g.h,(t={},r()(t,g.f,e.target.checked?y.concat([n]):y.filter((function(e){return e!==n}))),r()(t,g.g,!0),t))}),[y,N,n]),M="DEFAULT_AUDIENCE"!==_&&(!1===k||j),x=null==y?void 0:y.includes(n),I="audience-selection-checkbox-".concat(n);function ItemBadge(){return R?e.createElement(E.a,{label:Object(u.__)("Temporarily hidden","google-site-kit"),tooltipTitle:Object(u.__)("Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.","google-site-kit")}):M?e.createElement(v.a,null):null}return e.createElement(b.c,{id:I,slug:n,title:i,subtitle:c,description:a,isItemSelected:x,onCheckboxChange:D,suffix:C.length?"-":Object(h.C)(l),badge:(R||M)&&e.createElement(ItemBadge,null)})}AudienceItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,subtitle:l.a.string.isRequired,userCount:l.a.number.isRequired,audienceType:l.a.string.isRequired}}).call(this,n(4))},477:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItemPreviewBlock}));var i=n(40);function AudienceItemPreviewBlock(){return e.createElement("div",{className:"googlesitekit-selection-panel__loading"},e.createElement("div",{className:"googlesitekit-selection-panel__loading-left"},e.createElement(i.a,{width:"90px",height:"20px",className:"googlesitekit-selection-panel__loading-item"}),e.createElement(i.a,{width:"293px",height:"15px",className:"googlesitekit-selection-panel__loading-item"})),e.createElement("div",{className:"googlesitekit-selection-panel__loading-right"},e.createElement(i.a,{width:"43px",height:"20px",className:"googlesitekit-selection-panel__loading-item"})))}}).call(this,n(4))},478:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var i=n(5),r=n.n(i),a=n(16),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(38),d=n(2),g=n(3),f=n(18),m=n(8),p=n(39),h=n(14),v=n(24),b=n(9),E=n(34),_=n(20),O=n(117),y=n(479),k=n(366);function ErrorNotice(){var t=Object(f.a)(),n=Object(g.useSelect)((function(e){return e(b.p).getErrorForAction("syncAvailableAudiences")})),i=Object(g.useSelect)((function(e){return e(b.p).getAudienceUserCountReportErrors()}))||[],a=l()(i,2),c=a[0],j=a[1],S=Object(g.useSelect)((function(e){return e(h.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),A=Object(g.useSelect)((function(e){return e(v.b).getValue(p.i)})),w=Object(g.useDispatch)(b.p),T=w.clearError,C=w.syncAvailableAudiences,N=Object(s.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T("syncAvailableAudiences");case 2:C();case 3:case"end":return e.stop()}}),e)}))),[T,C]),R=[];n&&R.push(n),j&&R.push(j),c&&R.push(c);var D=R.length>0,M=R.some((function(e){return Object(E.e)(e)}));if(Object(s.useEffect)((function(){A&&D&&Object(m.J)("".concat(t,"_audiences-sidebar"),M?"insufficient_permissions_error":"data_loading_error")}),[D,M,A,t]),!R.length)return null;var x=[j,c].some((function(e){return!!e}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice"},e.createElement("p",null,M?Object(u.a)(Object(d.__)("Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(_.a,{href:S,external:!0,hideExternalIndicator:!0},Object(d.__)("Get help","google-site-kit"))}):Object(d.__)("Data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice-actions"},M||x?e.createElement(O.a,{moduleSlug:"analytics-4",error:R,hideGetHelpLink:!0,buttonVariant:"danger",RequestAccessButton:y.a,RetryButton:k.a}):e.createElement(k.a,{handleRetry:N})))}}).call(this,n(4))},479:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RequestAccessButton}));var i=n(1),r=n.n(i),a=n(2),o=n(10),c=n(8),l=n(18);function RequestAccessButton(t){var n=t.requestAccessURL,i=Object(l.a)();return e.createElement(o.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",tertiary:!0,href:n,target:"_blank",onClick:function(){Object(c.J)("".concat(i,"_audiences-sidebar"),"insufficient_permissions_error_request_access")}},Object(a.__)("Request access","google-site-kit"))}RequestAccessButton.propTypes={requestAccessURL:r.a.string.isRequired}}).call(this,n(4))},480:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var i=n(5),r=n.n(i),a=n(27),o=n.n(a),c=n(16),l=n.n(c),s=n(15),u=n.n(s),d=n(7),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(2),v=n(3),b=n(18),E=n(8),_=n(39),O=n(28),y=n(6),k=n(9),j=n(115);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,i=t.isOpen,a=t.closePanel,c=t.savedItemSlugs,s=Object(b.a)(),d=Object(v.useSelect)((function(e){return e(O.a).getValue(_.h,_.f)})),g=Object(v.useSelect)((function(e){return e(y.a).getAudienceSettings()})),f=Object(v.useSelect)((function(e){return e(y.a).getErrorForAction("saveAudienceSettings",[A(A({},g),{},{configuredAudiences:d})])})),m=Object(v.useSelect)((function(e){return e(y.a).isSavingAudienceSettings()})),S=Object(v.useSelect)((function(e){var t=e(y.a).getDismissedItems();return null==t?void 0:t.filter((function(e){return e.startsWith("audience-tile-")}))})),w=Object(v.useSelect)((function(e){return e(k.p).getAvailableAudiences()})),T=Object(v.useDispatch)(y.a),C=T.saveAudienceSettings,N=T.removeDismissedItems,R=Object(v.useSelect)(y.a).getConfiguredAudiences,D=(null==d?void 0:d.length)||0;D<_.k?n=Object(h.sprintf)( /* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */ Object(h._n)("Select at least %1$d group (%2$d selected)","Select at least %1$d groups (%2$d selected)",_.k,"google-site-kit"),_.k,D):D>_.j&&(n=Object(h.sprintf)( /* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */ Object(h.__)("Select up to %1$d groups (%2$d selected)","google-site-kit"),_.j,D));var M=Object(p.useState)(null),x=u()(M,2),I=x[0],B=x[1],P=Object(p.useCallback)(function(){var e=l()(r.a.mark((function e(t){var n,i,a,c;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return B(null),e.next=3,C({configuredAudiences:t});case 3:if(n=e.sent,i=n.error){e.next=14;break}if(a=(null==S?void 0:S.filter((function(e){var n=e.replace("audience-tile-","");return!t.includes(n)})))||[],t.every((function(e){return null==S?void 0:S.includes("audience-tile-".concat(e))}))&&a.push("audience-tile-".concat(t[0])),!((null==a?void 0:a.length)>0)){e.next=14;break}return e.next=11,N.apply(void 0,o()(a));case 11:c=e.sent,(i=c.error)&&B(i);case 14:return e.abrupt("return",{error:i});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,N,C]),F=Object(p.useCallback)((function(){var e={USER_AUDIENCE:"user",SITE_KIT_AUDIENCE:"site-kit",DEFAULT_AUDIENCE:"default"},t=R(),n=Object.keys(e).map((function(n){var i=t.filter((function(e){var t=null==w?void 0:w.find((function(t){var n=t.name;return e===n}));return(null==t?void 0:t.audienceType)===n}));return"".concat(e[n],":").concat(i.length)})).join(",");Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_save",n)}),[w,R,s]),L=Object(p.useCallback)((function(){Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_cancel")}),[s]);return e.createElement(j.a,{savedItemSlugs:c,selectedItemSlugs:d,saveSettings:P,saveError:f||I,itemLimitError:n,minSelectedItemCount:_.k,maxSelectedItemCount:_.j,isBusy:m,isOpen:i,closePanel:a,onSaveSuccess:F,onCancel:L})}Footer.propTypes={isOpen:m.a.bool,closePanel:m.a.func.isRequired,savedItemSlugs:m.a.array}}).call(this,n(4))},481:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(35),f=n(20),m=n(115);function Header(t){var n=t.closePanel,i=Object(g.a)(),r=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),p=Object(l.useSelect)((function(e){return e(d.a).isSavingAudienceSettings()})),h=Object(l.useDispatch)(s.a).navigateTo,v=Object(a.useCallback)((function(){return h("".concat(r,"#/admin-settings"))}),[h,r]);return e.createElement(m.b,{title:Object(c.__)("Select visitor groups","google-site-kit"),onCloseClick:n},!i&&e.createElement("p",null,Object(o.a)(Object(c.__)("You can deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:v,disabled:p}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:r.a.func.isRequired}}).call(this,n(4))},482:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var i=n(2),r=n(38),a=n(3),o=n(14),c=n(20);function LearnMoreLink(){var t=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__learn-more"},Object(r.a)(Object(i.__)("Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>","google-site-kit"),{link:e.createElement(c.a,{secondary:!0,href:t,external:!0,hideExternalIndicator:!0}),strong:e.createElement("strong",null)}))}}).call(this,n(4))},483:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return AudienceCreationNotice}));var r=n(5),a=n.n(r),o=n(16),c=n.n(o),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(157),f=n(3),m=n(18),p=n(8),h=n(39),v=n(28),b=n(14),E=n(6),_=n(24),O=n(9),y=n(34),k=n(20),j=n(119),S=n(246),A=n(334),w=n(484);function AudienceCreationNotice(){var t=Object(m.a)(),n=Object(d.useState)(!1),r=s()(n,2),o=r[0],l=r[1],T=Object(f.useSelect)((function(e){var t=(0,e(O.p).getConfigurableAudiences)();if(void 0!==t)return t.length?t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})):[]})),C=Object(f.useDispatch)(E.a).dismissItem,N=Object(f.useDispatch)(_.b).setValue,R=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.d)})),D=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.b)})),M=Object(f.useSelect)((function(e){return e(E.a).hasScope(O.g)})),x=Object(f.useSelect)((function(e){return e(_.b).getValue(h.i)})),I=Object(g.a)(e.location.href,{notification:"audience_segmentation"}),B=Object(f.useDispatch)(v.a).setValues,P=Object(f.useDispatch)(E.a).setPermissionScopeError,F=Object(f.useDispatch)(O.p),L=F.createAudience,z=F.syncAvailableAudiences,W=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"autoSubmit")})),V=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"audienceToCreate")})),H=Object(d.useState)([]),G=s()(H,2),U=G[0],q=G[1],K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(t){var n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(t),M){e.next=5;break}return B(h.c,{autoSubmit:!0,audienceToCreate:t}),P({code:y.a,message:Object(u.__)("Additional permissions are required to create a new audience in Analytics.","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:I}}),e.abrupt("return");case 5:return B(h.c,{autoSubmit:!1,audienceToCreate:void 0}),e.next=8,L(O.r[t]);case 8:return n=e.sent,i=n.error,q(i?[i]:[]),e.next=13,z();case 13:l(!1),i||N(h.e,!0);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[M,L,z,B,P,I,N]),Y=Object(f.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),J=W&&"access_denied"===Y;Object(d.useEffect)((function(){function e(){return(e=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M||!W){e.next=4;break}return N(h.i,!0),e.next=4,K(V);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[V,K,M,W,N]);var X=!R&&(null==T?void 0:T.length)<2;if(Object(d.useEffect)((function(){x&&X&&Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_notice")}),[x,X,t]),Object(d.useEffect)((function(){!x||M||D||Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_oauth_notice")}),[M,D,x,t]),!X)return null;var Z=Object.keys(O.r).filter((function(e){return!T.some((function(t){return t.audienceSlug===e}))}));return i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice"},i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-header"},i.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-title"},Object(u.__)("Create groups suggested by Site Kit","google-site-kit")),i.createElement(k.a,{className:"googlesitekit-audience-selection-panel__audience-creation-notice-close",onClick:function(){C(h.d)},linkButton:!0},i.createElement(j.a,{width:"15",height:"15"}))),i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-body"},Z&&Z.map((function(e){return i.createElement("div",{key:e,className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience"},i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details"},i.createElement("h3",null,O.r[e].displayName),i.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description"},O.r[e].description)),i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button"},i.createElement(S.b,{spinnerPosition:S.a.BEFORE,onClick:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"create_audience",e).finally((function(){K(e)}))},isSaving:o===e},Object(u.__)("Create","google-site-kit"))))}))),!M&&!D&&i.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-info"},i.createElement(A.b,{title:Object(u.__)("Creating these groups require more data tracking. You will be directed to update your Analytics property.","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),onDismiss:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"dismiss_oauth_notice").finally((function(){C(h.b)}))},variant:A.a.WARNING,hideIcon:!0})),(U.length>0||J)&&i.createElement(w.a,{apiErrors:U,hasOAuthError:J}))}}).call(this,n(26),n(4))},484:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationErrorNotice}));var i=n(1),r=n.n(i),a=n(0),o=n(38),c=n(2),l=n(3),s=n(18),u=n(34),d=n(8),g=n(39),f=n(14),m=n(24),p=n(9),h=n(10),v=n(20),b=n(71);function AudienceCreationErrorNotice(t){var n,i,r=t.apiErrors,E=t.hasOAuthError,_=Object(s.a)(),O=Array.isArray(r)?r:[r],y=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),k=Object(l.useSelect)((function(e){return e(p.p).getServiceEntityAccessURL()})),j=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"access_denied"})})),S=Object(l.useSelect)((function(e){return e(m.b).getValue(g.i)})),A=O.length>0,w=O.some((function(e){return Object(u.e)(e)}));return Object(a.useEffect)((function(){if(S&&(A||E)){var e="setup_error";E?e="auth_error":w&&(e="insufficient_permissions_error"),Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),e)}}),[A,w,E,S,_]),O.length||E?(E?i=Object(o.a)(Object(c.__)("Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:j,external:!0,hideExternalIndicator:!0},Object(c.__)("get help","google-site-kit"))}):w?(n=Object(c.__)("Insufficient permissions","google-site-kit"),i=Object(o.a)(Object(c.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:y,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))})):(n=Object(c.__)("Analytics update failed","google-site-kit"),i=Object(c.__)("Click on Create to try again.","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice"},e.createElement(b.a,{width:24,height:24}),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__content"},n&&e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__title"},n),e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__description"},i)),w&&e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__actions"},e.createElement(h.Button,{href:k,target:"_blank",danger:!0,onClick:function(){Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),"insufficient_permissions_error_request_access")}},Object(c.__)("Request access","google-site-kit"))))):null}AudienceCreationErrorNotice.propTypes={apiErrors:r.a.oneOfType([r.a.arrayOf(r.a.object),r.a.object,r.a.array]),hasOAuthError:r.a.bool}}).call(this,n(4))},485:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationSuccessNotice}));var i=n(0),r=n(2),a=n(3),o=n(18),c=n(8),l=n(39),s=n(24),u=n(10),d=n(151);function AudienceCreationSuccessNotice(){var t=Object(o.a)(),n=Object(a.useDispatch)(s.b).setValue,g=Object(a.useSelect)((function(e){return e(s.b).getValue(l.e)})),f=Object(a.useSelect)((function(e){return e(s.b).getValue(l.i)}));return Object(i.useEffect)((function(){f&&g&&Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"view_notification")}),[f,g,t]),g?e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice"},e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-icon"},e.createElement(d.a,{width:24,height:24})),e.createElement("p",{className:"googlesitekit-audience-selection-panel__success-notice-message"},Object(r.__)("Visitor group created successfully!","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-actions"},e.createElement(u.Button,{tertiary:!0,onClick:function(){Object(c.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"dismiss_notification").finally((function(){n(l.e,!1)}))}},Object(r.__)("Got it","google-site-kit")))):null}}).call(this,n(4))},486:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("defs",null,i.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__c",x:109.551,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),i.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__d",x:236.859,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),i.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h480v150H0z"}))),o=i.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),c=i.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),l=i.createElement("g",{mask:"url(#audience-connect-analytics-cta-graphic_svg__b)"},i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__c)"},i.createElement("rect",{x:125.551,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),i.createElement("rect",{x:139.555,y:93.193,width:39.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:139.555,y:82.189,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:139.555,y:118.259,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),i.createElement("rect",{x:139.535,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),i.createElement("path",{d:"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),i.createElement("rect",{x:138.555,y:129.263,width:41.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M238.141 65.862H126.286",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__d)"},i.createElement("rect",{x:252.859,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),i.createElement("rect",{x:266.809,y:93.193,width:38.859,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:266.809,y:82.189,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("rect",{x:266.805,y:118.259,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),i.createElement("path",{d:"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),i.createElement("rect",{x:266.844,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),i.createElement("path",{d:"M358.094 65.862H252.862",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),i.createElement("rect",{x:265.812,y:129.263,width:40.852,height:7.002,rx:3.501,fill:"#EBEEF0"}));t.a=function SvgAudienceConnectAnalyticsCtaGraphic(e){return i.createElement("svg",r({viewBox:"-3 1 333.666 149.252",fill:"none"},e),a,i.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic_svg__a)",transform:"translate(-73)"},o,i.createElement("mask",{id:"audience-connect-analytics-cta-graphic_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:72,y:12,width:332,height:228},c),l))}},487:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),o=i.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),c=i.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)",mask:"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)"},i.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),i.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),i.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),i.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),i.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),i.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),i.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),l=i.createElement("defs",null,i.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714"},i.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})),i.createElement("filter",{id:"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714",x:77,y:17.181,width:399.32,height:185.111,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:4}),i.createElement("feGaussianBlur",{stdDeviation:8}),i.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),i.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16714"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16714",result:"shape"})));t.a=function SvgAudienceConnectAnalyticsCtaGraphicTablet(e){return i.createElement("svg",r({viewBox:"0 0 553 146",fill:"none"},e),i.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)"},a,i.createElement("mask",{id:"audience-connect-analytics-cta-graphic-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:48,y:1,width:441,height:237},o),c),l)}},496:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n(0),r=n(3),a=n(14),o=n(6),c=n(2),l=n(22),s={slug:"sharedKeyMetrics",contexts:[l.n,l.o,l.l,l.m],gaEventCategory:function(e){return"".concat(e,"_shared_key-metrics")},steps:[{target:".googlesitekit-km-change-metrics-cta",title:Object(c.__)("Personalize your key metrics","google-site-kit"),content:Object(c.__)("Another admin has set up these tailored metrics for your site. Click here to personalize them.","google-site-kit"),placement:"bottom-start"}]},u=function(e){var t=Object(r.useSelect)((function(e){return e(a.c).getKeyMetricsSetupCompletedBy()})),n=Object(r.useSelect)((function(e){return e(o.a).getID()})),c=Object(r.useDispatch)(o.a).triggerOnDemandTour,l=Number.isInteger(t)&&Number.isInteger(n)&&t>0&&n!==t;Object(i.useEffect)((function(){e&&l&&c(s)}),[e,l,c])}},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var i=n(22),r=n(18),a=i.n,o=i.l;function c(){var e=Object(r.a)();return e===i.n||e===i.o?a:e===i.l||e===i.m?o:null}},54:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n(3),r=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(i.useSelect)((function(e){return e(r.a).getModule(n)}),[n]);if(!l)return null;var s=o||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=c||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(37);function r(e){return function(){e[i.a]=e[i.a]||[],e[i.a].push(arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return A})),n.d(t,"t",(function(){return w})),n.d(t,"w",(function(){return T})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return N})),n.d(t,"x",(function(){return R})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return M})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return I})),n.d(t,"D",(function(){return B})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return L})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return W})),n.d(t,"i",(function(){return V})),n.d(t,"p",(function(){return H})),n.d(t,"Q",(function(){return G})),n.d(t,"P",(function(){return U}));var i="core/user",r="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",A="kmAnalyticsTopCitiesDrivingAddToCart",w="kmAnalyticsTopCitiesDrivingPurchases",T="kmAnalyticsTopDeviceDrivingPurchases",C="kmAnalyticsTopConvertingTrafficSource",N="kmAnalyticsTopCountries",R="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",M="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",I="kmAnalyticsTopTrafficSourceDrivingLeads",B="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",L="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",W="kmAnalyticsVisitsPerVisitor",V="kmAnalyticsMostEngagingPages",H="kmAnalyticsTopCategories",G=[h,v,b,E,_,O,y,k,H,j,S,A,w,T,C,N,D,M,x,P,F,L,W,V,H],U=[].concat(G,[z])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var i=n(22),r="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[i.n,i.l,i.o,i.m]},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v}));var i=n(7),r=n.n(i),a=n(33),o=n.n(a),c=n(111),l=n(11),s=n.n(l),u=n(94),d=n.n(u),g=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var h={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(e,"error is required."),s()(t,"baseName is required."),s()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return s()(e,"baseName is required."),s()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){s()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"selectorName is required."),t.getError(e,n,i)},getErrorForAction:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"actionName is required."),t.getError(e,n,i)},getError:function(e,t,n){var i=e.errors;return s()(t,"baseName is required."),i[p(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,i){var r=t(e).getMetaDataForError(i);if(r){var a=r.baseName,o=r.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:h,controls:{},reducer:function(e,t){var n=t.type,i=t.payload;switch(n){case"RECEIVE_ERROR":var a=i.baseName,o=i.args,c=i.error,l=p(a,o);return m(m({},e),{},{errors:m(m({},e.errors||{}),{},r()({},l,c)),errorArgs:m(m({},e.errorArgs||{}),{},r()({},l,o))});case"CLEAR_ERROR":var s=i.baseName,u=i.args,d=m({},e),g=p(s,u);return d.errors=m({},e.errors||{}),d.errorArgs=m({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var f=i.baseName,h=m({},e);if(f)for(var v in h.errors=m({},e.errors||{}),h.errorArgs=m({},e.errorArgs||{}),h.errors)(v===f||v.startsWith("".concat(f,"::")))&&(delete h.errors[v],delete h.errorArgs[v]);else h.errors={},h.errorArgs={};return h;default:return e}},resolvers:{},selectors:t}}},624:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddMetricCTATile}));var i=n(15),r=n.n(i),a=n(1),o=n.n(a),c=n(0),l=n(222),s=n(2),u=n(56),d=n(3),g=n(24),f=n(30),m=n(964),p=n(8),h=n(18);function AddMetricCTATile(t){var n=t.Widget,i=Object(c.useRef)(),a=Object(d.useDispatch)(g.b).setValue,o=Object(h.a)(),v="".concat(o,"_kmw"),b=Object(c.useCallback)((function(e){("keydown"!==e.type||[u.b,u.e].includes(e.keyCode))&&(e.preventDefault(),a(f.k,!0),Object(p.J)(v,"add_metric_click"))}),[a,v]),E=Object(l.a)(i,{threshold:.25}),_=Object(c.useState)(!1),O=r()(_,2),y=O[0],k=O[1],j=!!(null==E?void 0:E.intersectionRatio);return Object(c.useEffect)((function(){j&&!y&&(Object(p.J)(v,"add_metric_view"),k(!0))}),[j,v,y]),e.createElement(n,{className:"googlesitekit-widget--addMetricCTATile",noPadding:!0},e.createElement("div",{ref:i,className:"googlesitekit-km-add-metric-cta-tile",onClick:b,onKeyDown:b,tabIndex:0,role:"button"},e.createElement("div",{className:"googlesitekit-km-add-metric-cta-tile__icon"},e.createElement(m.a,{width:16,height:16})),e.createElement("p",{className:"googlesitekit-km-add-metric-cta-tile__text"},Object(s.__)("Add a metric","google-site-kit"))))}AddMetricCTATile.propTypes={Widget:o.a.elementType.isRequired}}).call(this,n(4))},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(0),r=Object(i.createContext)(""),a=(r.Consumer,r.Provider);t.b=r},639:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectGA4CTAWidget}));var i=n(15),r=n.n(i),a=n(2),o=n(0),c=n(3),l=n(10),s=n(360),u=n(361),d=n(19),g=n(6),f=n(46),m=n(84),p=n(9),h=n(32),v=n(14),b=n(149),E=n(176),_=n(379),O=n(161);function ConnectGA4CTAWidget(t){var n=t.Widget,i=t.WidgetNull,y=Object(c.useSelect)((function(e){var t=e(g.a).getKeyMetrics(),n=e(f.a).getWidgets(m.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY);return t&&n?n.filter((function(e){var n=e.slug,i=e.modules;return t.includes(n)&&i.includes("analytics-4")})):[]})),k=Object(c.useSelect)((function(e){return e(d.a).isModuleActive("analytics-4")})),j=Object(c.useSelect)((function(e){var t=e(p.p).getAdminReauthURL();return!!t&&e(h.a).isNavigatingTo(t)})),S=Object(c.useSelect)((function(e){return e(d.a).isFetchingSetModuleActivation("analytics-4",!0)})),A=Object(c.useSelect)((function(e){var t=e(v.c).getAdminURL("googlesitekit-settings");return"".concat(t,"#connected-services/analytics-4/edit")})),w=Object(c.useSelect)((function(e){return e(h.a).isNavigatingTo(A)})),T=Object(c.useDispatch)(g.a).dismissItem,C=Object(E.a)("analytics-4"),N=Object(_.a)("analytics-4"),R=Object(o.useCallback)((function(){if(k)return N();C()}),[C,N,k]),D=Object(o.useState)(!1),M=r()(D,2),x=M[0],I=M[1],B=Object(O.a)(I,3e3);return Object(o.useEffect)((function(){S||j||w?I(!0):B(!1)}),[S,j,B,w]),!1!==Object(c.useSelect)((function(e){return e(g.a).isItemDismissed(b.g)}))||y.length<4?e.createElement(i,null):e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(u.a,{onActionClick:function(){return T(b.g)},showDismiss:!0})}},e.createElement(s.a,{className:"googlesitekit-km-connect-ga4-cta",title:Object(a.__)("Analytics is disconnected","google-site-kit"),description:Object(a.__)("Metrics cannot be displayed without Analytics","google-site-kit"),actions:e.createElement(l.SpinnerButton,{onClick:R,isSaving:x,disabled:x},Object(a.__)("Connect Analytics","google-site-kit"))}))}}).call(this,n(4))},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var i="modules/search-console",r=1},67:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,i=t.reconnectURL,r=t.noPrefix;if(!n)return null;var l=n;void 0!==r&&r||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),i&&Object(a.a)(i)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),i));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string,noPrefix:r.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},71:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return i.createElement("svg",r({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var i=n(33),r=n.n(i),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var i="mainDashboardKeyMetrics",r="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:i,CONTEXT_MAIN_DASHBOARD_TRAFFIC:r,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},76:function(e,t,n){"use strict";var i=n(15),r=n.n(i),a=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,i=Object(l.useState)(document.createElement("div")),o=r()(i,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var i=n(1),r=n.n(i);function IconWrapper(t){var n=t.children,i=t.marginLeft,r=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:i,marginRight:r}},n)}IconWrapper.propTypes={children:r.a.node.isRequired,marginLeft:r.a.number,marginRight:r.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a}));var i=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},r=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},790:function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f.a})),n.d(t,"a",(function(){return m}));var i=n(46),r=n(3),a=n(960),o=n(962),c=n(11),l=n.n(c),s={selectors:{isWidgetContextActive:Object(r.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};l()(n,"contextSlug is required to check a widget context is active.");var a=r.modules;return e(i.a).getWidgetAreas(n).some((function(t){return e(i.a).isWidgetAreaActive(t.slug,{modules:a})}))}}))}},u=n(62),d=Object(r.combineStores)(r.commonStore,a.a,o.a,s,Object(u.b)(i.a)),g=function(e){e.registerStore(i.a,d)},f=n(831);function m(e){var t=e.dispatch,n=e.select,r={WIDGET_AREA_STYLES:i.b,WIDGET_WIDTHS:i.c,registerWidgetArea:function(e,n,a){t(i.a).registerWidgetArea(e,n),a&&r.assignWidgetArea(e,a)},registerWidget:function(e,n,a){t(i.a).registerWidget(e,n),a&&r.assignWidget(e,a)},assignWidgetArea:function(e,n){t(i.a).assignWidgetArea(e,n)},assignWidget:function(e,n){t(i.a).assignWidget(e,n)},isWidgetAreaRegistered:function(e){return n(i.a).isWidgetAreaRegistered(e)},isWidgetRegistered:function(e){return n(i.a).isWidgetRegistered(e)}};return r}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return r.b})),n.d(t,"K",(function(){return r.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return T})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return N})),n.d(t,"x",(function(){return R})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return M})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return I})),n.d(t,"l",(function(){return B})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return L})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return H})),n.d(t,"E",(function(){return G.a})),n.d(t,"h",(function(){return U})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var i=n(13),r=n(36),a=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(i){var r=t[i];r&&"object"===c()(r)&&!Array.isArray(r)&&(r=e(r)),n[i]=r})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,i=[g,f,m];n<i.length;n++){t=(0,i[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),E=n.n(b),_=n(11),O=n.n(_),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,A=60*S,w=24*A,T=7*w,C=30*w;function N(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(i.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(i.isDate)(n)&&!isNaN(n)}function D(e){O()(Object(i.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function M(e){O()(R(e),k);var t=e.split("-"),n=E()(t,3),i=n[0],r=n[1],a=n[2];return new Date(i,r-1,a)}function x(e,t){return D(B(e,t*w))}function I(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function B(e,t){O()(R(e)||Object(i.isDate)(e)&&!isNaN(e),k);var n=R(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),F=n(83);function L(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var W=n(27),V=n.n(W),H=function(e){return Array.isArray(e)?V()(e).sort():e},G=n(88);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var i=(t-e)/e;return Number.isNaN(i)||!Number.isFinite(i)?null:i}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(i.unescape)(t)}},80:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return i.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var i=n(145),r=n.n(i)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return T}));var i=n(15),r=n.n(i),a=n(33),o=n.n(a),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),g=n(57),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),i=n.formatUnit,r=n.formatDecimal;try{return i()}catch(e){return r()}},b=function(e){var t=E(e),n=t.hours,i=t.minutes,r=t.seconds;return r=("0"+r).slice(-2),i=("0"+i).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(i,":").concat(r):"".concat(n,":").concat(i,":").concat(r)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),i=n.hours,r=n.minutes,a=n.seconds;return{hours:i,minutes:r,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?A(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?A(a,h(h({},o),{},{unit:"second"})):"",r?A(r,h(h({},o),{},{unit:"minute"})):"",i?A(i,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),r),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),i);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",r?n:"",i?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),A(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),A(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),A(O(e),e%10==0?{}:t)):A(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),i=n.style,r=void 0===i?"metric":i;return"metric"===r?y(e):"duration"===r?v(e,n):"durationISO"===r?b(e):A(e,n)}var S=f()(console.warn),A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,i=void 0===n?T():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(i,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(i),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,g=Object.entries(a);d<g.length;d++){var f=r()(g[d],2),m=f[0],p=f[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(i,s).format(e)}catch(t){return new Intl.NumberFormat(i).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,i=void 0===n?T():n,r=t.style,a=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(i,{style:a,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var i=n.match(/^(\w{2})?(_)?(\w{2})/);if(i&&i[0])return i[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var i=n(109);function r(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(i.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var a=r.length-Math.floor(t)+1;return"…"+r.substr(a)}},831:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return j}));var i=n(21),r=n.n(i),a=n(0),o=n(2),c=n(73),l=n(84),s=n(6),u=n(46),d=n(19),g=n(14),f=n(107),m=n(624),p=n(965),h=n(966),v=n(639),b=n(358),E=n(44),_=n(25),O=n(199),y=r()({},c),k=r()({},l);function j(t){var n=Object(E.b)("conversionReporting"),i=y.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,r=y.CONTEXT_MAIN_DASHBOARD_TRAFFIC,c=y.CONTEXT_MAIN_DASHBOARD_CONTENT,l=y.CONTEXT_MAIN_DASHBOARD_SPEED,j=y.CONTEXT_MAIN_DASHBOARD_MONETIZATION,S=y.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,A=y.CONTEXT_ENTITY_DASHBOARD_CONTENT,w=y.CONTEXT_ENTITY_DASHBOARD_SPEED,T=y.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,C=k.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY,N=k.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,R=k.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION,D=k.AREA_MAIN_DASHBOARD_CONTENT_PRIMARY,M=k.AREA_MAIN_DASHBOARD_SPEED_PRIMARY,x=k.AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY,I=k.AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY,B=k.AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY,P=k.AREA_ENTITY_DASHBOARD_SPEED_PRIMARY,F=k.AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY;t.registerWidgetArea(C,{title:e.createElement(a.Fragment,null,Object(o.__)("Key metrics","google-site-kit"),e.createElement(p.a,null)),subtitle:h.a,style:u.b.BOXES,priority:1,CTA:f.a,filterActiveWidgets:function(e,t){return 1===t.length&&s.P.includes(t[0].slug)?[]:t}},i),t.registerWidgetArea(N,{title:Object(o.__)("Find out how your audience is growing","google-site-kit"),subtitle:Object(o.__)("Track your site’s traffic over time","google-site-kit"),style:u.b.BOXES,priority:1},r),Object(E.b)("audienceSegmentation")&&t.registerWidgetArea(R,{subtitle:Object(o.__)("Understand how different visitor groups interact with your site","google-site-kit"),hasNewBadge:!0,style:u.b.BOXES,priority:2,CTA:b.f,Footer:b.a,filterActiveWidgets:function(e,t){var n=e(s.a).isAudienceSegmentationWidgetHidden();return void 0===n||n?[]:t}},r),t.registerWidgetArea(D,{title:Object(o.__)("See how your content is doing","google-site-kit"),subtitle:Object(o.__)("Keep track of your most popular pages and how people found them from Search","google-site-kit"),style:u.b.BOXES,priority:1},c),t.registerWidgetArea(M,{title:Object(o.__)("Find out how visitors experience your site","google-site-kit"),subtitle:Object(o.__)("Keep track of how fast your pages are and get specific recommendations on what to improve","google-site-kit"),style:u.b.BOXES,priority:1},l),t.registerWidgetArea(x,{title:Object(o.__)("Find out how much you’re earning from your content","google-site-kit"),subtitle:Object(o.__)("Track your AdSense revenue over time","google-site-kit"),style:u.b.BOXES,priority:1},j),t.registerWidgetArea(I,{title:Object(o.__)("Find out how your audience is growing","google-site-kit"),subtitle:Object(o.__)("Track traffic to this page over time","google-site-kit"),style:u.b.BOXES,priority:1},S),t.registerWidgetArea(B,{title:Object(o.__)("See how your content is doing","google-site-kit"),subtitle:Object(o.__)("Understand how people found this page from Search","google-site-kit"),style:u.b.BOXES,priority:1},A),t.registerWidgetArea(P,{title:Object(o.__)("Find out how visitors experience this page","google-site-kit"),subtitle:Object(o.__)("Keep track of how fast your page is and get specific recommendations on what to improve","google-site-kit"),style:u.b.BOXES,priority:1},w),t.registerWidgetArea(F,{title:Object(o.__)("Find out how much you’re earning from your content","google-site-kit"),subtitle:Object(o.__)("Track your AdSense revenue over time","google-site-kit"),style:u.b.BOXES,priority:1},T),t.registerWidget("keyMetricsSetupCTA",{Component:f.c,width:[t.WIDGET_WIDTHS.FULL],priority:1,wrapWidget:!1,modules:["search-console"],isActive:function(e){return e(s.a).isAuthenticated()&&!1===e(g.c).isKeyMetricsSetupCompleted()}},[C]),t.registerWidget("keyMetricsConnectGA4All",{Component:v.a,width:[t.WIDGET_WIDTHS.FULL],priority:1,wrapWidget:!1,modules:["search-console"],isActive:function(e){var t=e(s.a).getKeyMetrics();return!(e(d.a).isModuleConnected("analytics-4")||!Array.isArray(t))&&t.filter((function(e){return s.Q.includes(e)})).length>3}},[C]),t.registerWidget("keyMetricsAddMetricFirst",{Component:m.a,width:[t.WIDGET_WIDTHS.QUARTER],priority:3,wrapWidget:!1,isActive:function(e){var t=e(s.a).getKeyMetrics();return!(!Array.isArray(t)||t.length<2)&&t.length<4}},[C]),t.registerWidget("keyMetricsAddMetricSecond",{Component:m.a,width:[t.WIDGET_WIDTHS.QUARTER],priority:3,wrapWidget:!1,isActive:function(e){var t=e(s.a).getKeyMetrics();return!(!Array.isArray(t)||t.length<2)&&t.length<3}},[C]),n&&(t.registerWidget("keyMetricsAddMetricThird",{Component:m.a,width:[t.WIDGET_WIDTHS.QUARTER],priority:3,wrapWidget:!1,isActive:function(e){var t=e(s.a).getKeyMetrics();return!(!Array.isArray(t)||t.length<5)&&t.length<8}},[C]),t.registerWidget("keyMetricsAddMetricFourth",{Component:m.a,width:[t.WIDGET_WIDTHS.QUARTER],priority:3,wrapWidget:!1,hideOnBreakpoints:[_.b],isActive:function(e){var t=e(s.a).getKeyMetrics();return!(!Array.isArray(t)||t.length<5)&&t.length<7}},[C]),t.registerWidget("keyMetricsAddMetricFifth",{Component:m.a,width:[t.WIDGET_WIDTHS.QUARTER],priority:3,wrapWidget:!1,hideOnBreakpoints:[_.b],isActive:function(e){var t=e(s.a).getKeyMetrics();return!(!Array.isArray(t)||t.length<5)&&t.length<6}},[C]),t.registerWidget("keyMetricsEventDetectionCalloutNotification",{Component:O.a,width:[t.WIDGET_WIDTHS.FULL],priority:0,modules:["analytics-4"],isActive:function(){return!!Object(E.b)("conversionReporting")}},[C]))}}).call(this,n(4))},84:function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var i="mainDashboardKeyMetricsPrimary",r="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",l="mainDashboardMonetizationPrimary",s="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:i,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:r,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:l,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},85:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a),c=n(10),l=n(20);function CTA(t){var n=t.title,i=t.headerText,r=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(i||r)&&e.createElement("div",{className:"googlesitekit-cta__header"},i&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},i),r),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===g&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:r.a.string.isRequired,headerText:r.a.string,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,ctaType:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func,children:r.a.node,headerContent:r.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var i=n(1),r=n.n(i),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,i=t.invertColor,r=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":i}),width:r,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(11),r=n.n(i),a=function(e,t){var n=t.dateRangeLength;r()(Array.isArray(e),"report must be an array to partition."),r()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var i=-1*n;return{currentRange:e.slice(i),compareRange:e.slice(2*i,i)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var i=n(25),r=n(121);function a(t,n){var i=document.querySelector(t);if(!i)return 0;var r=i.getBoundingClientRect().top,a=o(n);return r+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===i.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==i.b?t.offsetHeight:0}(t),(n=Object(r.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return b})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return A}));var i="modules/analytics-4",r="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",A="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var i=n(21),r=n.n(i),a=n(23),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var i=t.label,a=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",r()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),i)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},96:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i,r=n(7),a=n.n(r),o=n(46),c=n(142),l=n(136),s=(i={},a()(i,o.c.QUARTER,3),a()(i,o.c.HALF,6),a()(i,o.c.FULL,12),i),u="googlesitekit-hidden",d=[c.a,l.a]},960:function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(11),o=n.n(a),c=n(3),l=n(46),s=n(961),u=n(164);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=Object.keys(l.b).map((function(e){return"WIDGET_AREA_STYLES.".concat(e)})).join(", "),m={assignWidgetArea:function(e,t){return{payload:{slug:e,contextSlugs:"string"==typeof t?[t]:t},type:"ASSIGN_WIDGET_AREA"}},registerWidgetArea:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.priority,i=void 0===n?10:n,r=t.style,a=void 0===r?l.b.BOXES:r,c=t.title,s=t.subtitle,u=t.Icon,d=t.hasNewBadge,g=void 0!==d&&d,m=t.CTA,p=t.Footer,h=t.filterActiveWidgets;return o()(e,"slug is required."),o()(Object.values(l.b).includes(a),"settings.style must be one of: ".concat(f,".")),{payload:{slug:e,settings:{priority:i,style:a,title:c,subtitle:s,Icon:u,hasNewBadge:g,CTA:m,Footer:p,filterActiveWidgets:h}},type:"REGISTER_WIDGET_AREA"}}},p=Object(u.a)((function(t,n){var i=n.type,r=n.payload;switch(i){case"ASSIGN_WIDGET_AREA":var a=r.slug;return r.contextSlugs.forEach((function(e){void 0===t.contextAssignments[e]&&(t.contextAssignments[e]=[]),t.contextAssignments[e].includes(a)||t.contextAssignments[e].push(a)})),t;case"REGISTER_WIDGET_AREA":var o=r.slug,c=r.settings;return void 0!==t.areas[o]?(e.console.warn('Could not register widget area with slug "'.concat(o,'". Widget area "').concat(o,'" is already registered.')),t):(t.areas[o]=g(g({},c),{},{slug:o}),t);default:return t}})),h={isWidgetAreaActive:Object(c.createRegistrySelector)((function(e){return function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o()(n,"widgetAreaSlug is required to check a widget area is active.");var r=i.modules,a=e(l.a).getWidgetArea(n),c=e(l.a).getWidgets(n,{modules:r});return a.filterActiveWidgets&&(c=a.filterActiveWidgets(e,c)),c.some((function(t){return e(l.a).isWidgetActive(t.slug)}))}})),isWidgetAreaRegistered:function(e,t){return void 0!==e.areas[t]},getWidgetAreas:function(e,t){o()(t,"contextSlug is required.");var n=e.areas,i=e.contextAssignments;return Object(s.a)(Object.values(n).filter((function(e){return i[t]&&i[t].includes(e.slug)})),"priority")},getWidgetArea:function(e,t){return o()(t,"slug is required."),e.areas[t]||null}};t.a={initialState:{areas:{},contextAssignments:{}},actions:m,controls:{},reducer:p,resolvers:{},selectors:h}}).call(this,n(26))},961:function(e,t,n){"use strict";function i(e,t){return e.sort((function(e,n){return e[t]>n[t]?1:e[t]<n[t]?-1:0}))}n.d(t,"a",(function(){return i}))},962:function(e,t,n){"use strict";(function(e){var i=n(7),r=n.n(i),a=n(11),o=n.n(a),c=n(13),l=n(355),s=n(3),u=n(181),d=n(46),g=n(164);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=Object.keys(d.c).map((function(e){return"WIDGET_WIDTHS.".concat(e)})).join(", "),h={assignWidget:function(e,t){return{payload:{slug:e,areaSlugs:"string"==typeof t?[t]:t},type:"ASSIGN_WIDGET"}},registerWidget:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.Component,i=t.priority,r=void 0===i?10:i,a=t.width,c=void 0===a?d.c.QUARTER:a,l=t.wrapWidget,s=void 0===l||l,g=t.modules,f=t.isActive,m=t.isPreloaded,h=t.hideOnBreakpoints,v=Object.values(d.c);return o()(n,"component is required to register a widget."),o()(Array.isArray(c)&&c.some(v.includes,v)||!Array.isArray(c)&&v.includes(c),"Widget width should be one of: ".concat(p,', but "').concat(c,'" was provided.')),{payload:{slug:e,settings:{Component:n,priority:r,width:c,wrapWidget:s,modules:Object(u.f)(g),isActive:f,isPreloaded:m,hideOnBreakpoints:h}},type:"REGISTER_WIDGET"}},setWidgetState:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{payload:{slug:e,Component:t,metadata:n},type:"SET_WIDGET_STATE"}},unsetWidgetState:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{payload:{slug:e,Component:t,metadata:n},type:"UNSET_WIDGET_STATE"}}},v=Object(g.a)((function(t,n){var i=n.type,r=n.payload;switch(i){case"ASSIGN_WIDGET":var a=r.slug;return r.areaSlugs.forEach((function(e){void 0===t.areaAssignments[e]&&(t.areaAssignments[e]=[]),t.areaAssignments[e].includes(a)||t.areaAssignments[e].push(a)})),t;case"REGISTER_WIDGET":var o=r.slug,c=r.settings;return void 0!==t.widgets[o]?(e.console.warn('Could not register widget with slug "'.concat(o,'". Widget "').concat(o,'" is already registered.')),t):(t.widgets[o]=m(m({},c),{},{slug:o}),t);case"SET_WIDGET_STATE":var s=r.slug,u=r.Component,d=r.metadata;return t.widgetStates[s]={Component:u,metadata:d},t;case"UNSET_WIDGET_STATE":var g,f,p,h,v=r.slug,b=r.Component,E=r.metadata;return(null===(g=t.widgetStates)||void 0===g||null===(f=g[v])||void 0===f?void 0:f.Component)===b&&Object(l.b)(null===(p=t.widgetStates)||void 0===p||null===(h=p[v])||void 0===h?void 0:h.metadata)===E&&delete t.widgetStates[v],t;default:return t}})),b={isWidgetActive:Object(s.createRegistrySelector)((function(e){return function(t,n){return o()(n,"slug is required to check a widget is active."),!Object(u.e)(e(d.a).getWidgetState(n))}})),isWidgetRegistered:function(e,t){return void 0!==e.widgets[t]},isWidgetPreloaded:Object(s.createRegistrySelector)((function(e){return function(t,n){var i,r;return!!(null===(i=t.widgets[n])||void 0===i||null===(r=i.isPreloaded)||void 0===r?void 0:r.call(i,e))}})),getWidgets:Object(s.createRegistrySelector)((function(e){return function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.modules;o()(n,"widgetAreaSlug is required.");var a=t.areaAssignments,l=Object.values(t.widgets).filter((function(e){var t;return null===(t=a[n])||void 0===t?void 0:t.includes(e.slug)})).filter((function(t){return"function"!=typeof t.isActive||(!!t.isActive(e)||"function"==typeof t.isPreloaded&&t.isPreloaded(e))}));if(r){var s=Object(u.f)(r);l=l.filter((function(e){var t;return!(null===(t=e.modules)||void 0===t?void 0:t.length)||Object(c.intersection)(e.modules,s).length===e.modules.length}))}return l.sort((function(e,t){return e.priority-t.priority}))}})),getWidget:function(e,t){return o()(t,"slug is required to get a widget."),e.widgets[t]||null},getWidgetState:function(e,t){return e.widgetStates[t]||null},getWidgetStates:function(e){return e.widgetStates}};t.a={initialState:{areaAssignments:{},widgets:{},widgetStates:{}},actions:h,controls:{},reducer:v,resolvers:{},selectors:b}}).call(this,n(26))},964:function(e,t,n){"use strict";var i=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var a=i.createElement("path",{d:"M7.999 1.333v13.334M1.332 8h13.333",stroke:"#6C726E",strokeWidth:2,strokeLinecap:"square"});t.a=function SvgPlus(e){return i.createElement("svg",r({viewBox:"0 0 16 16",fill:"none"},e),a)}},965:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsNewBadge}));var i=n(15),r=n.n(i),a=n(0),o=n(2),c=n(3),l=n(14),s=n(93),u=n(44);function KeyMetricsNewBadge(){var t=Object(u.b)("conversionReporting"),n=Object(c.useSelect)((function(e){return e(l.c).getKeyMetricsSetupNew()})),i=Object(c.useSelect)((function(e){return e(l.c).isKeyMetricsSetupCompleted()})),d=Object(a.useState)(i),g=r()(d,1)[0],f=Object(a.useState)(n),m=r()(f,2),p=m[0],h=m[1];return Object(a.useEffect)((function(){!g&&i&&h(!0)}),[g,i]),t&&i?null:p||t?e.createElement(s.a,{className:"googlesitekit-new-badge",label:Object(o.__)("New","google-site-kit")}):null}}).call(this,n(4))},966:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricsWidgetSubtitle}));var i=n(2),r=n(0),a=n(14),o=n(3);function MetricsWidgetSubtitle(){return Object(o.useSelect)((function(e){return e(a.c).isKeyMetricsSetupCompleted()}))?e.createElement(r.Fragment,null,Object(i.__)("Track progress towards your goals with tailored metrics and important user interaction metrics","google-site-kit")):null}}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var i=n(220),r=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(i.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var i=n(7),r=n.n(i),a=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=s(s({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(r,n),d=Object(c.a)(r,n,l,i),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=JSON.stringify(t);g[i]||(g[i]=Object(a.once)(d)),g[i].apply(g,t)};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1206,1,0]]]); dist/assets/js/googlesitekit-wp-dashboard-a24f18cd5f1c8dae446d.js 0000604 00000751137 14717744000 0020260 0 ustar 00 (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[31],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var a=n(58),r=n(37),i=n(44);function o(t,n){var o,c=Object(a.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,m=void 0===d?[]:d,g=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(r.b,"]"))),!o){o=!0;var a=(null==m?void 0:m.length)?m.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:p||"",enabled_features:Array.from(i.a).join(","),active_modules:l.join(","),authenticated:g?"1":"0",user_properties:{user_roles:a,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(r.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(5),r=n.n(a),i=n(7),o=n.n(i),c=n(16),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n,a){var i=Object(s.a)(t);return function(){var t=l()(r.a.mark((function t(o,c,l,s){var u;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(r),e()};i("event",c,d(d({},u),{},{event_callback:l})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,a,r){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var a=n(123);n.d(t,"a",(function(){return a.a}));var r=n(124);n.d(t,"c",(function(){return r.a}));var i=n(125);n.d(t,"b",(function(){return i.a}))},105:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return a?e.createElement("span",r()({},i,{className:u()("screen-reader-text",n)}),a):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},106:function(e,t,n){"use strict";(function(e,a){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var r=n(7),i=n.n(r),o=n(91),c=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),m=n(24),g=n(6),p=n(36),f=n(130),y=n(18);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},v={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},T="feature_tooltip_view",k="feature_tooltip_advance",E="feature_tooltip_return",N="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,r=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(r,"-step"),S="".concat(r,"-run"),_=Object(d.useDispatch)(m.b).setValue,A=Object(d.useDispatch)(g.a).dismissTour,w=Object(d.useRegistry)(),I=Object(y.a)(),C=Object(d.useSelect)((function(e){return e(m.b).getValue(u)})),Z=Object(d.useSelect)((function(e){return e(m.b).getValue(S)&&!1===e(g.a).isTourDismissed(r)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),_(S,!0)}));var M=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return a.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,a=e.lifecycle,r=e.size,i=e.status,o=e.type,s=t+1,u="function"==typeof l?l(I):l;o===c.b.TOOLTIP&&a===c.c.TOOLTIP?Object(p.b)(u,T,s):n===c.a.CLOSE&&a===c.c.COMPLETE?Object(p.b)(u,N,s):n===c.a.NEXT&&i===c.d.FINISHED&&o===c.b.TOUR_END&&r===s&&Object(p.b)(u,j,s),a===c.c.COMPLETE&&i!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,E,s),n===c.a.NEXT&&Object(p.b)(u,k,s))}(t);var n=t.action,a=t.index,i=t.status,o=t.step,d=t.type,m=n===c.a.CLOSE,g=!m&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),f=[c.d.FINISHED,c.d.SKIPPED].includes(i),y=m&&d===c.b.STEP_AFTER,b=f||y;if(c.b.STEP_BEFORE===d){var h,v,O=o.target;"string"==typeof o.target&&(O=e.document.querySelector(o.target)),null===(h=O)||void 0===h||null===(v=h.scrollIntoView)||void 0===v||v.call(h,{block:"center"})}g?function(e,t){_(u,e+(t===c.a.PREV?-1:1))}(a,n):b&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),A(r)),s&&s(t,w)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:O,locale:v,run:Z,showProgress:!0,stepIndex:C,steps:M,styles:h,tooltipComponent:f.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},112:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",r()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},113:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}));function a(e){var t=e.format,n=void 0===t?"small":t,a=e.hasErrorOrWarning,r=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=i(n);return Object.keys(c).forEach((function(e){var t=c[e];a&&(t-=1),r&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var r=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},i=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},1138:function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(222),o=n(0),c=n(2),l=n(3),s=n(20),u=n(1139),d=n(204),m=n(14);t.a=function WPDashboardApp(){var t=Object(o.useRef)(),n=Object(i.a)(t,{threshold:0}),a=Object(l.useSelect)((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard")})),g=Object(o.useState)({key:"WPDashboardApp",value:!!(null==n?void 0:n.intersectionRatio)}),p=r()(g,2),f=p[0],y=p[1];return Object(o.useEffect)((function(){y({key:"WPDashboardApp",value:!!(null==n?void 0:n.intersectionRatio)})}),[n]),void 0===a?e.createElement("div",{ref:t}):a?e.createElement(d.a,{value:f},e.createElement("div",{className:"googlesitekit-wp-dashboard",ref:t},e.createElement("div",{className:"googlesitekit-wp-dashboard__cta"},e.createElement(s.a,{className:"googlesitekit-wp-dashboard__cta-link",href:a},Object(c.__)("Visit your Site Kit Dashboard","google-site-kit"))),e.createElement(u.a,null))):null}}).call(this,n(4))},1139:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardWidgets}));var a=n(12),r=n.n(a),i=n(0),o=n(3),c=n(19),l=n(6),s=n(207),u=n(1140),d=n(1141),m=n(1142),g=n(1143),p=n(1144),f=n(1145),y=n(1146),b=n(492),h=Object(s.b)("wpDashboardImpressions")(u.a),v=Object(s.b)("wpDashboardClicks")(d.a),O=Object(s.b)("wpDashboardUniqueVisitors")(m.a),T=Object(s.b)("wpDashboardSessionDuration")(g.a),k=Object(s.b)("wpDashboardPopularPages")(p.a),E=Object(s.b)("wpDashboardUniqueVisitorsChart")(f.a);function WPDashboardWidgets(){var t=Object(o.useSelect)((function(e){return e(c.a).getModule("analytics-4")})),n=Object(o.useSelect)((function(e){return e(l.a).hasAccessToShareableModule("analytics-4")})),a=Object(o.useSelect)((function(e){return e(l.a).hasAccessToShareableModule("search-console")}));if(void 0===t)return null;var s=t.active,u=t.connected,d=s&&u;return e.createElement(b.a,{className:r()("googlesitekit-wp-dashboard-stats googlesitekit-wp-dashboard-stats--twoup",{"googlesitekit-wp-dashboard-stats--fourup":d})},d&&n&&e.createElement(i.Fragment,null,e.createElement(O,null),e.createElement(T,null)),a&&e.createElement(i.Fragment,null,e.createElement(h,null),e.createElement(v,null)),!d&&e.createElement("div",{className:"googlesitekit-wp-dashboard-stats__cta"},e.createElement(y.a,null)),d&&n&&e.createElement(i.Fragment,null,e.createElement(E,null),e.createElement(k,null)))}}).call(this,n(4))},114:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,a=void 0===n?"":n,r=t.dialogActive,i=void 0!==r&&r,m=t.handleDialog,g=void 0===m?null:m,p=t.onOpen,f=void 0===p?null:p,y=t.onClose,b=void 0===y?null:y,h=t.title,v=void 0===h?null:h,O=t.provides,T=t.handleConfirm,k=t.subtitle,E=t.confirmButton,N=void 0===E?null:E,j=t.dependentModules,S=t.danger,_=void 0!==S&&S,A=t.inProgress,w=void 0!==A&&A,I=t.small,C=void 0!==I&&I,Z=t.medium,M=void 0!==Z&&Z,P=t.buttonLink,D=void 0===P?null:P,L=Object(c.a)(ModalDialog),G="googlesitekit-dialog-description-".concat(L),R=!(!O||!O.length);return e.createElement(u.Dialog,{open:i,onOpen:f,onClose:b,"aria-describedby":R?G:void 0,tabIndex:"-1",className:o()(a,{"googlesitekit-dialog-sm":C,"googlesitekit-dialog-md":M})},e.createElement(u.DialogTitle,null,_&&e.createElement(d.a,{width:28,height:28}),v),k?e.createElement("p",{className:"mdc-dialog__lead"},k):[],e.createElement(u.DialogContent,null,R&&e.createElement("section",{id:G,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:w},Object(s.__)("Cancel","google-site-kit")),D?e.createElement(u.Button,{href:D,onClick:T,target:"_blank",danger:_},N):e.createElement(u.SpinnerButton,{onClick:T,danger:_,disabled:w,isSaving:w},N||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r.a.string,dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,onOpen:r.a.func,onClose:r.a.func,title:r.a.string,confirmButton:r.a.string,danger:r.a.bool,small:r.a.bool,medium:r.a.bool,buttonLink:r.a.string},t.a=ModalDialog}).call(this,n(4))},1140:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(1),o=n.n(i),c=n(2),l=n(3),s=n(64),u=n(6),d=n(214),m=n(40),g=n(112),p=n(8),f=n(398),y=n(88);function WPDashboardImpressions(t){var n=t.WPDashboardReportError,a=Object(l.useInViewSelect)((function(e){return e(s.b).isGatheringData()})),i=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:s.a})})),o=i.compareStartDate,b=i.endDate,h=Object(l.useSelect)((function(e){return e(u.a).getDateRangeNumberOfDays()})),v={startDate:o,endDate:b,dimensions:"date"},O=Object(l.useInViewSelect)((function(e){return e(s.b).getReport(v)}),[v]),T=Object(l.useSelect)((function(e){return e(s.b).getErrorForSelector("getReport",[v])}));if(Object(l.useSelect)((function(e){return!e(s.b).hasFinishedResolution("getReport",[v])}))||void 0===a)return e.createElement(m.a,{width:"48%",height:"92px"});if(T)return e.createElement(n,{moduleSlug:"search-console",error:T});var k=Object(y.a)(O,{dateRangeLength:h}),E=k.compareRange,N=k.currentRange,j=Object(f.a)(N,"impressions"),S=Object(f.a)(E,"impressions"),_=Object(p.h)(S,j),A={gatheringData:a,gatheringDataNoticeStyle:g.a.SMALL};return e.createElement(d.a,r()({className:"googlesitekit-wp-dashboard-stats__data-table overview-total-impressions",title:Object(c.__)("Total Impressions","google-site-kit"),datapoint:j,change:_,changeDataUnit:"%"},A))}WPDashboardImpressions.propTypes={WPDashboardReportError:o.a.elementType.isRequired},t.a=WPDashboardImpressions}).call(this,n(4))},1141:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(1),o=n.n(i),c=n(2),l=n(3),s=n(64),u=n(6),d=n(8),m=n(398),g=n(88),p=n(214),f=n(40),y=n(112);function WPDashboardClicks(t){var n=t.WPDashboardReportError,a=Object(l.useInViewSelect)((function(e){return e(s.b).isGatheringData()})),i=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:s.a})})),o=i.compareStartDate,b=i.endDate,h=Object(l.useSelect)((function(e){return e(u.a).getDateRangeNumberOfDays()})),v={startDate:o,endDate:b,dimensions:"date"},O=Object(l.useInViewSelect)((function(e){return e(s.b).getReport(v)}),[v]),T=Object(l.useSelect)((function(e){return e(s.b).getErrorForSelector("getReport",[v])}));if(Object(l.useSelect)((function(e){return!e(s.b).hasFinishedResolution("getReport",[v])}))||void 0===a)return e.createElement(f.a,{width:"48%",height:"92px"});if(T)return e.createElement(n,{moduleSlug:"search-console",error:T});var k=Object(g.a)(O,{dateRangeLength:h}),E=k.compareRange,N=k.currentRange,j=Object(m.a)(N,"clicks"),S=Object(m.a)(E,"clicks"),_=Object(d.h)(S,j),A={gatheringData:a,gatheringDataNoticeStyle:y.a.SMALL};return e.createElement(p.a,r()({className:"googlesitekit-wp-dashboard-stats__data-table overview-total-clicks",title:Object(c.__)("Total Clicks","google-site-kit"),datapoint:j,change:_,changeDataUnit:"%"},A))}WPDashboardClicks.propTypes={WPDashboardReportError:o.a.elementType.isRequired},t.a=WPDashboardClicks}).call(this,n(4))},1142:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(1),l=n.n(c),s=n(2),u=n(3),d=n(9),m=n(6),g=n(40),p=n(8),f=n(214),y=n(112);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WPDashboardUniqueVisitorsGA4(t){var n,a,i,o,c,l,b,v,O=t.WPDashboardReportError,T=Object(u.useInViewSelect)((function(e){return e(d.p).isGatheringData()})),k=h(h({},Object(u.useSelect)((function(e){return e(m.a).getDateRangeDates({compare:!0,offsetDays:d.f})}))),{},{metrics:[{name:"totalUsers"}]}),E=Object(u.useInViewSelect)((function(e){return e(d.p).getReport(k)}),[k]),N=Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[k])}));if(Object(u.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[k])}))||void 0===T)return e.createElement(g.a,{width:"48%",height:"92px"});if(N)return e.createElement(O,{moduleSlug:"analytics-4",error:N});var j=null==E||null===(n=E.totals)||void 0===n||null===(a=n[0])||void 0===a||null===(i=a.metricValues)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.value,S=null==E||null===(c=E.totals)||void 0===c||null===(l=c[1])||void 0===l||null===(b=l.metricValues)||void 0===b||null===(v=b[0])||void 0===v?void 0:v.value,_={gatheringData:T,gatheringDataNoticeStyle:y.a.SMALL};return e.createElement(f.a,r()({className:"googlesitekit-wp-dashboard-stats__data-table overview-total-users",title:Object(s.__)("Total Unique Visitors","google-site-kit"),datapoint:j,change:Object(p.h)(S,j),changeDataUnit:"%"},_))}WPDashboardUniqueVisitorsGA4.propTypes={WPDashboardReportError:l.a.elementType.isRequired},t.a=WPDashboardUniqueVisitorsGA4}).call(this,n(4))},1143:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(1),l=n.n(c),s=n(2),u=n(3),d=n(9),m=n(6),g=n(8),p=n(214),f=n(40),y=n(112);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WPDashboardSessionDurationGA4(t){var n,a,i,o,c,l,b=t.WPDashboardReportError,v=Object(u.useInViewSelect)((function(e){return e(d.p).isGatheringData()})),O=h(h({},Object(u.useSelect)((function(e){return e(m.a).getDateRangeDates({compare:!0,offsetDays:d.f})}))),{},{dimensions:[{name:"date"}],limit:10,metrics:[{name:"averageSessionDuration"}]}),T=Object(u.useInViewSelect)((function(e){return e(d.p).getReport(O)}),[O]),k=Object(u.useSelect)((function(e){return e(d.p).getErrorForSelector("getReport",[O])}));if(Object(u.useSelect)((function(e){return!e(d.p).hasFinishedResolution("getReport",[O])}))||void 0===v)return e.createElement(f.a,{width:"48%",height:"92px"});if(k)return e.createElement(b,{moduleSlug:"analytics-4",error:k});var E=T.totals,N=null==E||null===(n=E[0])||void 0===n||null===(a=n.metricValues)||void 0===a||null===(i=a[0])||void 0===i?void 0:i.value,j=null==E||null===(o=E[1])||void 0===o||null===(c=o.metricValues)||void 0===c||null===(l=c[0])||void 0===l?void 0:l.value,S=N,_=Object(g.h)(j,N),A={gatheringData:v,gatheringDataNoticeStyle:y.a.SMALL};return e.createElement(p.a,r()({className:"googlesitekit-wp-dashboard-stats__data-table overview-average-session-duration",title:Object(s.__)("Avg. Time on Page","google-site-kit"),datapoint:S,datapointUnit:"s",change:_,changeDataUnit:"%"},A))}WPDashboardSessionDurationGA4.propTypes={WPDashboardReportError:l.a.elementType.isRequired},t.a=WPDashboardSessionDurationGA4}).call(this,n(4))},1144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardPopularPagesGA4}));var a=n(15),r=n.n(a),i=n(7),o=n.n(i),c=n(13),l=n(1),s=n.n(l),u=n(2),d=n(3),m=n(9),g=n(138),p=n(6),f=n(403),y=n(490),b=n(489),h=n(666),v=n(8);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WPDashboardPopularPagesGA4(t){var n,a=t.WPDashboardReportError,i=Object(d.useSelect)((function(e){return e(p.a).getDateRangeDates({offsetDays:m.f})})),o=Object(d.useInViewSelect)((function(e){return e(m.p).isGatheringData()})),l=T(T({},i),{},{dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:5}),s=Object(d.useInViewSelect)((function(e){return e(m.p).getReport(l)}),[l]),O=Object(d.useInViewSelect)((function(e){return e(m.p).getPageTitles(s,l)}),[s,l]),k=Object(d.useSelect)((function(e){return e(m.p).getErrorForSelector("getReport",[l])}));if(Object(d.useSelect)((function(e){return!(void 0!==k||void 0!==O)||!e(m.p).hasFinishedResolution("getReport",[l])}))||void 0===o)return e.createElement(f.a,{rows:6});if(k)return e.createElement(a,{moduleSlug:"analytics-4",error:k});var E=(null==s||null===(n=s.rows)||void 0===n?void 0:n.length)?Object(c.cloneDeep)(s.rows):[];E.forEach((function(e){var t=e.dimensionValues[0].value;e.dimensionValues.unshift({value:O[t]})}));var N=[{title:Object(u.__)("Title","google-site-kit"),description:Object(u.__)("Page Title","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensionValues,2),i=a[0].value,o=a[1].value;return e.createElement(h.a,{title:i,path:o})}},{title:Object(u.__)("Pageviews","google-site-kit"),description:Object(u.__)("Pageviews","google-site-kit"),field:"metricValues.0.value",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(v.C)(n,{style:"decimal"}))}}];return e.createElement("div",{className:"googlesitekit-search-console-widget"},e.createElement("h3",null,Object(u.__)("Top content over the last 28 days","google-site-kit")),e.createElement(y.a,null,e.createElement(b.a,{rows:E,columns:N,limit:5,gatheringData:o,zeroState:g.h})))}WPDashboardPopularPagesGA4.propTypes={WPDashboardReportError:s.a.elementType.isRequired}}).call(this,n(4))},1145:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardUniqueVisitorsChartGA4}));var a=n(7),r=n.n(a),i=n(15),o=n.n(i),c=n(511),l=n.n(c),s=n(1),u=n.n(s),d=n(2),m=n(3),g=n(24),p=n(6),f=n(9),y=n(349),b=n(814),h=n(430),v=n(8);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WPDashboardUniqueVisitorsChartGA4(t){var n=t.WPDashboardReportError,a=Object(m.useInViewSelect)((function(e){return e(f.p).isGatheringData()})),r=Object(m.useSelect)((function(e){return e(g.b).getValue("googleChartsCollisionError")})),i=Object(m.useSelect)((function(e){return e(p.a).getReferenceDate()})),c=Object(m.useSelect)((function(e){return e(p.a).getDateRangeDates({compare:!0,offsetDays:f.f})})),s=c.startDate,u=c.endDate,O=c.compareStartDate,k=c.compareEndDate,E=Object(m.useSelect)((function(e){return e(p.a).getDateRangeNumberOfDays()})),N={startDate:s,endDate:u,compareStartDate:O,compareEndDate:k,metrics:[{name:"totalUsers"}],dimensions:["date"],orderby:[{dimension:{dimensionName:"date"}}]},j=Object(m.useInViewSelect)((function(e){return e(f.p).getReport(N)}),[N]),S=Object(m.useSelect)((function(e){return!e(f.p).hasFinishedResolution("getReport",[N])})),_=Object(m.useSelect)((function(e){return e(f.p).getErrorForSelector("getReport",[N])}));if(r)return null;if(_)return e.createElement(n,{moduleSlug:"analytics-4",error:_});var A=Object(h.a)(j,0,E,i,[Object(d.__)("Unique Visitors","google-site-kit")],[function(e){return parseFloat(e).toLocaleString()}]),w=A.slice(1).map((function(e){return o()(e,1)[0]})),I=l()(w).slice(1),C=T(T({},b.a),{},{hAxis:T(T({},b.a.hAxis),{},{ticks:I})});return!A.slice(1).some((function(e){return e[2]>0||e[3]>0}))&&(C.hAxis.ticks=[Object(v.H)(i)]),e.createElement("div",{className:"googlesitekit-unique-visitors-chart-widget"},e.createElement("h3",null,Object(d.sprintf)( /* translators: %s: number of days */ Object(d._n)("Unique visitors over the last %s day","Unique visitors over the last %s days",E,"google-site-kit"),E)),e.createElement(y.a,{chartType:"LineChart",data:A,loadingHeight:"270px",loadingWidth:"100%",loaded:!(S||void 0===a),options:C,gatheringData:a}))}WPDashboardUniqueVisitorsChartGA4.propTypes={WPDashboardReportError:u.a.elementType.isRequired}}).call(this,n(4))},1146:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardActivateAnalyticsCTA}));var a=n(2),r=n(673),i=n(1147),o=n(561),c=n(396);function WPDashboardActivateAnalyticsCTA(){return e.createElement(o.a,null,e.createElement(c.a,{title:Object(a.__)("Traffic","google-site-kit"),GraphSVG:r.a,showIcons:!1}),e.createElement(c.a,{title:Object(a.__)("Most popular content","google-site-kit"),GraphSVG:i.a,showIcons:!1}))}}).call(this,n(4))},1147:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M96.91 4.813l1.34-4.5h1.305L97.575 6h-.86l.195-1.188zm-1.234-4.5l1.336 4.5L97.215 6h-.867L94.378.312h1.298zm5.527 1.46V6h-1.129V1.773h1.129zM100.004.672c0-.164.057-.3.172-.406a.648.648 0 01.461-.16c.19 0 .342.053.457.16a.526.526 0 01.176.406c0 .164-.059.3-.176.406a.644.644 0 01-.457.16.648.648 0 01-.461-.16.53.53 0 01-.172-.406zm4.074 5.406c-.328 0-.622-.052-.883-.156a1.95 1.95 0 01-.664-.442 1.983 1.983 0 01-.414-.652 2.204 2.204 0 01-.144-.797v-.156c0-.32.045-.613.136-.879.092-.266.222-.496.391-.691.172-.196.38-.345.625-.45.245-.106.521-.16.828-.16.3 0 .565.05.797.149.232.099.426.24.582.422.159.182.279.4.359.656.081.252.121.534.121.844v.468h-3.359v-.75h2.254v-.086a.98.98 0 00-.086-.418.665.665 0 00-.25-.296.774.774 0 00-.43-.11.717.717 0 00-.382.098.756.756 0 00-.262.273 1.496 1.496 0 00-.149.414 2.656 2.656 0 00-.046.516v.156c0 .17.023.326.07.469.049.143.118.267.207.371a.94.94 0 00.328.242c.13.058.277.086.441.086.204 0 .392-.039.567-.117a1.23 1.23 0 00.457-.363l.547.593a1.67 1.67 0 01-.364.368 1.941 1.941 0 01-.546.289c-.214.073-.457.11-.731.11zm3.582-1.172l.879-3.133h.715l-.231 1.23L108.145 6h-.598l.113-1.094zm-.445-3.133l.629 3.13.058 1.097h-.703l-1.07-4.227h1.086zm2.844 3.079l.613-3.079h1.09L110.691 6h-.699l.067-1.148zm-.707-3.079l.875 3.11.121 1.117h-.602l-.879-2.992-.222-1.235h.707zm5.261 3.059a.364.364 0 00-.07-.219.616.616 0 00-.262-.18 2.555 2.555 0 00-.543-.156 4.25 4.25 0 01-.597-.175 2.052 2.052 0 01-.477-.262 1.128 1.128 0 01-.312-.36.994.994 0 01-.114-.48c0-.177.038-.344.114-.5.078-.156.188-.294.332-.414.145-.122.323-.218.531-.285.211-.07.448-.106.711-.106.367 0 .682.059.945.176.266.117.469.279.609.484.144.204.215.435.215.696h-1.125a.6.6 0 00-.07-.293.465.465 0 00-.211-.207.753.753 0 00-.367-.078.734.734 0 00-.324.066.495.495 0 00-.211.172.413.413 0 00-.032.41c.029.05.075.095.137.137.063.041.143.08.242.117.102.034.227.065.375.094.305.062.577.144.817.246.239.099.429.234.57.406.141.17.211.392.211.668 0 .188-.042.36-.125.516a1.242 1.242 0 01-.359.41 1.83 1.83 0 01-.563.27 2.624 2.624 0 01-.73.093c-.394 0-.727-.07-1-.21a1.59 1.59 0 01-.618-.536 1.245 1.245 0 01-.207-.672h1.067a.622.622 0 00.117.371.645.645 0 00.285.203c.117.042.244.063.379.063a.97.97 0 00.363-.059.51.51 0 00.219-.164.397.397 0 00.078-.242z",fill:"#C7C7C7"}),o=a.createElement("rect",{x:103,y:18.6,width:13.3,height:4.2,rx:2.1,fill:"#C7C7C7"}),c=a.createElement("rect",{x:107,y:33,width:9.1,height:4.2,rx:2.1,fill:"#C7C7C7"}),l=a.createElement("rect",{x:107,y:47,width:9.1,height:4.2,rx:2.1,fill:"#C7C7C7"}),s=a.createElement("rect",{x:110,y:61,width:5.6,height:4.2,rx:2.1,fill:"#C7C7C7"}),u=a.createElement("path",{d:"M2.848 17.981v5.72h-.723v-4.817l-1.457.531v-.652l2.066-.782h.114zm1.351 19.125v.594H.477v-.52l1.863-2.074c.229-.255.406-.47.531-.648.128-.18.216-.34.266-.48a1.27 1.27 0 00.078-.438c0-.188-.04-.357-.117-.508a.879.879 0 00-.336-.367 1.011 1.011 0 00-.54-.137c-.252 0-.463.05-.632.149a.913.913 0 00-.375.406 1.38 1.38 0 00-.125.602H.367c0-.32.07-.614.211-.88.14-.265.35-.476.625-.632.276-.159.616-.238 1.02-.238.359 0 .666.063.922.191.255.125.45.302.585.531.138.227.208.492.208.797a1.6 1.6 0 01-.086.508c-.055.17-.132.338-.23.508-.097.169-.21.336-.34.5a7.774 7.774 0 01-.41.484l-1.524 1.652h2.851zM1.527 48.501h.516c.253 0 .46-.042.625-.125a.86.86 0 00.371-.348c.083-.148.125-.315.125-.5 0-.218-.036-.402-.11-.55a.732.732 0 00-.327-.336 1.201 1.201 0 00-.555-.114c-.203 0-.383.04-.54.121a.886.886 0 00-.362.336.997.997 0 00-.13.516H.419c0-.29.073-.552.219-.79.146-.236.35-.425.613-.566.266-.14.573-.21.922-.21.344 0 .644.06.902.183.258.12.459.3.602.54.143.236.215.532.215.886a1.364 1.364 0 01-.41.914c-.139.14-.318.257-.54.348a2.146 2.146 0 01-.796.133h-.618V48.5zm0 .594v-.434h.618c.362 0 .661.043.898.129.237.086.423.2.559.344.138.143.234.3.289.472a1.73 1.73 0 01-.05 1.215c-.09.206-.216.38-.38.524a1.619 1.619 0 01-.57.324c-.22.073-.457.11-.715.11-.248 0-.48-.036-.7-.106a1.813 1.813 0 01-.574-.305 1.427 1.427 0 01-.39-.496 1.56 1.56 0 01-.14-.676h.722c0 .198.043.371.129.52a.914.914 0 00.375.347c.164.081.356.122.578.122.221 0 .411-.038.57-.114a.822.822 0 00.371-.351c.089-.157.133-.353.133-.59s-.05-.431-.148-.582a.87.87 0 00-.422-.34 1.637 1.637 0 00-.637-.113h-.516zm2.79 14.691v.594H.206v-.426l2.547-3.941h.59l-.633 1.14-1.684 2.633h3.29zm-.794-3.773V65.7h-.722v-5.687h.722z",fill:"#C7C7C7"}),d=a.createElement("rect",{x:9.8,y:18.6,width:48.3,height:4.2,rx:2.1,fill:"#C7C7C7"}),m=a.createElement("rect",{x:9.8,y:33,width:72.8,height:4.2,rx:2.1,fill:"#C7C7C7"}),g=a.createElement("rect",{x:9.8,y:47,width:42,height:4.2,rx:2.1,fill:"#C7C7C7"}),p=a.createElement("rect",{x:9.8,y:61,width:55.3,height:4.2,rx:2.1,fill:"#C7C7C7"});t.a=function SvgCtaMostPopularContent(e){return a.createElement("svg",r({viewBox:"0 0 117 70",fill:"none"},e),i,o,c,l,s,u,d,m,g,p)}},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,a=t.error,r=t.hasButton,d=void 0!==r&&r,m=t.storeName,g=t.message,p=void 0===g?a.message:g,f=t.noPrefix,y=void 0!==f&&f,b=t.Icon,h=Object(c.useDispatch)(),v=Object(c.useSelect)((function(e){return m?e(m).getSelectorDataForError(a):null})),O=Object(i.useCallback)((function(){h(v.storeName).invalidateResolution(v.name,v.args)}),[h,v]);if(!a||Object(s.f)(a))return null;var T=d&&Object(s.d)(a,v);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(i.Fragment,null,b&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(b,{width:"24",height:"24"})),e.createElement(u.a,{message:p,reconnectURL:null===(n=a.data)||void 0===n?void 0:n.reconnectURL,noPrefix:y}),T&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),hasButton:r.a.bool,storeName:r.a.string,message:r.a.string,noPrefix:r.a.bool,Icon:r.a.elementType}}).call(this,n(4))},117:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=n(38),s=n(2),u=n(3),d=n(10),m=n(14),g=n(19),p=n(34),f=n(35),y=n(20);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,a=t.error,r=t.GetHelpLink,i=t.hideGetHelpLink,o=t.buttonVariant,b=t.onRetry,v=t.onRequestAccess,O=t.getHelpClassName,T=t.RequestAccessButton,k=t.RetryButton,E=Object(f.a)(),N=Object(u.useSelect)((function(e){return e(g.a).getModuleStoreName(n)})),j=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(N))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(N).getServiceEntityAccessURL():null})),S=Array.isArray(a)?a:[a],_=Object(u.useSelect)((function(e){return S.map((function(t){var n,a=null===(n=e(N))||void 0===n?void 0:n.getSelectorDataForError(t);return h(h({},t),{},{selectorData:a})}))})),A=null==_?void 0:_.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),w=!!A.length,I=Object(u.useSelect)((function(e){var t=h({},w?A[0]:S[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(m.c).getErrorTroubleshootingLinkURL(t)})),C=Object(u.useDispatch)(),Z=S.some((function(e){return Object(p.e)(e)})),M=Object(c.useCallback)((function(){A.forEach((function(e){var t=e.selectorData;C(t.storeName).invalidateResolution(t.name,t.args)})),null==b||b()}),[C,A,b]),P=j&&Z&&!E;return e.createElement("div",{className:"googlesitekit-report-error-actions"},P&&("function"==typeof T?e.createElement(T,{requestAccessURL:j}):e.createElement(d.Button,{onClick:v,href:j,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),w&&e.createElement(c.Fragment,null,"function"==typeof k?e.createElement(k,{handleRetry:M}):e.createElement(d.Button,{onClick:M,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!i&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(y.a,{href:I,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!w&&!i&&e.createElement("div",{className:O},"function"==typeof r?e.createElement(r,{linkURL:I}):e.createElement(y.a,{href:I,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,onRequestAccess:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(3),i=n(46);function o(e,t,n){var o=Object(r.useDispatch)(i.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(a.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},119:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return a.createElement("svg",r({viewBox:"0 0 14 14",fill:"none"},e),i)}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(13),r=function(e){return Object(a.isFinite)(e)?e:0}},1227:function(e,t,n){"use strict";n.r(t),function(e){var t=n(335),a=n(137),r=n(235),i=n(22),o=n(1138);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-wp-dashboard");if(t){var n=t.dataset.viewOnly?i.u:i.t;Object(a.render)(e.createElement(r.a,{viewContext:n},e.createElement(o.a,null)),t)}}))}.call(this,n(4))},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(12),m=n.n(d);function Cell(t){var n,a=t.className,i=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,f=t.lgAlignRight,y=t.smSize,b=t.smStart,h=t.smOrder,v=t.mdSize,O=t.mdStart,T=t.mdOrder,k=t.lgSize,E=t.lgStart,N=t.lgOrder,j=t.size,S=t.children,_=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},_,{className:m()(a,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":f},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(N,"-desktop"),12>=N&&N>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-tablet"),8>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(T,"-tablet"),8>=T&&T>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-phone"),4>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),S)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},124:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),m=Object(d.forwardRef)((function(t,n){var a=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",r()({ref:n,className:u()("mdc-layout-grid__inner",a)},c),i)}));m.displayName="Row",m.propTypes={className:l.a.string,children:l.a.node},m.defaultProps={className:""},t.a=m}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(12),u=n.n(s),d=n(0),m=Object(d.forwardRef)((function(t,n){var a=t.alignLeft,i=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":a,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":i})},d,{ref:n}),l)}));m.displayName="Grid",m.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},m.defaultProps={className:""},t.a=m}).call(this,n(4))},126:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),a.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return a.createElement("svg",r({viewBox:"0 0 13 13"},e),i)}},127:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),a.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return a.createElement("svg",r({viewBox:"0 0 13 13"},e),i)}},128:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return a.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},130:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var a=n(21),r=n.n(a),i=n(166),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(10),m=n(167),g=n(119);function TourTooltip(t){var n=t.backProps,a=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,p=t.step,f=t.tooltipProps,y=u>1?Object(m.a)(u):[],b=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",r()({className:l()("googlesitekit-tour-tooltip",p.className)},f),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},p.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},p.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},y.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:b(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),p.cta,s.title&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,r()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},a))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var a=n(23),r=n.n(a),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(11),u=n.n(s),d=n(3),m=n.n(d),g=n(41),p=n(8),f=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},a={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,a,r,i,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,a=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(r=e.sent,i=r.cacheHit,o=r.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!a){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),p.b)})),t);return{initialState:n,actions:a,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,a=t.type,i=t.payload;switch(a){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,r()(o,["error"]));return c;default:return e}}}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(y(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(y(e).map((function(e){return e.getActions().restoreSnapshot()})))}},134:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,a=t.href,r=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:a,external:i})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var a=n(1),r=n.n(a),i=n(2),o=n(3),c=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,a=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===a)return null;var r=1===a.length?Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),a[0]):Object(i.sprintf)( /* translators: %s: List of module names */ Object(i.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),a.join(Object(i._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(i.__)("Data Unavailable","google-site-kit"),description:r})}RecoverableModules.propTypes={moduleSlugs:r.a.arrayOf(r.a.string).isRequired}}).call(this,n(4))},138:function(e,t,n){"use strict";n.d(t,"a",(function(){return a.a})),n.d(t,"c",(function(){return r.a})),n.d(t,"b",(function(){return i.a})),n.d(t,"g",(function(){return o.a})),n.d(t,"d",(function(){return c.a})),n.d(t,"e",(function(){return l.a})),n.d(t,"f",(function(){return s.a})),n.d(t,"h",(function(){return ZeroDataMessage}));var a=n(537),r=n(538),i=n(539),o=(n(330),n(540)),c=n(541),l=n(507),s=(n(402),n(373),n(542)),u=n(1),d=n.n(u),m=n(2),g=n(3),p=n(14);function ZeroDataMessage(e){var t=e.skipPrefix,n=Object(g.useSelect)((function(e){return e(p.c).getCurrentEntityURL()}));return t?n?Object(m.__)("Your page hasn’t received any visitors yet","google-site-kit"):Object(m.__)("Your site hasn’t received any visitors yet","google-site-kit"):n?Object(m.__)("No data to display: your page hasn’t received any visitors yet","google-site-kit"):Object(m.__)("No data to display: your site hasn’t received any visitors yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:d.a.bool}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a="core/site",r="primary",i="secondary"},141:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(13),l=n(0),s=n(2),u=n(3),d=n(19),m=n(34),g=n(150),p=n(81),f=n(67),y=n(85),b=n(117),h=n(35);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,a=t.moduleSlug,r=t.error,i=Object(h.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(a)})),v=Array.isArray(r)?r:[r],T=function(e){return Object(m.e)(e)?i?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(g.a)(e.message,o)):Object(m.b)(e)},k=Object(c.uniqWith)(v.map((function(e){var t;return O(O({},e),{},{message:T(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),E=v.some((function(e){return Object(m.e)(e)}));E||1!==k.length?!E&&k.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var N=e.createElement(l.Fragment,null,k.map((function(t){var n,a=null==r||null===(n=r.data)||void 0===n?void 0:n.reconnectURL;return a?e.createElement(f.a,{key:t.message,message:t.message,reconnectURL:a}):e.createElement("p",{key:t.message},p.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(y.a,{title:n,description:N,error:!0},e.createElement(b.a,{moduleSlug:a,error:r}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},142:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var a=n(1),r=n.n(a),i=n(2),o=n(3),c=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,a=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s Gathering Data","google-site-kit"),null==a?void 0:a.name),description:Object(i.sprintf)( /* translators: %s: Module name */ Object(i.__)("%s data is not yet available, please check back later","google-site-kit"),null==a?void 0:a.name)})}ReportZero.propTypes={moduleSlug:r.a.string.isRequired}}).call(this,n(4))},143:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),a.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),a.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),a.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return a.createElement("svg",r({viewBox:"0 0 43 44"},e),i)}},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var a=n(1),r=n.n(a),i=n(3),o=n(116),c=n(19),l=n(34),s=n(150);function StoreErrorNotices(t){var n=t.hasButton,a=void 0!==n&&n,r=t.moduleSlug,u=t.storeName,d=Object(i.useSelect)((function(e){return e(u).getErrors()})),m=Object(i.useSelect)((function(e){return e(c.a).getModule(r)})),g=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||g.includes(e.message))&&(g.push(e.message),!0)})).map((function(t,n){var r=t.message;return Object(l.e)(t)&&(r=Object(s.a)(r,m)),e.createElement(o.a,{key:n,error:t,hasButton:a,storeName:u,message:r})}))}StoreErrorNotices.propTypes={hasButton:r.a.bool,storeName:r.a.string.isRequired,moduleSlug:r.a.string}}).call(this,n(4))},146:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l}));var a=n(33),r=n.n(a);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===r()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,a=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return a&&r}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function l(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},148:function(e,t,n){"use strict";var a=n(159);n.d(t,"c",(function(){return a.a}));var r=n(68);n.d(t,"b",(function(){return r.c})),n.d(t,"a",(function(){return r.a}))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,i=void 0===r?"":r,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(a.sprintf)( /* translators: %s: module name */ Object(a.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(a.sprintf)( /* translators: %s: owner name */ Object(a.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(a.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},154:function(e,t,n){"use strict";var a=n(0),r=Object(a.createContext)(!1);t.a=r},158:function(e,t,n){"use strict";var a=n(0),r=n(44),i=Object(a.createContext)(r.a);t.a=i},159:function(e,t,n){"use strict";(function(e){var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(2),l=n(3),s=n(198),u=n(211),d=n(68),m=n(6),g=n(10),p=n(0),f=Object(p.forwardRef)((function(t,n){var a=t.className,i=t.children,o=t.type,p=t.dismiss,f=void 0===p?"":p,y=t.dismissCallback,b=t.dismissLabel,h=void 0===b?Object(c.__)("OK, Got it!","google-site-kit"):b,v=t.Icon,O=void 0===v?Object(d.d)(o):v,T=t.OuterCTA,k=Object(l.useDispatch)(m.a).dismissItem,E=Object(l.useSelect)((function(e){return f?e(m.a).isItemDismissed(f):void 0}));if(f&&E)return null;var N=i?u.a:s.a;return e.createElement("div",{ref:n,className:r()(a,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!i,"googlesitekit-settings-notice--multi-row":i})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(O,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(N,t)),f&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{tertiary:!0,onClick:function(){k(f),y()}},h)),T&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(T,null)))}));f.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},f.defaultProps={type:d.a},t.a=f}).call(this,n(4))},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(232),r=n(13),i=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(a.b)((function(){return r.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,a=t.query,i=t.hash,c=o()(t,["path","query","hash"]),l=Object(s.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:a,hash:i})}));return e.createElement(d.a,r()({},c,{href:l}))}SupportLink.propTypes={path:l.a.string.isRequired,query:l.a.object,hash:l.a.string}}).call(this,n(4))},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var a=n(1),r=n.n(a),i=n(2),o=n(20),c=n(191);function GenericErrorHandlerActions(t){var n=t.message,a=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:a}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(i.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:r.a.string,componentStack:r.a.string}}).call(this,n(4))},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(22),r=function(e){return a.f.includes(e)}},17:function(e,t,n){"use strict";var a=n(245);n.d(t,"i",(function(){return a.a}));var r=n(309);n.d(t,"f",(function(){return r.a}));var i=n(310);n.d(t,"h",(function(){return i.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(6),d=n(19),m=n(32),g=n(36),p=n(18);function f(e){var t=Object(p.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),a=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),i=Object(l.useDispatch)(d.a).activateModule,f=Object(l.useDispatch)(m.a).navigateTo,y=Object(l.useDispatch)(s.c).setInternalServerError,b=Object(c.useCallback)(o()(r.a.mark((function n(){var a,o,c;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(e);case 2:if(a=n.sent,o=a.error,c=a.response,o){n.next=11;break}return n.next=8,Object(g.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:f(c.moduleReauthURL),n.next=12;break;case 11:y({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[i,e,f,y,t]);return(null==n?void 0:n.name)&&a?b:null}},177:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,a=t.size,i=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,r()({width:a,height:a},i)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},18:function(e,t,n){"use strict";var a=n(0),r=n(63);t.a=function(){return Object(a.useContext)(r.b)}},182:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return a.createElement("svg",r({viewBox:"0 0 2 12"},e),i)}},188:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return a.createElement("svg",r({viewBox:"0 0 28 25"},e),i)}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="core/modules",r="insufficient_module_dependencies"},191:function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(186),o=n.n(i),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(254),m=n(412),g=n(413),p=n(10);function ReportErrorButton(t){var n=t.message,a=t.componentStack,i=Object(s.useState)(!1),c=r()(i,2),l=c[0],f=c[1];return e.createElement(p.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(a,"`")),f(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?m.a:g.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},194:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return FeatureTours}));var r=n(91),i=n(0),o=n(3),c=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(r.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(i.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?a.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},195:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(0),l=n(17),s=Object(c.forwardRef)((function(t,n){var a=t.id,r=t.className,i=t.children,s=t.secondaryPane;return e.createElement("section",{id:a,className:o()(r,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,i)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:r.a.string,className:r.a.string,secondaryPane:r.a.node},t.a=s}).call(this,n(4))},196:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(93);function BannerTitle(t){var n=t.title,a=t.badgeLabel,i=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,m=t.smallWinImageSVGHeight,g=void 0===m?75:m;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,a&&e.createElement(s.a,{label:a})),i&&e.createElement("div",{className:l()(r()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(i,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(221),m=n(0),g=n(3),p=n(10),f=n(32);function BannerActions(t){var n=t.ctaLink,a=t.ctaLabel,i=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,y=t.dismissCallback,b=Object(m.useState)(!1),h=l()(b,2),v=h[0],O=h[1],T=Object(d.a)(),k=Object(g.useSelect)((function(e){return!!n&&e(f.a).isNavigatingTo(n)})),E=function(){var e=o()(r.a.mark((function e(){var t,n,a,i=arguments;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(O(!0),t=i.length,n=new Array(t),a=0;a<t;a++)n[a]=i[a];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:T()&&O(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||i?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},i,a&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:E,disabled:v||k,isSaving:v||k},a),u&&e.createElement(p.Button,{tertiary:n||i,onClick:y,disabled:v||k},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(1),r=n.n(a),i=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore,r=t.CTA;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(140),m=n(0),g=n(2),p=n(126),f=n(127),y=n(128),b=n(80),h=n(77),v=Object(m.forwardRef)((function(t,n){var a,i=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,m=void 0!==u&&u,v=t.back,O=void 0!==v&&v,T=t.caps,k=void 0!==T&&T,E=t.children,N=t.className,j=void 0===N?"":N,S=t.danger,_=void 0!==S&&S,A=t.disabled,w=void 0!==A&&A,I=t.external,C=void 0!==I&&I,Z=t.hideExternalIndicator,M=void 0!==Z&&Z,P=t.href,D=void 0===P?"":P,L=t.inverse,G=void 0!==L&&L,R=t.noFlex,x=void 0!==R&&R,B=t.onClick,U=t.small,W=void 0!==U&&U,V=t.standalone,F=void 0!==V&&V,z=t.linkButton,H=void 0!==z&&z,q=t.to,K=t.leadingIcon,J=t.trailingIcon,Y=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=D||q||!B?q?"ROUTER_LINK":C?"EXTERNAL_LINK":"LINK":w?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(a=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(a=Object(g._x)("(disabled)","screen reader text","google-site-kit")),a?i?"".concat(i," ").concat(a):"string"==typeof E?"".concat(E," ").concat(a):void 0:i),ee=K,te=J;return O&&(ee=e.createElement(y.a,{width:14,height:14})),C&&!M&&(te=e.createElement(b.a,{width:14,height:14})),m&&!G&&(te=e.createElement(p.a,{width:14,height:14})),m&&G&&(te=e.createElement(f.a,{width:14,height:14})),e.createElement(X,r()({"aria-label":Q,className:l()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":G,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":k,"googlesitekit-cta-link--danger":_,"googlesitekit-cta-link--disabled":w,"googlesitekit-cta-link--standalone":F,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!x}),disabled:w,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||w?void 0:D,onClick:B,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:q},Y),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},E),!!te&&e.createElement(h.a,{marginLeft:5},te))}));v.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=v}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var a=n(1),r=n.n(a),i=n(71),o=n(188),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var a="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},a))}BannerIcon.propTypes={type:r.a.string}}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var a=n(1),r=n.n(a),i=n(17),o=n(143),c=n(177);function BannerLogo(t){var n=t.module,a=t.moduleName;return e.createElement(i.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),a&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},a))}BannerLogo.propTypes={module:r.a.string,moduleName:r.a.string}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var a=n(1),r=n.n(a),i=n(0),o=n(72),c=n(20),l=n(74);function BannerDescription(t){var n=t.description,a=t.learnMoreLabel,r=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var m;return a&&(m=e.createElement(i.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:r,external:s===l.a.EXTERNAL},a),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(i.isValidElement)(n)?e.createElement(i.Fragment,null,n,m&&e.createElement("p",null,m)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",m))}BannerDescription.propTypes={description:r.a.node,learnMoreURL:r.a.string,learnMoreDescription:r.a.string,learnMoreLabel:r.a.string,learnMoreTarget:r.a.oneOf(Object.values(l.a)),onLearnMoreClick:r.a.func}}).call(this,n(4))},204:function(e,t,n){"use strict";var a=n(154),r=(a.a.Consumer,a.a.Provider);t.a=r},206:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(13),r=[{countryCode:"AF",displayName:"Afghanistan",defaultTimeZoneId:"Asia/Kabul",timeZone:[{timeZoneId:"Asia/Kabul",displayName:"(GMT+04:30) Afghanistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AL",displayName:"Albania",defaultTimeZoneId:"Europe/Tirane",timeZone:[{timeZoneId:"Europe/Tirane",displayName:"(GMT+02:00) Albania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DZ",displayName:"Algeria",defaultTimeZoneId:"Africa/Algiers",timeZone:[{timeZoneId:"Africa/Algiers",displayName:"(GMT+01:00) Algeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AS",displayName:"American Samoa",defaultTimeZoneId:"Pacific/Pago_Pago",timeZone:[{timeZoneId:"Pacific/Pago_Pago",displayName:"(GMT-11:00) American Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AD",displayName:"Andorra",defaultTimeZoneId:"Europe/Andorra",timeZone:[{timeZoneId:"Europe/Andorra",displayName:"(GMT+02:00) Andorra Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AQ",displayName:"Antarctica",defaultTimeZoneId:"Antarctica/Palmer",timeZone:[{timeZoneId:"Antarctica/Palmer",displayName:"(GMT-03:00) Palmer Time"},{timeZoneId:"Antarctica/Rothera",displayName:"(GMT-03:00) Rothera Time"},{timeZoneId:"Antarctica/Syowa",displayName:"(GMT+03:00) Syowa Time"},{timeZoneId:"Antarctica/Mawson",displayName:"(GMT+05:00) Mawson Time"},{timeZoneId:"Antarctica/Vostok",displayName:"(GMT+06:00) Vostok Time"},{timeZoneId:"Antarctica/Davis",displayName:"(GMT+07:00) Davis Time"},{timeZoneId:"Antarctica/Casey",displayName:"(GMT+08:00) Casey Time"},{timeZoneId:"Antarctica/DumontDUrville",displayName:"(GMT+10:00) Dumont d’Urville Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AR",displayName:"Argentina",defaultTimeZoneId:"America/Buenos_Aires",timeZone:[{timeZoneId:"America/Buenos_Aires",displayName:"(GMT-03:00) Buenos Aires Time"},{timeZoneId:"America/Cordoba",displayName:"(GMT-03:00) Cordoba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"AM",displayName:"Armenia",defaultTimeZoneId:"Asia/Yerevan",timeZone:[{timeZoneId:"Asia/Yerevan",displayName:"(GMT+04:00) Armenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AU",displayName:"Australia",defaultTimeZoneId:"Australia/Perth",timeZone:[{timeZoneId:"Australia/Perth",displayName:"(GMT+08:00) Perth Time"},{timeZoneId:"Australia/Adelaide",displayName:"(GMT+09:30) Adelaide Time"},{timeZoneId:"Australia/Darwin",displayName:"(GMT+09:30) Darwin Time"},{timeZoneId:"Australia/Brisbane",displayName:"(GMT+10:00) Brisbane Time"},{timeZoneId:"Australia/Hobart",displayName:"(GMT+10:00) Hobart Time"},{timeZoneId:"Australia/Melbourne",displayName:"(GMT+10:00) Melbourne Time"},{timeZoneId:"Australia/Sydney",displayName:"(GMT+10:00) Sydney Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AT",displayName:"Austria",defaultTimeZoneId:"Europe/Vienna",timeZone:[{timeZoneId:"Europe/Vienna",displayName:"(GMT+02:00) Austria Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"AZ",displayName:"Azerbaijan",defaultTimeZoneId:"Asia/Baku",timeZone:[{timeZoneId:"Asia/Baku",displayName:"(GMT+04:00) Azerbaijan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BS",displayName:"Bahamas",defaultTimeZoneId:"America/Nassau",timeZone:[{timeZoneId:"America/Nassau",displayName:"(GMT-04:00) Bahamas Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BD",displayName:"Bangladesh",defaultTimeZoneId:"Asia/Dhaka",timeZone:[{timeZoneId:"Asia/Dhaka",displayName:"(GMT+06:00) Bangladesh Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BB",displayName:"Barbados",defaultTimeZoneId:"America/Barbados",timeZone:[{timeZoneId:"America/Barbados",displayName:"(GMT-04:00) Barbados Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BY",displayName:"Belarus",defaultTimeZoneId:"Europe/Minsk",timeZone:[{timeZoneId:"Europe/Minsk",displayName:"(GMT+03:00) Belarus Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BE",displayName:"Belgium",defaultTimeZoneId:"Europe/Brussels",timeZone:[{timeZoneId:"Europe/Brussels",displayName:"(GMT+02:00) Belgium Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"BZ",displayName:"Belize",defaultTimeZoneId:"America/Belize",timeZone:[{timeZoneId:"America/Belize",displayName:"(GMT-06:00) Belize Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BM",displayName:"Bermuda",defaultTimeZoneId:"Atlantic/Bermuda",timeZone:[{timeZoneId:"Atlantic/Bermuda",displayName:"(GMT-03:00) Bermuda Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BT",displayName:"Bhutan",defaultTimeZoneId:"Asia/Thimphu",timeZone:[{timeZoneId:"Asia/Thimphu",displayName:"(GMT+06:00) Bhutan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BO",displayName:"Bolivia",defaultTimeZoneId:"America/La_Paz",timeZone:[{timeZoneId:"America/La_Paz",displayName:"(GMT-04:00) Bolivia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BA",displayName:"Bosnia & Herzegovina",defaultTimeZoneId:"Europe/Sarajevo",timeZone:[{timeZoneId:"Europe/Sarajevo",displayName:"(GMT+02:00) Bosnia & Herzegovina Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BR",displayName:"Brazil",defaultTimeZoneId:"America/Rio_Branco",timeZone:[{timeZoneId:"America/Rio_Branco",displayName:"(GMT-05:00) Rio Branco Time"},{timeZoneId:"America/Boa_Vista",displayName:"(GMT-04:00) Boa Vista Time"},{timeZoneId:"America/Campo_Grande",displayName:"(GMT-04:00) Campo Grande Time"},{timeZoneId:"America/Cuiaba",displayName:"(GMT-04:00) Cuiaba Time"},{timeZoneId:"America/Manaus",displayName:"(GMT-04:00) Manaus Time"},{timeZoneId:"America/Porto_Velho",displayName:"(GMT-04:00) Porto Velho Time"},{timeZoneId:"America/Araguaina",displayName:"(GMT-03:00) Araguaina Time"},{timeZoneId:"America/Bahia",displayName:"(GMT-03:00) Bahia Time"},{timeZoneId:"America/Belem",displayName:"(GMT-03:00) Belem Time"},{timeZoneId:"America/Fortaleza",displayName:"(GMT-03:00) Fortaleza Time"},{timeZoneId:"America/Maceio",displayName:"(GMT-03:00) Maceio Time"},{timeZoneId:"America/Recife",displayName:"(GMT-03:00) Recife Time"},{timeZoneId:"America/Sao_Paulo",displayName:"(GMT-03:00) Sao Paulo Time"},{timeZoneId:"America/Noronha",displayName:"(GMT-02:00) Noronha Time"}],tosLocale:{language:"pt",country:"BR"}},{countryCode:"IO",displayName:"British Indian Ocean Territory",defaultTimeZoneId:"Indian/Chagos",timeZone:[{timeZoneId:"Indian/Chagos",displayName:"(GMT+06:00) British Indian Ocean Territory Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BN",displayName:"Brunei",defaultTimeZoneId:"Asia/Brunei",timeZone:[{timeZoneId:"Asia/Brunei",displayName:"(GMT+08:00) Brunei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BG",displayName:"Bulgaria",defaultTimeZoneId:"Europe/Sofia",timeZone:[{timeZoneId:"Europe/Sofia",displayName:"(GMT+03:00) Bulgaria Time"}],tosLocale:{language:"bg",country:"BG"}},{countryCode:"CA",displayName:"Canada",defaultTimeZoneId:"America/Dawson",timeZone:[{timeZoneId:"America/Dawson",displayName:"(GMT-07:00) Dawson Time"},{timeZoneId:"America/Vancouver",displayName:"(GMT-07:00) Vancouver Time"},{timeZoneId:"America/Whitehorse",displayName:"(GMT-07:00) Whitehorse Time"},{timeZoneId:"America/Edmonton",displayName:"(GMT-06:00) Edmonton Time"},{timeZoneId:"America/Yellowknife",displayName:"(GMT-06:00) Yellowknife Time"},{timeZoneId:"America/Dawson_Creek",displayName:"(GMT-07:00) Dawson Creek Time"},{timeZoneId:"America/Winnipeg",displayName:"(GMT-05:00) Winnipeg Time"},{timeZoneId:"America/Regina",displayName:"(GMT-06:00) Regina Time"},{timeZoneId:"America/Iqaluit",displayName:"(GMT-04:00) Iqaluit Time"},{timeZoneId:"America/Toronto",displayName:"(GMT-04:00) Toronto Time"},{timeZoneId:"America/Halifax",displayName:"(GMT-03:00) Halifax Time"},{timeZoneId:"America/St_Johns",displayName:"(GMT-02:30) St. John’s Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CV",displayName:"Cape Verde",defaultTimeZoneId:"Atlantic/Cape_Verde",timeZone:[{timeZoneId:"Atlantic/Cape_Verde",displayName:"(GMT-01:00) Cape Verde Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TD",displayName:"Chad",defaultTimeZoneId:"Africa/Ndjamena",timeZone:[{timeZoneId:"Africa/Ndjamena",displayName:"(GMT+01:00) Chad Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"CL",displayName:"Chile",defaultTimeZoneId:"Pacific/Easter",timeZone:[{timeZoneId:"Pacific/Easter",displayName:"(GMT-06:00) Easter Time"},{timeZoneId:"America/Santiago",displayName:"(GMT-04:00) Chile Time"},{timeZoneId:"America/Punta_Arenas",displayName:"(GMT-03:00) Punta Arenas Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CN",displayName:"China",defaultTimeZoneId:"Asia/Shanghai",timeZone:[{timeZoneId:"Asia/Shanghai",displayName:"(GMT+08:00) China Time"}],tosLocale:{language:"zh",country:"CN"}},{countryCode:"CX",displayName:"Christmas Island",defaultTimeZoneId:"Indian/Christmas",timeZone:[{timeZoneId:"Indian/Christmas",displayName:"(GMT+07:00) Christmas Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CC",displayName:"Cocos (Keeling) Islands",defaultTimeZoneId:"Indian/Cocos",timeZone:[{timeZoneId:"Indian/Cocos",displayName:"(GMT+06:30) Cocos (Keeling) Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CO",displayName:"Colombia",defaultTimeZoneId:"America/Bogota",timeZone:[{timeZoneId:"America/Bogota",displayName:"(GMT-05:00) Colombia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CK",displayName:"Cook Islands",defaultTimeZoneId:"Pacific/Rarotonga",timeZone:[{timeZoneId:"Pacific/Rarotonga",displayName:"(GMT-10:00) Cook Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CR",displayName:"Costa Rica",defaultTimeZoneId:"America/Costa_Rica",timeZone:[{timeZoneId:"America/Costa_Rica",displayName:"(GMT-06:00) Costa Rica Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CI",displayName:"Côte d’Ivoire",defaultTimeZoneId:"Africa/Abidjan",timeZone:[{timeZoneId:"Africa/Abidjan",displayName:"(GMT+00:00) Côte d’Ivoire Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"HR",displayName:"Croatia",defaultTimeZoneId:"Europe/Zagreb",timeZone:[{timeZoneId:"Europe/Zagreb",displayName:"(GMT+02:00) Croatia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CU",displayName:"Cuba",defaultTimeZoneId:"America/Havana",timeZone:[{timeZoneId:"America/Havana",displayName:"(GMT-04:00) Cuba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CW",displayName:"Curaçao",defaultTimeZoneId:"America/Curacao",timeZone:[{timeZoneId:"America/Curacao",displayName:"(GMT-04:00) Curaçao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CY",displayName:"Cyprus",defaultTimeZoneId:"Asia/Nicosia",timeZone:[{timeZoneId:"Asia/Nicosia",displayName:"(GMT+03:00) Nicosia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CZ",displayName:"Czechia",defaultTimeZoneId:"Europe/Prague",timeZone:[{timeZoneId:"Europe/Prague",displayName:"(GMT+02:00) Czechia Time"}],tosLocale:{language:"cs",country:"CZ"}},{countryCode:"DK",displayName:"Denmark",defaultTimeZoneId:"Europe/Copenhagen",timeZone:[{timeZoneId:"Europe/Copenhagen",displayName:"(GMT+02:00) Denmark Time"}],tosLocale:{language:"da",country:"DK"}},{countryCode:"DO",displayName:"Dominican Republic",defaultTimeZoneId:"America/Santo_Domingo",timeZone:[{timeZoneId:"America/Santo_Domingo",displayName:"(GMT-04:00) Dominican Republic Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EC",displayName:"Ecuador",defaultTimeZoneId:"Pacific/Galapagos",timeZone:[{timeZoneId:"Pacific/Galapagos",displayName:"(GMT-06:00) Galapagos Time"},{timeZoneId:"America/Guayaquil",displayName:"(GMT-05:00) Ecuador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EG",displayName:"Egypt",defaultTimeZoneId:"Africa/Cairo",timeZone:[{timeZoneId:"Africa/Cairo",displayName:"(GMT+02:00) Egypt Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SV",displayName:"El Salvador",defaultTimeZoneId:"America/El_Salvador",timeZone:[{timeZoneId:"America/El_Salvador",displayName:"(GMT-06:00) El Salvador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EE",displayName:"Estonia",defaultTimeZoneId:"Europe/Tallinn",timeZone:[{timeZoneId:"Europe/Tallinn",displayName:"(GMT+03:00) Estonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FK",displayName:"Falkland Islands (Islas Malvinas)",defaultTimeZoneId:"Atlantic/Stanley",timeZone:[{timeZoneId:"Atlantic/Stanley",displayName:"(GMT-03:00) Falkland Islands (Islas Malvinas) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FO",displayName:"Faroe Islands",defaultTimeZoneId:"Atlantic/Faeroe",timeZone:[{timeZoneId:"Atlantic/Faeroe",displayName:"(GMT+01:00) Faroe Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FJ",displayName:"Fiji",defaultTimeZoneId:"Pacific/Fiji",timeZone:[{timeZoneId:"Pacific/Fiji",displayName:"(GMT+12:00) Fiji Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FI",displayName:"Finland",defaultTimeZoneId:"Europe/Helsinki",timeZone:[{timeZoneId:"Europe/Helsinki",displayName:"(GMT+03:00) Finland Time"}],tosLocale:{language:"fi",country:"FI"}},{countryCode:"FR",displayName:"France",defaultTimeZoneId:"Europe/Paris",timeZone:[{timeZoneId:"Europe/Paris",displayName:"(GMT+02:00) France Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GF",displayName:"French Guiana",defaultTimeZoneId:"America/Cayenne",timeZone:[{timeZoneId:"America/Cayenne",displayName:"(GMT-03:00) French Guiana Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"PF",displayName:"French Polynesia",defaultTimeZoneId:"Pacific/Tahiti",timeZone:[{timeZoneId:"Pacific/Tahiti",displayName:"(GMT-10:00) Tahiti Time"},{timeZoneId:"Pacific/Marquesas",displayName:"(GMT-09:30) Marquesas Time"},{timeZoneId:"Pacific/Gambier",displayName:"(GMT-09:00) Gambier Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"TF",displayName:"French Southern Territories",defaultTimeZoneId:"Indian/Kerguelen",timeZone:[{timeZoneId:"Indian/Kerguelen",displayName:"(GMT+05:00) French Southern Territories Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GE",displayName:"Georgia",defaultTimeZoneId:"Asia/Tbilisi",timeZone:[{timeZoneId:"Asia/Tbilisi",displayName:"(GMT+04:00) Georgia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DE",displayName:"Germany",defaultTimeZoneId:"Europe/Berlin",timeZone:[{timeZoneId:"Europe/Berlin",displayName:"(GMT+02:00) Germany Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"GH",displayName:"Ghana",defaultTimeZoneId:"Africa/Accra",timeZone:[{timeZoneId:"Africa/Accra",displayName:"(GMT+00:00) Ghana Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GI",displayName:"Gibraltar",defaultTimeZoneId:"Europe/Gibraltar",timeZone:[{timeZoneId:"Europe/Gibraltar",displayName:"(GMT+02:00) Gibraltar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GR",displayName:"Greece",defaultTimeZoneId:"Europe/Athens",timeZone:[{timeZoneId:"Europe/Athens",displayName:"(GMT+03:00) Greece Time"}],tosLocale:{language:"el",country:"GR"}},{countryCode:"GL",displayName:"Greenland",defaultTimeZoneId:"America/Thule",timeZone:[{timeZoneId:"America/Thule",displayName:"(GMT-03:00) Thule Time"},{timeZoneId:"America/Godthab",displayName:"(GMT-02:00) Nuuk Time"},{timeZoneId:"America/Scoresbysund",displayName:"(GMT+00:00) Ittoqqortoormiit Time"},{timeZoneId:"America/Danmarkshavn",displayName:"(GMT+00:00) Danmarkshavn Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GU",displayName:"Guam",defaultTimeZoneId:"Pacific/Guam",timeZone:[{timeZoneId:"Pacific/Guam",displayName:"(GMT+10:00) Guam Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"GT",displayName:"Guatemala",defaultTimeZoneId:"America/Guatemala",timeZone:[{timeZoneId:"America/Guatemala",displayName:"(GMT-06:00) Guatemala Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"GW",displayName:"Guinea-Bissau",defaultTimeZoneId:"Africa/Bissau",timeZone:[{timeZoneId:"Africa/Bissau",displayName:"(GMT+00:00) Guinea-Bissau Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GY",displayName:"Guyana",defaultTimeZoneId:"America/Guyana",timeZone:[{timeZoneId:"America/Guyana",displayName:"(GMT-04:00) Guyana Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HT",displayName:"Haiti",defaultTimeZoneId:"America/Port-au-Prince",timeZone:[{timeZoneId:"America/Port-au-Prince",displayName:"(GMT-04:00) Haiti Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HN",displayName:"Honduras",defaultTimeZoneId:"America/Tegucigalpa",timeZone:[{timeZoneId:"America/Tegucigalpa",displayName:"(GMT-06:00) Honduras Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HK",displayName:"Hong Kong",defaultTimeZoneId:"Asia/Hong_Kong",timeZone:[{timeZoneId:"Asia/Hong_Kong",displayName:"(GMT+08:00) Hong Kong Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HU",displayName:"Hungary",defaultTimeZoneId:"Europe/Budapest",timeZone:[{timeZoneId:"Europe/Budapest",displayName:"(GMT+02:00) Hungary Time"}],tosLocale:{language:"hu",country:"HU"}},{countryCode:"IS",displayName:"Iceland",defaultTimeZoneId:"Atlantic/Reykjavik",timeZone:[{timeZoneId:"Atlantic/Reykjavik",displayName:"(GMT+00:00) Iceland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IN",displayName:"India",defaultTimeZoneId:"Asia/Calcutta",timeZone:[{timeZoneId:"Asia/Calcutta",displayName:"(GMT+05:30) India Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ID",displayName:"Indonesia",defaultTimeZoneId:"Asia/Jakarta",timeZone:[{timeZoneId:"Asia/Jakarta",displayName:"(GMT+07:00) Jakarta Time"},{timeZoneId:"Asia/Makassar",displayName:"(GMT+08:00) Makassar Time"},{timeZoneId:"Asia/Jayapura",displayName:"(GMT+09:00) Jayapura Time"}],tosLocale:{language:"in",country:"ID"}},{countryCode:"IR",displayName:"Iran",defaultTimeZoneId:"Asia/Tehran",timeZone:[{timeZoneId:"Asia/Tehran",displayName:"(GMT+04:30) Iran Time"}]},{countryCode:"IQ",displayName:"Iraq",defaultTimeZoneId:"Asia/Baghdad",timeZone:[{timeZoneId:"Asia/Baghdad",displayName:"(GMT+03:00) Iraq Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IE",displayName:"Ireland",defaultTimeZoneId:"Europe/Dublin",timeZone:[{timeZoneId:"Europe/Dublin",displayName:"(GMT+01:00) Ireland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IL",displayName:"Israel",defaultTimeZoneId:"Asia/Jerusalem",timeZone:[{timeZoneId:"Asia/Jerusalem",displayName:"(GMT+03:00) Israel Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IT",displayName:"Italy",defaultTimeZoneId:"Europe/Rome",timeZone:[{timeZoneId:"Europe/Rome",displayName:"(GMT+02:00) Italy Time"}],tosLocale:{language:"it",country:"IT"}},{countryCode:"JM",displayName:"Jamaica",defaultTimeZoneId:"America/Jamaica",timeZone:[{timeZoneId:"America/Jamaica",displayName:"(GMT-05:00) Jamaica Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"JP",displayName:"Japan",defaultTimeZoneId:"Asia/Tokyo",timeZone:[{timeZoneId:"Asia/Tokyo",displayName:"(GMT+09:00) Japan Time"}],tosLocale:{language:"ja",country:"JP"}},{countryCode:"JO",displayName:"Jordan",defaultTimeZoneId:"Asia/Amman",timeZone:[{timeZoneId:"Asia/Amman",displayName:"(GMT+03:00) Jordan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KZ",displayName:"Kazakhstan",defaultTimeZoneId:"Asia/Aqtau",timeZone:[{timeZoneId:"Asia/Aqtau",displayName:"(GMT+05:00) Aqtau Time"},{timeZoneId:"Asia/Aqtobe",displayName:"(GMT+05:00) Aqtobe Time"},{timeZoneId:"Asia/Almaty",displayName:"(GMT+06:00) Almaty Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KE",displayName:"Kenya",defaultTimeZoneId:"Africa/Nairobi",timeZone:[{timeZoneId:"Africa/Nairobi",displayName:"(GMT+03:00) Kenya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KI",displayName:"Kiribati",defaultTimeZoneId:"Pacific/Tarawa",timeZone:[{timeZoneId:"Pacific/Tarawa",displayName:"(GMT+12:00) Tarawa Time"},{timeZoneId:"Pacific/Enderbury",displayName:"(GMT+13:00) Enderbury Time"},{timeZoneId:"Pacific/Kiritimati",displayName:"(GMT+14:00) Kiritimati Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KG",displayName:"Kyrgyzstan",defaultTimeZoneId:"Asia/Bishkek",timeZone:[{timeZoneId:"Asia/Bishkek",displayName:"(GMT+06:00) Kyrgyzstan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"LV",displayName:"Latvia",defaultTimeZoneId:"Europe/Riga",timeZone:[{timeZoneId:"Europe/Riga",displayName:"(GMT+03:00) Latvia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LB",displayName:"Lebanon",defaultTimeZoneId:"Asia/Beirut",timeZone:[{timeZoneId:"Asia/Beirut",displayName:"(GMT+03:00) Lebanon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LR",displayName:"Liberia",defaultTimeZoneId:"Africa/Monrovia",timeZone:[{timeZoneId:"Africa/Monrovia",displayName:"(GMT+00:00) Liberia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LY",displayName:"Libya",defaultTimeZoneId:"Africa/Tripoli",timeZone:[{timeZoneId:"Africa/Tripoli",displayName:"(GMT+02:00) Libya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LT",displayName:"Lithuania",defaultTimeZoneId:"Europe/Vilnius",timeZone:[{timeZoneId:"Europe/Vilnius",displayName:"(GMT+03:00) Lithuania Time"}],tosLocale:{language:"lt",country:"LT"}},{countryCode:"LU",displayName:"Luxembourg",defaultTimeZoneId:"Europe/Luxembourg",timeZone:[{timeZoneId:"Europe/Luxembourg",displayName:"(GMT+02:00) Luxembourg Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MO",displayName:"Macao",defaultTimeZoneId:"Asia/Macau",timeZone:[{timeZoneId:"Asia/Macau",displayName:"(GMT+08:00) Macao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MY",displayName:"Malaysia",defaultTimeZoneId:"Asia/Kuala_Lumpur",timeZone:[{timeZoneId:"Asia/Kuala_Lumpur",displayName:"(GMT+08:00) Malaysia Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MV",displayName:"Maldives",defaultTimeZoneId:"Indian/Maldives",timeZone:[{timeZoneId:"Indian/Maldives",displayName:"(GMT+05:00) Maldives Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MT",displayName:"Malta",defaultTimeZoneId:"Europe/Malta",timeZone:[{timeZoneId:"Europe/Malta",displayName:"(GMT+02:00) Malta Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MH",displayName:"Marshall Islands",defaultTimeZoneId:"Pacific/Kwajalein",timeZone:[{timeZoneId:"Pacific/Kwajalein",displayName:"(GMT+12:00) Kwajalein Time"},{timeZoneId:"Pacific/Majuro",displayName:"(GMT+12:00) Marshall Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MQ",displayName:"Martinique",defaultTimeZoneId:"America/Martinique",timeZone:[{timeZoneId:"America/Martinique",displayName:"(GMT-04:00) Martinique Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"MU",displayName:"Mauritius",defaultTimeZoneId:"Indian/Mauritius",timeZone:[{timeZoneId:"Indian/Mauritius",displayName:"(GMT+04:00) Mauritius Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MX",displayName:"Mexico",defaultTimeZoneId:"America/Tijuana",timeZone:[{timeZoneId:"America/Tijuana",displayName:"(GMT-07:00) Tijuana Time"},{timeZoneId:"America/Mazatlan",displayName:"(GMT-06:00) Mazatlan Time"},{timeZoneId:"America/Hermosillo",displayName:"(GMT-07:00) Hermosillo Time"},{timeZoneId:"America/Mexico_City",displayName:"(GMT-05:00) Mexico City Time"},{timeZoneId:"America/Cancun",displayName:"(GMT-05:00) Cancun Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"FM",displayName:"Micronesia",defaultTimeZoneId:"Pacific/Truk",timeZone:[{timeZoneId:"Pacific/Truk",displayName:"(GMT+10:00) Chuuk Time"},{timeZoneId:"Pacific/Kosrae",displayName:"(GMT+11:00) Kosrae Time"},{timeZoneId:"Pacific/Ponape",displayName:"(GMT+11:00) Pohnpei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MD",displayName:"Moldova",defaultTimeZoneId:"Europe/Chisinau",timeZone:[{timeZoneId:"Europe/Chisinau",displayName:"(GMT+03:00) Moldova Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MC",displayName:"Monaco",defaultTimeZoneId:"Europe/Monaco",timeZone:[{timeZoneId:"Europe/Monaco",displayName:"(GMT+02:00) Monaco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MN",displayName:"Mongolia",defaultTimeZoneId:"Asia/Hovd",timeZone:[{timeZoneId:"Asia/Hovd",displayName:"(GMT+07:00) Hovd Time"},{timeZoneId:"Asia/Choibalsan",displayName:"(GMT+08:00) Choibalsan Time"},{timeZoneId:"Asia/Ulaanbaatar",displayName:"(GMT+08:00) Ulaanbaatar Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MA",displayName:"Morocco",defaultTimeZoneId:"Africa/Casablanca",timeZone:[{timeZoneId:"Africa/Casablanca",displayName:"(GMT+01:00) Morocco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MZ",displayName:"Mozambique",defaultTimeZoneId:"Africa/Maputo",timeZone:[{timeZoneId:"Africa/Maputo",displayName:"(GMT+02:00) Mozambique Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MM",displayName:"Myanmar (Burma)",defaultTimeZoneId:"Asia/Rangoon",timeZone:[{timeZoneId:"Asia/Rangoon",displayName:"(GMT+06:30) Myanmar (Burma) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NA",displayName:"Namibia",defaultTimeZoneId:"Africa/Windhoek",timeZone:[{timeZoneId:"Africa/Windhoek",displayName:"(GMT+02:00) Namibia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NR",displayName:"Nauru",defaultTimeZoneId:"Pacific/Nauru",timeZone:[{timeZoneId:"Pacific/Nauru",displayName:"(GMT+12:00) Nauru Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NP",displayName:"Nepal",defaultTimeZoneId:"Asia/Katmandu",timeZone:[{timeZoneId:"Asia/Katmandu",displayName:"(GMT+05:45) Nepal Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NL",displayName:"Netherlands",defaultTimeZoneId:"Europe/Amsterdam",timeZone:[{timeZoneId:"Europe/Amsterdam",displayName:"(GMT+02:00) Netherlands Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"NC",displayName:"New Caledonia",defaultTimeZoneId:"Pacific/Noumea",timeZone:[{timeZoneId:"Pacific/Noumea",displayName:"(GMT+11:00) New Caledonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NZ",displayName:"New Zealand",defaultTimeZoneId:"Pacific/Auckland",timeZone:[{timeZoneId:"Pacific/Auckland",displayName:"(GMT+12:00) New Zealand Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NI",displayName:"Nicaragua",defaultTimeZoneId:"America/Managua",timeZone:[{timeZoneId:"America/Managua",displayName:"(GMT-06:00) Nicaragua Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"NG",displayName:"Nigeria",defaultTimeZoneId:"Africa/Lagos",timeZone:[{timeZoneId:"Africa/Lagos",displayName:"(GMT+01:00) Nigeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NU",displayName:"Niue",defaultTimeZoneId:"Pacific/Niue",timeZone:[{timeZoneId:"Pacific/Niue",displayName:"(GMT-11:00) Niue Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NF",displayName:"Norfolk Island",defaultTimeZoneId:"Pacific/Norfolk",timeZone:[{timeZoneId:"Pacific/Norfolk",displayName:"(GMT+11:00) Norfolk Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KP",displayName:"North Korea",defaultTimeZoneId:"Asia/Pyongyang",timeZone:[{timeZoneId:"Asia/Pyongyang",displayName:"(GMT+09:00) North Korea Time"}]},{countryCode:"MK",displayName:"North Macedonia",defaultTimeZoneId:"Europe/Skopje",timeZone:[{timeZoneId:"Europe/Skopje",displayName:"(GMT+02:00) North Macedonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NO",displayName:"Norway",defaultTimeZoneId:"Europe/Oslo",timeZone:[{timeZoneId:"Europe/Oslo",displayName:"(GMT+02:00) Norway Time"}],tosLocale:{language:"no",country:"NO"}},{countryCode:"PK",displayName:"Pakistan",defaultTimeZoneId:"Asia/Karachi",timeZone:[{timeZoneId:"Asia/Karachi",displayName:"(GMT+05:00) Pakistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PW",displayName:"Palau",defaultTimeZoneId:"Pacific/Palau",timeZone:[{timeZoneId:"Pacific/Palau",displayName:"(GMT+09:00) Palau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PS",displayName:"Palestine",defaultTimeZoneId:"Asia/Gaza",timeZone:[{timeZoneId:"Asia/Gaza",displayName:"(GMT+03:00) Gaza Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PA",displayName:"Panama",defaultTimeZoneId:"America/Panama",timeZone:[{timeZoneId:"America/Panama",displayName:"(GMT-05:00) Panama Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PG",displayName:"Papua New Guinea",defaultTimeZoneId:"Pacific/Port_Moresby",timeZone:[{timeZoneId:"Pacific/Port_Moresby",displayName:"(GMT+10:00) Port Moresby Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PY",displayName:"Paraguay",defaultTimeZoneId:"America/Asuncion",timeZone:[{timeZoneId:"America/Asuncion",displayName:"(GMT-04:00) Paraguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PE",displayName:"Peru",defaultTimeZoneId:"America/Lima",timeZone:[{timeZoneId:"America/Lima",displayName:"(GMT-05:00) Peru Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PH",displayName:"Philippines",defaultTimeZoneId:"Asia/Manila",timeZone:[{timeZoneId:"Asia/Manila",displayName:"(GMT+08:00) Philippines Time"}],tosLocale:{language:"tl",country:"PH"}},{countryCode:"PN",displayName:"Pitcairn Islands",defaultTimeZoneId:"Pacific/Pitcairn",timeZone:[{timeZoneId:"Pacific/Pitcairn",displayName:"(GMT-08:00) Pitcairn Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PL",displayName:"Poland",defaultTimeZoneId:"Europe/Warsaw",timeZone:[{timeZoneId:"Europe/Warsaw",displayName:"(GMT+02:00) Poland Time"}],tosLocale:{language:"pl",country:"PL"}},{countryCode:"PT",displayName:"Portugal",defaultTimeZoneId:"Atlantic/Azores",timeZone:[{timeZoneId:"Atlantic/Azores",displayName:"(GMT+00:00) Azores Time"},{timeZoneId:"Europe/Lisbon",displayName:"(GMT+01:00) Portugal Time"}],tosLocale:{language:"pt",country:"PT"}},{countryCode:"PR",displayName:"Puerto Rico",defaultTimeZoneId:"America/Puerto_Rico",timeZone:[{timeZoneId:"America/Puerto_Rico",displayName:"(GMT-04:00) Puerto Rico Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"QA",displayName:"Qatar",defaultTimeZoneId:"Asia/Qatar",timeZone:[{timeZoneId:"Asia/Qatar",displayName:"(GMT+03:00) Qatar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RE",displayName:"Réunion",defaultTimeZoneId:"Indian/Reunion",timeZone:[{timeZoneId:"Indian/Reunion",displayName:"(GMT+04:00) Réunion Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RO",displayName:"Romania",defaultTimeZoneId:"Europe/Bucharest",timeZone:[{timeZoneId:"Europe/Bucharest",displayName:"(GMT+03:00) Romania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RU",displayName:"Russia",defaultTimeZoneId:"Europe/Kaliningrad",timeZone:[{timeZoneId:"Europe/Kaliningrad",displayName:"(GMT+02:00) Kaliningrad Time"},{timeZoneId:"Europe/Moscow",displayName:"(GMT+03:00) Moscow Time"},{timeZoneId:"Europe/Samara",displayName:"(GMT+04:00) Samara Time"},{timeZoneId:"Asia/Yekaterinburg",displayName:"(GMT+05:00) Yekaterinburg Time"},{timeZoneId:"Asia/Omsk",displayName:"(GMT+06:00) Omsk Time"},{timeZoneId:"Asia/Krasnoyarsk",displayName:"(GMT+07:00) Krasnoyarsk Time"},{timeZoneId:"Asia/Irkutsk",displayName:"(GMT+08:00) Irkutsk Time"},{timeZoneId:"Asia/Yakutsk",displayName:"(GMT+09:00) Yakutsk Time"},{timeZoneId:"Asia/Vladivostok",displayName:"(GMT+10:00) Vladivostok Time"},{timeZoneId:"Asia/Magadan",displayName:"(GMT+11:00) Magadan Time"},{timeZoneId:"Asia/Kamchatka",displayName:"(GMT+12:00) Kamchatka Time"}],tosLocale:{language:"ru",country:"RU"}},{countryCode:"WS",displayName:"Samoa",defaultTimeZoneId:"Pacific/Apia",timeZone:[{timeZoneId:"Pacific/Apia",displayName:"(GMT+13:00) Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SM",displayName:"San Marino",defaultTimeZoneId:"Europe/San_Marino",timeZone:[{timeZoneId:"Europe/San_Marino",displayName:"(GMT+02:00) San Marino Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"ST",displayName:"São Tomé & Príncipe",defaultTimeZoneId:"Africa/Sao_Tome",timeZone:[{timeZoneId:"Africa/Sao_Tome",displayName:"(GMT+00:00) São Tomé & Príncipe Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SA",displayName:"Saudi Arabia",defaultTimeZoneId:"Asia/Riyadh",timeZone:[{timeZoneId:"Asia/Riyadh",displayName:"(GMT+03:00) Saudi Arabia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RS",displayName:"Serbia",defaultTimeZoneId:"Europe/Belgrade",timeZone:[{timeZoneId:"Europe/Belgrade",displayName:"(GMT+02:00) Serbia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SC",displayName:"Seychelles",defaultTimeZoneId:"Indian/Mahe",timeZone:[{timeZoneId:"Indian/Mahe",displayName:"(GMT+04:00) Seychelles Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SG",displayName:"Singapore",defaultTimeZoneId:"Asia/Singapore",timeZone:[{timeZoneId:"Asia/Singapore",displayName:"(GMT+08:00) Singapore Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SK",displayName:"Slovakia",defaultTimeZoneId:"Europe/Bratislava",timeZone:[{timeZoneId:"Europe/Bratislava",displayName:"(GMT+02:00) Slovakia Time"}],tosLocale:{language:"sk",country:"SK"}},{countryCode:"SI",displayName:"Slovenia",defaultTimeZoneId:"Europe/Ljubljana",timeZone:[{timeZoneId:"Europe/Ljubljana",displayName:"(GMT+02:00) Slovenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SB",displayName:"Solomon Islands",defaultTimeZoneId:"Pacific/Guadalcanal",timeZone:[{timeZoneId:"Pacific/Guadalcanal",displayName:"(GMT+11:00) Solomon Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ZA",displayName:"South Africa",defaultTimeZoneId:"Africa/Johannesburg",timeZone:[{timeZoneId:"Africa/Johannesburg",displayName:"(GMT+02:00) South Africa Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GS",displayName:"South Georgia & South Sandwich Islands",defaultTimeZoneId:"Atlantic/South_Georgia",timeZone:[{timeZoneId:"Atlantic/South_Georgia",displayName:"(GMT-02:00) South Georgia & South Sandwich Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KR",displayName:"South Korea",defaultTimeZoneId:"Asia/Seoul",timeZone:[{timeZoneId:"Asia/Seoul",displayName:"(GMT+09:00) South Korea Time"}],tosLocale:{language:"ko",country:"KR"}},{countryCode:"ES",displayName:"Spain",defaultTimeZoneId:"Atlantic/Canary",timeZone:[{timeZoneId:"Atlantic/Canary",displayName:"(GMT+01:00) Canary Time"},{timeZoneId:"Africa/Ceuta",displayName:"(GMT+02:00) Ceuta Time"},{timeZoneId:"Europe/Madrid",displayName:"(GMT+02:00) Spain Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"LK",displayName:"Sri Lanka",defaultTimeZoneId:"Asia/Colombo",timeZone:[{timeZoneId:"Asia/Colombo",displayName:"(GMT+05:30) Sri Lanka Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PM",displayName:"St. Pierre & Miquelon",defaultTimeZoneId:"America/Miquelon",timeZone:[{timeZoneId:"America/Miquelon",displayName:"(GMT-02:00) St. Pierre & Miquelon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SD",displayName:"Sudan",defaultTimeZoneId:"Africa/Khartoum",timeZone:[{timeZoneId:"Africa/Khartoum",displayName:"(GMT+02:00) Sudan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SR",displayName:"Suriname",defaultTimeZoneId:"America/Paramaribo",timeZone:[{timeZoneId:"America/Paramaribo",displayName:"(GMT-03:00) Suriname Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"SJ",displayName:"Svalbard & Jan Mayen",defaultTimeZoneId:"Arctic/Longyearbyen",timeZone:[{timeZoneId:"Arctic/Longyearbyen",displayName:"(GMT+02:00) Svalbard & Jan Mayen Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SE",displayName:"Sweden",defaultTimeZoneId:"Europe/Stockholm",timeZone:[{timeZoneId:"Europe/Stockholm",displayName:"(GMT+02:00) Sweden Time"}],tosLocale:{language:"sv",country:"SE"}},{countryCode:"CH",displayName:"Switzerland",defaultTimeZoneId:"Europe/Zurich",timeZone:[{timeZoneId:"Europe/Zurich",displayName:"(GMT+02:00) Switzerland Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"SY",displayName:"Syria",defaultTimeZoneId:"Asia/Damascus",timeZone:[{timeZoneId:"Asia/Damascus",displayName:"(GMT+03:00) Syria Time"}]},{countryCode:"TW",displayName:"Taiwan",defaultTimeZoneId:"Asia/Taipei",timeZone:[{timeZoneId:"Asia/Taipei",displayName:"(GMT+08:00) Taiwan Time"}],tosLocale:{language:"zh",country:"TW"}},{countryCode:"TJ",displayName:"Tajikistan",defaultTimeZoneId:"Asia/Dushanbe",timeZone:[{timeZoneId:"Asia/Dushanbe",displayName:"(GMT+05:00) Tajikistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TH",displayName:"Thailand",defaultTimeZoneId:"Asia/Bangkok",timeZone:[{timeZoneId:"Asia/Bangkok",displayName:"(GMT+07:00) Thailand Time"}],tosLocale:{language:"th",country:"TH"}},{countryCode:"TL",displayName:"Timor-Leste",defaultTimeZoneId:"Asia/Dili",timeZone:[{timeZoneId:"Asia/Dili",displayName:"(GMT+09:00) Timor-Leste Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TK",displayName:"Tokelau",defaultTimeZoneId:"Pacific/Fakaofo",timeZone:[{timeZoneId:"Pacific/Fakaofo",displayName:"(GMT+13:00) Tokelau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TO",displayName:"Tonga",defaultTimeZoneId:"Pacific/Tongatapu",timeZone:[{timeZoneId:"Pacific/Tongatapu",displayName:"(GMT+13:00) Tonga Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TT",displayName:"Trinidad & Tobago",defaultTimeZoneId:"America/Port_of_Spain",timeZone:[{timeZoneId:"America/Port_of_Spain",displayName:"(GMT-04:00) Trinidad & Tobago Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TN",displayName:"Tunisia",defaultTimeZoneId:"Africa/Tunis",timeZone:[{timeZoneId:"Africa/Tunis",displayName:"(GMT+01:00) Tunisia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TR",displayName:"Turkey",defaultTimeZoneId:"Europe/Istanbul",timeZone:[{timeZoneId:"Europe/Istanbul",displayName:"(GMT+03:00) Turkey Time"}],tosLocale:{language:"tr",country:"TR"}},{countryCode:"TM",displayName:"Turkmenistan",defaultTimeZoneId:"Asia/Ashgabat",timeZone:[{timeZoneId:"Asia/Ashgabat",displayName:"(GMT+05:00) Turkmenistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TC",displayName:"Turks & Caicos Islands",defaultTimeZoneId:"America/Grand_Turk",timeZone:[{timeZoneId:"America/Grand_Turk",displayName:"(GMT-04:00) Turks & Caicos Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TV",displayName:"Tuvalu",defaultTimeZoneId:"Pacific/Funafuti",timeZone:[{timeZoneId:"Pacific/Funafuti",displayName:"(GMT+12:00) Tuvalu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UM",displayName:"U.S. Outlying Islands",defaultTimeZoneId:"Pacific/Wake",timeZone:[{timeZoneId:"Pacific/Wake",displayName:"(GMT+12:00) Wake Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UA",displayName:"Ukraine",defaultTimeZoneId:"Europe/Kiev",timeZone:[{timeZoneId:"Europe/Kiev",displayName:"(GMT+03:00) Ukraine Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AE",displayName:"United Arab Emirates",defaultTimeZoneId:"Asia/Dubai",timeZone:[{timeZoneId:"Asia/Dubai",displayName:"(GMT+04:00) United Arab Emirates Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GB",displayName:"United Kingdom",defaultTimeZoneId:"Etc/GMT",timeZone:[{timeZoneId:"Etc/GMT",displayName:"(GMT+00:00) GMT"},{timeZoneId:"Europe/London",displayName:"(GMT+01:00) United Kingdom Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"US",displayName:"United States",defaultTimeZoneId:"America/Los_Angeles",timeZone:[{timeZoneId:"Pacific/Honolulu",displayName:"(GMT-10:00) Honolulu Time"},{timeZoneId:"America/Anchorage",displayName:"(GMT-08:00) Anchorage Time"},{timeZoneId:"America/Los_Angeles",displayName:"(GMT-07:00) Los Angeles Time"},{timeZoneId:"America/Boise",displayName:"(GMT-06:00) Boise Time"},{timeZoneId:"America/Denver",displayName:"(GMT-06:00) Denver Time"},{timeZoneId:"America/Phoenix",displayName:"(GMT-07:00) Phoenix Time"},{timeZoneId:"America/Chicago",displayName:"(GMT-05:00) Chicago Time"},{timeZoneId:"America/Detroit",displayName:"(GMT-04:00) Detroit Time"},{timeZoneId:"America/New_York",displayName:"(GMT-04:00) New York Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UY",displayName:"Uruguay",defaultTimeZoneId:"America/Montevideo",timeZone:[{timeZoneId:"America/Montevideo",displayName:"(GMT-03:00) Uruguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"UZ",displayName:"Uzbekistan",defaultTimeZoneId:"Asia/Tashkent",timeZone:[{timeZoneId:"Asia/Tashkent",displayName:"(GMT+05:00) Uzbekistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VU",displayName:"Vanuatu",defaultTimeZoneId:"Pacific/Efate",timeZone:[{timeZoneId:"Pacific/Efate",displayName:"(GMT+11:00) Vanuatu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VA",displayName:"Vatican City",defaultTimeZoneId:"Europe/Vatican",timeZone:[{timeZoneId:"Europe/Vatican",displayName:"(GMT+02:00) Vatican City Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"VE",displayName:"Venezuela",defaultTimeZoneId:"America/Caracas",timeZone:[{timeZoneId:"America/Caracas",displayName:"(GMT-04:00) Venezuela Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"VN",displayName:"Vietnam",defaultTimeZoneId:"Asia/Saigon",timeZone:[{timeZoneId:"Asia/Saigon",displayName:"(GMT+07:00) Vietnam Time"}],tosLocale:{language:"vi",country:"VN"}},{countryCode:"WF",displayName:"Wallis & Futuna",defaultTimeZoneId:"Pacific/Wallis",timeZone:[{timeZoneId:"Pacific/Wallis",displayName:"(GMT+12:00) Wallis & Futuna Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"EH",displayName:"Western Sahara",defaultTimeZoneId:"Africa/El_Aaiun",timeZone:[{timeZoneId:"Africa/El_Aaiun",displayName:"(GMT+01:00) Western Sahara Time"}],tosLocale:{language:"en",country:"GB"}}],i=r.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(a.keyBy)(r,"countryCode"),c=r.reduce((function(e,t){return t.timeZone.forEach((function(n){var a=n.timeZoneId;return e[a]=t.countryCode})),e}),{})},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return b}));var a=n(21),r=n.n(a),i=n(57),o=n.n(i),c=n(229),l=n(258),s=n(259),u=n(199),d=n(230),m=n(260),g=n(0),p=o()((function(e){return{widgetSlug:e,Widget:f(e)(c.a),WidgetRecoverableModules:f(e)(d.a),WidgetReportZero:f(e)(l.a),WidgetReportError:f(e)(s.a),WidgetNull:f(e)(u.a)}}));function f(t){return function(n){var a=Object(g.forwardRef)((function(a,i){return e.createElement(n,r()({},a,{ref:i,widgetSlug:t}))}));return a.displayName="WithWidgetSlug",(n.displayName||n.name)&&(a.displayName+="(".concat(n.displayName||n.name,")")),a}}var y=function(t){var n=p(t);return function(t){function DecoratedComponent(a){return e.createElement(t,r()({},a,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},b=function(t){return function(n){function DecoratedComponent(a){return e.createElement(n,r()({},a,{WPDashboardReportError:f(t)(m.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(1),r=n.n(a),i=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.CTA,o=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)),r&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(r,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType,CTA:r.a.elementType}}).call(this,n(4))},214:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(0),l=n(112),s=n(8),u=n(384),d=n(93),m=n(385),g=n(134);function DataBlock(t){var n=t.stat,a=void 0===n?null:n,r=t.className,i=void 0===r?"":r,p=t.title,f=void 0===p?"":p,y=t.datapoint,b=void 0===y?null:y,h=t.datapointUnit,v=void 0===h?"":h,O=t.change,T=void 0===O?null:O,k=t.changeDataUnit,E=void 0===k?"":k,N=t.context,j=void 0===N?"default":N,S=t.period,_=void 0===S?"":S,A=t.selected,w=void 0!==A&&A,I=t.source,C=t.sparkline,Z=t.handleStatSelection,M=void 0===Z?null:Z,P=t.invertChangeColor,D=void 0!==P&&P,L=t.gatheringData,G=void 0!==L&&L,R=t.gatheringDataNoticeStyle,x=void 0===R?l.a.DEFAULT:R,B=t.badge,U=Object(c.useCallback)((function(){!G&&M&&M(a)}),[G,M,a]),W=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),U())}),[U]),V=void 0===b?b:Object(s.C)(b,v),F="button"===j,z=F?"button":"";return e.createElement("div",{className:o()("googlesitekit-data-block",i,"googlesitekit-data-block--".concat(j),{"googlesitekit-data-block--selected":w,"googlesitekit-data-block--is-gathering-data":G}),tabIndex:F&&!G?"0":"-1",role:M&&z,onClick:U,onKeyDown:W,"aria-disabled":G||void 0,"aria-label":M&&f,"aria-pressed":M&&w},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===B?e.createElement(d.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):B,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},f)),!G&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},V)),!G&&C&&e.createElement(u.a,{sparkline:C,invertChangeColor:D}),!G&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(m.a,{change:T,changeDataUnit:E,period:_,invertChangeColor:D}),I&&e.createElement(g.a,{className:"googlesitekit-data-block__source",name:I.name,href:I.link,external:null==I?void 0:I.external})),G&&e.createElement(l.b,{style:x}))}DataBlock.propTypes={stat:r.a.number,className:r.a.string,title:r.a.string,datapoint:r.a.oneOfType([r.a.string,r.a.number]),datapointUnit:r.a.string,change:r.a.oneOfType([r.a.string,r.a.number]),changeDataUnit:r.a.oneOfType([r.a.string,r.a.bool]),context:r.a.string,period:r.a.string,selected:r.a.bool,handleStatSelection:r.a.func,invertChangeColor:r.a.bool,gatheringData:r.a.bool,gatheringDataNoticeStyle:r.a.oneOf(Object.values(l.a)),badge:r.a.oneOfType([r.a.bool,r.a.node])},t.a=DataBlock}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return a})),n.d(t,"l",(function(){return r})),n.d(t,"o",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return f})),n.d(t,"p",(function(){return y})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return T})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return E}));var a="mainDashboard",r="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",m="settings",g="adBlockingRecovery",p="wpDashboard",f="wpDashboardViewOnly",y="moduleSetup",b="key-metrics",h="traffic",v="content",O="speed",T="monetization",k=[a,r,i,o,c,s,m,y],E=[i,o,d,f]},228:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(7),r=n.n(a),i=n(23),o=n.n(i),c=n(57),l=n.n(c),s=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=l()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,a=o()(e,["metrics","dimensions"]);return d({metrics:g(t),dimensions:p(n)},a)})),g=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))},p=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))}},229:function(e,t,n){"use strict";(function(e){var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=Object(c.forwardRef)((function(t,n){var a=t.children,i=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:r()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},i),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},a),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},230:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var a=n(7),r=n.n(a),i=n(21),o=n.n(i),c=n(27),l=n.n(c),s=n(23),u=n.n(s),d=n(1),m=n.n(d),g=n(0),p=n(118),f=n(136);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,a=t.moduleSlugs,r=u()(t,["widgetSlug","moduleSlugs"]),i=Object(g.useMemo)((function(){return{moduleSlug:l()(a).sort().join(","),moduleSlugs:a}}),[a]);return Object(p.a)(n,f.a,i),e.createElement(f.a,o()({moduleSlugs:a},r))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:m.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),m=n(236),g=n(237),p=n(44),f=n(238),y=n(240),b=n(241),h=n(63),v=n(204),O=n(169);function Root(t){var n=t.children,a=t.registry,i=t.viewContext,o=void 0===i?null:i,d=c.a,T=Object(s.useState)({key:"Root",value:!0}),k=r()(T,1)[0];return e.createElement(s.StrictMode,null,e.createElement(v.a,{value:k},e.createElement(u.RegistryProvider,{value:a},e.createElement(g.a,{value:p.a},e.createElement(h.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(m.a,null,e.createElement(y.a,null,n,o&&e.createElement(b.a,null)),Object(O.a)(o)&&e.createElement(f.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e,a){var r=n(50),i=n.n(r),o=n(51),c=n.n(o),l=n(69),s=n.n(l),u=n(70),d=n.n(u),m=n(49),g=n.n(m),p=n(1),f=n.n(p),y=n(0),b=n(2),h=n(168),v=n(63),O=n(65),T=n(8);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=g()(e);if(t){var r=g()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return d()(this,n)}}var E=function(t){s()(ErrorHandler,t);var n=k(ErrorHandler);function ErrorHandler(e){var t;return i()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(T.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?a.createElement(O.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(b.__)("Site Kit encountered an error","google-site-kit"),description:a.createElement(h.a,{message:n.message,componentStack:r.componentStack}),isDismissible:!1,format:"small",type:"win-error"},a.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,r.componentStack)):e}}]),ErrorHandler}(y.Component);E.contextType=v.b,E.propTypes={children:f.a.node.isRequired},t.a=E}).call(this,n(26),n(4))},237:function(e,t,n){"use strict";var a=n(158),r=(a.a.Consumer,a.a.Provider);t.a=r},238:function(e,t,n){"use strict";(function(e){var a=n(3),r=n(239),i=n(6);t.a=function PermissionsModal(){return Object(a.useSelect)((function(e){return e(i.a).isAuthenticated()}))?e.createElement(r.a,null):null}}).call(this,n(4))},239:function(e,t,n){"use strict";(function(e,a){var r=n(5),i=n.n(r),o=n(16),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(114),m=n(28),g=n(32),p=n(6),f=n(133),y=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,r,o,b=Object(u.useRegistry)(),h=Object(u.useSelect)((function(e){return e(p.a).getPermissionScopeError()})),v=Object(u.useSelect)((function(e){return e(p.a).getUnsatisfiedScopes()})),O=Object(u.useSelect)((function(t){var n,a,r;return t(p.a).getConnectURL({additionalScopes:null==h||null===(n=h.data)||void 0===n?void 0:n.scopes,redirectURL:(null==h||null===(a=h.data)||void 0===a?void 0:a.redirectURL)||e.location.href,errorRedirectURL:null==h||null===(r=h.data)||void 0===r?void 0:r.errorRedirectURL})})),T=Object(u.useDispatch)(p.a).clearPermissionScopeError,k=Object(u.useDispatch)(g.a).navigateTo,E=Object(u.useDispatch)(m.a).setValues,N=Object(s.useCallback)((function(){T()}),[T]),j=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return E(p.d,{permissionsError:h}),e.next=3,Object(f.c)(b);case 3:k(O);case 4:case"end":return e.stop()}}),e)}))),[b,O,k,h,E]);return Object(s.useEffect)((function(){(function(){var e=c()(i.a.mark((function e(){var t,n,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==h||null===(t=h.data)||void 0===t?void 0:t.skipModal)||!(null==h||null===(n=h.data)||void 0===n||null===(a=n.scopes)||void 0===a?void 0:a.length)){e.next=3;break}return e.next=3,j();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[j,h]),h?(null==h||null===(t=h.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==h||null===(r=h.data)||void 0===r?void 0:r.skipModal)||v&&(null==h||null===(o=h.data)||void 0===o?void 0:o.scopes.every((function(e){return v.includes(e)})))?null:a.createElement(y.a,null,a.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:h.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:j,handleDialog:N,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",h),null):null}}).call(this,n(26),n(4))},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},240:function(e,t,n){"use strict";var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),a=Object(s.useState)(!1),i=l()(a,2),c=i[0],m=i[1];return Object(s.useEffect)((function(){c||o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:m(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},241:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var a=n(7),r=n.n(a),i=n(79),o=n(194);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function FeatureToursDesktop(t){return Object(i.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},249:function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return m}));var a=n(27),r=n.n(a),i=n(13),o=n(25),c=n(8),l=function(e,t){if(!(null==t?void 0:t.length))return e;var n=[];return(null==e?void 0:e.length)&&(n=e[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(r()(e),[n]):e}),[])),e.map((function(e){return e.filter((function(e,a){return 0===a||t.includes(a-1)||n.includes(a-1)}))}))},s=function(e,t,n,a){var r={height:e||t,width:n||a};return r.width&&!r.height&&(r.height="100%"),r.height&&!r.width&&(r.width="100%"),r},u=function(e,t,n){var a=r()(e||[]);return t&&a.push({eventName:"ready",callback:t}),n&&a.push({eventName:"select",callback:n}),a},d=function(e,t,n,a,r,l){var s,u,d,m,g,p,f,y,b=Object(i.cloneDeep)(e);t&&"LineChart"===n&&((null==e||null===(s=e.vAxis)||void 0===s||null===(u=s.viewWindow)||void 0===u?void 0:u.min)||Object(i.set)(b,"vAxis.viewWindow.min",0),(null==e||null===(d=e.vAxis)||void 0===d||null===(m=d.viewWindow)||void 0===m?void 0:m.max)||Object(i.set)(b,"vAxis.viewWindow.max",100),(null==e||null===(g=e.hAxis)||void 0===g||null===(p=g.viewWindow)||void 0===p?void 0:p.min)||(Object(i.set)(b,"hAxis.viewWindow.min",Object(c.H)(a)),delete b.hAxis.ticks),(null==e||null===(f=e.hAxis)||void 0===f||null===(y=f.viewWindow)||void 0===y?void 0:y.max)||(Object(i.set)(b,"hAxis.viewWindow.max",Object(c.H)(r)),delete b.hAxis.ticks));if("LineChart"===n){var h,v,O;if((null==e||null===(h=e.hAxis)||void 0===h?void 0:h.maxTextLines)||Object(i.set)(b,"hAxis.maxTextLines",1),!(null==e||null===(v=e.hAxis)||void 0===v?void 0:v.minTextSpacing)){var T=l===o.b?50:100;Object(i.set)(b,"hAxis.minTextSpacing",T)}void 0===(null==e||null===(O=e.tooltip)||void 0===O?void 0:O.isHtml)&&(Object(i.set)(b,"tooltip.isHtml",!0),Object(i.set)(b,"tooltip.trigger","both"))}return Object(i.merge)(b,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),b},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(c.s)(),n=Intl.NumberFormat(t,{style:"currency",currency:e}),a=n.formatToParts(1e6);return a.reduce((function(e,t){var n=t.value;switch(t.type){case"group":return e+",";case"decimal":return e+".";case"currency":return e+n;case"literal":return e+(/^\s*$/.test(n)?n:"");case"integer":var r=n.replace(/\d/g,"#");return e+(Object(i.findLast)(a,(function(e){return"integer"===e.type}))===t?r.replace(/#$/,"0"):r);case"fraction":return e+n.replace(/\d/g,"0");default:return e}}),"")}},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(79),r="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(a.a)();return e>1280?r:e>960?i:e>600?o:c}},258:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var a=n(7),r=n.n(a),i=n(21),o=n.n(i),c=n(23),l=n.n(c),s=n(1),u=n.n(s),d=n(0),m=n(118),g=n(142);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function WidgetReportZero(t){var n=t.widgetSlug,a=t.moduleSlug,r=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:a}}),[a]);return Object(m.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:a},r))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(4))},259:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var a=n(7),r=n.n(a),i=n(23),o=n.n(i),c=n(1),l=n.n(c),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},260:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var a=n(1),r=n.n(a),i=n(520),o=n(200),c=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,a=t.error,r=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=a.message,m=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(i.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),r)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),m!==r?null:e.createElement(s.a,{moduleSlug:n,error:a})}WPDashboardReportError.propTypes={moduleSlug:r.a.string.isRequired,error:r.a.object.isRequired}}).call(this,n(4))},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(13),r=n(95);function i(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(r.e)(e.orderby))))}))}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/forms"},3:function(e,t){e.exports=googlesitekit.data},307:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateAccountField}));var a=n(12),r=n.n(a),i=n(10);function CreateAccountField(t){var n=t.hasError,a=t.value,o=t.setValue,c=t.name,l=t.label;return void 0===a?null:e.createElement(i.TextField,{className:r()("mdc-text-field",{"mdc-text-field--error":n}),label:l,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,value:a,id:"googlesitekit_analytics_account_create_".concat(c)})}}).call(this,n(4))},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/location"},330:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EnhancedMeasurementSwitch}));var a=n(7),r=n.n(a),i=n(12),o=n.n(i),c=n(1),l=n.n(c),s=n(91),u=n(0),d=n(38),m=n(2),g=n(3),p=n(10),f=n(28),y=n(9),b=n(162),h=n(8),v=n(18);function EnhancedMeasurementSwitch(t){var n=t.className,a=t.onClick,i=t.disabled,c=void 0!==i&&i,l=t.loading,O=void 0!==l&&l,T=t.formName,k=void 0===T?y.i:T,E=t.isEnhancedMeasurementAlreadyEnabled,N=void 0!==E&&E,j=Object(g.useSelect)((function(e){return e(f.a).getValue(k,y.h)})),S=Object(v.a)(),_=Object(g.useDispatch)(f.a).setValues,A=Object(u.useCallback)((function(){_(k,r()({},y.h,!j)),Object(h.J)("".concat(S,"_analytics"),j?"deactivate_enhanced_measurement":"activate_enhanced_measurement"),null==a||a()}),[k,j,a,_,S]);return Object(s.a)((function(){_(y.i,r()({},y.j,!0))})),e.createElement("div",{className:o()("googlesitekit-analytics-enable-enhanced-measurement",n,{"googlesitekit-analytics-enable-enhanced-measurement--loading":O})},O&&e.createElement(p.ProgressBar,{small:!0,className:"googlesitekit-analytics-enable-enhanced-measurement__progress--settings-edit"}),!O&&N&&e.createElement("p",{className:"googlesitekit-margin-top-0"},"Enhanced measurement is enabled for this web data stream"),!O&&!N&&e.createElement(p.Switch,{label:Object(m.__)("Enable enhanced measurement","google-site-kit"),checked:j,disabled:c,onClick:A,hideLabel:!1}),e.createElement("p",null,Object(d.a)(Object(m.__)("This allows you to measure interactions with your content (e.g. file downloads, form completions, video views). <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{path:"/analytics/answer/9216061",external:!0})})))}EnhancedMeasurementSwitch.propTypes={onClick:l.a.func,disabled:l.a.bool,loading:l.a.bool,isEnhancedMeasurementAlreadyEnabled:l.a.bool}}).call(this,n(4))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var a=n(2),r="missing_required_scopes",i="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===r}function l(e){var t;return[i,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(a.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(a.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},346:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return a.createElement("svg",r({viewBox:"0 0 22 19"},e),i)}},349:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return GoogleChart}));var r=n(7),i=n.n(r),o=n(27),c=n.n(o),l=n(21),s=n.n(l),u=n(15),d=n.n(u),m=n(23),g=n.n(m),p=(n(576),n(12)),f=n.n(p),y=n(11),b=n.n(y),h=n(1),v=n.n(h),O=n(408),T=n(91),k=n(200),E=n(0),N=n(40),j=n(6),S=n(112),_=n(3),A=n(493),w=n(494),I=n(24),C=n(18),Z=n(169),M=n(249),P=n(8),D=n(25);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GoogleChart(t){var n=t.chartEvents,r=t.chartType,i=t.children,o=t.className,l=t.data,u=t.dateMarkers,m=t.getChartWrapper,p=t.height,y=t.loaded,h=t.loadingHeight,v=t.loadingWidth,L=t.onMouseOver,G=t.onMouseOut,R=t.onReady,x=t.onSelect,B=t.selectedStats,U=t.width,W=t.options,V=t.gatheringData,F=g()(t,["chartEvents","chartType","children","className","data","dateMarkers","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),z=Object(k.a)(GoogleChart),H=Object(D.e)(),q=Object(_.useSelect)((function(e){return e(j.a).getDateRangeDates({offsetDays:0})})),K=q.startDate,J=q.endDate,Y=Object(C.a)(),$=Object(_.useSelect)((function(e){return e(I.b).getValue("googleChartsCollisionError")})),X=Object(E.useState)(!1),Q=d()(X,2),ee=Q[0],te=Q[1],ne=Object(_.useDispatch)(I.b).setValue,ae=Object(M.d)(l,B),re="PieChart"===r?"circular":"square",ie=Object(M.e)(h,p,v,U),oe=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(N.a,s()({className:"googlesitekit-chart-loading__wrapper",shape:re},ie))),ce=Object(E.useRef)(),le=Object(E.useRef)();Object(T.a)((function(){var e,t,n,r;void 0===$&&(Object(Z.a)(Y)&&(null===(e=a)||void 0===e||null===(t=e.google)||void 0===t?void 0:t.charts)&&(a.google.charts=void 0),!Object(Z.a)(Y)&&(null===(n=a)||void 0===n||null===(r=n.google)||void 0===r?void 0:r.charts)?ne("googleChartsCollisionError",!0):ne("googleChartsCollisionError",!1))})),Object(E.useEffect)((function(){return function(){if(le.current&&ce.current){var e=le.current.visualization.events;e.removeAllListeners(ce.current.getChart()),e.removeAllListeners(ce.current)}}}),[]),Object(E.useLayoutEffect)((function(){var e,t;L&&(null===(e=le.current)||void 0===e||e.visualization.events.addListener(ce.current.getChart(),"onmouseover",(function(e){L(e,{chartWrapper:ce.current,google:le.current})})));G&&(null===(t=le.current)||void 0===t||t.visualization.events.addListener(ce.current.getChart(),"onmouseout",(function(e){G(e,{chartWrapper:ce.current,google:le.current})})))}),[L,G]);var se=u.filter((function(e){return!!((t=new Date(e.date))&&K&&J)&&!(t.getTime()<Object(P.H)(K).getTime()||t.getTime()>Object(P.H)(J).getTime());var t}));if($)return null;if(!y)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",o)},oe);var ue=Object(M.b)([].concat(c()(n||[]),[{eventName:"ready",callback:function(){var e;if(ce.current&&se.length){var t=ce.current.getChart(),n=null==t?void 0:t.getChartLayoutInterface(),a=null==n?void 0:n.getChartAreaBoundingBox(),r=ce.current.getDataTable();if(n&&a&&r){se.forEach((function(e,t){var r=new Date(e.date),i=document.getElementById("googlesitekit-chart__date-marker-line--".concat(z,"-").concat(t));b()(i,"#googlesitekit-chart__date-marker-line--".concat(z,"-").concat(t," is missing from the DOM, but required to render date markers."));var o=Math.floor(n.getXLocation(Object(P.H)(Object(P.q)(r))));if(Object.assign(i.style,{left:"".concat(o-1,"px"),top:"".concat(Math.floor(a.top),"px"),height:"".concat(Math.floor(a.height),"px"),opacity:1}),e.text){var c=document.getElementById("googlesitekit-chart__date-marker-tooltip--".concat(z,"-").concat(t));b()(c,"#googlesitekit-chart__date-marker-tooltip--".concat(z,"-").concat(t," is missing from the DOM, but required to render date marker tooltips.")),Object.assign(c.style,{left:"".concat(o-9,"px"),top:"".concat(Math.floor(a.top)-18,"px"),opacity:1})}}));var i=null===(e=document.querySelector("#googlesitekit-chart-".concat(z," svg:first-of-type > g:first-of-type > g > g > text")))||void 0===e?void 0:e.parentElement.parentElement.parentElement;!!i&&document.querySelectorAll("#googlesitekit-chart-".concat(z," svg:first-of-type > g")).length>=3&&(i.style.transform="translateY(-10px)")}}}}]),R,x),de=Object(M.a)(W,V,r,K,J,H);return e.createElement(A.a,null,e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(r),o),id:"googlesitekit-chart-".concat(z),tabIndex:-1},e.createElement(O.a,s()({className:"googlesitekit-chart__inner",chartEvents:ue,chartLanguage:Object(P.s)(),chartType:r,chartVersion:"49",data:ae,loader:oe,height:p,getChartWrapper:function(e,t){var n,a,r;(ee||te(!0),e!==ce.current)&&(null===(n=le.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=ce.current)||void 0===a?void 0:a.getChart()),null===(r=le.current)||void 0===r||r.visualization.events.removeAllListeners(ce.current));ce.current=e,le.current=t,m&&m(e,t)},width:U,options:de},F)),V&&ee&&e.createElement(S.b,{style:S.a.OVERLAY}),!!se.length&&se.map((function(t,n){return e.createElement(w.a,{key:"googlesitekit-chart__date-marker--".concat(z,"-").concat(n),id:"".concat(z,"-").concat(n),text:t.text})})),i))}GoogleChart.propTypes={className:v.a.string,children:v.a.node,chartEvents:v.a.arrayOf(v.a.shape({eventName:v.a.string,callback:v.a.func})),chartType:v.a.oneOf(["LineChart","PieChart"]).isRequired,data:v.a.array,dateMarkers:v.a.arrayOf(v.a.shape({date:v.a.string.isRequired,text:v.a.string})),getChartWrapper:v.a.func,height:v.a.string,loaded:v.a.bool,loadingHeight:v.a.string,loadingWidth:v.a.string,onMouseOut:v.a.func,onMouseOver:v.a.func,onReady:v.a.func,onSelect:v.a.func,selectedStats:v.a.arrayOf(v.a.number),width:v.a.string,options:v.a.object,gatheringData:v.a.bool},GoogleChart.defaultProps=G(G({},O.a.defaultProps),{},{dateMarkers:[],gatheringData:!1,loaded:!0})}).call(this,n(4),n(26))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(22),r=n(18);function i(){var e=Object(r.a)();return a.g.includes(e)}},354:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,a=e.slice(6,8);return new Date(t,n.toString(),a)}return!1}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return v}));var a=n(99),r=e._googlesitekitTrackingData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,l=r.trackingEnabled,s=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,m=r.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:m,pluginVersion:"1.140.0"},p=Object(a.a)(g),f=p.enableTracking,y=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,v=p.trackEventOnce;function O(e){e?f():y()}c&&l&&b()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},373:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var a=n(2),r=n(3),i=n(148),o=n(20),c=n(14);function Notice(){var t=Object(r.useSelect)((function(e){return e(c.c).getDocumentationLinkURL("ga4")}));return e.createElement(i.c,{type:i.a,LearnMore:function LearnMore(){return e.createElement(o.a,{href:t,external:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(4))},379:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(0),r=n(3),i=n(6),o=n(19),c=n(32);function l(e){var t=Object(r.useSelect)((function(e){return e(i.a).hasCapability(i.K)})),n=Object(r.useSelect)((function(t){return t(o.a).getModuleStoreName(e)})),l=Object(r.useSelect)((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),s=Object(r.useDispatch)(c.a).navigateTo,u=Object(a.useCallback)((function(){return s(l)}),[l,s]);return l&&t?u:null}},384:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(0);function Sparkline(t){var n=t.sparkline,a=t.invertChangeColor,r=n;return r&&a&&(r=Object(i.cloneElement)(n,{invertChangeColor:a})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},r)}Sparkline.propTypes={sparkline:r.a.element,invertChangeColor:r.a.bool},t.a=Sparkline}).call(this,n(4))},385:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(2),l=n(8),s=n(86);function Change(t){var n=t.change,a=t.changeDataUnit,r=t.period,i=t.invertChangeColor,u=n;return a&&(u="%"===a?Object(l.C)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(l.C)(n,a)),r&&(u=Object(c.sprintf)(r,u)),e.createElement("div",{className:o()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(s.a,{direction:0<parseFloat(n)?"up":"down",invertColor:i})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))}Change.propTypes={change:r.a.oneOfType([r.a.string,r.a.number]),changeDataUnit:r.a.oneOfType([r.a.string,r.a.bool]),period:r.a.string,invertChangeColor:r.a.bool},t.a=Change}).call(this,n(4))},393:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedConversionTrackingNotice}));var a=n(12),r=n.n(a),i=n(3),o=n(14);function SetupEnhancedConversionTrackingNotice(t){var n=t.className,a=t.message,c=Object(i.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return c||void 0===c?null:e.createElement("p",{className:r()(n,"googlesitekit-color--surfaces-on-background-variant")},a)}}).call(this,n(4))},396:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PreviewGraph}));var a=n(1),r=n.n(a),i=n(562);function PreviewGraph(t){var n=t.title,a=t.GraphSVG,r=t.showIcons;return e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph"},e.createElement("h3",{className:"googlesitekit-analytics-cta__preview-graph--title"},n),e.createElement("div",null,e.createElement(a,null)),r&&e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph--icons"},e.createElement(i.a,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),e.createElement("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})))}PreviewGraph.propTypes={title:r.a.string.isRequired,GraphSVG:r.a.elementType.isRequired,showIcons:r.a.bool},PreviewGraph.defaultProps={showIcons:!0}}).call(this,n(4))},398:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(13);function r(e,t){return Object(a.sumBy)(e,t)||0}},40:function(e,t,n){"use strict";(function(e){var a=n(7),r=n.n(a),i=n(1),o=n.n(i),c=n(12),l=n.n(c),s=n(25);function PreviewBlock(t){var n,a,i=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,m=t.smallWidth,g=t.smallHeight,p=t.tabletWidth,f=t.tabletHeight,y=t.desktopWidth,b=t.desktopHeight,h=Object(s.e)(),v={width:(n={},r()(n,s.b,m),r()(n,s.c,p),r()(n,s.a,y),r()(n,s.d,y),n),height:(a={},r()(a,s.b,g),r()(a,s.c,f),r()(a,s.a,b),r()(a,s.d,y),a)};return e.createElement("div",{className:l()("googlesitekit-preview-block",i,{"googlesitekit-preview-block--padding":d}),style:{width:v.width[h]||o,height:v.height[h]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},402:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(3),l=n(10),s=n(9),u=n(8),d=n(18);function UseSnippetSwitch(t){var n=t.description,a=Object(d.a)(),r=Object(c.useSelect)((function(e){return e(s.p).getUseSnippet()})),m=Object(c.useDispatch)(s.p).setUseSnippet,g=Object(i.useCallback)((function(){var e=!r;m(e),Object(u.J)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ga4")}),[r,m,a]);return void 0===r?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(l.Switch,{label:Object(o.__)("Place Google Analytics code","google-site-kit"),checked:r,onClick:g,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(4))},403:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(40);function PreviewTable(t){for(var n=t.rows,a=t.rowHeight,r=t.padding,i=[],l=0;n>l;l++)i.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+l},e.createElement(c.a,{width:"100%",height:a+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":r})},i)}PreviewTable.propTypes={rows:r.a.number,rowHeight:r.a.number,padding:r.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(4))},41:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return v})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return T})),n.d(t,"b",(function(){return k}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var u,d="googlesitekit_",m="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),f=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",a.setItem(i,i),a.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==a.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function y(){return b.apply(this,arguments)}function b(){return(b=o()(r.a.mark((function t(){var n,a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(p),t.prev=3,n.s();case 5:if((a=n.n()).done){t.next=15;break}if(i=a.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,f(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(r.a.mark((function e(t){var n,a,i,o,c,l,s;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:if(!(n=e.sent)){e.next=10;break}if(!(a=n.getItem("".concat(m).concat(t)))){e.next=10;break}if(i=JSON.parse(a),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var t=o()(r.a.mark((function t(n,a){var i,o,l,s,u,d,g,p,f=arguments;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=f.length>2&&void 0!==f[2]?f[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,g=void 0!==d&&d,t.next=3,y();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(m).concat(n),JSON.stringify({timestamp:u,ttl:l,value:a,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y();case 2:if(!(a=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(m).concat(n),a.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=o()(r.a.mark((function t(){var n,a,i,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,a=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&a.push(o);return t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),k=function(){var e=o()(r.a.mark((function e(){var t,n,a,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:if(!e.sent){e.next=25;break}return e.next=6,T();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((a=n.n()).done){e.next=16;break}return i=a.value,e.next=14,O(i);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},42:function(e,t){e.exports=googlesitekit.api},430:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(27),r=n.n(a),i=n(12),o=n.n(i),c=n(13),l=n(2),s=n(82),u=n(8),d=n(15),m=n.n(d),g=n(11),p=n.n(g);function f(e,t){var n=t.dateRangeLength;p()(Array.isArray(e),"report must be an array to partition."),p()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var a=function(t){return e.filter((function(e){return m()(e.dimensionValues,2)[1].value===t}))},r=-1*n;return{currentRange:a("date_range_0").slice(r),compareRange:a("date_range_1").slice(2*r,r)}}var y=n(354);function b(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var a=e.metricValues[t].value,r=e.dimensionValues[0].value,i=Object(y.a)(r);n.push([i,a])}})),n}function h(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(l.__)("Users","google-site-kit"),Object(l.__)("Sessions","google-site-kit"),Object(l.__)("Engagement Rate","google-site-kit"),Object(l.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],g=r()((null==e?void 0:e.rows)||[]),p=g.length;if(2*n>p){for(var y=Object(u.H)(a),h=0;n>h;h++){var v=(y.getMonth()+1).toString(),O=y.getDate().toString(),T=y.getFullYear().toString()+(2>v.length?"0":"")+v+(2>O.length?"0":"")+O;if(h>p){var k=[{dimensionValues:[{value:T},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:T},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];g.unshift.apply(g,k)}y.setDate(y.getDate()-1)}g.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var E=i[t]===Object(l.__)("Session Duration","google-site-kit"),N=E?"timeofday":"number",j=[[{type:"date",label:Object(l.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:N,label:i[t]},{type:N,label:Object(l.__)("Previous period","google-site-kit")}]],S=f(g,{dateRangeLength:n}),_=S.compareRange,A=S.currentRange,w=b(A,t),I=b(_,t),C=Object(s.b)(),Z={weekday:"short",month:"short",day:"numeric"};return w.forEach((function(e,n){if(e[0]&&e[1]&&I[n]){var a=m[t],r=a(e[1]),c=a(I[n][1]),s=parseFloat(c),g=Object(u.i)(r,s),p=Object(u.p)(g),f=Object(l.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(l._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(C,Z),I[n][0].toLocaleDateString(C,Z)),y=Object(l.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(l._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),i[t],d[t](r),p,Object(u.C)(Math.abs(g),"%"));j.push([e[0],'<div class="'.concat(o()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":g>0,"googlesitekit-visualization-tooltip--down":g<0}),'">\n\t\t\t\t<p>').concat(f,"</p>\n\t\t\t\t<p>").concat(y,"</p>\n\t\t\t</div>"),E?Object(u.k)(r):r,E?Object(u.k)(c):c])}})),j}},44:function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},489:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(12),r=n.n(a),i=n(11),o=n.n(i),c=n(1),l=n.n(c),s=n(13),u=n(112);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,l=t.zeroState,d=t.gatheringData,m=void 0!==d&&d;o()(Array.isArray(n),"rows must be an array."),o()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;o()(t||null!==a,"each column must define a Component and/or a field.")})),o()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var g=a.filter((function(e){return!e.hideOnMobile})),p=a.some((function(e){return!!e.badge}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":m},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(g.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},p&&e.createElement("tr",{className:r()("googlesitekit-table__head-badges",{"hidden-on-mobile":!a.some((function(e){var t=e.badge,n=e.hideOnMobile;return!!t&&!n}))})},a.map((function(t,n){var a=t.badge,i=t.primary,o=t.hideOnMobile,c=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item","googlesitekit-table__head-item--badge",{"googlesitekit-table__head-item--primary":i,"hidden-on-mobile":o},c),key:"googlesitekit-table__head-row-badge-".concat(n)},a)}))),e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,l=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o,"hidden-on-mobile":c},l),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},m&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(u.b,null))),!m&&!(null==n?void 0:n.length)&&l&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(l,null))),!m&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,o=n.field,c=n.hideOnMobile,l=n.className,u=void 0!==o?Object(s.get)(t,o):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":c},l)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:u}),!i&&u))})))})))))}ReportTable.propTypes={rows:l.a.arrayOf(l.a.oneOfType([l.a.array,l.a.object])).isRequired,columns:l.a.arrayOf(l.a.shape({title:l.a.string,description:l.a.string,primary:l.a.bool,className:l.a.string,field:l.a.string,hideOnMobile:l.a.bool,Component:l.a.componentType,badge:l.a.node})).isRequired,className:l.a.string,limit:l.a.number,zeroState:l.a.func,gatheringData:l.a.bool}}).call(this,n(4))},490:function(e,t,n){"use strict";(function(e,a){var r=n(15),i=n.n(r),o=n(1),c=n.n(o),l=n(13),s=n(12),u=n.n(s),d=n(0);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],s=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(l.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;s(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(l.debounce)(g,100),className:u()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(26),n(4))},491:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccessibleWarningIcon}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(105),l=n(346);function AccessibleWarningIcon(t){var n=t.height,a=void 0===n?12:n,r=t.screenReaderText,s=void 0===r?Object(o.__)("Error","google-site-kit"):r,u=t.width,d=void 0===u?14:u;return e.createElement(i.Fragment,null,e.createElement(c.a,null,s),e.createElement(l.a,{width:d,height:a}))}AccessibleWarningIcon.propTypes={height:r.a.number,screenReaderText:r.a.string,width:r.a.number}}).call(this,n(4))},492:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return DataBlockGroup}));var r=n(91),i=n(625),o=n(0),c=n(161);function DataBlockGroup(t){var n=t.className,l=t.children,s=Object(o.useRef)(),u=function(){var t,n,a,r,i=null==s||null===(t=s.current)||void 0===t?void 0:t.querySelectorAll(".googlesitekit-data-block");if(i){var o=null===(n=i[0])||void 0===n?void 0:n.querySelector(".googlesitekit-data-block__datapoint");if(o){d(i,"");var c=parseInt(null===(a=e)||void 0===a||null===(r=a.getComputedStyle(o))||void 0===r?void 0:r.fontSize,10),l=c;i.forEach((function(t){var n,a,r,i=t.querySelector(".googlesitekit-data-block__datapoint");if(i){var o=parseInt(null===(n=e)||void 0===n||null===(a=n.getComputedStyle(i))||void 0===a?void 0:a.fontSize,10),c=null==i||null===(r=i.parentElement)||void 0===r?void 0:r.offsetWidth;if(i.scrollWidth>c&&o>14){for(;i.scrollWidth>c&&o>14;)o-=1,i.style.fontSize="".concat(o,"px");l=o}}})),c!==l&&d(i,"".concat(l,"px"))}}},d=function(e,t){e.forEach((function(e){var n=null==e?void 0:e.querySelector(".googlesitekit-data-block__datapoint");n&&(n.style.fontSize=t)}))},m=Object(c.a)(u,50);return Object(r.a)((function(){u(),e.addEventListener("resize",m)})),Object(i.a)((function(){return e.removeEventListener("resize",m)})),a.createElement("div",{ref:s,className:n},l)}}).call(this,n(26),n(4))},493:function(e,t,n){"use strict";(function(e,a){var r=n(50),i=n.n(r),o=n(51),c=n.n(o),l=n(215),s=n.n(l),u=n(69),d=n.n(u),m=n(70),g=n.n(m),p=n(49),f=n.n(p),y=n(186),b=n.n(y),h=n(1),v=n.n(h),O=n(0),T=n(2),k=n(85),E=n(168),N=n(63),j=n(8);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return g()(this,n)}}var _=function(t){d()(GoogleChartErrorHandler,t);var n=S(GoogleChartErrorHandler);function GoogleChartErrorHandler(e){var t;return i()(this,GoogleChartErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(s()(t)),t}return c()(GoogleChartErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Google Charts error:",t,n),this.setState({error:t,info:n}),Object(j.J)("google_chart_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;b()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?a.createElement("div",{className:"googlesitekit-googlechart-error-handler"},a.createElement(k.a,{description:a.createElement(O.Fragment,null,a.createElement("p",null,Object(T.__)("An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),a.createElement(E.a,{message:n.message,componentStack:r.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(T.__)("Error in Google Chart","google-site-kit")})):e}}]),GoogleChartErrorHandler}(O.Component);_.contextType=N.b,_.propTypes={children:v.a.node.isRequired},t.a=_}).call(this,n(26),n(4))},494:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateMarker}));var a=n(0),r=n(254),i=n(573),o=n(10),c=n(18),l=n(161),s=n(8);function DateMarker(t){var n=t.id,u=t.text,d=Object(c.a)(),m="".concat(d,"_ga4-data-collection-line");Object(a.useEffect)((function(){Object(s.J)(m,"chart_line_view")}),[m]);var g=Object(a.useCallback)((function(){Object(s.J)(m,"chart_tooltip_view")}),[m]),p=Object(l.a)(g,5e3,{leading:!0,trailing:!1});return e.createElement(a.Fragment,null,e.createElement("div",{id:"googlesitekit-chart__date-marker-line--".concat(n),className:"googlesitekit-chart__date-marker-line"}),u&&e.createElement("div",{id:"googlesitekit-chart__date-marker-tooltip--".concat(n),className:"googlesitekit-chart__date-marker-tooltip"},e.createElement(o.Tooltip,{title:u,onOpen:p},e.createElement("span",null,e.createElement(r.a,{fill:"currentColor",icon:i.a,size:18})))))}}).call(this,n(4))},499:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return p}));var a=n(7),r=n.n(a),i=n(11),o=n.n(i),c=n(109),l=n(206),s=n(9);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=e.siteName,n=e.siteURL,a=e.timezone,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;o()(Object(c.a)(n),"A valid siteURL is required.");var u=new URL(n),d=u.hostname,m=u.pathname;return r()({accountName:t||d,propertyName:"".concat(d).concat(m).replace(/\/$/,""),dataStreamName:d,countryCode:l.c[a]||l.c[i],timezone:l.c[a]?a:i},s.h,!0)}var g=function(e){var t,n=null===(t=e.account)||void 0===t?void 0:t.match(/accounts\/([^/]+)/),a=null==n?void 0:n[1];return d(d({},e),{},{_id:a})},p=function(e){var t,n,a=null===(t=e.property)||void 0===t?void 0:t.match(/properties\/([^/]+)/),r=null==a?void 0:a[1],i=null===(n=e.parent)||void 0===n?void 0:n.match(/accounts\/([^/]+)/),o=null==i?void 0:i[1];return d(d({},e),{},{_id:r,_accountID:o})}},507:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return TrackingExclusionSwitches}));var a,r=n(7),i=n.n(r),o=n(0),c=n(2),l=n(3),s=n(10),u=n(9),d=(a={},i()(a,"loggedinUsers",Object(c.__)("All logged-in users","google-site-kit")),i()(a,"contentCreators",Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=Object(l.useSelect)((function(e){return e(u.p).getTrackingDisabled()})),a=Object(l.useDispatch)(u.p).setTrackingDisabled;t=n&&n.includes("loggedinUsers")?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes("contentCreators")?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r("contentCreators",t)}),[r]),m=Object(o.useCallback)((function(e){var t=e.target.checked;r("loggedinUsers",t)}),[r]);return Array.isArray(n)?e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("h4",{className:"googlesitekit-settings-module__fields-group-title"},Object(c.__)("Exclude Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(s.Switch,{label:d.loggedinUsers,checked:n.includes("loggedinUsers"),onClick:m,hideLabel:!1})),!n.includes("loggedinUsers")&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(s.Switch,{label:d.contentCreators,checked:n.includes("contentCreators"),onClick:i,hideLabel:!1}))),e.createElement("p",null,t))):null}}).call(this,n(4))},537:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),l=n.n(c),s=n(2),u=n(0),d=n(42),m=n.n(d),g=n(3),p=n(10),f=n(9),y=n(14),b=n(6),h=n(28),v=n(32),O=n(34),T=n(8),k=n(499),E=n(17),N=n(144),j=n(548),S=n(549),_=n(550),A=n(551),w=n(552),I=n(330),C=n(18),Z=n(393);function AccountCreate(){var t=Object(u.useState)(!1),n=l()(t,2),a=n[0],i=n[1],c=Object(g.useSelect)((function(e){return e(f.p).getAccountSummaries()})),d=Object(g.useSelect)((function(e){return e(f.p).hasFinishedResolution("getAccountSummaries")})),M=Object(g.useSelect)((function(e){return e(f.p).getAccountTicketTermsOfServiceURL()})),P=Object(g.useSelect)((function(e){return e(f.p).canSubmitAccountCreate()})),D=Object(g.useSelect)((function(e){return e(f.p).isDoingCreateAccount()})),L=Object(g.useSelect)((function(e){return e(b.a).hasScope(f.g)})),G=Object(g.useSelect)((function(e){return e(b.a).hasScope(f.n)})),R=Object(g.useSelect)((function(e){return e(h.a).hasForm(f.k)})),x=Object(g.useSelect)((function(e){return e(h.a).getValue(f.k,"autoSubmit")})),B=Object(g.useSelect)((function(e){return e(y.c).getReferenceSiteURL()})),U=Object(g.useSelect)((function(e){return e(y.c).getSiteName()})),W=Object(g.useSelect)((function(e){return e(y.c).getTimezone()})),V=Object(C.a)(),F=Object(g.useDispatch)(h.a).setValues,z=Object(g.useDispatch)(v.a).navigateTo,H=Object(g.useDispatch)(f.p).createAccount,q=Object(g.useDispatch)(b.a).setPermissionScopeError,K=Object(g.useDispatch)(y.c),J=K.setConversionTrackingEnabled,Y=K.saveConversionTrackingSettings,$=L;Object(u.useEffect)((function(){M&&o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.invalidateCache("modules","analytics-4");case 2:z(M);case 3:case"end":return e.stop()}}),e)})))()}),[M,z]),Object(u.useEffect)((function(){R||F(f.k,Object(k.a)({siteName:U,siteURL:B,timezone:W}))}),[R,U,B,W,F]);var X=Object(u.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],L||t.push(f.g),G||t.push(f.n),!(t.length>0)){e.next=7;break}return F(f.k,{autoSubmit:!0}),q({code:O.a,message:Object(s.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 7:return F(f.k,{autoSubmit:!1}),e.next=10,Object(T.J)("".concat(V,"_analytics"),"create_account","proxy");case 10:return e.next=12,H();case 12:if(n=e.sent,n.error){e.next=19;break}return J(!0),e.next=18,Y();case 18:i(!0);case 19:case"end":return e.stop()}}),e)}))),[L,G,F,V,H,q,J,Y]);Object(u.useEffect)((function(){$&&x&&X()}),[$,x,X]);var Q=Object(g.useDispatch)(f.p).rollbackSettings,ee=Object(u.useCallback)((function(){return Q()}),[Q]);return D||a||!d||void 0===$?e.createElement(p.ProgressBar,null):e.createElement("div",null,e.createElement(N.a,{moduleSlug:"analytics-4",storeName:f.p}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(s.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(s.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(E.a,{size:6},e.createElement(S.a,null)),e.createElement(E.a,{size:6},e.createElement(_.a,null)),e.createElement(E.a,{size:6},e.createElement(w.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(A.a,null),e.createElement(j.a,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(I.a,{formName:f.k,className:"googlesitekit-margin-bottom-0"}),e.createElement(Z.a,{className:"googlesitekit-margin-top-0",message:Object(s.__)("To track how visitors interact with your site, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")})),e.createElement("p",null,$&&e.createElement("span",null,Object(s.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!$&&e.createElement("span",null,Object(s.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(p.Button,{disabled:!P,onClick:X},Object(s.__)("Create Account","google-site-kit")),c&&!!c.length&&e.createElement(p.Button,{tertiary:!0,className:"googlesitekit-setup-module__sub-action",onClick:ee},Object(s.__)("Back","google-site-kit"))))}}).call(this,n(4))},538:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(10),l=n(3),s=n(9),u=n(8),d=n(18);function AccountSelect(t){var n=t.hasModuleAccess,a=t.onChange,r=Object(d.a)(),m=Object(l.useSelect)((function(e){return e(s.p).getAccountID()})),g=Object(l.useSelect)((function(e){return e(s.p).getAccountSummaries()})),p=Object(l.useSelect)((function(e){return e(s.p).hasFinishedResolution("getAccountSummaries")})),f=Object(l.useDispatch)(s.p).selectAccount,y=Object(i.useCallback)((function(e,t){var n=t.dataset.value;if(m!==n){f(n);var i=n===s.a?"change_account_new":"change_account";Object(u.J)("".concat(r,"_analytics"),i),a&&a()}}),[m,f,r,a]);return p?!1===n?e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:m,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:m},m)):e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:m,onEnhancedChange:y,enhanced:!0,outlined:!0},(g||[]).concat({_id:s.a,displayName:Object(o.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(c.Option,{key:n,value:a},r)}))):e.createElement(c.ProgressBar,{small:!0})}AccountSelect.propTypes={hasModuleAccess:r.a.bool}}).call(this,n(4))},539:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),l=n(0),s=n(2),u=n(3),d=n(10),m=n(8),g=n(9),p=n(144),f=n(373),y=n(18);function AccountCreateLegacy(){var t=Object(u.useSelect)((function(e){return e(g.p).getAccountSummaries()})),n=Object(u.useSelect)((function(e){return e(g.p).hasFinishedResolution("getAccountSummaries")})),r=Object(u.useSelect)((function(e){return e(g.p).getAccountID()})),o=g.a===r,b=Object(u.useSelect)((function(e){return e(g.p).getServiceURL({path:"/provision/SignUp"})})),h=Object(y.a)(),v=Object(l.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(m.J)("".concat(h,"_analytics"),"create_account","custom-oauth");case 3:e.open(b,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[b,h]),O=Object(u.useDispatch)(g.p),T=O.resetAccountSummaries,k=O.resetAccountSettings,E=Object(l.useCallback)((function(){T(),k()}),[k,T]);return n?a.createElement("div",null,a.createElement(f.a,null),a.createElement(p.a,{moduleSlug:"analytics-4",storeName:g.p}),!o&&t&&0===t.length&&a.createElement("p",null,Object(s.__)('Looks like you don’t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),o&&a.createElement(l.Fragment,null,a.createElement("p",null,Object(s.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(s.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(d.Button,{onClick:v},Object(s.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(d.Button,{tertiary:!0,onClick:E},Object(s.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(d.ProgressBar,null)}}).call(this,n(26),n(4))},540:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamSelect}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=n(2),s=n(10),u=n(3),d=n(9),m=n(61),g=n(8),p=n(18);function WebDataStreamSelect(t){var n=t.hasModuleAccess,a=t.isDisabled,i=t.className,o=t.onChange,f=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),y=Object(u.useSelect)((function(e){return e(d.p).getSettings()||{}})),b=y.propertyID,h=y.webDataStreamID,v=y.measurementID,O=Object(u.useSelect)((function(e){return Object(m.e)(b)&&!1!==n?e(d.p).getWebDataStreams(b):[]})),T=Object(u.useSelect)((function(e){return!a&&e(d.p).isLoadingWebDataStreams({hasModuleAccess:n})})),k=Object(p.a)(),E=Object(u.useDispatch)(d.p),N=E.setWebDataStreamID,j=E.updateSettingsForMeasurementID,S=Object(c.useCallback)((function(e,t){var n,a,r=t.dataset.value;h!==r&&(N(r),j((null===(n=O.find((function(e){return e._id===r})))||void 0===n||null===(a=n.webStreamData)||void 0===a?void 0:a.measurementId)||""),Object(g.J)("".concat(k,"_analytics"),r===d.x?"change_webdatastream_new":"change_webdatastream","ga4"),o&&o())}),[O,h,N,j,k,o]);if(!Object(m.a)(f))return null;if(T)return e.createElement(s.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var _=void 0===h||""===h||Object(m.i)(h);return!1===n?e.createElement(s.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i),label:Object(l.__)("Web Data Stream","google-site-kit"),value:v,enhanced:!0,outlined:!0,disabled:!0},e.createElement(s.Option,{value:v},v)):e.createElement(s.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i,{"mdc-select--invalid":!_}),label:Object(l.__)("Web Data Stream","google-site-kit"),value:h,onEnhancedChange:S,disabled:a||!Object(m.f)(b),enhanced:!0,outlined:!0},(O||[]).concat({_id:d.x,displayName:Object(l.__)("Set up a new web data stream","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName,i=t.webStreamData,o=void 0===i?{}:i;return e.createElement(s.Option,{key:n,value:a},a!==d.x&&(null==o?void 0:o.measurementId)?Object(l.sprintf)( /* translators: 1: Data stream name. 2: Measurement ID. */ Object(l._x)("%1$s (%2$s)","Analytics data stream name and measurement ID","google-site-kit"),r,o.measurementId):r)})))}WebDataStreamSelect.propTypes={hasModuleAccess:o.a.bool,isDisabled:o.a.bool,className:o.a.string}}).call(this,n(4))},541:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=n(2),s=n(10),u=n(3),d=n(9),m=n(61),g=n(8),p=n(18);function PropertySelect(t){var n=t.isDisabled,a=t.hasModuleAccess,i=t.className,o=t.onChange,f=void 0===o?function(){}:o,y=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),b=Object(u.useSelect)((function(e){return!1===a||n?null:e(d.p).getPropertySummaries(y)||[]})),h=Object(u.useSelect)((function(e){return e(d.p).getPropertyID()})),v=Object(u.useSelect)((function(e){return!n&&(e(d.p).isLoadingPropertySummaries()||e(d.p).isLoadingWebDataStreams({hasModuleAccess:a}))})),O=Object(p.a)(),T=Object(u.useDispatch)(d.p).selectProperty,k=Object(c.useCallback)((function(e,t){var n=t.dataset.value;h!==n&&(T(n),Object(g.J)("".concat(O,"_analytics"),n===d.q?"change_property_new":"change_property","ga4"),f())}),[f,h,T,O]);if(!Object(m.a)(y))return null;if(v)return e.createElement(s.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var E=void 0===h||""===h||Object(m.f)(h);return!1===a?e.createElement(s.Select,{className:r()("googlesitekit-analytics-4__select-property",i),label:Object(l.__)("Property","google-site-kit"),value:h,enhanced:!0,outlined:!0,disabled:!0},e.createElement(s.Option,{value:h},h)):e.createElement(s.Select,{className:r()("googlesitekit-analytics-4__select-property",i,{"mdc-select--invalid":!E,"googlesitekit-analytics-4__select-property--loaded":!n&&!v}),label:Object(l.__)("Property","google-site-kit"),value:h,onEnhancedChange:k,disabled:n,enhanced:!0,outlined:!0},(b||[]).concat({_id:d.q,displayName:Object(l.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t._id,a=t.displayName;return e.createElement(s.Option,{key:n,value:n},n===d.q?a:Object(l.sprintf)( /* translators: 1: Property name. 2: Property ID. */ Object(l._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a,n))})))}PropertySelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(4))},542:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNameInput}));var a=n(12),r=n.n(a),i=n(91),o=n(0),c=n(2),l=n(109),s=n(3),u=n(28),d=n(14),m=n(9),g=n(491),p=n(10),f=n(61);function WebDataStreamNameInput(){var t=Object(s.useSelect)((function(e){return e(m.p).getPropertyID()})),n=Object(s.useSelect)((function(e){return e(m.p).getWebDataStreamID()})),a=Object(s.useSelect)((function(e){return e(u.a).getValue(m.m,"webDataStreamName")})),y=Object(s.useSelect)((function(e){return!!Object(f.e)(t)&&e(m.p).doesWebDataStreamExist(t,a)})),b=Object(s.useSelect)((function(e){return e(d.c).getReferenceSiteURL()})),h=Object(s.useDispatch)(u.a).setValues,v=Object(o.useCallback)((function(e){var t=e.currentTarget;h(m.m,{webDataStreamName:t.value})}),[h]);if(Object(i.a)((function(){if(!a&&Object(l.a)(b)){var e=new URL(b).hostname;h(m.m,{webDataStreamName:e})}})),n!==m.x)return null;var O=y||!a||!Object(f.h)(a),T=!1;return y?T=Object(c.__)("A web data stream with this name already exists.","google-site-kit"):a?Object(f.h)(a)||(T=Object(c.__)("This is not a valid web data stream name.","google-site-kit")):T=Object(c.__)("A web data stream name is required.","google-site-kit"),e.createElement("div",{className:"googlesitekit-analytics-webdatastreamname"},e.createElement(p.TextField,{className:r()({"mdc-text-field--error":O}),label:Object(c.__)("Web Data Stream Name","google-site-kit"),outlined:!0,helperText:T,trailingIcon:O&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(g.a,null)),value:a,onChange:v}))}}).call(this,n(4))},548:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(206),l=n(9),s=n(28);function TimezoneSelect(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(l.k,"countryCode")})),n=Object(o.useSelect)((function(e){return e(s.a).getValue(l.k,"timezone")})),u=Object(o.useDispatch)(s.a).setValues,d=Object(a.useCallback)((function(e,t){u(l.k,{timezone:t.dataset.value})}),[u]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-timezone",label:Object(r.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:d,disabled:!t,enhanced:!0,outlined:!0},(c.d[t]||[]).map((function(t,n){var a=t.timeZoneId,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},549:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),l=n(28);function AccountField(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(c.k,"accountName")})),n=Object(o.useDispatch)(l.a).setValues,s=Object(a.useCallback)((function(e){n(c.k,{accountName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:s,name:"account"})}}).call(this,n(4))},550:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),l=n(28);function PropertyField(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(c.k,"propertyName")})),n=Object(o.useDispatch)(l.a).setValues,s=Object(a.useCallback)((function(e){n(c.k,{propertyName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:s,name:"property"})}}).call(this,n(4))},551:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var a=n(0),r=n(2),i=n(10),o=n(3),c=n(206),l=n(9),s=n(28);function CountrySelect(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(l.k,"countryCode")})),n=Object(o.useDispatch)(s.a).setValues,u=Object(a.useCallback)((function(e,a){var r=a.dataset.value;r!==t&&c.b[r]&&n(l.k,{countryCode:r,timezone:c.b[r].defaultTimeZoneId})}),[n,t]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-country",label:Object(r.__)("Country","google-site-kit"),value:t,onEnhancedChange:u,enhanced:!0,outlined:!0},c.a.map((function(t,n){var a=t.countryCode,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},552:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamField}));var a=n(0),r=n(2),i=n(307),o=n(3),c=n(9),l=n(28);function WebDataStreamField(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(c.k,"dataStreamName")})),n=Object(o.useDispatch)(l.a).setValues,s=Object(a.useCallback)((function(e){n(c.k,{dataStreamName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Web Data Stream","google-site-kit"),value:t,hasError:!t,setValue:s,name:"dataStream"})}}).call(this,n(4))},561:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=n(2),s=n(10),u=n(3),d=n(19),m=n(9),g=n(32),p=n(176),f=n(379),y=n(161);function ActivateAnalyticsCTA(t){var n=t.children,a=Object(p.a)("analytics-4"),i=Object(f.a)("analytics-4"),o=Object(u.useSelect)((function(e){return e(d.a).isModuleActive("analytics-4")})),b=Object(u.useSelect)((function(e){return e(d.a).isModuleAvailable("analytics-4")})),h=Object(c.useState)(!1),v=r()(h,2),O=v[0],T=v[1],k=Object(u.useSelect)((function(e){if(!b)return!1;var t=e(m.p).getAdminReauthURL();return!!t&&e(g.a).isNavigatingTo(t)})),E=Object(u.useSelect)((function(e){return!!b&&e(d.a).isFetchingSetModuleActivation("analytics-4",!0)})),N=Object(y.a)(T,3e3);Object(c.useEffect)((function(){E||k?T(!0):N(!1)}),[E,k,N]);var j=o?i:a;return b&&j?e.createElement("div",{className:"googlesitekit-analytics-cta"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},n),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(l.__)("See how many people visit your site from Search and track how you’re achieving your goals","google-site-kit")),e.createElement(s.SpinnerButton,{onClick:j,isSaving:O},o?Object(l.__)("Complete setup","google-site-kit"):Object(l.__)("Set up Google Analytics","google-site-kit")))):null}ActivateAnalyticsCTA.propTypes={children:o.a.node.isRequired}}).call(this,n(4))},562:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 3.01l.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811 0 3.009z",fill:"currentColor"});t.a=function SvgArrowUp(e){return a.createElement("svg",r({viewBox:"0 0 6 6",fill:"none"},e),i)}},576:function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google={})}).call(this,n(26))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(37);function r(e){return function(){e[a.a]=e[a.a]||[],e[a.a].push(arguments)}}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return m})),n.d(t,"J",(function(){return g})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return T})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return E})),n.d(t,"q",(function(){return N})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return S})),n.d(t,"t",(function(){return _})),n.d(t,"w",(function(){return A})),n.d(t,"u",(function(){return w})),n.d(t,"v",(function(){return I})),n.d(t,"x",(function(){return C})),n.d(t,"y",(function(){return Z})),n.d(t,"A",(function(){return M})),n.d(t,"B",(function(){return P})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return L})),n.d(t,"k",(function(){return G})),n.d(t,"F",(function(){return R})),n.d(t,"z",(function(){return x})),n.d(t,"G",(function(){return B})),n.d(t,"E",(function(){return U})),n.d(t,"i",(function(){return W})),n.d(t,"p",(function(){return V})),n.d(t,"Q",(function(){return F})),n.d(t,"P",(function(){return z}));var a="core/user",r="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",m="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",f="googlesitekit_update_plugins",y="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",v="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",T="kmAnalyticsPopularContent",k="kmAnalyticsPopularProducts",E="kmAnalyticsReturningVisitors",N="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",S="kmAnalyticsTopCitiesDrivingAddToCart",_="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",w="kmAnalyticsTopConvertingTrafficSource",I="kmAnalyticsTopCountries",C="kmAnalyticsTopPagesDrivingLeads",Z="kmAnalyticsTopRecentTrendingPages",M="kmAnalyticsTopTrafficSource",P="kmAnalyticsTopTrafficSourceDrivingAddToCart",D="kmAnalyticsTopTrafficSourceDrivingLeads",L="kmAnalyticsTopTrafficSourceDrivingPurchases",G="kmAnalyticsPagesPerVisit",R="kmAnalyticsVisitLength",x="kmAnalyticsTopReturningVisitorPages",B="kmSearchConsolePopularKeywords",U="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",V="kmAnalyticsTopCategories",F=[y,b,h,v,O,T,k,E,V,N,j,S,_,A,w,I,Z,M,P,G,R,x,U,W,V],z=[].concat(F,[B])},61:function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return f})),n.d(t,"i",(function(){return y})),n.d(t,"h",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return v})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return T})),n.d(t,"j",(function(){return k}));var a=n(11),r=n.n(a),i=n(13),o=n(9),c=n(8);n.d(t,"a",(function(){return c.y}));var l=n(146),s=n(228),u=n(95),d=n(272);function m(e){return e===o.a||Object(c.y)(e)}function g(e){return"string"==typeof e&&/^\d+$/.test(e)}function p(e){return e===o.q||g(e)}function f(e){return"string"==typeof e&&/^\d+$/.test(e)}function y(e){return e===o.x||f(e)}function b(e){return"string"==typeof e&&e.trim().length>0}function h(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function v(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function O(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 report must be an object."),r()(Object(l.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(s.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,d=t.orderby;r()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),r()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&r()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function T(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),r()(Object(l.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(s.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,m=t.pivots,g=t.orderby,p=t.limit;r()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),r()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r()(Object(d.a)(m),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),g&&r()(Array.isArray(g),"orderby for an Analytics 4 pivot report must be passed within a pivot."),p&&r()("number"==typeof p,"limit for an Analytics 4 pivot report must be passed within a pivot."),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function k(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];r()(Object(i.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){r()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){r()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),r()(Object(i.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=Object(a.createContext)(""),i=(r.Consumer,r.Provider);t.b=r},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="modules/search-console",r=1},65:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var a=n(21),r=n.n(a),i=n(7),o=n.n(i),c=n(5),l=n.n(c),s=n(16),u=n.n(s),d=n(15),m=n.n(d),g=n(1),p=n.n(g),f=n(12),y=n.n(f),b=n(221),h=n(222),v=n(91),O=n(79),T=n(0),k=n(109),E=n(3),N=n(17),j=n(89),S=n(41),_=n(25),A=n(195),w=n(196),I=n(197),C=n(201),Z=n(202),M=n(74),P=n(113),D=n(121),L=n(32),G=n(203);function BannerNotification(t){var n,a=t.badgeLabel,i=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,f=t.description,R=t.dismiss,x=t.dismissExpires,B=void 0===x?0:x,U=t.format,W=void 0===U?"":U,V=t.id,F=t.isDismissible,z=void 0===F||F,H=t.learnMoreDescription,q=t.learnMoreLabel,K=t.learnMoreURL,J=t.learnMoreTarget,Y=void 0===J?M.a.EXTERNAL:J,$=t.logo,X=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,ae=t.onLearnMoreClick,re=t.showOnce,ie=void 0!==re&&re,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,me=t.smallWinImageSVGWidth,ge=void 0===me?75:me,pe=t.smallWinImageSVGHeight,fe=void 0===pe?75:pe,ye=t.mediumWinImageSVGWidth,be=void 0===ye?105:ye,he=t.mediumWinImageSVGHeight,ve=void 0===he?105:he,Oe=t.rounded,Te=void 0!==Oe&&Oe,ke=t.footer,Ee=t.secondaryPane,Ne=t.ctaComponent,je=Object(T.useState)(!1),Se=m()(je,2),_e=Se[0],Ae=Se[1],we=Object(T.useState)(!1),Ie=m()(we,2),Ce=Ie[0],Ze=Ie[1],Me="notification::dismissed::".concat(V),Pe=function(){return Object(S.f)(Me,new Date,{ttl:null})},De=Object(O.a)(),Le=Object(_.e)(),Ge=Object(b.a)(),Re=Object(T.useState)(!1),xe=m()(Re,2),Be=xe[0],Ue=xe[1],We=Object(T.useRef)(),Ve=Object(h.a)(We,{rootMargin:"".concat(-Object(D.a)(Object(j.c)(Le)),"px 0px 0px 0px"),threshold:0});Object(T.useEffect)((function(){!Be&&(null==Ve?void 0:Ve.isIntersecting)&&("function"==typeof te&&te(),Ue(!0))}),[V,te,Be,Ve]);var Fe=De>=600;Object(v.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,$e();case 3:if(!z){e.next=9;break}return e.next=6,Object(S.d)(Me);case 6:t=e.sent,n=t.cacheHit,Ze(n);case 9:if(!ie){e.next=12;break}return e.next=12,Pe();case 12:case"end":return e.stop()}}),e)}))));var ze=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:qe();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=Object(k.a)(g)&&"_blank"!==p,qe=function(){return He||Ae(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Pe();case 2:Ge()&&Ze(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Ke=Object(E.useSelect)((function(e){return!!g&&e(L.a).isNavigatingTo(g)})),Je=Object(E.useDispatch)(L.a).navigateTo,Ye=function(){var e=u()(l.a.mark((function e(t){var n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),He&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:a=e.t0,r=a.dismissOnCTAClick,n=void 0===r||r;case 12:if(!z||!n){e.next=15;break}return e.next=15,qe();case 15:He&&Je(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.d)(Me);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((a=new Date(n)).setSeconds(a.getSeconds()+parseInt(B,10)),!(a<new Date)){e.next=10;break}return e.next=10,Object(S.c)(Me);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Ke&&z&&(void 0===Ce||Ce))return null;var Xe=!Ke&&_e?"is-closed":"is-open",Qe=Object(P.d)(W),et=Object(P.c)(W),tt=Object(P.a)(W),nt=Object(P.b)({format:W,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(A.a,{id:V,className:y()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(W),W),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Xe),Xe),o()(n,"googlesitekit-publisher-win--rounded",Te),n)),secondaryPane:Ee,ref:We},$&&e.createElement(Z.a,{module:X,moduleName:Q}),oe&&e.createElement(N.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(N.a,r()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(w.a,{title:ce,badgeLabel:a,smallWinImageSVGHeight:fe,smallWinImageSVGWidth:ge,winImageFormat:W,WinImageSVG:!Fe&&de?se:void 0}),e.createElement(G.a,{description:f,learnMoreURL:K,learnMoreLabel:q,learnMoreTarget:Y,learnMoreDescription:H,onLearnMoreClick:ae}),i,e.createElement(I.a,{ctaLink:g,ctaLabel:d,ctaComponent:Ne,ctaTarget:p,ctaCallback:Ye,dismissLabel:z?R:void 0,dismissCallback:ze}),ke&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ke)),se&&(Fe||!de)&&e.createElement(N.a,r()({},Qe,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(se,{style:{maxWidth:be,maxHeight:ve}}))),e.createElement(C.a,{type:le}))}n.d(t,"a",(function(){return M.a})),BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(M.a)),WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number}}).call(this,n(4))},666:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DetailsPermaLinks}));var a=n(12),r=n.n(a),i=n(1),o=n.n(i),c=n(0),l=n(3),s=n(14),u=n(20),d=n(8);function DetailsPermaLinks(t){var n=t.title,a=t.path,i=t.serviceURL,o=Object(l.useSelect)((function(e){return e(s.c).getReferenceSiteURL()})),m=Object(d.r)(o,a),g=Object(l.useSelect)((function(e){return e(s.c).getAdminURL("googlesitekit-dashboard",{permaLink:m})}));return e.createElement(c.Fragment,null,e.createElement(u.a,{href:i||g,external:!!i,hideExternalIndicator:!0},n),e.createElement(u.a,{className:r()("googlesitekit-display-block","googlesitekit-overflow-wrap-break-word"),href:m,target:"_blank",small:!0},a))}DetailsPermaLinks.propTypes={title:o.a.string,path:o.a.string,serviceURL:o.a.string}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,a=t.reconnectURL,r=t.noPrefix;if(!n)return null;var l=n;void 0!==r&&r||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),a&&Object(i.a)(a)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),a));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string,noPrefix:r.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},673:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M86.66 6.101a22.375 22.375 0 016.226-1.09l.215 7.871a14.544 14.544 0 00-4.046.709L86.66 6.1z",fill:"#DEDEDE"}),o=a.createElement("path",{d:"M75.423 14.275a22.544 22.544 0 0110.57-7.945l2.628 7.41a14.655 14.655 0 00-6.871 5.164l-6.327-4.63z",fill:"#C6C6C6"}),c=a.createElement("path",{d:"M75.317 40.725a22.482 22.482 0 01-4.226-12.872 22.637 22.637 0 013.925-13l6.47 4.426a14.714 14.714 0 00-2.552 8.45c.035 3.01.995 5.932 2.747 8.367l-6.364 4.63z",fill:"#F1F1F1"}),l=a.createElement("path",{d:"M106.601 45.702a22.401 22.401 0 01-16.346 4.074 22.282 22.282 0 01-14.517-8.485l6.217-4.827a14.483 14.483 0 009.436 5.515 14.562 14.562 0 0010.625-2.648l4.585 6.371z",fill:"#959595"}),s=a.createElement("path",{d:"M93.59 5c4.673 0 9.223 1.466 13.013 4.194a22.369 22.369 0 018.129 11.018 22.624 22.624 0 01-7.567 25.067l-4.783-6.223a14.703 14.703 0 004.919-16.293 14.538 14.538 0 00-5.284-7.162 14.477 14.477 0 00-8.458-2.726L93.59 5z",fill:"#C7C7C7"}),u=a.createElement("circle",{cx:83.5,cy:56.899,r:1.5,fill:"#959595"}),d=a.createElement("circle",{cx:90.5,cy:56.899,r:1.5,fill:"#C7C7C7"}),m=a.createElement("circle",{cx:97.5,cy:56.899,r:1.5,fill:"#DEDEDE"}),g=a.createElement("circle",{cx:104.5,cy:56.899,r:1.5,fill:"#F1F1F1"}),p=a.createElement("path",{stroke:"#ECE9F1",strokeWidth:.937,strokeLinecap:"round",d:"M.468 58.531h55.064"}),f=a.createElement("path",{stroke:"#ECE9F1",strokeWidth:.468,strokeLinecap:"round",d:"M.234 44.765h55.532M.234 30.765h55.532M.234 16.766h55.532"}),y=a.createElement("path",{opacity:.08,d:"M25.531 47.668c-4.138-1.288-5.95-4.746-9.87-5.24-4.053-.51-7.2 12.53-15.661 13.777V59h56V35.07c-2.25-.486-4.367-17.89-9.25-16.601-4.882 1.288-8.475 20.892-12.365 14.578-3.89-6.313-4.716 15.91-8.854 14.622z",fill:"url(#cta-graph-traffic_svg__paint0_linear_435_1677)"}),b=a.createElement("path",{d:"M2.766 1.116L.883 6.3h-.77L2.281.612h.496l-.011.504zM4.344 6.3L2.457 1.116 2.445.612h.496L5.117 6.3h-.773zm-.098-2.106v.618H1.051v-.618h3.195zM6.555.3v6h-.727v-6h.727zM8.5.3v6h-.727v-6H8.5zm5.73 5.023v-3.25h.727V6.3h-.691l-.036-.977zm.137-.89l.301-.008c0 .281-.03.541-.09.781a1.678 1.678 0 01-.281.617c-.13.175-.3.311-.512.41a1.845 1.845 0 01-.77.145c-.205 0-.394-.03-.566-.09a1.132 1.132 0 01-.437-.277 1.262 1.262 0 01-.285-.489 2.355 2.355 0 01-.098-.722V2.073h.723v2.735c0 .19.02.347.062.472.044.123.103.22.176.293.075.07.159.12.25.149.094.028.19.043.289.043.307 0 .55-.059.73-.176.18-.12.309-.28.387-.48.08-.204.121-.429.121-.676zm4.152.746c0-.104-.023-.2-.07-.29-.044-.09-.137-.173-.277-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.304-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.722a.62.62 0 00-.106-.34.779.779 0 00-.3-.277.971.971 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.877.877 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.31-.215.498.498 0 00.105-.312zm3.426 1.199a2.08 2.08 0 01-.8-.149 1.817 1.817 0 01-.614-.425c-.169-.183-.3-.399-.39-.649a2.38 2.38 0 01-.137-.82v-.164c0-.344.05-.65.152-.918.102-.27.24-.5.414-.688.175-.187.373-.329.594-.425.221-.097.45-.145.688-.145.302 0 .562.052.78.156.222.105.403.25.544.438.14.185.245.404.312.656.068.25.102.524.102.82v.325h-3.156V3.8h2.433v-.055c-.01-.187-.05-.37-.117-.547a.983.983 0 00-.313-.437c-.143-.115-.338-.172-.585-.172a.984.984 0 00-.809.41c-.099.135-.176.3-.23.496-.055.195-.082.42-.082.676v.164c0 .2.027.39.081.566.058.175.14.328.247.461.109.133.24.237.394.313.156.075.334.113.531.113.256 0 .472-.052.649-.156.177-.104.332-.244.465-.418l.437.348c-.091.138-.207.269-.348.394-.14.125-.313.227-.519.305a2.012 2.012 0 01-.723.117zm3.211-3.64V6.3h-.722V2.073h.703l.02.664zm1.32-.688l-.003.672a1.827 1.827 0 00-.352-.031c-.167 0-.314.025-.441.078a.914.914 0 00-.325.218 1.052 1.052 0 00-.21.336c-.05.128-.082.268-.098.422l-.203.117c0-.255.024-.494.074-.718.052-.224.131-.422.238-.594.107-.175.242-.31.407-.406a1.142 1.142 0 01.914-.094zm3.13 3.129a.61.61 0 00-.07-.29c-.045-.09-.138-.173-.278-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.303-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.723a.62.62 0 00-.105-.34.778.778 0 00-.3-.277.97.97 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.876.876 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.309-.215.498.498 0 00.105-.312z",fill:"#B8B8B8"}),h=a.createElement("defs",null,a.createElement("linearGradient",{id:"cta-graph-traffic_svg__paint0_linear_435_1677",x1:19.094,y1:18.399,x2:19.094,y2:66.554,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#4F4F4F"}),a.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgCtaGraphTraffic(e){return a.createElement("svg",r({viewBox:"0 0 116 59",fill:"none"},e),i,o,c,l,s,u,d,m,g,p,f,y,b,h)}},68:function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v}));var a=n(7),r=n.n(a),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,m=function SvgSuggestionIcon(e){return i.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},g=n(182),p=n(92),f="warning",y="info",b="suggestion",h=(d={},r()(d,y,l),r()(d,f,g.a),r()(d,b,m),d),v=function(e){return h[e]||p.a}},71:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=a.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return a.createElement("svg",r({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),i,o)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n(33),r=n.n(a),i=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={EXTERNAL:"external",INTERNAL:"internal"}},76:function(e,t,n){"use strict";var a=n(15),r=n.n(a),i=n(271),o=n(1),c=n.n(o),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,a=Object(l.useState)(document.createElement("div")),o=r()(a,1)[0];return Object(i.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var a=n(1),r=n.n(a);function IconWrapper(t){var n=t.children,a=t.marginLeft,r=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:a,marginRight:r}},n)}IconWrapper.propTypes={children:r.a.node.isRequired,marginLeft:r.a.number,marginRight:r.a.number}}).call(this,n(4))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return r.b})),n.d(t,"K",(function(){return r.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return f})),n.d(t,"k",(function(){return y})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return E})),n.d(t,"c",(function(){return N})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return _})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return w})),n.d(t,"o",(function(){return I})),n.d(t,"x",(function(){return C})),n.d(t,"q",(function(){return Z})),n.d(t,"H",(function(){return M})),n.d(t,"t",(function(){return P})),n.d(t,"w",(function(){return D})),n.d(t,"l",(function(){return L})),n.d(t,"p",(function(){return G.b})),n.d(t,"i",(function(){return G.a})),n.d(t,"u",(function(){return R.b})),n.d(t,"r",(function(){return R.a})),n.d(t,"B",(function(){return R.c})),n.d(t,"y",(function(){return x})),n.d(t,"v",(function(){return B})),n.d(t,"F",(function(){return V})),n.d(t,"E",(function(){return F.a})),n.d(t,"h",(function(){return z})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return q}));var a=n(13),r=n(36),i=n(72),o=n(33),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(a){var r=t[a];r&&"object"===c()(r)&&!Array.isArray(r)&&(r=e(r)),n[a]=r})),n}(e)))};n(97);var d=n(82);function m(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function f(e){for(var t=e,n=0,a=[m,g,p];n<a.length;n++){t=(0,a[n])(t)}return t}var y=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),v=n.n(h),O=n(11),T=n.n(O),k=n(2),E="Invalid dateString parameter, it must be a string.",N='Invalid date range, it must be a string with the format "last-x-days".',j=60,S=60*j,_=24*S,A=7*_,w=30*_;function I(){var e=function(e){return Object(k.sprintf)( /* translators: %s: number of days */ Object(k._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 C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(a.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(a.isDate)(n)&&!isNaN(n)}function Z(e){T()(Object(a.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function M(e){T()(C(e),E);var t=e.split("-"),n=v()(t,3),a=n[0],r=n[1],i=n[2];return new Date(a,r-1,i)}function P(e,t){return Z(L(e,t*_))}function D(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function L(e,t){T()(C(e)||Object(a.isDate)(e)&&!isNaN(e),E);var n=C(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var G=n(98),R=n(83);function x(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(27),W=n.n(U),V=function(e){return Array.isArray(e)?W()(e).sort():e},F=n(88);function z(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var a=(t-e)/e;return Number.isNaN(a)||!Number.isFinite(a)?null:a}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},q=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(a.unescape)(t)}},80:function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return a.createElement("svg",r({viewBox:"0 0 24 24",fill:"currentColor"},e),i)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var a=n(145),r=n.n(a)()(e)}).call(this,n(26))},814:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2),r={animation:{startup:!0},chart:{title:Object(a.__)("Unique visitors","google-site-kit")},curveType:"function",height:270,width:"100%",chartArea:{height:"80%",left:20,right:20},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},hAxis:{format:"MMM d",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12}},vAxis:{textPosition:"none",viewWindow:{min:0},gridlines:{color:"#eee"}},series:{0:{color:"#6380b8",targetAxisIndex:0},1:{color:"#6380b8",targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"}}},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return N})),n.d(t,"e",(function(){return S})),n.d(t,"c",(function(){return _})),n.d(t,"b",(function(){return A}));var a=n(15),r=n.n(a),i=n(33),o=n.n(i),c=n(7),l=n.n(c),s=n(23),u=n.n(s),d=n(13),m=n(57),g=n.n(m),p=n(2);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),a=n.formatUnit,r=n.formatDecimal;try{return a()}catch(e){return r()}},h=function(e){var t=v(e),n=t.hours,a=t.minutes,r=t.seconds;return r=("0"+r).slice(-2),a=("0"+a).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(a,":").concat(r):"".concat(n,":").concat(a,":").concat(r)},v=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e),a=n.hours,r=n.minutes,i=n.seconds;return{hours:a,minutes:r,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=y(y({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?S(i,y(y({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?S(i,y(y({},o),{},{unit:"second"})):"",r?S(r,y(y({},o),{},{unit:"minute"})):"",a?S(a,y(y({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),r),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),a);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",r?n:"",a?o:"").trim()}}},T=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},k=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),S(T(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(T(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),S(T(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})};function E(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=y({},e)),t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=E(t),a=n.style,r=void 0===a?"metric":a;return"metric"===r?k(e):"duration"===r?b(e,n):"durationISO"===r?h(e):S(e,n)}var j=g()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?A():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(a,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(a),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,m=Object.entries(i);d<m.length;d++){var g=r()(m[d],2),p=g[0],f=g[1];c[p]&&f===c[p]||(l.includes(p)||(s[p]=f))}try{return new Intl.NumberFormat(a,s).format(e)}catch(t){return new Intl.NumberFormat(a).format(e)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?A():n,r=t.style,i=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(a,{style:i,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var a=n.match(/^(\w{2})?(_)?(\w{2})/);if(a&&a[0])return a[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var a=n(109);function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(a.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var i=r.length-Math.floor(t)+1;return"…"+r.substr(i)}},85:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i),c=n(10),l=n(20);function CTA(t){var n=t.title,a=t.headerText,r=t.headerContent,i=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,m=t.ctaType,g=t.error,p=t.onClick,f=t["aria-label"],y=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":g})},(a||r)&&e.createElement("div",{className:"googlesitekit-cta__header"},a&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},a),r),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===m&&e.createElement(c.Button,{"aria-label":f,href:s,onClick:p},u),u&&"link"===m&&e.createElement(l.a,{href:s,onClick:p,"aria-label":f,external:d,hideExternalIndicator:d,arrow:!0},u),y))}CTA.propTypes={title:r.a.string.isRequired,headerText:r.a.string,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,ctaType:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func,children:r.a.node,headerContent:r.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(12),o=n.n(i);function ChangeArrow(t){var n=t.direction,a=t.invertColor,r=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":a}),width:r,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(11),r=n.n(a),i=function(e,t){var n=t.dateRangeLength;r()(Array.isArray(e),"report must be an array to partition."),r()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var a=-1*n;return{currentRange:e.slice(a),compareRange:e.slice(2*a,a)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(25),r=n(121);function i(t,n){var a=document.querySelector(t);if(!a)return 0;var r=a.getBoundingClientRect().top,i=o(n);return r+e.scrollY-i}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,i=document.querySelector(".googlesitekit-header");return n=!!i&&"sticky"===e.getComputedStyle(i).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===a.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==a.b?t.offsetHeight:0}(t),(n=Object(r.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"g",(function(){return y})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return v})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return T})),n.d(t,"e",(function(){return k})),n.d(t,"r",(function(){return E})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return S}));var a="modules/analytics-4",r="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",m="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",f="analyticsCustomDimensionsCreate",y="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",v="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",T="dashboardAllTrafficWidgetLoaded",k={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},E={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},N="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",S="audience-selection-panel-expirable-new-badge-"},92:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},93:function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(23),o=n.n(i),c=n(12),l=n.n(c),s=n(1),u=n.n(s),d=n(0),m=Object(d.forwardRef)((function(t,n){var a=t.label,i=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",r()({ref:n},u,{className:l()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":s})}),a)}));m.displayName="Badge",m.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=m}).call(this,n(4))},95:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var a=n(33),r=n.n(a),i=n(13),o=n(146);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var a="string"==typeof e.expression;return n&&a}),t)}function l(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function s(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(r()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(r()(e))}));if(Object(i.isPlainObject)(e[n])){var a=Object.keys(e[n]);return a.includes("filterType")&&a.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(r()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(r()(e))}));if(Object(i.isPlainObject)(e[n])){var a=Object.keys(e[n]);if(a.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(a.includes("filterType")&&"numericFilter"===e[n].filterType||!a.includes("filterType"))return!(a.includes("value")&&Object(i.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(a.includes("operation")&&a.includes("value"));if(a.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(a.includes(t)&&Object(i.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return a.includes("fromValue")&&a.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(i.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(220),r=n(86),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(a.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var a=n(7),r=n.n(a),i=n(13),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=s(s({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(r,n),d=Object(c.a)(r,n,l,a),m={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=JSON.stringify(t);m[a]||(m[a]=Object(i.once)(d)),m[a].apply(m,t)};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1227,1,0]]]); dist/assets/js/runtime-ac7cb3123d0c92a4c83a.js 0000604 00000005642 14717744000 0014411 0 ustar 00 !function(e){function r(r){for(var t,a,u=r[0],c=r[1],p=r[2],f=0,b=[];f<u.length;f++)a=u[f],Object.prototype.hasOwnProperty.call(n,a)&&n[a]&&b.push(n[a][0]),n[a]=0;for(t in c)Object.prototype.hasOwnProperty.call(c,t)&&(e[t]=c[t]);for(i&&i(r);b.length;)b.shift()();return o.push.apply(o,p||[]),_()}function _(){for(var e,r=0;r<o.length;r++){for(var _=o[r],t=!0,a=1;a<_.length;a++){var u=_[a];0!==n[u]&&(t=!1)}t&&(o.splice(r--,1),e=__webpack_require__(__webpack_require__.s=_[0]))}return e}var t={},n={1:0},o=[];function __webpack_require__(r){if(t[r])return t[r].exports;var _=t[r]={i:r,l:!1,exports:{}};return e[r].call(_.exports,_,_.exports,__webpack_require__),_.l=!0,_.exports}__webpack_require__.e=function(e){var r=[],_=n[e];if(0!==_)if(_)r.push(_[2]);else{var t=new Promise((function(r,t){_=n[e]=[r,t]}));r.push(_[2]=t);var o,a=document.createElement("script");a.charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.src=function(e){return __webpack_require__.p+""+({}[e]||e)+"-"+{32:"c575110f859c19f2398f",33:"ff73ade792d652311e35",34:"9f62e70ac6c29d10e762",35:"29930b76b6e19e059cbb",36:"5fb9dce594ff4f760056",37:"cdd8ca353b480da27d6e",38:"0f9440bdb99c29af3303",39:"212f225e7283b84d39ee",40:"74d735dbdabc81c4411c",41:"f89f29d47308b14e0c29",42:"da1d41341299db23d42e"}[e]+".js"}(e);var u=new Error;o=function(r){a.onerror=a.onload=null,clearTimeout(c);var _=n[e];if(0!==_){if(_){var t=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;u.message="Loading chunk "+e+" failed.\n("+t+": "+o+")",u.name="ChunkLoadError",u.type=t,u.request=o,_[1](u)}n[e]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:a})}),12e4);a.onerror=a.onload=o,document.head.appendChild(a)}return Promise.all(r)},__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,r,_){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:_})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,r){if(1&r&&(e=__webpack_require__(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var _=Object.create(null);if(__webpack_require__.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)__webpack_require__.d(_,t,function(r){return e[r]}.bind(null,t));return _},__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="",__webpack_require__.oe=function(e){throw console.error(e),e};var a=window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[],u=a.push.bind(a);a.push=r,a=a.slice();for(var c=0;c<a.length;c++)r(a[c]);var i=u;_()}([]); dist/config.php 0000604 00000000602 14717744000 0007463 0 ustar 00 <?php /** * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ return array( 'features' => array( 'adsPax','audienceSegmentation','conversionReporting','firstPartyMode','gm3Components','privacySandboxModule','rrmModule','signInWithGoogleModule' ), ); dist/manifest.php 0000604 00000014340 14717744000 0010030 0 ustar 00 <?php /** * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ return array( 'googlesitekit-consent-mode' => array( "googlesitekit-consent-mode-3d6495dceaebc28bcca3.js", null ), 'googlesitekit-events-provider-contact-form-7' => array( "googlesitekit-events-provider-contact-form-7-21cf1c445673c649970d.js", null ), 'googlesitekit-events-provider-easy-digital-downloads' => array( "googlesitekit-events-provider-easy-digital-downloads-a3b438fc133106da6a33.js", null ), 'googlesitekit-events-provider-mailchimp' => array( "googlesitekit-events-provider-mailchimp-7920d200a07d3bcd60bb.js", null ), 'googlesitekit-events-provider-ninja-forms' => array( "googlesitekit-events-provider-ninja-forms-ddd9645222a85c7954f3.js", null ), 'googlesitekit-events-provider-optin-monster' => array( "googlesitekit-events-provider-optin-monster-2bb9e40daaa87763f38e.js", null ), 'googlesitekit-events-provider-popup-maker' => array( "googlesitekit-events-provider-popup-maker-e1863af0c352a2ce8748.js", null ), 'googlesitekit-events-provider-woocommerce' => array( "googlesitekit-events-provider-woocommerce-9043ca3351c215979b62.js", null ), 'googlesitekit-events-provider-wpforms' => array( "googlesitekit-events-provider-wpforms-b35450445f9cb0eeb855.js", null ), 'analytics-advanced-tracking' => array( "analytics-advanced-tracking-ea84b2c367b69f5c094b.js", null ), 'googlesitekit-i18n' => array( "googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js", null ), 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-436096755512e44a2180.min.css", null ), 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-6db776544b37175be17f.min.css", null ), 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ), 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-c5417a27cb905717f9fc.min.css", null ), 'googlesitekit-vendor' => array( "googlesitekit-vendor-a19e0d3a9785a4679814.js", null ), 'googlesitekit-runtime' => array( "runtime-ac7cb3123d0c92a4c83a.js", null ), 'googlesitekit-activation' => array( "googlesitekit-activation-86e820f351b221f65654.js", null ), 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-35406f6b97f89119cba2.js", null ), 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-2aa4217dc92c2c92519c.js", null ), 'googlesitekit-api' => array( "googlesitekit-api-63e0255bae8c37401ba1.js", null ), 'googlesitekit-components' => array( array( "googlesitekit-components-gm2-888e11c2f889b3818fac.js", null ), array( "googlesitekit-components-gm3-6f888313ed0d8623cf0e.js", null ) ), 'googlesitekit-data' => array( "googlesitekit-data-9b04ce04845587d08ef9.js", null ), 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-f38e139a09c823fd80b9.js", null ), 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-1e7b4e4c0f10376ae735.js", null ), 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-b48fcdc028f30543c49a.js", null ), 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-fbeb338baf423fe10a9a.js", null ), 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-8525155abe6c24a6b6e4.js", null ), 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-c2c8cb7c5a812c7ef92b.js", null ), 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-4a22bdd52eac618bdba0.js", null ), 'googlesitekit-modules' => array( "googlesitekit-modules-f137613a7b6e587d2f09.js", null ), 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-8294c3788d693c1aa4d1.js", null ), 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-86be7f15c8ab18f2c8c2.js", null ), 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-fb3e6466670e9fe98540.js", null ), 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-c88ecf4fb9fabd4b00ce.js", null ), 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-0aca4740f1f170a04318.js", null ), 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-338c440d2a515b691bf2.js", null ), 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-56b980cf11ec18bc46e7.js", null ), 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-a9c1650ad917dc777a4f.js", null ), 'googlesitekit-notifications' => array( "googlesitekit-notifications-e491c3e66473a45eb37c.js", null ), 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-b3b20bb6f4276a648085.js", null ), 'googlesitekit-settings' => array( "googlesitekit-settings-516d574e9df74fe6b81f.js", null ), 'googlesitekit-splash' => array( "googlesitekit-splash-30e76c65a9e86b793d44.js", null ), 'googlesitekit-user-input' => array( "googlesitekit-user-input-ebc5e165960a36731c7f.js", null ), 'googlesitekit-widgets' => array( "googlesitekit-widgets-c2422864a9b59a9a6def.js", null ), 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-a24f18cd5f1c8dae446d.js", null ), ); includes/Core/Admin/Authorize_Application.php 0000604 00000006352 14717744000 0015306 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Authorize_Application * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class to handle all wp-admin Authorize Application related functionality. * * @since 1.126.0 * @access private * @ignore */ final class Authorize_Application { use Method_Proxy_Trait; /** * Plugin context. * * @since 1.126.0 * @var Context */ private $context; /** * Assets instance. * * @since 1.126.0 * @var Assets */ private $assets; /** * Constructor. * * @since 1.126.0 * * @param Context $context Plugin context. * @param Assets $assets Optional. Assets API instance. Default is a new instance. */ public function __construct( Context $context, Assets $assets = null ) { $this->context = $context; $this->assets = $assets ?: new Assets( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.126.0 */ public function register() { add_action( 'admin_enqueue_scripts', $this->get_method_proxy( 'enqueue_assets' ) ); add_action( 'admin_footer', $this->get_method_proxy( 'render_custom_footer' ) ); } /** * Checks if the current screen is the Authorize Application screen. * * @since 1.126.0 * * @return bool True if the current screen is the Authorize Application screen, false otherwise. */ protected function is_authorize_application_screen() { $current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null; if ( $current_screen instanceof \WP_Screen && 'authorize-application' === $current_screen->id ) { return true; } return false; } /** * Checks if the current service is a Google service. * * @since 1.126.0 * * @return bool True if the current service is a Google service, false otherwise. */ protected function is_google_service() { $success_url = isset( $_GET['success_url'] ) ? esc_url_raw( wp_unslash( $_GET['success_url'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification $success_url = sanitize_text_field( $success_url ); $parsed_url = wp_parse_url( $success_url ); if ( empty( $parsed_url['host'] ) ) { return false; } // Check if the domain is a '*.google.com' domain. return preg_match( '/\.google\.com$/', $parsed_url['host'] ) === 1; } /** * Enqueues assets for the Authorize Application screen. * * @since 1.126.0 */ private function enqueue_assets() { if ( $this->is_authorize_application_screen() && $this->is_google_service() ) { $this->assets->enqueue_asset( 'googlesitekit-authorize-application-css' ); } } /** * Renders custom footer for the Authorize Application screen if the service is a Google service. * * @since 1.126.0 */ private function render_custom_footer() { if ( $this->is_authorize_application_screen() && $this->is_google_service() ) { echo '<div class="googlesitekit-authorize-application__footer"><p>' . esc_html__( 'Powered by Site Kit', 'google-site-kit' ) . '</p></div>'; } } } includes/Core/Admin/Available_Tools.php 0000604 00000003022 14717744000 0014040 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Available_Tools * * @package Google\Site_Kit\Core\Admin * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\Reset; /** * Class for extending available tools for Site Kit. * * @since 1.30.0 * @access private * @ignore */ class Available_Tools { use Method_Proxy_Trait; /** * Registers functionality through WordPress hooks. * * @since 1.30.0 */ public function register() { add_action( 'tool_box', $this->get_method_proxy( 'render_tool_box' ) ); } /** * Renders tool box output. * * @since 1.30.0 */ private function render_tool_box() { if ( ! current_user_can( Permissions::SETUP ) ) { return; } ?> <div class="card"> <h2 class="title"><?php esc_html_e( 'Reset Site Kit', 'google-site-kit' ); ?></h2> <p> <?php esc_html_e( 'Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. You and any other users who wish to use Site Kit will need to reconnect to restore access.', 'google-site-kit' ) ?> </p> <p> <a class="button button-primary" href="<?php echo esc_url( Reset::url() ); ?>" > <?php esc_html_e( 'Reset Site Kit', 'google-site-kit' ); ?> </a> </p> </div> <?php } } includes/Core/Admin/Dashboard.php 0000604 00000005650 14717744000 0012700 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Dashboard * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Util\Requires_Javascript_Trait; /** * Class to handle all wp-admin Dashboard related functionality. * * @since 1.0.0 * @access private * @ignore */ final class Dashboard { use Requires_Javascript_Trait; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Assets Instance. * * @since 1.0.0 * @var Assets */ private $assets; /** * Modules instance. * * @since 1.7.0 * @var Modules */ private $modules; /** * Authentication instance. * * @since 1.120.0 * @var Authentication */ private $authentication; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Assets $assets Optional. Assets API instance. Default is a new instance. * @param Modules $modules Optional. Modules instance. Default is a new instance. */ public function __construct( Context $context, Assets $assets = null, Modules $modules = null ) { $this->context = $context; $this->assets = $assets ?: new Assets( $this->context ); $this->modules = $modules ?: new Modules( $this->context ); $this->authentication = new Authentication( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { add_action( 'wp_dashboard_setup', function () { $this->add_widgets(); } ); } /** * Add a Site Kit by Google widget to the WordPress admin dashboard. * * @since 1.0.0 */ private function add_widgets() { if ( ! current_user_can( Permissions::VIEW_WP_DASHBOARD_WIDGET ) ) { return; } // Enqueue styles. $this->assets->enqueue_asset( 'googlesitekit-wp-dashboard-css' ); // Enqueue scripts. $this->assets->enqueue_asset( 'googlesitekit-wp-dashboard' ); $this->modules->enqueue_assets(); wp_add_dashboard_widget( 'google_dashboard_widget', __( 'Site Kit Summary', 'google-site-kit' ), function () { $this->render_googlesitekit_wp_dashboard(); } ); } /** * Render the Site Kit WordPress Dashboard widget. * * @since 1.0.0 * @since 1.120.0 Added the `data-view-only` attribute. */ private function render_googlesitekit_wp_dashboard() { $this->render_noscript_html(); $is_view_only = ! $this->authentication->is_authenticated(); ?> <div id="js-googlesitekit-wp-dashboard" data-view-only="<?php echo esc_attr( $is_view_only ); ?>" class="googlesitekit-plugin"></div> <?php } } includes/Core/Admin/Notice.php 0000604 00000006232 14717744000 0012227 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Notice * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; /** * Class representing a single notice. * * @since 1.0.0 * @access private * @ignore */ final class Notice { const TYPE_SUCCESS = 'success'; const TYPE_INFO = 'info'; const TYPE_WARNING = 'warning'; const TYPE_ERROR = 'error'; /** * Unique notice slug. * * @since 1.0.0 * @var string */ private $slug; /** * Notice arguments. * * @since 1.0.0 * @var array */ private $args = array(); /** * Constructor. * * @since 1.0.0 * * @param string $slug Unique notice slug. * @param array $args { * Associative array of notice arguments. * * @type string $content Required notice content. May contain inline HTML tags. * @type string $type Notice type. Either 'success', 'info', 'warning', 'error'. Default 'info'. * @type callable $active_callback Callback function to determine whether the notice is active in the * current context. The current admin screen's hook suffix is passed to * the callback. Default is that the notice is active unconditionally. * @type bool $dismissible Whether the notice should be dismissible. Default false. * } */ public function __construct( $slug, array $args ) { $this->slug = $slug; $this->args = wp_parse_args( $args, array( 'content' => '', 'type' => self::TYPE_INFO, 'active_callback' => null, 'dismissible' => false, ) ); } /** * Gets the notice slug. * * @since 1.0.0 * * @return string Unique notice slug. */ public function get_slug() { return $this->slug; } /** * Checks whether the notice is active. * * This method executes the active callback in order to determine whether the notice should be active or not. * * @since 1.0.0 * * @param string $hook_suffix The current admin screen hook suffix. * @return bool True if the notice is active, false otherwise. */ public function is_active( $hook_suffix ) { if ( ! $this->args['content'] ) { return false; } if ( ! $this->args['active_callback'] ) { return true; } return (bool) call_user_func( $this->args['active_callback'], $hook_suffix ); } /** * Renders the notice. * * @since 1.0.0 */ public function render() { if ( is_callable( $this->args['content'] ) ) { $content = call_user_func( $this->args['content'] ); if ( empty( $content ) ) { return; } } else { $content = '<p>' . wp_kses( $this->args['content'], 'googlesitekit_admin_notice' ) . '</p>'; } $class = 'notice notice-' . $this->args['type']; if ( $this->args['dismissible'] ) { $class .= ' is-dismissible'; } ?> <div id="<?php echo esc_attr( 'googlesitekit-notice-' . $this->slug ); ?>" class="<?php echo esc_attr( $class ); ?>"> <?php echo $content; /* phpcs:ignore WordPress.Security.EscapeOutput */ ?> </div> <?php } } includes/Core/Admin/Notices.php 0000604 00000003261 14717744000 0012411 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Notices * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; /** * Class managing admin notices. * * @since 1.0.0 * @access private * @ignore */ final class Notices { /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $callback = function () { global $hook_suffix; if ( empty( $hook_suffix ) ) { return; } $this->render_notices( $hook_suffix ); }; add_action( 'admin_notices', $callback ); add_action( 'network_admin_notices', $callback ); } /** * Renders admin notices. * * @since 1.0.0 * * @param string $hook_suffix The current admin screen hook suffix. */ private function render_notices( $hook_suffix ) { $notices = $this->get_notices(); if ( empty( $notices ) ) { return; } /** * Notice object. * * @var Notice $notice Notice object. */ foreach ( $notices as $notice ) { if ( ! $notice->is_active( $hook_suffix ) ) { continue; } $notice->render(); } } /** * Gets available admin notices. * * @since 1.0.0 * * @return array List of Notice instances. */ private function get_notices() { /** * Filters the list of available admin notices. * * @since 1.0.0 * * @param array $notices List of Notice instances. */ $notices = apply_filters( 'googlesitekit_admin_notices', array() ); return array_filter( $notices, function ( $notice ) { return $notice instanceof Notice; } ); } } includes/Core/Admin/Plugin_Action_Links.php 0000604 00000002453 14717744000 0014702 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Plugin_Action_Links * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Permissions\Permissions; /** * Class for managing plugin action links. * * @since 1.41.0 * @access private * @ignore */ class Plugin_Action_Links { /** * Plugin context. * * @since 1.41.0 * @var Context */ private $context; /** * Constructor. * * @since 1.41.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.41.0 */ public function register() { add_filter( 'plugin_action_links_' . GOOGLESITEKIT_PLUGIN_BASENAME, function ( $links ) { if ( current_user_can( Permissions::MANAGE_OPTIONS ) ) { $settings_link = sprintf( '<a href="%s">%s</a>', esc_url( $this->context->admin_url( 'settings' ) ), esc_html__( 'Settings', 'google-site-kit' ) ); array_unshift( $links, $settings_link ); } return $links; } ); } } includes/Core/Admin/Plugin_Row_Meta.php 0000604 00000002366 14717744000 0014045 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Plugin_Row_Meta * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; /** * Class for managing plugin row meta. * * @since 1.24.0 * @access private * @ignore */ class Plugin_Row_Meta { /** * Registers functionality through WordPress hooks. * * @since 1.24.0 */ public function register() { add_filter( 'plugin_row_meta', function ( $meta, $plugin_file ) { if ( GOOGLESITEKIT_PLUGIN_BASENAME === $plugin_file ) { return array_merge( $meta, $this->get_plugin_row_meta() ); } return $meta; }, 10, 2 ); } /** * Builds an array of anchor elements to be shown in the plugin row. * * @since 1.24.0 * * @return string[] Array of links as HTML strings. */ private function get_plugin_row_meta() { return array( '<a href="https://wordpress.org/support/plugin/google-site-kit/reviews/#new-post">' . __( 'Rate Site Kit', 'google-site-kit' ) . '</a>', '<a href="https://wordpress.org/support/plugin/google-site-kit/#new-post">' . __( 'Support', 'google-site-kit' ) . '</a>', ); } } includes/Core/Admin/Pointer.php 0000604 00000007031 14717744000 0012424 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Pointer * * @package Google\Site_Kit * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; /** * Class representing a single pointer. * * @since 1.83.0 * @access private * @ignore */ final class Pointer { /** * Unique pointer slug. * * @since 1.83.0 * @var string */ private $slug; /** * Pointer arguments. * * @since 1.83.0 * @var array */ private $args = array(); /** * Constructor. * * @since 1.83.0 * * @param string $slug Unique pointer slug. * @param array $args { * Associative array of pointer arguments. * * @type string $title Required. Pointer title. * @type string $content Required. Pointer content. May contain inline HTML tags. * @type string $target_id Required. ID of the element the pointer should be attached to. * @type string|array $position Optional. Position of the pointer. Can be 'top', 'bottom', 'left', 'right', * or an array of `edge` and `align`. Default 'top'. * @type callable $active_callback Optional. Callback function to determine whether the pointer is active in * the current context. The current admin screen's hook suffix is passed to * the callback. Default is that the pointer is active unconditionally. * } */ public function __construct( $slug, array $args ) { $this->slug = $slug; $this->args = wp_parse_args( $args, array( 'title' => '', 'content' => '', 'target_id' => '', 'position' => 'top', 'active_callback' => null, ) ); } /** * Gets the pointer slug. * * @since 1.83.0 * * @return string Unique pointer slug. */ public function get_slug() { return $this->slug; } /** * Gets the pointer title. * * @since 1.83.0 * * @return string Pointer title. */ public function get_title() { return $this->args['title']; } /** * Gets the pointer content. * * @since 1.83.0 * * @return string Pointer content. */ public function get_content() { if ( is_callable( $this->args['content'] ) ) { return call_user_func( $this->args['content'] ); } else { return '<p>' . wp_kses( $this->args['content'], 'googlesitekit_admin_pointer' ) . '</p>'; } } /** * Gets the pointer target ID. * * @since 1.83.0 * * @return string Pointer target ID. */ public function get_target_id() { return $this->args['target_id']; } /** * Gets the pointer position. * * @since 1.83.0 * * @return string|array Pointer position. */ public function get_position() { return $this->args['position']; } /** * Checks whether the pointer is active. * * This method executes the active callback in order to determine whether the pointer should be active or not. * * @since 1.83.0 * * @param string $hook_suffix The current admin screen hook suffix. * @return bool True if the pointer is active, false otherwise. */ public function is_active( $hook_suffix ) { if ( empty( $this->args['title'] ) || empty( $this->args['content'] ) || empty( $this->args['target_id'] ) ) { return false; } if ( ! is_callable( $this->args['active_callback'] ) ) { return true; } return (bool) call_user_func( $this->args['active_callback'], $hook_suffix ); } } includes/Core/Admin/Pointers.php 0000604 00000005566 14717744000 0012622 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Pointers * * @package Google\Site_Kit\Core\Admin * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Core\Util\BC_Functions; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for managing pointers. * * @since 1.83.0 * @access private * @ignore */ class Pointers { use Method_Proxy_Trait; /** * Registers functionality through WordPress hooks. * * @since 1.83.0 */ public function register() { add_action( 'admin_enqueue_scripts', $this->get_method_proxy( 'enqueue_pointers' ) ); } /** * Enqueues pointer scripts. * * @since 1.83.0 * * @param string $hook_suffix The current admin page. */ private function enqueue_pointers( $hook_suffix ) { if ( empty( $hook_suffix ) ) { return; } $pointers = $this->get_pointers(); if ( empty( $pointers ) ) { return; } $active_pointers = array_filter( $pointers, function ( Pointer $pointer ) use ( $hook_suffix ) { return $pointer->is_active( $hook_suffix ); } ); if ( empty( $active_pointers ) ) { return; } wp_enqueue_style( 'wp-pointer' ); wp_enqueue_script( 'wp-pointer' ); add_action( 'admin_print_footer_scripts', function () use ( $active_pointers ) { foreach ( $active_pointers as $pointer ) { $this->print_pointer_script( $pointer ); } } ); } /** * Gets pointers. * * @since 1.83.0 * * @return Pointer[] Array of pointers. */ private function get_pointers() { /** * Filters the list of available pointers. * * @since 1.83.0 * * @param array $pointers List of Pointer instances. */ $pointers = apply_filters( 'googlesitekit_admin_pointers', array() ); return array_filter( $pointers, function ( $pointer ) { return $pointer instanceof Pointer; } ); } /** * Prints script for a given pointer. * * @since 1.83.0 * * @param Pointer $pointer Pointer to print. */ private function print_pointer_script( $pointer ) { $content = $pointer->get_content(); if ( empty( $content ) ) { return; } $slug = $pointer->get_slug(); BC_Functions::wp_print_inline_script_tag( sprintf( ' jQuery( function() { var options = { content: "<h3>%s</h3>%s", position: %s, pointerWidth: 420, close: function() { jQuery.post( window.ajaxurl, { pointer: "%s", action: "dismiss-wp-pointer", } ); } }; jQuery( "#%s" ).pointer( options ).pointer( "open" ); } ); ', esc_js( $pointer->get_title() ), $content, wp_json_encode( $pointer->get_position() ), esc_js( $slug ), esc_js( $pointer->get_target_id() ) ), array( 'id' => $slug, ) ); } } includes/Core/Admin/Screen.php 0000604 00000016626 14717744000 0012235 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Screen * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Util\Google_Icon; use Google\Site_Kit\Core\Util\Requires_Javascript_Trait; /** * Class representing a single screen. * * @since 1.0.0 * @access private * @ignore */ final class Screen { use Requires_Javascript_Trait; const MENU_SLUG = 'googlesitekit'; /** * Unique screen slug. * * @since 1.0.0 * @var string */ private $slug; /** * Screen arguments. * * @since 1.0.0 * @var array */ private $args = array(); /** * Constructor. * * @since 1.0.0 * * @param string $slug Unique screen slug. * @param array $args { * Associative array of screen arguments. * * @type callable $render_callback Required callback to render the page content. * @type string $title Required screen title. * @type string $capability Capability required to access the screen. Default is 'manage_options'. * @type string $menu_title Title to display in the menu (only if $add_to_menu is true). Default is * the value of $title. * @type string $parent_slug Slug of the parent menu screen (only if $add_to_menu is true). Default * empty string (which means it will be a top-level page). * @type callable $enqueue_callback Callback to enqueue additional scripts or stylesheets. The base admin * script and stylesheet will always be enqueued. Default null. * @type callable $initialize_callback Callback to run actions when initializing the screen, before headers are * sent and markup is generated. Default null. * } */ public function __construct( $slug, array $args ) { $this->slug = $slug; $this->args = wp_parse_args( $args, array( 'render_callback' => null, 'title' => '', 'capability' => 'manage_options', 'menu_title' => '', 'parent_slug' => self::MENU_SLUG, 'enqueue_callback' => null, 'initialize_callback' => null, ) ); if ( empty( $this->args['menu_title'] ) ) { $this->args['menu_title'] = $this->args['title']; } $this->args['title'] = __( 'Site Kit by Google', 'google-site-kit' ) . ' ' . $this->args['title']; } /** * Gets the unique screen slug. * * @since 1.0.0 * * @return string Unique screen slug. */ public function get_slug() { return $this->slug; } /** * Adds the screen to the WordPress admin backend. * * @since 1.0.0 * * @param Context $context Plugin context, used for URL generation. * @return string Hook suffix of the screen, or empty string if not added. */ public function add( Context $context ) { static $menu_slug = null; if ( ! $this->args['title'] ) { return ''; } // A parent slug of null means the screen will not appear in the menu. $parent_slug = null; // If parent slug is provided, use it as parent. if ( ! empty( $this->args['parent_slug'] ) ) { $parent_slug = $this->args['parent_slug']; // If parent slug is 'googlesitekit', append to main Site Kit menu. if ( self::MENU_SLUG === $parent_slug ) { // If this is null, it means no menu has been added yet. if ( null === $menu_slug ) { add_menu_page( $this->args['title'], __( 'Site Kit', 'google-site-kit' ), $this->args['capability'], $this->slug, '', 'data:image/svg+xml;base64,' . Google_Icon::to_base64() ); $menu_slug = $this->slug; /** * An SVG icon file needs to be colored (filled) based on the theme color setting. * * This exists in js as wp.svgPainter() per: * https://github.com/WordPress/WordPress/blob/5.7/wp-admin/js/svg-painter.js * * The downside of the js approach is that we get a brief flash of an unstyled icon * until the JS runs. * * A user can pick a custom Admin Color Scheme, which is only available in admin_init * or later actions. add_menu_page runs on the admin_menu action, which precedes admin_init * per https://codex.wordpress.org/Plugin_API/Action_Reference * * WordPress provides some color schemes out of the box, but they can also be added via * wp_admin_css_color() * * Our workaround is to set the icon and subsequently replace it in current_screen, which is * what we do in the following action. */ add_action( 'current_screen', function () { global $menu, $_wp_admin_css_colors; if ( ! is_array( $menu ) ) { return; } $color_scheme = get_user_option( 'admin_color' ) ?: 'fresh'; // If we're on one of the sitekit pages, use the 'current' color, otherwise use the 'base' color. // @see wp_admin_css_color(). $color_key = false === strpos( get_current_screen()->id, 'googlesitekit' ) ? 'base' : 'current'; if ( empty( $_wp_admin_css_colors[ $color_scheme ]->icon_colors[ $color_key ] ) ) { return; } $color = $_wp_admin_css_colors[ $color_scheme ]->icon_colors[ $color_key ]; foreach ( $menu as &$item ) { if ( 'googlesitekit-dashboard' === $item[2] ) { $item[6] = 'data:image/svg+xml;base64,' . Google_Icon::to_base64( Google_Icon::with_fill( $color ) ); break; } } }, 100 ); } // Set parent slug to actual slug of main Site Kit menu. $parent_slug = $menu_slug; } } // If submenu item or not in menu, use add_submenu_page(). return (string) add_submenu_page( $parent_slug, $this->args['title'], $this->args['menu_title'], $this->args['capability'], $this->slug, function () use ( $context ) { $this->render( $context ); } ); } /** * Runs actions when initializing the screen, before sending headers and generating markup. * * @since 1.0.0 * * @param Context $context Plugin context. */ public function initialize( Context $context ) { if ( ! $this->args['initialize_callback'] ) { return; } call_user_func( $this->args['initialize_callback'], $context ); } /** * Enqueues assets for the screen. * * @since 1.0.0 * * @param Assets $assets Assets instance to rely on for enqueueing assets. */ public function enqueue_assets( Assets $assets ) { // Enqueue base admin screen stylesheet. $assets->enqueue_asset( 'googlesitekit-admin-css' ); $cb = is_callable( $this->args['enqueue_callback'] ) ? $this->args['enqueue_callback'] : function ( Assets $assets ) { $assets->enqueue_asset( $this->slug ); }; call_user_func( $cb, $assets ); } /** * Renders the screen content. * * @since 1.0.0 * * @param Context $context Plugin context. */ private function render( Context $context ) { $cb = is_callable( $this->args['render_callback'] ) ? $this->args['render_callback'] : function () { printf( '<div id="js-%s" class="googlesitekit-page"></div>', esc_attr( $this->slug ) ); }; echo '<div class="googlesitekit-plugin">'; $this->render_noscript_html(); call_user_func( $cb, $context ); echo '</div>'; } } includes/Core/Admin/Screens.php 0000604 00000033364 14717744000 0012416 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Screens * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Dismissals\Dismissed_Items; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\Feature_Flags; /** * Class managing admin screens. * * @since 1.0.0 * @access private * @ignore */ final class Screens { const PREFIX = 'googlesitekit-'; const PARENT_SLUG_NULL = self::PREFIX . 'null'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Assets API instance. * * @since 1.0.0 * @var Assets */ private $assets; /** * Modules instance. * * @since 1.7.0 * @var Modules */ private $modules; /** * Authentication instance. * * @since 1.72.0 * @var Authentication */ private $authentication; /** * Associative array of $hook_suffix => $screen pairs. * * @since 1.0.0 * @var array */ private $screens = array(); /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Assets $assets Optional. Assets API instance. Default is a new instance. * @param Modules $modules Optional. Modules instance. Default is a new instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. */ public function __construct( Context $context, Assets $assets = null, Modules $modules = null, Authentication $authentication = null ) { $this->context = $context; $this->assets = $assets ?: new Assets( $this->context ); $this->modules = $modules ?: new Modules( $this->context ); $this->authentication = $authentication ?: new Authentication( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { if ( $this->context->is_network_mode() ) { add_action( 'network_admin_menu', function () { $this->add_screens(); } ); } add_action( 'admin_menu', function () { $this->add_screens(); } ); add_action( 'admin_enqueue_scripts', function ( $hook_suffix ) { $this->enqueue_screen_assets( $hook_suffix ); } ); add_action( 'admin_page_access_denied', function () { // Redirect dashboard to splash if no dashboard access (yet). $this->no_access_redirect_dashboard_to_splash(); // Redirect splash to (shared) dashboard if splash is dismissed. $this->no_access_redirect_splash_to_dashboard(); // Redirect module pages to dashboard. $this->no_access_redirect_module_to_dashboard(); } ); // Ensure the menu icon always is rendered correctly, without enqueueing a global CSS file. add_action( 'admin_head', function () { ?> <style type="text/css"> #adminmenu .toplevel_page_googlesitekit-dashboard img { width: 16px; } #adminmenu .toplevel_page_googlesitekit-dashboard.current img, #adminmenu .toplevel_page_googlesitekit-dashboard.wp-has-current-submenu img { opacity: 1; } </style> <?php } ); $remove_notices_callback = function () { global $hook_suffix; if ( empty( $hook_suffix ) ) { return; } if ( isset( $this->screens[ $hook_suffix ] ) ) { remove_all_actions( current_action() ); } }; add_action( 'admin_notices', $remove_notices_callback, -9999 ); add_action( 'network_admin_notices', $remove_notices_callback, -9999 ); add_action( 'all_admin_notices', $remove_notices_callback, -9999 ); add_filter( 'custom_menu_order', '__return_true' ); add_filter( 'menu_order', function ( array $menu_order ) { // Move the Site Kit dashboard menu item to be one after the index.php item if it exists. $dashboard_index = array_search( 'index.php', $menu_order, true ); $sitekit_index = false; foreach ( $menu_order as $key => $value ) { if ( strpos( $value, self::PREFIX ) === 0 ) { $sitekit_index = $key; $sitekit_value = $value; break; } } if ( false === $dashboard_index || false === $sitekit_index ) { return $menu_order; } unset( $menu_order[ $sitekit_index ] ); array_splice( $menu_order, $dashboard_index + 1, 0, $sitekit_value ); return $menu_order; } ); } /** * Gets the Screen instance for a given hook suffix. * * @since 1.11.0 * * @param string $hook_suffix The hook suffix associated with the screen to retrieve. * @return Screen|null Screen instance if available, otherwise null; */ public function get_screen( $hook_suffix ) { return isset( $this->screens[ $hook_suffix ] ) ? $this->screens[ $hook_suffix ] : null; } /** * Adds all screens to the admin. * * @since 1.0.0 */ private function add_screens() { $screens = $this->get_screens(); array_walk( $screens, array( $this, 'add_screen' ) ); } /** * Adds the given screen to the admin. * * @since 1.0.0 * * @param Screen $screen Screen to add. */ private function add_screen( Screen $screen ) { $hook_suffix = $screen->add( $this->context ); if ( empty( $hook_suffix ) ) { return; } add_action( "load-{$hook_suffix}", function () use ( $screen ) { $screen->initialize( $this->context ); } ); $this->screens[ $hook_suffix ] = $screen; } /** * Enqueues assets if a plugin screen matches the given hook suffix. * * @since 1.0.0 * * @param string $hook_suffix Hook suffix for the current admin screen. */ private function enqueue_screen_assets( $hook_suffix ) { if ( ! isset( $this->screens[ $hook_suffix ] ) ) { return; } $this->screens[ $hook_suffix ]->enqueue_assets( $this->assets ); $this->modules->enqueue_assets(); } /** * Redirects from the dashboard to the splash screen if permissions to access the dashboard are currently not met. * * Dashboard permission access is conditional based on whether the user has successfully authenticated. When * e.g. accessing the dashboard manually or having it open in a separate tab while disconnecting in the other tab, * it is a better user experience to redirect to the splash screen so that the user can re-authenticate. * * The only time the dashboard should fail with the regular WordPress permissions error is when the current user is * not eligible for accessing Site Kit entirely, i.e. if they are not allowed to authenticate. * * @since 1.12.0 */ private function no_access_redirect_dashboard_to_splash() { global $plugin_page; // At this point, our preferred `$hook_suffix` is not set, and the dashboard page will not even be registered, // so we need to rely on the `$plugin_page` global here. if ( ! isset( $plugin_page ) || self::PREFIX . 'dashboard' !== $plugin_page ) { return; } if ( current_user_can( Permissions::VIEW_SPLASH ) ) { wp_safe_redirect( $this->context->admin_url( 'splash' ) ); exit; } } /** * Redirects from the splash to the dashboard screen if permissions to access the splash are currently not met. * * Admins always have the ability to view the splash page, so this redirects non-admins who have access * to view the shared dashboard if the splash has been dismissed. * Currently the dismissal check is built into the capability for VIEW_SPLASH so this is implied. * * @since 1.77.0 */ private function no_access_redirect_splash_to_dashboard() { global $plugin_page; if ( ! isset( $plugin_page ) || self::PREFIX . 'splash' !== $plugin_page ) { return; } if ( current_user_can( Permissions::VIEW_DASHBOARD ) ) { wp_safe_redirect( $this->context->admin_url() ); exit; } } /** * Redirects module pages to the dashboard or splash based on user capability. * * @since 1.69.0 */ private function no_access_redirect_module_to_dashboard() { global $plugin_page; $legacy_module_pages = array( self::PREFIX . 'module-adsense', self::PREFIX . 'module-analytics', self::PREFIX . 'module-search-console', ); if ( ! in_array( $plugin_page, $legacy_module_pages, true ) ) { return; } // Note: the use of add_query_arg is intentional below because it preserves // the current query parameters in the URL. if ( current_user_can( Permissions::VIEW_DASHBOARD ) ) { wp_safe_redirect( add_query_arg( 'page', self::PREFIX . 'dashboard' ) ); exit; } if ( current_user_can( Permissions::VIEW_SPLASH ) ) { wp_safe_redirect( add_query_arg( 'page', self::PREFIX . 'splash' ) ); exit; } } /** * Gets available admin screens. * * @since 1.0.0 * * @return array List of Screen instances. */ private function get_screens() { $show_splash_in_menu = current_user_can( Permissions::VIEW_SPLASH ) && ! current_user_can( Permissions::VIEW_DASHBOARD ); $screens = array( new Screen( self::PREFIX . 'dashboard', array( 'title' => __( 'Dashboard', 'google-site-kit' ), 'capability' => Permissions::VIEW_DASHBOARD, 'enqueue_callback' => function ( Assets $assets ) { if ( $this->context->input()->filter( INPUT_GET, 'permaLink' ) ) { $assets->enqueue_asset( 'googlesitekit-entity-dashboard' ); } else { $assets->enqueue_asset( 'googlesitekit-main-dashboard' ); } }, 'render_callback' => function ( Context $context ) { $is_view_only = ! $this->authentication->is_authenticated(); $setup_slug = htmlspecialchars( $context->input()->filter( INPUT_GET, 'slug' ) ?: '' ); $reauth = $context->input()->filter( INPUT_GET, 'reAuth', FILTER_VALIDATE_BOOLEAN ); if ( $context->input()->filter( INPUT_GET, 'permaLink' ) ) { ?> <div id="js-googlesitekit-entity-dashboard" data-view-only="<?php echo esc_attr( $is_view_only ); ?>" class="googlesitekit-page"></div> <?php } else { $setup_module_slug = $setup_slug && $reauth ? $setup_slug : ''; if ( $setup_module_slug ) { $active_modules = $this->modules->get_active_modules(); if ( ! array_key_exists( $setup_module_slug, $active_modules ) ) { try { $module_details = $this->modules->get_module( $setup_module_slug ); /* translators: %s: The module name */ $message = sprintf( __( 'The %s module cannot be set up as it has not been activated yet.', 'google-site-kit' ), $module_details->name ); } catch ( \Exception $e ) { $message = $e->getMessage(); } wp_die( sprintf( '<span class="googlesitekit-notice">%s</span>', esc_html( $message ) ), 403 ); } } ?> <div id="js-googlesitekit-main-dashboard" data-view-only="<?php echo esc_attr( $is_view_only ); ?>" data-setup-module-slug="<?php echo esc_attr( $setup_module_slug ); ?>" class="googlesitekit-page"></div> <?php } }, ) ), new Screen( self::PREFIX . 'splash', array( 'title' => __( 'Dashboard', 'google-site-kit' ), 'capability' => Permissions::VIEW_SPLASH, 'parent_slug' => $show_splash_in_menu ? Screen::MENU_SLUG : self::PARENT_SLUG_NULL, // This callback will redirect to the dashboard on successful authentication. 'initialize_callback' => function ( Context $context ) { // Get the dismissed items for this user. $user_options = new User_Options( $context ); $dismissed_items = new Dismissed_Items( $user_options ); $splash_context = $context->input()->filter( INPUT_GET, 'googlesitekit_context' ); $reset_session = $context->input()->filter( INPUT_GET, 'googlesitekit_reset_session', FILTER_VALIDATE_BOOLEAN ); // If the user is authenticated, redirect them to the disconnect URL and then send them back here. if ( ! $reset_session && 'revoked' === $splash_context && $this->authentication->is_authenticated() ) { $this->authentication->disconnect(); wp_safe_redirect( add_query_arg( array( 'googlesitekit_reset_session' => 1 ) ) ); exit; } // Don't consider redirect if the current user cannot access the dashboard (yet). if ( ! current_user_can( Permissions::VIEW_DASHBOARD ) ) { return; } // Redirect to dashboard if user is authenticated or if // they have already accessed the shared dashboard. if ( $this->authentication->is_authenticated() || ( ! current_user_can( Permissions::AUTHENTICATE ) && $dismissed_items->is_dismissed( 'shared_dashboard_splash' ) && current_user_can( Permissions::VIEW_SHARED_DASHBOARD ) ) ) { wp_safe_redirect( $context->admin_url( 'dashboard', array( // Pass through the notification parameter, or removes it if none. 'notification' => $context->input()->filter( INPUT_GET, 'notification' ), ) ) ); exit; } }, ) ), new Screen( self::PREFIX . 'settings', array( 'title' => __( 'Settings', 'google-site-kit' ), 'capability' => Permissions::MANAGE_OPTIONS, ) ), ); $screens[] = new Screen( self::PREFIX . 'user-input', array( 'title' => __( 'User Input', 'google-site-kit' ), 'capability' => Permissions::MANAGE_OPTIONS, 'parent_slug' => self::PARENT_SLUG_NULL, ) ); $screens[] = new Screen( self::PREFIX . 'ad-blocking-recovery', array( 'title' => __( 'Ad Blocking Recovery', 'google-site-kit' ), 'capability' => Permissions::MANAGE_OPTIONS, 'parent_slug' => self::PARENT_SLUG_NULL, ) ); return $screens; } } includes/Core/Admin/Standalone.php 0000604 00000004564 14717744000 0013104 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin\Standalone * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Stylesheet; /** * Class managing standalone mode. * * @since 1.8.0 * @access private * @ignore */ final class Standalone { /** * Plugin context. * * @since 1.8.0 * * @var Context */ private $context; /** * Constructor. * * @since 1.8.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Standalone mode * * @since 1.8.0 */ public function register() { if ( ! $this->is_standalone() ) { return; } /** * Appends the standalone admin body class. * * @since 1.8.0 * * @param string $admin_body_classes Admin body classes. * @return string Filtered admin body classes. */ add_filter( 'admin_body_class', function ( $admin_body_classes ) { return "{$admin_body_classes} googlesitekit-standalone"; } ); remove_action( 'in_admin_header', 'wp_admin_bar_render', 0 ); add_filter( 'admin_footer_text', '__return_empty_string', PHP_INT_MAX ); add_filter( 'update_footer', '__return_empty_string', PHP_INT_MAX ); add_action( 'admin_head', function () { $this->print_standalone_styles(); } ); } /** * Detects if we are in Google Site Kit standalone mode. * * @since 1.8.0 * * @return boolean True when in standalone mode, else false. */ public function is_standalone() { global $pagenow; $page = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'page' ) ?: '' ); $standalone = $this->context->input()->filter( INPUT_GET, 'googlesitekit-standalone', FILTER_VALIDATE_BOOLEAN ); return ( 'admin.php' === $pagenow && false !== strpos( $page, 'googlesitekit' ) && $standalone ); } /** * Enqueues styles for standalone mode. * * @since 1.8.0 */ private function print_standalone_styles() { ?> <style type="text/css"> html { padding-top: 0 !important; } body.googlesitekit-standalone #adminmenumain { display: none; } body.googlesitekit-standalone #wpcontent { margin-left: 0; } </style> <?php } } includes/Core/Admin_Bar/Admin_Bar_Enabled.php 0000604 00000002514 14717744000 0015017 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin_Bar\Admin_Bar_Enabled * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin_Bar; use Google\Site_Kit\Core\Storage\Setting; /** * Class handling the admin bar menu settings. * * @since 1.39.0 * @access private * @ignore */ class Admin_Bar_Enabled extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_admin_bar_menu_enabled'; /** * Gets the value of the setting. * * @since 1.39.0 * * @return bool Value set for the option, or registered default if not set. */ public function get() { return (bool) parent::get(); } /** * Gets the expected value type. * * @since 1.39.0 * * @return string The type name. */ protected function get_type() { return 'boolean'; } /** * Gets the default value. * * @since 1.39.0 * * @return boolean The default value. */ protected function get_default() { return true; } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.39.0 * * @return callable The callable sanitize callback. */ protected function get_sanitize_callback() { return 'boolval'; } } includes/Core/Admin_Bar/Admin_Bar.php 0000604 00000024135 14717744000 0013410 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Admin_Bar\Admin_Bar * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Admin_Bar; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\Requires_Javascript_Trait; use WP_REST_Server; use WP_REST_Request; /** * Class handling the plugin's admin bar menu. * * @since 1.0.0 * @access private * @ignore */ final class Admin_Bar { use Requires_Javascript_Trait; use Method_Proxy_Trait; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Assets Instance. * * @since 1.0.0 * @var Assets */ private $assets; /** * Modules instance. * * @since 1.4.0 * @var Modules */ private $modules; /** * Admin_Bar_Enabled instance. * * @since 1.39.0 * @var Admin_Bar_Enabled */ private $admin_bar_enabled; /** * Authentication instance. * * @since 1.120.0 * @var Authentication */ private $authentication; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Assets $assets Optional. Assets API instance. Default is a new instance. * @param Modules $modules Optional. Modules instance. Default is a new instance. */ public function __construct( Context $context, Assets $assets = null, Modules $modules = null ) { $this->context = $context; $this->assets = $assets ?: new Assets( $this->context ); $this->modules = $modules ?: new Modules( $this->context ); $options = new Options( $this->context ); $this->admin_bar_enabled = new Admin_Bar_Enabled( $options ); $this->authentication = new Authentication( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { add_action( 'admin_bar_menu', $this->get_method_proxy( 'add_menu_button' ), 99 ); add_action( 'admin_enqueue_scripts', $this->get_method_proxy( 'enqueue_assets' ), 40 ); add_action( 'wp_enqueue_scripts', $this->get_method_proxy( 'enqueue_assets' ), 40 ); // TODO: This can be removed at some point, see https://github.com/ampproject/amp-wp/pull/4001. add_filter( 'amp_dev_mode_element_xpaths', array( $this, 'add_amp_dev_mode' ) ); add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $routes ) { return array_merge( $routes, array( '/' . REST_Routes::REST_ROOT . '/core/site/data/admin-bar-settings', ) ); } ); $this->admin_bar_enabled->register(); } /** * Add data-ampdevmode attributes to the elements that need it. * * @see \Google\Site_Kit\Core\Assets\Assets::get_assets() The 'googlesitekit' string is added to all inline scripts. * @see \Google\Site_Kit\Core\Assets\Assets::add_amp_dev_mode_attributes() The data-ampdevmode attribute is added to registered scripts/styles here. * * @param string[] $xpath_queries XPath queries for elements that should get the data-ampdevmode attribute. * @return string[] XPath queries. */ public function add_amp_dev_mode( $xpath_queries ) { $xpath_queries[] = '//script[ contains( text(), "googlesitekit" ) ]'; return $xpath_queries; } /** * Render the Adminbar button. * * @since 1.0.0 * * @param object $wp_admin_bar The WP AdminBar object. */ private function add_menu_button( $wp_admin_bar ) { if ( ! $this->is_active() ) { return; } $args = array( 'id' => 'google-site-kit', 'title' => '<span class="googlesitekit-wp-adminbar__icon"></span> <span class="googlesitekit-wp-adminbar__label">Site Kit</span>', 'href' => '#', 'meta' => array( 'class' => 'menupop googlesitekit-wp-adminbar', ), ); if ( $this->context->is_amp() && ! $this->is_amp_dev_mode() ) { $post = get_post(); if ( ! $post || ! current_user_can( 'edit_post', $post->ID ) ) { return; } $args['href'] = add_query_arg( 'googlesitekit_adminbar_open', 'true', get_edit_post_link( $post->ID ) ); } else { $args['meta']['html'] = $this->menu_markup(); } $wp_admin_bar->add_node( $args ); } /** * Checks if admin bar menu is active and displaying. * * @since 1.0.0 * * @return bool True if Admin bar should display, False when it's not. */ public function is_active() { // Only active if the admin bar is showing. if ( ! is_admin_bar_showing() ) { return false; } // In the admin, never show the admin bar except for the post editing screen. if ( is_admin() && ! $this->is_admin_post_screen() ) { return false; } if ( ! current_user_can( Permissions::VIEW_ADMIN_BAR_MENU ) ) { return false; } $enabled = $this->admin_bar_enabled->get(); if ( ! $enabled ) { return false; } // No entity was identified - don't display the admin bar menu. $entity = $this->context->get_reference_entity(); if ( ! $entity ) { return false; } // Check permissions for viewing post data. if ( in_array( $entity->get_type(), array( 'post', 'blog' ), true ) && $entity->get_id() ) { // If a post entity, check permissions for that post. if ( ! current_user_can( Permissions::VIEW_POST_INSIGHTS, $entity->get_id() ) ) { return false; } } $current_url = $entity->get_url(); /** * Filters whether the Site Kit admin bar menu should be displayed. * * The admin bar menu is only shown when there is data for the current URL and the current * user has the correct capability to view the data. Modules use this filter to indicate the * presence of valid data. * * @since 1.0.0 * * @param bool $display Whether to display the admin bar menu. * @param string $current_url The URL of the current request. */ return apply_filters( 'googlesitekit_show_admin_bar_menu', true, $current_url ); } /** * Checks if current screen is an admin edit post screen. * * @since 1.0.0 */ private function is_admin_post_screen() { $current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false; // No screen context available. if ( ! $current_screen instanceof \WP_Screen ) { return false; } // Only show for post screens. if ( 'post' !== $current_screen->base ) { return false; } // Don't show for new post screen. if ( 'add' === $current_screen->action ) { return false; } return true; } /** * Checks whether AMP dev mode is enabled. * * This is only relevant if the current context is AMP. * * @since 1.1.0 * @since 1.120.0 Added the `data-view-only` attribute. * * @return bool True if AMP dev mode is enabled, false otherwise. */ private function is_amp_dev_mode() { return function_exists( 'amp_is_dev_mode' ) && amp_is_dev_mode(); } /** * Return the Adminbar content markup. * * @since 1.0.0 */ private function menu_markup() { // Start buffer output. ob_start(); $is_view_only = ! $this->authentication->is_authenticated(); ?> <div class="googlesitekit-plugin ab-sub-wrapper"> <?php $this->render_noscript_html(); ?> <div id="js-googlesitekit-adminbar" data-view-only="<?php echo esc_attr( $is_view_only ); ?>" class="googlesitekit-adminbar"> <?php /** * Display server rendered content before JS-based adminbar modules. * * @since 1.0.0 */ do_action( 'googlesitekit_adminbar_modules_before' ); ?> <section id="js-googlesitekit-adminbar-modules" class="googlesitekit-adminbar-modules"></section> <?php /** * Display server rendered content after JS-based adminbar modules. * * @since 1.0.0 */ do_action( 'googlesitekit_adminbar_modules_after' ); ?> </div> </div> <?php // Get the buffer output. $markup = ob_get_clean(); return $markup; } /** * Enqueues assets. * * @since 1.39.0 */ private function enqueue_assets() { if ( ! $this->is_active() ) { return; } // Enqueue styles. $this->assets->enqueue_asset( 'googlesitekit-adminbar-css' ); if ( $this->context->is_amp() && ! $this->is_amp_dev_mode() ) { // AMP Dev Mode support was added in v1.4, and if it is not enabled then short-circuit since scripts will be invalid. return; } // Enqueue scripts. $this->assets->enqueue_asset( 'googlesitekit-adminbar' ); $this->modules->enqueue_assets(); } /** * Gets related REST routes. * * @since 1.39.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_authenticate = function () { return current_user_can( Permissions::AUTHENTICATE ); }; $settings_callback = function () { return array( 'enabled' => $this->admin_bar_enabled->get(), ); }; return array( new REST_Route( 'core/site/data/admin-bar-settings', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => $settings_callback, 'permission_callback' => $can_authenticate, ), array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) use ( $settings_callback ) { $data = $request->get_param( 'data' ); if ( isset( $data['enabled'] ) ) { $this->admin_bar_enabled->set( ! empty( $data['enabled'] ) ); } return $settings_callback( $request ); }, 'permission_callback' => $can_authenticate, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'enabled' => array( 'type' => 'boolean', 'required' => false, ), ), ), ), ), ) ), ); } } includes/Core/Assets/Asset.php 0000604 00000006204 14717744000 0012276 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Asset * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; use Google\Site_Kit\Context; /** * Class representing a single asset. * * @since 1.0.0 * @access private * @ignore */ abstract class Asset { // Various page contexts for Site Kit in the WordPress Admin. const CONTEXT_ADMIN_GLOBAL = 'admin-global'; const CONTEXT_ADMIN_POST_EDITOR = 'admin-post-editor'; const CONTEXT_ADMIN_POSTS = 'admin-posts'; const CONTEXT_ADMIN_SITEKIT = 'admin-sitekit'; /** * Unique asset handle. * * @since 1.0.0 * @var string */ protected $handle; /** * Asset arguments. * * @since 1.0.0 * @var array */ protected $args = array(); /** * Constructor. * * @since 1.0.0 * @since 1.37.0 Add the 'load_contexts' argument. * * @param string $handle Unique asset handle. * @param array $args { * Associative array of asset arguments. * * @type string $src Required asset source URL. * @type array $dependencies List of asset dependencies. Default empty array. * @type string $version Asset version. Default is the version of Site Kit. * @type bool $fallback Whether to only register as a fallback. Default false. * @type callable $before_print Optional callback to execute before printing. Default none. * @type string[] $load_contexts Optional array of page context values to determine on which page types to load this asset (see the `CONTEXT_` variables above). * } */ public function __construct( $handle, array $args ) { $this->handle = $handle; $this->args = wp_parse_args( $args, array( 'src' => '', 'dependencies' => array(), 'version' => GOOGLESITEKIT_VERSION, 'fallback' => false, 'before_print' => null, 'load_contexts' => array( self::CONTEXT_ADMIN_SITEKIT ), ) ); } /** * Gets the notice handle. * * @since 1.0.0 * * @return string Unique notice handle. */ public function get_handle() { return $this->handle; } /** * Checks to see if the specified context exists for the current request. * * @since 1.37.0 * * @param string $context Context value (see the `CONTEXT_` variables above). * @return bool TRUE if context exists; FALSE otherwise. */ public function has_context( $context ) { return in_array( $context, $this->args['load_contexts'], true ); } /** * Registers the asset. * * @since 1.0.0 * @since 1.15.0 Adds $context parameter. * * @param Context $context Plugin context. */ abstract public function register( Context $context ); /** * Enqueues the asset. * * @since 1.0.0 */ abstract public function enqueue(); /** * Executes the extra callback if defined before printing the asset. * * @since 1.2.0 */ final public function before_print() { if ( ! is_callable( $this->args['before_print'] ) ) { return; } call_user_func( $this->args['before_print'], $this->handle ); } } includes/Core/Assets/Assets.php 0000604 00000071245 14717744000 0012470 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Assets * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Modules\Module_Sharing_Settings; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Util\Feature_Flags; use Google\Site_Kit\Core\Util\URL; use WP_Dependencies; use WP_Post_Type; /** * Class managing assets. * * @since 1.0.0 * @access private * @ignore */ final class Assets { /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Lazy-loaded assets as $handle => $instance pairs. * * @since 1.0.0 * @var array */ private $assets = array(); /** * Internal flag for whether assets have been registered yet. * * @since 1.2.0 * @var bool */ private $assets_registered = false; /** * Internal list of print callbacks already done. * * @since 1.2.0 * @var array */ private $print_callbacks_done = array(); /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 * @since 1.37.0 Enqueues Block Editor assets. */ public function register() { $register_callback = function () { if ( ! is_admin() ) { return; } if ( $this->assets_registered ) { return; } $this->assets_registered = true; $this->register_assets(); }; add_action( 'admin_enqueue_scripts', $register_callback ); add_action( 'wp_enqueue_scripts', $register_callback ); add_filter( 'script_loader_tag', function ( $tag, $handle ) { return $this->add_async_defer_attribute( $tag, $handle ); }, 10, 2 ); // All other asset-related general logic should only be active when the // current user can actually use Site Kit. if ( false === ( current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ) ) ) { return; } $this->add_amp_dev_mode_attributes( $this->get_assets() ); add_action( 'admin_print_scripts-edit.php', function () { global $post_type; if ( 'post' !== $post_type ) { // For CONTEXT_ADMIN_POSTS we only load scripts for the 'post' post type. return; } $assets = $this->get_assets(); array_walk( $assets, function ( Asset $asset ) { if ( $asset->has_context( Asset::CONTEXT_ADMIN_POSTS ) ) { $this->enqueue_asset( $asset->get_handle() ); } } ); } ); add_action( 'enqueue_block_editor_assets', function () { $assets = $this->get_assets(); array_walk( $assets, function ( $asset ) { if ( $asset->has_context( Asset::CONTEXT_ADMIN_POST_EDITOR ) ) { $this->enqueue_asset( $asset->get_handle() ); } } ); } ); $scripts_print_callback = function () { $scripts = wp_scripts(); $this->run_before_print_callbacks( $scripts, $scripts->queue ); }; add_action( 'wp_print_scripts', $scripts_print_callback ); add_action( 'admin_print_scripts', $scripts_print_callback ); $styles_print_callback = function () { $styles = wp_styles(); $this->run_before_print_callbacks( $styles, $styles->queue ); }; add_action( 'wp_print_styles', $styles_print_callback ); add_action( 'admin_print_styles', $styles_print_callback ); } /** * Enqueues the given plugin asset (script or stylesheet). * * The asset must already be registered in order to be enqueued. * * @since 1.0.0 * * @param string $handle Asset handle. */ public function enqueue_asset( $handle ) { // Register assets on-the-fly if necessary (currently the case for admin bar in frontend). if ( ! $this->assets_registered ) { $this->assets_registered = true; $this->register_assets(); } $assets = $this->get_assets(); if ( empty( $assets[ $handle ] ) ) { return; } $assets[ $handle ]->enqueue(); } /** * Enqueues Google fonts. * * @since 1.0.0 * @deprecated 1.41.0 This method is no longer used as fonts are loaded as a normal style dependency now. */ public function enqueue_fonts() { _deprecated_function( __METHOD__, '1.41.0' ); $assets = $this->get_assets(); if ( ! empty( $assets['googlesitekit-fonts'] ) && $assets['googlesitekit-fonts'] instanceof Asset ) { $assets['googlesitekit-fonts']->enqueue(); } } /** * Get Google fonts src for CSS. * * @since 1.41.0 * * @return string String URL src. */ protected function get_fonts_src() { $font_families = array( 'Google+Sans+Text:400,500', 'Google+Sans+Display:400,500,700', ); if ( Feature_Flags::enabled( 'gm3Components' ) ) { $font_families[] = 'Roboto:300,400,500'; } $filtered_font_families = apply_filters( 'googlesitekit_font_families', $font_families ); if ( empty( $filtered_font_families ) ) { return ''; } return add_query_arg( array( 'family' => implode( '|', $filtered_font_families ), 'subset' => 'latin-ext', 'display' => 'fallback', ), 'https://fonts.googleapis.com/css' ); } /** * Registers all plugin assets. * * @since 1.0.0 */ private function register_assets() { $assets = $this->get_assets(); foreach ( $assets as $asset ) { $asset->register( $this->context ); } } /** * Add data-ampdevmode attributes to assets. * * @todo What about dependencies? * * @param Asset[] $assets Assets. */ private function add_amp_dev_mode_attributes( $assets ) { add_filter( 'script_loader_tag', function ( $tag, $handle ) use ( $assets ) { // TODO: 'hoverintent-js' can be removed from here at some point, see https://github.com/ampproject/amp-wp/pull/3928. if ( $this->context->is_amp() && ( isset( $assets[ $handle ] ) && ( $assets[ $handle ] instanceof Script || 'hoverintent-js' === $handle ) ) ) { $tag = preg_replace( '/(?<=<script)(?=\s|>)/i', ' data-ampdevmode', $tag ); } return $tag; }, 10, 2 ); add_filter( 'style_loader_tag', function ( $tag, $handle ) use ( $assets ) { if ( $this->context->is_amp() && isset( $assets[ $handle ] ) && $assets[ $handle ] instanceof Stylesheet ) { $tag = preg_replace( '/(?<=<link)(?=\s|>)/i', ' data-ampdevmode', $tag ); } return $tag; }, 10, 2 ); } /** * Forms an array of dependencies based on the necessary context. * * @since 1.87.0 * * @param string $context The context for which dependencies should be formed. * @return array The array of dependencies. */ private function get_asset_dependencies( $context = '' ) { $dependencies = array( 'googlesitekit-tracking-data', 'googlesitekit-runtime', 'googlesitekit-i18n', 'googlesitekit-vendor', 'googlesitekit-commons', 'googlesitekit-data', 'googlesitekit-datastore-forms', 'googlesitekit-datastore-location', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-datastore-ui', 'googlesitekit-widgets', 'googlesitekit-notifications', ); if ( 'dashboard' === $context || 'dashboard-sharing' === $context ) { array_push( $dependencies, 'googlesitekit-components' ); } if ( 'dashboard-sharing' === $context ) { array_push( $dependencies, 'googlesitekit-dashboard-sharing-data' ); } return $dependencies; } /** * Gets all plugin assets. * * The method will lazy-load assets in an internal property so that the processing only happens once. * * @since 1.0.0 * * @return Asset[] Associative array of asset $handle => $instance pairs. */ private function get_assets() { if ( $this->assets ) { return $this->assets; } $base_url = $this->context->url( 'dist/assets/' ); $dependencies = $this->get_asset_dependencies(); // Register plugin scripts. $assets = array( new Script_Data( 'googlesitekit-commons', array( 'global' => '_googlesitekitLegacyData', 'data_callback' => function () { return $this->get_inline_data(); }, ) ), new Script_Data( 'googlesitekit-base-data', array( 'global' => '_googlesitekitBaseData', 'data_callback' => function () { return $this->get_inline_base_data(); }, ) ), new Script_Data( 'googlesitekit-entity-data', array( 'global' => '_googlesitekitEntityData', 'data_callback' => function () { return $this->get_inline_entity_data(); }, ) ), new Script_Data( 'googlesitekit-user-data', array( 'global' => '_googlesitekitUserData', 'data_callback' => function () { return $this->get_inline_user_data(); }, ) ), new Script_Data( 'googlesitekit-apifetch-data', array( 'global' => '_googlesitekitAPIFetchData', 'data_callback' => function () { /** * Preload common data by specifying an array of REST API paths that will be preloaded. * * Filters the array of paths that will be preloaded. * * @since 1.7.0 * * @param array $preload_paths Array of paths to preload. */ $preload_paths = apply_filters( 'googlesitekit_apifetch_preload_paths', array() ); $preloaded = array_reduce( array_unique( $preload_paths ), 'rest_preload_api_request', array() ); return array( 'nonce' => ( wp_installing() && ! is_multisite() ) ? '' : wp_create_nonce( 'wp_rest' ), 'nonceEndpoint' => admin_url( 'admin-ajax.php?action=rest-nonce' ), 'preloadedData' => $preloaded, 'rootURL' => esc_url_raw( get_rest_url() ), ); }, ) ), new Script_Data( 'googlesitekit-dashboard-sharing-data', array( 'global' => '_googlesitekitDashboardSharingData', 'data_callback' => function () { return $this->get_inline_dashboard_sharing_data(); }, ) ), new Script_Data( 'googlesitekit-tracking-data', array( 'global' => '_googlesitekitTrackingData', 'data_callback' => function () { return $this->get_inline_tracking_data(); }, ) ), new Script_Data( 'googlesitekit-modules-data', array( 'global' => '_googlesitekitModulesData', 'data_callback' => function () { return $this->get_inline_modules_data(); }, ) ), new Script( 'googlesitekit-runtime', array( 'src' => $base_url . 'js/runtime.js', ) ), new Script( 'googlesitekit-polyfills', array( 'src' => $base_url . 'js/googlesitekit-polyfills.js', 'dependencies' => array( 'googlesitekit-base-data', ), ) ), new Script( 'googlesitekit-i18n', array( 'src' => $base_url . 'js/googlesitekit-i18n.js', ) ), new Script( 'googlesitekit-vendor', array( 'src' => $base_url . 'js/googlesitekit-vendor.js', 'dependencies' => array( 'googlesitekit-i18n', 'googlesitekit-runtime', 'googlesitekit-polyfills', ), ) ), // Admin assets. new Script( 'googlesitekit-components', array( 'src' => $base_url . ( Feature_Flags::enabled( 'gm3Components' ) ? 'js/googlesitekit-components-gm3.js' : 'js/googlesitekit-components-gm2.js' ), ) ), new Script( 'googlesitekit-activation', array( 'src' => $base_url . 'js/googlesitekit-activation.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard' ), ) ), // Begin JSR Assets. new Script( 'googlesitekit-api', array( 'src' => $base_url . 'js/googlesitekit-api.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-apifetch-data', ), ) ), new Script( 'googlesitekit-data', array( 'src' => $base_url . 'js/googlesitekit-data.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', ), ) ), new Script( 'googlesitekit-datastore-user', array( 'src' => $base_url . 'js/googlesitekit-datastore-user.js', 'dependencies' => array( 'googlesitekit-data', 'googlesitekit-api', 'googlesitekit-user-data', ), ) ), new Script( 'googlesitekit-datastore-location', array( 'src' => $base_url . 'js/googlesitekit-datastore-location.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-data', ), ) ), new Script( 'googlesitekit-datastore-site', array( 'src' => $base_url . 'js/googlesitekit-datastore-site.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-base-data', 'googlesitekit-entity-data', ), ) ), new Script( 'googlesitekit-datastore-forms', array( 'src' => $base_url . 'js/googlesitekit-datastore-forms.js', 'dependencies' => array( 'googlesitekit-data', ), ) ), new Script( 'googlesitekit-datastore-ui', array( 'src' => $base_url . 'js/googlesitekit-datastore-ui.js', 'dependencies' => array( 'googlesitekit-data', ), ) ), new Script( 'googlesitekit-modules', array( 'src' => $base_url . 'js/googlesitekit-modules.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', ), ) ), new Script( 'googlesitekit-widgets', array( 'src' => $base_url . 'js/googlesitekit-widgets.js', 'dependencies' => array( 'googlesitekit-data', 'googlesitekit-i18n', 'googlesitekit-components', ), ) ), new Script( 'googlesitekit-notifications', array( 'src' => $base_url . 'js/googlesitekit-notifications.js', 'dependencies' => array( 'googlesitekit-data', 'googlesitekit-i18n', 'googlesitekit-components', ), ) ), new Script( 'googlesitekit-user-input', array( 'src' => $base_url . 'js/googlesitekit-user-input.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard' ), ) ), // End JSR Assets. new Script( 'googlesitekit-splash', array( 'src' => $base_url . 'js/googlesitekit-splash.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard' ), ) ), new Script( 'googlesitekit-entity-dashboard', array( 'src' => $base_url . 'js/googlesitekit-entity-dashboard.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard-sharing' ), ) ), new Script( 'googlesitekit-main-dashboard', array( 'src' => $base_url . 'js/googlesitekit-main-dashboard.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard-sharing' ), ) ), new Script( 'googlesitekit-settings', array( 'src' => $base_url . 'js/googlesitekit-settings.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard-sharing' ), ) ), new Script( 'googlesitekit-ad-blocking-recovery', array( 'src' => $base_url . 'js/googlesitekit-ad-blocking-recovery.js', 'dependencies' => $this->get_asset_dependencies( 'dashboard' ), ) ), new Stylesheet( 'googlesitekit-admin-css', array( 'src' => $base_url . 'css/googlesitekit-admin-css.css', 'dependencies' => array( 'googlesitekit-fonts', ), ) ), // WP Dashboard assets. new Script( 'googlesitekit-wp-dashboard', array( 'src' => $base_url . 'js/googlesitekit-wp-dashboard.js', 'dependencies' => $dependencies, 'execution' => 'defer', ) ), new Stylesheet( 'googlesitekit-wp-dashboard-css', array( 'src' => $base_url . 'css/googlesitekit-wp-dashboard-css.css', 'dependencies' => array( 'googlesitekit-fonts', ), ) ), new Stylesheet( 'googlesitekit-authorize-application-css', array( 'src' => $base_url . 'css/googlesitekit-authorize-application-css.css', 'dependencies' => array( 'googlesitekit-fonts', ), ) ), // Admin bar assets. new Script( 'googlesitekit-adminbar', array( 'src' => $base_url . 'js/googlesitekit-adminbar.js', 'dependencies' => $dependencies, 'execution' => 'defer', ) ), new Stylesheet( 'googlesitekit-adminbar-css', array( 'src' => $base_url . 'css/googlesitekit-adminbar-css.css', 'dependencies' => array( 'googlesitekit-fonts', ), ) ), new Stylesheet( 'googlesitekit-fonts', array( 'src' => $this->get_fonts_src(), 'version' => null, ) ), ); /** * Filters the list of assets that Site Kit should register. * * This filter covers both scripts and stylesheets. * * @since 1.7.0 * * @param Asset[] $assets List of Asset objects. */ $assets = apply_filters( 'googlesitekit_assets', $assets ); $this->assets = array(); foreach ( $assets as $asset ) { $this->assets[ $asset->get_handle() ] = $asset; } return $this->assets; } /** * Gets the most basic inline data needed for JS files. * * This should not include anything remotely expensive to compute. * * @since 1.2.0 * * @return array The base inline data to be output. */ private function get_inline_base_data() { global $wpdb; $site_url = $this->context->get_reference_site_url(); $inline_data = array( 'homeURL' => trailingslashit( $this->context->get_canonical_home_url() ), 'referenceSiteURL' => esc_url_raw( trailingslashit( $site_url ) ), 'adminURL' => esc_url_raw( trailingslashit( admin_url() ) ), 'assetsURL' => esc_url_raw( $this->context->url( 'dist/assets/' ) ), 'widgetsAdminURL' => esc_url_raw( $this->get_widgets_admin_url() ), 'blogPrefix' => $wpdb->get_blog_prefix(), 'ampMode' => $this->context->get_amp_mode(), 'isNetworkMode' => $this->context->is_network_mode(), 'timezone' => get_option( 'timezone_string' ), 'siteName' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), 'enabledFeatures' => Feature_Flags::get_enabled_features(), 'webStoriesActive' => defined( 'WEBSTORIES_VERSION' ), 'postTypes' => $this->get_post_types(), 'storagePrefix' => $this->get_storage_prefix(), 'referenceDate' => apply_filters( 'googlesitekit_reference_date', null ), 'productPostType' => $this->get_product_post_type(), ); /** * Filters the most basic inline data to pass to JS. * * This should not include anything remotely expensive to compute. * * @since 1.2.0 * * @param array $data Base data. */ return apply_filters( 'googlesitekit_inline_base_data', $inline_data ); } /** * Gets the available public post type slugs and their labels. * * @since 1.81.0 * * @return array Available post types array with their respective slugs and labels. */ private function get_post_types() { $post_types = array(); $all_post_types = get_post_types( array( 'public' => true ), 'objects' ); foreach ( $all_post_types as $post_type_slug => $post_type_obj ) { $post_types[] = array( 'slug' => $post_type_slug, 'label' => $post_type_obj->label, ); } return $post_types; } /** * Gets the widgets admin edit page or block editor URL depending * on the current theme. * * Themes which have FSE support do not have the old widgets admin screen. Such * themes only have the option to edit widgets directly in the block editor. * * @since 1.81.0 * * @return string The admin widgets page or block editor URL. */ private function get_widgets_admin_url() { $current_theme = wp_get_theme(); if ( method_exists( $current_theme, 'is_block_theme' ) && $current_theme->is_block_theme() ) { return admin_url( 'site-editor.php' ); } if ( count( $GLOBALS['wp_registered_sidebars'] ) > 0 ) { return admin_url( 'widgets.php' ); } return ''; } /** * Gets the inline data specific to the current entity. * * @since 1.7.0 * * @return array The site inline data to be output. */ private function get_inline_entity_data() { $current_entity = $this->context->get_reference_entity(); return array( 'currentEntityURL' => $current_entity ? $current_entity->get_url() : null, 'currentEntityType' => $current_entity ? $current_entity->get_type() : null, 'currentEntityTitle' => $current_entity ? $current_entity->get_title() : null, 'currentEntityID' => $current_entity ? $current_entity->get_id() : null, ); } /** * Gets the inline data specific to the current user * * @since 1.9.0 * * @return array The user inline data to be output. */ private function get_inline_user_data() { $current_user = wp_get_current_user(); $inline_data = array( 'user' => array( 'id' => $current_user->ID, 'email' => $current_user->user_email, 'name' => $current_user->display_name, 'picture' => get_avatar_url( $current_user->user_email ), ), ); /** * Filters the user inline data to pass to JS. * * This should not include anything remotely expensive to compute. * * @since 1.9.0 * * @param array $data User data. */ return apply_filters( 'googlesitekit_user_data', $inline_data ); } /** * Gets the inline dashboard sharing data * * @since 1.49.0 * * @return array The dashboard sharing inline data to be output. */ private function get_inline_dashboard_sharing_data() { $all_roles = wp_roles()->roles; $inline_data = array( 'roles' => array() ); foreach ( $all_roles as $role_slug => $role_details ) { $role = get_role( $role_slug ); // Filter the role that has `edit_posts` capability. if ( $role->has_cap( 'edit_posts' ) ) { $inline_data['roles'][] = array( 'id' => $role_slug, 'displayName' => translate_user_role( $role_details['name'] ), ); } } $settings = new Module_Sharing_Settings( new Options( $this->context ) ); $inline_data['settings'] = $settings->get(); /** * Filters the dashboard sharing inline data to pass to JS. * * @since 1.49.0 * * @param array $data dashboard sharing data. */ return apply_filters( 'googlesitekit_dashboard_sharing_data', $inline_data ); } /** * Gets data relevant for `trackEvent` calls. * * @since 1.78.0 * * @return array The tracking inline data to be output. */ private function get_inline_tracking_data() { $site_url = $this->context->get_reference_site_url(); $current_user = wp_get_current_user(); $inline_data = array( 'referenceSiteURL' => esc_url_raw( trailingslashit( $site_url ) ), 'userIDHash' => md5( $site_url . $current_user->ID ), ); /** * Filters the data relevant to trackEvent calls to pass to JS. * * @since 1.78.0 * * @param array $inline_data Tracking data. */ return apply_filters( 'googlesitekit_inline_tracking_data', $inline_data ); } /** * Gets the inline data needed for core plugin scripts. * * @since 1.0.0 * * @return array The inline data to be output. */ private function get_inline_data() { $site_url = $this->context->get_reference_site_url(); $input = $this->context->input(); $admin_data = array( 'siteURL' => esc_url_raw( $site_url ), 'resetSession' => $input->filter( INPUT_GET, 'googlesitekit_reset_session', FILTER_VALIDATE_BOOLEAN ), ); return array( /** * Filters the admin data to pass to JS. * * @since 1.0.0 * * @param array $data Admin data. */ 'admin' => apply_filters( 'googlesitekit_admin_data', $admin_data ), 'locale' => $this->context->get_locale( 'user' ), /** * Filters the setup data to pass to JS, needed during the dashboard page load. * * Get the setup data from the options table. * * @since 1.0.0 * * @param array $data Authentication Data. */ 'setup' => apply_filters( 'googlesitekit_setup_data', array() ), ); } /** * Gets inline modules data. * * @since 1.96.0 * * @return array The inline modules data to be output. */ private function get_inline_modules_data() { /** * Filters the inline modules data to pass to JS. * * @since 1.96.0 * * @param array $data Modules data. */ return apply_filters( 'googlesitekit_inline_modules_data', array() ); } /** * Adds support for async and defer attributes to enqueued scripts. * * @since 1.0.0 * * @param string $tag The script tag. * @param string $handle The script handle. * @return string Modified script tag. */ private function add_async_defer_attribute( $tag, $handle ) { $script_execution = wp_scripts()->get_data( $handle, 'script_execution' ); if ( ! $script_execution ) { return $tag; } if ( 'async' !== $script_execution && 'defer' !== $script_execution ) { return $tag; } // Abort adding async/defer for scripts that have this script as a dependency. foreach ( wp_scripts()->registered as $script ) { if ( in_array( $handle, $script->deps, true ) ) { return $tag; } } // Add the attribute if it hasn't already been added. if ( ! preg_match( ":\s$script_execution(=|>|\s):", $tag ) ) { $tag = preg_replace( ':(?=></script>):', " $script_execution", $tag, 1 ); } return $tag; } /** * Executes all extra callbacks before printing a list of dependencies. * * This method ensures that such callbacks that run e.g. `wp_add_inline_script()` are executed just-in-time, * only when the asset is actually loaded in the current request. * * This method works recursively, also looking at dependencies, and supports both scripts and stylesheets. * * @since 1.2.0 * * @param WP_Dependencies $dependencies WordPress dependencies class instance. * @param array $handles List of handles to run before print callbacks for. */ private function run_before_print_callbacks( WP_Dependencies $dependencies, array $handles ) { $is_amp = $this->context->is_amp(); foreach ( $handles as $handle ) { if ( isset( $this->print_callbacks_done[ $handle ] ) ) { continue; } $this->print_callbacks_done[ $handle ] = true; if ( isset( $this->assets[ $handle ] ) ) { $this->assets[ $handle ]->before_print(); // TODO: This can be removed at some point, see https://github.com/ampproject/amp-wp/pull/4001. if ( $is_amp && $this->assets[ $handle ] instanceof Script ) { $this->add_extra_script_amp_dev_mode( $handle ); } } if ( isset( $dependencies->registered[ $handle ] ) && is_array( $dependencies->registered[ $handle ]->deps ) ) { $this->run_before_print_callbacks( $dependencies, $dependencies->registered[ $handle ]->deps ); } } } /** * Adds a comment to all extra scripts so that they are considered compatible with AMP dev mode. * * {@see Assets::add_amp_dev_mode_attributes()} makes all registered scripts and stylesheets compatible, including * their potential inline additions. This method does the same for extra scripts, which are registered under the * 'data' key. * * @since 1.4.0 * * @param string $handle The handle of a registered script. */ private function add_extra_script_amp_dev_mode( $handle ) { $data = wp_scripts()->get_data( $handle, 'data' ) ?: ''; if ( ! empty( $data ) && is_string( $data ) ) { wp_scripts()->add_data( $handle, 'data', '/*googlesitekit*/ ' . $data ); } } /** * Gets the prefix for the client side cache key. * * Cache key is scoped to user session and blog_id to isolate the * cache between users and sites (in multisite). * * @since 1.92.0 * * @return string */ private function get_storage_prefix() { $current_user = wp_get_current_user(); $auth_cookie = wp_parse_auth_cookie(); $blog_id = get_current_blog_id(); $session_token = isset( $auth_cookie['token'] ) ? $auth_cookie['token'] : ''; return wp_hash( $current_user->user_login . '|' . $session_token . '|' . $blog_id ); } /** * Gets the product post type. * * @since 1.116.0 * * @return string|null The product post type name or null if not present on the website. */ protected function get_product_post_type() { /** * Filters the product post type. * * @since 1.116.0 * * @param string $product_post_type The product post type name. */ $product_post_type = apply_filters( 'googlesitekit_product_post_type', 'product' ); $product_type = get_post_type_object( $product_post_type ); if ( $product_type instanceof WP_Post_Type && $product_type->public ) { return $product_post_type; } return null; } } includes/Core/Assets/Manifest.php 0000604 00000002447 14717744000 0012772 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Manifest * * @package GoogleSite_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; use Google\Site_Kit\Plugin; /** * Assets manifest. * * @since 1.15.0 * @access private * @ignore */ class Manifest { /** * Entries as $handle => [ $filename, $hash ] map. * * @since 1.48.0 * @var array */ private static $data; /** * Gets the manifest entry for the given handle. * * @since 1.48.0 * * @param string $handle Asset handle to get manifest data for. * @return array List of $filename and $hash, or `null` for both if not found. */ public static function get( $handle ) { if ( null === self::$data ) { self::load(); } if ( isset( self::$data[ $handle ] ) ) { return self::$data[ $handle ]; } return array( null, null ); } /** * Loads the generated manifest file. * * @since 1.48.0 */ private static function load() { $path = Plugin::instance()->context()->path( 'dist/manifest.php' ); if ( file_exists( $path ) ) { // If the include fails, $data will be `false` // so this should only be attempted once. self::$data = include $path; } } } includes/Core/Assets/Script_Data.php 0000604 00000004662 14717744000 0013422 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Script_Data * * @package Google\Site_Kit\Core\Assets * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; /** * Class for virtual "data-only" scripts. * * @since 1.5.0 * @access private * @ignore */ class Script_Data extends Script { /** * Constructor. * * @since 1.5.0 * * @param string $handle Unique script handle. * @param array $args { * Associative array of script arguments. * * @type callable $data_callback Required. Function to return JSON-encodable data. * @type string $global Required. Name of global variable to assign data to in Javascript. * @type array $dependencies Optional. List of script dependencies. Default empty array. * } */ public function __construct( $handle, array $args ) { // Ensure required keys are always set. $args = $args + array( 'data_callback' => null, 'global' => '', ); // SRC will always be false. $args['src'] = false; parent::__construct( $handle, $args ); // Lazy-load script data before handle is to be printed. $this->args['before_print'] = function ( $handle ) { if ( empty( $this->args['global'] ) || ! is_callable( $this->args['data_callback'] ) ) { return; } $data = call_user_func( $this->args['data_callback'], $handle ); $this->add_script_data( $data ); }; } /** * Adds the given data to the script handle's 'data' key. * * 'data' is the key used by `wp_localize_script`, which is output * in older versions of WP even if the handle has no src (such as an alias). * This is done manually instead of using `wp_localize_script` to avoid casting * top-level keys to strings as this function is primarily intended for * providing an array of translations to Javascript rather than arbitrary data. * * @see \WP_Scripts::localize * * @since 1.5.0 * * @param mixed $data Data to be assigned to the defined global. */ private function add_script_data( $data ) { $script_data = wp_scripts()->get_data( $this->handle, 'data' ) ?: ''; $js = sprintf( 'var %s = %s;', preg_replace( '[^\w\d_-]', '', $this->args['global'] ), // Ensure only a-zA-Z0-9_- are allowed. wp_json_encode( $data ) ); wp_scripts()->add_data( $this->handle, 'data', trim( "$script_data\n$js" ) ); } } includes/Core/Assets/Script.php 0000604 00000010673 14717744000 0012470 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Script * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Util\BC_Functions; /** * Class representing a single script. * * @since 1.0.0 * @access private * @ignore */ class Script extends Asset { /** * Constructor. * * @since 1.0.0 * * @param string $handle Unique script handle. * @param array $args { * Associative array of script arguments. * * @type string $src Required script source URL. * @type array $dependencies List of script dependencies. Default empty array. * @type string $version Script version. Default is the version of Site Kit. * @type bool $fallback Whether to only register as a fallback. Default false. * @type callable $before_print Optional callback to execute before printing. Default none. * @type bool $in_footer Whether to load script in footer. Default true. * @type string $execution How to handle script execution, e.g. 'defer'. Default empty string. * } */ public function __construct( $handle, array $args ) { parent::__construct( $handle, $args ); $this->args = wp_parse_args( $this->args, array( 'in_footer' => true, 'execution' => '', ) ); } /** * Registers the script. * * @since 1.0.0 * @since 1.15.0 Adds $context parameter. * * @param Context $context Plugin context. */ public function register( Context $context ) { if ( $this->args['fallback'] && wp_script_is( $this->handle, 'registered' ) ) { return; } $src = $this->args['src']; $version = $this->args['version']; if ( $src ) { $entry = Manifest::get( $this->handle ); if ( is_array( $entry[0] ) ) { // If the first entry item is an array, we can assume `$entry` is an array of entries in the format filename => hash. // In this scenario we want to match the nested entry against the filename provided in `$src`. $src_filename = basename( $src ); foreach ( $entry as $entry_pair ) { if ( $this->is_matching_manifest_entry( $entry_pair, $src_filename ) ) { list( $filename, $hash ) = $entry_pair; break; } } } else { // Otherwise, `$entry` will be a single entry in the format filename => hash. list( $filename, $hash ) = $entry; } if ( $filename ) { $src = $context->url( 'dist/assets/js/' . $filename ); $version = $hash; } } wp_register_script( $this->handle, $src, (array) $this->args['dependencies'], $version, $this->args['in_footer'] ); if ( ! empty( $this->args['execution'] ) ) { wp_script_add_data( $this->handle, 'script_execution', $this->args['execution'] ); } if ( ! empty( $src ) ) { $this->set_locale_data(); } } /** * Enqueues the script. * * @since 1.0.0 */ public function enqueue() { wp_enqueue_script( $this->handle ); } /** * Checks if the provided manifest entry matches the given filename. * * @since 1.89.0 * * @param array $entry Array of filename, hash. * @param string $src_filename Filename to check. * @return bool */ private function is_matching_manifest_entry( array $entry, $src_filename ) { list ( $filename, $hash ) = $entry; if ( ! isset( $hash ) ) { // If the hash is not set, it means the hash is embedded in the entry filename. // Remove the hash then compare to the src filename. $entry_filename_without_hash = preg_replace( '/-[a-f0-9]+\.js$/', '.js', $filename ); if ( $src_filename === $entry_filename_without_hash ) { return true; } } if ( $filename === $src_filename ) { return true; } return false; } /** * Sets locale data for the script, if it has translations. * * @since 1.21.0 */ private function set_locale_data() { $json_translations = load_script_textdomain( $this->handle, 'google-site-kit' ); if ( ! $json_translations ) { return; } $output = <<<JS ( function( domain, translations ) { try { var localeData = translations.locale_data[ domain ] || translations.locale_data.messages; localeData[""].domain = domain; googlesitekit.i18n.setLocaleData( localeData, domain ); } catch { } } )( "google-site-kit", {$json_translations} ); JS; wp_add_inline_script( $this->handle, $output, 'before' ); } } includes/Core/Assets/Stylesheet.php 0000604 00000004204 14717744000 0013346 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Assets\Stylesheet * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Assets; use Google\Site_Kit\Context; /** * Class representing a single stylesheet. * * @since 1.0.0 * @access private * @ignore */ final class Stylesheet extends Asset { /** * Constructor. * * @since 1.0.0 * * @param string $handle Unique stylesheet handle. * @param array $args { * Associative array of stylesheet arguments. * * @type string $src Required stylesheet source URL. * @type array $dependencies List of stylesheet dependencies. Default empty array. * @type string $version Stylesheet version. Default is the version of Site Kit. * @type bool $fallback Whether to only register as a fallback. Default false. * @type callable $before_print Optional callback to execute before printing. Default none. * @type string $media Media for which the stylesheet is defined. Default 'all'. * } */ public function __construct( $handle, array $args ) { parent::__construct( $handle, $args ); $this->args = wp_parse_args( $this->args, array( 'media' => 'all', ) ); } /** * Registers the stylesheet. * * @since 1.0.0 * @since 1.15.0 Adds $context parameter. * * @param Context $context Plugin context. */ public function register( Context $context ) { if ( $this->args['fallback'] && wp_style_is( $this->handle, 'registered' ) ) { return; } $src = $this->args['src']; $version = $this->args['version']; list( $filename, $hash ) = Manifest::get( $this->handle ); if ( $filename ) { $src = $context->url( 'dist/assets/css/' . $filename ); $version = $hash; } wp_register_style( $this->handle, $src, (array) $this->args['dependencies'], $version, $this->args['media'] ); } /** * Enqueues the stylesheet. * * @since 1.0.0 */ public function enqueue() { wp_enqueue_style( $this->handle ); } } includes/Core/Authentication/Clients/Client_Factory.php 0000604 00000015012 14717744000 0017237 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\Client_Factory * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Exception; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit_Dependencies\GuzzleHttp\Client; use WP_HTTP_Proxy; /** * Class for creating Site Kit-specific Google_Client instances. * * @since 1.39.0 * @access private * @ignore */ final class Client_Factory { /** * Creates a new Google client instance for the given arguments. * * @since 1.39.0 * * @param array $args Associative array of arguments. * @return Google_Site_Kit_Client|Google_Site_Kit_Proxy_Client The created Google client instance. */ public static function create_client( array $args ) { $args = array_merge( array( 'client_id' => '', 'client_secret' => '', 'redirect_uri' => '', 'token' => array(), 'token_callback' => null, 'token_exception_callback' => null, 'required_scopes' => array(), 'login_hint_email' => '', 'using_proxy' => true, 'proxy_url' => Google_Proxy::PRODUCTION_BASE_URL, ), $args ); if ( $args['using_proxy'] ) { $client = new Google_Site_Kit_Proxy_Client( array( 'proxy_base_path' => $args['proxy_url'] ) ); } else { $client = new Google_Site_Kit_Client(); } // Enable exponential retries, try up to three times. $client->setConfig( 'retry', array( 'retries' => 3 ) ); $http_client = $client->getHttpClient(); $http_client_config = self::get_http_client_config( $http_client->getConfig() ); // In Guzzle 6+, the HTTP client is immutable, so only a new instance can be set. $client->setHttpClient( new Client( $http_client_config ) ); $auth_config = self::get_auth_config( $args['client_id'], $args['client_secret'], $args['redirect_uri'] ); if ( ! empty( $auth_config ) ) { try { $client->setAuthConfig( $auth_config ); } catch ( Exception $e ) { return $client; } } // Offline access so we can access the refresh token even when the user is logged out. $client->setAccessType( 'offline' ); $client->setPrompt( 'consent' ); $client->setRedirectUri( $args['redirect_uri'] ); $client->setScopes( (array) $args['required_scopes'] ); // Set the full token data. if ( ! empty( $args['token'] ) ) { $client->setAccessToken( $args['token'] ); } // Set the callback which is called when the client refreshes the access token on-the-fly. $token_callback = $args['token_callback']; if ( $token_callback ) { $client->setTokenCallback( function ( $cache_key, $access_token ) use ( $client, $token_callback ) { // The same token from this callback should also already be set in the client object, which is useful // to get the full token data, all of which needs to be saved. Just in case, if that is not the same, // we save the passed token only, relying on defaults for the other values. $token = $client->getAccessToken(); if ( $access_token !== $token['access_token'] ) { $token = array( 'access_token' => $access_token ); } $token_callback( $token ); } ); } // Set the callback which is called when refreshing the access token on-the-fly fails. $token_exception_callback = $args['token_exception_callback']; if ( ! empty( $token_exception_callback ) ) { $client->setTokenExceptionCallback( $token_exception_callback ); } if ( ! empty( $args['login_hint_email'] ) ) { $client->setLoginHint( $args['login_hint_email'] ); } return $client; } /** * Get HTTP client configuration. * * @since 1.115.0 * * @param array $config Initial configuration. * @return array The new HTTP client configuration. */ private static function get_http_client_config( $config ) { // Override the default user-agent for the Guzzle client. This is used for oauth/token requests. // By default this header uses the generic Guzzle client's user-agent and includes // Guzzle, cURL, and PHP versions as it is normally shared. // In our case however, the client is namespaced to be used by Site Kit only. $config['headers']['User-Agent'] = Google_Proxy::get_application_name(); /** This filter is documented in wp-includes/class-http.php */ $ssl_verify = apply_filters( 'https_ssl_verify', true, null ); // If SSL verification is enabled (default) use the SSL certificate bundle included with WP. if ( $ssl_verify ) { $config['verify'] = ABSPATH . WPINC . '/certificates/ca-bundle.crt'; } else { $config['verify'] = false; } // Configure the Google_Client's HTTP client to use the same HTTP proxy as WordPress HTTP, if set. $http_proxy = new WP_HTTP_Proxy(); if ( $http_proxy->is_enabled() ) { // See https://docs.guzzlephp.org/en/6.5/request-options.html#proxy for reference. $auth = $http_proxy->use_authentication() ? "{$http_proxy->authentication()}@" : ''; $config['proxy'] = "{$auth}{$http_proxy->host()}:{$http_proxy->port()}"; } /** * Filters the IP version to force hostname resolution with. * * @since 1.115.0 * * @param $force_ip_resolve null|string IP version to force. Default: null. */ $force_ip_resolve = apply_filters( 'googlesitekit_force_ip_resolve', null ); if ( in_array( $force_ip_resolve, array( null, 'v4', 'v6' ), true ) ) { $config['force_ip_resolve'] = $force_ip_resolve; } return $config; } /** * Returns the full OAuth credentials configuration data based on the given client ID and secret. * * @since 1.39.0 * * @param string $client_id OAuth client ID. * @param string $client_secret OAuth client secret. * @param string $redirect_uri OAuth redirect URI. * @return array Credentials data, or empty array if any of the given values is empty. */ private static function get_auth_config( $client_id, $client_secret, $redirect_uri ) { if ( ! $client_id || ! $client_secret || ! $redirect_uri ) { return array(); } return array( 'client_id' => $client_id, 'client_secret' => $client_secret, 'auth_uri' => 'https://accounts.google.com/o/oauth2/v2/auth', 'token_uri' => 'https://oauth2.googleapis.com/token', 'auth_provider_x509_cert_url' => 'https://www.googleapis.com/oauth2/v1/certs', 'redirect_uris' => array( $redirect_uri ), ); } } includes/Core/Authentication/Clients/Google_Site_Kit_Client.php 0000604 00000023120 14717744000 0020636 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Google\Site_Kit\Core\Authentication\Clients\OAuth2; use Google\Site_Kit\Core\Authentication\Exception\Google_OAuth_Exception; use Google\Site_Kit_Dependencies\Google_Client; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpClientCache; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Google\Site_Kit\Core\Util\URL; use Exception; use InvalidArgumentException; use LogicException; use WP_User; /** * Extended Google API client with custom functionality for Site Kit. * * @since 1.2.0 * @access private * @ignore */ class Google_Site_Kit_Client extends Google_Client { /** * Callback to pass a potential exception to while refreshing an access token. * * @since 1.2.0 * @var callable|null */ protected $token_exception_callback; /** * Construct the Google client. * * @since 1.2.0 * * @param array $config Client configuration. */ public function __construct( array $config = array() ) { if ( isset( $config['token_exception_callback'] ) ) { $this->setTokenExceptionCallback( $config['token_exception_callback'] ); } unset( $config['token_exception_callback'] ); parent::__construct( $config ); } /** * Sets the function to be called when fetching an access token results in an exception. * * @since 1.2.0 * * @param callable $exception_callback Function accepting an exception as single parameter. */ public function setTokenExceptionCallback( callable $exception_callback ) { $this->token_exception_callback = $exception_callback; } /** * Sets whether or not to return raw requests and returns a callback to reset to the previous value. * * @since 1.2.0 * * @param bool $defer Whether or not to return raw requests. * @return callable Callback function that resets to the original $defer value. */ public function withDefer( $defer ) { $orig_defer = $this->shouldDefer(); $this->setDefer( $defer ); // Return a function to restore the original refer value. return function () use ( $orig_defer ) { $this->setDefer( $orig_defer ); }; } /** * Adds auth listeners to the HTTP client based on the credentials set in the Google API Client object. * * @since 1.2.0 * * @param ClientInterface $http The HTTP client object. * @return ClientInterface The HTTP client object. * * @throws Exception Thrown when fetching a new access token via refresh token on-the-fly fails. */ public function authorize( ClientInterface $http = null ) { if ( $this->isUsingApplicationDefaultCredentials() ) { return parent::authorize( $http ); } $token = $this->getAccessToken(); if ( isset( $token['refresh_token'] ) && $this->isAccessTokenExpired() ) { $callback = $this->getConfig( 'token_callback' ); try { $token_response = $this->fetchAccessTokenWithRefreshToken( $token['refresh_token'] ); if ( $callback ) { // Due to original callback signature this can only accept the token itself. call_user_func( $callback, '', $token_response['access_token'] ); } } catch ( Exception $e ) { // Pass exception to special callback if provided. if ( $this->token_exception_callback ) { call_user_func( $this->token_exception_callback, $e ); } throw $e; } } return parent::authorize( $http ); } /** * Fetches an OAuth 2.0 access token by using a temporary code. * * @since 1.0.0 * @since 1.2.0 Ported from Google_Site_Kit_Proxy_Client. * * @param string $code Temporary authorization code, or undelegated token code. * @return array Access token. * * @throws InvalidArgumentException Thrown when the passed code is empty. */ public function fetchAccessTokenWithAuthCode( $code ) { if ( strlen( $code ) === 0 ) { throw new InvalidArgumentException( 'Invalid code' ); } $auth = $this->getOAuth2Service(); $auth->setCode( $code ); $auth->setRedirectUri( $this->getRedirectUri() ); $http_handler = HttpHandlerFactory::build( $this->getHttpClient() ); $token_response = $this->fetchAuthToken( $auth, $http_handler ); if ( $token_response && isset( $token_response['access_token'] ) ) { $token_response['created'] = time(); $this->setAccessToken( $token_response ); } return $token_response; } /** * Fetches a fresh OAuth 2.0 access token by using a refresh token. * * @since 1.0.0 * @since 1.2.0 Ported from Google_Site_Kit_Proxy_Client. * * @param string $refresh_token Optional. Refresh token. Unused here. * @param array $extra_params Optional. Array of extra parameters to fetch with. * @return array Access token. * * @throws LogicException Thrown when no refresh token is available. */ public function fetchAccessTokenWithRefreshToken( $refresh_token = null, $extra_params = array() ) { if ( null === $refresh_token ) { $refresh_token = $this->getRefreshToken(); if ( ! $refresh_token ) { throw new LogicException( 'refresh token must be passed in or set as part of setAccessToken' ); } } $this->getLogger()->info( 'OAuth2 access token refresh' ); $auth = $this->getOAuth2Service(); $auth->setRefreshToken( $refresh_token ); $http_handler = HttpHandlerFactory::build( $this->getHttpClient() ); $token_response = $this->fetchAuthToken( $auth, $http_handler, $extra_params ); if ( $token_response && isset( $token_response['access_token'] ) ) { $token_response['created'] = time(); if ( ! isset( $token_response['refresh_token'] ) ) { $token_response['refresh_token'] = $refresh_token; } $this->setAccessToken( $token_response ); /** * Fires when the current user has just been reauthorized to access Google APIs with a refreshed access token. * * In other words, this action fires whenever Site Kit has just obtained a new access token based on * the refresh token for the current user, which typically happens once every hour when using Site Kit, * since that is the lifetime of every access token. * * @since 1.25.0 * * @param array $token_response Token response data. */ do_action( 'googlesitekit_reauthorize_user', $token_response ); } return $token_response; } /** * Executes deferred HTTP requests. * * @since 1.38.0 * * @param RequestInterface $request Request object to execute. * @param string $expected_class Expected class to return. * @return object An object of the type of the expected class or Psr\Http\Message\ResponseInterface. */ public function execute( RequestInterface $request, $expected_class = null ) { $request = $request->withHeader( 'X-Goog-Quota-User', self::getQuotaUser() ); return parent::execute( $request, $expected_class ); } /** * Returns a string that uniquely identifies a user of the application. * * @since 1.38.0 * * @return string Unique user identifier. */ public static function getQuotaUser() { $user_id = get_current_user_id(); $url = get_home_url(); $scheme = URL::parse( $url, PHP_URL_SCHEME ); $host = URL::parse( $url, PHP_URL_HOST ); $path = URL::parse( $url, PHP_URL_PATH ); return "{$scheme}://{$user_id}@{$host}{$path}"; } /** * Fetches an OAuth 2.0 access token using a given auth object and HTTP handler. * * This method is used in place of {@see OAuth2::fetchAuthToken()}. * * @since 1.0.0 * @since 1.2.0 Ported from Google_Site_Kit_Proxy_Client. * * @param OAuth2 $auth OAuth2 instance. * @param callable|null $http_handler Optional. HTTP handler callback. Default null. * @param array $extra_params Optional. Array of extra parameters to fetch with. * @return array Access token. */ protected function fetchAuthToken( OAuth2 $auth, callable $http_handler = null, $extra_params = array() ) { if ( is_null( $http_handler ) ) { $http_handler = HttpHandlerFactory::build( HttpClientCache::getHttpClient() ); } $request = $auth->generateCredentialsRequest( $extra_params ); $response = $http_handler( $request ); $credentials = $auth->parseTokenResponse( $response ); if ( ! empty( $credentials['error'] ) ) { $this->handleAuthTokenErrorResponse( $credentials['error'], $credentials ); } $auth->updateToken( $credentials ); return $credentials; } /** * Handles an erroneous response from a request to fetch an auth token. * * @since 1.2.0 * * @param string $error Error code / error message. * @param array $data Associative array of full response data. * * @throws Google_OAuth_Exception Thrown with the given $error as message. */ protected function handleAuthTokenErrorResponse( $error, array $data ) { throw new Google_OAuth_Exception( $error ); } /** * Create a default Google OAuth2 object. * * @return OAuth2 Created OAuth2 instance. */ protected function createOAuth2Service() { $auth = new OAuth2( array( 'clientId' => $this->getClientId(), 'clientSecret' => $this->getClientSecret(), 'authorizationUri' => self::OAUTH2_AUTH_URL, 'tokenCredentialUri' => self::OAUTH2_TOKEN_URI, 'redirectUri' => $this->getRedirectUri(), 'issuer' => $this->getConfig( 'client_id' ), 'signingKey' => $this->getConfig( 'signing_key' ), 'signingAlgorithm' => $this->getConfig( 'signing_algorithm' ), ) ); return $auth; } } includes/Core/Authentication/Clients/Google_Site_Kit_Proxy_Client.php 0000604 00000007614 14717744000 0022051 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Proxy_Client * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Clients\OAuth2; use Google\Site_Kit\Core\Authentication\Exception\Google_Proxy_Code_Exception; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request; use Exception; /** * Modified Google Site Kit API client relying on the authentication proxy. * * @since 1.0.0 * @since 1.2.0 Renamed to Google_Site_Kit_Proxy_Client. * @access private * @ignore */ class Google_Site_Kit_Proxy_Client extends Google_Site_Kit_Client { /** * Base URL to the proxy. * * @since 1.1.2 * @var string */ protected $proxy_base_path = Google_Proxy::PRODUCTION_BASE_URL; /** * Construct the Google client. * * @since 1.1.2 * * @param array $config Proxy client configuration. */ public function __construct( array $config = array() ) { if ( ! empty( $config['proxy_base_path'] ) ) { $this->setProxyBasePath( $config['proxy_base_path'] ); } unset( $config['proxy_base_path'] ); parent::__construct( $config ); $this->setApplicationName( Google_Proxy::get_application_name() ); } /** * Sets the base URL to the proxy. * * @since 1.2.0 * * @param string $base_path Proxy base URL. */ public function setProxyBasePath( $base_path ) { $this->proxy_base_path = untrailingslashit( $base_path ); } /** * Revokes an OAuth2 access token using the authentication proxy. * * @since 1.0.0 * * @param string|array|null $token Optional. Access token. Default is the current one. * @return bool True on success, false on failure. */ public function revokeToken( $token = null ) { if ( ! $token ) { $token = $this->getAccessToken(); } if ( is_array( $token ) ) { $token = $token['access_token']; } $body = Psr7\stream_for( http_build_query( array( 'client_id' => $this->getClientId(), 'token' => $token, ) ) ); $request = new Request( 'POST', $this->proxy_base_path . Google_Proxy::OAUTH2_REVOKE_URI, array( 'Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded', ), $body ); $http_handler = HttpHandlerFactory::build( $this->getHttpClient() ); $response = $http_handler( $request ); return 200 === (int) $response->getStatusCode(); } /** * Creates a Google auth object for the authentication proxy. * * @since 1.0.0 */ protected function createOAuth2Service() { return new OAuth2( array( 'clientId' => $this->getClientId(), 'clientSecret' => $this->getClientSecret(), 'authorizationUri' => $this->proxy_base_path . Google_Proxy::OAUTH2_AUTH_URI, 'tokenCredentialUri' => $this->proxy_base_path . Google_Proxy::OAUTH2_TOKEN_URI, 'redirectUri' => $this->getRedirectUri(), 'issuer' => $this->getClientId(), 'signingKey' => null, 'signingAlgorithm' => null, ) ); } /** * Handles an erroneous response from a request to fetch an auth token. * * @since 1.2.0 * * @param string $error Error code / error message. * @param array $data Associative array of full response data. * * @throws Google_Proxy_Code_Exception Thrown when proxy returns an error accompanied by a temporary access code. */ protected function handleAuthTokenErrorResponse( $error, array $data ) { if ( ! empty( $data['code'] ) ) { throw new Google_Proxy_Code_Exception( $error, 0, $data['code'] ); } parent::handleAuthTokenErrorResponse( $error, $data ); } } includes/Core/Authentication/Clients/OAuth2.php 0000604 00000002660 14717744000 0015441 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\OAuth2 * * @package Google\Site_Kit * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Google\Site_Kit_Dependencies\Google\Auth\OAuth2 as Google_Service_OAuth2; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Utils; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Query; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; /** * Class for connecting to Google APIs via OAuth2. * * @since 1.87.0 * @access private * @ignore */ class OAuth2 extends Google_Service_OAuth2 { /** * Overrides generateCredentialsRequest with additional parameters. * * @since 1.87.0 * * @param array $extra_params Optional. Array of extra parameters to fetch with. * @return RequestInterface Token credentials request. */ public function generateCredentialsRequest( $extra_params = array() ) { $request = parent::generateCredentialsRequest(); $grant_type = $this->getGrantType(); if ( empty( $extra_params ) || 'refresh_token' !== $grant_type ) { return $request; } $params = array( 'body' => Query::build( array_merge( Query::parse( Utils::copyToString( $request->getBody() ) ), $extra_params ) ), ); return Utils::modifyRequest( $request, $params ); } } includes/Core/Authentication/Clients/OAuth_Client_Base.php 0000604 00000026300 14717744000 0017604 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\OAuth_Client_Base * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Authentication\Exception\Google_Proxy_Code_Exception; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Profile; use Google\Site_Kit\Core\Authentication\Token; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; /** * Base class for connecting to Google APIs via OAuth. * * @since 1.39.0 * @access private * @ignore */ abstract class OAuth_Client_Base { const OPTION_ACCESS_TOKEN = 'googlesitekit_access_token'; const OPTION_ACCESS_TOKEN_EXPIRES_IN = 'googlesitekit_access_token_expires_in'; const OPTION_ACCESS_TOKEN_CREATED = 'googlesitekit_access_token_created_at'; const OPTION_REFRESH_TOKEN = 'googlesitekit_refresh_token'; const OPTION_AUTH_SCOPES = 'googlesitekit_auth_scopes'; const OPTION_ERROR_CODE = 'googlesitekit_error_code'; const OPTION_PROXY_ACCESS_CODE = 'googlesitekit_proxy_access_code'; /** * Plugin context. * * @since 1.39.0 * @var Context */ protected $context; /** * Options instance * * @since 1.39.0 * @var Options */ protected $options; /** * User_Options instance * * @since 1.39.0 * @var User_Options */ protected $user_options; /** * OAuth credentials instance. * * @since 1.39.0 * @var Credentials */ protected $credentials; /** * Google_Proxy instance. * * @since 1.39.0 * @var Google_Proxy */ protected $google_proxy; /** * Google Client object. * * @since 1.39.0 * @var Google_Site_Kit_Client */ protected $google_client; /** * Profile instance. * * @since 1.39.0 * @var Profile */ protected $profile; /** * Token instance. * * @since 1.39.0 * @var Token */ protected $token; /** * Constructor. * * @since 1.39.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Credentials $credentials Optional. Credentials instance. Default is a new instance from $options. * @param Google_Proxy $google_proxy Optional. Google proxy instance. Default is a new instance. * @param Profile $profile Optional. Profile instance. Default is a new instance. * @param Token $token Optional. Token instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Credentials $credentials = null, Google_Proxy $google_proxy = null, Profile $profile = null, Token $token = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); $this->user_options = $user_options ?: new User_Options( $this->context ); $this->credentials = $credentials ?: new Credentials( new Encrypted_Options( $this->options ) ); $this->google_proxy = $google_proxy ?: new Google_Proxy( $this->context ); $this->profile = $profile ?: new Profile( $this->user_options ); $this->token = $token ?: new Token( $this->user_options ); } /** * Gets the Google client object. * * @since 1.39.0 * @since 1.2.0 Now always returns a Google_Site_Kit_Client. * * @return Google_Site_Kit_Client Google client object. */ public function get_client() { if ( ! $this->google_client instanceof Google_Site_Kit_Client ) { $credentials = $this->credentials->get(); $this->google_client = Client_Factory::create_client( array( 'client_id' => $credentials['oauth2_client_id'], 'client_secret' => $credentials['oauth2_client_secret'], 'redirect_uri' => $this->get_redirect_uri(), 'token' => $this->get_token(), 'token_callback' => array( $this, 'set_token' ), 'token_exception_callback' => function ( Exception $e ) { $this->handle_fetch_token_exception( $e ); }, 'required_scopes' => $this->get_required_scopes(), 'login_hint_email' => $this->profile->has() ? $this->profile->get()['email'] : '', 'using_proxy' => $this->credentials->using_proxy(), 'proxy_url' => $this->google_proxy->url(), ) ); } return $this->google_client; } /** * Gets the list of currently required Google OAuth scopes. * * @since 1.39.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @return array List of Google OAuth scopes. */ public function get_required_scopes() { /** * Filters the list of required Google OAuth scopes. * * See all Google oauth scopes here: https://developers.google.com/identity/protocols/googlescopes * * @since 1.39.0 * * @param array $scopes List of scopes. */ $scopes = (array) apply_filters( 'googlesitekit_auth_scopes', array() ); return array_unique( array_merge( // Default scopes that are always required. array( 'openid', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email', ), $scopes ) ); } /** * Gets the list of currently granted Google OAuth scopes for the current user. * * @since 1.39.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @return string[] List of Google OAuth scopes. */ public function get_granted_scopes() { return $this->user_options->get( self::OPTION_AUTH_SCOPES ) ?: array(); } /** * Sets the list of currently granted Google OAuth scopes for the current user. * * @since 1.39.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @param string[] $scopes List of Google OAuth scopes. */ public function set_granted_scopes( $scopes ) { $required_scopes = $this->get_required_scopes(); $scopes = array_values( array_unique( array_intersect( $scopes, $required_scopes ) ) ); $this->user_options->set( self::OPTION_AUTH_SCOPES, $scopes ); } /** * Gets the current user's full OAuth token data, including access token and optional refresh token. * * @since 1.39.0 * * @return array Associative array with 'access_token', 'expires_in', 'created', and 'refresh_token' keys, or empty * array if no token available. */ public function get_token() { return $this->token->get(); } /** * Sets the current user's full OAuth token data, including access token and optional refresh token. * * @since 1.39.0 * * @param array $token { * Full token data, optionally including the refresh token. * * @type string $access_token Required. The access token. * @type int $expires_in Number of seconds in which the token expires. Default 3600 (1 hour). * @type int $created Timestamp in seconds when the token was created. Default is the current time. * @type string $refresh_token The refresh token, if relevant. If passed, it is set as well. * } * @return bool True on success, false on failure. */ public function set_token( array $token ) { // Remove the error code from the user options so it doesn't // appear again. $this->user_options->delete( OAuth_Client::OPTION_ERROR_CODE ); return $this->token->set( $token ); } /** * Deletes the current user's token and all associated data. * * @since 1.0.3 */ protected function delete_token() { $this->token->delete(); $this->user_options->delete( self::OPTION_AUTH_SCOPES ); } /** * Converts the given error code to a user-facing message. * * @since 1.39.0 * * @param string $error_code Error code. * @return string Error message. */ public function get_error_message( $error_code ) { switch ( $error_code ) { case 'access_denied': return __( 'Setup was interrupted because you did not grant the necessary permissions.', 'google-site-kit' ); case 'access_token_not_received': return __( 'Unable to receive access token because of an unknown error.', 'google-site-kit' ); case 'cannot_log_in': return __( 'Internal error that the Google login redirect failed.', 'google-site-kit' ); case 'invalid_client': return __( 'Unable to receive access token because of an invalid client.', 'google-site-kit' ); case 'invalid_code': return __( 'Unable to receive access token because of an empty authorization code.', 'google-site-kit' ); case 'invalid_grant': return __( 'Unable to receive access token because of an invalid authorization code or refresh token.', 'google-site-kit' ); case 'invalid_request': return __( 'Unable to receive access token because of an invalid OAuth request.', 'google-site-kit' ); case 'missing_delegation_consent': return __( 'Looks like your site is not allowed access to Google account data and can’t display stats in the dashboard.', 'google-site-kit' ); case 'missing_search_console_property': return __( 'Looks like there is no Search Console property for your site.', 'google-site-kit' ); case 'missing_verification': return __( 'Looks like the verification token for your site is missing.', 'google-site-kit' ); case 'oauth_credentials_not_exist': return __( 'Unable to authenticate Site Kit, as no client credentials exist.', 'google-site-kit' ); case 'refresh_token_not_exist': return __( 'Unable to refresh access token, as no refresh token exists.', 'google-site-kit' ); case 'unauthorized_client': return __( 'Unable to receive access token because of an unauthorized client.', 'google-site-kit' ); case 'unsupported_grant_type': return __( 'Unable to receive access token because of an unsupported grant type.', 'google-site-kit' ); default: /* translators: %s: error code from API */ return sprintf( __( 'Unknown Error (code: %s).', 'google-site-kit' ), $error_code ); } } /** * Handles an exception thrown when fetching an access token. * * @since 1.2.0 * * @param Exception $e Exception thrown. */ protected function handle_fetch_token_exception( Exception $e ) { $error_code = $e->getMessage(); // Revoke and delete user connection data on 'invalid_grant'. // This typically happens during refresh if the refresh token is invalid or expired. if ( 'invalid_grant' === $error_code ) { $this->delete_token(); } $this->user_options->set( self::OPTION_ERROR_CODE, $error_code ); if ( $e instanceof Google_Proxy_Code_Exception ) { $this->user_options->set( self::OPTION_PROXY_ACCESS_CODE, $e->getAccessCode() ); } } /** * Gets the OAuth redirect URI that listens to the callback request. * * @since 1.39.0 * * @return string OAuth redirect URI. */ protected function get_redirect_uri() { return add_query_arg( 'oauth2callback', '1', admin_url( 'index.php' ) ); } } includes/Core/Authentication/Clients/OAuth_Client.php 0000604 00000052356 14717744000 0016664 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Clients\OAuth_Client * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Clients; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Authentication\Exception\Google_Proxy_Code_Exception; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Owner_ID; use Google\Site_Kit\Core\Authentication\Profile; use Google\Site_Kit\Core\Authentication\Token; use Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics\Activity_Metrics; use Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics\Active_Consumers; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\Scopes; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit_Dependencies\Google\Service\PeopleService as Google_Service_PeopleService; use WP_User; /** * Class for connecting to Google APIs via OAuth. * * @since 1.0.0 * @since 1.39.0 Now extends `OAuth_Client_Base`. * @access private * @ignore */ final class OAuth_Client extends OAuth_Client_Base { const OPTION_ADDITIONAL_AUTH_SCOPES = 'googlesitekit_additional_auth_scopes'; const OPTION_REDIRECT_URL = 'googlesitekit_redirect_url'; const OPTION_ERROR_REDIRECT_URL = 'googlesitekit_error_redirect_url'; const CRON_REFRESH_PROFILE_DATA = 'googlesitekit_cron_refresh_profile_data'; /** * Owner_ID instance. * * @since 1.16.0 * @var Owner_ID */ private $owner_id; /** * Activity_Metrics instance. * * @since 1.87.0 * @var Activity_Metrics */ private $activity_metrics; /** * Active_Consumers instance. * * @since 1.87.0 * @var Active_Consumers */ private $active_consumers; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Credentials $credentials Optional. Credentials instance. Default is a new instance from $options. * @param Google_Proxy $google_proxy Optional. Google proxy instance. Default is a new instance. * @param Profile $profile Optional. Profile instance. Default is a new instance. * @param Token $token Optional. Token instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Credentials $credentials = null, Google_Proxy $google_proxy = null, Profile $profile = null, Token $token = null ) { parent::__construct( $context, $options, $user_options, $credentials, $google_proxy, $profile, $token ); $this->owner_id = new Owner_ID( $this->options ); $this->activity_metrics = new Activity_Metrics( $this->context, $this->user_options ); $this->active_consumers = new Active_Consumers( $this->user_options ); } /** * Refreshes the access token. * * While this method can be used to explicitly refresh the current access token, the preferred way * should be to rely on the Google_Site_Kit_Client to do that automatically whenever the current access token * has expired. * * @since 1.0.0 */ public function refresh_token() { $token = $this->get_token(); if ( empty( $token['refresh_token'] ) ) { $this->delete_token(); $this->user_options->set( self::OPTION_ERROR_CODE, 'refresh_token_not_exist' ); return; } $active_consumers = $this->activity_metrics->get_for_refresh_token(); try { $token_response = $this->get_client()->fetchAccessTokenWithRefreshToken( $token['refresh_token'], $active_consumers ); } catch ( \Exception $e ) { $this->handle_fetch_token_exception( $e ); return; } if ( ! isset( $token_response['access_token'] ) ) { $this->user_options->set( self::OPTION_ERROR_CODE, 'access_token_not_received' ); return; } $this->active_consumers->delete(); $this->set_token( $token_response ); } /** * Revokes the access token. * * @since 1.0.0 */ public function revoke_token() { try { $this->get_client()->revokeToken(); } catch ( \Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement // No special handling, we just need to make sure this goes through. } $this->delete_token(); } /** * Gets the list of currently granted Google OAuth scopes for the current user. * * @since 1.0.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @return string[] List of Google OAuth scopes. */ public function get_granted_scopes() { $base_scopes = parent::get_granted_scopes(); $extra_scopes = $this->get_granted_additional_scopes(); return array_unique( array_merge( $base_scopes, $extra_scopes ) ); } /** * Gets the list of currently granted additional Google OAuth scopes for the current user. * * Scopes are considered "additional scopes" if they were granted to perform a specific action, * rather than being granted as an overall required scope. * * @since 1.9.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @return string[] List of Google OAuth scopes. */ public function get_granted_additional_scopes() { return array_values( $this->user_options->get( self::OPTION_ADDITIONAL_AUTH_SCOPES ) ?: array() ); } /** * Checks if new scopes are required that are not yet granted for the current user. * * @since 1.9.0 * * @return bool true if any required scopes are not satisfied, otherwise false. */ public function needs_reauthentication() { if ( ! $this->token->has() ) { return false; } return ! $this->has_sufficient_scopes(); } /** * Gets the list of scopes which are not satisfied by the currently granted scopes. * * @since 1.9.0 * * @param string[] $scopes Optional. List of scopes to test against granted scopes. * Default is the list of required scopes. * @return string[] Filtered $scopes list, only including scopes that are not satisfied. */ public function get_unsatisfied_scopes( array $scopes = null ) { if ( null === $scopes ) { $scopes = $this->get_required_scopes(); } $granted_scopes = $this->get_granted_scopes(); $unsatisfied_scopes = array_filter( $scopes, function ( $scope ) use ( $granted_scopes ) { return ! Scopes::is_satisfied_by( $scope, $granted_scopes ); } ); return array_values( $unsatisfied_scopes ); } /** * Checks whether or not currently granted scopes are sufficient for the given list. * * @since 1.9.0 * * @param string[] $scopes Optional. List of scopes to test against granted scopes. * Default is the list of required scopes. * @return bool True if all $scopes are satisfied, false otherwise. */ public function has_sufficient_scopes( array $scopes = null ) { if ( null === $scopes ) { $scopes = $this->get_required_scopes(); } return Scopes::are_satisfied_by( $scopes, $this->get_granted_scopes() ); } /** * Sets the list of currently granted Google OAuth scopes for the current user. * * @since 1.0.0 * @see https://developers.google.com/identity/protocols/googlescopes * * @param string[] $scopes List of Google OAuth scopes. */ public function set_granted_scopes( $scopes ) { $required_scopes = $this->get_required_scopes(); $base_scopes = array(); $extra_scopes = array(); foreach ( $scopes as $scope ) { if ( in_array( $scope, $required_scopes, true ) ) { $base_scopes[] = $scope; } else { $extra_scopes[] = $scope; } } parent::set_granted_scopes( $base_scopes ); $this->user_options->set( self::OPTION_ADDITIONAL_AUTH_SCOPES, $extra_scopes ); } /** * Gets the current user's OAuth access token. * * @since 1.0.0 * * @return string|bool Access token if it exists, false otherwise. */ public function get_access_token() { $token = $this->get_token(); if ( empty( $token['access_token'] ) ) { return false; } return $token['access_token']; } /** * Sets the current user's OAuth access token. * * @since 1.0.0 * @deprecated 1.39.0 Use `OAuth_Client::set_token` instead. * * @param string $access_token New access token. * @param int $expires_in TTL of the access token in seconds. * @param int $created Optional. Timestamp when the token was created, in GMT. Default is the current time. * @return bool True on success, false on failure. */ public function set_access_token( $access_token, $expires_in, $created = 0 ) { _deprecated_function( __METHOD__, '1.39.0', self::class . '::set_token' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped return $this->set_token( array( 'access_token' => $access_token, 'expires_in' => $expires_in, 'created' => $created, ) ); } /** * Gets the current user's OAuth refresh token. * * @since 1.0.0 * @deprecated 1.39.0 Use `OAuth_Client::get_token` instead. * * @return string|bool Refresh token if it exists, false otherwise. */ public function get_refresh_token() { _deprecated_function( __METHOD__, '1.39.0', self::class . '::get_token' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped $token = $this->get_token(); if ( empty( $token['refresh_token'] ) ) { return false; } return $token['refresh_token']; } /** * Sets the current user's OAuth refresh token. * * @since 1.0.0 * @deprecated 1.39.0 Use `OAuth_Client::set_token` instead. * * @param string $refresh_token New refresh token. * @return bool True on success, false on failure. */ public function set_refresh_token( $refresh_token ) { _deprecated_function( __METHOD__, '1.39.0', self::class . '::set_token' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped $token = $this->get_token(); $token['refresh_token'] = $refresh_token; return $this->set_token( $token ); } /** * Gets the authentication URL. * * @since 1.0.0 * @since 1.9.0 Added $additional_scopes parameter. * @since 1.34.1 Updated handling of $additional_scopes to restore rewritten scope. * * @param string $redirect_url Redirect URL after authentication. * @param string $error_redirect_url Redirect URL after authentication error. * @param string[] $additional_scopes List of additional scopes to request. * @return string Authentication URL. */ public function get_authentication_url( $redirect_url = '', $error_redirect_url = '', $additional_scopes = array() ) { if ( empty( $redirect_url ) ) { $redirect_url = $this->context->admin_url( 'splash' ); } if ( is_array( $additional_scopes ) ) { // Rewrite each scope to convert `gttp` -> `http`, if it starts with this placeholder scheme. // This restores the original scope rewritten by getConnectURL. $additional_scopes = array_map( function ( $scope ) { return preg_replace( '/^gttp(s)?:/', 'http$1:', $scope ); }, $additional_scopes ); } else { $additional_scopes = array(); } $url_query = URL::parse( $redirect_url, PHP_URL_QUERY ); if ( $url_query ) { parse_str( $url_query, $query_args ); } if ( empty( $query_args['notification'] ) ) { $redirect_url = add_query_arg( array( 'notification' => 'authentication_success' ), $redirect_url ); } // Ensure we remove error query string. $redirect_url = remove_query_arg( 'error', $redirect_url ); $this->user_options->set( self::OPTION_REDIRECT_URL, $redirect_url ); $this->user_options->set( self::OPTION_ERROR_REDIRECT_URL, $error_redirect_url ); // Ensure the latest required scopes are requested. $scopes = array_merge( $this->get_required_scopes(), $additional_scopes ); $this->get_client()->setScopes( array_unique( $scopes ) ); return add_query_arg( $this->google_proxy->get_metadata_fields(), $this->get_client()->createAuthUrl() ); } /** * Redirects the current user to the Google OAuth consent screen, or processes a response from that consent * screen if present. * * @since 1.0.0 * @since 1.49.0 Uses the new `Google_Proxy::setup_url_v2` method when the `serviceSetupV2` feature flag is enabled. */ public function authorize_user() { $code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'code' ) ?? '' ); $error_code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'error' ) ?? '' ); // If the OAuth redirects with an error code, handle it. if ( ! empty( $error_code ) ) { $this->user_options->set( self::OPTION_ERROR_CODE, $error_code ); wp_safe_redirect( $this->authorize_user_redirect_url() ); exit(); } if ( ! $this->credentials->has() ) { $this->user_options->set( self::OPTION_ERROR_CODE, 'oauth_credentials_not_exist' ); wp_safe_redirect( $this->authorize_user_redirect_url() ); exit(); } try { $token_response = $this->get_client()->fetchAccessTokenWithAuthCode( $code ); } catch ( Google_Proxy_Code_Exception $e ) { // Redirect back to proxy immediately with the access code. $credentials = $this->credentials->get(); $params = array( 'code' => $e->getAccessCode(), 'site_id' => ! empty( $credentials['oauth2_client_id'] ) ? $credentials['oauth2_client_id'] : '', ); $params = $this->google_proxy->add_setup_step_from_error_code( $params, $e->getMessage() ); $url = $this->google_proxy->setup_url( $params ); wp_safe_redirect( $url ); exit(); } catch ( Exception $e ) { $this->handle_fetch_token_exception( $e ); wp_safe_redirect( $this->authorize_user_redirect_url() ); exit(); } if ( ! isset( $token_response['access_token'] ) ) { $this->user_options->set( self::OPTION_ERROR_CODE, 'access_token_not_received' ); wp_safe_redirect( $this->authorize_user_redirect_url() ); exit(); } // Update the access token and refresh token. $this->set_token( $token_response ); // Store the previously granted scopes for use in the action below before they're updated. $previous_scopes = $this->get_granted_scopes(); // Update granted scopes. if ( isset( $token_response['scope'] ) ) { $scopes = explode( ' ', sanitize_text_field( $token_response['scope'] ) ); } elseif ( $this->context->input()->filter( INPUT_GET, 'scope' ) ) { $scope = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'scope' ) ); $scopes = explode( ' ', $scope ); } else { $scopes = $this->get_required_scopes(); } $scopes = array_filter( $scopes, function ( $scope ) { if ( ! is_string( $scope ) ) { return false; } if ( in_array( $scope, array( 'openid', 'profile', 'email' ), true ) ) { return true; } return 0 === strpos( $scope, 'https://www.googleapis.com/auth/' ); } ); $this->set_granted_scopes( $scopes ); $this->refresh_profile_data( 2 * MINUTE_IN_SECONDS ); /** * Fires when the current user has just been authorized to access Google APIs. * * In other words, this action fires whenever Site Kit has just obtained a new set of access token and * refresh token for the current user, which may happen to set up the initial connection or to request * access to further scopes. * * @since 1.3.0 * @since 1.6.0 The $token_response parameter was added. * @since 1.30.0 The $scopes and $previous_scopes parameters were added. * * @param array $token_response Token response data. * @param string[] $scopes List of scopes. * @param string[] $previous_scopes List of previous scopes. */ do_action( 'googlesitekit_authorize_user', $token_response, $scopes, $previous_scopes ); // This must happen after googlesitekit_authorize_user as the permissions checks depend on // values set which affect the meta capability mapping. $current_user_id = get_current_user_id(); if ( $this->should_update_owner_id( $current_user_id ) ) { $this->owner_id->set( $current_user_id ); } $redirect_url = $this->user_options->get( self::OPTION_REDIRECT_URL ); if ( $redirect_url ) { $url_query = URL::parse( $redirect_url, PHP_URL_QUERY ); if ( $url_query ) { parse_str( $url_query, $query_args ); } $reauth = isset( $query_args['reAuth'] ) && 'true' === $query_args['reAuth']; if ( false === $reauth && empty( $query_args['notification'] ) ) { $redirect_url = add_query_arg( array( 'notification' => 'authentication_success' ), $redirect_url ); } $this->user_options->delete( self::OPTION_REDIRECT_URL ); $this->user_options->delete( self::OPTION_ERROR_REDIRECT_URL ); } else { // No redirect_url is set, use default page. $redirect_url = $this->context->admin_url( 'splash', array( 'notification' => 'authentication_success' ) ); } wp_safe_redirect( $redirect_url ); exit(); } /** * Fetches and updates the user profile data for the currently authenticated Google account. * * @since 1.1.4 * @since 1.13.0 Added $retry_after param, also made public. * * @param int $retry_after Optional. Number of seconds to retry data fetch if unsuccessful. */ public function refresh_profile_data( $retry_after = 0 ) { $client = $this->get_client(); $restore_defer = $client->withDefer( false ); try { $people_service = new Google_Service_PeopleService( $client ); $response = $people_service->people->get( 'people/me', array( 'personFields' => 'emailAddresses,photos,names' ) ); if ( isset( $response['emailAddresses'][0]['value'], $response['photos'][0]['url'], $response['names'][0]['displayName'] ) ) { $this->profile->set( array( 'email' => $response['emailAddresses'][0]['value'], 'photo' => $response['photos'][0]['url'], 'full_name' => $response['names'][0]['displayName'], 'last_updated' => time(), ) ); } // Clear any scheduled job to refresh this data later, if any. wp_clear_scheduled_hook( self::CRON_REFRESH_PROFILE_DATA, array( $this->user_options->get_user_id() ) ); } catch ( Exception $e ) { $retry_after = absint( $retry_after ); if ( $retry_after < 1 ) { return; } wp_schedule_single_event( time() + $retry_after, self::CRON_REFRESH_PROFILE_DATA, array( $this->user_options->get_user_id() ) ); } finally { $restore_defer(); } } /** * Determines whether the authentication proxy is used. * * In order to streamline the setup and authentication flow, the plugin uses a proxy mechanism based on an external * service. This can be overridden by providing actual GCP credentials with the {@see 'googlesitekit_oauth_secret'} * filter. * * @since 1.0.0 * @deprecated 1.9.0 * * @return bool True if proxy authentication is used, false otherwise. */ public function using_proxy() { _deprecated_function( __METHOD__, '1.9.0', Credentials::class . '::using_proxy' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped return $this->credentials->using_proxy(); } /** * Determines whether the current owner ID must be changed or not. * * @since 1.16.0 * * @param int $user_id Current user ID. * @return bool TRUE if owner needs to be changed, otherwise FALSE. */ private function should_update_owner_id( $user_id ) { $current_owner_id = $this->owner_id->get(); if ( $current_owner_id === $user_id ) { return false; } if ( ! empty( $current_owner_id ) && user_can( $current_owner_id, Permissions::MANAGE_OPTIONS ) ) { return false; } if ( ! user_can( $user_id, Permissions::MANAGE_OPTIONS ) ) { return false; } return true; } /** * Returns the permissions URL to the authentication proxy. * * This only returns a URL if the user already has an access token set. * * @since 1.0.0 * * @return string URL to the permissions page on the authentication proxy on success, * or empty string on failure. */ public function get_proxy_permissions_url() { $access_token = $this->get_access_token(); if ( empty( $access_token ) ) { return ''; } return $this->google_proxy->permissions_url( $this->credentials, array( 'token' => $access_token ) ); } /** * Deletes the current user's token and all associated data. * * @since 1.0.3 */ protected function delete_token() { parent::delete_token(); $this->user_options->delete( self::OPTION_REDIRECT_URL ); $this->user_options->delete( self::OPTION_ERROR_REDIRECT_URL ); $this->user_options->delete( self::OPTION_ADDITIONAL_AUTH_SCOPES ); } /** * Return the URL for the user to view the dashboard/splash * page based on their permissions. * * @since 1.77.0 */ private function authorize_user_redirect_url() { $error_redirect_url = $this->user_options->get( self::OPTION_ERROR_REDIRECT_URL ); if ( $error_redirect_url ) { $this->user_options->delete( self::OPTION_ERROR_REDIRECT_URL ); return $error_redirect_url; } return current_user_can( Permissions::VIEW_DASHBOARD ) ? $this->context->admin_url( 'dashboard' ) : $this->context->admin_url( 'splash' ); } /** * Adds a user to the active consumers list. * * @since 1.87.0 * * @param WP_User $user User object. */ public function add_active_consumer( WP_User $user ) { $this->active_consumers->add( $user->ID, $user->roles ); } } includes/Core/Authentication/Exception/Exchange_Site_Code_Exception.php 0000604 00000001023 14717744000 0022342 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Exception\Exchange_Site_Code_Exception * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Exception; use Exception; /** * Exception thrown when exchanging the site code fails. * * @since 1.48.0 * @access private * @ignore */ class Exchange_Site_Code_Exception extends Exception { } includes/Core/Authentication/Exception/Google_OAuth_Exception.php 0000604 00000001027 14717744000 0021222 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Exception\Google_OAuth_Exception * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Exception; use Exception; /** * Exception thrown when a Google OAuth response contains an OAuth error. * * @since 1.2.0 * @access private * @ignore */ class Google_OAuth_Exception extends Exception { } includes/Core/Authentication/Exception/Google_Proxy_Code_Exception.php 0000604 00000002751 14717744000 0022262 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Exception\Google_Proxy_Code_Exception * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Exception; use Exception; /** * Exception thrown when Google proxy returns an error accompanied with a temporary access code. * * @since 1.0.0 * @since 1.2.0 Renamed to Google_Proxy_Code_Exception. * @access private * @ignore */ class Google_Proxy_Code_Exception extends Exception { /** * Temporary code for an undelegated proxy token. * * @since 1.109.0 Explicitly declared; previously, it was dynamically declared. * * @var string */ protected $access_code; /** * Constructor. * * @since 1.0.0 * * @param string $message Optional. The exception message. Default empty string. * @param integer $code Optional. The numeric exception code. Default 0. * @param string $access_code Optional. Temporary code for an undelegated proxy token. Default empty string. */ public function __construct( $message = '', $code = 0, $access_code = '' ) { parent::__construct( $message, $code ); $this->access_code = $access_code; } /** * Gets the temporary access code for an undelegated proxy token. * * @since 1.0.0 * * @return string Temporary code. */ public function getAccessCode() { return $this->access_code; } } includes/Core/Authentication/Exception/Insufficient_Scopes_Exception.php 0000604 00000004040 14717744000 0022646 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Exception\Insufficient_Scopes_Exception * * @package Google\Site_Kit\Core\Authentication\Exception * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Exception; use Exception; use Google\Site_Kit\Core\Contracts\WP_Errorable; use WP_Error; /** * Exception thrown when authentication scopes are insufficient for a request. * * @since 1.9.0 * @access private * @ignore */ class Insufficient_Scopes_Exception extends Exception implements WP_Errorable { const WP_ERROR_CODE = 'missing_required_scopes'; /** * OAuth scopes that are required but not yet granted. * * @since 1.9.0 * * @var array */ protected $scopes = array(); /** * Constructor. * * @since 1.9.0 * * @param string $message Optional. Exception message. * @param int $code Optional. Exception code. * @param Throwable $previous Optional. Previous exception used for chaining. * @param array $scopes Optional. Scopes that are missing. */ public function __construct( $message = '', $code = 0, $previous = null, $scopes = array() ) { parent::__construct( $message, $code, $previous ); $this->set_scopes( $scopes ); } /** * Sets the missing scopes that raised this exception. * * @since 1.9.0 * * @param array $scopes OAuth scopes that are required but not yet granted. */ public function set_scopes( array $scopes ) { $this->scopes = $scopes; } /** * Gets the missing scopes that raised this exception. * * @since 1.9.0 * * @return array */ public function get_scopes() { return $this->scopes; } /** * Gets the WP_Error representation of this exception. * * @since 1.9.0 * * @return WP_Error */ public function to_wp_error() { return new WP_Error( static::WP_ERROR_CODE, $this->getMessage(), array( 'status' => 403, // Forbidden. 'scopes' => $this->scopes, ) ); } } includes/Core/Authentication/Exception/Missing_Verification_Exception.php 0000604 00000001111 14717744000 0023013 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Exception\Missing_Verification_Exception * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Exception; /** * Exception thrown when the a missing verification error is encountered when exchanging the site code. * * @since 1.48.0 * @access private * @ignore */ class Missing_Verification_Exception extends Exchange_Site_Code_Exception { } includes/Core/Authentication/Guards/Site_Connected_Guard.php 0000604 00000002122 14717744000 0020164 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Guards\Site_Connected_Guard * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Guards; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Class providing guard logic for site connection. * * @since 1.133.0 * @access private * @ignore */ class Site_Connected_Guard implements Guard_Interface { /** * Credentials instance. * * @var Credentials */ private Credentials $credentials; /** * Constructor. * * @since 1.133.0 * @param Credentials $credentials Credentials instance. */ public function __construct( Credentials $credentials ) { $this->credentials = $credentials; } /** * Determines whether the guarded entity can be activated or not. * * @since 1.133.0 * @return bool|\WP_Error */ public function can_activate() { return $this->credentials->has(); } } includes/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php 0000604 00000002160 14717744000 0021745 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Guards\Using_Proxy_Connection_Guard * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication\Guards; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Class providing guard logic based on proxy connection. * * @since 1.133.0 * @access private * @ignore */ class Using_Proxy_Connection_Guard implements Guard_Interface { /** * Credentials instance. * * @var Credentials */ private Credentials $credentials; /** * Constructor. * * @since 1.133.0 * @param Credentials $credentials Credentials instance. */ public function __construct( Credentials $credentials ) { $this->credentials = $credentials; } /** * Determines whether the guarded entity can be activated or not. * * @since 1.133.0 * @return bool|\WP_Error */ public function can_activate() { return $this->credentials->using_proxy(); } } includes/Core/Authentication/Authentication.php 0000604 00000111513 14717744000 0015713 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Authentication * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit\Core\Admin\Notice; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\User_Input\User_Input; use Google\Site_Kit\Plugin; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Util\BC_Functions; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Core\Util\Auto_Updates; use Google\Site_Kit\Core\Authentication\REST_Authentication_Controller; /** * Authentication Class. * * @since 1.0.0 * @access private * @ignore */ final class Authentication { use Method_Proxy_Trait; const ACTION_CONNECT = 'googlesitekit_connect'; const ACTION_DISCONNECT = 'googlesitekit_disconnect'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Options object. * * @since 1.0.0 * * @var Options */ private $options = null; /** * User_Options object. * * @since 1.0.0 * * @var User_Options */ private $user_options = null; /** * User_Input * * @since 1.90.0 * * @var User_Input */ private $user_input = null; /** * Transients object. * * @since 1.0.0 * * @var Transients */ private $transients = null; /** * Modules object. * * @since 1.70.0 * * @var Modules */ private $modules = null; /** * OAuth client object. * * @since 1.0.0 * * @var Clients\OAuth_Client */ private $auth_client = null; /** * OAuth credentials instance. * * @since 1.0.0 * @var Credentials */ protected $credentials; /** * Verification instance. * * @since 1.0.0 * @var Verification */ protected $verification; /** * Verification meta instance. * * @since 1.1.0 * @var Verification_Meta */ protected $verification_meta; /** * Verification file instance. * * @since 1.1.0 * @var Verification_File */ protected $verification_file; /** * Profile instance. * * @since 1.0.0 * @var Profile */ protected $profile; /** * Token instance. * * @since 1.39.0 * @var Token */ protected $token; /** * Owner_ID instance. * * @since 1.16.0 * @var Owner_ID */ protected $owner_id; /** * Has_Connected_Admins instance. * * @since 1.14.0 * @var Has_Connected_Admins */ protected $has_connected_admins; /** * Has_Multiple_Admins instance. * * @since 1.29.0 * @var Has_Multiple_Admins */ protected $has_multiple_admins; /** * Connected_Proxy_URL instance. * * @since 1.17.0 * @var Connected_Proxy_URL */ protected $connected_proxy_url; /** * Disconnected_Reason instance. * * @since 1.17.0 * @var Disconnected_Reason */ protected $disconnected_reason; /** * Google_Proxy instance. * * @since 1.1.2 * @var Google_Proxy */ protected $google_proxy; /** * Initial_Version instance. * * @since 1.25.0 * @var Initial_Version */ protected $initial_version; /** * Flag set when site fields are synchronized during the current request. * * @var bool */ private $did_sync_fields; /** * REST_Authentication_controller instance. * * @since 1.131.0 * @var REST_Authentication_Controller */ protected $rest_authentication_controller; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Transients $transients Optional. Transient API instance. Default is a new instance. * @param User_Input $user_input Optional. User_Input instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Transients $transients = null, User_Input $user_input = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); $this->user_options = $user_options ?: new User_Options( $this->context ); $this->transients = $transients ?: new Transients( $this->context ); $this->modules = new Modules( $this->context, $this->options, $this->user_options, $this ); $this->user_input = $user_input ?: new User_Input( $context, $this->options, $this->user_options ); $this->google_proxy = new Google_Proxy( $this->context ); $this->credentials = new Credentials( new Encrypted_Options( $this->options ) ); $this->verification = new Verification( $this->user_options ); $this->verification_meta = new Verification_Meta( $this->user_options ); $this->verification_file = new Verification_File( $this->user_options ); $this->profile = new Profile( $this->user_options ); $this->token = new Token( $this->user_options ); $this->owner_id = new Owner_ID( $this->options ); $this->has_connected_admins = new Has_Connected_Admins( $this->options, $this->user_options ); $this->has_multiple_admins = new Has_Multiple_Admins( $this->transients ); $this->connected_proxy_url = new Connected_Proxy_URL( $this->options ); $this->disconnected_reason = new Disconnected_Reason( $this->user_options ); $this->initial_version = new Initial_Version( $this->user_options ); $this->rest_authentication_controller = new REST_Authentication_Controller( $this ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $this->credentials()->register(); $this->verification()->register(); $this->verification_file()->register(); $this->verification_meta()->register(); $this->has_connected_admins->register(); $this->owner_id->register(); $this->connected_proxy_url->register(); $this->disconnected_reason->register(); $this->initial_version->register(); $this->rest_authentication_controller->register(); add_filter( 'allowed_redirect_hosts', $this->get_method_proxy( 'allowed_redirect_hosts' ) ); add_filter( 'googlesitekit_admin_data', $this->get_method_proxy( 'inline_js_admin_data' ) ); add_filter( 'googlesitekit_admin_notices', $this->get_method_proxy( 'authentication_admin_notices' ) ); add_filter( 'googlesitekit_inline_base_data', $this->get_method_proxy( 'inline_js_base_data' ) ); add_filter( 'googlesitekit_setup_data', $this->get_method_proxy( 'inline_js_setup_data' ) ); add_action( 'admin_init', $this->get_method_proxy( 'handle_oauth' ) ); add_action( 'admin_init', $this->get_method_proxy( 'check_connected_proxy_url' ) ); add_action( 'admin_action_' . self::ACTION_CONNECT, $this->get_method_proxy( 'handle_connect' ) ); add_action( 'admin_action_' . self::ACTION_DISCONNECT, $this->get_method_proxy( 'handle_disconnect' ) ); add_action( 'admin_action_' . Google_Proxy::ACTION_PERMISSIONS, function () { $this->handle_proxy_permissions(); } ); add_action( 'googlesitekit_authorize_user', function () { if ( ! $this->credentials->using_proxy() ) { return; } $this->set_connected_proxy_url(); }, 10, 3 ); add_filter( 'googlesitekit_user_data', function ( $user ) { if ( $this->profile->has() ) { $profile_data = $this->profile->get(); $user['user']['email'] = $profile_data['email']; $user['user']['picture'] = $profile_data['photo']; // Older versions of Site Kit (before 1.86.0) did not // fetch the user's full name, so we need to check for // that attribute before using it. $user['user']['full_name'] = isset( $profile_data['full_name'] ) ? $profile_data['full_name'] : null; } $user['connectURL'] = esc_url_raw( $this->get_connect_url() ); $user['hasMultipleAdmins'] = $this->has_multiple_admins->get(); $user['initialVersion'] = $this->initial_version->get(); $user['isUserInputCompleted'] = ! $this->user_input->are_settings_empty(); $user['verified'] = $this->verification->has(); return $user; } ); add_filter( 'googlesitekit_inline_tracking_data', $this->get_method_proxy( 'inline_js_tracking_data' ) ); // Synchronize site fields on shutdown when select options change. $option_updated = function () { $sync_site_fields = function () { if ( $this->did_sync_fields ) { return; } // This method should run no more than once per request. $this->did_sync_fields = true; if ( $this->credentials->using_proxy() ) { $this->google_proxy->sync_site_fields( $this->credentials() ); } }; add_action( 'shutdown', $sync_site_fields ); }; add_action( 'update_option_blogname', $option_updated ); add_action( 'update_option_googlesitekit_db_version', $option_updated ); add_action( OAuth_Client::CRON_REFRESH_PROFILE_DATA, function ( $user_id ) { $this->cron_refresh_profile_data( $user_id ); } ); // If no initial version set for the current user, set it when getting a new access token. if ( ! $this->initial_version->get() ) { $set_initial_version = function () { $this->initial_version->set( GOOGLESITEKIT_VERSION ); }; add_action( 'googlesitekit_authorize_user', $set_initial_version ); add_action( 'googlesitekit_reauthorize_user', $set_initial_version ); } add_action( 'current_screen', function ( $current_screen ) { $this->maybe_refresh_token_for_screen( $current_screen->id ); } ); add_action( 'heartbeat_tick', function ( $response, $screen_id ) { $this->maybe_refresh_token_for_screen( $screen_id ); }, 10, 2 ); // Regularly synchronize Google profile data. add_action( 'googlesitekit_reauthorize_user', function () { if ( ! $this->profile->has() ) { return; } $profile_data = $this->profile->get(); if ( ! isset( $profile_data['last_updated'] ) || time() - $profile_data['last_updated'] > DAY_IN_SECONDS ) { $this->get_oauth_client()->refresh_profile_data( 30 * MINUTE_IN_SECONDS ); } } ); } /** * Gets the OAuth credentials object. * * @since 1.0.0 * * @return Credentials Credentials instance. */ public function credentials() { return $this->credentials; } /** * Gets the verification instance. * * @since 1.0.0 * * @return Verification Verification instance. */ public function verification() { return $this->verification; } /** * Gets the verification tag instance. * * @since 1.0.0 * @deprecated 1.1.0 * * @return Verification_Meta Verification tag instance. */ public function verification_tag() { _deprecated_function( __METHOD__, '1.1.0', __CLASS__ . '::verification_meta()' ); return $this->verification_meta; } /** * Gets the verification meta instance. * * @since 1.1.0 * * @return Verification_Meta Verification tag instance. */ public function verification_meta() { return $this->verification_meta; } /** * Gets the verification file instance. * * @since 1.1.0 * * @return Verification_File Verification file instance. */ public function verification_file() { return $this->verification_file; } /** * Gets the Profile instance. * * @since 1.0.0 * * @return Profile Profile instance. */ public function profile() { return $this->profile; } /** * Gets the Token instance. * * @since 1.39.0 * * @return Token Token instance. */ public function token() { return $this->token; } /** * Gets the OAuth client instance. * * @since 1.0.0 * * @return Clients\OAuth_Client OAuth client instance. */ public function get_oauth_client() { if ( ! $this->auth_client instanceof OAuth_Client ) { $this->auth_client = new OAuth_Client( $this->context, $this->options, $this->user_options, $this->credentials, $this->google_proxy, $this->profile, $this->token ); } return $this->auth_client; } /** * Gets the Google Proxy instance. * * @since 1.19.0 * * @return Google_Proxy An instance of Google Proxy. */ public function get_google_proxy() { return $this->google_proxy; } /** * Revokes authentication along with user options settings. * * @since 1.0.0 */ public function disconnect() { global $wpdb; // Revoke token via API call. $this->get_oauth_client()->revoke_token(); // Delete all user data. $user_id = $this->user_options->get_user_id(); $prefix = $this->user_options->get_meta_key( 'googlesitekit\_%' ); // Reset Has_Connected_Admins setting. $this->has_connected_admins->delete(); // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key LIKE %s", $user_id, $prefix ) ); wp_cache_delete( $user_id, 'user_meta' ); } /** * Gets the URL for connecting to Site Kit. * * @since 1.0.0 * @since 1.32.0 Updated to use dedicated action URL. * * @return string Connect URL. */ public function get_connect_url() { return add_query_arg( array( 'action' => self::ACTION_CONNECT, 'nonce' => wp_create_nonce( self::ACTION_CONNECT ), ), admin_url( 'index.php' ) ); } /** * Gets the URL for disconnecting from Site Kit. * * @since 1.0.0 * @since 1.32.0 Updated to use dedicated action URL. * * @return string Disconnect URL. */ public function get_disconnect_url() { return add_query_arg( array( 'action' => self::ACTION_DISCONNECT, 'nonce' => wp_create_nonce( self::ACTION_DISCONNECT ), ), admin_url( 'index.php' ) ); } /** * Check if the current user is authenticated. * * @since 1.0.0 * * @return boolean True if the user is authenticated, false otherwise. */ public function is_authenticated() { return $this->token->has(); } /** * Checks whether the Site Kit setup is considered complete. * * If this is not the case, most permissions will be force-prevented to ensure that only permissions required for * initial setup are granted. * * @since 1.0.0 * @since 1.7.0 Moved from `Permissions` class. * * @return bool True if setup is completed, false otherwise. */ public function is_setup_completed() { if ( ! $this->credentials->has() ) { return false; } /** * Filters whether the Site Kit plugin should consider its setup to be completed. * * This can be used by essential auto-activated modules to amend the result of this check. * * @since 1.0.0 * * @param bool $complete Whether the setup is completed. */ return (bool) apply_filters( 'googlesitekit_setup_complete', true ); } /** * Refreshes user profile data in the background. * * @since 1.13.0 * * @param int $user_id User ID to refresh profile data for. */ private function cron_refresh_profile_data( $user_id ) { $original_user_id = $this->user_options->get_user_id(); $this->user_options->switch_user( $user_id ); if ( $this->is_authenticated() ) { $this->get_oauth_client()->refresh_profile_data( 30 * MINUTE_IN_SECONDS ); } $this->user_options->switch_user( $original_user_id ); } /** * Proactively refreshes the current user's OAuth token when on the * Site Kit Plugin Dashboard screen. * * Also refreshes the module owner's OAuth token for all shareable modules * the current user can read shared data for. * * @since 1.42.0 * @since 1.70.0 Moved the closure within regiser() to this method. * * @param string $screen_id The unique ID of the current WP_Screen. * * @return void */ private function maybe_refresh_token_for_screen( $screen_id ) { if ( 'dashboard' !== $screen_id && 'toplevel_page_googlesitekit-dashboard' !== $screen_id ) { return; } $this->refresh_shared_module_owner_tokens(); if ( ! current_user_can( Permissions::AUTHENTICATE ) || ! $this->credentials()->has() ) { return; } $this->refresh_user_token(); } /** * Proactively refreshes the module owner's OAuth token for all shareable * modules the current user can read shared data for. * * @since 1.70.0 * * @return void */ private function refresh_shared_module_owner_tokens() { $shareable_modules = $this->modules->get_shareable_modules(); foreach ( $shareable_modules as $module_slug => $module ) { if ( ! current_user_can( Permissions::READ_SHARED_MODULE_DATA, $module_slug ) ) { continue; } $owner_id = $module->get_owner_id(); if ( ! $owner_id ) { continue; } $restore_user = $this->user_options->switch_user( $owner_id ); $this->refresh_user_token(); $restore_user(); } } /** * Proactively refreshes the current user's OAuth token. * * @since 1.70.0 * * @return void */ private function refresh_user_token() { $token = $this->token->get(); // Do nothing if the token is not set. if ( empty( $token['created'] ) || empty( $token['expires_in'] ) ) { return; } // Do nothing if the token expires in more than 5 minutes. if ( $token['created'] + $token['expires_in'] > time() + 5 * MINUTE_IN_SECONDS ) { return; } $this->get_oauth_client()->refresh_token(); } /** * Accessible method to call refresh_user_token() for classes using Authentication. * * @since 1.131.0 * * @return void */ public function do_refresh_user_token() { $this->refresh_user_token(); } /** * Handles receiving a temporary OAuth code. * * @since 1.0.0 * @since 1.32.0 Moved connect and disconnect actions to dedicated handlers. */ private function handle_oauth() { if ( defined( 'WP_CLI' ) && WP_CLI ) { return; } // Handles Direct OAuth client request. if ( $this->context->input()->filter( INPUT_GET, 'oauth2callback' ) ) { if ( ! current_user_can( Permissions::AUTHENTICATE ) ) { wp_die( esc_html__( 'You don’t have permissions to authenticate with Site Kit.', 'google-site-kit' ), 403 ); } $this->get_oauth_client()->authorize_user(); } } /** * Handles request to connect via oAuth. * * @since 1.32.0 */ private function handle_connect() { $input = $this->context->input(); $nonce = $input->filter( INPUT_GET, 'nonce' ); if ( ! wp_verify_nonce( $nonce, self::ACTION_CONNECT ) ) { $this->invalid_nonce_error( self::ACTION_CONNECT ); } if ( ! current_user_can( Permissions::AUTHENTICATE ) ) { wp_die( esc_html__( 'You don’t have permissions to authenticate with Site Kit.', 'google-site-kit' ), 403 ); } $redirect_url = $input->filter( INPUT_GET, 'redirect', FILTER_DEFAULT ); if ( $redirect_url ) { $redirect_url = esc_url_raw( wp_unslash( $redirect_url ) ); } $error_redirect_url = $input->filter( INPUT_GET, 'errorRedirect', FILTER_DEFAULT ); if ( $error_redirect_url ) { $error_redirect_url = esc_url_raw( wp_unslash( $error_redirect_url ) ); } // User is trying to authenticate, but access token hasn't been set. $additional_scopes = $input->filter( INPUT_GET, 'additional_scopes', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); wp_safe_redirect( $this->get_oauth_client()->get_authentication_url( $redirect_url, $error_redirect_url, $additional_scopes ) ); exit(); } /** * Handles request to disconnect via oAuth. * * @since 1.32.0 */ private function handle_disconnect() { $nonce = $this->context->input()->filter( INPUT_GET, 'nonce' ); if ( ! wp_verify_nonce( $nonce, self::ACTION_DISCONNECT ) ) { $this->invalid_nonce_error( self::ACTION_DISCONNECT ); } if ( ! current_user_can( Permissions::AUTHENTICATE ) ) { wp_die( esc_html__( 'You don’t have permissions to authenticate with Site Kit.', 'google-site-kit' ), 403 ); } $this->disconnect(); $redirect_url = $this->context->admin_url( 'splash', array( 'googlesitekit_reset_session' => 1, ) ); wp_safe_redirect( $redirect_url ); exit(); } /** * Gets the update core URL if the user can update the WordPress core version. * * If the site is multisite, it gets the update core URL for the network admin. * * @since 1.85.0 * * @return string The update core URL. */ private function get_update_core_url() { if ( ! current_user_can( 'update_core' ) ) { return ''; } if ( is_multisite() ) { return admin_url( 'network/update-core.php' ); } return admin_url( 'update-core.php' ); } /** * Modifies the base data to pass to JS. * * @since 1.2.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_base_data( $data ) { $data['isOwner'] = $this->owner_id->get() === get_current_user_id(); $data['splashURL'] = esc_url_raw( $this->context->admin_url( 'splash' ) ); $data['proxySetupURL'] = ''; $data['proxyPermissionsURL'] = ''; $data['usingProxy'] = false; $data['isAuthenticated'] = $this->is_authenticated(); $data['setupErrorCode'] = null; $data['setupErrorMessage'] = null; $data['setupErrorRedoURL'] = null; $data['proxySupportLinkURL'] = null; $data['updateCoreURL'] = null; if ( $this->credentials->using_proxy() ) { $auth_client = $this->get_oauth_client(); $data['proxySetupURL'] = esc_url_raw( $this->get_proxy_setup_url() ); $data['proxyPermissionsURL'] = esc_url_raw( $this->get_proxy_permissions_url() ); $data['usingProxy'] = true; $data['proxySupportLinkURL'] = esc_url_raw( $this->get_proxy_support_link_url() ); $data['updateCoreURL'] = esc_url_raw( $this->get_update_core_url() ); // Check for an error in the proxy setup. $error_code = $this->user_options->get( OAuth_Client::OPTION_ERROR_CODE ); // If an error is found, add it to the data we send to the client. // // We'll also remove the existing access code in the user options, // because it isn't valid (given there was a setup error). if ( ! empty( $error_code ) ) { $data['setupErrorCode'] = $error_code; $data['setupErrorMessage'] = $auth_client->get_error_message( $error_code ); // Get credentials needed to authenticate with the proxy // so we can build a new setup URL. $credentials = $this->credentials->get(); $access_code = $this->user_options->get( OAuth_Client::OPTION_PROXY_ACCESS_CODE ); // Both the access code and site ID are needed to generate // a setup URL. if ( $access_code && ! empty( $credentials['oauth2_client_id'] ) ) { $setup_url = $this->google_proxy->setup_url( array( 'code' => $access_code, 'site_id' => $credentials['oauth2_client_id'], ) ); $this->user_options->delete( OAuth_Client::OPTION_PROXY_ACCESS_CODE ); } elseif ( $this->is_authenticated() ) { $setup_url = $this->get_connect_url(); } else { $setup_url = $data['proxySetupURL']; } // Add the setup URL to the data sent to the client. $data['setupErrorRedoURL'] = $setup_url; // Remove the error code from the user options so it doesn't // appear again. $this->user_options->delete( OAuth_Client::OPTION_ERROR_CODE ); } } $version = get_bloginfo( 'version' ); $data['wpVersion'] = $this->inline_js_wp_version( $version ); if ( version_compare( $version, '5.5', '>=' ) && function_exists( 'wp_is_auto_update_enabled_for_type' ) ) { $data['changePluginAutoUpdatesCapacity'] = Auto_Updates::is_plugin_autoupdates_enabled() && Auto_Updates::AUTO_UPDATE_NOT_FORCED === Auto_Updates::sitekit_forced_autoupdates_status(); $data['siteKitAutoUpdatesEnabled'] = Auto_Updates::is_sitekit_autoupdates_enabled(); } $data['pluginBasename'] = GOOGLESITEKIT_PLUGIN_BASENAME; $current_user = wp_get_current_user(); $data['userRoles'] = $current_user->roles; return $data; } /** * Gets the WP version to pass to JS. * * @since 1.93.0 * * @param string $version The WP version. * @return array The WP version to pass to JS. */ private function inline_js_wp_version( $version ) { // The trailing '.0' is added to the $version to ensure there are always at least 2 segments in the version. // This is necessary in case the minor version is stripped from the version string by a plugin. // See https://github.com/google/site-kit-wp/issues/4963 for more details. list( $major, $minor ) = explode( '.', $version . '.0' ); return array( 'version' => $version, 'major' => (int) $major, 'minor' => (int) $minor, ); } /** * Modifies the admin data to pass to JS. * * @since 1.0.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_admin_data( $data ) { $data['connectURL'] = esc_url_raw( $this->get_connect_url() ); $data['disconnectURL'] = esc_url_raw( $this->get_disconnect_url() ); return $data; } /** * Modifies the setup data to pass to JS. * * @since 1.0.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_setup_data( $data ) { $auth_client = $this->get_oauth_client(); $is_authenticated = $this->is_authenticated(); $data['isSiteKitConnected'] = $this->credentials->has(); $data['isResettable'] = $this->options->has( Credentials::OPTION ); $data['isAuthenticated'] = $is_authenticated; $data['requiredScopes'] = $auth_client->get_required_scopes(); $data['grantedScopes'] = $is_authenticated ? $auth_client->get_granted_scopes() : array(); $data['unsatisfiedScopes'] = $is_authenticated ? $auth_client->get_unsatisfied_scopes() : array(); $data['needReauthenticate'] = $auth_client->needs_reauthentication(); // All admins need to go through site verification process. if ( current_user_can( Permissions::MANAGE_OPTIONS ) ) { $data['isVerified'] = $this->verification->has(); } else { $data['isVerified'] = false; } // The actual data for this is passed in from the Search Console module. if ( ! isset( $data['hasSearchConsoleProperty'] ) ) { $data['hasSearchConsoleProperty'] = false; } return $data; } /** * Adds / modifies tracking relevant data to pass to JS. * * @since 1.78.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_tracking_data( $data ) { $data['isAuthenticated'] = $this->is_authenticated(); $data['userRoles'] = wp_get_current_user()->roles; return $data; } /** * Add allowed redirect host to safe wp_safe_redirect * * @since 1.0.0 * * @param array $hosts Array of safe hosts to redirect to. * * @return array */ private function allowed_redirect_hosts( $hosts ) { $hosts[] = 'accounts.google.com'; $hosts[] = URL::parse( $this->google_proxy->url(), PHP_URL_HOST ); // In the case of IDNs, ensure the ASCII and non-ASCII domains // are treated as allowable origins. $admin_hostname = URL::parse( admin_url(), PHP_URL_HOST ); // See \Requests_IDNAEncoder::is_ascii. $is_ascii = preg_match( '/(?:[^\x00-\x7F])/', $admin_hostname ) !== 1; // If this host is already an ASCII-only string, it's either // not an IDN or it's an ASCII-formatted IDN. // We only need to intervene if it is non-ASCII. if ( ! $is_ascii ) { // If this host is an IDN in Unicode format, we need to add the // urlencoded versions of the domain to the `$hosts` array, // because this is what will be used for redirects. $hosts[] = rawurlencode( $admin_hostname ); } return $hosts; } /** * Shows admin notification for authentication related issues. * * @since 1.0.0 * * @param array $notices Array of admin notices. * * @return array Array of admin notices. */ private function authentication_admin_notices( $notices ) { // Only include notices if in the correct admin panel. if ( $this->context->is_network_mode() !== is_network_admin() ) { return $notices; } $notices[] = $this->get_reauthentication_needed_notice(); $notices[] = $this->get_reconnect_after_url_mismatch_notice(); return $notices; } /** * Gets reconnect notice. * * @since 1.17.0 * * @return Notice Notice object. */ private function get_reconnect_after_url_mismatch_notice() { return new Notice( 'reconnect_after_url_mismatch', array( 'content' => function () { $connected_url = $this->connected_proxy_url->get(); $current_url = $this->context->get_canonical_home_url(); $content = '<p>' . sprintf( /* translators: 1: Plugin name. 2: URL change message. 3: Proxy setup URL. 4: Reconnect string. 5: Proxy support link for the url-has-changed help page. 6: Help link message. */ __( '%1$s: %2$s <a href="%3$s">%4$s</a>. <a target="_blank" href="%5$s">%6$s</a>', 'google-site-kit' ), esc_html__( 'Site Kit by Google', 'google-site-kit' ), esc_html__( 'Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.', 'google-site-kit' ), esc_url( $this->get_proxy_setup_url() ), esc_html__( 'Reconnect', 'google-site-kit' ), esc_url( $this->get_proxy_support_link_url() . '/?doc=url-has-changed' ), esc_html__( 'Get help', 'google-site-kit' ) ) . '</p>'; // Only show the comparison if URLs don't match as it is possible // they could already match again at this point, although they most likely won't. if ( ! $this->connected_proxy_url->matches_url( $current_url ) ) { $content .= sprintf( '<ul><li>%s</li><li>%s</li></ul>', sprintf( /* translators: %s: Previous URL */ esc_html__( 'Old URL: %s', 'google-site-kit' ), $connected_url ), sprintf( /* translators: %s: Current URL */ esc_html__( 'New URL: %s', 'google-site-kit' ), $current_url ) ); } return $content; }, 'type' => Notice::TYPE_INFO, 'active_callback' => function () { return $this->disconnected_reason->get() === Disconnected_Reason::REASON_CONNECTED_URL_MISMATCH && $this->credentials->has(); }, ) ); } /** * Gets re-authentication notice. * * @since 1.0.0 * * @return Notice Notice object. */ private function get_reauthentication_needed_notice() { return new Notice( 'needs_reauthentication', array( 'content' => function () { ob_start(); ?> <p> <?php echo esc_html( sprintf( /* translators: 1: Plugin name. 2: Message. */ __( '%1$s: %2$s', 'google-site-kit' ), __( 'Site Kit by Google', 'google-site-kit' ), __( 'You need to reauthenticate your Google account.', 'google-site-kit' ) ) ); ?> <a href="#" onclick="clearSiteKitAppStorage()" ><?php esc_html_e( 'Click here', 'google-site-kit' ); ?></a> </p> <?php BC_Functions::wp_print_inline_script_tag( sprintf( " function clearSiteKitAppStorage() { if ( localStorage ) { localStorage.clear(); } if ( sessionStorage ) { sessionStorage.clear(); } document.location = '%s'; } ", esc_url_raw( $this->get_connect_url() ) ) ); return ob_get_clean(); }, 'type' => Notice::TYPE_SUCCESS, 'active_callback' => function () { if ( ! empty( $this->user_options->get( OAuth_Client::OPTION_ERROR_CODE ) ) ) { return false; } $unsatisfied_scopes = $this->get_oauth_client()->get_unsatisfied_scopes(); if ( count( $unsatisfied_scopes ) === 1 && 'https://www.googleapis.com/auth/tagmanager.readonly' === $unsatisfied_scopes[0] ) { return false; } return $this->get_oauth_client()->needs_reauthentication(); }, ) ); } /** * Sets the current connected proxy URL. * * @since 1.17.0 */ private function set_connected_proxy_url() { $this->connected_proxy_url->set( $this->context->get_canonical_home_url() ); } /** * Checks whether the current site URL has changed or not. If the URL has been changed, * it disconnects the Site Kit and sets the disconnected reason to "connected_url_mismatch". * * @since 1.17.0 */ private function check_connected_proxy_url() { if ( $this->connected_proxy_url->matches_url( $this->context->get_canonical_home_url() ) ) { return; } if ( ! current_user_can( Permissions::SETUP ) ) { return; } if ( ! $this->credentials->has() ) { return; } if ( ! $this->credentials->using_proxy() ) { return; } if ( ! $this->is_authenticated() ) { return; } if ( ! $this->connected_proxy_url->has() ) { $this->set_connected_proxy_url(); return; } $this->disconnect(); $this->disconnected_reason->set( Disconnected_Reason::REASON_CONNECTED_URL_MISMATCH ); } /** * Gets the publicly visible URL to set up the plugin with the authentication proxy. * * @since 1.17.0 * * @return string An URL for googlesitekit_proxy_connect_user action protected with a nonce. */ private function get_proxy_setup_url() { return add_query_arg( array( 'action' => Google_Proxy::ACTION_SETUP_START, 'nonce' => wp_create_nonce( Google_Proxy::ACTION_SETUP_START ), ), admin_url( 'index.php' ) ); } /** * Handles proxy permissions. * * @since 1.18.0 */ private function handle_proxy_permissions() { $nonce = $this->context->input()->filter( INPUT_GET, 'nonce' ); if ( ! wp_verify_nonce( $nonce, Google_Proxy::ACTION_PERMISSIONS ) ) { $this->invalid_nonce_error( Google_Proxy::ACTION_PERMISSIONS ); } if ( ! current_user_can( Permissions::AUTHENTICATE ) ) { wp_die( esc_html__( 'You have insufficient permissions to manage Site Kit permissions.', 'google-site-kit' ) ); } if ( ! $this->credentials->using_proxy() ) { wp_die( esc_html__( 'Site Kit is not configured to use the authentication proxy.', 'google-site-kit' ) ); } wp_safe_redirect( $this->get_oauth_client()->get_proxy_permissions_url() ); exit; } /** * Gets the proxy permission URL. * * @since 1.18.0 * * @return string Proxy permission URL. */ private function get_proxy_permissions_url() { return add_query_arg( array( 'action' => Google_Proxy::ACTION_PERMISSIONS, 'nonce' => wp_create_nonce( Google_Proxy::ACTION_PERMISSIONS ), ), admin_url( 'index.php' ) ); } /** * Gets the proxy support URL. * * @since 1.80.0 * * @return string|null Support URL. */ public function get_proxy_support_link_url() { return $this->google_proxy->url( Google_Proxy::SUPPORT_LINK_URI ); } /** * Invalid nonce error handler. * * @since 1.42.0 * * @param string $action Action name. */ public function invalid_nonce_error( $action ) { if ( strpos( $action, 'googlesitekit_proxy_' ) !== 0 ) { wp_nonce_ays( $action ); return; } // Copied from wp_nonce_ays() with tweak to the url. $html = __( 'The link you followed has expired.', 'google-site-kit' ); $html .= '</p><p>'; $html .= sprintf( /* translators: 1: Admin splash URL. 2: Support link URL. */ __( '<a href="%1$s">Please try again</a>. Retry didn’t work? <a href="%2$s" target="_blank">Get help</a>.', 'google-site-kit' ), esc_url( Plugin::instance()->context()->admin_url( 'splash' ) ), esc_url( $this->get_proxy_support_link_url() . '?error_id=nonce_expired' ) ); wp_die( $html, __( 'Something went wrong.', 'google-site-kit' ), 403 ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * Helper method to return options property. * * @since 1.131.0 * * @return Options */ public function get_options_instance() { return $this->options; } /** * Helper method to return has_connected_admins property. * * @since 1.131.0 * * @return Has_Connected_Admins */ public function get_has_connected_admins_instance() { return $this->has_connected_admins; } /** * Helper method to return has_multiple_admins property. * * @since 1.131.0 * * @return Has_Multiple_Admins */ public function get_has_multiple_admins_instance() { return $this->has_multiple_admins; } /** * Helper method to return owner_id property. * * @since 1.131.0 * * @return Owner_ID */ public function get_owner_id_instance() { return $this->owner_id; } /** * Helper method to return disconnected_reason property. * * @since 1.131.0 * * @return Disconnected_Reason */ public function get_disconnected_reason_instance() { return $this->disconnected_reason; } /** * Helper method to return connected_proxy_url property. * * @since 1.131.0 * * @return Connected_Proxy_URL */ public function get_connected_proxy_url_instance() { return $this->connected_proxy_url; } } includes/Core/Authentication/Connected_Proxy_URL.php 0000604 00000002354 14717744000 0016563 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Connected_Proxy_URL * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\Setting; /** * Connected_Proxy_URL class. * * @since 1.17.0 * @access private * @ignore */ class Connected_Proxy_URL extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_connected_proxy_url'; /** * Matches provided URL with the current proxy URL in the settings. * * @since 1.17.0 * * @param string $url URL to match against the current one in the settings. * @return bool TRUE if URL matches the current one, otherwise FALSE. */ public function matches_url( $url ) { $sanitize = $this->get_sanitize_callback(); $normalized = $sanitize( $url ); return $normalized === $this->get(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.17.0 * * @return callable A sanitizing function. */ protected function get_sanitize_callback() { return 'trailingslashit'; } } includes/Core/Authentication/Credentials.php 0000604 00000007456 14717744000 0015203 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Credentials * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\Setting; /** * Class representing the OAuth client ID and secret credentials. * * @since 1.0.0 * @access private * @ignore */ final class Credentials extends Setting { /** * Option key in options table. */ const OPTION = 'googlesitekit_credentials'; /** * Retrieves Site Kit credentials. * * @since 1.0.0 * * @return array|bool Value set for the credentials, or false if not set. */ public function get() { /** * Site Kit oAuth Secret is a JSON string of the Google Cloud Platform web application used for Site Kit * that will be associated with this account. This is meant to be a temporary way to specify the client secret * until the authentication proxy has been completed. This filter can be specified from a separate theme or plugin. * * To retrieve the JSON secret, use the following instructions: * - Go to the Google Cloud Platform and create a new project or use an existing one * - In the APIs & Services section, enable the APIs that are used within Site Kit * - Under 'credentials' either create new oAuth Client ID credentials or use an existing set of credentials * - Set the authorizes redirect URIs to be the URL to the oAuth callback for Site Kit, eg. https://<domainname>?oauth2callback=1 (this must be public) * - Click the 'Download JSON' button to download the JSON file that can be copied and pasted into the filter */ $credentials = apply_filters( 'googlesitekit_oauth_secret', '' ); if ( is_string( $credentials ) && trim( $credentials ) ) { $credentials = json_decode( $credentials, true ); } if ( isset( $credentials['web']['client_id'], $credentials['web']['client_secret'] ) ) { return $this->parse_defaults( array( 'oauth2_client_id' => $credentials['web']['client_id'], 'oauth2_client_secret' => $credentials['web']['client_secret'], ) ); } return $this->parse_defaults( $this->options->get( self::OPTION ) ); } /** * Checks whether Site Kit has been setup with client ID and secret. * * @since 1.0.0 * * @return bool True if credentials are set, false otherwise. */ public function has() { $credentials = (array) $this->get(); if ( ! empty( $credentials ) && ! empty( $credentials['oauth2_client_id'] ) && ! empty( $credentials['oauth2_client_secret'] ) ) { return true; } return false; } /** * Parses Credentials data and merges with its defaults. * * @since 1.0.0 * * @param mixed $data Credentials data. * @return array Parsed $data. */ private function parse_defaults( $data ) { $defaults = $this->get_default(); if ( ! is_array( $data ) ) { return $defaults; } return wp_parse_args( $data, $defaults ); } /** * Gets the default value. * * @since 1.2.0 * * @return array */ protected function get_default() { return array( 'oauth2_client_id' => '', 'oauth2_client_secret' => '', ); } /** * Determines whether the authentication proxy is used. * * In order to streamline the setup and authentication flow, the plugin uses a proxy mechanism based on an external * service. This can be overridden by providing actual GCP credentials with the {@see 'googlesitekit_oauth_secret'} * filter. * * @since 1.9.0 * * @return bool True if proxy authentication is used, false otherwise. */ public function using_proxy() { $creds = $this->get(); if ( ! $this->has() ) { return true; } return (bool) preg_match( '/\.apps\.sitekit\.withgoogle\.com$/', $creds['oauth2_client_id'] ); } } includes/Core/Authentication/Disconnected_Reason.php 0000604 00000001633 14717744000 0016646 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Disconnected_Reason * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Setting; /** * Disconnected_Reason class. * * @since 1.17.0 * @access private * @ignore */ class Disconnected_Reason extends User_Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_disconnected_reason'; /** * Available reasons. */ const REASON_CONNECTED_URL_MISMATCH = 'connected_url_mismatch'; /** * Registers the setting in WordPress. * * @since 1.17.0 */ public function register() { parent::register(); add_action( 'googlesitekit_authorize_user', array( $this, 'delete' ) ); } } includes/Core/Authentication/Google_Proxy.php 0000604 00000044625 14717744000 0015362 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Google_Proxy * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Util\Feature_Flags; use Exception; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\URL; use WP_Error; /** * Class for authentication service. * * @since 1.1.2 * @access private * @ignore */ class Google_Proxy { const PRODUCTION_BASE_URL = 'https://sitekit.withgoogle.com'; const STAGING_BASE_URL = 'https://site-kit-dev.appspot.com'; const DEVELOPMENT_BASE_URL = 'https://site-kit-local.appspot.com'; const OAUTH2_SITE_URI = '/o/oauth2/site/'; const OAUTH2_REVOKE_URI = '/o/oauth2/revoke/'; const OAUTH2_TOKEN_URI = '/o/oauth2/token/'; const OAUTH2_AUTH_URI = '/o/oauth2/auth/'; const OAUTH2_DELETE_SITE_URI = '/o/oauth2/delete-site/'; const SETUP_URI = '/v2/site-management/setup/'; const PERMISSIONS_URI = '/site-management/permissions/'; const FEATURES_URI = '/site-management/features/'; const SURVEY_TRIGGER_URI = '/survey/trigger/'; const SURVEY_EVENT_URI = '/survey/event/'; const SUPPORT_LINK_URI = '/support'; const ACTION_EXCHANGE_SITE_CODE = 'googlesitekit_proxy_exchange_site_code'; const ACTION_SETUP = 'googlesitekit_proxy_setup'; const ACTION_SETUP_START = 'googlesitekit_proxy_setup_start'; const ACTION_PERMISSIONS = 'googlesitekit_proxy_permissions'; const ACTION_VERIFY = 'googlesitekit_proxy_verify'; const NONCE_ACTION = 'googlesitekit_proxy_nonce'; const HEADER_REDIRECT_TO = 'Redirect-To'; /** * Plugin context. * * @since 1.1.2 * @var Context */ private $context; /** * Required scopes list. * * @since 1.68.0 * @var array */ private $required_scopes = array(); /** * Google_Proxy constructor. * * @since 1.1.2 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Sets required scopes to use when the site is registering at proxy. * * @since 1.68.0 * * @param array $scopes List of scopes. */ public function with_scopes( array $scopes ) { $this->required_scopes = $scopes; } /** * Returns the application name: a combination of the namespace and version. * * @since 1.27.0 * * @return string The application name. */ public static function get_application_name() { $platform = self::get_platform(); return $platform . '/google-site-kit/' . GOOGLESITEKIT_VERSION; } /** * Gets the list of features to declare support for when setting up with the proxy. * * @since 1.27.0 * * @return array Array of supported features. */ private function get_supports() { $supports = array( 'credentials_retrieval', 'short_verification_token', ); $home_path = URL::parse( $this->context->get_canonical_home_url(), PHP_URL_PATH ); if ( ! $home_path || '/' === $home_path ) { $supports[] = 'file_verification'; } return $supports; } /** * Returns the setup URL to the authentication proxy. * * @since 1.49.0 * @since 1.71.0 Uses the V2 setup flow by default. * * @param array $query_params Query parameters to include in the URL. * @return string URL to the setup page on the authentication proxy. * * @throws Exception Thrown if called without the required query parameters. */ public function setup_url( array $query_params = array() ) { if ( empty( $query_params['code'] ) ) { throw new Exception( __( 'Missing code parameter for setup URL.', 'google-site-kit' ) ); } if ( empty( $query_params['site_id'] ) && empty( $query_params['site_code'] ) ) { throw new Exception( __( 'Missing site_id or site_code parameter for setup URL.', 'google-site-kit' ) ); } return add_query_arg( $query_params, $this->url( self::SETUP_URI ) ); } /** * Conditionally adds the `step` parameter to the passed query parameters, depending on the given error code. * * @since 1.49.0 * * @param array $query_params Query parameters. * @param string $error_code Error code. * @return array Query parameters with `step` included, depending on the error code. */ public function add_setup_step_from_error_code( $query_params, $error_code ) { switch ( $error_code ) { case 'missing_verification': $query_params['step'] = 'verification'; break; case 'missing_delegation_consent': $query_params['step'] = 'delegation_consent'; break; case 'missing_search_console_property': $query_params['step'] = 'search_console_property'; break; } return $query_params; } /** * Returns the permissions URL to the authentication proxy. * * This only returns a URL if the user already has an access token set. * * @since 1.27.0 * * @param Credentials $credentials Credentials instance. * @param array $query_args Optional. Additional query parameters. * @return string URL to the permissions page on the authentication proxy on success, or an empty string on failure. */ public function permissions_url( Credentials $credentials, array $query_args = array() ) { if ( $credentials->has() ) { $creds = $credentials->get(); $query_args['site_id'] = $creds['oauth2_client_id']; } $query_args['application_name'] = rawurlencode( self::get_application_name() ); $query_args['hl'] = $this->context->get_locale( 'user' ); return add_query_arg( $query_args, $this->url( self::PERMISSIONS_URI ) ); } /** * Gets a URL to the proxy with optional path. * * @since 1.1.2 * * @param string $path Optional. Path to append to the base URL. * @return string Complete proxy URL. */ public function url( $path = '' ) { $url = self::PRODUCTION_BASE_URL; $allowed_urls = array( self::PRODUCTION_BASE_URL, self::STAGING_BASE_URL, self::DEVELOPMENT_BASE_URL, ); if ( defined( 'GOOGLESITEKIT_PROXY_URL' ) && in_array( GOOGLESITEKIT_PROXY_URL, $allowed_urls, true ) ) { $url = GOOGLESITEKIT_PROXY_URL; } $url = untrailingslashit( $url ); if ( $path && is_string( $path ) ) { $url .= '/' . ltrim( $path, '/' ); } return $url; } /** * Sends a POST request to the Google Proxy server. * * @since 1.27.0 * * @param string $uri Endpoint to send the request to. * @param Credentials $credentials Credentials instance. * @param array $args Array of request arguments. * @return array|WP_Error The response as an associative array or WP_Error on failure. */ private function request( $uri, $credentials, array $args = array() ) { $request_args = array( 'headers' => ! empty( $args['headers'] ) && is_array( $args['headers'] ) ? $args['headers'] : array(), 'body' => ! empty( $args['body'] ) && is_array( $args['body'] ) ? $args['body'] : array(), 'timeout' => isset( $args['timeout'] ) ? $args['timeout'] : 15, ); if ( $credentials && $credentials instanceof Credentials ) { if ( ! $credentials->has() ) { return new WP_Error( 'oauth_credentials_not_exist', __( 'OAuth credentials haven\'t been found.', 'google-site-kit' ), array( 'status' => 401 ) ); } $creds = $credentials->get(); $request_args['body']['site_id'] = $creds['oauth2_client_id']; $request_args['body']['site_secret'] = $creds['oauth2_client_secret']; } if ( ! empty( $args['access_token'] ) && is_string( $args['access_token'] ) ) { $request_args['headers']['Authorization'] = 'Bearer ' . $args['access_token']; } if ( isset( $args['mode'] ) && 'async' === $args['mode'] ) { $request_args['timeout'] = 0.01; $request_args['blocking'] = false; } if ( ! empty( $args['json_request'] ) ) { $request_args['headers']['Content-Type'] = 'application/json'; $request_args['body'] = wp_json_encode( $request_args['body'] ); } $url = $this->url( $uri ); $response = wp_remote_post( $url, $request_args ); if ( is_wp_error( $response ) ) { return $response; } $code = wp_remote_retrieve_response_code( $response ); $body = wp_remote_retrieve_body( $response ); $body = json_decode( $body, true ); if ( $code < 200 || 299 < $code ) { $message = is_array( $body ) && ! empty( $body['error'] ) ? $body['error'] : ''; return new WP_Error( 'request_failed', $message, array( 'status' => $code ) ); } if ( ! empty( $args['return'] ) && 'response' === $args['return'] ) { return $response; } if ( is_null( $body ) ) { return new WP_Error( 'failed_to_parse_response', __( 'Failed to parse response.', 'google-site-kit' ), array( 'status' => 500 ) ); } return $body; } /** * Gets site fields. * * @since 1.5.0 * * @return array Associative array of $query_arg => $value pairs. */ public function get_site_fields() { return array( 'name' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), 'url' => $this->context->get_canonical_home_url(), 'redirect_uri' => add_query_arg( 'oauth2callback', 1, admin_url( 'index.php' ) ), 'action_uri' => admin_url( 'index.php' ), 'return_uri' => $this->context->admin_url( 'splash' ), 'analytics_redirect_uri' => add_query_arg( 'gatoscallback', 1, admin_url( 'index.php' ) ), ); } /** * Gets metadata fields. * * @since 1.68.0 * * @return array Metadata fields array. */ public function get_metadata_fields() { $metadata = array( 'supports' => implode( ' ', $this->get_supports() ), 'nonce' => wp_create_nonce( self::NONCE_ACTION ), 'mode' => '', 'hl' => $this->context->get_locale( 'user' ), 'application_name' => self::get_application_name(), 'service_version' => 'v2', ); /** * Filters the setup mode. * * @since 1.68.0 * * @param string $mode An initial setup mode. */ $metadata['mode'] = apply_filters( 'googlesitekit_proxy_setup_mode', $metadata['mode'] ); return $metadata; } /** * Fetch site fields * * @since 1.22.0 * * @param Credentials $credentials Credentials instance. * @return array|WP_Error The response as an associative array or WP_Error on failure. */ public function fetch_site_fields( Credentials $credentials ) { return $this->request( self::OAUTH2_SITE_URI, $credentials ); } /** * Are site fields synced * * @since 1.22.0 * * @param Credentials $credentials Credentials instance. * * @return boolean|WP_Error Boolean do the site fields match or WP_Error on failure. */ public function are_site_fields_synced( Credentials $credentials ) { $site_fields = $this->fetch_site_fields( $credentials ); if ( is_wp_error( $site_fields ) ) { return $site_fields; } $get_site_fields = $this->get_site_fields(); foreach ( $get_site_fields as $key => $site_field ) { if ( ! array_key_exists( $key, $site_fields ) || $site_fields[ $key ] !== $site_field ) { return false; } } return true; } /** * Gets user fields. * * @since 1.10.0 * * @return array Associative array of $query_arg => $value pairs. */ public function get_user_fields() { $user_roles = wp_get_current_user()->roles; // If multisite, also consider network administrators. if ( is_multisite() && current_user_can( 'manage_network' ) ) { $user_roles[] = 'network_administrator'; } $user_roles = array_unique( $user_roles ); return array( 'user_roles' => implode( ',', $user_roles ), ); } /** * Unregisters the site on the proxy. * * @since 1.20.0 * * @param Credentials $credentials Credentials instance. * @return array|WP_Error Response data on success, otherwise WP_Error object. */ public function unregister_site( Credentials $credentials ) { return $this->request( self::OAUTH2_DELETE_SITE_URI, $credentials ); } /** * Registers the site on the proxy. * * @since 1.68.0 * * @param string $mode Sync mode. * @return string|WP_Error Redirect URL on success, otherwise an error. */ public function register_site( $mode = 'async' ) { return $this->send_site_fields( null, $mode ); } /** * Synchronizes site fields with the proxy. * * @since 1.5.0 * @since 1.68.0 Updated the function to return redirect URL. * * @param Credentials $credentials Credentials instance. * @param string $mode Sync mode. * @return string|WP_Error Redirect URL on success, otherwise an error. */ public function sync_site_fields( Credentials $credentials, $mode = 'async' ) { return $this->send_site_fields( $credentials, $mode ); } /** * Sends site fields to the proxy. * * @since 1.68.0 * * @param Credentials $credentials Credentials instance. * @param string $mode Sync mode. * @return string|WP_Error Redirect URL on success, otherwise an error. */ private function send_site_fields( Credentials $credentials = null, $mode = 'async' ) { $response = $this->request( self::OAUTH2_SITE_URI, $credentials, array( 'return' => 'response', 'mode' => $mode, 'body' => array_merge( $this->get_site_fields(), $this->get_user_fields(), $this->get_metadata_fields(), array( 'scope' => implode( ' ', $this->required_scopes ), ) ), ) ); if ( is_wp_error( $response ) ) { return $response; } $redirect_to = wp_remote_retrieve_header( $response, self::HEADER_REDIRECT_TO ); if ( empty( $redirect_to ) ) { return new WP_Error( 'failed_to_retrive_redirect', __( 'Failed to retrieve redirect URL.', 'google-site-kit' ), array( 'status' => 500 ) ); } return $redirect_to; } /** * Exchanges a site code for client credentials from the proxy. * * @since 1.1.2 * * @param string $site_code Site code identifying the site. * @param string $undelegated_code Undelegated code identifying the undelegated token. * @return array|WP_Error Response data containing site_id and site_secret on success, WP_Error object on failure. */ public function exchange_site_code( $site_code, $undelegated_code ) { $response_data = $this->request( self::OAUTH2_SITE_URI, null, array( 'body' => array( 'code' => $undelegated_code, 'site_code' => $site_code, ), ) ); if ( is_wp_error( $response_data ) ) { return $response_data; } if ( ! isset( $response_data['site_id'], $response_data['site_secret'] ) ) { return new WP_Error( 'oauth_credentials_not_exist', __( 'OAuth credentials haven\'t been found.', 'google-site-kit' ), array( 'status' => 401 ) ); } return $response_data; } /** * Gets remote features. * * @since 1.27.0 * @since 1.104.0 Added `php_version` to request. * * @param Credentials $credentials Credentials instance. * @return array|WP_Error Response of the wp_remote_post request. */ public function get_features( Credentials $credentials ) { global $wp_version; $platform = self::get_platform(); $user_count = count_users(); $connectable_user_count = isset( $user_count['avail_roles']['administrator'] ) ? $user_count['avail_roles']['administrator'] : 0; $body = array( 'platform' => $platform . '/google-site-kit', 'version' => GOOGLESITEKIT_VERSION, 'platform_version' => $wp_version, 'php_version' => phpversion(), 'user_count' => $user_count['total_users'], 'connectable_user_count' => $connectable_user_count, 'connected_user_count' => $this->count_connected_users(), ); /** * Filters additional context data sent with the body of a remote-controlled features request. * * @since 1.71.0 * * @param array $body Context data to be sent with the features request. */ $body = apply_filters( 'googlesitekit_features_request_data', $body ); return $this->request( self::FEATURES_URI, $credentials, array( 'body' => $body ) ); } /** * Gets the number of users who are connected (i.e. authenticated / * have an access token). * * @since 1.71.0 * * @return int Number of WordPress user accounts connected to SiteKit. */ public function count_connected_users() { $user_options = new User_Options( $this->context ); $connected_users = get_users( array( 'meta_key' => $user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ), // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_compare' => 'EXISTS', 'role' => 'administrator', 'fields' => 'ID', ) ); return count( $connected_users ); } /** * Gets the platform. * * @since 1.37.0 * * @return string WordPress multisite or WordPress. */ public static function get_platform() { if ( is_multisite() ) { return 'wordpress-multisite'; } return 'wordpress'; // phpcs:ignore WordPress.WP.CapitalPDangit.MisspelledInText } /** * Sends survey trigger ID to the proxy. * * @since 1.35.0 * * @param Credentials $credentials Credentials instance. * @param string $access_token Access token. * @param string $trigger_id Token ID. * @return array|WP_Error Response of the wp_remote_post request. */ public function send_survey_trigger( Credentials $credentials, $access_token, $trigger_id ) { return $this->request( self::SURVEY_TRIGGER_URI, $credentials, array( 'access_token' => $access_token, 'json_request' => true, 'body' => array( 'trigger_context' => array( 'trigger_id' => $trigger_id, 'language' => get_user_locale(), ), ), ) ); } /** * Sends survey event to the proxy. * * @since 1.35.0 * * @param Credentials $credentials Credentials instance. * @param string $access_token Access token. * @param array|\stdClass $session Session object. * @param array|\stdClass $event Event object. * @return array|WP_Error Response of the wp_remote_post request. */ public function send_survey_event( Credentials $credentials, $access_token, $session, $event ) { return $this->request( self::SURVEY_EVENT_URI, $credentials, array( 'access_token' => $access_token, 'json_request' => true, 'body' => array( 'session' => $session, 'event' => $event, ), ) ); } } includes/Core/Authentication/Has_Connected_Admins.php 0000604 00000006462 14717744000 0016732 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Has_Connected_Admins * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Storage\Options_Interface; use Google\Site_Kit\Core\Storage\Setting; use Google\Site_Kit\Core\Storage\User_Options_Interface; use WP_User; /** * Has_Connected_Admins class. * * @since 1.14.0 * @access private * @ignore */ class Has_Connected_Admins extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_has_connected_admins'; /** * User options instance implementing User_Options_Interface. * * @since 1.14.0 * @var User_Options_Interface */ protected $user_options; /** * Constructor. * * @since 1.14.0 * * @param Options_Interface $options Options instance. * @param User_Options_Interface $user_options User options instance. */ public function __construct( Options_Interface $options, User_Options_Interface $user_options ) { parent::__construct( $options ); $this->user_options = $user_options; } /** * Registers the setting in WordPress. * * @since 1.14.0 */ public function register() { parent::register(); $access_token_meta_key = $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ); add_action( 'added_user_meta', function ( $mid, $uid, $meta_key ) use ( $access_token_meta_key ) { // phpcs:ignore WordPress.WP.Capabilities.RoleFound if ( $meta_key === $access_token_meta_key && user_can( $uid, 'administrator' ) ) { $this->set( true ); } }, 10, 3 ); add_action( 'deleted_user_meta', function ( $mid, $uid, $meta_key ) use ( $access_token_meta_key ) { if ( $meta_key === $access_token_meta_key ) { $this->delete(); } }, 10, 3 ); } /** * Gets the value of the setting. If the option is not set yet, it pulls connected * admins from the database and sets the option. * * @since 1.14.0 * * @return boolean TRUE if the site kit already has connected admins, otherwise FALSE. */ public function get() { // If the option doesn't exist, query the fresh value, set it and return it. if ( ! $this->has() ) { $users = $this->query_connected_admins(); $has_connected_admins = count( $users ) > 0; $this->set( (int) $has_connected_admins ); return $has_connected_admins; } return (bool) parent::get(); } /** * Queries connected admins and returns an array of connected admin IDs. * * @since 1.14.0 * * @return array The array of connected admin IDs. */ protected function query_connected_admins() { return get_users( array( 'meta_key' => $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ), // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_compare' => 'EXISTS', 'role' => 'administrator', 'number' => 1, 'fields' => 'ID', ) ); } /** * Gets the expected value type. * * @since 1.14.0 * * @return string The type name. */ protected function get_type() { return 'boolean'; } } includes/Core/Authentication/Has_Multiple_Admins.php 0000604 00000003060 14717744000 0016612 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Has_Multiple_Admins * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\Transients; use WP_User_Query; /** * Has_Multiple_Admins class. * * @since 1.29.0 * @access private * @ignore */ class Has_Multiple_Admins { /** * The option_name for this transient. */ const OPTION = 'googlesitekit_has_multiple_admins'; /** * Transients instance. * * @since 1.29.0 * @var Transients */ protected $transients; /** * Constructor. * * @since 1.29.0 * * @param Transients $transients Transients instance. */ public function __construct( Transients $transients ) { $this->transients = $transients; } /** * Returns a flag indicating whether the current site has multiple users. * * @since 1.29.0 * * @return boolean TRUE if the site kit has multiple admins, otherwise FALSE. */ public function get() { $admins_count = $this->transients->get( self::OPTION ); if ( false === $admins_count ) { $user_query_args = array( 'number' => 1, 'role__in' => array( 'Administrator' ), 'count_total' => true, ); $user_query = new WP_User_Query( $user_query_args ); $admins_count = $user_query->get_total(); $this->transients->get( self::OPTION, $admins_count, HOUR_IN_SECONDS ); } return $admins_count > 1; } } includes/Core/Authentication/Initial_Version.php 0000604 00000001171 14717744000 0016030 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Initial_Version * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class representing the initial Site Kit version the user started with. * * @since 1.25.0 * @access private * @ignore */ final class Initial_Version extends User_Setting { /** * User option key. */ const OPTION = 'googlesitekitpersistent_initial_version'; } includes/Core/Authentication/Owner_ID.php 0000604 00000003026 14717744000 0014401 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Owner_ID * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\Setting; /** * Owner_ID class. * * @since 1.16.0 * @access private * @ignore */ class Owner_ID extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_owner_id'; /** * Gets the value of the setting. * * @since 1.16.0 * * @return mixed Value set for the option, or registered default if not set. */ public function get() { return (int) parent::get(); } /** * Gets the expected value type. * * @since 1.16.0 * * @return string The type name. */ protected function get_type() { return 'integer'; } /** * Gets the default value. * * We use the old "googlesitekit_first_admin" option here as it used to store the ID * of the first admin user to use the plugin. If this option doesn't exist, it will return 0. * * @since 1.16.0 * * @return int The default value. */ protected function get_default() { return (int) $this->options->get( 'googlesitekit_first_admin' ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.16.0 * * @return callable The callable sanitize callback. */ protected function get_sanitize_callback() { return 'intval'; } } includes/Core/Authentication/Profile.php 0000604 00000003205 14717744000 0014332 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Profile * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Options; /** * Class controlling the user's Google profile. * * @since 0.1.0 */ final class Profile { /** * Option key in options table. */ const OPTION = 'googlesitekit_profile'; /** * User_Options instance. * * @since 1.0.0 * @var User_Options */ private $user_options; /** * Constructor. * * @since 1.0.0 * * @param User_Options $user_options User_Options instance. */ public function __construct( User_Options $user_options ) { $this->user_options = $user_options; } /** * Retrieves user profile data. * * @since 1.0.0 * * @return array|bool Value set for the profile, or false if not set. */ public function get() { return $this->user_options->get( self::OPTION ); } /** * Saves user profile data. * * @since 1.0.0 * * @param array $data User profile data: email and photo. * @return bool True on success, false on failure. */ public function set( $data ) { return $this->user_options->set( self::OPTION, $data ); } /** * Verifies if user has their profile information stored. * * @since 1.0.0 * * @return bool True if profile is set, false otherwise. */ public function has() { $profile = (array) $this->get(); if ( ! empty( $profile['email'] ) && ! empty( $profile['photo'] ) ) { return true; } return false; } } includes/Core/Authentication/REST_Authentication_Controller.php 0000604 00000012011 14717744000 0020744 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\REST_Authentication_Controller * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * REST Authentication Controller Class. * * @since 1.131.0 * @access private * @ignore */ final class REST_Authentication_Controller { /** * Authentication instance. * * @since 1.131.0 * @var Authentication */ protected $authentication; /** * Constructor. * * @since 1.131.0 * * @param Authentication $authentication Authentication instance. */ public function __construct( Authentication $authentication ) { $this->authentication = $authentication; } /** * Registers functionality through WordPress hooks. * * @since 1.131.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $routes ) { $authentication_routes = array( '/' . REST_Routes::REST_ROOT . '/core/site/data/connection', '/' . REST_Routes::REST_ROOT . '/core/user/data/authentication', ); return array_merge( $routes, $authentication_routes ); } ); } /** * Gets related REST routes. * * @since 1.3.0 * @since 1.131.0 Moved to REST_Authentication_Controller class. * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_setup = function () { return current_user_can( Permissions::SETUP ); }; $can_access_authentication = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; $can_disconnect = function () { return current_user_can( Permissions::AUTHENTICATE ); }; $can_view_authenticated_dashboard = function () { return current_user_can( Permissions::VIEW_AUTHENTICATED_DASHBOARD ); }; return array( new REST_Route( 'core/site/data/connection', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $data = array( 'connected' => $this->authentication->credentials()->has(), 'resettable' => $this->authentication->get_options_instance()->has( Credentials::OPTION ), 'setupCompleted' => $this->authentication->is_setup_completed(), 'hasConnectedAdmins' => $this->authentication->get_has_connected_admins_instance()->get(), 'hasMultipleAdmins' => $this->authentication->get_has_multiple_admins_instance()->get(), 'ownerID' => $this->authentication->get_owner_id_instance()->get(), ); return new WP_REST_Response( $data ); }, 'permission_callback' => $can_setup, ), ) ), new REST_Route( 'core/user/data/authentication', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $oauth_client = $this->authentication->get_oauth_client(); $is_authenticated = $this->authentication->is_authenticated(); $data = array( 'authenticated' => $is_authenticated, 'requiredScopes' => $oauth_client->get_required_scopes(), 'grantedScopes' => $is_authenticated ? $oauth_client->get_granted_scopes() : array(), 'unsatisfiedScopes' => $is_authenticated ? $oauth_client->get_unsatisfied_scopes() : array(), 'needsReauthentication' => $oauth_client->needs_reauthentication(), 'disconnectedReason' => $this->authentication->get_disconnected_reason_instance()->get(), 'connectedProxyURL' => $this->authentication->get_connected_proxy_url_instance()->get(), ); return new WP_REST_Response( $data ); }, 'permission_callback' => $can_access_authentication, ), ) ), new REST_Route( 'core/user/data/disconnect', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function () { $this->authentication->disconnect(); return new WP_REST_Response( true ); }, 'permission_callback' => $can_disconnect, ), ) ), new REST_Route( 'core/user/data/get-token', array( array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function () { $this->authentication->do_refresh_user_token(); return new WP_REST_Response( array( 'token' => $this->authentication->get_oauth_client()->get_access_token(), ) ); }, 'permission_callback' => $can_view_authenticated_dashboard, ), ) ), ); } } includes/Core/Authentication/Setup.php 0000604 00000030623 14717744000 0014036 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Setup * * @package Google\Site_Kit\Core\Authentication * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Authentication\Exception\Exchange_Site_Code_Exception; use Google\Site_Kit\Core\Authentication\Exception\Missing_Verification_Exception; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\Remote_Features; /** * Base class for authentication setup. * * @since 1.48.0 * @access private * @ignore */ class Setup { /** * Context instance. * * @since 1.48.0 * * @var Context */ protected $context; /** * User_Options instance. * * @since 1.48.0 * * @var User_Options */ protected $user_options; /** * Authentication instance. * * @since 1.48.0 * * @var Authentication */ protected $authentication; /** * Google_Proxy instance. * * @since 1.48.0 * * @var Google_Proxy */ protected $google_proxy; /** * Proxy support URL. * * @since 1.109.0 Explicitly declared; previously, it was dynamically declared. * * @var string */ protected $proxy_support_link_url; /** * Credentials instance. * * @since 1.48.0 * * @var Credentials */ protected $credentials; /** * Constructor. * * @since 1.48.0 * * @param Context $context Context instance. * @param User_Options $user_options User_Options instance. * @param Authentication $authentication Authentication instance. */ public function __construct( Context $context, User_Options $user_options, Authentication $authentication ) { $this->context = $context; $this->user_options = $user_options; $this->authentication = $authentication; $this->credentials = $authentication->credentials(); $this->google_proxy = $authentication->get_google_proxy(); $this->proxy_support_link_url = $authentication->get_proxy_support_link_url(); } /** * Registers functionality through WordPress hooks. * * @since 1.48.0 */ public function register() { add_action( 'admin_action_' . Google_Proxy::ACTION_SETUP_START, array( $this, 'handle_action_setup_start' ) ); add_action( 'admin_action_' . Google_Proxy::ACTION_VERIFY, array( $this, 'handle_action_verify' ) ); add_action( 'admin_action_' . Google_Proxy::ACTION_EXCHANGE_SITE_CODE, array( $this, 'handle_action_exchange_site_code' ) ); } /** * Composes the oAuth proxy get help link. * * @since 1.81.0 * * @return string The get help link. */ private function get_oauth_proxy_failed_help_link() { return sprintf( /* translators: 1: Support link URL. 2: Get help string. */ __( '<a href="%1$s" target="_blank">%2$s</a>', 'google-site-kit' ), esc_url( add_query_arg( 'error_id', 'request_to_auth_proxy_failed', $this->proxy_support_link_url ) ), esc_html__( 'Get help', 'google-site-kit' ) ); } /** * Handles the setup start action, taking the user to the proxy setup screen. * * @since 1.48.0 */ public function handle_action_setup_start() { $nonce = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'nonce' ) ?? '' ); $redirect_url = $this->context->input()->filter( INPUT_GET, 'redirect', FILTER_DEFAULT ); $this->verify_nonce( $nonce, Google_Proxy::ACTION_SETUP_START ); if ( ! current_user_can( Permissions::SETUP ) ) { wp_die( esc_html__( 'You have insufficient permissions to connect Site Kit.', 'google-site-kit' ) ); } if ( ! $this->credentials->using_proxy() ) { wp_die( esc_html__( 'Site Kit is not configured to use the authentication proxy.', 'google-site-kit' ) ); } $required_scopes = $this->authentication->get_oauth_client()->get_required_scopes(); $this->google_proxy->with_scopes( $required_scopes ); $oauth_setup_redirect = $this->credentials->has() ? $this->google_proxy->sync_site_fields( $this->credentials, 'sync' ) : $this->google_proxy->register_site( 'sync' ); $oauth_proxy_failed_help_link = $this->get_oauth_proxy_failed_help_link(); if ( is_wp_error( $oauth_setup_redirect ) ) { $error_message = $oauth_setup_redirect->get_error_message(); if ( empty( $error_message ) ) { $error_message = $oauth_setup_redirect->get_error_code(); } wp_die( sprintf( /* translators: 1: Error message or error code. 2: Get help link. */ esc_html__( 'The request to the authentication proxy has failed with an error: %1$s %2$s.', 'google-site-kit' ), esc_html( $error_message ), wp_kses( $oauth_proxy_failed_help_link, array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ) ) ); } if ( ! filter_var( $oauth_setup_redirect, FILTER_VALIDATE_URL ) ) { wp_die( sprintf( /* translators: %s: Get help link. */ esc_html__( 'The request to the authentication proxy has failed. Please, try again later. %s.', 'google-site-kit' ), wp_kses( $oauth_proxy_failed_help_link, array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ) ) ); } if ( $redirect_url ) { $this->user_options->set( OAuth_Client::OPTION_REDIRECT_URL, $redirect_url ); } wp_safe_redirect( $oauth_setup_redirect ); exit; } /** * Handles the action for verifying site ownership. * * @since 1.48.0 * @since 1.49.0 Sets the `verify` and `verification_method` and `site_id` query params. */ public function handle_action_verify() { $input = $this->context->input(); $step = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) ?? '' ); $nonce = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) ?? '' ); $code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) ?? '' ); $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) ?? '' ); $verification_token = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token' ) ?? '' ); $verification_method = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token_type' ) ?? '' ); $this->verify_nonce( $nonce ); if ( ! current_user_can( Permissions::SETUP ) ) { wp_die( esc_html__( 'You don’t have permissions to set up Site Kit.', 'google-site-kit' ), 403 ); } if ( ! $code ) { wp_die( esc_html__( 'Invalid request.', 'google-site-kit' ), 400 ); } if ( ! $verification_token || ! $verification_method ) { wp_die( esc_html__( 'Verifying site ownership requires a token and verification method.', 'google-site-kit' ), 400 ); } $this->handle_verification( $verification_token, $verification_method ); $proxy_query_params = array( 'step' => $step, 'verify' => 'true', 'verification_method' => $verification_method, ); // If the site does not have a site ID yet, a site code will be passed. // Handling the site code here will save the extra redirect from the proxy if successful. if ( $site_code ) { try { $this->handle_site_code( $code, $site_code ); } catch ( Missing_Verification_Exception $exception ) { $proxy_query_params['site_code'] = $site_code; $this->redirect_to_proxy( $code, $proxy_query_params ); } catch ( Exchange_Site_Code_Exception $exception ) { $this->redirect_to_splash(); } } $credentials = $this->credentials->get(); $proxy_query_params['site_id'] = ! empty( $credentials['oauth2_client_id'] ) ? $credentials['oauth2_client_id'] : ''; $this->redirect_to_proxy( $code, $proxy_query_params ); } /** * Handles the action for exchanging the site code for site credentials. * * This action will only be called if the site code failed to be handled * during the verification step. * * @since 1.48.0 */ public function handle_action_exchange_site_code() { $input = $this->context->input(); $step = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) ?? '' ); $nonce = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) ?? '' ); $code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) ?? '' ); $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) ?? '' ); $this->verify_nonce( $nonce ); if ( ! current_user_can( Permissions::SETUP ) ) { wp_die( esc_html__( 'You don’t have permissions to set up Site Kit.', 'google-site-kit' ), 403 ); } if ( ! $code || ! $site_code ) { wp_die( esc_html__( 'Invalid request.', 'google-site-kit' ), 400 ); } try { $this->handle_site_code( $code, $site_code ); } catch ( Missing_Verification_Exception $exception ) { $this->redirect_to_proxy( $code, compact( 'site_code', 'step' ) ); } catch ( Exchange_Site_Code_Exception $exception ) { $this->redirect_to_splash(); } $credentials = $this->credentials->get(); $site_id = ! empty( $credentials['oauth2_client_id'] ) ? $credentials['oauth2_client_id'] : ''; $this->redirect_to_proxy( $code, compact( 'site_id', 'step' ) ); } /** * Verifies the given nonce for a setup action. * * The nonce passed from the proxy will always be the one initially provided to it. * {@see Google_Proxy::setup_url()} * * @since 1.48.0 * * @param string $nonce Action nonce. * @param string $action Action name. Optional. Defaults to the action for the nonce given to the proxy. */ protected function verify_nonce( $nonce, $action = Google_Proxy::NONCE_ACTION ) { if ( ! wp_verify_nonce( $nonce, $action ) ) { $this->authentication->invalid_nonce_error( $action ); } } /** * Handles site verification. * * @since 1.48.0 * * @param string $token Verification token. * @param string $method Verification method. */ protected function handle_verification( $token, $method ) { /** * Verifies site ownership using the given token and verification method. * * @since 1.48.0 * * @param string $token Verification token. * @param string $method Verification method. */ do_action( 'googlesitekit_verify_site_ownership', $token, $method ); } /** * Handles the exchange of a code and site code for client credentials from the proxy. * * @since 1.48.0 * * @param string $code Code ('googlesitekit_code') provided by proxy. * @param string $site_code Site code ('googlesitekit_site_code') provided by proxy. * * @throws Missing_Verification_Exception Thrown if exchanging the site code fails due to missing site verification. * @throws Exchange_Site_Code_Exception Thrown if exchanging the site code fails for any other reason. */ protected function handle_site_code( $code, $site_code ) { $data = $this->google_proxy->exchange_site_code( $site_code, $code ); if ( is_wp_error( $data ) ) { $error_code = $data->get_error_message() ?: $data->get_error_code(); $error_code = $error_code ?: 'unknown_error'; if ( 'missing_verification' === $error_code ) { throw new Missing_Verification_Exception(); } $this->user_options->set( OAuth_Client::OPTION_ERROR_CODE, $error_code ); throw new Exchange_Site_Code_Exception( $error_code ); } $this->credentials->set( array( 'oauth2_client_id' => $data['site_id'], 'oauth2_client_secret' => $data['site_secret'], ) ); } /** * Redirects back to the authentication service with any added parameters. * * For v2 of the proxy, this method now has to ensure that the user is redirected back to the correct step on the * proxy, based on which action was received. * * @since 1.48.0 * @since 1.49.0 Uses the new `Google_Proxy::setup_url_v2` method when the `serviceSetupV2` feature flag is enabled. * * @param string $code Code ('googlesitekit_code') provided by proxy. * @param array $params Additional query parameters to include in the proxy redirect URL. */ protected function redirect_to_proxy( $code = '', $params = array() ) { $params['code'] = $code; $url = $this->authentication->get_google_proxy()->setup_url( $params ); wp_safe_redirect( $url ); exit; } /** * Redirects to the Site Kit splash page. * * @since 1.48.0 */ protected function redirect_to_splash() { wp_safe_redirect( $this->context->admin_url( 'splash' ) ); exit; } } includes/Core/Authentication/Token.php 0000604 00000007440 14717744000 0014017 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Token * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Storage\Encrypted_User_Options; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; /** * Class representing the OAuth token for a user. * * This includes the access token, its creation and expiration data, and the refresh token. * This class is compatible with `Google\Site_Kit\Core\Storage\User_Setting`, as it should in the future be adjusted * so that the four pieces of data become a single user setting. * * @since 1.39.0 * @access private * @ignore */ final class Token { /** * User_Options instance. * * @since 1.39.0 * @var User_Options */ protected $user_options; /** * Encrypted_User_Options instance. * * @since 1.39.0 * @var Encrypted_User_Options */ private $encrypted_user_options; /** * Constructor. * * @since 1.39.0 * * @param User_Options $user_options User_Options instance. */ public function __construct( User_Options $user_options ) { $this->user_options = $user_options; $this->encrypted_user_options = new Encrypted_User_Options( $this->user_options ); } /** * Checks whether or not the setting exists. * * @since 1.39.0 * * @return bool True on success, false on failure. */ public function has() { if ( ! $this->get() ) { return false; } return true; } /** * Gets the value of the setting. * * @since 1.39.0 * * @return mixed Value set for the option, or default if not set. */ public function get() { $access_token = $this->encrypted_user_options->get( OAuth_Client::OPTION_ACCESS_TOKEN ); if ( empty( $access_token ) ) { return array(); } $token = array( 'access_token' => $access_token, 'expires_in' => (int) $this->user_options->get( OAuth_Client::OPTION_ACCESS_TOKEN_EXPIRES_IN ), 'created' => (int) $this->user_options->get( OAuth_Client::OPTION_ACCESS_TOKEN_CREATED ), ); $refresh_token = $this->encrypted_user_options->get( OAuth_Client::OPTION_REFRESH_TOKEN ); if ( ! empty( $refresh_token ) ) { $token['refresh_token'] = $refresh_token; } return $token; } /** * Sets the value of the setting with the given value. * * @since 1.39.0 * * @param mixed $value Setting value. Must be serializable if non-scalar. * * @return bool True on success, false on failure. */ public function set( $value ) { if ( empty( $value['access_token'] ) ) { return false; } // Use reasonable defaults for these fields. if ( empty( $value['expires_in'] ) ) { $value['expires_in'] = HOUR_IN_SECONDS; } if ( empty( $value['created'] ) ) { $value['created'] = time(); } $this->encrypted_user_options->set( OAuth_Client::OPTION_ACCESS_TOKEN, $value['access_token'] ); $this->user_options->set( OAuth_Client::OPTION_ACCESS_TOKEN_EXPIRES_IN, $value['expires_in'] ); $this->user_options->set( OAuth_Client::OPTION_ACCESS_TOKEN_CREATED, $value['created'] ); if ( ! empty( $value['refresh_token'] ) ) { $this->encrypted_user_options->set( OAuth_Client::OPTION_REFRESH_TOKEN, $value['refresh_token'] ); } return true; } /** * Deletes the setting. * * @since 1.39.0 * * @return bool True on success, false on failure. */ public function delete() { $this->user_options->delete( OAuth_Client::OPTION_ACCESS_TOKEN ); $this->user_options->delete( OAuth_Client::OPTION_ACCESS_TOKEN_EXPIRES_IN ); $this->user_options->delete( OAuth_Client::OPTION_ACCESS_TOKEN_CREATED ); $this->user_options->delete( OAuth_Client::OPTION_REFRESH_TOKEN ); return true; } } includes/Core/Authentication/Verification_File.php 0000604 00000001162 14717744000 0016313 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Verification_File * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class representing the site verification file token for a user. * * @since 1.1.0 * @access private * @ignore */ final class Verification_File extends User_Setting { /** * User option key. */ const OPTION = 'googlesitekit_site_verification_file'; } includes/Core/Authentication/Verification_Meta.php 0000604 00000001160 14717744000 0016320 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Verification_Meta * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class representing the site verification meta tag for a user. * * @since 1.1.0 * @access private * @ignore */ final class Verification_Meta extends User_Setting { /** * User option key. */ const OPTION = 'googlesitekit_site_verification_meta'; } includes/Core/Authentication/Verification.php 0000604 00000003030 14717744000 0015350 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Authentication\Verification * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Authentication; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class representing the status of whether a user is verified as an owner of the site. * * @since 1.0.0 * @access private * @ignore */ final class Verification extends User_Setting { /** * User option key. */ const OPTION = 'googlesitekit_site_verified_meta'; /** * Gets the value of the setting. * * @since 1.4.0 * * @return mixed Value set for the option, or default if not set. */ public function get() { return (bool) parent::get(); } /** * Flags the user as verified or unverified. * * @since 1.0.0 * * @param bool $verified Whether to flag the user as verified or unverified. * @return bool True on success, false on failure. */ public function set( $verified ) { if ( ! $verified ) { return $this->delete(); } return parent::set( '1' ); } /** * Gets the expected value type. * * @since 1.4.0 * * @return string The type name. */ protected function get_type() { return 'boolean'; } /** * Gets the default value. * * Returns an empty string by default for consistency with get_user_meta. * * @since 1.4.0 * * @return mixed The default value. */ protected function get_default() { return false; } } includes/Core/CLI/Authentication_CLI_Command.php 0000604 00000002674 14717744000 0015477 0 ustar 00 <?php /** * Site Kit Authentication CLI Commands * * @package Google\Site_Kit\Core\CLI * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\CLI; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit\Core\Authentication\Authentication; use WP_CLI; /** * Manages Site Kit user authentication for Google APIs. * * @since 1.11.0 * @access private * @ignore */ class Authentication_CLI_Command extends CLI_Command { /** * Disconnects a user from Site Kit, removing their relevant user options and revoking their token. * * ## OPTIONS * * --id=<id> * : User ID to disconnect. * * ## EXAMPLES * * wp google-site-kit auth disconnect --id=11 * * @alias revoke * * @since 1.11.0 * * @param array $args Array of arguments. * @param array $assoc_args Array of associated arguments. */ public function disconnect( $args, $assoc_args ) { $user_id = absint( $assoc_args['id'] ); $authentication = new Authentication( $this->context, new Options( $this->context ), new User_Options( $this->context, $user_id ), new Transients( $this->context ) ); $authentication->disconnect(); WP_CLI::success( sprintf( 'User with ID %d successfully disconnected.', $user_id ) ); } } includes/Core/CLI/CLI_Command.php 0000604 00000001326 14717744000 0012431 0 ustar 00 <?php /** * Site Kit CLI Command * * @package Google\Site_Kit\Core\CLI * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\CLI; use Google\Site_Kit\Context; use WP_CLI_Command; /** * Base CLI Command class. * * @since 1.11.0 * @access private * @ignore */ class CLI_Command extends WP_CLI_Command { /** * Plugin context. * * @since 1.11.0 * * @var Context */ protected $context; /** * Constructor. * * @since 1.11.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } } includes/Core/CLI/CLI_Commands.php 0000604 00000001754 14717744000 0012621 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\CLI\CLI_Commands * * @package Google\Site_Kit\Core\CLI * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\CLI; use Google\Site_Kit\Context; use WP_CLI; /** * CLI commands hub class. * * @since 1.11.0 * @access private * @ignore */ class CLI_Commands { /** * Plugin context. * * @since 1.11.0 * * @var Context */ private $context; /** * Constructor. * * @since 1.11.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers WP CLI commands. * * @since 1.11.0 */ public function register() { WP_CLI::add_command( 'google-site-kit auth', new Authentication_CLI_Command( $this->context ) ); WP_CLI::add_command( 'google-site-kit reset', new Reset_CLI_Command( $this->context ) ); } } includes/Core/CLI/Reset_CLI_Command.php 0000604 00000002513 14717744000 0013572 0 ustar 00 <?php /** * Site Kit Cache CLI Commands * * @package Google\Site_Kit\Core\CLI * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\CLI; use Google\Site_Kit\Core\Util\Reset; use Google\Site_Kit\Core\Util\Reset_Persistent; use WP_CLI; /** * Resets Site Kit Settings and Data. * * @since 1.11.0 * @access private * @ignore */ class Reset_CLI_Command extends CLI_Command { /** * Deletes options, user stored options, transients and clears object cache for stored options. * * ## OPTIONS * * [--persistent] * : Additionally deletes persistent options. * * ## EXAMPLES * * wp google-site-kit reset * wp google-site-kit reset --persistent * * @since 1.11.0 * @since 1.27.0 Added --persistent flag to delete persistent options. * * @param array $args Positional args. * @param array $assoc_args Additional flags. */ public function __invoke( $args, $assoc_args ) { $reset = new Reset( $this->context ); $reset->all(); if ( isset( $assoc_args['persistent'] ) && true === $assoc_args['persistent'] ) { $reset_persistent = new Reset_Persistent( $this->context ); $reset_persistent->all(); } WP_CLI::success( 'Settings successfully reset.' ); } } includes/Core/Consent_Mode/Consent_Mode.php 0000604 00000020072 14717744000 0014706 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Consent_Mode\Consent_Mode * * @package Google\Site_Kit\Core\Consent_Mode * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Consent_Mode; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Plugin_Upgrader; use Plugin_Installer_Skin; /** * Class for handling Consent Mode. * * @since 1.122.0 * @access private * @ignore */ class Consent_Mode { use Method_Proxy_Trait; /** * Context instance. * * @since 1.132.0 * @var Context */ protected $context; /** * Consent_Mode_Settings instance. * * @since 1.122.0 * @var Consent_Mode_Settings */ protected $consent_mode_settings; /** * REST_Consent_Mode_Controller instance. * * @since 1.122.0 * @var REST_Consent_Mode_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.122.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $options = $options ?: new Options( $context ); $this->consent_mode_settings = new Consent_Mode_Settings( $options ); $this->rest_controller = new REST_Consent_Mode_Controller( $this->consent_mode_settings ); } /** * Registers functionality through WordPress hooks. * * @since 1.122.0 */ public function register() { $this->consent_mode_settings->register(); $this->rest_controller->register(); // Declare that the plugin is compatible with the WP Consent API. $plugin = GOOGLESITEKIT_PLUGIN_BASENAME; add_filter( "wp_consent_api_registered_{$plugin}", '__return_true' ); $consent_mode_enabled = $this->consent_mode_settings->is_consent_mode_enabled(); if ( $consent_mode_enabled ) { // The `wp_head` action is used to ensure the snippets are printed in the head on the front-end only, not admin pages. add_action( 'wp_head', $this->get_method_proxy( 'render_gtag_consent_data_layer_snippet' ), 1 // Set priority to 1 to ensure the snippet is printed with top priority in the head. ); add_action( 'wp_enqueue_scripts', fn () => $this->register_and_enqueue_script() ); } add_filter( 'googlesitekit_consent_mode_status', function () use ( $consent_mode_enabled ) { return $consent_mode_enabled ? 'enabled' : 'disabled'; } ); add_filter( 'googlesitekit_inline_base_data', $this->get_method_proxy( 'inline_js_base_data' ) ); add_action( 'wp_ajax_install_activate_wp_consent_api', array( $this, 'install_activate_wp_consent_api' ) ); } /** * AJAX callback that installs and activates the WP Consent API plugin. * * This function utilizes an AJAX approach instead of the standardized REST approach * due to the requirement of the Plugin_Upgrader class, which relies on functions * from `admin.php` among others. These functions are properly loaded during the * AJAX callback, ensuring the installation and activation processes can execute correctly. * * @since 1.132.0 */ public function install_activate_wp_consent_api() { check_ajax_referer( 'updates' ); $slug = 'wp-consent-api'; $plugin = "$slug/$slug.php"; if ( ! current_user_can( 'activate_plugin', $plugin ) ) { wp_send_json( array( 'error' => __( 'You do not have permission to activate plugins on this site.', 'google-site-kit' ) ) ); } /** WordPress Administration Bootstrap */ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; // For Plugin_Upgrader and Plugin_Installer_Skin. require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // For plugins_api. $api = plugins_api( 'plugin_information', array( 'slug' => $slug, 'fields' => array( 'sections' => false, ), ) ); if ( is_wp_error( $api ) ) { wp_send_json( array( 'error' => $api->get_error_message() ) ); } $title = ''; $nonce = 'install-plugin_' . $plugin; $url = 'update.php?action=install-plugin&plugin=' . rawurlencode( $plugin ); $upgrader = new Plugin_Upgrader( new Plugin_Installer_Skin( compact( 'title', 'url', 'nonce', 'plugin', 'api' ) ) ); $install_plugin = $upgrader->install( $api->download_link ); if ( is_wp_error( $install_plugin ) ) { wp_send_json( array( 'error' => $install_plugin->get_error_message() ) ); } $activated = activate_plugin( $plugin ); if ( is_wp_error( $activated ) ) { wp_send_json( array( 'error' => $activated->get_error_message() ) ); } wp_send_json( array( 'success' => true ) ); } /** * Registers and Enqueues the consent mode script. * * @since 1.132.0 */ protected function register_and_enqueue_script() { $consent_mode_script = new Script( 'googlesitekit-consent-mode', array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-consent-mode.js' ), ) ); $consent_mode_script->register( $this->context ); $consent_mode_script->enqueue(); } /** * Prints the gtag consent snippet. * * @since 1.122.0 * @since 1.132.0 Refactored core script to external js file transpiled with webpack. */ protected function render_gtag_consent_data_layer_snippet() { /** * Filters the consent mode defaults. * * Allows these defaults to be modified, thus allowing users complete control over the consent mode parameters. * * @since 1.126.0 * * @param array $consent_mode_defaults Default values for consent mode. */ $consent_defaults = apply_filters( 'googlesitekit_consent_defaults', array( 'ad_personalization' => 'denied', 'ad_storage' => 'denied', 'ad_user_data' => 'denied', 'analytics_storage' => 'denied', 'functionality_storage' => 'denied', 'security_storage' => 'denied', 'personalization_storage' => 'denied', // TODO: The value for `region` should be retrieved from $this->consent_mode_settings->get_regions(), // but we'll need to migrate/clean up the incorrect values that were set from the initial release. // See https://github.com/google/site-kit-wp/issues/8444. 'region' => Regions::get_regions(), 'wait_for_update' => 500, // Allow 500ms for Consent Management Platforms (CMPs) to update the consent status. ) ); /** * Filters the consent category mapping. * * @since 1.124.0 * * @param array $consent_category_map Default consent category mapping. */ $consent_category_map = apply_filters( 'googlesitekit_consent_category_map', array( 'statistics' => array( 'analytics_storage' ), 'marketing' => array( 'ad_storage', 'ad_user_data', 'ad_personalization' ), 'functional' => array( 'functionality_storage', 'security_storage' ), 'preferences' => array( 'personalization_storage' ), ) ); // The core Consent Mode code is in assets/js/consent-mode/consent-mode.js. // Only code that passes data from PHP to JS should be in this file. ?> <!-- <?php echo esc_html__( 'Google tag (gtag.js) Consent Mode dataLayer added by Site Kit', 'google-site-kit' ); ?> --> <script id='google_gtagjs-js-consent-mode-data-layer'> window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} gtag('consent', 'default', <?php echo wp_json_encode( $consent_defaults ); ?>); window._googlesitekitConsentCategoryMap = <?php echo wp_json_encode( $consent_category_map ); ?>; window._googlesitekitConsents = <?php echo wp_json_encode( $consent_defaults ); ?> </script> <!-- <?php echo esc_html__( 'End Google tag (gtag.js) Consent Mode dataLayer added by Site Kit', 'google-site-kit' ); ?> --> <?php } /** * Extends base data with a static list of consent mode regions. * * @since 1.128.0 * * @param array $data Inline base data. * @return array Filtered $data. */ protected function inline_js_base_data( $data ) { $data['consentModeRegions'] = Regions::get_regions(); return $data; } } includes/Core/Consent_Mode/Consent_Mode_Settings.php 0000604 00000004556 14717744000 0016577 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Consent_Mode\Consent_Mode_Settings * * @package Google\Site_Kit\Core\Consent_Mode * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Consent_Mode; use Google\Site_Kit\Core\Storage\Setting; /** * Class to store user Consent Mode settings. * * @since 1.122.0 * @access private * @ignore */ class Consent_Mode_Settings extends Setting { /** * The user option name for this setting. */ const OPTION = 'googlesitekit_consent_mode'; /** * Gets the expected value type. * * @since 1.122.0 * * @return string The type name. */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @since 1.122.0 * * @return array The default value. */ protected function get_default() { return array( 'enabled' => false, 'regions' => Regions::get_regions(), ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.122.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $value ) { $new_value = $this->get(); if ( isset( $value['enabled'] ) ) { $new_value['enabled'] = (bool) $value['enabled']; } if ( ! empty( $value['regions'] ) && is_array( $value['regions'] ) ) { $region_codes = array_reduce( $value['regions'], static function ( $regions, $region_code ) { $region_code = strtoupper( $region_code ); // Match ISO 3166-2 (`AB` or `CD-EF`). if ( ! preg_match( '#^[A-Z]{2}(-[A-Z]{2})?$#', $region_code ) ) { return $regions; } // Store as keys to remove duplicates. $regions[ $region_code ] = true; return $regions; }, array() ); $new_value['regions'] = array_keys( $region_codes ); } return $new_value; }; } /** * Accessor for the `enabled` setting. * * @since 1.122.0 * * @return bool TRUE if Consent Mode is enabled, otherwise FALSE. */ public function is_consent_mode_enabled() { return $this->get()['enabled']; } /** * Accessor for the `regions` setting. * * @since 1.122.0 * * @return array<string> Array of ISO 3166-2 region codes. */ public function get_regions() { return $this->get()['regions']; } } includes/Core/Consent_Mode/Regions.php 0000604 00000002236 14717744000 0013741 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Consent_Mode\Regions * * @package Google\Site_Kit\Core\Consent_Mode * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Consent_Mode; use Google\Site_Kit\Core\Util\Feature_Flags; /** * Class containing Consent Mode Regions. * * @since 1.122.0 * @access private * @ignore */ class Regions { /** * List of countries that Google's EU user consent policy applies to, which are the * countries in the European Economic Area (EEA) plus the UK. */ const EU_USER_CONSENT_POLICY = array( 'AT', 'BE', 'BG', 'CH', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'LI', 'LT', 'LU', 'LV', 'MT', 'NL', 'NO', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK', ); /** * Returns the list of regions that Google's EU user consent policy applies to. * * @since 1.128.0 * * @return array<string> List of regions. */ public static function get_regions() { return self::EU_USER_CONSENT_POLICY; } } includes/Core/Consent_Mode/REST_Consent_Mode_Controller.php 0000604 00000014145 14717744000 0017752 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Consent_Mode\REST_Consent_Mode_Controller * * @package Google\Site_Kit\Core\Consent_Mode * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Consent_Mode; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; use WP_Error; /** * Class for handling Consent Mode. * * @since 1.122.0 * @access private * @ignore */ class REST_Consent_Mode_Controller { /** * Consent_Mode_Settings instance. * * @since 1.122.0 * @var Consent_Mode_Settings */ private $consent_mode_settings; /** * Constructor. * * @since 1.122.0 * * @param Consent_Mode_Settings $consent_mode_settings Consent_Mode_Settings instance. */ public function __construct( Consent_Mode_Settings $consent_mode_settings ) { $this->consent_mode_settings = $consent_mode_settings; } /** * Registers functionality through WordPress hooks. * * @since 1.122.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/site/data/consent-mode', ) ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/site/data/consent-api-info', ) ); } ); } /** * Gets REST route instances. * * @since 1.122.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_manage_options = function () { return current_user_can( Permissions::MANAGE_OPTIONS ); }; $can_update_plugins = function () { return current_user_can( Permissions::UPDATE_PLUGINS ); }; return array( new REST_Route( 'core/site/data/consent-mode', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->consent_mode_settings->get() ); }, 'permission_callback' => $can_manage_options, ), array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $this->consent_mode_settings->set( $request['data']['settings'] ); return new WP_REST_Response( $this->consent_mode_settings->get() ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'settings' => array( 'type' => 'object', 'required' => true, 'minProperties' => 1, 'additionalProperties' => false, 'properties' => array( 'enabled' => array( 'type' => 'boolean', ), 'regions' => array( 'type' => 'array', 'items' => array( 'type' => 'string', ), ), ), ), ), ), ), ), ) ), new REST_Route( 'core/site/data/consent-api-info', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $is_active = function_exists( 'wp_set_consent' ); $installed = $is_active; $plugin_uri = 'https://wordpress.org/plugins/wp-consent-api'; $plugin = 'wp-consent-api/wp-consent-api.php'; $response = array( 'hasConsentAPI' => $is_active, ); if ( ! $is_active ) { if ( ! function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } $plugins = get_plugins(); if ( array_key_exists( $plugin, $plugins ) ) { $installed = true; } else { foreach ( $plugins as $plugin_file => $installed_plugin ) { if ( $installed_plugin['PluginURI'] === $plugin_uri ) { $plugin = $plugin_file; $installed = true; break; } } } // Alternate wp_nonce_url without esc_html breaking query parameters. $nonce_url = function ( $action_url, $action ) { return add_query_arg( '_wpnonce', wp_create_nonce( $action ), $action_url ); }; $activate_url = $nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $plugin ), 'activate-plugin_' . $plugin ); $install_url = $nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=wp-consent-api' ), 'install-plugin_wp-consent-api' ); $response['wpConsentPlugin'] = array( 'installed' => $installed, 'activateURL' => current_user_can( 'activate_plugin', $plugin ) ? esc_url_raw( $activate_url ) : false, 'installURL' => current_user_can( 'install_plugins' ) ? esc_url_raw( $install_url ) : false, ); } return new WP_REST_Response( $response ); }, 'permission_callback' => $can_manage_options, ), ) ), new REST_Route( 'core/site/data/consent-api-activate', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function () { require_once ABSPATH . 'wp-admin/includes/plugin.php'; $slug = 'wp-consent-api'; $plugin = "$slug/$slug.php"; $activated = activate_plugin( $plugin ); if ( is_wp_error( $activated ) ) { return new WP_Error( 'invalid_module_slug', $activated->get_error_message() ); } return new WP_REST_Response( array( 'success' => true ) ); }, 'permission_callback' => $can_update_plugins, ), ), ), ); } } includes/Core/Contracts/WP_Errorable.php 0000604 00000001120 14717744000 0014230 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Contracts\WP_Errorable. * * @package Google\Site_Kit\Core\Contracts * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Contracts; use WP_Error; /** * Interface for a class which can be represented as a WP_Error. * * @since 1.9.0 */ interface WP_Errorable { /** * Gets the WP_Error representation of this entity. * * @since 1.9.0 * * @return WP_Error */ public function to_wp_error(); } includes/Core/Conversion_Tracking/Conversion_Event_Providers/Contact_Form_7.php 0000604 00000003231 14717744000 0024050 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Contact_Form_7 * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling Contact Form 7 conversion events. * * @since 1.127.0 * @access private * @ignore */ class Contact_Form_7 extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'contact-form-7'; /** * Checks if the Contact Form 7 plugin is active. * * @since 1.127.0 * * @return bool True if Contact Form 7 is active, false otherwise. */ public function is_active() { return defined( 'WPCF7_VERSION' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'contact' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-contact-form-7.js' ), 'execution' => 'defer', ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/Easy_Digital_Downloads.php 0000604 00000003404 14717744000 0025616 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Easy_Digital_Downloads * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling Easy Digital Downloads conversion events. * * @since 1.130.0 * @access private * @ignore */ class Easy_Digital_Downloads extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'easy-digital-downloads'; /** * Checks if the Easy Digital Downloads plugin is active. * * @since 1.130.0 * * @return bool True if Easy Digital Downloads is active, false otherwise. */ public function is_active() { return defined( 'EDD_VERSION' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.130.0 * * @return array List of event names. */ public function get_event_names() { return array( 'add_to_cart' ); } /** * Registers the script for the provider. * * @since 1.130.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-easy-digital-downloads.js' ), 'execution' => 'defer', 'dependencies' => array( 'edd-ajax' ), ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/Mailchimp.php 0000604 00000003267 14717744000 0023160 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Mailchimp * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling Mailchimp conversion events. * * @since 1.127.0 * @access private * @ignore */ class Mailchimp extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'mailchimp'; /** * Checks if the Mailchimp plugin is active. * * @since 1.127.0 * * @return bool True if Mailchimp is active, false otherwise. */ public function is_active() { return defined( 'MC4WP_VERSION' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'submit_lead_form' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-mailchimp.js' ), 'execution' => 'defer', 'dependencies' => array( 'mc4wp-forms-api' ), ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/Ninja_Forms.php 0000604 00000003307 14717744000 0023455 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Ninja_Forms * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling Ninja Forms conversion events. * * @since 1.130.0 * @access private * @ignore */ class Ninja_Forms extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'ninja-forms'; /** * Checks if the Ninja Forms plugin is active. * * @since 1.130.0 * * @return bool True if Ninja Forms is active, false otherwise. */ public function is_active() { return defined( 'NF_PLUGIN_URL' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.130.0 * * @return array List of event names. */ public function get_event_names() { return array( 'submit_lead_form' ); } /** * Registers the script for the provider. * * @since 1.130.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-ninja-forms.js' ), 'execution' => 'defer', 'dependencies' => array( 'nf-front-end-deps' ), ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/OptinMonster.php 0000604 00000003223 14717744000 0023706 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\OptinMonster * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling OptinMonster conversion events. * * @since 1.127.0 * @access private * @ignore */ class OptinMonster extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'optin-monster'; /** * Checks if the OptinMonster plugin is active. * * @since 1.127.0 * * @return bool True if OptinMonster is active, false otherwise. */ public function is_active() { return defined( 'OMAPI_FILE' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'submit_lead_form' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-optin-monster.js' ), 'execution' => 'defer', ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/PopupMaker.php 0000604 00000003303 14717744000 0023327 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\PopupMaker * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling PopupMaker conversion events. * * @since 1.127.0 * @access private * @ignore */ class PopupMaker extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'popup-maker'; /** * Checks if the PopupMaker plugin is active. * * @since 1.127.0 * * @return bool True if PopupMaker is active, false otherwise. */ public function is_active() { return defined( 'POPMAKE_VERSION' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'submit_lead_form' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-popup-maker.js' ), 'dependencies' => array( 'popup-maker-site' ), 'execution' => 'defer', ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php 0000604 00000005675 14717744000 0023501 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; use Google\Site_Kit\Core\Util\BC_Functions; /** * Class for handling WooCommerce conversion events. * * @since 1.127.0 * @access private * @ignore */ class WooCommerce extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'woocommerce'; /** * Checks if the WooCommerce plugin is active. * * @since 1.127.0 * * @return bool True if WooCommerce is active, false otherwise. */ public function is_active() { return did_action( 'woocommerce_loaded' ) > 0; } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'add_to_cart', 'purchase' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-woocommerce.js' ), 'execution' => 'defer', 'dependencies' => array( 'woocommerce' ), ) ); $script->register( $this->context ); return $script; } /** * Adds a hook for a purchase event. * * @since 1.129.0 */ public function register_hooks() { $input = $this->context->input(); add_action( 'woocommerce_thankyou', function ( $order_id ) use ( $input ) { $order = wc_get_order( $order_id ); // If there isn't a valid order for this ID, or if this order // already has a purchase event tracked for it, return early // and don't output the script tag to track the purchase event. if ( ! $order || $order->get_meta( '_googlesitekit_ga_purchase_event_tracked' ) === '1' ) { return; } // Ensure the order key in the query param is valid for this // order. $order_key = $input->filter( INPUT_GET, 'key' ); // Don't output the script tag if the order key is invalid. if ( ! $order->key_is_valid( (string) $order_key ) ) { return; } // Mark the order as tracked by Site Kit. $order->update_meta_data( '_googlesitekit_ga_purchase_event_tracked', 1 ); $order->save(); // Output the script tag to track the purchase event in // Analytics. BC_Functions::wp_print_inline_script_tag( "window?._googlesitekit?.gtagEvent?.( 'purchase' );" ); }, 10, 1 ); } } includes/Core/Conversion_Tracking/Conversion_Event_Providers/WPForms.php 0000604 00000003163 14717744000 0022605 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WPForms * * @package Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider; /** * Class for handling WPForms conversion events. * * @since 1.127.0 * @access private * @ignore */ class WPForms extends Conversion_Events_Provider { const CONVERSION_EVENT_PROVIDER_SLUG = 'wpforms'; /** * Checks if the WPForms plugin is active. * * @since 1.127.0 * * @return bool True if WPForms is active, false otherwise. */ public function is_active() { return defined( 'WPFORMS_VERSION' ); } /** * Gets the conversion event names that are tracked by this provider. * * @since 1.127.0 * * @return array List of event names. */ public function get_event_names() { return array( 'submit_lead_form' ); } /** * Registers the script for the provider. * * @since 1.127.0 * * @return Script Script instance. */ public function register_script() { $script = new Script( 'googlesitekit-events-provider-' . self::CONVERSION_EVENT_PROVIDER_SLUG, array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-events-provider-wpforms.js' ), 'execution' => 'defer', ) ); $script->register( $this->context ); return $script; } } includes/Core/Conversion_Tracking/Conversion_Events_Provider.php 0000604 00000003151 14717744000 0021245 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Events_Provider * * @package Google\Site_Kit\Core\Conversion_Tracking * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Script; /** * Base class for conversion events provider. * * @since 1.125.0 * @since 1.126.0 Changed from interface to abstract class. * @access private * @ignore */ abstract class Conversion_Events_Provider { /** * Plugin context. * * @since 1.126.0 * @var Context */ protected $context; /** * Constructor. * * @since 1.126.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Checks if the provider is active. * * @since 1.125.0 * * @return bool True if the provider is active, false otherwise. */ public function is_active() { return false; } /** * Gets the event names. * * @since 1.125.0 * * @return array List of event names. */ abstract public function get_event_names(); /** * Registers any actions/hooks for this provider. * * @since 1.129.0 */ public function register_hooks() { // No-op by default, but left here so subclasses can implement // their own `add_action`/hook calls. } /** * Registers the script for the provider. * * @since 1.125.0 * * @return Script Script instance. */ abstract public function register_script(); } includes/Core/Conversion_Tracking/Conversion_Tracking.php 0000604 00000014410 14717744000 0017671 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking * * @package Google\Site_Kit\Core\Modules * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Contact_Form_7; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Easy_Digital_Downloads; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Mailchimp; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\Ninja_Forms; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\OptinMonster; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\PopupMaker; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WPForms; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Tags\GTag; use LogicException; /** * Class for managing conversion tracking. * * @since 1.126.0 * @access private * @ignore */ class Conversion_Tracking { /** * Context object. * * @var Context */ private $context; /** * Conversion_Tracking_Settings instance. * * @since 1.127.0 * @var Conversion_Tracking_Settings */ protected $conversion_tracking_settings; /** * REST_Conversion_Tracking_Controller instance. * * @since 1.127.0 * @var REST_Conversion_Tracking_Controller */ protected $rest_conversion_tracking_controller; /** * Supported conversion event providers. * * @since 1.126.0 * @since 1.130.0 Added Ninja Forms class. * @var array */ public static $providers = array( Contact_Form_7::CONVERSION_EVENT_PROVIDER_SLUG => Contact_Form_7::class, Easy_Digital_Downloads::CONVERSION_EVENT_PROVIDER_SLUG => Easy_Digital_Downloads::class, Mailchimp::CONVERSION_EVENT_PROVIDER_SLUG => Mailchimp::class, Ninja_Forms::CONVERSION_EVENT_PROVIDER_SLUG => Ninja_Forms::class, OptinMonster::CONVERSION_EVENT_PROVIDER_SLUG => OptinMonster::class, PopupMaker::CONVERSION_EVENT_PROVIDER_SLUG => PopupMaker::class, WooCommerce::CONVERSION_EVENT_PROVIDER_SLUG => WooCommerce::class, WPForms::CONVERSION_EVENT_PROVIDER_SLUG => WPForms::class, ); /** * Constructor. * * @since 1.126.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $options = $options ?: new Options( $context ); $this->conversion_tracking_settings = new Conversion_Tracking_Settings( $options ); $this->rest_conversion_tracking_controller = new REST_Conversion_Tracking_Controller( $this->conversion_tracking_settings ); } /** * Registers the class functionality. * * @since 1.126.0 */ public function register() { $this->conversion_tracking_settings->register(); $this->rest_conversion_tracking_controller->register(); add_action( 'wp_enqueue_scripts', fn () => $this->maybe_enqueue_scripts(), 30 ); $active_providers = $this->get_active_providers(); array_walk( $active_providers, function ( Conversion_Events_Provider $active_provider ) { $active_provider->register_hooks(); } ); } /** * Enqueues conversion tracking scripts if conditions are satisfied. */ protected function maybe_enqueue_scripts() { if ( // Do nothing if neither Ads nor Analytics *web* snippet has been inserted. ! ( did_action( 'googlesitekit_ads_init_tag' ) || did_action( 'googlesitekit_analytics-4_init_tag' ) ) || ! $this->conversion_tracking_settings->is_conversion_tracking_enabled() ) { return; } $active_providers = $this->get_active_providers(); array_walk( $active_providers, function ( Conversion_Events_Provider $active_provider ) { $script_asset = $active_provider->register_script(); $script_asset->enqueue(); } ); $gtag_event = ' window._googlesitekit = window._googlesitekit || {}; window._googlesitekit.throttledEvents = []; window._googlesitekit.gtagEvent = (name, data) => { var key = JSON.stringify( { name, data } ); if ( !! window._googlesitekit.throttledEvents[ key ] ) { return; } window._googlesitekit.throttledEvents[ key ] = true; setTimeout( () => { delete window._googlesitekit.throttledEvents[ key ]; }, 5 ); gtag( "event", name, { ...data, event_source: "site-kit" } ); } '; wp_add_inline_script( GTag::HANDLE, preg_replace( '/\s+/', ' ', $gtag_event ) ); } /** * Gets the instances of active conversion event providers. * * @since 1.126.0 * * @return array List of active Conversion_Events_Provider instances. * @throws LogicException Thrown if an invalid conversion event provider class name is provided. */ public function get_active_providers() { $active_providers = array(); foreach ( self::$providers as $provider_slug => $provider_class ) { if ( ! is_string( $provider_class ) || ! $provider_class ) { throw new LogicException( sprintf( /* translators: %s: provider slug */ __( 'A conversion event provider class name is required to instantiate a provider: %s', 'google-site-kit' ), $provider_slug ) ); } if ( ! class_exists( $provider_class ) ) { throw new LogicException( sprintf( /* translators: %s: provider classname */ __( "The '%s' class does not exist", 'google-site-kit' ), $provider_class ) ); } if ( ! is_subclass_of( $provider_class, Conversion_Events_Provider::class ) ) { throw new LogicException( sprintf( /* translators: 1: provider classname 2: Conversion_Events_Provider classname */ __( "The '%1\$s' class must extend the base conversion event provider class: %2\$s", 'google-site-kit' ), $provider_class, Conversion_Events_Provider::class ) ); } $instance = new $provider_class( $this->context ); if ( $instance->is_active() ) { $active_providers[ $provider_slug ] = $instance; } } return $active_providers; } } includes/Core/Conversion_Tracking/Conversion_Tracking_Settings.php 0000604 00000003202 14717744000 0021546 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\Conversion_Tracking_Settings * * @package Google\Site_Kit\Core\Conversion_Tracking * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking; use Google\Site_Kit\Core\Storage\Setting; /** * Class to store conversion tracking settings. * * @since 1.127.0 * @access private * @ignore */ class Conversion_Tracking_Settings extends Setting { /** * The option name for this setting. */ const OPTION = 'googlesitekit_conversion_tracking'; /** * Gets the expected value type. * * @since 1.127.0 * * @return string The expected type of the setting option. */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @since 1.127.0 * * @return array The default value. */ protected function get_default() { return array( 'enabled' => false, ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.127.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $value ) { $new_value = $this->get(); if ( isset( $value['enabled'] ) ) { $new_value['enabled'] = (bool) $value['enabled']; } return $new_value; }; } /** * Accessor for the `enabled` setting. * * @since 1.127.0 * * @return bool TRUE if conversion tracking is enabled, otherwise FALSE. */ public function is_conversion_tracking_enabled() { return $this->get()['enabled']; } } includes/Core/Conversion_Tracking/REST_Conversion_Tracking_Controller.php 0000604 00000005750 14717744000 0022740 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Conversion_Tracking\REST_Conversion_Tracking_Controller * * @package Google\Site_Kit\Core\Conversion_Tracking * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Conversion_Tracking; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling rest routes for Conversion Tracking settings. * * @since 1.127.0 * @access private * @ignore */ class REST_Conversion_Tracking_Controller { /** * Conversion_Tracking_Settings instance. * * @since 1.127.0 * @var Conversion_Tracking_Settings */ protected $settings; /** * Constructor. * * @since 1.127.0 * * @param Conversion_Tracking_Settings $settings Conversion Tracking settings. */ public function __construct( Conversion_Tracking_Settings $settings ) { $this->settings = $settings; } /** * Registers functionality through WordPress hooks. * * @since 1.127.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/site/data/conversion-tracking', ) ); } ); } /** * Gets REST route instances. * * @since 1.127.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $has_capabilities = function () { return current_user_can( Permissions::MANAGE_OPTIONS ); }; return array( new REST_Route( 'core/site/data/conversion-tracking', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->settings->get() ); }, 'permission_callback' => $has_capabilities, ) ), new REST_Route( 'core/site/data/conversion-tracking', array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $this->settings->set( $request['data']['settings'] ); return new WP_REST_Response( $this->settings->get() ); }, 'permission_callback' => $has_capabilities, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'settings' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'enabled' => array( 'type' => 'boolean', 'required' => true, ), ), ), ), ), ), ) ), ); } } includes/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php 0000604 00000004543 14717744000 0022056 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics\Active_Consumers * * @package Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics; use Closure; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for representing active consumers for an access token. * * @since 1.82.0 * @access private * @ignore */ class Active_Consumers extends User_Setting { /** * The user option name for this setting. */ const OPTION = 'googlesitekit_active_consumers'; /** * Gets the expected value type. * * @since 1.82.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.82.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.82.0 * * @return Closure */ protected function get_sanitize_callback() { return function ( $value ) { // If the new value is not an array, preserve current value. if ( ! is_array( $value ) ) { return $this->get(); } $results = array(); foreach ( $value as $id => $roles ) { // If any of the IDs isn't an integer, do not include that item. if ( ! is_int( $id ) ) { continue; } // If any of the array values isn't an array, do not include that item. if ( ! is_array( $roles ) ) { continue; } $user_roles = array(); foreach ( $roles as $role ) { // If the nested role item is a string, include that role item. if ( is_string( $role ) ) { $user_roles[] = $role; } } if ( ! empty( $user_roles ) ) { $results[ $id ] = $user_roles; } } return $results; }; } /** * Adds a consumer to the active consumers list. * * @since 1.87.0 * * @param int $user_id User ID. * @param string[] $roles User roles. */ public function add( $user_id, $roles ) { $active_consumers = $this->get(); if ( ! array_key_exists( $user_id, $active_consumers ) ) { $active_consumers[ $user_id ] = $roles; $this->set( $active_consumers ); } } } includes/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php 0000604 00000003371 14717744000 0022065 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics\Activity_Metrics * * @package Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling active consumers. * * @since 1.82.0 * @access private * @ignore */ class Activity_Metrics { /** * Active_Consumers instance. * * @since 1.82.0 * @var Active_Consumers */ protected $active_consumers; /** * Constructor. * * @since 1.82.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->active_consumers = new Active_Consumers( $user_options ?: new User_Options( $context ) ); } /** * Registers functionality. * * @since 1.82.0 */ public function register() { $this->active_consumers->register(); } /** * Get active consumers for refresh token. * * @since 1.87.0 * * @return array Array of active consumers formatted for refresh token. */ public function get_for_refresh_token() { $active_consumers = $this->active_consumers->get(); if ( empty( $active_consumers ) ) { return array(); } $formatted_consumers = array(); foreach ( $active_consumers as $id => $roles ) { $formatted_consumers[] = $id . ':' . implode( ',', $roles ); } return array( 'active_consumers' => implode( ' ', $formatted_consumers ), ); } } includes/Core/Dashboard_Sharing/Dashboard_Sharing.php 0000604 00000003416 14717744000 0016663 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dashboard_Sharing\Dashboard_Sharing * * @package Google\Site_Kit\Core\Dashboard_Sharing * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dashboard_Sharing; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Dashboard_Sharing\Activity_Metrics\Activity_Metrics; /** * Class for handling Dashboard Sharing. * * @since 1.82.0 * @access private * @ignore */ class Dashboard_Sharing { /** * Plugin context. * * @since 1.82.0 * @var Context */ private $context; /** * User_Options object. * * @since 1.82.0 * * @var User_Options */ private $user_options = null; /** * Activity_Metrics instance. * * @since 1.82.0 * @var Activity_Metrics */ protected $activity_metrics; /** * View_Only_Pointer instance. * * @since 1.83.0 * @var View_Only_Pointer */ protected $view_only_pointer; /** * Constructor. * * @since 1.82.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->context = $context; $this->user_options = $user_options ?: new User_Options( $this->context ); $this->activity_metrics = new Activity_Metrics( $this->context, $this->user_options ); $this->view_only_pointer = new View_Only_Pointer(); } /** * Registers functionality. * * @since 1.82.0 */ public function register() { $this->activity_metrics->register(); $this->view_only_pointer->register(); } } includes/Core/Dashboard_Sharing/View_Only_Pointer.php 0000604 00000004000 14717744000 0016722 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dashboard_Sharing\View_Only_Pointer * * @package Google\Site_Kit * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dashboard_Sharing; use Google\Site_Kit\Core\Admin\Pointer; use Google\Site_Kit\Core\Permissions\Permissions; /** * Class for view-only pointer. * * @since 1.83.0. * @access private * @ignore */ final class View_Only_Pointer { const SLUG = 'googlesitekit-view-only-pointer'; /** * Registers functionality through WordPress hooks. * * @since 1.83.0 */ public function register() { add_filter( 'googlesitekit_admin_pointers', function ( $pointers ) { $pointers[] = $this->get_view_only_pointer(); return $pointers; } ); } /** * Gets the view-only pointer. * * @since 1.83.0. * * @return Pointer Admin notice instance. */ private function get_view_only_pointer() { return new Pointer( self::SLUG, array( 'title' => __( 'You now have access to Site Kit', 'google-site-kit' ), 'content' => __( 'Check Site Kit’s dashboard to find out how much traffic your site is getting, your most popular pages, top keywords people use to find your site on Search, and more.', 'google-site-kit' ), 'target_id' => 'toplevel_page_googlesitekit-dashboard', 'active_callback' => function ( $hook_suffix ) { if ( 'index.php' !== $hook_suffix || current_user_can( Permissions::AUTHENTICATE ) || ! current_user_can( Permissions::VIEW_SPLASH ) ) { return false; } $dismissed_wp_pointers = get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ); if ( ! $dismissed_wp_pointers ) { return true; } $dismissed_wp_pointers = explode( ',', $dismissed_wp_pointers ); if ( in_array( self::SLUG, $dismissed_wp_pointers, true ) ) { return false; } return true; }, ) ); } } includes/Core/Dismissals/Dismissals.php 0000604 00000003173 14717744000 0014205 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dismissals\Dismissals * * @package Google\Site_Kit\Core\Dismissals * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dismissals; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling dismissals. * * @since 1.37.0 * @access private * @ignore */ class Dismissals { /** * Dismissed_Items instance. * * @since 1.37.0 * @var Dismissed_Items */ protected $dismissed_items; /** * REST_Dismissals_Controller instance. * * @since 1.37.0 * @var REST_Dismissals_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.37.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->dismissed_items = new Dismissed_Items( $user_options ?: new User_Options( $context ) ); $this->rest_controller = new REST_Dismissals_Controller( $this->dismissed_items ); } /** * Gets the reference to the Dismissed_Items instance. * * @since 1.69.0 * * @return Dismissed_Items An instance of the Dismissed_Items class. */ public function get_dismissed_items() { return $this->dismissed_items; } /** * Registers functionality through WordPress hooks. * * @since 1.37.0 */ public function register() { $this->dismissed_items->register(); $this->rest_controller->register(); } } includes/Core/Dismissals/Dismissed_Items.php 0000604 00000007060 14717744000 0015156 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dismissals\Dismissed_Items * * @package Google\Site_Kit\Core\Dismissals * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dismissals; use Closure; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for representing a user's dismissed items. * * @since 1.37.0 * @access private * @ignore */ class Dismissed_Items extends User_Setting { /** * The user option name for this setting. * * @note This option is prefixed differently so that it will persist across disconnect/reset. */ const OPTION = 'googlesitekitpersistent_dismissed_items'; const DISMISS_ITEM_PERMANENTLY = 0; /** * Adds one or more items to the list of dismissed items. * * @since 1.37.0 * * @param string $item Item to dismiss. * @param int $expires_in_seconds TTL for the item. */ public function add( $item, $expires_in_seconds = self::DISMISS_ITEM_PERMANENTLY ) { $items = $this->get(); $items[ $item ] = $expires_in_seconds ? time() + $expires_in_seconds : 0; $this->set( $items ); } /** * Removes one or more items from the list of dismissed items. * * @since 1.107.0 * * @param string $item Item to remove. */ public function remove( $item ) { $items = $this->get(); // If the item is not in dismissed items, there's nothing to do. if ( ! array_key_exists( $item, $items ) ) { return; } unset( $items[ $item ] ); $this->set( $items ); } /** * Gets the value of the setting. * * @since 1.37.0 * * @return array Value set for the option, or default if not set. */ public function get() { $value = parent::get(); return is_array( $value ) ? $value : $this->get_default(); } /** * Gets the expected value type. * * @since 1.37.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.37.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.37.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $items ) { return $this->filter_dismissed_items( $items ); }; } /** * Determines whether the item is dismissed. * * @since 1.37.0 * * @param string $item The item to check. * @return bool TRUE if item is dismissed, otherwise FALSE. */ public function is_dismissed( $item ) { $items = $this->get(); if ( ! array_key_exists( $item, $items ) ) { return false; } $ttl = $items[ $item ]; if ( $ttl > 0 && $ttl < time() ) { return false; } return true; } /** * Gets dismissed items. * * @since 1.37.0 * * @return array Dismissed items array. */ public function get_dismissed_items() { $dismissed_items = $this->get(); $dismissed_items = $this->filter_dismissed_items( $dismissed_items ); return array_keys( $dismissed_items ); } /** * Filters dismissed items. * * @since 1.37.0 * * @param array $items Dismissed items list. * @return array Filtered dismissed items. */ private function filter_dismissed_items( $items ) { $dismissed = array(); if ( is_array( $items ) ) { foreach ( $items as $item => $ttl ) { if ( self::DISMISS_ITEM_PERMANENTLY === $ttl || $ttl > time() ) { $dismissed[ $item ] = $ttl; } } } return $dismissed; } } includes/Core/Dismissals/REST_Dismissals_Controller.php 0000604 00000010250 14717744000 0017237 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dismissals\REST_Dismissals_Controller * * @package Google\Site_Kit\Core\Dismissals * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Dismissals; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling dismissed items rest routes. * * @since 1.37.0 * @access private * @ignore */ class REST_Dismissals_Controller { /** * Dismissed_Items instance. * * @since 1.37.0 * @var Dismissed_Items */ protected $dismissed_items; /** * Constructor. * * @since 1.37.0 * * @param Dismissed_Items $dismissed_items Dismissed items instance. */ public function __construct( Dismissed_Items $dismissed_items ) { $this->dismissed_items = $dismissed_items; } /** * Registers functionality through WordPress hooks. * * @since 1.37.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/dismissed-items', ) ); } ); } /** * Gets REST route instances. * * @since 1.37.0 * @since 1.133.0 Added the `DELETE dismissed-items` route. * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_dismiss_item = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; return array( new REST_Route( 'core/user/data/dismissed-items', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->dismissed_items->get_dismissed_items() ); }, 'permission_callback' => $can_dismiss_item, ) ), new REST_Route( 'core/user/data/dismissed-items', array( 'methods' => WP_REST_Server::DELETABLE, 'callback' => function ( WP_REST_Request $request ) { $slugs = $request['data']['slugs']; foreach ( $slugs as $slug ) { $this->dismissed_items->remove( $slug ); } return new WP_REST_Response( $this->dismissed_items->get_dismissed_items() ); }, 'permission_callback' => $can_dismiss_item, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'minProperties' => 1, 'additionalProperties' => false, 'properties' => array( 'slugs' => array( 'type' => 'array', 'required' => true, 'items' => array( 'type' => 'string', ), ), ), ), ), ), ), new REST_Route( 'core/user/data/dismiss-item', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data['slug'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'slug' ), array( 'status' => 400 ) ); } $expiration = Dismissed_Items::DISMISS_ITEM_PERMANENTLY; if ( isset( $data['expiration'] ) && intval( $data['expiration'] ) > 0 ) { $expiration = $data['expiration']; } $this->dismissed_items->add( $data['slug'], $expiration ); return new WP_REST_Response( $this->dismissed_items->get_dismissed_items() ); }, 'permission_callback' => $can_dismiss_item, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ) ), ); } } includes/Core/Expirables/Expirable_Items.php 0000604 00000005320 14717744000 0015125 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Expirables\Expirable_Items * * @package Google\Site_Kit\Core\Expirables * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Expirables; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for handling expirables items. * * @since 1.128.0 * @access private * @ignore */ class Expirable_Items extends User_Setting { /** * The user option name for this setting. * * @note This option is prefixed differently so that it will persist across disconnect/reset. */ const OPTION = 'googlesitekitpersistent_expirable_items'; /** * Adds one or more items to the list of expired items. * * @since 1.128.0 * * @param string $item Item to set expiration for. * @param int $expires_in_seconds TTL for the item. */ public function add( $item, $expires_in_seconds ) { $items = $this->get(); $items[ $item ] = time() + $expires_in_seconds; $this->set( $items ); } /** * Removes one or more items from the list of expirable items. * * @since 1.128.0 * * @param string $item Item to remove. */ public function remove( $item ) { $items = $this->get(); // If the item is not in expirable items, there's nothing to do. if ( ! array_key_exists( $item, $items ) ) { return; } unset( $items[ $item ] ); $this->set( $items ); } /** * Gets the value of the setting. * * @since 1.128.0 * * @return array Value set for the option, or default if not set. */ public function get() { $value = parent::get(); return is_array( $value ) ? $value : $this->get_default(); } /** * Gets the expected value type. * * @since 1.128.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.128.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.128.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $items ) { return $this->filter_expirable_items( $items ); }; } /** * Filters expirable items. * * @since 1.128.0 * * @param array $items Expirable items list. * @return array Filtered expirable items. */ private function filter_expirable_items( $items ) { $expirables = array(); if ( is_array( $items ) ) { foreach ( $items as $item => $ttl ) { if ( is_integer( $ttl ) ) { $expirables[ $item ] = $ttl; } } } return $expirables; } } includes/Core/Expirables/Expirables.php 0000604 00000003412 14717744000 0014147 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Expirables\Expirables * * @package Google\Site_Kit\Core\Expirables * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Expirables; use Google\Site_Kit\Core\Expirables\Expirable_Items; use Google\Site_Kit\Core\Expirables\REST_Expirable_Items_Controller; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling expirables. * * @since 1.128.0 * @access private * @ignore */ class Expirables { /** * Expirable_Items instance. * * @since 1.128.0 * @var Expirable_Items */ protected $expirable_items; /** * REST_Expirable_Items_Controller instance. * * @since 1.128.0 * @var REST_Expirable_Items_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.128.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->expirable_items = new Expirable_Items( $user_options ?: new User_Options( $context ) ); $this->rest_controller = new REST_Expirable_Items_Controller( $this->expirable_items ); } /** * Gets the reference to the Expirable_Items instance. * * @since 1.128.0 * * @return Expirable_Items An instance of the Expirable_Items class. */ public function get_expirable_items() { return $this->expirable_items; } /** * Registers functionality through WordPress hooks. * * @since 1.128.0 */ public function register() { $this->expirable_items->register(); $this->rest_controller->register(); } } includes/Core/Expirables/REST_Expirable_Items_Controller.php 0000604 00000010334 14717744000 0020166 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Expirables\REST_Expirable_Items_Controller * * @package Google\Site_Kit\Core\Expirables * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Expirables; use Google\Site_Kit\Core\Expirables\Expirable_Items; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling expirable items rest routes. * * @since 1.128.0 * @access private * @ignore */ class REST_Expirable_Items_Controller { /** * Expirable_Items instance. * * @since 1.128.0 * @var Expirable_Items */ protected $expirable_items; /** * Constructor. * * @since 1.128.0 * * @param Expirable_Items $expirable_items Expirable items instance. */ public function __construct( Expirable_Items $expirable_items ) { $this->expirable_items = $expirable_items; } /** * Registers functionality through WordPress hooks. * * @since 1.128.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/expirable-items', ) ); } ); } /** * Gets REST route instances. * * @since 1.128.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_manage_expirable_item = function () { return current_user_can( Permissions::VIEW_DASHBOARD ); }; return array( new REST_Route( 'core/user/data/expirable-items', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->expirable_items->get() ); }, 'permission_callback' => $can_manage_expirable_item, ) ), new REST_Route( 'core/user/data/set-expirable-item-timers', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data ) || ! is_array( $data ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'items' ), array( 'status' => 400 ) ); } foreach ( $data as $datum ) { if ( empty( $datum['slug'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'slug' ), array( 'status' => 400 ) ); } $expiration = null; if ( isset( $datum['expiration'] ) && intval( $datum['expiration'] ) > 0 ) { $expiration = $datum['expiration']; } if ( ! $expiration ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is invalid: %s.', 'google-site-kit' ), 'expiration' ), array( 'status' => 400 ) ); } $this->expirable_items->add( $datum['slug'], $expiration ); } return new WP_REST_Response( $this->expirable_items->get() ); }, 'permission_callback' => $can_manage_expirable_item, 'args' => array( 'data' => array( 'type' => 'array', 'required' => true, 'items' => array( 'type' => 'object', 'additionalProperties' => false, 'properties' => array( 'slug' => array( 'type' => 'string', 'required' => true, ), 'expiration' => array( 'type' => 'integer', 'required' => true, ), ), ), ), ), ) ), ); } } includes/Core/Feature_Tours/Dismissed_Tours.php 0000604 00000003574 14717744000 0015673 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Feature_Tours\Dismissed_Tours * * @package Google\Site_Kit\Core\Feature_Tours * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Feature_Tours; use Closure; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for representing a user's dismissed feature tours. * * @since 1.27.0 * @access private * @ignore */ class Dismissed_Tours extends User_Setting { /** * The user option name for this setting. * * @note This option is prefixed differently * so that it will persist across disconnect/reset. */ const OPTION = 'googlesitekitpersistent_dismissed_tours'; /** * Adds one or more tours to the list of dismissed tours. * * @since 1.27.0 * * @param string ...$tour_slug The tour identifier to dismiss. */ public function add( ...$tour_slug ) { $value = array_merge( $this->get(), $tour_slug ); $this->set( $value ); } /** * Gets the value of the setting. * * @since 1.27.0 * * @return array Value set for the option, or default if not set. */ public function get() { $value = parent::get(); return is_array( $value ) ? $value : array(); } /** * Gets the expected value type. * * @since 1.27.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.27.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.27.0 * * @return Closure */ protected function get_sanitize_callback() { return function ( $value ) { return is_array( $value ) ? array_values( array_unique( $value ) ) : $this->get(); }; } } includes/Core/Feature_Tours/Feature_Tours.php 0000604 00000002646 14717744000 0015341 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Feature_Tours\Feature_Tours * * @package Google\Site_Kit\Core\Feature_Tours * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Feature_Tours; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling feature tours. * * @since 1.27.0 * @access private * @ignore */ class Feature_Tours { /** * Dismissed_Tours instance. * * @since 1.27.0 * @var Dismissed_Tours */ protected $dismissed_tours; /** * REST_Feature_Tours_Controller instance. * * @since 1.27.0 * @var REST_Feature_Tours_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.27.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->dismissed_tours = new Dismissed_Tours( $user_options ?: new User_Options( $context ) ); $this->rest_controller = new REST_Feature_Tours_Controller( $this->dismissed_tours ); } /** * Registers functionality through WordPress hooks. * * @since 1.27.0 */ public function register() { $this->dismissed_tours->register(); $this->rest_controller->register(); } } includes/Core/Feature_Tours/REST_Feature_Tours_Controller.php 0000604 00000006005 14717744000 0020372 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Feature_Tours\REST_Feature_Tours_Controller * * @package Google\Site_Kit\Core\Feature_Tours * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Feature_Tours; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling feature tour rest routes. * * @since 1.27.0 * @access private * @ignore */ class REST_Feature_Tours_Controller { /** * Dismissed_Tours instance. * * @since 1.27.0 * @var Dismissed_Tours */ protected $dismissed_tours; /** * Constructor. * * @since 1.27.0 * * @param Dismissed_Tours $dismissed_tours Dismissed tours instance. */ public function __construct( Dismissed_Tours $dismissed_tours ) { $this->dismissed_tours = $dismissed_tours; } /** * Registers functionality through WordPress hooks. * * @since 1.27.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { $feature_tour_routes = array( '/' . REST_Routes::REST_ROOT . '/core/user/data/dismissed-tours', ); return array_merge( $paths, $feature_tour_routes ); } ); } /** * Gets REST route instances. * * @since 1.27.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_dismiss_tour = function () { return current_user_can( Permissions::AUTHENTICATE ) || current_user_can( Permissions::VIEW_SHARED_DASHBOARD ); }; return array( new REST_Route( 'core/user/data/dismissed-tours', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->dismissed_tours->get() ); }, 'permission_callback' => $can_dismiss_tour, ) ), new REST_Route( 'core/user/data/dismiss-tour', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data['slug'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'slug' ), array( 'status' => 400 ) ); } $this->dismissed_tours->add( $data['slug'] ); return new WP_REST_Response( $this->dismissed_tours->get() ); }, 'permission_callback' => $can_dismiss_tour, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ) ), ); } } includes/Core/Guards/Guard_Interface.php 0000604 00000001237 14717744000 0014225 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Guards\Guard_Interface * * @package Google\Site_Kit\Core\Guards * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Guards; use WP_Error; /** * Interface for a guard. * * @since 1.24.0 * @access private * @ignore */ interface Guard_Interface { /** * Determines whether the guarded entity can be activated or not. * * @since 1.24.0 * * @return bool|WP_Error TRUE if guarded entity can be activated, otherwise FALSE or an error. */ public function can_activate(); } includes/Core/Key_Metrics/Key_Metrics.php 0000604 00000005635 14717744000 0014420 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Key_Metrics\Key_Metrics * * @package Google\Site_Kit\Core\Key_Metrics * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Key_Metrics; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for handling Key_Metrics. * * @since 1.93.0 * @access private * @ignore */ class Key_Metrics { use Method_Proxy_Trait; /** * Key_Metrics_Settings instance. * * @since 1.93.0 * @var Key_Metrics_Settings */ protected $key_metrics_settings; /** * Key_Metrics_Setup_Completed_By instance. * * @since 1.113.0 * @var Key_Metrics_Setup_Completed_By */ protected $key_metrics_setup_completed_by; /** * REST_Key_Metrics_Controller instance. * * @since 1.93.0 * @var REST_Key_Metrics_Controller */ protected $rest_controller; /** * Key_Metrics_Setup_New instance. * * @since 1.115.0 * @var Key_Metrics_Setup_New */ protected $key_metrics_setup_new; /** * Constructor. * * @since 1.93.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. * @param Options $options Optional. Option API instance. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null, Options $options = null ) { $this->key_metrics_settings = new Key_Metrics_Settings( $user_options ?: new User_Options( $context ) ); $this->key_metrics_setup_completed_by = new Key_Metrics_Setup_Completed_By( $options ?: new Options( $context ) ); $this->key_metrics_setup_new = new Key_Metrics_Setup_New( new Transients( $context ) ); $this->rest_controller = new REST_Key_Metrics_Controller( $this->key_metrics_settings, $this->key_metrics_setup_completed_by ); } /** * Registers functionality through WordPress hooks. * * @since 1.93.0 */ public function register() { $this->key_metrics_settings->register(); $this->key_metrics_setup_completed_by->register(); $this->key_metrics_setup_new->register(); $this->rest_controller->register(); add_filter( 'googlesitekit_inline_base_data', $this->get_method_proxy( 'inline_js_base_data' ) ); } /** * Adds the status of the Key Metrics widget setup to the inline JS data. * * @since 1.108.0 * @since 1.113.0 Add keyMetricsSetupCompletedBy (id) instead of keyMetricsSetupCompleted boolean. * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_base_data( $data ) { $data['keyMetricsSetupCompletedBy'] = (int) $this->key_metrics_setup_completed_by->get(); return $data; } } includes/Core/Key_Metrics/Key_Metrics_Settings.php 0000604 00000005146 14717744000 0016275 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Key_Metrics\Key_Metrics_Settings * * @package Google\Site_Kit\Core\Key_Metrics * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Key_Metrics; use Google\Site_Kit\Core\Storage\User_Setting; use Google\Site_Kit\Core\Util\Sanitize; /** * Class to store user key metrics settings. * * @since 1.93.0 * @access private * @ignore */ class Key_Metrics_Settings extends User_Setting { /** * The user option name for this setting. */ const OPTION = 'googlesitekit_key_metrics_settings'; /** * Gets the expected value type. * * @since 1.93.0 * * @return string The type name. */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @since 1.93.0 * * @return array The default value. */ protected function get_default() { return array( 'widgetSlugs' => array(), 'isWidgetHidden' => false, 'includeConversionTailoredMetrics' => false, ); } /** * Merges an array of settings to update. * * @since 1.93.0 * * @param array $partial Partial settings array to save. * @return bool True on success, false on failure. */ public function merge( array $partial ) { $settings = $this->get(); $partial = array_filter( $partial, function ( $value ) { return null !== $value; } ); $allowed_settings = array( 'widgetSlugs' => true, 'isWidgetHidden' => true, 'includeConversionTailoredMetrics' => true, ); $updated = array_intersect_key( $partial, $allowed_settings ); return $this->set( array_merge( $settings, $updated ) ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.93.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $settings ) { if ( ! is_array( $settings ) ) { return array(); } $sanitized_settings = array(); if ( isset( $settings['widgetSlugs'] ) ) { $sanitized_settings['widgetSlugs'] = Sanitize::sanitize_string_list( $settings['widgetSlugs'] ); } if ( isset( $settings['isWidgetHidden'] ) ) { $sanitized_settings['isWidgetHidden'] = false !== $settings['isWidgetHidden']; } if ( isset( $settings['includeConversionTailoredMetrics'] ) ) { $sanitized_settings['includeConversionTailoredMetrics'] = false !== $settings['includeConversionTailoredMetrics']; } return $sanitized_settings; }; } } includes/Core/Key_Metrics/Key_Metrics_Setup_Completed_By.php 0000604 00000001502 14717744000 0020213 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Key_Metrics\Key_Metrics_Setup_Completed_By * * @package Google\Site_Kit\Core\Key_Metrics * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Key_Metrics; use Google\Site_Kit\Core\Storage\Setting; /** * Class for handling the setup completion state of Key Metrics. * * @since 1.113.0 * @access private * @ignore */ class Key_Metrics_Setup_Completed_By extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_key_metrics_setup_completed_by'; /** * Gets the expected value type. * * @since 1.113.0 * * @return string The type name. */ protected function get_type() { return 'integer'; } } includes/Core/Key_Metrics/Key_Metrics_Setup_New.php 0000604 00000003701 14717744000 0016401 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Key_Metrics\Key_Metrics_Setup_New * * @package Google\Site_Kit\Core\Key_Metrics * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Key_Metrics; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for handling Key_Metrics_Setup_New state. * * @since 1.115.0 * @access private * @ignore */ class Key_Metrics_Setup_New { use Method_Proxy_Trait; const TRANSIENT = 'googlesitekit_key_metrics_setup_new'; /** * Transients instance. * * @var Transients */ private $transients; /** * Constructor. * * @since 1.115.0 * * @param Transients $transients Transients instance. */ public function __construct( Transients $transients ) { $this->transients = $transients; } /** * Registers functionality through WordPress hooks. * * @since 1.115.0 */ public function register() { add_action( 'add_option_' . Key_Metrics_Setup_Completed_By::OPTION, $this->get_method_proxy( 'mark_setup_completed' ), 10, 2 ); add_filter( 'googlesitekit_inline_base_data', $this->get_method_proxy( 'inline_js_base_data' ) ); } /** * Marks Key Metrics setup as just completed for a limited period of time. * * @since 1.115.0 * * @param string $option Key_Metrics_Setup_Completed_By option name. * @param mixed $value Option value added. */ protected function mark_setup_completed( $option, $value ) { if ( $value ) { $this->transients->set( self::TRANSIENT, true, 2 * WEEK_IN_SECONDS ); } } /** * Extends base data with setup new state. * * @since 1.115.0 * * @param array $data Inline base data. * @return array */ protected function inline_js_base_data( $data ) { $data['keyMetricsSetupNew'] = (bool) $this->transients->get( self::TRANSIENT ); return $data; } } includes/Core/Key_Metrics/REST_Key_Metrics_Controller.php 0000604 00000012571 14717744000 0017455 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Dismissals\REST_Key_Metrics_Controller * * @package Google\Site_Kit\Core\Key_Metrics * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Key_Metrics; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Util\Feature_Flags; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling rest routes for Key Metrics settings. * * @since 1.93.0 * @access private * @ignore */ class REST_Key_Metrics_Controller { /** * Key_Metrics_Settings instance. * * @since 1.93.0 * @var Key_Metrics_Settings */ protected $settings; /** * Key_Metrics_Setup_Completed_By instance. * * @since 1.113.0 * @var Key_Metrics_Setup_Completed_By */ protected $key_metrics_setup_completed_by; /** * Constructor. * * @since 1.93.0 * * @param Key_Metrics_Settings $settings Key Metrics settings. * @param Key_Metrics_Setup_Completed_By $key_metrics_setup_completed_by Site-wide option to check if key metrics set up is complete. */ public function __construct( Key_Metrics_Settings $settings, Key_Metrics_Setup_Completed_By $key_metrics_setup_completed_by ) { $this->settings = $settings; $this->key_metrics_setup_completed_by = $key_metrics_setup_completed_by; } /** * Registers functionality through WordPress hooks. * * @since 1.93.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/key-metrics', ) ); } ); } /** * Gets REST route instances. * * @since 1.93.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $has_capabilities = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; return array( new REST_Route( 'core/user/data/key-metrics', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->settings->get() ); }, 'permission_callback' => $has_capabilities, ) ), new REST_Route( 'core/user/data/key-metrics', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { // Data is already validated because we've defined the detailed schema. // If the incoming data param doesn't match the schema, then WordPress // will automatically return the rest_invalid_param error and we will // never get to here. $data = $request->get_param( 'data' ); $settings = $data['settings']; if ( isset( $settings['widgetSlugs'] ) ) { $num_widgets = count( $settings['widgetSlugs'] ); if ( ! $num_widgets ) { return new WP_Error( 'rest_invalid_param', __( 'Selected metrics cannot be empty.', 'google-site-kit' ), array( 'status' => 400 ) ); } // Additional check is needed to ensure that we have no more than 4 widget // slugs provided. This is required until we drop support for WP versions below 5.5.0, after // which we can solely rely on `maxItems` in the schema validation (see below). // See https://github.com/WordPress/WordPress/blob/965fcddcf68cf4fd122ae24b992e242dfea1d773/wp-includes/rest-api.php#L1922-L1925. $max_num_widgets = Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4; if ( $num_widgets > $max_num_widgets ) { return new WP_Error( 'rest_invalid_param', __( 'No more than 4 key metrics can be selected.', 'google-site-kit' ), array( 'status' => 400 ) ); } $key_metrics_setup_already_done_by_user = $this->key_metrics_setup_completed_by->get(); if ( empty( $key_metrics_setup_already_done_by_user ) ) { $current_user_id = get_current_user_id(); $this->key_metrics_setup_completed_by->set( $current_user_id ); } } $this->settings->merge( $data['settings'] ); return new WP_REST_Response( $this->settings->get() ); }, 'permission_callback' => $has_capabilities, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'settings' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'isWidgetHidden' => array( 'type' => 'boolean', 'required' => true, ), 'widgetSlugs' => array( 'type' => 'array', 'required' => false, 'maxItems' => Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4, 'items' => array( 'type' => 'string', ), ), ), ), ), ), ), ) ), ); } } includes/Core/Modules/Tags/Module_AMP_Tag.php 0000604 00000006742 14717744000 0015007 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tags\Module_AMP_Tag * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tags; use Google\Site_Kit\Core\Tags\Blockable_Tag_Interface; /** * Base class for AMP tag. * * @since 1.24.0 * @access private * @ignore */ abstract class Module_AMP_Tag extends Module_Tag implements Blockable_Tag_Interface { /** * Checks whether or not the tag should be blocked from rendering. * * @since 1.24.0 * * @return bool TRUE if the tag should be blocked, otherwise FALSE. */ public function is_tag_blocked() { /** * Filters whether or not the AMP tag should be blocked from rendering. * * @since 1.24.0 * * @param bool $blocked Whether or not the tag output is suppressed. Default: false. */ return (bool) apply_filters( "googlesitekit_{$this->module_slug}_tag_amp_blocked", false ); } /** * Gets the HTML attributes for a script tag that may potentially require user consent before loading. * * @since 1.24.0 * * @return string HTML attributes to add if the tag requires consent to load, or an empty string. */ public function get_tag_blocked_on_consent_attribute() { // @see https://amp.dev/documentation/components/amp-consent/#advanced-predefined-consent-blocking-behaviors $allowed_amp_block_on_consent_values = array( '_till_responded', '_till_accepted', '_auto_reject', ); /** * Filters whether the tag requires user consent before loading. * * @since 1.24.0 * * @param bool|string $blocked Whether or not the tag requires user consent to load. Alternatively, this can also be one of * the special string values '_till_responded', '_till_accepted', or '_auto_reject'. Default: false. */ $block_on_consent = apply_filters( "googlesitekit_{$this->module_slug}_tag_amp_block_on_consent", false ); if ( in_array( $block_on_consent, $allowed_amp_block_on_consent_values, true ) ) { return sprintf( ' data-block-on-consent="%s"', $block_on_consent ); } if ( filter_var( $block_on_consent, FILTER_VALIDATE_BOOLEAN ) ) { return ' data-block-on-consent'; } return ''; } /** * Enqueues a component script for AMP Reader. * * @since 1.24.0 * * @param string $handle Script handle. * @param string $src Script source URL. * @return callable Hook function. */ protected function enqueue_amp_reader_component_script( $handle, $src ) { $component_script_hook = function ( $data ) use ( $handle, $src ) { if ( ! isset( $data['amp_component_scripts'] ) || ! is_array( $data['amp_component_scripts'] ) ) { $data['amp_component_scripts'] = array(); } if ( ! isset( $data['amp_component_scripts'][ $handle ] ) ) { $data['amp_component_scripts'][ $handle ] = $src; } return $data; }; add_filter( 'amp_post_template_data', $component_script_hook ); return $component_script_hook; } /** * Fires the "googlesitekit_{module_slug}_init_tag_amp" action to let 3rd party plugins to perform required setup. * * @since 1.24.0 */ protected function do_init_tag_action() { /** * Fires when the tag has been initialized which means that the tag will be rendered in the current request. * * @since 1.24.0 * * @param string $tag_id Tag ID. */ do_action( "googlesitekit_{$this->module_slug}_init_tag_amp", $this->tag_id ); } } includes/Core/Modules/Tags/Module_Tag_Guard.php 0000604 00000002150 14717744000 0015421 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tags; use Google\Site_Kit\Core\Guards\Guard_Interface; use Google\Site_Kit\Core\Modules\Module_Settings; use WP_Error; /** * Base class for a module tag guard. * * @since 1.24.0 * @access private * @ignore */ abstract class Module_Tag_Guard implements Guard_Interface { /** * Module settings. * * @since 1.24.0 * @var Module_Settings */ protected $settings; /** * Constructor. * * @since 1.24.0 * * @param Module_Settings $settings Module settings. */ public function __construct( Module_Settings $settings ) { $this->settings = $settings; } /** * Determines whether the guarded tag can be activated or not. * * @since 1.24.0 * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ abstract public function can_activate(); } includes/Core/Modules/Tags/Module_Tag_Matchers.php 0000604 00000001466 14717744000 0016136 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers * * @package Google\Site_Kit\Core\Modules\Tags * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tags; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Base class for Tag matchers. * * @since 1.119.0 * @access private * @ignore */ abstract class Module_Tag_Matchers implements Tag_Matchers_Interface { const NO_TAG_FOUND = 0; const TAG_EXISTS = 1; const TAG_EXISTS_WITH_COMMENTS = 2; /** * Holds array of regex tag matchers. * * @since 1.119.0 * * @return array Array of regex matchers. */ abstract public function regex_matchers(); } includes/Core/Modules/Tags/Module_Tag.php 0000604 00000001725 14717744000 0014306 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tags\Module_Tag * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tags; use Google\Site_Kit\Core\Tags\Tag; /** * Base class for a module tag. * * @since 1.24.0 * @access private * @ignore */ abstract class Module_Tag extends Tag { /** * Module slug. * * @since 1.24.0 * @since 1.109.0 Renamed from slug to module_slug. * * @var string */ protected $module_slug; /** * Constructor. * * @since 1.24.0 * * @param string $tag_id Tag ID. * @param string $module_slug Module slug. */ public function __construct( $tag_id, $module_slug ) { parent::__construct( $tag_id ); $this->module_slug = $module_slug; } /** * Outputs the tag. * * @since 1.24.0 */ abstract protected function render(); } includes/Core/Modules/Tags/Module_Web_Tag.php 0000604 00000006521 14717744000 0015102 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag * * @package Google\Site_Kit\Core\Modules\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tags; use Google\Site_Kit\Core\Tags\Blockable_Tag_Interface; /** * Base class for Web tag. * * @since 1.24.0 * @access private * @ignore */ abstract class Module_Web_Tag extends Module_Tag implements Blockable_Tag_Interface { /** * Checks whether or not the tag should be blocked from rendering. * * @since 1.24.0 * * @return bool TRUE if the tag should be blocked, otherwise FALSE. */ public function is_tag_blocked() { /** * Filters whether or not the tag should be blocked from rendering. * * @since 1.24.0 * * @param bool $blocked Whether or not the tag output is suppressed. Default: false. */ return (bool) apply_filters( "googlesitekit_{$this->module_slug}_tag_blocked", false ); } /** * Gets the HTML attributes for a script tag that may potentially require user consent before loading. * * @since 1.24.0 * * @return string HTML attributes to add if the tag requires consent to load, or an empty string. */ public function get_tag_blocked_on_consent_attribute() { if ( $this->is_tag_blocked_on_consent() ) { return ' type="text/plain" data-block-on-consent'; } return ''; } /** * Gets the array of HTML attributes for a script tag that may potentially require user consent before loading. * * @since 1.41.0 * * @return array containing HTML attributes to add if the tag requires consent to load, or an empty array. */ public function get_tag_blocked_on_consent_attribute_array() { if ( $this->is_tag_blocked_on_consent() ) { return array( 'type' => 'text/plain', 'data-block-on-consent' => true, ); } return array(); } /** * Check if the tag is set to be manually blocked for consent. * * @since 1.122.0 * * @return bool */ protected function is_tag_blocked_on_consent() { $deprecated_args = (array) $this->get_tag_blocked_on_consent_deprecated_args(); /** * Filters whether the tag requires user consent before loading. * * @since 1.24.0 * * @param bool $blocked Whether or not the tag requires user consent to load. Default: false. */ if ( $deprecated_args ) { return (bool) apply_filters_deprecated( "googlesitekit_{$this->module_slug}_tag_block_on_consent", array( false ), ...$deprecated_args ); } return (bool) apply_filters( "googlesitekit_{$this->module_slug}_tag_block_on_consent", false ); } /** * Get contextual arguments for apply_filters_deprecated if block_on_consent is deprecated. * * @since 1.122.0 * * @return array */ protected function get_tag_blocked_on_consent_deprecated_args() { return array(); } /** * Fires the "googlesitekit_{module_slug}_init_tag" action to let 3rd party plugins to perform required setup. * * @since 1.24.0 */ protected function do_init_tag_action() { /** * Fires when the tag has been initialized which means that the tag will be rendered in the current request. * * @since 1.24.0 * * @param string $tag_id Tag ID. */ do_action( "googlesitekit_{$this->module_slug}_init_tag", $this->tag_id ); } } includes/Core/Modules/Datapoint.php 0000604 00000004354 14717744000 0013314 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Datapoint * * @package Google\Site_Kit\Core\Modules * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Class representing a datapoint definition. * * @since 1.77.0 * @access private * @ignore */ class Datapoint { /** * Service identifier. * * @since 1.77.0 * @var string */ private $service = ''; /** * Required scopes. * * @since 1.77.0 * @var string[] */ private $scopes = array(); /** * Shareable status. * * @since 1.77.0 * @var bool */ private $shareable; /** * Request scopes message. * * @since 1.77.0 * @var string */ private $request_scopes_message; /** * Constructor. * * @since 1.77.0 * * @param array $definition Definition fields. */ public function __construct( array $definition ) { $this->shareable = ! empty( $definition['shareable'] ); if ( isset( $definition['service'] ) && is_string( $definition['service'] ) ) { $this->service = $definition['service']; } if ( isset( $definition['scopes'] ) && is_array( $definition['scopes'] ) ) { $this->scopes = $definition['scopes']; } if ( isset( $definition['request_scopes_message'] ) && is_string( $definition['request_scopes_message'] ) ) { $this->request_scopes_message = $definition['request_scopes_message']; } } /** * Checks if the datapoint is shareable. * * @since 1.77.0 * * @return bool */ public function is_shareable() { return $this->shareable; } /** * Gets the service identifier. * * @since 1.77.0 * * @return string */ public function get_service() { return $this->service; } /** * Gets the list of required scopes. * * @since 1.77.0 * * @return string[] */ public function get_required_scopes() { return $this->scopes; } /** * Gets the request scopes message. * * @since 1.77.0 * * @return string */ public function get_request_scopes_message() { if ( $this->request_scopes_message ) { return $this->request_scopes_message; } return __( 'You’ll need to grant Site Kit permission to do this.', 'google-site-kit' ); } } includes/Core/Modules/Module.php 0000604 00000055046 14717744000 0012622 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Module * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Closure; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Authentication\Exception\Insufficient_Scopes_Exception; use Google\Site_Kit\Core\Authentication\Exception\Google_Proxy_Code_Exception; use Google\Site_Kit\Core\Contracts\WP_Errorable; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit_Dependencies\Google\Service as Google_Service; use Google\Site_Kit_Dependencies\Google_Service_Exception; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use WP_Error; /** * Base class for a module. * * @since 1.0.0 * @access private * @ignore * * @property-read string $slug Unique module identifier. * @property-read string $name Module name. * @property-read string $description Module description. * @property-read int $order Module order within module lists. * @property-read string $homepage External module homepage URL. * @property-read array $depends_on List of other module slugs the module depends on. * @property-read bool $force_active Whether the module cannot be disabled. * @property-read bool $internal Whether the module is internal, thus without any UI. */ abstract class Module { /** * Plugin context. * * @since 1.0.0 * @var Context */ protected $context; /** * Option API instance. * * @since 1.0.0 * @var Options */ protected $options; /** * User Option API instance. * * @since 1.0.0 * @var User_Options */ protected $user_options; /** * Authentication instance. * * @since 1.0.0 * @var Authentication */ protected $authentication; /** * Assets API instance. * * @since 1.40.0 * @var Assets */ protected $assets; /** * Transients instance. * * @since 1.96.0 * @var Transients */ protected $transients; /** * Module information. * * @since 1.0.0 * @var array */ private $info = array(); /** * Google API client instance. * * @since 1.0.0 * @var Google_Site_Kit_Client|null */ private $google_client; /** * Google services as $identifier => $service_instance pairs. * * @since 1.0.0 * @var array|null */ private $google_services; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. * @param Assets $assets Optional. Assets API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Authentication $authentication = null, Assets $assets = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); $this->user_options = $user_options ?: new User_Options( $this->context ); $this->authentication = $authentication ?: new Authentication( $this->context, $this->options, $this->user_options ); $this->assets = $assets ?: new Assets( $this->context ); $this->transients = new Transients( $this->context ); $this->info = $this->parse_info( (array) $this->setup_info() ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ abstract public function register(); /** * Magic isset-er. * * Allows checking for existence of module information. * * @since 1.0.0 * * @param string $key Key to check.. * @return bool True if value for $key is available, false otherwise. */ final public function __isset( $key ) { return isset( $this->info[ $key ] ); } /** * Magic getter. * * Allows reading module information. * * @since 1.0.0 * * @param string $key Key to get value for. * @return mixed Value for $key, or null if not available. */ final public function __get( $key ) { if ( ! isset( $this->info[ $key ] ) ) { return null; } return $this->info[ $key ]; } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.0.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { return true; } /** * Gets data for the given datapoint. * * @since 1.0.0 * * @param string $datapoint Datapoint to get data for. * @param array|Data_Request $data Optional. Contextual data to provide. Default empty array. * @return mixed Data on success, or WP_Error on failure. */ final public function get_data( $datapoint, $data = array() ) { return $this->execute_data_request( new Data_Request( 'GET', 'modules', $this->slug, $datapoint, $data ) ); } /** * Sets data for the given datapoint. * * @since 1.0.0 * * @param string $datapoint Datapoint to get data for. * @param array|Data_Request $data Data to set. * @return mixed Response data on success, or WP_Error on failure. */ final public function set_data( $datapoint, $data ) { return $this->execute_data_request( new Data_Request( 'POST', 'modules', $this->slug, $datapoint, $data ) ); } /** * Returns the list of datapoints the class provides data for. * * @since 1.0.0 * * @return array List of datapoints. */ final public function get_datapoints() { $keys = array(); $definitions = $this->get_datapoint_definitions(); foreach ( array_keys( $definitions ) as $key ) { $parts = explode( ':', $key ); $name = end( $parts ); if ( ! empty( $name ) ) { $keys[ $name ] = $name; } } return array_values( $keys ); } /** * Returns the mapping between available datapoints and their services. * * @since 1.0.0 * @since 1.9.0 No longer abstract. * @deprecated 1.12.0 * * @return array Associative array of $datapoint => $service_identifier pairs. */ protected function get_datapoint_services() { _deprecated_function( __METHOD__, '1.12.0', static::class . '::get_datapoint_definitions' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped return array(); } /** * Gets map of datapoint to definition data for each. * * @since 1.9.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array(); } /** * Gets the datapoint definition instance. * * @since 1.77.0 * * @param string $datapoint_id Datapoint ID. * @return Datapoint Datapoint instance. * @throws Invalid_Datapoint_Exception Thrown if no datapoint exists by the given ID. */ protected function get_datapoint_definition( $datapoint_id ) { $definitions = $this->get_datapoint_definitions(); // All datapoints must be defined. if ( empty( $definitions[ $datapoint_id ] ) ) { throw new Invalid_Datapoint_Exception(); } return new Datapoint( $definitions[ $datapoint_id ] ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * * // phpcs:ignore Squiz.Commenting.FunctionComment.InvalidNoReturn * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * @throws Invalid_Datapoint_Exception Override in a sub-class. */ protected function create_data_request( Data_Request $data ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found,Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed throw new Invalid_Datapoint_Exception(); } /** * Parses a response for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { return $response; } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return mixed Data on success, or WP_Error on failure. */ final protected function execute_data_request( Data_Request $data ) { $restore_defers = array(); try { $datapoint = $this->get_datapoint_definition( "{$data->method}:{$data->datapoint}" ); $oauth_client = $this->get_oauth_client_for_datapoint( $datapoint ); $this->validate_datapoint_scopes( $datapoint, $oauth_client ); $this->validate_base_scopes( $oauth_client ); // In order for a request to leverage a client other than the default // it must return a RequestInterface (Google Services return this when defer = true). // If not deferred, the request will be executed immediately with the client // the service instance was instantiated with, which will always be the // default client, configured for the current user and provided in `get_service`. // Client defer is false by default, so we need to configure the default to defer // even if a different client will be the one to execute the request because // the default instance is what services are setup with. $restore_defers[] = $this->get_client()->withDefer( true ); if ( $this->authentication->get_oauth_client() !== $oauth_client ) { $restore_defers[] = $oauth_client->get_client()->withDefer( true ); $current_user = wp_get_current_user(); // Adds the current user to the active consumers list. $oauth_client->add_active_consumer( $current_user ); } $request = $this->create_data_request( $data ); if ( is_wp_error( $request ) ) { return $request; } elseif ( $request instanceof Closure ) { $response = $request(); } elseif ( $request instanceof RequestInterface ) { $response = $oauth_client->get_client()->execute( $request ); } else { return new WP_Error( 'invalid_datapoint_request', __( 'Invalid datapoint request.', 'google-site-kit' ), array( 'status' => 400 ) ); } } catch ( Exception $e ) { return $this->exception_to_error( $e, $data->datapoint ); } finally { foreach ( $restore_defers as $restore_defer ) { $restore_defer(); } } if ( is_wp_error( $response ) ) { return $response; } return $this->parse_data_response( $data, $response ); } /** * Validates necessary scopes for the given datapoint. * * @since 1.77.0 * * @param Datapoint $datapoint Datapoint instance. * @param OAuth_Client $oauth_client OAuth_Client instance. * @throws Insufficient_Scopes_Exception Thrown if required scopes are not satisfied. */ private function validate_datapoint_scopes( Datapoint $datapoint, OAuth_Client $oauth_client ) { $required_scopes = $datapoint->get_required_scopes(); if ( $required_scopes && ! $oauth_client->has_sufficient_scopes( $required_scopes ) ) { $message = $datapoint->get_request_scopes_message(); throw new Insufficient_Scopes_Exception( $message, 0, null, $required_scopes ); } } /** * Validates necessary scopes for the module. * * @since 1.77.0 * * @param OAuth_Client $oauth_client OAuth_Client instance. * @throws Insufficient_Scopes_Exception Thrown if required scopes are not satisfied. */ private function validate_base_scopes( OAuth_Client $oauth_client ) { if ( ! $this instanceof Module_With_Scopes ) { return; } if ( ! $oauth_client->has_sufficient_scopes( $this->get_scopes() ) ) { $message = sprintf( /* translators: %s: module name */ __( 'Site Kit can’t access the relevant data from %s because you haven’t granted all permissions requested during setup.', 'google-site-kit' ), $this->name ); throw new Insufficient_Scopes_Exception( $message, 0, null, $this->get_scopes() ); } } /** * Gets the output for a specific frontend hook. * * @since 1.0.0 * * @param string $hook Frontend hook name, e.g. 'wp_head', 'wp_footer', etc. * @return string Output the hook generates. */ final protected function get_frontend_hook_output( $hook ) { $current_user_id = get_current_user_id(); // Unset current user to make WordPress behave as if nobody was logged in. wp_set_current_user( false ); ob_start(); do_action( $hook ); $output = ob_get_clean(); // Restore the current user. wp_set_current_user( $current_user_id ); return $output; } /** * Gets the Google client the module uses. * * This method should be used to access the client. * * @since 1.0.0 * @since 1.2.0 Now returns Google_Site_Kit_Client instance. * @since 1.35.0 Updated to be public. * * @return Google_Site_Kit_Client Google client instance. * * @throws Exception Thrown when the module did not correctly set up the client. */ final public function get_client() { if ( null === $this->google_client ) { $client = $this->setup_client(); if ( ! $client instanceof Google_Site_Kit_Client ) { throw new Exception( __( 'Google client not set up correctly.', 'google-site-kit' ) ); } $this->google_client = $client; } return $this->google_client; } /** * Gets the oAuth client instance to use for the given datapoint. * * @since 1.77.0 * * @param Datapoint $datapoint Datapoint definition. * @return OAuth_Client OAuth_Client instance. */ private function get_oauth_client_for_datapoint( Datapoint $datapoint ) { if ( $this instanceof Module_With_Owner && $this->is_shareable() && $datapoint->is_shareable() && $this->get_owner_id() !== get_current_user_id() && ! $this->is_recoverable() && current_user_can( Permissions::READ_SHARED_MODULE_DATA, $this->slug ) ) { $oauth_client = $this->get_owner_oauth_client(); try { $this->validate_base_scopes( $oauth_client ); return $oauth_client; } catch ( Exception $exception ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch // Fallthrough to default oauth client if scopes are unsatisfied. } } return $this->authentication->get_oauth_client(); } /** * Gets the Google service for the given identifier. * * This method should be used to access Google services. * * @since 1.0.0 * * @param string $identifier Identifier for the service. * @return Google_Service Google service instance. * * @throws Exception Thrown when the module did not correctly set up the services or when the identifier is invalid. */ final protected function get_service( $identifier ) { if ( null === $this->google_services ) { $services = $this->setup_services( $this->get_client() ); if ( ! is_array( $services ) ) { throw new Exception( __( 'Google services not set up correctly.', 'google-site-kit' ) ); } foreach ( $services as $service ) { if ( ! $service instanceof Google_Service ) { throw new Exception( __( 'Google services not set up correctly.', 'google-site-kit' ) ); } } $this->google_services = $services; } if ( ! isset( $this->google_services[ $identifier ] ) ) { /* translators: %s: service identifier */ throw new Exception( sprintf( __( 'Google service identified by %s does not exist.', 'google-site-kit' ), $identifier ) ); } return $this->google_services[ $identifier ]; } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ abstract protected function setup_info(); /** * Sets up the Google client the module should use. * * This method is invoked once by {@see Module::get_client()} to lazily set up the client when it is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now returns Google_Site_Kit_Client instance. * * @return Google_Site_Kit_Client Google client instance. */ protected function setup_client() { return $this->authentication->get_oauth_client()->get_client(); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) {// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found return array(); } /** * Sets whether or not to return raw requests and returns a callback to reset to the previous value. * * @since 1.2.0 * * @param bool $defer Whether or not to return raw requests. * @return callable Callback function that resets to the original $defer value. */ protected function with_client_defer( $defer ) { return $this->get_client()->withDefer( $defer ); } /** * Parses information about the module. * * @since 1.0.0 * * @param array $info Associative array of module info. * @return array Parsed $info. */ private function parse_info( array $info ) { $info = wp_parse_args( $info, array( 'slug' => '', 'name' => '', 'description' => '', 'order' => 10, 'homepage' => '', 'feature' => '', 'depends_on' => array(), 'force_active' => static::is_force_active(), 'internal' => false, ) ); if ( empty( $info['name'] ) && ! empty( $info['slug'] ) ) { $info['name'] = $info['slug']; } $info['depends_on'] = (array) $info['depends_on']; return $info; } /** * Transforms an exception into a WP_Error object. * * @since 1.0.0 * @since 1.49.0 Uses the new `Google_Proxy::setup_url_v2` method when the `serviceSetupV2` feature flag is enabled. * @since 1.70.0 $datapoint parameter is optional. * * @param Exception $e Exception object. * @param string $datapoint Optional. Datapoint originally requested. Default is an empty string. * @return WP_Error WordPress error object. */ protected function exception_to_error( Exception $e, $datapoint = '' ) { // phpcs:ignore phpcs:enable Generic.CodeAnalysis.UnusedFunctionParameter.Found,Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed if ( $e instanceof WP_Errorable ) { return $e->to_wp_error(); } $code = $e->getCode(); $message = $e->getMessage(); $status = is_numeric( $code ) && $code ? (int) $code : 500; $reason = ''; $reconnect_url = ''; if ( $e instanceof Google_Service_Exception ) { $errors = $e->getErrors(); if ( isset( $errors[0]['message'] ) ) { $message = $errors[0]['message']; } if ( isset( $errors[0]['reason'] ) ) { $reason = $errors[0]['reason']; } } elseif ( $e instanceof Google_Proxy_Code_Exception ) { $status = 401; $code = $message; $auth_client = $this->authentication->get_oauth_client(); $message = $auth_client->get_error_message( $code ); $google_proxy = $this->authentication->get_google_proxy(); $credentials = $this->authentication->credentials()->get(); $params = array( 'code' => $e->getAccessCode(), 'site_id' => ! empty( $credentials['oauth2_client_id'] ) ? $credentials['oauth2_client_id'] : '', ); $params = $google_proxy->add_setup_step_from_error_code( $params, $code ); $reconnect_url = $google_proxy->setup_url( $params ); } if ( empty( $code ) ) { $code = 'unknown'; } $data = array( 'status' => $status, 'reason' => $reason, ); if ( ! empty( $reconnect_url ) ) { $data['reconnectURL'] = $reconnect_url; } return new WP_Error( $code, $message, $data ); } /** * Parses the string list into an array of strings. * * @since 1.15.0 * * @param string|array $items Items to parse. * @return array An array of string items. */ protected function parse_string_list( $items ) { if ( is_string( $items ) ) { $items = explode( ',', $items ); } if ( ! is_array( $items ) || empty( $items ) ) { return array(); } $items = array_map( function ( $item ) { if ( ! is_string( $item ) ) { return false; } $item = trim( $item ); if ( empty( $item ) ) { return false; } return $item; }, $items ); $items = array_filter( $items ); $items = array_values( $items ); return $items; } /** * Determines whether the current request is for shared data. * * @since 1.98.0 * * @param Data_Request $data Data request object. * @return bool TRUE if the request is for shared data, otherwise FALSE. */ protected function is_shared_data_request( Data_Request $data ) { $datapoint = $this->get_datapoint_definition( "{$data->method}:{$data->datapoint}" ); $oauth_client = $this->get_oauth_client_for_datapoint( $datapoint ); if ( $this->authentication->get_oauth_client() !== $oauth_client ) { return true; } return false; } /** * Determines whether the current module is forced to be active or not. * * @since 1.49.0 * * @return bool TRUE if the module forced to be active, otherwise FALSE. */ public static function is_force_active() { return false; } /** * Checks whether the module is shareable. * * @since 1.50.0 * * @return bool True if module is shareable, false otherwise. */ public function is_shareable() { if ( $this instanceof Module_With_Owner && $this->is_connected() ) { $datapoints = $this->get_datapoint_definitions(); foreach ( $datapoints as $details ) { if ( ! empty( $details['shareable'] ) ) { return true; } } } return false; } /** * Checks whether the module is recoverable. * * @since 1.78.0 * * @return bool */ public function is_recoverable() { /** * Filters the recoverable status of the module. * * @since 1.78.0 * @param bool $_ Whether or not the module is recoverable. Default: false * @param string $slug Module slug. */ return (bool) apply_filters( 'googlesitekit_is_module_recoverable', false, $this->slug ); } } includes/Core/Modules/Module_Registry.php 0000604 00000003160 14717744000 0014500 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Module_Registry * * @package Google\Site_Kit\Core\Modules * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use InvalidArgumentException; /** * Class for managing module registration. * * @since 1.21.0 * @access private * @ignore */ class Module_Registry { /** * Registered modules. * * @since 1.21.0 * @var array */ private $registry = array(); /** * Registers a module class on the registry. * * @since 1.21.0 * * @param string $module_classname Fully-qualified module class name to register. * @throws InvalidArgumentException Thrown if an invalid module class name is provided. */ public function register( $module_classname ) { if ( ! is_string( $module_classname ) || ! $module_classname ) { throw new InvalidArgumentException( 'A module class name is required to register a module.' ); } if ( ! class_exists( $module_classname ) ) { throw new InvalidArgumentException( "No class exists for '$module_classname'" ); } if ( ! is_subclass_of( $module_classname, Module::class ) ) { throw new InvalidArgumentException( sprintf( 'All module classes must extend the base module class: %s', Module::class ) ); } $this->registry[ $module_classname ] = $module_classname; } /** * Gets all registered module class names. * * @since 1.21.0 * * @return string[] Registered module class names. */ public function get_all() { return array_keys( $this->registry ); } } includes/Core/Modules/Module_Settings.php 0000604 00000003721 14717744000 0014473 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Module_Settings * * @package Google\Site_Kit\Core\Modules * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Storage\Setting; /** * Base class for module settings. * * @since 1.2.0 * @access private * @ignore */ abstract class Module_Settings extends Setting { /** * Registers the setting in WordPress. * * @since 1.2.0 */ public function register() { parent::register(); $this->add_option_default_filters(); } /** * Merges an array of settings to update. * * Only existing keys will be updated. * * @since 1.3.0 * * @param array $partial Partial settings array to save. * * @return bool True on success, false on failure. */ public function merge( array $partial ) { $settings = $this->get(); $partial = array_filter( $partial, function ( $value ) { return null !== $value; } ); $updated = array_intersect_key( $partial, $settings ); return $this->set( array_merge( $settings, $updated ) ); } /** * Registers a filter to ensure default values are present in the saved option. * * @since 1.2.0 */ protected function add_option_default_filters() { add_filter( 'option_' . static::OPTION, function ( $option ) { if ( ! is_array( $option ) ) { return $this->get_default(); } return $option; }, 0 ); // Fill in any missing keys with defaults. // Must run later to not conflict with legacy key migration. add_filter( 'option_' . static::OPTION, function ( $option ) { if ( is_array( $option ) ) { return $option + $this->get_default(); } return $option; }, 99 ); } /** * Gets the expected value type. * * @since 1.2.0 * * @return string The type name. */ protected function get_type() { return 'object'; } } includes/Core/Modules/Module_Sharing_Settings.php 0000604 00000015222 14717744000 0016145 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Module_Sharing_Settings * * @package Google\Site_Kit\Core\Modules * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Storage\Setting; use Google\Site_Kit\Core\Util\Sanitize; /** * Class for module sharing settings. * * @since 1.50.0 * @access private * @ignore */ class Module_Sharing_Settings extends Setting { const OPTION = 'googlesitekit_dashboard_sharing'; /** * Gets the default value. * * @since 1.50.0 * * @return array */ protected function get_default() { return array(); } /** * Gets the expected value type. * * @since 1.50.0 * * @return string The type name. */ protected function get_type() { return 'object'; } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.50.0 * * @return callable Callback method that filters or type casts invalid setting values. */ protected function get_sanitize_callback() { return function ( $option ) { if ( ! is_array( $option ) ) { return array(); } $sanitized_option = array(); foreach ( $option as $module_slug => $sharing_settings ) { $sanitized_option[ $module_slug ] = array(); if ( isset( $sharing_settings['sharedRoles'] ) ) { $filtered_shared_roles = $this->filter_shared_roles( Sanitize::sanitize_string_list( $sharing_settings['sharedRoles'] ) ); $sanitized_option[ $module_slug ]['sharedRoles'] = $filtered_shared_roles; } if ( isset( $sharing_settings['management'] ) ) { $sanitized_option[ $module_slug ]['management'] = (string) $sharing_settings['management']; } } return $sanitized_option; }; } /** * Filters the shared roles to only include roles with the edit_posts capability. * * @since 1.85.0. * * @param array $shared_roles The shared roles list. * @return string[] The sanitized shared roles list. */ private function filter_shared_roles( array $shared_roles ) { $filtered_shared_roles = array_filter( $shared_roles, function ( $role_slug ) { $role = get_role( $role_slug ); if ( empty( $role ) || ! $role->has_cap( 'edit_posts' ) ) { return false; } return true; } ); return array_values( $filtered_shared_roles ); } /** * Gets the settings after filling in default values. * * @since 1.50.0 * * @return array Value set for the option, or registered default if not set. */ public function get() { $settings = parent::get(); foreach ( $settings as $module_slug => $sharing_settings ) { if ( ! isset( $sharing_settings['sharedRoles'] ) || ! is_array( $sharing_settings['sharedRoles'] ) ) { $settings[ $module_slug ]['sharedRoles'] = array(); } if ( ! isset( $sharing_settings['management'] ) || ! in_array( $sharing_settings['management'], array( 'all_admins', 'owner' ), true ) ) { $settings[ $module_slug ]['management'] = 'owner'; } if ( isset( $sharing_settings['sharedRoles'] ) && is_array( $sharing_settings['sharedRoles'] ) ) { $filtered_shared_roles = $this->filter_shared_roles( $sharing_settings['sharedRoles'] ); $settings[ $module_slug ]['sharedRoles'] = $filtered_shared_roles; } } return $settings; } /** * Merges a partial Module_Sharing_Settings option array into existing sharing settings. * * @since 1.75.0 * @since 1.77.0 Removed capability checks. * * @param array $partial Partial settings array to update existing settings with. * * @return bool True if sharing settings option was updated, false otherwise. */ public function merge( array $partial ) { $settings = $this->get(); $partial = array_filter( $partial, function ( $value ) { return ! empty( $value ); } ); return $this->set( $this->array_merge_deep( $settings, $partial ) ); } /** * Gets the sharing settings for a given module, or the defaults. * * @since 1.95.0 * * @param string $slug Module slug. * @return array { * Sharing settings for the given module. * Default sharing settings do not grant any access so they * are safe to return for a non-existent or non-shareable module. * * @type array $sharedRoles A list of WP Role IDs that the module is shared with. * @type string $management Which users can manage the sharing settings. * } */ public function get_module( $slug ) { $settings = $this->get(); if ( isset( $settings[ $slug ] ) ) { return $settings[ $slug ]; } return array( 'sharedRoles' => array(), 'management' => 'owner', ); } /** * Unsets the settings for a given module. * * @since 1.68.0 * * @param string $slug Module slug. */ public function unset_module( $slug ) { $settings = $this->get(); if ( isset( $settings[ $slug ] ) ) { unset( $settings[ $slug ] ); $this->set( $settings ); } } /** * Gets the combined roles that are set as shareable for all modules. * * @since 1.69.0 * * @return array Combined array of shared roles for all modules. */ public function get_all_shared_roles() { $shared_roles = array(); $settings = $this->get(); foreach ( $settings as $sharing_settings ) { if ( ! isset( $sharing_settings['sharedRoles'] ) ) { continue; } $shared_roles = array_merge( $shared_roles, $sharing_settings['sharedRoles'] ); } return array_unique( $shared_roles ); } /** * Gets the shared roles for the given module slug. * * @since 1.69.0 * * @param string $slug Module slug. * @return array list of shared roles for the module, otherwise an empty list. */ public function get_shared_roles( $slug ) { $settings = $this->get(); if ( isset( $settings[ $slug ]['sharedRoles'] ) ) { return $settings[ $slug ]['sharedRoles']; } return array(); } /** * Merges two arrays recursively to a specific depth. * * When array1 and array2 have the same string keys, it overwrites * the elements of array1 with elements of array2. Otherwise, it adds/appends * elements of array2. * * @since 1.77.0 * * @param array $array1 First array. * @param array $array2 Second array. * @param int $depth Optional. Depth to merge to. Default is 1. * * @return array Merged array. */ private function array_merge_deep( $array1, $array2, $depth = 1 ) { foreach ( $array2 as $key => $value ) { if ( $depth > 0 && is_array( $value ) ) { $array1_key = isset( $array1[ $key ] ) ? $array1[ $key ] : null; $array1[ $key ] = $this->array_merge_deep( $array1_key, $value, $depth - 1 ); } else { $array1[ $key ] = $value; } } return $array1; } } includes/Core/Modules/Modules.php 0000604 00000061775 14717744000 0013013 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Modules * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Util\Feature_Flags; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Modules\PageSpeed_Insights; use Google\Site_Kit\Modules\Reader_Revenue_Manager; use Google\Site_Kit\Modules\Search_Console; use Google\Site_Kit\Modules\Sign_In_With_Google; use Google\Site_Kit\Modules\Site_Verification; use Google\Site_Kit\Modules\Tag_Manager; use Exception; /** * Class managing the different modules. * * @since 1.0.0 * @access private * @ignore */ final class Modules { use Method_Proxy_Trait; const OPTION_ACTIVE_MODULES = 'googlesitekit_active_modules'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Option API instance. * * @since 1.0.0 * @var Options */ private $options; /** * Module Sharing Settings instance. * * @since 1.68.0 * @var Module_Sharing_Settings */ private $sharing_settings; /** * User Option API instance. * * @since 1.0.0 * @var User_Options */ private $user_options; /** * Authentication instance. * * @since 1.0.0 * @var Authentication */ private $authentication; /** * Available modules as $slug => $module pairs. * * @since 1.0.0 * @var array */ private $modules = array(); /** * Map of module slugs and which other modules they depend on. * * @since 1.0.0 * @var array */ private $dependencies = array(); /** * Map of module slugs and which other modules depend on them. * * @since 1.0.0 * @var array */ private $dependants = array(); /** * Module_Registry instance. * * @since 1.21.0 * @var Module_Registry */ private $registry; /** * Assets API instance. * * @since 1.40.0 * @var Assets */ private $assets; /** * REST_Modules_Controller instance. * * @since 1.92.0 * @var REST_Modules_Controller */ private $rest_controller; /** * REST_Dashboard_Sharing_Controller instance. * * @since 1.109.0 * @var REST_Dashboard_Sharing_Controller */ private $dashboard_sharing_controller; /** * Core module class names. * * @since 1.21.0 * @var string[] Core module class names. */ private $core_modules = array( Site_Verification::MODULE_SLUG => Site_Verification::class, Search_Console::MODULE_SLUG => Search_Console::class, Ads::MODULE_SLUG => Ads::class, Analytics_4::MODULE_SLUG => Analytics_4::class, Tag_Manager::MODULE_SLUG => Tag_Manager::class, AdSense::MODULE_SLUG => AdSense::class, PageSpeed_Insights::MODULE_SLUG => PageSpeed_Insights::class, ); /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. * @param Assets $assets Optional. Assets API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Authentication $authentication = null, Assets $assets = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); $this->sharing_settings = new Module_Sharing_Settings( $this->options ); $this->user_options = $user_options ?: new User_Options( $this->context ); $this->authentication = $authentication ?: new Authentication( $this->context, $this->options, $this->user_options ); $this->assets = $assets ?: new Assets( $this->context ); if ( Feature_Flags::enabled( 'rrmModule' ) ) { $this->core_modules[ Reader_Revenue_Manager::MODULE_SLUG ] = Reader_Revenue_Manager::class; } if ( Feature_Flags::enabled( 'signInWithGoogleModule' ) ) { $this->core_modules[ Sign_In_With_Google::MODULE_SLUG ] = Sign_In_With_Google::class; } $this->rest_controller = new REST_Modules_Controller( $this ); $this->dashboard_sharing_controller = new REST_Dashboard_Sharing_Controller( $this ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { add_filter( 'googlesitekit_features_request_data', function ( $body ) { $active_modules = $this->get_active_modules(); $connected_modules = array_filter( $active_modules, function ( $module ) { return $module->is_connected(); } ); $body['active_modules'] = implode( ' ', array_keys( $active_modules ) ); $body['connected_modules'] = implode( ' ', array_keys( $connected_modules ) ); return $body; } ); $available_modules = $this->get_available_modules(); array_walk( $available_modules, function ( Module $module ) { if ( $module instanceof Module_With_Settings ) { $module->get_settings()->register(); } if ( $module instanceof Module_With_Persistent_Registration ) { $module->register_persistent(); } } ); $this->rest_controller->register(); $this->sharing_settings->register(); $this->dashboard_sharing_controller->register(); add_filter( 'googlesitekit_assets', function ( $assets ) use ( $available_modules ) { foreach ( $available_modules as $module ) { if ( $module instanceof Module_With_Assets ) { $assets = array_merge( $assets, $module->get_assets() ); } } return $assets; } ); $active_modules = $this->get_active_modules(); array_walk( $active_modules, function ( Module $module ) { $module->register(); } ); add_filter( 'googlesitekit_inline_base_data', $this->get_method_proxy( 'inline_js_data' ) ); add_filter( 'googlesitekit_inline_tracking_data', $this->get_method_proxy( 'inline_js_data' ) ); add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_modules_data' ) ); add_filter( 'googlesitekit_dashboard_sharing_data', function ( $data ) { $data['sharedOwnershipModules'] = array_keys( $this->get_shared_ownership_modules() ); $data['defaultSharedOwnershipModuleSettings'] = $this->populate_default_shared_ownership_module_settings( array() ); return $data; } ); add_filter( 'googlesitekit_module_exists', function ( $exists, $slug ) { return $this->module_exists( $slug ); }, 10, 2 ); add_filter( 'googlesitekit_is_module_recoverable', function ( $recoverable, $slug ) { return $this->is_module_recoverable( $slug ); }, 10, 2 ); add_filter( 'googlesitekit_is_module_connected', function ( $connected, $slug ) { return $this->is_module_connected( $slug ); }, 10, 2 ); add_filter( 'option_' . Module_Sharing_Settings::OPTION, $this->get_method_proxy( 'populate_default_shared_ownership_module_settings' ) ); add_filter( 'default_option_' . Module_Sharing_Settings::OPTION, $this->get_method_proxy( 'populate_default_shared_ownership_module_settings' ), 20 ); $this->sharing_settings->on_change( function ( $old_values, $values ) { if ( is_array( $values ) && is_array( $old_values ) ) { array_walk( $values, function ( $value, $module_slug ) use ( $old_values ) { if ( ! $this->module_exists( $module_slug ) ) { return; } $module = $this->get_module( $module_slug ); if ( ! $module instanceof Module_With_Service_Entity ) { // If the option was just added, set the ownerID directly and bail. if ( empty( $old_values ) ) { $module->get_settings()->merge( array( 'ownerID' => get_current_user_id(), ) ); return; } $changed_settings = false; if ( is_array( $value ) ) { array_walk( $value, function ( $setting, $setting_key ) use ( $old_values, $module_slug, &$changed_settings ) { // Check if old value is an array and set, then compare both arrays. if ( is_array( $setting ) && isset( $old_values[ $module_slug ][ $setting_key ] ) && is_array( $old_values[ $module_slug ][ $setting_key ] ) ) { sort( $setting ); sort( $old_values[ $module_slug ][ $setting_key ] ); if ( $setting !== $old_values[ $module_slug ][ $setting_key ] ) { $changed_settings = true; } } elseif ( // If we don't have the old values or the types are different, then we have updated settings. ! isset( $old_values[ $module_slug ][ $setting_key ] ) || gettype( $setting ) !== gettype( $old_values[ $module_slug ][ $setting_key ] ) || $setting !== $old_values[ $module_slug ][ $setting_key ] ) { $changed_settings = true; } } ); } if ( $changed_settings ) { $module->get_settings()->merge( array( 'ownerID' => get_current_user_id(), ) ); } } } ); } } ); } /** * Adds / modifies data to pass to JS. * * @since 1.78.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_data( $data ) { $all_active_modules = $this->get_active_modules(); $non_internal_active_modules = array_filter( $all_active_modules, function ( Module $module ) { return false === $module->internal; } ); $data['activeModules'] = array_keys( $non_internal_active_modules ); return $data; } /** * Populates modules data to pass to JS. * * @since 1.96.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ private function inline_modules_data( $modules_data ) { $available_modules = $this->get_available_modules(); foreach ( $available_modules as $module ) { if ( $module instanceof Module_With_Data_Available_State ) { $modules_data[ 'data_available_' . $module->slug ] = $this->is_module_active( $module->slug ) && $module->is_connected() && $module->is_data_available(); } } return $modules_data; } /** * Gets the reference to the Module_Sharing_Settings instance. * * @since 1.69.0 * * @return Module_Sharing_Settings An instance of the Module_Sharing_Settings class. */ public function get_module_sharing_settings() { return $this->sharing_settings; } /** * Gets the available modules. * * @since 1.0.0 * @since 1.85.0 Filter out modules which are missing any of the dependencies specified in `depends_on`. * * @return array Available modules as $slug => $module pairs. */ public function get_available_modules() { if ( empty( $this->modules ) ) { $module_classes = $this->get_registry()->get_all(); foreach ( $module_classes as $module_class ) { $instance = new $module_class( $this->context, $this->options, $this->user_options, $this->authentication, $this->assets ); $this->modules[ $instance->slug ] = $instance; $this->dependencies[ $instance->slug ] = array(); $this->dependants[ $instance->slug ] = array(); } uasort( $this->modules, function ( Module $a, Module $b ) { if ( $a->order === $b->order ) { return 0; } return ( $a->order < $b->order ) ? -1 : 1; } ); // Remove any modules which are missing dependencies. This may occur as the result of a dependency // being removed via the googlesitekit_available_modules filter. $this->modules = array_filter( $this->modules, function ( Module $module ) { foreach ( $module->depends_on as $dependency ) { if ( ! isset( $this->modules[ $dependency ] ) ) { return false; } } return true; } ); // Set up dependency maps. foreach ( $this->modules as $module ) { foreach ( $module->depends_on as $dependency ) { if ( $module->slug === $dependency ) { continue; } $this->dependencies[ $module->slug ][] = $dependency; $this->dependants[ $dependency ][] = $module->slug; } } } return $this->modules; } /** * Gets the active modules. * * @since 1.0.0 * * @return array Active modules as $slug => $module pairs. */ public function get_active_modules() { $modules = $this->get_available_modules(); $option = $this->get_active_modules_option(); return array_filter( $modules, function ( Module $module ) use ( $option ) { // Force active OR manually active modules. return $module->force_active || in_array( $module->slug, $option, true ); } ); } /** * Gets the connected modules. * * @since 1.105.0 * * @return array Connected modules as $slug => $module pairs. */ public function get_connected_modules() { $modules = $this->get_available_modules(); return array_filter( $modules, function ( Module $module ) { return $this->is_module_connected( $module->slug ); } ); } /** * Gets the module identified by the given slug. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return Module Module for the slug. * * @throws Exception Thrown when the module slug is invalid. */ public function get_module( $slug ) { $modules = $this->get_available_modules(); if ( ! isset( $modules[ $slug ] ) ) { /* translators: %s: module slug */ throw new Exception( sprintf( __( 'Invalid module slug %s.', 'google-site-kit' ), $slug ) ); } return $modules[ $slug ]; } /** * Checks if the module exists. * * @since 1.80.0 * * @param string $slug Module slug. * @return bool True if the module exists, false otherwise. */ public function module_exists( $slug ) { try { $this->get_module( $slug ); return true; } catch ( Exception $e ) { return false; } } /** * Gets the list of module slugs the module with the given slug depends on. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return array List of slugs for other modules that are dependencies. * * @throws Exception Thrown when the module slug is invalid. */ public function get_module_dependencies( $slug ) { $modules = $this->get_available_modules(); if ( ! isset( $modules[ $slug ] ) ) { /* translators: %s: module slug */ throw new Exception( sprintf( __( 'Invalid module slug %s.', 'google-site-kit' ), $slug ) ); } return $this->dependencies[ $slug ]; } /** * Gets the list of module slugs that depend on the module with the given slug. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return array List of slugs for other modules that are dependants. * * @throws Exception Thrown when the module slug is invalid. */ public function get_module_dependants( $slug ) { $modules = $this->get_available_modules(); if ( ! isset( $modules[ $slug ] ) ) { /* translators: %s: module slug */ throw new Exception( sprintf( __( 'Invalid module slug %s.', 'google-site-kit' ), $slug ) ); } return $this->dependants[ $slug ]; } /** * Checks whether the module identified by the given slug is active. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return bool True if module is active, false otherwise. */ public function is_module_active( $slug ) { $modules = $this->get_active_modules(); return isset( $modules[ $slug ] ); } /** * Checks whether the module identified by the given slug is connected. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return bool True if module is connected, false otherwise. */ public function is_module_connected( $slug ) { if ( ! $this->is_module_active( $slug ) ) { return false; } $module = $this->get_module( $slug ); return (bool) $module->is_connected(); } /** * Checks whether the module identified by the given slug is shareable. * * @since 1.105.0 * * @param string $slug Unique module slug. * @return bool True if module is shareable, false otherwise. */ public function is_module_shareable( $slug ) { $modules = $this->get_shareable_modules(); return isset( $modules[ $slug ] ); } /** * Activates the module identified by the given slug. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return bool True on success, false on failure. */ public function activate_module( $slug ) { try { $module = $this->get_module( $slug ); } catch ( Exception $e ) { return false; } $option = $this->get_active_modules_option(); if ( in_array( $slug, $option, true ) ) { return true; } $option[] = $slug; $this->set_active_modules_option( $option ); if ( $module instanceof Module_With_Activation ) { $module->on_activation(); } return true; } /** * Checks whether the module identified by the given slug is enabled by the option. * * @since 1.46.0 * * @param string $slug Unique module slug. * @return bool True if module has been manually enabled, false otherwise. */ private function manually_enabled( $slug ) { $option = $this->get_active_modules_option(); return in_array( $slug, $option, true ); } /** * Deactivates the module identified by the given slug. * * @since 1.0.0 * * @param string $slug Unique module slug. * @return bool True on success, false on failure. */ public function deactivate_module( $slug ) { try { $module = $this->get_module( $slug ); } catch ( Exception $e ) { return false; } $option = $this->get_active_modules_option(); $key = array_search( $slug, $option, true ); if ( false === $key ) { return true; } // Prevent deactivation if force-active. if ( $module->force_active ) { return false; } unset( $option[ $key ] ); $this->set_active_modules_option( array_values( $option ) ); if ( $module instanceof Module_With_Deactivation ) { $module->on_deactivation(); } $this->sharing_settings->unset_module( $slug ); return true; } /** * Enqueues all module-specific assets. * * @since 1.7.0 */ public function enqueue_assets() { $available_modules = $this->get_available_modules(); array_walk( $available_modules, function ( Module $module ) { if ( $module instanceof Module_With_Assets ) { $module->enqueue_assets(); } } ); } /** * Gets the configured module registry instance. * * @since 1.21.0 * * @return Module_Registry */ protected function get_registry() { if ( ! $this->registry instanceof Module_Registry ) { $this->registry = $this->setup_registry(); } return $this->registry; } /** * Sets up a fresh module registry instance. * * @since 1.21.0 * * @return Module_Registry */ protected function setup_registry() { $registry = new Module_Registry(); /** * Filters core module slugs before registering them in the module registry. Each slug presented on this array will * be registered for inclusion. If a module is forced to be active, then it will be included even if the module slug is * removed from this filter. * * @since 1.49.0 * * @param array $available_modules An array of core module slugs available for registration in the module registry. * @return array An array of filtered module slugs. */ $available_modules = (array) apply_filters( 'googlesitekit_available_modules', array_keys( $this->core_modules ) ); $modules = array_fill_keys( $available_modules, true ); foreach ( $this->core_modules as $slug => $module ) { if ( isset( $modules[ $slug ] ) || call_user_func( array( $module, 'is_force_active' ) ) ) { $registry->register( $module ); } } return $registry; } /** * Gets the option containing the active modules. * * @since 1.0.0 * * @return array List of active module slugs. */ private function get_active_modules_option() { $option = $this->options->get( self::OPTION_ACTIVE_MODULES ); if ( ! is_array( $option ) ) { $option = $this->options->get( 'googlesitekit-active-modules' ); } // If both options are not arrays, use the default value. if ( ! is_array( $option ) ) { $option = array( PageSpeed_Insights::MODULE_SLUG ); } return $option; } /** * Sets the option containing the active modules. * * @since 1.0.0 * * @param array $option List of active module slugs. */ private function set_active_modules_option( array $option ) { $this->options->set( self::OPTION_ACTIVE_MODULES, $option ); } /** * Gets the shareable connected modules. * * @since 1.50.0 * @since 1.105.0 Updated to only return connected shareable modules. * * @return array Shareable modules as $slug => $module pairs. */ public function get_shareable_modules() { $all_connected_modules = $this->get_connected_modules(); return array_filter( $all_connected_modules, function ( Module $module ) { return $module->is_shareable(); } ); } /** * Checks the given module is recoverable. * * A module is recoverable if: * - No user is identified by its owner ID * - the owner lacks the capability to authenticate * - the owner is no longer authenticated * - no user exists for the owner ID * * @since 1.69.0 * * @param Module|string $module A module instance or its slug. * @return bool True if the module is recoverable, false otherwise. */ public function is_module_recoverable( $module ) { if ( is_string( $module ) ) { try { $module = $this->get_module( $module ); } catch ( Exception $e ) { return false; } } if ( ! $module instanceof Module_With_Owner ) { return false; } $shared_roles = $this->sharing_settings->get_shared_roles( $module->slug ); if ( empty( $shared_roles ) ) { return false; } $owner_id = $module->get_owner_id(); if ( ! $owner_id || ! user_can( $owner_id, Permissions::AUTHENTICATE ) ) { return true; } $restore_user = $this->user_options->switch_user( $owner_id ); $owner_authenticated = $this->authentication->is_authenticated(); $restore_user(); if ( ! $owner_authenticated ) { return true; } return false; } /** * Gets the recoverable modules. * * @since 1.50.0 * * @return array Recoverable modules as $slug => $module pairs. */ public function get_recoverable_modules() { return array_filter( $this->get_shareable_modules(), array( $this, 'is_module_recoverable' ) ); } /** * Gets shared ownership modules. * * @since 1.70.0 * * @return array Shared ownership modules as $slug => $module pairs. */ public function get_shared_ownership_modules() { return array_filter( $this->get_shareable_modules(), function ( $module ) { return ! ( $module instanceof Module_With_Service_Entity ); } ); } /** * Inserts default settings for shared ownership modules in passed dashboard sharing settings. * * Sharing settings for shared ownership modules such as pagespeed-insights * should always be manageable by "all admins". This function inserts * this 'default' setting for their respective module slugs even when the * dashboard_sharing settings option is not defined in the database or when settings * are not set for these modules. * * @since 1.75.0 * @since 1.85.0 Renamed from filter_shared_ownership_module_settings to populate_default_shared_ownership_module_settings. * * @param array $sharing_settings The dashboard_sharing settings option fetched from the database. * @return array Dashboard sharing settings option with default settings inserted for shared ownership modules. */ protected function populate_default_shared_ownership_module_settings( $sharing_settings ) { $shared_ownership_modules = array_keys( $this->get_shared_ownership_modules() ); foreach ( $shared_ownership_modules as $shared_ownership_module ) { if ( ! isset( $sharing_settings[ $shared_ownership_module ] ) ) { $sharing_settings[ $shared_ownership_module ] = array( 'sharedRoles' => array(), 'management' => 'all_admins', ); } } return $sharing_settings; } /** * Gets the ownerIDs of all shareable modules. * * @since 1.75.0 * * @return array Array of $module_slug => $owner_id. */ public function get_shareable_modules_owners() { $module_owners = array(); $shareable_modules = $this->get_shareable_modules(); foreach ( $shareable_modules as $module_slug => $module ) { $module_owners[ $module_slug ] = $module->get_owner_id(); } return $module_owners; } /** * Deletes sharing settings. * * @since 1.84.0 * * @return bool True on success, false on failure. */ public function delete_dashboard_sharing_settings() { return $this->options->delete( Module_Sharing_Settings::OPTION ); } } includes/Core/Modules/Module_With_Activation.php 0000604 00000001071 14717744000 0015763 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Activation * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that has additional behavior when activated. * * @since 1.36.0 * @access private * @ignore */ interface Module_With_Activation { /** * Handles module activation. * * @since 1.36.0 */ public function on_activation(); } includes/Core/Modules/Module_With_Assets.php 0000604 00000001660 14717744000 0015130 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Assets * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Assets\Asset; /** * Interface for a module that includes assets. * * @since 1.7.0 * @access private * @ignore */ interface Module_With_Assets { /** * Gets the assets to register for the module. * * @since 1.7.0 * * @return Asset[] List of Asset objects. */ public function get_assets(); /** * Enqueues all assets necessary for the module. * * @since 1.7.0 * @since 1.37.0 Added the $asset_context argument. * * @param string $asset_context Context for page, see `Asset::CONTEXT_*` constants. */ public function enqueue_assets( $asset_context = Asset::CONTEXT_ADMIN_SITEKIT ); } includes/Core/Modules/Module_With_Assets_Trait.php 0000604 00000003367 14717744000 0016301 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Assets_Trait * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Assets\Asset; /** * Trait for a module that includes assets. * * @since 1.7.0 * @access private * @ignore */ trait Module_With_Assets_Trait { /** * List of the module's Asset objects to register. * * @since 1.7.0 * @var array */ protected $registerable_assets; /** * Gets the assets to register for the module. * * @since 1.7.0 * * @return Asset[] List of Asset objects. */ public function get_assets() { if ( null === $this->registerable_assets ) { $this->registerable_assets = $this->setup_assets(); } return $this->registerable_assets; } /** * Enqueues all assets necessary for the module. * * This default implementation simply enqueues all assets that the module * has registered. * * @since 1.7.0 * @since 1.37.0 Added the $asset_context argument; only enqueue assets in the correct context. * * @param string $asset_context The page context to load this asset, see `Asset::CONTEXT_*` constants. */ public function enqueue_assets( $asset_context = Asset::CONTEXT_ADMIN_SITEKIT ) { $assets = $this->get_assets(); array_walk( $assets, function ( Asset $asset, $index, $asset_context ) { if ( $asset->has_context( $asset_context ) ) { $asset->enqueue(); } }, $asset_context ); } /** * Sets up the module's assets to register. * * @since 1.7.0 * * @return Asset[] List of Asset objects. */ abstract protected function setup_assets(); } includes/Core/Modules/Module_With_Data_Available_State.php 0000604 00000002006 14717744000 0017632 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Data_Available_State * * @package Google\Site_Kit * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that have data available state. * * @since 1.96.0 * @access private * @ignore */ interface Module_With_Data_Available_State { /** * Checks whether the data is available for the module. * * @since 1.96.0 * * @return bool True if data is available, false otherwise. */ public function is_data_available(); /** * Sets the data available state for the module. * * @since 1.96.0 * * @return bool True on success, false otherwise. */ public function set_data_available(); /** * Resets the data available state for the module. * * @since 1.96.0 * * @return bool True on success, false otherwise. */ public function reset_data_available(); } includes/Core/Modules/Module_With_Data_Available_State_Trait.php 0000604 00000003017 14717744000 0021000 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Data_Available_State_Trait * * @package Google\Site_Kit * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Trait for a module that has data available state. * * @since 1.96.0 * @access private * @ignore */ trait Module_With_Data_Available_State_Trait { /** * Gets data available transient name of the module. * * @since 1.96.0 * * @return string Data available transient name. */ protected function get_data_available_transient_name() { return "googlesitekit_{$this->slug}_data_available"; } /** * Checks whether the data is available for the module. * * @since 1.96.0 * * @return bool True if data is available, false otherwise. */ public function is_data_available() { return (bool) $this->transients->get( $this->get_data_available_transient_name() ); } /** * Sets the data available state for the module. * * @since 1.96.0 * * @return bool True on success, false otherwise. */ public function set_data_available() { return $this->transients->set( $this->get_data_available_transient_name(), true ); } /** * Resets the data available state for the module. * * @since 1.96.0 * * @return bool True on success, false otherwise. */ public function reset_data_available() { return $this->transients->delete( $this->get_data_available_transient_name() ); } } includes/Core/Modules/Module_With_Deactivation.php 0000604 00000001103 14717744000 0016270 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Deactivation * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that has additional behavior when deactivated. * * @since 1.36.0 * @access private * @ignore */ interface Module_With_Deactivation { /** * Handles module deactivation. * * @since 1.36.0 */ public function on_deactivation(); } includes/Core/Modules/Module_With_Debug_Fields.php 0000604 00000001056 14717744000 0016201 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Module_With_Debug_Fields * * @package Google\Site_Kit\Core\Modules * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface Module_With_Debug_Fields * * @since 1.5.0 */ interface Module_With_Debug_Fields { /** * Gets an array of debug field definitions. * * @since 1.5.0 * * @return array */ public function get_debug_fields(); } includes/Core/Modules/Module_With_Owner.php 0000604 00000001076 14717744000 0014761 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Owner * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that includes an owner. * * @since 1.16.0 * @access private * @ignore */ interface Module_With_Owner { /** * Gets an owner ID for the module. * * @since 1.16.0 * * @return int Owner ID. */ public function get_owner_id(); } includes/Core/Modules/Module_With_Owner_Trait.php 0000604 00000003352 14717744000 0016123 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Owner_Trait * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Authentication\Profile; use Google\Site_Kit\Core\Authentication\Token; use Google\Site_Kit\Core\Storage\User_Options; /** * Trait for a module that includes an owner ID. * * @since 1.16.0 * @access private * @ignore */ trait Module_With_Owner_Trait { /** * OAuth_Client instance. * * @since 1.77.0. * @var OAuth_Client */ protected $owner_oauth_client; /** * Gets an owner ID for the module. * * @since 1.16.0 * * @return int Owner ID. */ public function get_owner_id() { if ( ! $this instanceof Module_With_Settings ) { return 0; } $settings = $this->get_settings()->get(); if ( empty( $settings['ownerID'] ) ) { return 0; } return $settings['ownerID']; } /** * Gets the OAuth_Client instance for the module owner. * * @since 1.77.0 * * @return OAuth_Client OAuth_Client instance. */ public function get_owner_oauth_client() { if ( $this->owner_oauth_client instanceof OAuth_Client ) { return $this->owner_oauth_client; } $user_options = new User_Options( $this->context, $this->get_owner_id() ); $this->owner_oauth_client = new OAuth_Client( $this->context, $this->options, $user_options, $this->authentication->credentials(), $this->authentication->get_google_proxy(), new Profile( $user_options ), new Token( $user_options ) ); return $this->owner_oauth_client; } } includes/Core/Modules/Module_With_Persistent_Registration.php 0000604 00000001205 14717744000 0020553 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Persistent_Registration * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that requires persistent registration. * * @since 1.38.0 * @access private * @ignore */ interface Module_With_Persistent_Registration { /** * The registration method that is called even if the module is not activated. * * @since 1.38.0 */ public function register_persistent(); } includes/Core/Modules/Module_With_Scopes.php 0000604 00000001155 14717744000 0015121 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Scopes * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Interface for a module that requires Google OAuth scopes. * * @since 1.0.0 * @access private * @ignore */ interface Module_With_Scopes { /** * Gets required Google OAuth scopes for the module. * * @since 1.0.0 * * @return array List of Google OAuth scopes. */ public function get_scopes(); } includes/Core/Modules/Module_With_Scopes_Trait.php 0000604 00000001322 14717744000 0016260 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Trait for a module that requires Google OAuth scopes. * * @since 1.0.0 * @access private * @ignore */ trait Module_With_Scopes_Trait { /** * Registers the hook to add required scopes. * * @since 1.0.0 */ private function register_scopes_hook() { add_filter( 'googlesitekit_auth_scopes', function ( array $scopes ) { return array_merge( $scopes, $this->get_scopes() ); } ); } } includes/Core/Modules/Module_With_Service_Entity.php 0000604 00000001250 14717744000 0016615 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Service_Entity * * @package Google\Site_Kit * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use WP_Error; /** * Interface for a module that includes a service entity. * * @since 1.70.0 * @access private * @ignore */ interface Module_With_Service_Entity { /** * Checks if the current user has access to the current configured service entity. * * @since 1.70.0 * * @return boolean|WP_Error */ public function check_service_entity_access(); } includes/Core/Modules/Module_With_Settings.php 0000604 00000001026 14717744000 0015462 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Settings * * @package Google\Site_Kit\Core\Modules * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; interface Module_With_Settings { /** * Gets the module's Setting instance. * * @since 1.2.0 * * @return Module_Settings The Setting instance for the current module. */ public function get_settings(); } includes/Core/Modules/Module_With_Settings_Trait.php 0000604 00000001760 14717744000 0016632 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Settings_Trait * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; /** * Trait for a module that includes a screen. * * @since 1.2.0 * @access private * @ignore */ trait Module_With_Settings_Trait { /** * Settings instance. * * @since 1.2.0 * * @var Module_Settings */ protected $settings; /** * Sets up the module's settings instance. * * @since 1.2.0 * * @return Module_Settings */ abstract protected function setup_settings(); /** * Gets the module's Settings instance. * * @since 1.2.0 * * @return Module_Settings Module_Settings instance. */ public function get_settings() { if ( ! $this->settings instanceof Module_Settings ) { $this->settings = $this->setup_settings(); } return $this->settings; } } includes/Core/Modules/Module_With_Tag.php 0000604 00000001237 14717744000 0014401 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Tag * * @package Google\Site_Kit\Core\Modules * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; interface Module_With_Tag { /** * Registers the tag. * * @since 1.119.0 */ public function register_tag(); /** * Returns the Module_Tag_Matchers instance. * * @since 1.119.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers(); } includes/Core/Modules/Module_With_Tag_Trait.php 0000604 00000004177 14717744000 0015552 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Modules\Module_With_Tag_Trait * * @package Google\Site_Kit\Core\Modules * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; trait Module_With_Tag_Trait { /** * Checks if the module tag is found in the provided content. * * @since 1.119.0 * * @param string $content Content to search for the tags. * @return bool TRUE if tag is found, FALSE if not. */ public function has_placed_tag_in_content( $content ) { $tag_matchers = $this->get_tag_matchers()->regex_matchers(); $module_name = $this->name; // Remove 4 from translatable string name of the module if present. if ( strpos( $module_name, '4' ) !== false ) { $module_name = trim( str_replace( '4', '', $module_name ) ); } $search_string = 'Google ' . $module_name . ' snippet added by Site Kit'; // @TODO Replace the comment text around the module name with methods that should expose it. $search_translatable_string = sprintf( /* translators: %s: translatable module name */ __( 'Google %s snippet added by Site Kit', 'google-site-kit' ), $module_name ); if ( strpos( $content, $search_string ) !== false || strpos( $content, $search_translatable_string ) !== false ) { return Module_Tag_Matchers::TAG_EXISTS_WITH_COMMENTS; } else { foreach ( $tag_matchers as $pattern ) { if ( preg_match( $pattern, $content ) ) { return Module_Tag_Matchers::TAG_EXISTS; } } } return Module_Tag_Matchers::NO_TAG_FOUND; } /** * Gets the URL of the page where a tag for the module would be placed. * * For all modules like Analytics, Tag Manager, AdSense, Ads, etc. except for * Sign in with Google, tags can be detected on the home page. SiwG places its * snippet on the login page and thus, overrides this method. * * @since 1.140.0 * * @return string The home page URL string where tags are placed for most modules. */ public function get_content_url() { return home_url(); } } includes/Core/Modules/REST_Dashboard_Sharing_Controller.php 0000604 00000007063 14717744000 0017773 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\REST_Dashboard_Sharing_Controller * * @package Google\Site_Kit\Core\Modules * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\Util\Collection_Key_Cap_Filter; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling dashboard sharing rest routes. * * @since 1.75.0 * @access private * @ignore */ class REST_Dashboard_Sharing_Controller { /** * Modules instance. * * @since 1.75.0 * @var Modules */ protected $modules; /** * Constructor. * * @since 1.75.0 * * @param Modules $modules Modules instance. */ public function __construct( Modules $modules ) { $this->modules = $modules; } /** * Registers functionality through WordPress hooks. * * @since 1.75.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets REST route instances. * * @since 1.75.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_manage_options = function () { return current_user_can( Permissions::MANAGE_OPTIONS ); }; return array( new REST_Route( 'core/modules/data/sharing-settings', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $original_module_owners = $this->modules->get_shareable_modules_owners(); $sharing_settings = $this->modules->get_module_sharing_settings(); $new_sharing_settings = array_reduce( array( new Collection_Key_Cap_Filter( 'sharedRoles', Permissions::MANAGE_MODULE_SHARING_OPTIONS ), new Collection_Key_Cap_Filter( 'management', Permissions::DELEGATE_MODULE_SHARING_MANAGEMENT ), ), function ( $settings, Collection_Key_Cap_Filter $filter ) { return $filter->filter_key_by_cap( $settings ); }, (array) $request['data'] ); $sharing_settings->merge( $new_sharing_settings ); $new_module_owners = $this->modules->get_shareable_modules_owners(); $changed_module_owners = array_filter( $new_module_owners, function ( $new_owner_id, $module_slug ) use ( $original_module_owners ) { return $new_owner_id !== $original_module_owners[ $module_slug ]; }, ARRAY_FILTER_USE_BOTH ); return new WP_REST_Response( array( 'settings' => $sharing_settings->get(), // Cast array to an object so JSON encoded response is always an object, // even when the array is empty. 'newOwnerIDs' => (object) $changed_module_owners, ) ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ), array( 'methods' => WP_REST_Server::DELETABLE, 'callback' => function () { $delete_settings = $this->modules->delete_dashboard_sharing_settings(); return new WP_REST_Response( $delete_settings ); }, 'permission_callback' => $can_manage_options, ), ) ), ); } } includes/Core/Modules/REST_Modules_Controller.php 0000604 00000062511 14717744000 0016040 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\REST_Modules_Controller * * @package Google\Site_Kit\Core\Modules * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Storage\Setting_With_ViewOnly_Keys_Interface; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; use WP_Error; use Exception; /** * Class for handling modules rest routes. * * @since 1.92.0 * @access private * @ignore */ class REST_Modules_Controller { const REST_ROUTE_CHECK_ACCESS = 'core/modules/data/check-access'; /** * Modules instance. * * @since 1.92.0 * @var Modules */ protected $modules; /** * Constructor. * * @since 1.92.0 * * @param Modules $modules Modules instance. */ public function __construct( Modules $modules ) { $this->modules = $modules; } /** * Registers functionality through WordPress hooks. * * @since 1.92.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { $modules_routes = array( '/' . REST_Routes::REST_ROOT . '/core/modules/data/list', ); $settings_routes = array_map( function ( Module $module ) { if ( $module instanceof Module_With_Settings ) { return '/' . REST_Routes::REST_ROOT . "/modules/{$module->slug}/data/settings"; } return null; }, $this->modules->get_active_modules() ); return array_merge( $paths, $modules_routes, array_filter( $settings_routes ) ); } ); } /** * Gets the REST schema for a module. * * @since 1.92.0 * * @return array Module REST schema. */ private function get_module_schema() { return array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'module', 'type' => 'object', 'properties' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'readonly' => true, ), 'name' => array( 'type' => 'string', 'description' => __( 'Name of the module.', 'google-site-kit' ), 'readonly' => true, ), 'description' => array( 'type' => 'string', 'description' => __( 'Description of the module.', 'google-site-kit' ), 'readonly' => true, ), 'homepage' => array( 'type' => 'string', 'description' => __( 'The module homepage.', 'google-site-kit' ), 'format' => 'uri', 'readonly' => true, ), 'internal' => array( 'type' => 'boolean', 'description' => __( 'Whether the module is internal, thus without any UI.', 'google-site-kit' ), 'readonly' => true, ), 'active' => array( 'type' => 'boolean', 'description' => __( 'Whether the module is active.', 'google-site-kit' ), ), 'connected' => array( 'type' => 'boolean', 'description' => __( 'Whether the module setup has been completed.', 'google-site-kit' ), 'readonly' => true, ), 'dependencies' => array( 'type' => 'array', 'description' => __( 'List of slugs of other modules that the module depends on.', 'google-site-kit' ), 'items' => array( 'type' => 'string', ), 'readonly' => true, ), 'dependants' => array( 'type' => 'array', 'description' => __( 'List of slugs of other modules depending on the module.', 'google-site-kit' ), 'items' => array( 'type' => 'string', ), 'readonly' => true, ), 'shareable' => array( 'type' => 'boolean', 'description' => __( 'Whether the module is shareable.', 'google-site-kit' ), ), 'recoverable' => array( 'type' => 'boolean', 'description' => __( 'Whether the module is recoverable.', 'google-site-kit' ), ), 'owner' => array( 'type' => 'object', 'properties' => array( 'id' => array( 'type' => 'integer', 'description' => __( 'Owner ID.', 'google-site-kit' ), 'readonly' => true, ), 'login' => array( 'type' => 'string', 'description' => __( 'Owner login.', 'google-site-kit' ), 'readonly' => true, ), ), ), ), ); } /** * Gets related REST routes. * * @since 1.92.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_setup = function () { return current_user_can( Permissions::SETUP ); }; $can_authenticate = function () { return current_user_can( Permissions::AUTHENTICATE ); }; $can_list_data = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; $can_view_insights = function () { // This accounts for routes that need to be called before user has completed setup flow. if ( current_user_can( Permissions::SETUP ) ) { return true; } return current_user_can( Permissions::VIEW_POSTS_INSIGHTS ); }; $can_manage_options = function () { // This accounts for routes that need to be called before user has completed setup flow. if ( current_user_can( Permissions::SETUP ) ) { return true; } return current_user_can( Permissions::MANAGE_OPTIONS ); }; $get_module_schema = function () { return $this->get_module_schema(); }; return array( new REST_Route( 'core/modules/data/list', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $modules = array_map( array( $this, 'prepare_module_data_for_response' ), $this->modules->get_available_modules() ); return new WP_REST_Response( array_values( $modules ) ); }, 'permission_callback' => $can_list_data, ), ), array( 'schema' => $get_module_schema, ) ), new REST_Route( 'core/modules/data/activation', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; $slug = isset( $data['slug'] ) ? $data['slug'] : ''; try { $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', $e->getMessage() ); } $modules = $this->modules->get_available_modules(); if ( ! empty( $data['active'] ) ) { // Prevent activation if one of the dependencies is not active. $dependency_slugs = $this->modules->get_module_dependencies( $slug ); foreach ( $dependency_slugs as $dependency_slug ) { if ( ! $this->modules->is_module_active( $dependency_slug ) ) { /* translators: %s: module name */ return new WP_Error( 'inactive_dependencies', sprintf( __( 'Module cannot be activated because of inactive dependency %s.', 'google-site-kit' ), $modules[ $dependency_slug ]->name ), array( 'status' => 500 ) ); } } if ( ! $this->modules->activate_module( $slug ) ) { return new WP_Error( 'cannot_activate_module', __( 'An internal error occurred while trying to activate the module.', 'google-site-kit' ), array( 'status' => 500 ) ); } } else { // Automatically deactivate dependants. $dependant_slugs = $this->modules->get_module_dependants( $slug ); foreach ( $dependant_slugs as $dependant_slug ) { if ( $this->modules->is_module_active( $dependant_slug ) ) { if ( ! $this->modules->deactivate_module( $dependant_slug ) ) { /* translators: %s: module name */ return new WP_Error( 'cannot_deactivate_dependant', sprintf( __( 'Module cannot be deactivated because deactivation of dependant %s failed.', 'google-site-kit' ), $modules[ $dependant_slug ]->name ), array( 'status' => 500 ) ); } } } if ( ! $this->modules->deactivate_module( $slug ) ) { return new WP_Error( 'cannot_deactivate_module', __( 'An internal error occurred while trying to deactivate the module.', 'google-site-kit' ), array( 'status' => 500 ) ); } } return new WP_REST_Response( array( 'success' => true ) ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ), ), array( 'schema' => $get_module_schema, ) ), new REST_Route( 'core/modules/data/info', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function ( WP_REST_Request $request ) { try { $module = $this->modules->get_module( $request['slug'] ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', $e->getMessage() ); } return new WP_REST_Response( $this->prepare_module_data_for_response( $module ) ); }, 'permission_callback' => $can_authenticate, 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ), ), array( 'schema' => $get_module_schema, ) ), new REST_Route( self::REST_ROUTE_CHECK_ACCESS, array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; $slug = isset( $data['slug'] ) ? $data['slug'] : ''; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $module->is_connected() ) { return new WP_Error( 'module_not_connected', __( 'Module is not connected.', 'google-site-kit' ), array( 'status' => 500 ) ); } if ( ! $module instanceof Module_With_Service_Entity ) { if ( $module->is_shareable() ) { return new WP_REST_Response( array( 'access' => true, ) ); } return new WP_Error( 'invalid_module', __( 'Module access cannot be checked.', 'google-site-kit' ), array( 'status' => 500 ) ); } $access = $module->check_service_entity_access(); if ( is_wp_error( $access ) ) { return $access; } return new WP_REST_Response( array( 'access' => $access, ) ); }, 'permission_callback' => $can_setup, 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ), ) ), new REST_Route( 'modules/(?P<slug>[a-z0-9\-]+)/data/notifications', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function ( WP_REST_Request $request ) { $slug = $request['slug']; $modules = $this->modules->get_available_modules(); if ( ! isset( $modules[ $slug ] ) ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } $notifications = array(); if ( $this->modules->is_module_active( $slug ) ) { $notifications = $modules[ $slug ]->get_data( 'notifications' ); if ( is_wp_error( $notifications ) ) { // Don't consider it an error if the module does not have a 'notifications' datapoint. if ( Invalid_Datapoint_Exception::WP_ERROR_CODE === $notifications->get_error_code() ) { $notifications = array(); } return $notifications; } } return new WP_REST_Response( $notifications ); }, 'permission_callback' => $can_authenticate, ), ), array( 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ) ), new REST_Route( 'modules/(?P<slug>[a-z0-9\-]+)/data/settings', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function ( WP_REST_Request $request ) use ( $can_manage_options ) { $slug = $request['slug']; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $module instanceof Module_With_Settings ) { return new WP_Error( 'invalid_module_slug', __( 'Module does not support settings.', 'google-site-kit' ), array( 'status' => 400 ) ); } $settings = $module->get_settings(); if ( $can_manage_options() ) { return new WP_REST_Response( $settings->get() ); } if ( $settings instanceof Setting_With_ViewOnly_Keys_Interface ) { $view_only_settings = array_intersect_key( $settings->get(), array_flip( $settings->get_view_only_keys() ) ); return new WP_REST_Response( $view_only_settings ); } return new WP_Error( 'no_view_only_settings' ); }, 'permission_callback' => $can_list_data, ), array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $slug = $request['slug']; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $module instanceof Module_With_Settings ) { return new WP_Error( 'invalid_module_slug', __( 'Module does not support settings.', 'google-site-kit' ), array( 'status' => 400 ) ); } do_action( 'googlesitekit_pre_save_settings_' . $slug ); $module->get_settings()->merge( (array) $request['data'] ); do_action( 'googlesitekit_save_settings_' . $slug ); return new WP_REST_Response( $module->get_settings()->get() ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'description' => __( 'Settings to set.', 'google-site-kit' ), 'validate_callback' => function ( $value ) { return is_array( $value ); }, ), ), ), ), array( 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ) ), new REST_Route( 'modules/(?P<slug>[a-z0-9\-]+)/data/data-available', array( array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $slug = $request['slug']; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $this->modules->is_module_connected( $slug ) ) { return new WP_Error( 'module_not_connected', __( 'Module is not connected.', 'google-site-kit' ), array( 'status' => 500 ) ); } if ( ! $module instanceof Module_With_Data_Available_State ) { return new WP_Error( 'invalid_module_slug', __( 'Module does not support setting data available state.', 'google-site-kit' ), array( 'status' => 500 ) ); } return new WP_REST_Response( $module->set_data_available() ); }, 'permission_callback' => $can_list_data, ), ), array( 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ) ), new REST_Route( 'modules/(?P<slug>[a-z0-9\-]+)/data/(?P<datapoint>[a-z\-]+)', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function ( WP_REST_Request $request ) { $slug = $request['slug']; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $this->modules->is_module_active( $slug ) ) { return new WP_Error( 'module_not_active', __( 'Module must be active to request data.', 'google-site-kit' ), array( 'status' => 403 ) ); } $data = $module->get_data( $request['datapoint'], $request->get_params() ); if ( is_wp_error( $data ) ) { return $data; } return new WP_REST_Response( $data ); }, 'permission_callback' => $can_view_insights, ), array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $slug = $request['slug']; try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { return new WP_Error( 'invalid_module_slug', __( 'Invalid module slug.', 'google-site-kit' ), array( 'status' => 404 ) ); } if ( ! $this->modules->is_module_active( $slug ) ) { return new WP_Error( 'module_not_active', __( 'Module must be active to request data.', 'google-site-kit' ), array( 'status' => 403 ) ); } $data = isset( $request['data'] ) ? (array) $request['data'] : array(); $data = $module->set_data( $request['datapoint'], $data ); if ( is_wp_error( $data ) ) { return $data; } return new WP_REST_Response( $data ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'description' => __( 'Data to set.', 'google-site-kit' ), 'validate_callback' => function ( $value ) { return is_array( $value ); }, ), ), ), ), array( 'args' => array( 'slug' => array( 'type' => 'string', 'description' => __( 'Identifier for the module.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), 'datapoint' => array( 'type' => 'string', 'description' => __( 'Module data point to address.', 'google-site-kit' ), 'sanitize_callback' => 'sanitize_key', ), ), ) ), new REST_Route( 'core/modules/data/recover-modules', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; $slugs = isset( $data['slugs'] ) ? $data['slugs'] : array(); if ( ! is_array( $slugs ) || empty( $slugs ) ) { return new WP_Error( 'invalid_param', __( 'Request parameter slugs is not valid.', 'google-site-kit' ), array( 'status' => 400 ) ); } $response = array( 'success' => array(), 'error' => array(), ); foreach ( $slugs as $slug ) { try { $module = $this->modules->get_module( $slug ); } catch ( Exception $e ) { $response = $this->handle_module_recovery_error( $slug, $response, new WP_Error( 'invalid_module_slug', $e->getMessage(), array( 'status' => 404 ) ) ); continue; } if ( ! $module->is_shareable() ) { $response = $this->handle_module_recovery_error( $slug, $response, new WP_Error( 'module_not_shareable', __( 'Module is not shareable.', 'google-site-kit' ), array( 'status' => 404 ) ) ); continue; } if ( ! $this->modules->is_module_recoverable( $module ) ) { $response = $this->handle_module_recovery_error( $slug, $response, new WP_Error( 'module_not_recoverable', __( 'Module is not recoverable.', 'google-site-kit' ), array( 'status' => 403 ) ) ); continue; } $check_access_endpoint = '/' . REST_Routes::REST_ROOT . '/' . self::REST_ROUTE_CHECK_ACCESS; $check_access_request = new WP_REST_Request( 'POST', $check_access_endpoint ); $check_access_request->set_body_params( array( 'data' => array( 'slug' => $slug, ), ) ); $check_access_response = rest_do_request( $check_access_request ); if ( is_wp_error( $check_access_response ) ) { $response = $this->handle_module_recovery_error( $slug, $response, $check_access_response ); continue; } $access = isset( $check_access_response->data['access'] ) ? $check_access_response->data['access'] : false; if ( ! $access ) { $response = $this->handle_module_recovery_error( $slug, $response, new WP_Error( 'module_not_accessible', __( 'Module is not accessible by current user.', 'google-site-kit' ), array( 'status' => 403 ) ) ); continue; } // Update the module's ownerID to the ID of the user making the request. $module_setting_updates = array( 'ownerID' => get_current_user_id(), ); $recovered_module = $module->get_settings()->merge( $module_setting_updates ); if ( $recovered_module ) { $response['success'][ $slug ] = true; } } // Cast error array to an object so JSON encoded response is // always an object, even when the error array is empty. if ( ! $response['error'] ) { $response['error'] = (object) array(); } return new WP_REST_Response( $response ); }, 'permission_callback' => $can_setup, ), ), array( 'schema' => $get_module_schema, ) ), ); } /** * Prepares module data for a REST response according to the schema. * * @since 1.92.0 * * @param Module $module Module instance. * @return array Module REST response data. */ private function prepare_module_data_for_response( Module $module ) { $module_data = array( 'slug' => $module->slug, 'name' => $module->name, 'description' => $module->description, 'homepage' => $module->homepage, 'internal' => $module->internal, 'order' => $module->order, 'forceActive' => $module->force_active, 'recoverable' => $module->is_recoverable(), 'shareable' => $this->modules->is_module_shareable( $module->slug ), 'active' => $this->modules->is_module_active( $module->slug ), 'connected' => $this->modules->is_module_connected( $module->slug ), 'dependencies' => $this->modules->get_module_dependencies( $module->slug ), 'dependants' => $this->modules->get_module_dependants( $module->slug ), 'owner' => null, ); if ( current_user_can( 'list_users' ) && $module instanceof Module_With_Owner ) { $owner_id = $module->get_owner_id(); if ( $owner_id ) { $module_data['owner'] = array( 'id' => $owner_id, 'login' => get_the_author_meta( 'user_login', $owner_id ), ); } } return $module_data; } /** * Prepares error data to pass with WP_REST_Response. * * @since 1.92.0 * * @param WP_Error $error Error (WP_Error) to prepare. * * @return array Formatted error response suitable for the client. */ protected function prepare_error_response( $error ) { return array( 'code' => $error->get_error_code(), 'message' => $error->get_error_message(), 'data' => $error->get_error_data(), ); } /** * Updates response with error encounted during module recovery. * * @since 1.92.0 * * @param string $slug The module slug. * @param array $response The existing response. * @param WP_Error $error The error encountered. * * @return array The updated response with error included. */ protected function handle_module_recovery_error( $slug, $response, $error ) { $response['success'][ $slug ] = false; $response['error'][ $slug ] = $this->prepare_error_response( $error ); return $response; } } includes/Core/Nonces/Nonces.php 0000604 00000005127 14717744000 0012432 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Nonces\Nonces * * @package Google\Site_Kit\Core\Nonces * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Nonces; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Util\Feature_Flags; use WP_REST_Response; use WP_REST_Server; /** * Class managing nonces used by Site Kit. * * @since 1.93.0 * @access private * @ignore */ final class Nonces { /* * Nonce actions. * * @since 1.93.0 */ const NONCE_UPDATES = 'updates'; /** * Plugin context. * * @since 1.93.0 * @var Context */ private $context; /** * Array of nonce actions. * * @since 1.93.0 * @var array */ private $nonce_actions; /** * Constructor. * * Sets up the capability mappings. * * @since 1.93.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; $this->nonce_actions = array( self::NONCE_UPDATES, ); } /** * Registers functionality through WordPress hooks. * * @since 1.93.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/nonces', ) ); } ); } /** * Generate nonces for the current user. * * @since 1.93.0 * * @return array List of nonces. */ public function get_nonces() { $nonces = array(); foreach ( $this->nonce_actions as $nonce_action ) { $nonces[ $nonce_action ] = wp_create_nonce( $nonce_action ); } return $nonces; } /** * Gets related REST routes. * * @since 1.93.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_access_nonces = function () { return is_user_logged_in(); }; return array( new REST_Route( 'core/user/data/nonces', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->get_nonces() ); }, 'permission_callback' => $can_access_nonces, ), ) ), ); } } includes/Core/Notifications/Notification.php 0000604 00000005270 14717744000 0015216 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Notifications\Notification * * @package Google\Site_Kit\Core\Notifications * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Notifications; /** * Class for representing a notification. * * @since 1.4.0 * @access private * @ignore */ class Notification { /** * Unique notification slug. * * @since 1.4.0 * @var string */ private $slug; /** * Notification arguments. * * @since 1.4.0 * @var array */ private $args; /** * Constructor. * * @since 1.4.0 * * @param string $slug Unique notification slug. * @param array $args { * Associative array of notification arguments. * * @type string $title Required notification title. * @type string $content Required notification content. May contain inline HTML tags. * @type string $cta_url Call to action URL. * @type string $cta_label Call to action anchor text. * @type string $cta_target Call to action anchor target. * @type string $learn_more_url Learn more URL. * @type string $learn_more_label Learn more anchor text. * @type bool $dismissible Whether the notice should be dismissible. Default false. * @type string $dismiss_label Dismiss anchor text. * } */ public function __construct( $slug, array $args ) { $this->slug = (string) $slug; $this->args = array_merge( array( 'title' => '', 'content' => '', 'cta_url' => '', 'cta_label' => '', 'cta_target' => '', 'learn_more_url' => '', 'learn_more_label' => '', 'dismissible' => false, 'dismiss_label' => __( 'Dismiss', 'google-site-kit' ), ), $args ); } /** * Gets the notification's slug. * * @since 1.4.0 * * @return string Unique notification slug. */ public function get_slug() { return $this->slug; } /** * Prepares the JS representation of the Notification. * * @since 1.4.0 * * @return array */ public function prepare_for_js() { return array( 'id' => $this->get_slug(), 'title' => $this->args['title'], 'content' => $this->args['content'], 'ctaURL' => $this->args['cta_url'], 'ctaLabel' => $this->args['cta_label'], 'ctaTarget' => $this->args['cta_target'], 'learnMoreURL' => $this->args['learn_more_url'], 'learnMoreLabel' => $this->args['learn_more_label'], 'dismissible' => $this->args['dismissible'], 'dismissLabel' => $this->args['dismiss_label'], ); } } includes/Core/Notifications/Notifications.php 0000604 00000016652 14717744000 0015407 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Notifications\Notifications.php * * @package Google\Site_Kit\Core\Notifications * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Notifications; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Storage\Options; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for managing core notifications. * * @since 1.4.0 * @access private * @ignore */ class Notifications { /** * Context instance. * * @since 1.4.0 * @var Context */ private $context; /** * Options instance. * * @since 1.4.0 * @var Options */ private $options; /** * Authentication instance. * * @since 1.8.0 * @var Authentication */ private $authentication; /** * Google_Proxy instance. * * @since 1.4.0 * @var Google_Proxy */ private $google_proxy; /** * Credentials instance. * * @since 1.4.0 * @var Credentials */ private $credentials; /** * Constructor. * * @since 1.4.0 * * @param Context $context Context instance. * @param Options $options Options instance. * @param Authentication $authentication Authentication instance. */ public function __construct( Context $context, Options $options = null, Authentication $authentication = null ) { $this->context = $context; $this->options = $options ?: new Options( $context ); $this->google_proxy = new Google_Proxy( $this->context ); $this->authentication = $authentication ?: new Authentication( $this->context ); $this->credentials = $this->authentication->credentials(); } /** * Registers core notifications. * * @since 1.4.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets related REST routes. * * @since 1.4.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_use_notifications = function () { return current_user_can( Permissions::SETUP ) && $this->credentials->has(); }; return array( new REST_Route( 'core/site/data/notifications', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $endpoint = add_query_arg( array( 'site_id' => $this->credentials->get()['oauth2_client_id'], ), $this->google_proxy->url( '/notifications/' ) ); // Return an empty array of notifications if the user isn't using the proxy. if ( ! $this->credentials->using_proxy() ) { return new WP_REST_Response( array() ); } $response = wp_remote_get( $endpoint ); // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get if ( is_wp_error( $response ) ) { return $response; } try { $response = $this->parse_response( $response ); } catch ( Exception $e ) { return new WP_Error( 'exception', $e->getMessage() ); } $data = array_map( function ( Notification $notification ) { return $notification->prepare_for_js(); }, $this->map_response_to_notifications( $response ) ); return new WP_REST_Response( $data ); }, 'permission_callback' => $can_use_notifications, ), ) ), new REST_Route( 'core/site/data/mark-notification', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data['notificationID'] ) ) { return $this->missing_required_param( 'data.notificationID' ); } if ( empty( $data['notificationState'] ) ) { return $this->missing_required_param( 'data.notificationState' ); } $credentials = $this->credentials->get(); $response = wp_remote_post( $this->google_proxy->url( '/notifications/mark/' ), array( 'body' => array( 'site_id' => $credentials['oauth2_client_id'], 'site_secret' => $credentials['oauth2_client_secret'], 'notification_id' => $data['notificationID'], 'notification_state' => $data['notificationState'], ), ) ); if ( is_wp_error( $response ) ) { return $response; } try { $response = $this->parse_response( $response ); } catch ( Exception $e ) { return new WP_Error( 'exception', $e->getMessage() ); } return new WP_REST_Response( array( 'success' => isset( $response['success'] ) ? (bool) $response['success'] : false, ) ); }, 'args' => array( 'data' => array( 'required' => true, 'type' => 'object', ), ), 'permission_callback' => $can_use_notifications, ), ) ), ); } /** * Validates and parses the given JSON response into an array. * * @since 1.4.0 * * @param array $response HTTP response array. * @return mixed JSON decoded response. * @throws Exception Throws exception if response cannot be parsed or if an error is returned. */ private function parse_response( $response ) { $body = wp_remote_retrieve_body( $response ); $decoded = json_decode( $body, true ); if ( json_last_error() ) { throw new Exception( 'Error while decoding response: ' . json_last_error() ); } if ( ! empty( $decoded['error'] ) ) { throw new Exception( $decoded['error'] ); } return $decoded; } /** * Maps the response objects into Notification objects. * * @since 1.4.0 * * @param array $response Array of notification objects from API. * @return Notification[] Array of Notification objects. */ private function map_response_to_notifications( array $response ) { return array_map( function ( $notification ) { return new Notification( $notification['id'], array( 'title' => $notification['title'], 'content' => $notification['content'], 'cta_url' => $notification['ctaURL'], 'cta_label' => $notification['ctaLabel'], 'cta_target' => $notification['ctaTarget'], 'learn_more_url' => $notification['learnMoreURL'], 'learn_more_label' => $notification['learnMoreLabel'], 'dismissible' => $notification['dismissible'], 'dismiss_label' => $notification['dismissLabel'], ) ); }, $response ); } /** * Gets a WP_Error instance for the given missing required parameter. * * @since 1.4.0 * * @param string $param Missing required parameter. * @return WP_Error */ private function missing_required_param( $param ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), $param ), array( 'status' => 400 ) ); } } includes/Core/Permissions/Permissions.php 0000604 00000061405 14717744000 0014607 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Permissions\Permissions * * @package Google\Site_Kit\Core\Permissions * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Permissions; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Dismissals\Dismissed_Items; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Storage\User_Options; use WP_REST_Response; use WP_REST_Server; use WP_User; /** * Class managing plugin permissions. * * @since 1.0.0 * @access private * @ignore */ final class Permissions { /* * Custom base capabilities. */ const AUTHENTICATE = 'googlesitekit_authenticate'; const SETUP = 'googlesitekit_setup'; const VIEW_POSTS_INSIGHTS = 'googlesitekit_view_posts_insights'; const VIEW_DASHBOARD = 'googlesitekit_view_dashboard'; const VIEW_WP_DASHBOARD_WIDGET = 'googlesitekit_view_wp_dashboard_widget'; const VIEW_ADMIN_BAR_MENU = 'googlesitekit_view_admin_bar_menu'; const MANAGE_OPTIONS = 'googlesitekit_manage_options'; const UPDATE_PLUGINS = 'googlesitekit_update_plugins'; /* * Custom meta capabilities. */ const VIEW_SPLASH = 'googlesitekit_view_splash'; const VIEW_SHARED_DASHBOARD = 'googlesitekit_view_shared_dashboard'; const VIEW_AUTHENTICATED_DASHBOARD = 'googlesitekit_view_authenticated_dashboard'; const VIEW_POST_INSIGHTS = 'googlesitekit_view_post_insights'; const READ_SHARED_MODULE_DATA = 'googlesitekit_read_shared_module_data'; const MANAGE_MODULE_SHARING_OPTIONS = 'googlesitekit_manage_module_sharing_options'; const DELEGATE_MODULE_SHARING_MANAGEMENT = 'googlesitekit_delegate_module_sharing_management'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Authentication instance. * * @since 1.0.0 * @var Authentication */ protected $authentication; /** * Modules instance. * * @since 1.69.0 * @var Modules */ private $modules; /** * User_Options instance. * * @since 1.69.0 * @var User_Options */ private $user_options; /** * Dismissed_Items instance. * * @since 1.69.0 * @var Dismissed_Items */ private $dismissed_items; /** * Mappings for custom base capabilities to WordPress core built-in ones. * * @since 1.30.0 * @var array */ private $base_to_core = array(); /** * Mappings for custom meta capabilities to WordPress core built-in ones. * * @since 1.0.0 * @var array */ private $meta_to_core = array(); /** * Mappings for custom meta capabilities to custom base capabilities. * * @since 1.30.0 * @var array */ private $meta_to_base = array(); /** * List of custom base capabilities that should require network access if the plugin is in network mode. * * @since 1.30.0 * @var array */ private $network_base = array(); /** * Constructor. * * Sets up the capability mappings. * * @since 1.0.0 * * @param Context $context Plugin context. * @param Authentication $authentication Authentication instance. * @param Modules $modules Modules instance. * @param User_Options $user_options User_Options instance. * @param Dismissed_Items $dismissed_items Dismissed_Items instance. */ public function __construct( Context $context, Authentication $authentication, Modules $modules, User_Options $user_options, Dismissed_Items $dismissed_items ) { $this->context = $context; $this->authentication = $authentication; $this->modules = $modules; $this->user_options = $user_options; $this->dismissed_items = $dismissed_items; $this->base_to_core = array( // By default, only allow administrators to authenticate. self::AUTHENTICATE => 'manage_options', // Allow contributors and up to view their own post's insights. self::VIEW_POSTS_INSIGHTS => 'edit_posts', // Allow editors and up to view the dashboard and module details. self::VIEW_DASHBOARD => 'edit_posts', self::VIEW_WP_DASHBOARD_WIDGET => 'edit_posts', self::VIEW_ADMIN_BAR_MENU => 'edit_posts', // Allow administrators and up to manage options and set up the plugin. self::MANAGE_OPTIONS => 'manage_options', self::SETUP => 'manage_options', self::UPDATE_PLUGINS => 'update_plugins', ); $this->meta_to_core = array( // Allow users that can edit a post to view that post's insights. self::VIEW_POST_INSIGHTS => 'edit_post', ); $this->meta_to_base = array( self::VIEW_SPLASH => self::VIEW_DASHBOARD, self::VIEW_AUTHENTICATED_DASHBOARD => array( self::VIEW_DASHBOARD, self::AUTHENTICATE ), // Allow users that can generally view posts insights to view a specific post's insights. self::VIEW_POST_INSIGHTS => self::VIEW_POSTS_INSIGHTS, // Allow users that can generally view dashboard to read shared module data. self::READ_SHARED_MODULE_DATA => self::VIEW_DASHBOARD, // Admins who can manage options for SK can generally manage module sharing options. self::MANAGE_MODULE_SHARING_OPTIONS => self::MANAGE_OPTIONS, self::DELEGATE_MODULE_SHARING_MANAGEMENT => self::MANAGE_OPTIONS, self::VIEW_SHARED_DASHBOARD => self::VIEW_DASHBOARD, ); $this->network_base = array( // Require network admin access to view the dashboard and module details in network mode. self::VIEW_DASHBOARD => 'manage_network', self::VIEW_WP_DASHBOARD_WIDGET => 'manage_network', self::VIEW_ADMIN_BAR_MENU => 'manage_network', // Require network admin access to manage options and set up the plugin in network mode. self::MANAGE_OPTIONS => 'manage_network_options', self::SETUP => 'manage_network_options', ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { add_filter( 'map_meta_cap', function ( array $caps, $cap, $user_id, $args ) { return $this->map_meta_capabilities( $caps, $cap, $user_id, $args ); }, 10, 4 ); add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/permissions', ) ); } ); // This constant can be set if an alternative mechanism to grant these capabilities is in place. if ( defined( 'GOOGLESITEKIT_DISABLE_DYNAMIC_CAPABILITIES' ) && GOOGLESITEKIT_DISABLE_DYNAMIC_CAPABILITIES ) { return; } add_filter( 'user_has_cap', function ( array $allcaps ) { return $this->grant_additional_caps( $allcaps ); } ); } /** * Get dashboard sharing meta permissions for current user. * * @since 1.70.0 * * @return array List meta capabilities as keys and current user permission as value. */ public function get_dashboard_sharing_meta_permissions() { $dashboard_sharing_meta_capabilities = self::get_dashboard_sharing_meta_capabilities(); $shareable_modules = array_keys( $this->modules->get_shareable_modules() ); $dashboard_sharing_meta_permissions = array(); foreach ( $dashboard_sharing_meta_capabilities as $cap ) { foreach ( $shareable_modules as $module ) { $dashboard_sharing_meta_permissions[ "{$cap}::" . wp_json_encode( array( $module ) ) ] = current_user_can( $cap, $module ); } } return $dashboard_sharing_meta_permissions; } /** * Check permissions for current user. * * @since 1.21.0 * * @return array List of base capabilities and meta capabilities as keys and current user permission as value. */ public function check_all_for_current_user() { $permissions = self::get_capabilities(); return array_merge( array_combine( $permissions, array_map( 'current_user_can', $permissions ) ), self::get_dashboard_sharing_meta_permissions() ); } /** * Resolves meta capabilities to their base capabilities. * * This method first maps plugin meta capabilities to their base capabilities. In addition, if the meta * capability should also map to a core meta capability, that mapping is taken care of as well. * * If in network mode and the custom base capability requires network access, it is checked that the user * has that access, and if not, the method bails early causing in a result of false. * * It also prevents access to Site Kit's custom capabilities based on additional rules. These additional * checks ideally could be done within the `user_has_cap` filter. However, the `user_has_cap` filter is * applied after a check for multi-site admins which could potentially grant the capability without * executing these additional checks. * * @see WP_User::has_cap() To see the order of execution mentioned above. * * @since 1.0.0 * * @param array $caps List of resolved capabilities. * @param string $cap Capability checked. * @param int $user_id Current user ID. * @param array $args Additional arguments passed to the capability check. * @return array Filtered value of $caps. */ private function map_meta_capabilities( array $caps, $cap, $user_id, $args ) { // Bail early under these circumstances as we already know for sure the check will result in false. if ( isset( $this->network_base[ $cap ] ) && $this->context->is_network_mode() && ! is_super_admin( $user_id ) ) { return array( 'do_not_allow' ); } if ( isset( $this->meta_to_base[ $cap ] ) ) { $caps = (array) $this->meta_to_base[ $cap ]; } if ( isset( $this->meta_to_core[ $cap ] ) ) { $required_core_caps = call_user_func_array( 'map_meta_cap', array_merge( array( $this->meta_to_core[ $cap ], $user_id ), $args ) ); $caps = array_merge( $caps, $required_core_caps ); } // Special setup and authentication rules. if ( ( isset( $this->base_to_core[ $cap ] ) || isset( $this->meta_to_core[ $cap ] ) ) ) { // If setup has not yet been completed, require administrator capabilities for everything. if ( self::SETUP !== $cap && ! $this->authentication->is_setup_completed() ) { $caps[] = self::SETUP; } if ( ! in_array( $cap, array( self::AUTHENTICATE, self::SETUP, self::VIEW_DASHBOARD, self::VIEW_POSTS_INSIGHTS, self::VIEW_WP_DASHBOARD_WIDGET, self::VIEW_ADMIN_BAR_MENU ), true ) ) { // For regular users, require being authenticated. if ( ! $this->is_user_authenticated( $user_id ) ) { return array_merge( $caps, array( 'do_not_allow' ) ); } // For admin users, also require being verified. if ( user_can( $user_id, self::SETUP ) && ! $this->is_user_verified( $user_id ) ) { return array_merge( $caps, array( 'do_not_allow' ) ); } // For all users, require setup to have been completed. if ( ! $this->authentication->is_setup_completed() ) { return array_merge( $caps, array( 'do_not_allow' ) ); } } } if ( in_array( $cap, self::get_dashboard_sharing_capabilities(), true ) ) { $caps = array_merge( $caps, $this->check_dashboard_sharing_capability( $cap, $user_id, $args ) ); } switch ( $cap ) { case self::VIEW_SPLASH: $caps = array_merge( $caps, $this->check_view_splash_capability( $user_id ) ); break; // Intentional fallthrough - viewing the dashboard widget and admin bar menu require // a user to be authenticated. case self::VIEW_AUTHENTICATED_DASHBOARD: $caps = array_merge( $caps, $this->check_view_authenticated_dashboard_capability( $user_id ) ); break; // Intentional fallthrough. case self::VIEW_DASHBOARD: case self::VIEW_POSTS_INSIGHTS: $caps = array_merge( $caps, $this->check_view_dashboard_capability( $user_id ) ); break; case self::VIEW_WP_DASHBOARD_WIDGET: case self::VIEW_ADMIN_BAR_MENU: $caps = array_merge( $caps, $this->check_view_wp_dashboard_widget_and_admin_bar_capability( $user_id ) ); break; } return $caps; } /** * Checks a dashboard sharing capability based on rules of dashboard sharing. * * @since 1.69.0 * * @param string $cap Capability to be checked. * @param int $user_id User ID of the user the capability is checked for. * @param array $args Additional arguments passed to check a meta capability. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_dashboard_sharing_capability( $cap, $user_id, $args ) { if ( isset( $args[0] ) ) { $module_slug = $args[0]; } switch ( $cap ) { case self::VIEW_SHARED_DASHBOARD: return $this->check_view_shared_dashboard_capability( $user_id ); case self::READ_SHARED_MODULE_DATA: return $this->check_read_shared_module_data_capability( $user_id, $module_slug ); case self::MANAGE_MODULE_SHARING_OPTIONS: case self::DELEGATE_MODULE_SHARING_MANAGEMENT: return $this->check_module_sharing_admin_capability( $cap, $user_id, $module_slug ); default: return array(); } } /** * Checks if the VIEW_SPLASH capability is allowed for the user. * * @since 1.73.0 * * @param int $user_id User ID of the user the capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_view_splash_capability( $user_id ) { if ( $this->is_shared_dashboard_splash_dismissed( $user_id ) ) { return array( self::AUTHENTICATE ); } if ( ! $this->user_has_shared_role( $user_id ) ) { return array( self::AUTHENTICATE ); } return array(); } /** * Checks if the VIEW_DASHBOARD capability is allowed for the user. * * Allows access to the VIEW_DASHBOARD capability if the user can view either * the authenticated or shared dashboard. * * @since 1.73.0 * * @param int $user_id User ID of the user the capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_view_dashboard_capability( $user_id ) { $view_authenticated_dashboard = $this->check_view_authenticated_dashboard_capability( $user_id ); if ( in_array( 'do_not_allow', $view_authenticated_dashboard, true ) ) { return $this->check_view_shared_dashboard_capability( $user_id ); } return $view_authenticated_dashboard; } /** * Checks if the VIEW_WP_DASHBOARD_WIDGET and VIEW_ADMIN_BAR_MENU capabilities are allowed for the user. * * Allows access to the VIEW_WP_DASHBOARD_WIDGET and VIEW_ADMIN_BAR_MENU capabilities if the user can view * either the authenticated or shared dashboard and if the user has a shared role for either the Analytics * or Search Console module. * * @since 1.120.0 * * @param int $user_id User ID of the user the capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_view_wp_dashboard_widget_and_admin_bar_capability( $user_id ) { $view_dashboard_capability = $this->check_view_dashboard_capability( $user_id ); if ( in_array( self::AUTHENTICATE, $view_dashboard_capability, true ) || in_array( 'do_not_allow', $view_dashboard_capability, true ) ) { return $view_dashboard_capability; } if ( ! $this->user_has_shared_role_for_module( $user_id, 'analytics-4' ) && ! $this->user_has_shared_role_for_module( $user_id, 'search-console' ) ) { return array( 'do_not_allow' ); } return array(); } /** * Checks if the VIEW_SHARED_DASHBOARD capability should be denied. * * Prevents access to the VIEW_SHARED_DASHBOARD capability if a user does not * have any of the shared roles set for any shareable module or if they have * not dismissed the dashboard sharing splash screen message. * * @since 1.69.0 * * @param int $user_id User ID of the user the capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_view_shared_dashboard_capability( $user_id ) { if ( ! $this->user_has_shared_role( $user_id ) ) { return array( 'do_not_allow' ); } if ( ! $this->is_shared_dashboard_splash_dismissed( $user_id ) ) { return array( 'do_not_allow' ); } return array(); } /** * Checks if the VIEW_AUTHENTICATED_DASHBOARD capability is allowed for the user. * * Allows access to the VIEW_AUTHENTICATED_DASHBOARD capability if the user is authenticated. * * @since 1.73.0 * * @param int $user_id User ID of the user the capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, otherise returns AUTHENTICATE capability. */ private function check_view_authenticated_dashboard_capability( $user_id ) { if ( $this->is_user_authenticated( $user_id ) && $this->is_user_verified( $user_id ) && $this->authentication->is_setup_completed() ) { return array( self::AUTHENTICATE ); } return array( 'do_not_allow' ); } /** * Checks if the READ_SHARED_MODULE_DATA capability should be denied. * * Prevents access to the READ_SHARED_MODULE_DATA capability if a user does not * have the shared roles set for the given module slug. * * @since 1.69.0 * * @param int $user_id User ID of the user the capability is checked for. * @param string $module_slug Module for which the meta capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_read_shared_module_data_capability( $user_id, $module_slug ) { if ( ! $this->user_has_shared_role_for_module( $user_id, $module_slug ) ) { return array( 'do_not_allow' ); } return array(); } /** * Checks if the MANAGE_MODULE_SHARING_OPTIONS or the DELEGATE_MODULE_SHARING_MANAGEMENT * capability should be denied. * * Prevents access to MANAGE_MODULE_SHARING_OPTIONS or the DELEGATE_MODULE_SHARING_MANAGEMENT * capability if a user is not an authenticated admin. * * Furthermore, it prevents access for these capabilities if the user is not the owner * of the given module slug. This check is skipped for MANAGE_MODULE_SHARING_OPTIONS if the * module settings allow all admins to manage sharing options for that module. * * @since 1.69.0 * * @param string $cap Capability to be checked. * @param int $user_id User ID of the user the capability is checked for. * @param string $module_slug Module for which the meta capability is checked for. * @return array Array with a 'do_not_allow' element if checks fail, empty array if checks pass. */ private function check_module_sharing_admin_capability( $cap, $user_id, $module_slug ) { $module_sharing_settings = $this->modules->get_module_sharing_settings(); $sharing_settings = $module_sharing_settings->get(); if ( ! $this->is_user_authenticated( $user_id ) ) { return array( 'do_not_allow' ); } if ( self::MANAGE_MODULE_SHARING_OPTIONS === $cap && isset( $sharing_settings[ $module_slug ]['management'] ) && 'all_admins' === $sharing_settings[ $module_slug ]['management'] ) { return array(); } try { $module = $this->modules->get_module( $module_slug ); if ( ! ( $module instanceof Module_With_Owner ) ) { return array( 'do_not_allow' ); } if ( $module->get_owner_id() !== $user_id ) { return array( 'do_not_allow' ); } } catch ( Exception $e ) { return array( 'do_not_allow' ); } return array(); } /** * Checks if the given user has a role in the list of shared roles. * * @since 1.73.0 * * @param int $user_id User ID. * @param string[]|null $shared_roles Optional. List of shared role IDs to check against the user's. Defaults to all shared module roles. * @return bool */ private function user_has_shared_role( $user_id, array $shared_roles = null ) { if ( ! is_array( $shared_roles ) ) { $shared_roles = $this->modules->get_module_sharing_settings()->get_all_shared_roles(); } $shared_user_roles = array_intersect( $shared_roles, ( new WP_User( $user_id ) )->roles ); return ! empty( $shared_user_roles ); } /** * Checks if the given user has a role in the list of shared roles for the given module. * * @since 1.73.0 * * @param int $user_id User ID. * @param string $module Module slug. * @return bool */ private function user_has_shared_role_for_module( $user_id, $module ) { $settings = $this->modules->get_module_sharing_settings()->get(); if ( empty( $settings[ $module ]['sharedRoles'] ) ) { return false; } return $this->user_has_shared_role( $user_id, $settings[ $module ]['sharedRoles'] ); } /** * Checks if a user is authenticated in Site Kit. * * @since 1.69.0 * * @param int $user_id User ID of the user to be checked. * @return bool True if the user is authenticated, false if not. */ public function is_user_authenticated( $user_id ) { $restore_user = $this->user_options->switch_user( $user_id ); $is_user_authenticated = $this->authentication->is_authenticated(); $restore_user(); return $is_user_authenticated; } /** * Checks if a user is verified in Site Kit. * * @since 1.69.0 * * @param int $user_id User ID of the user to be checked. * @return bool True if the user is verified, false if not. */ public function is_user_verified( $user_id ) { $restore_user = $this->user_options->switch_user( $user_id ); $is_user_verified = $this->authentication->verification()->has(); $restore_user(); return $is_user_verified; } /** * Checks if a user has dimissed the shared dashboard splash screen message. * * @since 1.69.0 * * @param int $user_id User ID of the user to be checked. * @return bool True if the user has dismissed the splash message, false if not. */ private function is_shared_dashboard_splash_dismissed( $user_id ) { $restore_user = $this->user_options->switch_user( $user_id ); $is_splash_dismissed = $this->dismissed_items->is_dismissed( 'shared_dashboard_splash' ); $restore_user(); return $is_splash_dismissed; } /** * Grants custom capabilities on-the-fly, based on core capabilities. * * If you want to instead set up your own custom role or mechanism to grant these capabilities, you can set a * constant flag `GOOGLESITEKIT_DISABLE_DYNAMIC_CAPABILITIES` to ensure this function is not hooked in. * * @since 1.0.0 * * @param array $allcaps Associative array of $capability => $grant pairs. * @return array Filtered value of $allcaps. */ private function grant_additional_caps( array $allcaps ) { foreach ( $this->base_to_core as $custom_cap => $core_cap ) { if ( isset( $allcaps[ $core_cap ] ) ) { $allcaps[ $custom_cap ] = $allcaps[ $core_cap ]; } } return $allcaps; } /** * Gets related REST routes. * * @since 1.82.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { return array( new REST_Route( 'core/user/data/permissions', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->check_all_for_current_user() ); }, 'permission_callback' => function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }, ), ) ), ); } /** * Gets all the base capabilities used in Google Site Kit. * * @since 1.31.0 * * @return array */ public static function get_capabilities() { return array( self::AUTHENTICATE, self::SETUP, self::VIEW_POSTS_INSIGHTS, self::VIEW_DASHBOARD, self::MANAGE_OPTIONS, self::UPDATE_PLUGINS, self::VIEW_SPLASH, self::VIEW_AUTHENTICATED_DASHBOARD, self::VIEW_WP_DASHBOARD_WIDGET, self::VIEW_ADMIN_BAR_MENU, self::VIEW_SHARED_DASHBOARD, ); } /** * Gets all the capabilities specifically added for dashboard sharing. * * @since 1.69.0 * * @return array List of capabilities specific to dashboard sharing. */ public static function get_dashboard_sharing_capabilities() { return array( self::VIEW_SHARED_DASHBOARD, self::READ_SHARED_MODULE_DATA, self::MANAGE_MODULE_SHARING_OPTIONS, self::DELEGATE_MODULE_SHARING_MANAGEMENT, ); } /** * Gets all the meta capabilities specifically added for dashboard sharing. * * @since 1.70.0 * * @return array List of meta capabilities specific to dashboard sharing. */ public static function get_dashboard_sharing_meta_capabilities() { return array( self::READ_SHARED_MODULE_DATA, self::MANAGE_MODULE_SHARING_OPTIONS, self::DELEGATE_MODULE_SHARING_MANAGEMENT, ); } } includes/Core/Prompts/Dismissed_Prompts.php 0000604 00000006204 14717744000 0015071 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Prompts\Dismissed_Prompts * * @package Google\Site_Kit\Core\Prompts * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Prompts; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for representing a user's dismissed prompts. * * @since 1.121.0 * @access private * @ignore */ class Dismissed_Prompts extends User_Setting { /** * The user option name for this setting. * * @note This option is prefixed differently so that it will persist across disconnect/reset. */ const OPTION = 'googlesitekitpersistent_dismissed_prompts'; const DISMISS_PROMPT_PERMANENTLY = 0; /** * Adds one prompt to the list of dismissed prompts or updates the triggered count. * * @since 1.121.0 * * @param string $prompt Prompt to dismiss. * @param int $expires_in_seconds TTL for the prompt. */ public function add( $prompt, $expires_in_seconds = self::DISMISS_PROMPT_PERMANENTLY ) { $prompts = $this->get(); if ( array_key_exists( $prompt, $prompts ) ) { $prompts[ $prompt ]['expires'] = $expires_in_seconds ? time() + $expires_in_seconds : 0; $prompts[ $prompt ]['count'] = $prompts[ $prompt ]['count'] + 1; } else { $prompts[ $prompt ] = array( 'expires' => $expires_in_seconds ? time() + $expires_in_seconds : 0, 'count' => 1, ); } $this->set( $prompts ); } /** * Removes one or more prompts from the list of dismissed prompts. * * @since 1.121.0 * * @param string $prompt Item to remove. */ public function remove( $prompt ) { $prompts = $this->get(); // If the prompt is not in dismissed prompts, there's nothing to do. if ( ! array_key_exists( $prompt, $prompts ) ) { return; } unset( $prompts[ $prompt ] ); $this->set( $prompts ); } /** * Gets the value of the setting. * * @since 1.121.0 * * @return array Value set for the option, or default if not set. */ public function get() { $value = parent::get(); return is_array( $value ) ? $value : $this->get_default(); } /** * Gets the expected value type. * * @since 1.121.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.121.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.121.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $prompts ) { if ( ! is_array( $prompts ) ) { return $this->get_default(); } $sanitized_prompts = array(); foreach ( $prompts as $prompt => $data ) { if ( is_array( $data ) && isset( $data['expires'], $data['count'] ) && is_numeric( $data['expires'] ) && is_numeric( $data['count'] ) ) { $sanitized_prompts[ $prompt ] = array( 'expires' => $data['expires'], 'count' => $data['count'], ); } } return $sanitized_prompts; }; } } includes/Core/Prompts/Prompts.php 0000604 00000003200 14717744000 0013056 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Prompts\Prompts * * @package Google\Site_Kit\Core\Prompts * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Prompts; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling prompts. * * @since 1.121.0 * @access private * @ignore */ class Prompts { /** * Dismissed_Prompts instance. * * @since 1.121.0 * @var Dismissed_Prompts */ protected $dismissed_prompts; /** * REST_Prompts_Controller instance. * * @since 1.121.0 * @var REST_Prompts_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.121.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null ) { $this->dismissed_prompts = new Dismissed_Prompts( $user_options ?: new User_Options( $context ) ); $this->rest_controller = new REST_Prompts_Controller( $this->dismissed_prompts ); } /** * Gets the reference to the Dismissed_Prompts instance. * * @since 1.121.0 * * @return Dismissed_Prompts An instance of the Dismissed_Prompts class. */ public function get_dismissed_prompts() { return $this->dismissed_prompts; } /** * Registers functionality through WordPress hooks. * * @since 1.121.0 */ public function register() { $this->dismissed_prompts->register(); $this->rest_controller->register(); } } includes/Core/Prompts/REST_Prompts_Controller.php 0000604 00000006301 14717744000 0016123 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Prompts\REST_Prompts_Controller * * @package Google\Site_Kit\Core\Prompts * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Prompts; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling dismissed prompts rest routes. * * @since 1.121.0 * @access private * @ignore */ class REST_Prompts_Controller { /** * Dismissed_Prompts instance. * * @since 1.121.0 * @var Dismissed_Prompts */ protected $dismissed_prompts; /** * Constructor. * * @since 1.121.0 * * @param Dismissed_Prompts $dismissed_prompts Dismissed prompts instance. */ public function __construct( Dismissed_Prompts $dismissed_prompts ) { $this->dismissed_prompts = $dismissed_prompts; } /** * Registers functionality through WordPress hooks. * * @since 1.121.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/dismissed-prompts', ) ); } ); } /** * Gets REST route instances. * * @since 1.121.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_dismiss_prompt = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; return array( new REST_Route( 'core/user/data/dismissed-prompts', array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->dismissed_prompts->get() ); }, 'permission_callback' => $can_dismiss_prompt, ) ), new REST_Route( 'core/user/data/dismiss-prompt', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data['slug'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'slug' ), array( 'status' => 400 ) ); } $expiration = Dismissed_Prompts::DISMISS_PROMPT_PERMANENTLY; if ( isset( $data['expiration'] ) && intval( $data['expiration'] ) > 0 ) { $expiration = $data['expiration']; } $this->dismissed_prompts->add( $data['slug'], $expiration ); return new WP_REST_Response( $this->dismissed_prompts->get() ); }, 'permission_callback' => $can_dismiss_prompt, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ) ), ); } } includes/Core/REST_API/Exception/Invalid_Datapoint_Exception.php 0000604 00000001733 14717744000 0020572 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception * * @package Google\Site_Kit\Core\REST_API\Exception * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API\Exception; use Google\Site_Kit\Core\Contracts\WP_Errorable; use Exception; use WP_Error; /** * Exception thrown when a request to an invalid datapoint is made. * * @since 1.9.0 * @access private * @ignore */ class Invalid_Datapoint_Exception extends Exception implements WP_Errorable { const WP_ERROR_CODE = 'invalid_datapoint'; /** * Gets the WP_Error representation of this exception. * * @since 1.9.0 * * @return WP_Error */ public function to_wp_error() { return new WP_Error( static::WP_ERROR_CODE, __( 'Invalid datapoint.', 'google-site-kit' ), array( 'status' => 400, // Bad request. ) ); } } includes/Core/REST_API/Exception/Invalid_Param_Exception.php 0000604 00000002534 14717744000 0017707 0 ustar 00 <?php /** * Class Invalid_Param_Exception * * @package Google\Site_Kit\Core\REST_API\Exception * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API\Exception; use Exception; use Google\Site_Kit\Core\Contracts\WP_Errorable; use WP_Error; /** * Class for representing an invalid parameter. * * @since 1.124.0 * @access private * @ignore */ class Invalid_Param_Exception extends Exception implements WP_Errorable { /** * Status code. * * @var int */ protected $status; /** * Constructor. * * @since 1.124.0 * * @param string $parameter_name Invalid request parameter name. * @param int $code Optional. HTTP Status code of resulting error. Defaults to 400. */ public function __construct( $parameter_name, $code = 400 ) { $this->status = (int) $code; parent::__construct( /* translators: %s: Invalid parameter */ sprintf( __( 'Invalid parameter: %s.', 'google-site-kit' ), $parameter_name ) ); } /** * Gets the WP_Error representation of this exception. * * @since 1.124.0 * * @return WP_Error */ public function to_wp_error() { return new WP_Error( 'rest_invalid_param', $this->getMessage(), array( 'status' => $this->status ) ); } } includes/Core/REST_API/Exception/Missing_Required_Param_Exception.php 0000604 00000002605 14717744000 0021571 0 ustar 00 <?php /** * Class Missing_Required_Param_Exception * * @package Google\Site_Kit\Core\REST_API\Exception * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API\Exception; use Exception; use Google\Site_Kit\Core\Contracts\WP_Errorable; use WP_Error; /** * Class for representing a missing required parameter. * * @since 1.98.0 * @access private * @ignore */ class Missing_Required_Param_Exception extends Exception implements WP_Errorable { /** * Status code. * * @var int */ protected $status; /** * Constructor. * * @since 1.98.0 * * @param string $parameter_name Missing request parameter name. * @param int $code Optional. HTTP Status code of resulting error. Defaults to 400. */ public function __construct( $parameter_name, $code = 400 ) { $this->status = (int) $code; parent::__construct( /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), $parameter_name ) ); } /** * Gets the WP_Error representation of this exception. * * @since 1.98.0 * * @return WP_Error */ public function to_wp_error() { return new WP_Error( 'missing_required_param', $this->getMessage(), array( 'status' => $this->status ) ); } } includes/Core/REST_API/Data_Request.php 0000604 00000006345 14717744000 0013612 0 ustar 00 <?php /** * Data_Request * * @package Google\Site_Kit\Core\REST_API * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API; /** * Class Data_Request * * @since 1.0.0 * * @property-read string $method Request method. * @property-read string $type Request type. * @property-read string $identifier Request identifier. * @property-read string $datapoint Request datapoint. * @property-read array $data Request data parameters. * @property-read string $key Request key. */ class Data_Request implements \ArrayAccess { /** * Request method. * * @var string */ protected $method; /** * Request type. * * @var string */ protected $type; /** * Request identifier. * * @var string */ protected $identifier; /** * Request datapoint. * * @var string */ protected $datapoint; /** * Request data parameters. * * @var array */ protected $data; /** * Request key. * * @var string */ protected $key; /** * Data_Request constructor. * * @param string $method Request method. * @param string $type Request type. * @param string $identifier Request identifier. * @param string $datapoint Request datapoint. * @param array|self $data Request data parameters. * @param string $key Request cache key. */ public function __construct( $method = null, $type = null, $identifier = null, $datapoint = null, $data = array(), $key = null ) { $this->method = strtoupper( $method ); $this->type = $type; $this->identifier = $identifier; $this->datapoint = $datapoint; $this->data = $data instanceof self ? $data->data : (array) $data; $this->key = $key; } /** * Gets the accessed property by the given name. * * @param string $name Property name. * * @return mixed */ public function __get( $name ) { return isset( $this->$name ) ? $this->$name : null; } /** * Checks whether or not the given magic property is set. * * @param string $name Property name. * * @return bool */ public function __isset( $name ) { return isset( $this->$name ); } /** * Checks whether the given key exists. * * @param string|int $key Key to check. * * @return bool */ #[\ReturnTypeWillChange] public function offsetExists( $key ) { return array_key_exists( $key, $this->data ); } /** * Gets the value at the given key. * * @param string|int $key Key to return the value for. * * @return mixed */ #[\ReturnTypeWillChange] public function offsetGet( $key ) { if ( $this->offsetExists( $key ) ) { return $this->data[ $key ]; } return null; } /** * Sets the given key to the given value. * * @param string|int $key Key to set the value for. * @param mixed $value New value for the given key. */ #[\ReturnTypeWillChange] public function offsetSet( $key, $value ) { // Data is immutable. } /** * Unsets the given key. * * @param string|int $key Key to unset. */ #[\ReturnTypeWillChange] public function offsetUnset( $key ) { // phpcs:ignore Squiz.Commenting.FunctionComment // Data is immutable. } } includes/Core/REST_API/REST_Route.php 0000604 00000011510 14717744000 0013152 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\REST_API\REST_Route * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API; use WP_REST_Server; /** * Class representing a single REST API route. * * @since 1.0.0 * @access private * @ignore */ final class REST_Route { /** * Unique route URI. * * @since 1.0.0 * @var string */ private $uri; /** * Route arguments. * * @since 1.0.0 * @var array */ private $args = array(); /** * Constructor. * * @since 1.0.0 * * @param string $uri Unique route URI. * @param array $endpoints { * List of one or more endpoint arrays for a specific method, with the following data. * * @type string|array $methods One or more methods that the endpoint applies to. * @type callable $callback Callback handling a request to the endpoint. * @type callable $permission_callback Callback to check permissions for a request to the endpoint. * @type array $args Associative array of supported parameters and their requirements. * } * @param array $args { * Optional. Route options that typically include the following keys. * * @type array $args Associative array of globally supported parameters, e.g. those that are part of the URI. * Default none. * @type array $schema Public item schema for the route. Default none. */ public function __construct( $uri, array $endpoints, array $args = array() ) { $this->uri = trim( $uri, '/' ); $this->args = $args; if ( isset( $this->args['args'] ) ) { $this->args['args'] = $this->parse_param_args( $this->args['args'] ); } // In case there are string arguments, this is only a single endpoint and needs to be turned into a list. if ( ! wp_is_numeric_array( $endpoints ) ) { $endpoints = array( $endpoints ); } $endpoint_defaults = array( 'methods' => WP_REST_Server::READABLE, 'callback' => null, 'args' => array(), ); foreach ( $endpoints as $endpoint ) { $endpoint = wp_parse_args( $endpoint, $endpoint_defaults ); $endpoint['args'] = $this->parse_param_args( $endpoint['args'] ); if ( ! empty( $this->args['args'] ) ) { $endpoint['args'] = array_merge( $this->args['args'], $endpoint['args'] ); } $this->args[] = $endpoint; } } /** * Registers the REST route. * * @since 1.16.0 */ public function register() { register_rest_route( REST_Routes::REST_ROOT, $this->get_uri(), $this->get_args() ); } /** * Gets the route URI. * * @since 1.0.0 * * @return string Unique route URI. */ public function get_uri() { return $this->uri; } /** * Gets the route arguments, including endpoints and schema. * * @since 1.0.0 * * @return array Route arguments. */ public function get_args() { return $this->args; } /** * Parses all supported request arguments and their data. * * @since 1.0.0 * * @param array $args Associative array of $arg => $data pairs. * @return array Parsed arguments. */ protected function parse_param_args( array $args ) { return array_map( array( $this, 'parse_param_arg' ), $args ); } /** * Parses data for a supported request argument. * * @since 1.0.0 * * @param array $data { * Request argument data. * * @type string $type Data type of the argument. Default 'string'. * @type string $description Public description of the argument. Default empty string. * @†ype callable $validate_callback Callback to validate the argument. Default * {@see rest_validate_rest_arg()}. * @type callable $sanitize_callback Callback to sanitize the argument. Default * {@see rest_sanitize_rest_arg()}. * @type bool $required Whether the argument is required. Default false. * @type mixed $default Default value for the argument, if any. Default none. * @type array $enum Allowlist of possible values to validate against. Default none. * @type array $items Only if $type is 'array': Similar specification that applies to each item. * @type array $properties Only if $type is 'object'. Similar specification per property. * } * @return array Parsed data. */ protected function parse_param_arg( array $data ) { return wp_parse_args( $data, array( 'type' => 'string', 'description' => '', 'validate_callback' => 'rest_validate_request_arg', 'sanitize_callback' => 'rest_sanitize_request_arg', 'required' => false, 'default' => null, ) ); } } includes/Core/REST_API/REST_Routes.php 0000604 00000005302 14717744000 0013337 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\REST_API\REST_Routes * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API; use Google\Site_Kit\Context; /** * Class managing REST API routes. * * @since 1.0.0 * @access private * @ignore */ final class REST_Routes { const REST_ROOT = 'google-site-kit/v1'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { add_action( 'rest_api_init', function () { $this->register_routes(); } ); add_filter( 'do_parse_request', function ( $do_parse_request, $wp ) { add_filter( 'query_vars', function ( $vars ) use ( $wp ) { // Unsets standard public query vars to escape conflicts between WordPress core // and Google Site Kit APIs which happen when WordPress incorrectly parses request // arguments. $unset_vars = ( $wp->request && stripos( $wp->request, trailingslashit( rest_get_url_prefix() ) . self::REST_ROOT ) !== false ) // Check regular permalinks. || ( empty( $wp->request ) && stripos( $this->context->input()->filter( INPUT_GET, 'rest_route' ) || '', self::REST_ROOT ) !== false ); // Check plain permalinks. if ( $unset_vars ) { // List of variable names to remove from public query variables list. return array_values( array_diff( $vars, array( 'orderby', ) ) ); } return $vars; } ); return $do_parse_request; }, 10, 2 ); } /** * Registers all REST routes. * * @since 1.0.0 * @since 1.16.0 Reworked to use REST_Route::register method to register a route. */ private function register_routes() { $routes = $this->get_routes(); foreach ( $routes as $route ) { $route->register(); } } /** * Gets available REST routes. * * @since 1.0.0 * @since 1.3.0 Moved most routes into individual classes and introduced {@see 'googlesitekit_rest_routes'} filter. * * @return array List of REST_Route instances. */ private function get_routes() { $routes = array(); /** * Filters the list of available REST routes. * * @since 1.3.0 * * @param array $routes List of REST_Route objects. */ return apply_filters( 'googlesitekit_rest_routes', $routes ); } } includes/Core/Remote_Features/Remote_Features_Activation.php 0000604 00000003746 14717744000 0020330 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features_Activation * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class handling the application of remote feature activation. * * @since 1.133.0 * @access private * @ignore */ class Remote_Features_Activation { use Method_Proxy_Trait; /** * Remote_Features instance. * * @var Remote_Features */ private $remote_features; /** * Loaded features. * * @var array */ private $features; /** * Constructor. * * @param Remote_Features $remote_features Remote_Features instance. */ public function __construct( Remote_Features $remote_features ) { $this->remote_features = $remote_features; } /** * Registers functionality through WordPress hooks. * * @since 1.133.0 */ public function register() { add_filter( 'googlesitekit_is_feature_enabled', $this->get_method_proxy( 'enable_features' ), 10, 2 ); } /** * Gets the current set of remote features. * * @return array|mixed */ private function get_features() { if ( null === $this->features ) { $this->features = $this->remote_features->get(); } return $this->features; } /** * Filters feature flags using features stored in options. * * @since 1.133.0 * * @param boolean $feature_enabled Original value of the feature. * @param string $feature_name Feature name. * @return boolean State flag from options if it is available, otherwise the original value. */ private function enable_features( $feature_enabled, $feature_name ) { $features = $this->get_features(); if ( isset( $features[ $feature_name ]['enabled'] ) ) { return filter_var( $features[ $feature_name ]['enabled'], FILTER_VALIDATE_BOOLEAN ); } return $feature_enabled; } } includes/Core/Remote_Features/Remote_Features_Cron.php 0000604 00000002366 14717744000 0017125 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features_Cron * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; /** * Class providing cron implementation for remote features. * * @since 1.133.0 * @access private * @ignore */ class Remote_Features_Cron { const CRON_ACTION = 'googlesitekit_cron_update_remote_features'; /** * Cron callback reference. * * @var callable */ private $cron_callback; /** * Constructor. * * @since 1.133.0 * * @param callable $callback Function to call on the cron action. */ public function __construct( callable $callback ) { $this->cron_callback = $callback; } /** * Registers functionality through WordPress hooks. * * @since 1.133.0 */ public function register() { add_action( self::CRON_ACTION, $this->cron_callback ); } /** * Schedules cron if not already set. * * @since 1.133.0 */ public function maybe_schedule_cron() { if ( ! wp_next_scheduled( self::CRON_ACTION ) && ! wp_installing() ) { wp_schedule_event( time(), 'twicedaily', self::CRON_ACTION ); } } } includes/Core/Remote_Features/Remote_Features_Fallback.php 0000604 00000002660 14717744000 0017720 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features_Fallback * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; /** * Class providing the integration of remote features. * * @since 1.134.0 * @access private * @ignore */ class Remote_Features_Fallback { /** * Remote_Features_Syncer instance. * * @var Remote_Features_Syncer */ private Remote_Features_Syncer $syncer; /** * Remote_Features instance. * * @var Remote_Features */ private Remote_Features $setting; /** * Constructor. * * @since 1.134.0 * * @param Remote_Features $setting Remote_Features instance. * @param Remote_Features_Syncer $syncer Remote_Features_Syncer instance. */ public function __construct( Remote_Features $setting, Remote_Features_Syncer $syncer ) { $this->syncer = $syncer; $this->setting = $setting; } /** * Fallback for syncing the remote features. * * @since 1.134.0 */ public function remote_features_sync_fallback() { $remote_features = $this->setting->get(); $last_sync_at = $remote_features['last_updated_at'] ?? 0; $is_sync_overdue = ( time() - $last_sync_at ) > DAY_IN_SECONDS; if ( $is_sync_overdue || ! $last_sync_at ) { $this->syncer->pull_remote_features(); } } } includes/Core/Remote_Features/Remote_Features.php 0000604 00000003370 14717744000 0016140 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; use Closure; use Google\Site_Kit\Core\Storage\Setting; /** * Class handling the storage of remote features. * * @since 1.118.0 * @since 1.133.0 Changed to extend Setting * @access private * @ignore */ final class Remote_Features extends Setting { /** * Option key in options table to store remote features. */ const OPTION = 'googlesitekitpersistent_remote_features'; /** * Gets the expected value type. * * @return string */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @return array */ protected function get_default() { return array( 'last_updated_at' => 0, ); } /** * Includes the current timestamp to the setting and updates it. * * @since 1.134.0 * * @param array $features features array. */ public function update( $features ) { $features['last_updated_at'] = time(); return $this->set( $features ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @return Closure */ protected function get_sanitize_callback() { return function ( $value ) { if ( ! is_array( $value ) ) { return array(); } $new_value = array(); foreach ( $value as $feature => $meta ) { if ( 'last_updated_at' === $feature ) { $new_value[ $feature ] = is_int( $meta ) ? $meta : 0; } else { $new_value[ $feature ] = array( 'enabled' => ! empty( $meta['enabled'] ) ); } } return $new_value; }; } } includes/Core/Remote_Features/Remote_Features_Provider.php 0000604 00000006636 14717744000 0020022 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features_Provider * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Guards\Site_Connected_Guard; use Google\Site_Kit\Core\Authentication\Guards\Using_Proxy_Connection_Guard; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Storage\Options; /** * Class providing the integration of remote features. * * @since 1.133.0 * @access private * @ignore */ class Remote_Features_Provider { /** * Credentials instance. * * @var Credentials */ private Credentials $credentials; /** * Remote_Features instance. * * @var Remote_Features */ private Remote_Features $setting; /** * Remote_Features_Activation instance. * * @var Remote_Features_Activation */ private Remote_Features_Activation $activation; /** * Remote_Features_Syncer instance. * * @var Remote_Features_Syncer */ private Remote_Features_Syncer $syncer; /** * Remote_Features_Cron instance. * * @var Remote_Features_Cron */ private Remote_Features_Cron $cron; /** * Remote_Features_Fallback instance. * * @var Remote_Features_Fallback */ private Remote_Features_Fallback $fallback; /** * Constructor. * * @since 1.133.0 * * @param Context $context Context instance. * @param Options $options Options instance. */ public function __construct( Context $context, Options $options ) { $this->credentials = new Credentials( new Encrypted_Options( $options ) ); $this->setting = new Remote_Features( $options ); $this->activation = new Remote_Features_Activation( $this->setting ); $this->syncer = new Remote_Features_Syncer( $this->setting, fn() => ( new Google_Proxy( $context ) )->get_features( $this->credentials ), new Site_Connected_Guard( $this->credentials ), new Using_Proxy_Connection_Guard( $this->credentials ) ); $this->cron = new Remote_Features_Cron( array( $this->syncer, 'pull_remote_features' ) ); $this->fallback = new Remote_Features_Fallback( $this->setting, $this->syncer ); } /** * Registers functionality through WordPress hooks. * * @since 1.133.0 */ public function register() { $this->setting->register(); $this->activation->register(); $this->cron->register(); add_action( 'admin_init', fn () => $this->on_admin_init() ); add_action( 'heartbeat_tick', fn ( $response, $screen_id ) => $this->on_heartbeat_tick( $screen_id ), 10, 2 ); } /** * Handles the heartbeat AJAX callback. * * @param string $screen_id The screen ID. */ protected function on_heartbeat_tick( $screen_id ) { if ( 'toplevel_page_googlesitekit-dashboard' !== $screen_id ) { return; } $this->fallback->remote_features_sync_fallback(); } /** * Handles delayed registration on admin_init. */ protected function on_admin_init() { if ( ! $this->credentials->using_proxy() ) { return; } $this->cron->maybe_schedule_cron(); // Sync remote features when credentials change (e.g. during setup). $this->credentials->on_change( array( $this->syncer, 'pull_remote_features' ) ); } } includes/Core/Remote_Features/Remote_Features_Syncer.php 0000604 00000003325 14717744000 0017463 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Remote_Features\Remote_Features_Syncer * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Remote_Features; use Closure; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Class handling the synchronization of remote features with local storage. * * @since 1.133.0 * @access private * @ignore */ class Remote_Features_Syncer { /** * Remote_Features instance. * * @var Remote_Features */ private $remote_features; /** * Function which fetches features. * * @var Closure */ private $fetch_features; /** * Guard instances. * * @var Guard_Interface[] */ private array $guards; /** * Constructor. * * @since 1.133.0 * * @param Remote_Features $remote_features Remote_Features instance. * @param Closure $fetch_features Function which fetches features. * @param Guard_Interface ...$guards Guard instances. */ public function __construct( Remote_Features $remote_features, Closure $fetch_features, Guard_Interface ...$guards ) { $this->remote_features = $remote_features; $this->fetch_features = $fetch_features; $this->guards = $guards; } /** * Fetches the latest remote features and sets them in storage. * * @since 1.133.0 */ public function pull_remote_features() { foreach ( $this->guards as $guard ) { if ( ! $guard->can_activate() ) { return; } } $features = ( $this->fetch_features )(); if ( ! is_wp_error( $features ) && is_array( $features ) ) { $this->remote_features->update( $features ); } } } includes/Core/Site_Health/Debug_Data.php 0000604 00000041726 14717744000 0014135 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Site_Health\Debug_Data * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Site_Health; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Tracking; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Util\Feature_Flags; use Google\Site_Kit\Core\Util\Scopes; /** * Class for integrating debug information with Site Health. * * @since 1.5.0 * @access private * @ignore */ class Debug_Data { /** * Context instance. * * @since 1.5.0 * @var Context */ private $context; /** * Options instance. * * @since 1.5.0 * @var Options */ private $options; /** * User_Options instance. * * @since 1.5.0 * @var User_Options */ private $user_options; /** * Authentication instance. * * @since 1.5.0 * @var Authentication */ private $authentication; /** * Modules instance. * * @since 1.5.0 * @var Modules */ private $modules; /** * Permissions instance. * * @since 1.69.0 * @var Permissions */ private $permissions; /** * Constructor. * * @since 1.5.0 * * @param Context $context Context instance. * @param Options $options Options instance. * @param User_Options $user_options User_Options instance. * @param Authentication $authentication Authentication instance. * @param Modules $modules Modules instance. * @param Permissions $permissions Permissions instance. */ public function __construct( Context $context, Options $options, User_Options $user_options, Authentication $authentication, Modules $modules, Permissions $permissions ) { $this->context = $context; $this->options = $options; $this->user_options = $user_options; $this->authentication = $authentication; $this->modules = $modules; $this->permissions = $permissions; } /** * Registers debug information with Site Health. * * @since 1.5.0 */ public function register() { add_filter( 'debug_information', function ( $info ) { $info['google-site-kit'] = array( 'label' => __( 'Site Kit by Google', 'google-site-kit' ), 'fields' => $this->get_fields(), ); return $info; } ); } /** * Redacts the given string by overwriting a portion with a mask character. * * @since 1.5.0 * * @param string $input_string Input string to redact. * @param int $mask_start Starting position of redaction and length of preserved characters. * If positive, characters are redacted from the end, preserving the first X characters. * If negative, characters are redacted from the beginning preserving the last X characters. * @return string */ public static function redact_debug_value( $input_string, $mask_start = 4 ) { if ( ! is_scalar( $input_string ) ) { return ''; } $input_string = (string) $input_string; if ( $mask_start < 0 ) { $redacted = substr( $input_string, 0, $mask_start ); $unmasked = substr( $input_string, $mask_start ); return str_repeat( '•', strlen( $redacted ) ) . $unmasked; } else { $redacted = substr( $input_string, $mask_start ); $unmasked = substr( $input_string, 0, $mask_start ); return $unmasked . str_repeat( '•', strlen( $redacted ) ); } } /** * Gets all fields. * * @since 1.5.0 * * @return array */ protected function get_fields() { $fields = array( 'version' => array( 'label' => __( 'Version', 'google-site-kit' ), 'value' => GOOGLESITEKIT_VERSION, ), 'php_version' => array( 'label' => __( 'PHP Version', 'google-site-kit' ), 'value' => PHP_VERSION, ), 'wp_version' => array( 'label' => __( 'WordPress Version', 'google-site-kit' ), 'value' => get_bloginfo( 'version' ), ), 'reference_url' => array( 'label' => __( 'Reference Site URL', 'google-site-kit' ), 'value' => $this->context->get_reference_site_url(), ), 'amp_mode' => $this->get_amp_mode_field(), 'site_status' => $this->get_site_status_field(), 'user_status' => $this->get_user_status_field(), 'verification_status' => $this->get_verification_status_field(), 'connected_user_count' => $this->get_connected_user_count_field(), 'active_modules' => $this->get_active_modules_field(), 'recoverable_modules' => $this->get_recoverable_modules_field(), 'required_scopes' => $this->get_required_scopes_field(), 'capabilities' => $this->get_capabilities_field(), 'enabled_features' => $this->get_feature_fields(), ); $fields = array_merge( $fields, $this->get_active_conversion_event_provider_fields() ); $fields = array_merge( $fields, $this->get_consent_mode_fields() ); $fields = array_merge( $fields, $this->get_module_sharing_settings_fields() ); $fields = array_filter( array_merge( $fields, $this->get_module_fields() ) ); $none = __( 'None', 'google-site-kit' ); return array_map( function ( $field ) use ( $none ) { if ( empty( $field['value'] ) ) { $field['value'] = $none; $field['debug'] = 'none'; } return $field; }, $fields ); } /** * Gets the field definition for the amp_mode field. * * @since 1.5.0 * * @return array */ private function get_amp_mode_field() { $mode = $this->context->get_amp_mode(); $mode_map = array( 'primary' => __( 'Primary', 'google-site-kit' ), 'secondary' => __( 'Secondary', 'google-site-kit' ), ); return array( 'label' => __( 'AMP Mode', 'google-site-kit' ), 'value' => isset( $mode_map[ $mode ] ) ? $mode_map[ $mode ] : __( 'No', 'google-site-kit' ), 'debug' => isset( $mode_map[ $mode ] ) ? $mode : 'no', ); } /** * Gets the field definition for the site_status field. * * @since 1.5.0 * * @return array */ private function get_site_status_field() { $is_connected = $this->authentication->credentials()->has(); $using_proxy = $this->authentication->credentials()->using_proxy(); $status_map = array( 'connected-site' => __( 'Connected through site credentials', 'google-site-kit' ), 'connected-oauth' => __( 'Connected through OAuth client credentials', 'google-site-kit' ), 'not-connected' => __( 'Not connected', 'google-site-kit' ), ); if ( $is_connected && $using_proxy ) { $status = 'connected-site'; } elseif ( $is_connected && ! $using_proxy ) { $status = 'connected-oauth'; } else { $status = 'not-connected'; } return array( 'label' => __( 'Site Status', 'google-site-kit' ), 'value' => $status_map[ $status ], 'debug' => $status, ); } /** * Gets the field definition for the user_status field. * * @since 1.5.0 * * @return array */ private function get_user_status_field() { $is_connected = $this->authentication->is_authenticated(); return array( 'label' => __( 'User Status', 'google-site-kit' ), 'value' => $is_connected ? __( 'Authenticated', 'google-site-kit' ) : __( 'Not authenticated', 'google-site-kit' ), 'debug' => $is_connected ? 'authenticated' : 'not authenticated', ); } /** * Gets the field definition for the verification_status field. * * @since 1.37.0 * * @return array */ private function get_verification_status_field() { $label = __( 'Verification Status', 'google-site-kit' ); $is_verified = $this->authentication->verification()->get(); $is_verified_by_file_token = $this->authentication->verification_file()->get(); $is_verified_by_meta_tag = $this->authentication->verification_meta()->get(); if ( ! $is_verified ) { return array( 'label' => $label, 'value' => __( 'Not verified', 'google-site-kit' ), 'debug' => 'not-verified', ); } if ( $is_verified_by_file_token ) { return array( 'label' => $label, 'value' => __( 'Verified through file', 'google-site-kit' ), 'debug' => 'verified-file', ); } if ( $is_verified_by_meta_tag ) { return array( 'label' => $label, 'value' => __( 'Verified through meta tag', 'google-site-kit' ), 'debug' => 'verified-meta', ); } return array( 'label' => $label, 'value' => __( 'Verified outside of Site Kit', 'google-site-kit' ), 'debug' => 'verified-non-site-kit', ); } /** * Gets the number of users with a Site Kit token. * * @since 1.16.0 * * @return array */ private function get_connected_user_count_field() { $users = new \WP_User_Query( array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_key' => $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ), 'fields' => 'ID', 'compare' => 'EXISTS', ) ); return array( 'label' => __( 'Connected user count', 'google-site-kit' ), 'value' => $users->get_total(), ); } /** * Gets the field definition for the active_modules field. * * @since 1.5.0 * * @return array */ private function get_active_modules_field() { $active_modules = $this->modules->get_active_modules(); return array( 'label' => __( 'Active Modules', 'google-site-kit' ), 'value' => join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), wp_list_pluck( $active_modules, 'name' ) ), 'debug' => join( ', ', wp_list_pluck( $active_modules, 'slug' ) ), ); } /** * Gets the field definition for the recoverable_modules field. * * @since 1.78.0 * * @return array */ private function get_recoverable_modules_field() { $recoverable_modules = $this->modules->get_recoverable_modules(); return array( 'label' => __( 'Recoverable Modules', 'google-site-kit' ), 'value' => join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), wp_list_pluck( $recoverable_modules, 'name' ) ), 'debug' => join( ', ', wp_list_pluck( $recoverable_modules, 'slug' ) ), ); } /** * Gets the field definition for the module_sharing_settings field. * * @since 1.78.0 * * @return array */ private function get_module_sharing_settings_fields() { $sharing_settings = $this->modules->get_module_sharing_settings(); $fields = array(); foreach ( $this->modules->get_shareable_modules() as $module_slug => $module ) { $module_settings = $sharing_settings->get_module( $module_slug ); $fields[ "{$module_slug}_shared_roles" ] = array_merge( array( /* translators: %s: module name */ 'label' => sprintf( __( '%s Shared Roles', 'google-site-kit' ), $module->name ), ), $this->get_module_shared_role_names( $module_settings['sharedRoles'] ) ); $fields[ "{$module_slug}_management" ] = array_merge( array( /* translators: %s: module name */ 'label' => sprintf( __( '%s Management', 'google-site-kit' ), $module->name ), ), $this->get_module_management( $module_settings['management'] ) ); } return $fields; } /** * Gets the comma separated list of shared role names for module_sharing_settings. * * @since 1.78.0 * * @param array $role_slugs List of role slugs. * * @return array $role_names Comma separated list of role names for module_sharing_settings within value and debug keys. */ private function get_module_shared_role_names( $role_slugs ) { if ( ! $role_slugs ) { return array( 'value' => __( 'None', 'google-site-kit' ), 'debug' => 'none', ); } $wp_role_names = wp_roles()->get_names(); $shared_role_names = array_filter( $wp_role_names, function ( $key ) use ( $role_slugs ) { return in_array( $key, $role_slugs, true ); }, ARRAY_FILTER_USE_KEY ); return array( 'value' => join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $shared_role_names ), 'debug' => join( ', ', $role_slugs ), ); } /** * Gets the user friendly and debug values for module management used in module_sharing_settings. * * @since 1.78.0 * * @param string $management The module sharing settings management value. Can be either `owner` or `all_admins`. * * @return array User friendly and debug values for module management used in module_sharing_settings within value and debug keys. */ private function get_module_management( $management ) { switch ( $management ) { case 'all_admins': return array( 'value' => __( 'Any admin signed in with Google', 'google-site-kit' ), 'debug' => 'all_admins', ); default: return array( 'value' => __( 'Owner', 'google-site-kit' ), 'debug' => 'owner', ); } } /** * Gets the field definition for the required_scopes field. * * @since 1.5.0 * * @return array */ private function get_required_scopes_field() { $required_scopes = $this->authentication->get_oauth_client()->get_required_scopes(); $granted_scopes = $this->authentication->get_oauth_client()->get_granted_scopes(); $value = array(); foreach ( $required_scopes as $scope ) { $satisfied = Scopes::is_satisfied_by( $scope, $granted_scopes ); $value[ $scope ] = $satisfied ? '✅' : '⭕'; } return array( 'label' => __( 'Required scopes', 'google-site-kit' ), 'value' => $value, ); } /** * Gets capabilities for the current user. * * @since 1.21.0 * * @return array */ private function get_capabilities_field() { $value = array(); foreach ( $this->permissions->check_all_for_current_user() as $permission => $granted ) { $value[ $permission ] = $granted ? '✅' : '⭕'; } return array( 'label' => __( 'User Capabilities', 'google-site-kit' ), 'value' => $value, ); } /** * Gets field definitions for each active module that supports debug fields. * * @since 1.5.0 * * @return array A flat array of all module debug fields. */ private function get_module_fields() { $modules_with_debug_fields = array_filter( $this->modules->get_active_modules(), function ( Module $module ) { return $module instanceof Module_With_Debug_Fields; } ); $fields_by_module = array_map( function ( Module_With_Debug_Fields $module ) { return $module->get_debug_fields(); }, array_values( $modules_with_debug_fields ) ); return array_merge( array(), ...$fields_by_module ); } /** * Gets the available features. * * @since 1.26.0 * * @return array */ private function get_feature_fields() { $value = array(); $available_features = Feature_Flags::get_available_features(); foreach ( $available_features as $available_feature ) { $enabled_feature = Feature_Flags::enabled( $available_feature ); $value[ $available_feature ] = $enabled_feature ? '✅' : '⭕'; } return array( 'label' => __( 'Features', 'google-site-kit' ), 'value' => $value, ); } /** * Gets the consent mode fields. * * @since 1.125.0 * * @return array */ private function get_consent_mode_fields() { /** * Filters the status of consent mode in Site Kit. * * @since 1.125.0 * * @param string $status The consent mode status. Default: 'disabled'. */ $consent_mode_status = apply_filters( 'googlesitekit_consent_mode_status', 'disabled' ); $consent_api_active = function_exists( 'wp_set_consent' ); return array( 'consent_mode' => array( 'label' => __( 'Consent Mode', 'google-site-kit' ), 'value' => 'enabled' === $consent_mode_status ? __( 'Enabled', 'google-site-kit' ) : __( 'Disabled', 'google-site-kit' ), 'debug' => $consent_mode_status, ), 'consent_api' => array( 'label' => __( 'WP Consent API', 'google-site-kit' ), 'value' => $consent_api_active ? __( 'Detected', 'google-site-kit' ) : __( 'Not detected', 'google-site-kit' ), 'debug' => $consent_api_active ? 'detected' : 'not-detected', ), ); } /** * Gets the conversion event names registered by the currently supported * active plugins. * * @since 1.127.0 * * @return array */ private function get_active_conversion_event_provider_fields() { $value = array(); $conversion_tracking = new Conversion_Tracking( $this->context ); $active_providers = $conversion_tracking->get_active_providers(); foreach ( $active_providers as $active_provider_slug => $active_provider ) { $value[ $active_provider_slug ] = implode( ', ', $active_provider->get_event_names() ); } return array( 'active_conversion_event_providers' => array( 'label' => __( 'Active conversion event providers', 'google-site-kit' ), 'value' => $value, ), ); } } includes/Core/Site_Health/REST_Site_Health_Controller.php 0000604 00000003252 14717744000 0017377 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Site_Health\REST_Site_Health_Controller * * @package Google\Site_Kit\Core\Site_Health * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Site_Health; use Google\Site_Kit\Core\REST_API\REST_Route; use WP_REST_Server; /** * Class for handling dismissed items rest routes. * * @since 1.119.0 * @access private * @ignore */ class REST_Site_Health_Controller { /** * Tag_Placement instance. * * @since 1.119.0 * @var Tag_Placement */ protected $tag_placement; /** * Constructor. * * @since 1.119.0 * * @param Tag_Placement $tag_placement Tags Placement instance. */ public function __construct( Tag_Placement $tag_placement ) { $this->tag_placement = $tag_placement; } /** * Registers functionality through WordPress hooks. * * @since 1.119.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets REST route instances. * * @since 1.119.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { return array( new REST_Route( 'core/site/data/site-health-tag-placement-test', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this->tag_placement, 'tag_placement_test' ), 'permission_callback' => function () { return current_user_can( 'view_site_health_checks' ); }, ), ) ), ); } } includes/Core/Site_Health/Site_Health.php 0000604 00000004177 14717744000 0014346 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Site_Health\Site_Health * * @package Google\Site_Kit\Core\Util * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Site_Health; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Permissions\Permissions; /** * Class for integrating information with Site Health. * * @since 1.119.0 * @access private * @ignore */ class Site_Health { /** * Debug_Data instance. * * @since 1.119.0 * @var Debug_Data */ private $debug_data; /** * Tag_Placement instance. * * @since 1.119.0 * @var Tag_Placement */ private $tag_placement; /** * REST_Site_Health_Controller instance. * * @since 1.119.0 * @var REST_Site_Health_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.119.0 * * @param Context $context Context instance. * @param Options $options Options instance. * @param User_Options $user_options User_Options instance. * @param Authentication $authentication Authentication instance. * @param Modules $modules Modules instance. * @param Permissions $permissions Permissions instance. */ public function __construct( Context $context, Options $options, User_Options $user_options, Authentication $authentication, Modules $modules, Permissions $permissions ) { $this->debug_data = new Debug_Data( $context, $options, $user_options, $authentication, $modules, $permissions ); $this->tag_placement = new Tag_Placement( $modules ); $this->rest_controller = new REST_Site_Health_Controller( $this->tag_placement ); } /** * Registers functionality through WordPress hooks. * * @since 1.119.0 */ public function register() { $this->debug_data->register(); $this->tag_placement->register(); $this->rest_controller->register(); } } includes/Core/Site_Health/Tag_Placement.php 0000604 00000015313 14717744000 0014652 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Site_Health\Tag_Placement * * @package Google\Site_Kit\Core\Site_Health * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Site_Health; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Modules\Analytics_4; /** * Class for integrating status tab information with Site Health. * * @since 1.119.0 * @access private * @ignore */ class Tag_Placement { use Method_Proxy_Trait; /** * Modules instance. * * @since 1.119.0 * @var Modules */ private $modules; /** * Tag_Environment_Type_Guard instance. * * @since 1.119.0 * @var Tag_Environment_Type_Guard */ private $environment_tag_guard; /** * Constructor. * * @since 1.119.0 * * @param Modules $modules Modules instance. */ public function __construct( Modules $modules ) { $this->modules = $modules; $this->environment_tag_guard = new Tag_Environment_Type_Guard(); } /** * Registers functionality through WordPress hooks. * * @since 1.119.0 */ public function register() { add_filter( 'site_status_tests', function ( $tests ) { global $wp_version; if ( version_compare( $wp_version, '5.6', '<' ) ) { $tests['direct']['tag_placement'] = array( 'label' => __( 'Tag Placement', 'google-site-kit' ), 'test' => $this->get_method_proxy( 'tag_placement_test' ), ); return $tests; } $tests['async']['tag_placement'] = array( 'label' => __( 'Tag Placement', 'google-site-kit' ), 'test' => rest_url( '/' . REST_Routes::REST_ROOT . '/core/site/data/site-health-tag-placement-test' ), 'has_rest' => true, 'async_direct_test' => $this->get_method_proxy( 'tag_placement_test' ), ); return $tests; } ); } /** * Checks if the modules tags are placed on the website. * * @since 1.119.0 * * @return array Site health status results. */ public function tag_placement_test() { global $wp_version; $result = array( 'label' => __( 'Tag Placement', 'google-site-kit' ), 'status' => 'good', 'badge' => array( 'label' => __( 'Site Kit', 'google-site-kit' ), 'color' => 'blue', ), 'actions' => '', 'test' => 'tag_placement', ); if ( version_compare( $wp_version, '5.6', '<' ) ) { $result['description'] = sprintf( '<p>%s</p>', __( 'This feature requires WordPress version 5.6 or higher', 'google-site-kit' ) ); return $result; } if ( ! $this->environment_tag_guard->can_activate() ) { $result['description'] = sprintf( '<p>%s</p>', __( 'Tags are not output in the current environment.', 'google-site-kit' ) ); return $result; } $active_modules = $this->get_active_modules_with_tags(); if ( empty( $active_modules ) ) { $result['description'] = sprintf( '<p>%s</p>', __( 'Tag status not available: no modules that place tags are connected.', 'google-site-kit' ) ); return $result; } $descriptions = array(); foreach ( $active_modules as $module ) { $settings = $module->get_settings()->get(); $module_name = $module->name; // If module has `canUseSnippet` setting, check if it is disabled. if ( isset( $settings['canUseSnippet'] ) && empty( $settings['useSnippet'] ) ) { $descriptions[] = sprintf( '<li><strong>%s</strong>: %s</li>', $module_name, __( 'Tag placement disabled in settings.', 'google-site-kit' ) ); } else { $content_url = $module->get_content_url(); if ( is_string( $content_url ) ) { $content_url = array( $content_url ); } foreach ( $content_url as $label => $c_url ) { $url = add_query_arg( 'timestamp', time(), $c_url ); $response = wp_remote_get( $url ); // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get $module_label = is_numeric( $label ) ? $module_name : $module_name . ' (' . $label . ')'; if ( is_wp_error( $response ) ) { $descriptions[] = sprintf( '<li><strong>%s</strong>: %s</li>', $module_label, __( 'There was an error while trying to get the status, please try again later.', 'google-site-kit' ) ); continue; } $response = wp_remote_retrieve_body( $response ); $tag_found = $this->check_if_tag_exists( $module, $response, $module_label ); if ( $tag_found ) { $descriptions[] = $tag_found; } } } } if ( ! empty( $descriptions ) ) { $result['description'] = '<ul>' . join( "\n", $descriptions ) . '</ul>'; } return $result; } /** * Filters active modules to only those which are instances of Module_With_Tag. * * @since 1.119.0 * * @return array Filtered active modules instances. */ protected function get_active_modules_with_tags() { $active_modules = $this->modules->get_active_modules(); $active_modules = array_filter( $active_modules, function ( $module ) { return $module instanceof Module_With_Tag; } ); return $active_modules; } /** * Checks if tag exists. * * @since 1.119.0 * * @param Module_With_Tag $module Module instance. * @param string $content Content to search for the tags. * @param string $module_label Content URL page name appended to the module name to identify multiple tags for a module. * * @return bool TRUE if tag is found, FALSE if not. */ protected function check_if_tag_exists( $module, $content, $module_label = null ) { $check_tag = $module->has_placed_tag_in_content( $content ); $module_label = $module_label ? $module_label : $module->name; switch ( $check_tag ) { case Module_Tag_Matchers::TAG_EXISTS_WITH_COMMENTS: return sprintf( '<li><strong>%s</strong>: %s</li>', $module_label, __( 'Tag detected and placed by Site Kit.', 'google-site-kit' ) ); case Module_Tag_Matchers::TAG_EXISTS: return sprintf( '<li><strong>%s</strong>: %s</li>', $module_label, __( 'Tag detected but could not verify that Site Kit placed the tag.', 'google-site-kit' ) ); case Module_Tag_Matchers::NO_TAG_FOUND: return sprintf( '<li><strong>%s</strong>: %s</li>', $module_label, __( 'No tag detected.', 'google-site-kit' ) ); default: return sprintf( '<li><strong>%s</strong>: %s</li>', $module_label, __( 'No tag detected.', 'google-site-kit' ) ); } } } includes/Core/Storage/Setting/List_Setting.php 0000604 00000002715 14717744000 0015411 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Storage\Setting\List_Setting * * @package Google\Site_Kit\Core\Storage\Setting * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage\Setting; /** * A trait for a single setting of the array type. * * @since 1.98.0 * @access private * @ignore */ trait List_Setting { /** * Gets the expected value type. * * @since 1.98.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.98.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the value of the setting. * * @since 1.98.0 * * @return array Value set for the option, or default if not set. */ public function get() { $value = parent::get(); return is_array( $value ) ? $value : $this->get_default(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.98.0 * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return array( $this, 'sanitize_list_items' ); } /** * Filters array items. * * @since 1.98.0 * * @param array $items The original array items. * @return array Filtered items. */ abstract protected function sanitize_list_items( $items ); } includes/Core/Storage/Cache.php 0000604 00000006513 14717744000 0012367 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Cache * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit_Dependencies\Google\Service\Exception as Google_Service_Exception; /** * Class providing a server side caching framework. * * @since 1.0.0 * @access private * @ignore */ final class Cache { /** * The key for saving the global cache keys. * * @var string $global_cache_keys_key The key. */ private static $global_cache_keys_key = 'googlesitekit_global_cache_keys'; /** * The global record of cache keys used on the site. * * @var array */ private $global_cache_keys; /** * Construct the Cache class. */ public function __construct() { $this->global_cache_keys = get_option( self::$global_cache_keys_key ) ?: array(); } /** * Helper function to get the cache data. */ public function get_current_cache_data() { $cache_data = array(); // Add the global cache data. $keys = $this->get_global_cache_keys(); foreach ( $keys as $key ) { // This only retrieves fresh data because transients expire. $cache = get_transient( 'googlesitekit_' . $key ); if ( $cache ) { $cache_data[ $key ] = $cache; } else { // Remove the expired key from the global cache. $this->remove_global_cache_key( $key ); } } return $cache_data; } /** * Remove a cache key to the global record of cache keys. * * @param string $key The key to add. */ private function remove_global_cache_key( $key ) { $key_index = array_search( $key, $this->global_cache_keys, true ); if ( $key_index ) { unset( $this->global_cache_keys[ $key_index ] ); update_option( self::$global_cache_keys_key, $this->global_cache_keys, false ); } } /** * Add a cache key to the global record of cache keys. * * @param string $key The key to add. */ private function add_global_cache_key( $key ) { // Only add the key if it isn't already present. if ( ! in_array( $key, $this->global_cache_keys, true ) ) { $this->global_cache_keys[] = $key; update_option( self::$global_cache_keys_key, $this->global_cache_keys, false ); } } /** * Retrieve the global record of cache keys. * * @return array The array of cache keys used on the site. */ private function get_global_cache_keys() { return $this->global_cache_keys; } /** * Cache some data. * * @param Object $key The original data key. * @param Object $data The data to cache. */ public function set_cache_data( $key, $data ) { set_transient( 'googlesitekit_' . $key, $data, HOUR_IN_SECONDS ); $this->add_global_cache_key( $key ); } /** * Cache the results of a batch operation. * * @param array $batch_requests The original requests. * @param array $results The results to cache. */ public function cache_batch_results( $batch_requests, $results ) { $request_keys = wp_list_pluck( $batch_requests, 'key' ); foreach ( $results as $key => $result ) { if ( $result instanceof \Exception || $result instanceof Google_Service_Exception ) { continue; } $key = str_replace( 'response-', '', $key ); if ( in_array( $key, $request_keys, true ) ) { $this->set_cache_data( $key, $result ); } } } } includes/Core/Storage/Data_Encryption.php 0000604 00000006610 14717744000 0014445 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Data_Encryption * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Class responsible for encrypting and decrypting data. * * @since 1.0.0 * @access private * @ignore */ final class Data_Encryption { /** * Key to use for encryption. * * @since 1.0.0 * @var string */ private $key; /** * Salt to use for encryption. * * @since 1.0.0 * @var string */ private $salt; /** * Constructor. * * @since 1.0.0 */ public function __construct() { $this->key = $this->get_default_key(); $this->salt = $this->get_default_salt(); } /** * Encrypts a value. * * If a user-based key is set, that key is used. Otherwise the default key is used. * * @since 1.0.0 * * @param string $value Value to encrypt. * @return string|bool Encrypted value, or false on failure. */ public function encrypt( $value ) { if ( ! extension_loaded( 'openssl' ) ) { return $value; } $method = 'aes-256-ctr'; $ivlen = openssl_cipher_iv_length( $method ); $iv = openssl_random_pseudo_bytes( $ivlen ); $raw_value = openssl_encrypt( $value . $this->salt, $method, $this->key, 0, $iv ); if ( ! $raw_value ) { return false; } return base64_encode( $iv . $raw_value ); } /** * Decrypts a value. * * If a user-based key is set, that key is used. Otherwise the default key is used. * * @since 1.0.0 * * @param string $raw_value Value to decrypt. * @return string|bool Decrypted value, or false on failure. */ public function decrypt( $raw_value ) { if ( ! extension_loaded( 'openssl' ) || ! is_string( $raw_value ) ) { return $raw_value; } $decoded_value = base64_decode( $raw_value, true ); if ( false === $decoded_value ) { return $raw_value; } $method = 'aes-256-ctr'; $ivlen = openssl_cipher_iv_length( $method ); $iv = substr( $decoded_value, 0, $ivlen ); $decoded_value = substr( $decoded_value, $ivlen ); $value = openssl_decrypt( $decoded_value, $method, $this->key, 0, $iv ); if ( ! $value || substr( $value, - strlen( $this->salt ) ) !== $this->salt ) { return false; } return substr( $value, 0, - strlen( $this->salt ) ); } /** * Gets the default encryption key to use. * * @since 1.0.0 * * @return string Default (not user-based) encryption key. */ private function get_default_key() { if ( defined( 'GOOGLESITEKIT_ENCRYPTION_KEY' ) && '' !== GOOGLESITEKIT_ENCRYPTION_KEY ) { return GOOGLESITEKIT_ENCRYPTION_KEY; } if ( defined( 'LOGGED_IN_KEY' ) && '' !== LOGGED_IN_KEY ) { return LOGGED_IN_KEY; } // If this is reached, you're either not on a live site or have a serious security issue. return 'das-ist-kein-geheimer-schluessel'; } /** * Gets the default encryption salt to use. * * @since 1.0.0 * * @return string Encryption salt. */ private function get_default_salt() { if ( defined( 'GOOGLESITEKIT_ENCRYPTION_SALT' ) && '' !== GOOGLESITEKIT_ENCRYPTION_SALT ) { return GOOGLESITEKIT_ENCRYPTION_SALT; } if ( defined( 'LOGGED_IN_SALT' ) && '' !== LOGGED_IN_SALT ) { return LOGGED_IN_SALT; } // If this is reached, you're either not on a live site or have a serious security issue. return 'das-ist-kein-geheimes-salz'; } } includes/Core/Storage/Encrypted_Options.php 0000604 00000004577 14717744000 0015044 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Encrypted_Options * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Class providing access to encrypted options. * * @since 1.0.0 * @access private * @ignore */ final class Encrypted_Options implements Options_Interface { /** * Data Encryption API instance. * * @since 1.0.0 * @var Data_Encryption */ private $encryption; /** * Option API instance. * * @since 1.0.0 * @var Options */ private $options; /** * Constructor. * * @since 1.0.0 * * @param Options $options Option API instance. */ public function __construct( Options $options ) { $this->encryption = new Data_Encryption(); $this->options = $options; } /** * Checks whether or not a value is set for the given option. * * @since 1.3.0 * * @param string $option Option name. * @return bool True if value set, false otherwise. */ public function has( $option ) { return $this->options->has( $option ); } /** * Gets the value of the given option. * * @since 1.0.0 * * @param string $option Option name. * @return mixed Value set for the option, or false if not set. */ public function get( $option ) { $raw_value = $this->options->get( $option ); // If there is no value stored, return the default which will not be encrypted. if ( ! $this->options->has( $option ) ) { return $raw_value; } $data = $this->encryption->decrypt( $raw_value ); return maybe_unserialize( $data ); } /** * Sets the value for a option. * * @since 1.0.0 * * @param string $option Option name. * @param mixed $value Option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ) { if ( ! is_scalar( $value ) ) { $value = maybe_serialize( $value ); } $raw_value = $this->encryption->encrypt( $value ); if ( ! $raw_value ) { return false; } return $this->options->set( $option, $raw_value ); } /** * Deletes the given option. * * @since 1.0.0 * * @param string $option Option name. * @return bool True on success, false on failure. */ public function delete( $option ) { return $this->options->delete( $option ); } } includes/Core/Storage/Encrypted_User_Options.php 0000604 00000005521 14717744000 0016030 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Encrypted_User_Options * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Class providing access to encrypted per-user options. * * @since 1.0.0 * @access private * @ignore */ final class Encrypted_User_Options implements User_Options_Interface { /** * Data Encryption API instance. * * @since 1.0.0 * @var Data_Encryption */ private $encryption; /** * User Option API instance. * * @since 1.0.0 * @var User_Options */ private $user_options; /** * Constructor. * * @since 1.0.0 * * @param User_Options $user_options User Option API instance. */ public function __construct( User_Options $user_options ) { $this->encryption = new Data_Encryption(); $this->user_options = $user_options; } /** * Gets the value of the given user option. * * @since 1.0.0 * * @param string $option User option name. * @return mixed Value set for the user option, or false if not set. */ public function get( $option ) { $raw_value = $this->user_options->get( $option ); if ( ! $raw_value ) { return false; } $data = $this->encryption->decrypt( $raw_value ); return maybe_unserialize( $data ); } /** * Sets the value for a user option. * * @since 1.0.0 * * @param string $option User option name. * @param mixed $value User option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ) { if ( ! is_scalar( $value ) ) { $value = maybe_serialize( $value ); } $raw_value = $this->encryption->encrypt( $value ); if ( ! $raw_value ) { return false; } return $this->user_options->set( $option, $raw_value ); } /** * Deletes the given user option. * * @since 1.0.0 * * @param string $option User option name. * @return bool True on success, false on failure. */ public function delete( $option ) { return $this->user_options->delete( $option ); } /** * Gets the underlying meta key for the given option. * * @since 1.4.0 * * @param string $option Option name. * @return string Meta key name. */ public function get_meta_key( $option ) { return $this->user_options->get_meta_key( $option ); } /** * Gets the ID of the user that options are controlled for. * * @since 1.4.0 * * @return int User ID. */ public function get_user_id() { return $this->user_options->get_user_id(); } /** * Switches the user that options are controlled for to the one with the given ID. * * @since 1.4.0 * * @param int $user_id User ID. */ public function switch_user( $user_id ) { $this->user_options->switch_user( $user_id ); } } includes/Core/Storage/Options_Interface.php 0000604 00000002516 14717744000 0014776 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\Options_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for Options implementations. * * @since 1.2.0 * @access private * @ignore */ interface Options_Interface { /** * Checks whether or not a value is set for the given option. * * @since 1.3.0 * * @param string $option Option name. * @return bool True if value set, false otherwise. */ public function has( $option ); /** * Gets the value of the given option. * * @since 1.2.0 * * @param string $option Option name. * @return mixed Value set for the option, or false if not set. */ public function get( $option ); /** * Sets the value for a option. * * @since 1.2.0 * * @param string $option Option name. * @param mixed $value Option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ); /** * Deletes the given option. * * @since 1.2.0 * * @param string $option Option name. * @return bool True on success, false on failure. */ public function delete( $option ); } includes/Core/Storage/Options.php 0000604 00000005573 14717744000 0013024 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Options * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Context; /** * Class providing access to options. * * It uses regular options or network options, depending on in which mode the plugin is running. * * @since 1.0.0 * @access private * @ignore */ final class Options implements Options_Interface { /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Checks whether or not a value is set for the given option. * * @since 1.3.0 * * @param string $option Option name. * @return bool True if value set, false otherwise. */ public function has( $option ) { // Call for option to ensure 'notoptions' cache is fresh for the option. $value = $this->get( $option ); if ( $this->context->is_network_mode() ) { $network_id = get_current_network_id(); $notoptions = wp_cache_get( "$network_id:notoptions", 'site-options' ); } else { $notoptions = wp_cache_get( 'notoptions', 'options' ); } // Check for `notoptions` cache. If unavailable, query the database. // This is particularly happening when `WP_INSTALLING` is true, // which includes `wp-activate.php` in multisite setups and certain // other multisite-related functions. // See: https://github.com/google/site-kit-wp/issues/7653. if ( false === $notoptions ) { return (bool) $value; } return ! isset( $notoptions[ $option ] ); } /** * Gets the value of the given option. * * @since 1.0.0 * * @param string $option Option name. * @return mixed Value set for the option, or false if not set. */ public function get( $option ) { if ( $this->context->is_network_mode() ) { return get_network_option( null, $option ); } return get_option( $option ); } /** * Sets the value for a option. * * @since 1.0.0 * * @param string $option Option name. * @param mixed $value Option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ) { if ( $this->context->is_network_mode() ) { return update_network_option( null, $option, $value ); } return update_option( $option, $value ); } /** * Deletes the given option. * * @since 1.0.0 * * @param string $option Option name. * @return bool True on success, false on failure. */ public function delete( $option ) { if ( $this->context->is_network_mode() ) { return delete_network_option( null, $option ); } return delete_option( $option ); } } includes/Core/Storage/Post_Meta_Interface.php 0000604 00000003746 14717744000 0015244 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\Post_Meta_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for Post_Meta implementations. * * @since 1.33.0 * @access private * @ignore */ interface Post_Meta_Interface { /** * Gets post meta. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param bool $single Whether to return a single value. * @return mixed Post meta value. */ public function get( $post_id, $key, $single = false ); /** * Updates a post meta field based on the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. * @param mixed $prev_value Previous value to check before updating. If specified, only update existing metadata entries with this value. Otherwise, update all entries. * @return bool TRUE on success, otherwise FALSE. */ public function update( $post_id, $key, $value, $prev_value = '' ); /** * Adds a meta field to the given post. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. * @param bool $unique Whether the same key should not be added. * @return int|bool Meta id on success, otherwise FALSE. */ public function add( $post_id, $key, $value, $unique = false ); /** * Deletes a post meta field for the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. If provided, rows will only be removed that match the value. * @return bool TRUE on success, otherwise FALSE. */ public function delete( $post_id, $key, $value = '' ); } includes/Core/Storage/Post_Meta.php 0000604 00000004330 14717744000 0013252 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Post_Meta * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Post metadata storage class. * * @since 1.33.0 * @access private * @ignore */ final class Post_Meta implements Post_Meta_Interface { /** * Gets post meta. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param bool $single Whether to return a single value. * @return mixed Post meta value. */ public function get( $post_id, $key, $single = false ) { return get_post_meta( $post_id, $key, $single ); } /** * Updates a post meta field based on the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. * @param mixed $prev_value Previous value to check before updating. If specified, only update existing metadata entries with this value. Otherwise, update all entries. * @return bool TRUE on success, otherwise FALSE. */ public function update( $post_id, $key, $value, $prev_value = '' ) { return update_post_meta( $post_id, $key, $value, $prev_value ); } /** * Adds a meta field to the given post. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. * @param bool $unique Whether the same key should not be added. * @return int|bool Meta id on success, otherwise FALSE. */ public function add( $post_id, $key, $value, $unique = false ) { return add_post_meta( $post_id, $key, $value, $unique ); } /** * Deletes a post meta field for the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @param string $key Metadata key. * @param mixed $value Metadata value. If provided, rows will only be removed that match the value. * @return bool TRUE on success, otherwise FALSE. */ public function delete( $post_id, $key, $value = '' ) { return delete_post_meta( $post_id, $key, $value ); } } includes/Core/Storage/Post_Meta_Setting.php 0000604 00000007242 14717744000 0014754 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Post_Meta_Setting * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Base class for a single post meta setting. * * @since 1.33.0 * @access private * @ignore */ abstract class Post_Meta_Setting { /** * The post meta key for this setting. * Override in a sub-class. */ const META_KEY = ''; /** * Post_Meta_Interface implementation. * * @since 1.33.0 * @var Post_Meta_Interface */ protected $post_meta; /** * Post_Meta_Setting constructor. * * @since 1.33.0 * * @param Post_Meta_Interface $post_meta Post_Meta_Interface instance. */ public function __construct( Post_Meta_Interface $post_meta ) { $this->post_meta = $post_meta; } /** * Registers the post setting in WordPress. * * @since 1.33.0 */ public function register() { register_meta( 'post', static::META_KEY, array( 'type' => $this->get_type(), 'sanitize_callback' => $this->get_sanitize_callback(), 'single' => true, 'show_in_rest' => $this->get_show_in_rest(), ) ); } /** * Gets the expected value type. * * Returns 'string' by default for consistency with register_meta. * Override in a sub-class if different. * * Valid values are 'string', 'boolean', 'integer', 'number', 'array', and 'object'. * * @since 1.33.0 * * @return string The type name. */ protected function get_type() { return 'string'; } /** * Gets the default value. * * Returns an empty string by default. * Override in a sub-class if different. * * @since 1.33.0 * * @return mixed The default value. */ protected function get_default() { return ''; } /** * Gets the callback for sanitizing the setting's value before saving. * * For use internally with register_meta. * Returns `null` for consistency with the default in register_meta. * Override in a sub-class. * * @since 1.33.0 * * @return callable|null Sanitize callback function. */ protected function get_sanitize_callback() { return null; } /** * Gets the `show_in_rest` value for this postmeta setting value. * * @since 1.37.0 * * @return bool|Array Any valid value for the `show_in_rest` */ protected function get_show_in_rest() { return false; } /** * Checks whether a post meta exists or not. * * @since 1.33.0 * * @param int $post_id Post ID. * @return bool True if the meta key exists, otherwise false. */ public function has( $post_id ) { return metadata_exists( 'post', $post_id, static::META_KEY ); } /** * Gets the value of the setting. * * @since 1.33.0 * * @param int $post_id Post ID. * @return mixed Value set for the setting, or default if not set. */ public function get( $post_id ) { if ( ! $this->has( $post_id ) ) { return $this->get_default(); } return $this->post_meta->get( $post_id, static::META_KEY, true ); } /** * Updates the post setting for the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @param mixed $value Metadata value. * @return bool TRUE on success, otherwise FALSE. */ public function set( $post_id, $value ) { return $this->post_meta->update( $post_id, static::META_KEY, $value ); } /** * Deletes the post setting for the given post ID. * * @since 1.33.0 * * @param int $post_id Post ID. * @return bool TRUE on success, otherwise FALSE. */ public function delete( $post_id ) { return $this->post_meta->delete( $post_id, static::META_KEY ); } } includes/Core/Storage/Setting.php 0000604 00000010005 14717744000 0012770 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Base class for a single setting. * * @since 1.2.0 * @access private * @ignore */ abstract class Setting { /** * The option_name for this setting. * Override in a sub-class. */ const OPTION = ''; /** * Options instance implementing Options_Interface. * * @since 1.2.0 * @var Options_Interface */ protected $options; /** * Setting constructor. * * @since 1.2.0 * * @param Options_Interface $options Options_Interface instance. */ public function __construct( Options_Interface $options ) { $this->options = $options; } /** * Registers the setting in WordPress. * * @since 1.2.0 */ public function register() { register_setting( static::OPTION, static::OPTION, array( 'type' => $this->get_type(), 'sanitize_callback' => $this->get_sanitize_callback(), 'default' => $this->get_default(), ) ); } /** * Subscribes to updates for this setting. * * @since 1.118.0 * * @param callable $callback Function taking $old_value & $new_value parameters that gets called when option value updates. * @return \Closure Function to remove added listeners. */ public function on_change( callable $callback ) { $option = static::OPTION; $on_add_option = function ( $_, $value ) use ( $callback ) { $callback( $this->get_default(), $value ); }; add_action( "add_option_{$option}", $on_add_option, 10, 2 ); $on_update_option = function ( $old_value, $value ) use ( $callback ) { $callback( $old_value, $value ); }; add_action( "update_option_{$option}", $on_update_option, 10, 2 ); return function () use ( $option, $on_add_option, $on_update_option ) { remove_action( "add_option_{$option}", $on_add_option ); remove_action( "update_option_{$option}", $on_update_option ); }; } /** * Checks whether or not the option is set with a valid value. * * @since 1.2.0 * @since 1.3.0 Now relies on {@see Options_Interface::has()}. * * @return bool True on success, false on failure. */ public function has() { return $this->options->has( static::OPTION ); } /** * Gets the value of the setting. * * @since 1.2.0 * * @return mixed Value set for the option, or registered default if not set. */ public function get() { return $this->options->get( static::OPTION ); } /** * Sets the value of the setting with the given value. * * @since 1.2.0 * * @param mixed $value Setting value. Must be serializable if non-scalar. * * @return bool True on success, false on failure. */ public function set( $value ) { return $this->options->set( static::OPTION, $value ); } /** * Deletes the setting. * * @since 1.2.0 * * @return bool True on success, false on failure. */ public function delete() { return $this->options->delete( static::OPTION ); } /** * Gets the expected value type. * * Returns 'string' by default for consistency with register_setting. * Override in a sub-class if different. * * @since 1.2.0 * * @return string The type name. */ protected function get_type() { return 'string'; } /** * Gets the default value. * * For use with register_setting and fetching the default directly. * Returns false by default for consistency with get_option. * Override in a sub-class if different. * * @since 1.2.0 * * @return mixed The default value. */ protected function get_default() { return false; } /** * Gets the callback for sanitizing the setting's value before saving. * * For use internally with register_setting. * Returns `null` for consistency with the default in register_setting. * Override in a sub-class. * * @since 1.2.0 * * @return callable|null */ protected function get_sanitize_callback() { return null; } } includes/Core/Storage/Setting_With_Legacy_Keys_Trait.php 0000604 00000002044 14717744000 0017411 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Storage\Setting_With_Legacy_Keys_Trait * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Core\Util\Migrate_Legacy_Keys; /** * Trait for a Setting that has legacy option keys to migrate. * * @since 1.2.0 * @access private * @ignore */ trait Setting_With_Legacy_Keys_Trait { use Migrate_Legacy_Keys; /** * Registers an option filter for the setting to migrate legacy keys. * * @param array $legacy_key_map Mapping of legacy keys to current key. * * @since 1.2.0 */ protected function register_legacy_keys_migration( array $legacy_key_map ) { add_filter( 'option_' . static::OPTION, function ( $option ) use ( $legacy_key_map ) { if ( is_array( $option ) ) { return $this->migrate_legacy_keys( $option, $legacy_key_map ); } return $option; }, 0 ); } } includes/Core/Storage/Setting_With_Owned_Keys_Interface.php 0000604 00000001230 14717744000 0020072 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for a settings class that includes owned settings. * * @since 1.16.0 * @access private * @ignore */ interface Setting_With_Owned_Keys_Interface { /** * Returns keys for owned settings. * * @since 1.16.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys(); } includes/Core/Storage/Setting_With_Owned_Keys_Trait.php 0000604 00000005634 14717744000 0017271 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Setting; /** * Trait for a Setting that has owner ID option key. * * @since 1.16.0 * @access private * @ignore */ trait Setting_With_Owned_Keys_Trait { /** * Returns keys for owned settings. * * @since 1.16.0 * * @return array An array of keys for owned settings. */ abstract public function get_owned_keys(); /** * Registers hooks to determine an owner ID for a module. * * @since 1.16.0 */ protected function register_owned_keys() { add_action( 'add_option_' . static::OPTION, function ( $option, $settings ) { if ( ! current_user_can( Permissions::MANAGE_OPTIONS ) ) { return; } if ( ! is_array( $settings ) || ! $this instanceof Setting ) { return; } $defaults = $this->get_default(); if ( ! is_array( $defaults ) ) { return; } if ( $this->have_owned_settings_changed( $settings, $defaults ) ) { $this->merge_initial_owner_id(); } }, 10, 2 ); add_filter( 'pre_update_option_' . static::OPTION, function ( $settings, $old_settings ) { if ( current_user_can( Permissions::MANAGE_OPTIONS ) && is_array( $settings ) && is_array( $old_settings ) && $this->have_owned_settings_changed( $settings, $old_settings ) ) { return $this->update_owner_id_in_settings( $settings ); } return $settings; }, 10, 2 ); } /** * Merges the current user ID into the module settings as the initial owner ID. * * @since 1.99.0 */ protected function merge_initial_owner_id() { $this->merge( array( 'ownerID' => get_current_user_id() ) ); } /** * Adds the current user ID as the module owner ID to the current module settings. * * @since 1.99.0 * * @param array $settings The new module settings. * @return array Updated module settings with the current user ID as the ownerID setting. */ protected function update_owner_id_in_settings( $settings ) { $settings['ownerID'] = get_current_user_id(); return $settings; } /** * Determines whether the owned settings have changed. * * @since 1.99.0 * * @param array $settings The new settings. * @param array $old_settings The old settings. * @return bool TRUE if owned settings have changed, otherwise FALSE. */ protected function have_owned_settings_changed( $settings, $old_settings ) { $keys = $this->get_owned_keys(); foreach ( $keys as $key ) { if ( isset( $settings[ $key ], $old_settings[ $key ] ) && $settings[ $key ] !== $old_settings[ $key ] ) { return true; } } return false; } } includes/Core/Storage/Setting_With_ViewOnly_Keys_Interface.php 0000604 00000001260 14717744000 0020575 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\Setting_With_ViewOnly_Keys_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for a settings class that includes view-only settings. * * @since 1.111.0 * @access private * @ignore */ interface Setting_With_ViewOnly_Keys_Interface { /** * Returns keys for view-only settings. * * @since 1.111.0 * * @return array An array of keys for view-only settings. */ public function get_view_only_keys(); } includes/Core/Storage/Transients.php 0000604 00000004113 14717744000 0013510 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\Transients * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Context; /** * Class providing access to transients. * * It uses regular transients or network transients, depending on in which mode the plugin is running. * * @since 1.0.0 * @access private * @ignore */ final class Transients { /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Gets the value of the given transient. * * @since 1.0.0 * * @param string $transient Transient name. * @return mixed Value set for the transient, or false if not set. */ public function get( $transient ) { if ( $this->context->is_network_mode() ) { return get_site_transient( $transient ); } return get_transient( $transient ); } /** * Sets the value for a transient. * * @since 1.0.0 * * @param string $transient Transient name. * @param mixed $value Transient value. Must be serializable if non-scalar. * @param int $expiration Optional. Time until expiration in seconds. Default 0 (no expiration). * @return bool True on success, false on failure. */ public function set( $transient, $value, $expiration = 0 ) { if ( $this->context->is_network_mode() ) { return set_site_transient( $transient, $value, $expiration ); } return set_transient( $transient, $value, $expiration ); } /** * Deletes the given transient. * * @since 1.0.0 * * @param string $transient Transient name. * @return bool True on success, false on failure. */ public function delete( $transient ) { if ( $this->context->is_network_mode() ) { return delete_site_transient( $transient ); } return delete_transient( $transient ); } } includes/Core/Storage/User_Aware_Interface.php 0000604 00000001463 14717744000 0015400 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\User_Aware_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for Options implementations. * * @since 1.18.0 * @access private * @ignore */ interface User_Aware_Interface { /** * Gets the associated user ID. * * @since 1.18.0 * * @return int User ID. */ public function get_user_id(); /** * Switches the current user to the one with the given ID. * * @since 1.18.0 * * @param int $user_id User ID. * @return callable A closure to switch back to the original user. */ public function switch_user( $user_id ); } includes/Core/Storage/User_Aware_Trait.php 0000604 00000002660 14717744000 0014563 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Storage\User_Aware * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Trait for user aware entities. * * @since 1.18.0 * @access private * @ignore */ trait User_Aware_Trait { /** * User ID. * * @since 1.18.0 * @var int */ private $user_id; /** * Gets the associated user ID. * * @since 1.18.0 * * @return int User ID. */ public function get_user_id() { return (int) $this->user_id; } /** * Switches the current user to the one with the given ID. * * This method exists to exchange the user that is set as the current user in WordPress on the fly. In most cases * it is preferred to create a new instance of the class when dealing with multiple users. This method should only * be applied when the entire chain of class main instances need to be updated to rely on another user, i.e. when * the current WordPress user has changed. * * @since 1.18.0 * * @param int $user_id User ID. * @return callable A closure to switch back to the original user. */ public function switch_user( $user_id ) { $prev_user_id = $this->user_id; $this->user_id = (int) $user_id; return function () use ( $prev_user_id ) { $this->user_id = $prev_user_id; }; } } includes/Core/Storage/User_Options_Interface.php 0000604 00000002535 14717744000 0015775 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Storage\User_Options_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Interface for Options implementations. * * @since 1.4.0 * @access private * @ignore */ interface User_Options_Interface extends User_Aware_Interface { /** * Gets the value of the given option. * * @since 1.4.0 * * @param string $option Option name. * @return mixed Value set for the option, or false if not set. */ public function get( $option ); /** * Sets the value for a option. * * @since 1.4.0 * * @param string $option Option name. * @param mixed $value Option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ); /** * Deletes the given option. * * @since 1.4.0 * * @param string $option Option name. * @return bool True on success, false on failure. */ public function delete( $option ); /** * Gets the underlying meta key for the given option. * * @since 1.4.0 * * @param string $option Option name. * @return string Meta key name. */ public function get_meta_key( $option ); } includes/Core/Storage/User_Options.php 0000604 00000005664 14717744000 0014023 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\User_Options * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Context; /** * Class providing access to per-user options. * * It uses user options (which are per site) or user meta, depending on in which mode the plugin is running. * * @since 1.0.0 * @access private * @ignore */ final class User_Options implements User_Options_Interface { use User_Aware_Trait; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Constructor. * * @since 1.0.0 * * @param Context $context Plugin context. * @param int $user_id Optional. User ID for whom options should be managed. Default is the current user. */ public function __construct( Context $context, $user_id = 0 ) { $this->context = $context; if ( empty( $user_id ) ) { $user_id = get_current_user_id(); } $this->user_id = (int) $user_id; } /** * Gets the value of the given user option. * * @since 1.0.0 * * @param string $option User option name. * @return mixed Value set for the user option, or false if not set. */ public function get( $option ) { $user_id = $this->get_user_id(); if ( ! $user_id ) { return false; } if ( $this->context->is_network_mode() ) { $value = get_user_meta( $user_id, $option ); if ( empty( $value ) ) { return false; } return $value[0]; } return get_user_option( $option, $user_id ); } /** * Sets the value for a user option. * * @since 1.0.0 * * @param string $option User option name. * @param mixed $value User option value. Must be serializable if non-scalar. * @return bool True on success, false on failure. */ public function set( $option, $value ) { $user_id = $this->get_user_id(); if ( ! $user_id ) { return false; } if ( $this->context->is_network_mode() ) { return (bool) update_user_meta( $user_id, $option, $value ); } return (bool) update_user_option( $user_id, $option, $value ); } /** * Deletes the given user option. * * @since 1.0.0 * * @param string $option User option name. * @return bool True on success, false on failure. */ public function delete( $option ) { $user_id = $this->get_user_id(); if ( ! $user_id ) { return false; } if ( $this->context->is_network_mode() ) { return (bool) delete_user_meta( $user_id, $option ); } return (bool) delete_user_option( $user_id, $option ); } /** * Gets the underlying meta key for the given option. * * @since 1.4.0 * * @param string $option Option name. * @return string Meta key name. */ public function get_meta_key( $option ) { global $wpdb; if ( $this->context->is_network_mode() ) { return $option; } return $wpdb->get_blog_prefix() . $option; } } includes/Core/Storage/User_Setting.php 0000604 00000006437 14717744000 0014004 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\User_Setting * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Base class for a single user setting. * * @since 1.4.0 * @access private * @ignore */ abstract class User_Setting { /** * The user option name for this setting. * Override in a sub-class. */ const OPTION = ''; /** * User_Options_Interface implementation. * * @since 1.4.0 * @var User_Options_Interface */ protected $user_options; /** * User_Setting constructor. * * @since 1.4.0 * * @param User_Options_Interface $user_options User_Options_Interface instance. */ public function __construct( User_Options_Interface $user_options ) { $this->user_options = $user_options; } /** * Registers the setting in WordPress. * * @since 1.4.0 */ public function register() { register_meta( 'user', $this->user_options->get_meta_key( static::OPTION ), array( 'type' => $this->get_type(), 'sanitize_callback' => $this->get_sanitize_callback(), 'single' => true, ) ); } /** * Checks whether or not the setting exists. * * @since 1.4.0 * * @return bool True on success, false on failure. */ public function has() { return metadata_exists( 'user', $this->user_options->get_user_id(), $this->user_options->get_meta_key( static::OPTION ) ); } /** * Gets the value of the setting. * * @since 1.4.0 * * @return mixed Value set for the option, or default if not set. */ public function get() { if ( ! $this->has() ) { return $this->get_default(); } return $this->user_options->get( static::OPTION ); } /** * Sets the value of the setting with the given value. * * @since 1.4.0 * * @param mixed $value Setting value. Must be serializable if non-scalar. * * @return bool True on success, false on failure. */ public function set( $value ) { return $this->user_options->set( static::OPTION, $value ); } /** * Deletes the setting. * * @since 1.4.0 * * @return bool True on success, false on failure. */ public function delete() { return $this->user_options->delete( static::OPTION ); } /** * Gets the expected value type. * * Returns 'string' by default for consistency with register_meta. * Override in a sub-class if different. * * Valid values are 'string', 'boolean', 'integer', 'number', 'array', and 'object'. * * @since 1.4.0 * * @return string The type name. */ protected function get_type() { return 'string'; } /** * Gets the default value. * * Returns an empty string by default for consistency with get_user_meta. * Override in a sub-class if different. * * @since 1.4.0 * * @return mixed The default value. */ protected function get_default() { return ''; } /** * Gets the callback for sanitizing the setting's value before saving. * * For use internally with register_meta. * Returns `null` for consistency with the default in register_meta. * Override in a sub-class. * * @since 1.4.0 * * @return callable|null */ protected function get_sanitize_callback() { return null; } } includes/Core/Storage/User_Transients.php 0000604 00000016723 14717744000 0014520 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Storage\User_Transients * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; use Google\Site_Kit\Context; /** * Class providing access to per-user transients. * * @since 1.18.0 * @access private * @ignore */ class User_Transients implements User_Aware_Interface { /** * Plugin context. * * @since 1.18.0 * @var Context */ private $context; /** * User_Options object. * * @since 1.18.0 * @var User_Options */ private $user_options; /** * External cache group. * * @since 1.18.0 * @var string */ private $ext_cache_group; /** * Constructor. * * @since 1.18.0 * * @param Context $context Plugin context. * @param int $user_id Optional. User ID for whom transients should be managed. Default is the current user. */ public function __construct( Context $context, $user_id = 0 ) { $this->context = $context; $this->user_options = new User_Options( $context, $user_id ); $this->ext_cache_group = $context->is_network_mode() ? 'site-transient' : 'transient'; } /** * Gets the associated user ID. * * @since 1.18.0 * * @return int User ID. */ public function get_user_id() { return $this->user_options->get_user_id(); } /** * Switches the current user to the one with the given ID. * * This method exists to exchange the user that is set as the current user in WordPress on the fly. In most cases * it is preferred to create a new instance of the class when dealing with multiple users. This method should only * be applied when the entire chain of class main instances need to be updated to rely on another user, i.e. when * the current WordPress user has changed. * * @since 1.18.0 * * @param int $user_id User ID. * @return callable A closure to switch back to the original user. */ public function switch_user( $user_id ) { return $this->user_options->switch_user( $user_id ); } /** * Gets the value of the given transient. * * @since 1.18.0 * * @param string $transient Transient name. * @return mixed Value set for the transient, or false if not set. */ public function get( $transient ) { return wp_using_ext_object_cache() ? $this->get_from_cache( $transient ) : $this->get_from_user_options( $transient ); } /** * Sets the value for a transient. * * @since 1.18.0 * * @param string $transient Transient name. * @param mixed $value Transient value. * @param int $expiration Optional. Time until expiration in seconds. Default 0 (no expiration). * @return bool True on success, false on failure. */ public function set( $transient, $value, $expiration = 0 ) { return wp_using_ext_object_cache() ? $this->set_in_cache( $transient, $value, $expiration ) : $this->set_in_user_options( $transient, $value, $expiration ); } /** * Deletes the given transient. * * @since 1.18.0 * * @param string $transient Transient name. * @return bool True on success, false on failure. */ public function delete( $transient ) { return wp_using_ext_object_cache() ? $this->delete_from_cache( $transient ) : $this->delete_from_user_options( $transient ); } /** * Gets prefixed transient name for an external cache. * * @since 1.18.0 * * @param string $transient Transient name. * @return string Prefixed transient name. */ private function get_transient_name_for_cache( $transient ) { $user_id = $this->get_user_id(); return $this->user_options->get_meta_key( "user_{$user_id}_{$transient}" ); } /** * Gets the value of the given transient from an external cache. * * @since 1.18.0 * * @param string $transient Transient name. * @return mixed Value set for the transient, or false if not set. */ private function get_from_cache( $transient ) { return wp_cache_get( $this->get_transient_name_for_cache( $transient ), $this->ext_cache_group ); } /** * Sets the value for a transient in an external cache. * * @since 1.18.0 * * @param string $transient Transient name. * @param mixed $value Transient value. * @param int $expiration Optional. Time until expiration in seconds. Default 0 (no expiration). * @return bool True on success, false on failure. */ private function set_in_cache( $transient, $value, $expiration ) { return wp_cache_set( $this->get_transient_name_for_cache( $transient ), $value, $this->ext_cache_group, // phpcs:ignore WordPressVIPMinimum.Performance.LowExpiryCacheTime.CacheTimeUndetermined (int) $expiration ); } /** * Deletes the given transient in an external cache. * * @since 1.18.0 * * @param string $transient Transient name. * @return bool True on success, false on failure. */ private function delete_from_cache( $transient ) { return wp_cache_delete( $this->get_transient_name_for_cache( $transient ), $this->ext_cache_group ); } /** * Gets prefixed transient name. * * @since 1.18.0 * * @param string $transient Transient name. * @return string Prefixed transient name. */ private function get_transient_name_for_user_options( $transient ) { return 'googlesitekit_transient_' . $transient; } /** * Gets prefixed transient timeout name. * * @since 1.18.0 * * @param string $transient Transient name. * @return string Prefixed transient timeout name. */ private function get_transient_timeout_for_user_options( $transient ) { return 'googlesitekit_transient_timeout_' . $transient; } /** * Gets the value of the given transient. * * @since 1.18.0 * * @param string $transient Transient name. * @return mixed Value set for the transient, or false if not set. */ private function get_from_user_options( $transient ) { $prefixed_transient_timeout = $this->get_transient_timeout_for_user_options( $transient ); $timeout = $this->user_options->get( $prefixed_transient_timeout ); if ( false === $timeout || $timeout < time() ) { $this->delete( $transient ); return false; } $prefixed_transient = $this->get_transient_name_for_user_options( $transient ); return $this->user_options->get( $prefixed_transient ); } /** * Sets the value for a transient. * * @since 1.18.0 * * @param string $transient Transient name. * @param mixed $value Transient value. * @param int $expiration Optional. Time until expiration in seconds. Default 0 (no expiration). * @return bool True on success, false on failure. */ private function set_in_user_options( $transient, $value, $expiration ) { $prefixed_transient_timeout = $this->get_transient_timeout_for_user_options( $transient ); $this->user_options->set( $prefixed_transient_timeout, time() + $expiration ); $prefixed_transient = $this->get_transient_name_for_user_options( $transient ); return $this->user_options->set( $prefixed_transient, $value ); } /** * Deletes the given transient. * * @since 1.18.0 * * @param string $transient Transient name. * @return bool True on success, false on failure. */ private function delete_from_user_options( $transient ) { $prefixed_transient_timeout = $this->get_transient_timeout_for_user_options( $transient ); $this->user_options->delete( $prefixed_transient_timeout ); $prefixed_transient = $this->get_transient_name_for_user_options( $transient ); return $this->user_options->delete( $prefixed_transient ); } } includes/Core/Tags/Guards/Tag_Environment_Type_Guard.php 0000604 00000002201 14717744000 0017313 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard * * @package Google\Site_Kit\Core\Tags\Guards * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags\Guards; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Guard that verifies if we're in a production environment. * * @since 1.38.0 * @access private * @ignore */ class Tag_Environment_Type_Guard implements Guard_Interface { /** * Determines whether the guarded tag can be activated or not. * * @since 1.38.0 * * @return bool TRUE if guarded tag can be activated, otherwise FALSE. */ public function can_activate() { if ( ! function_exists( 'wp_get_environment_type' ) ) { return true; } $allowed_environments = apply_filters( 'googlesitekit_allowed_tag_environment_types', array( 'production' ) ); if ( ! is_array( $allowed_environments ) ) { $allowed_environments = array( 'production' ); } return in_array( wp_get_environment_type(), $allowed_environments, true ); } } includes/Core/Tags/Guards/Tag_Verify_Guard.php 0000604 00000002210 14717744000 0015252 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard * * @package Google\Site_Kit\Core\Tags\Guards * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags\Guards; use Google\Site_Kit\Core\Guards\Guard_Interface; use Google\Site_Kit\Core\Util\Input; /** * Guard that verifies if the "tagverify" query arg is used. * * @since 1.24.0 * @access private * @ignore */ class Tag_Verify_Guard implements Guard_Interface { /** * Input access abstraction. * * @since 1.24.0 * @var Input */ private $input; /** * Constructor. * * @since 1.24.0 * * @param Input $input Input instance. */ public function __construct( Input $input ) { $this->input = $input; } /** * Determines whether the guarded tag can be activated or not. * * @since 1.24.0 * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { return ! $this->input->filter( INPUT_GET, 'tagverify', FILTER_VALIDATE_BOOLEAN ); } } includes/Core/Tags/Guards/WP_Query_404_Guard.php 0000604 00000001374 14717744000 0015327 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\Guards\WP_Query_404_Guard * * @package Google\Site_Kit\Core\Tags\Guards * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags\Guards; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Class for WP_Query 404 guard. * * @since 1.105.0 * @access private * @ignore */ class WP_Query_404_Guard implements Guard_Interface { /** * Determines whether the guarded tag can be activated or not. * * @since 1.105.0 * * @return bool TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { return ! is_404(); } } includes/Core/Tags/Blockable_Tag_Interface.php 0000604 00000001663 14717744000 0015310 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Tags\Blockable_Tag_Interface * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Interface for a blockable tag. * * @since 1.24.0 * @access private * @ignore */ interface Blockable_Tag_Interface { /** * Checks whether or not the tag should be blocked from rendering. * * @since 1.24.0 * * @return bool TRUE if the tag should be blocked, otherwise FALSE. */ public function is_tag_blocked(); /** * Gets the HTML attributes for a script tag that may potentially require user consent before loading. * * @since 1.24.0 * * @return string HTML attributes to add if the tag requires consent to load, or an empty string. */ public function get_tag_blocked_on_consent_attribute(); } includes/Core/Tags/GTag.php 0000604 00000013510 14717744000 0011473 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\GTag * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class to handle gtag rendering across modules. * * @since 1.124.0 * @access public * @ignore */ class GTag { use Method_Proxy_Trait; const HANDLE = 'google_gtagjs'; /** * Holds an array of gtag ID's and their inline config elements. * * @var array $tags Array of tag ID's and their configs. */ private $tags = array(); /** * Holds an array of gtag commands, their parameters and command positions. * * @var array $commands Array of gtag config commands. */ private $commands = array(); /** * Register method called after class instantiation. * * @since 1.124.0 * @access public * * @return void */ public function register() { add_action( 'wp_enqueue_scripts', $this->get_method_proxy( 'enqueue_gtag_script' ), 20 ); add_filter( 'wp_resource_hints', function ( $urls, $relation_type ) { if ( 'dns-prefetch' === $relation_type ) { $urls[] = '//www.googletagmanager.com'; } return $urls; }, 10, 2 ); } /** * Method to add a gtag ID and config for output rendering. * * @since 1.124.0 * @access public * * @param string $tag_id The gtag ID. * @param array $config Array of inline gtag config values. * * @return void */ public function add_tag( $tag_id, $config = array() ) { $this->tags[] = array( 'tag_id' => $tag_id, 'config' => $config, ); } /** * Method to add a gtag command, associated parameters and output position. * * @since 1.124.0 * @access public * * @param string $command The gtag command to add. * @param array $parameters Array of command parameters. * @param string $position Position of command. "before|after". * * @return void */ public function add_command( $command, $parameters, $position = 'after' ) { $this->commands[] = array( 'command' => $command, // e.g. 'config', 'event', etc. 'parameters' => $parameters, // e.g. array( 'send_to', 'AW-123456789' ). 'position' => $position, // e.g. 'after', 'before'. This determines the position of the inline script relative to the gtag.js script. ); } /** * Method used to enqueue the gtag script along with additional tags, * configs and commands. * * @since 1.124.0 * @access protected * * @return void */ protected function enqueue_gtag_script() { // $this->tags and $this->commands will be populated via this action's handlers. do_action( 'googlesitekit_setup_gtag', $this ); if ( empty( $this->tags ) ) { return; } $gtag_src = $this->get_gtag_src(); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion wp_enqueue_script( self::HANDLE, $gtag_src, false, null, false ); wp_script_add_data( self::HANDLE, 'script_execution', 'async' ); // Note that `gtag()` may already be defined via the `Consent_Mode` output, but this is safe to call multiple times. wp_add_inline_script( self::HANDLE, 'window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}' ); foreach ( $this->commands as $command ) { wp_add_inline_script( self::HANDLE, $this->get_gtag_call_for_command( $command ), $command['position'] ); } wp_add_inline_script( self::HANDLE, 'gtag("js", new Date());' ); wp_add_inline_script( self::HANDLE, 'gtag("set", "developer_id.dZTNiMT", true);' ); // Site Kit developer ID. foreach ( $this->tags as $tag ) { wp_add_inline_script( self::HANDLE, $this->get_gtag_call_for_tag( $tag ) ); } $filter_google_gtagjs = function ( $tag, $handle ) { if ( self::HANDLE !== $handle ) { return $tag; } $snippet_comment_begin = sprintf( "\n<!-- %s -->\n", esc_html__( 'Google tag (gtag.js) snippet added by Site Kit', 'google-site-kit' ) ); $snippet_comment_end = sprintf( "\n<!-- %s -->\n", esc_html__( 'End Google tag (gtag.js) snippet added by Site Kit', 'google-site-kit' ) ); return $snippet_comment_begin . $tag . $snippet_comment_end; }; add_filter( 'script_loader_tag', $filter_google_gtagjs, 20, 2 ); } /** * Method used to return gtag() config call for selected tag. * * @since 1.124.0 * @access protected * * @param array $tag The Gtag tag, along with its config parameters. * * @return string Gtag call for tag in question. */ protected function get_gtag_call_for_tag( $tag ) { return empty( $tag['config'] ) ? sprintf( 'gtag("config", "%s");', esc_js( $tag['tag_id'] ) ) : sprintf( 'gtag("config", "%s", %s);', esc_js( $tag['tag_id'] ), wp_json_encode( $tag['config'] ) ); } /** * Method used to return gtag call for specific command. * * @since 1.124.0 * @access protected * * @param array $command The command array with applicable command and params. * * @return string Gtag function call for specific command. */ protected function get_gtag_call_for_command( $command ) { $gtag_args = array_merge( array( $command['command'] ), $command['parameters'] ); $gtag_args = array_map( function ( $arg ) { return wp_json_encode( $arg ); }, $gtag_args ); return sprintf( 'gtag(%s);', implode( ',', $gtag_args ) ); } /** * Returns the gtag source URL. * * @since 1.124.0 * * @return string|false The gtag source URL. False if no tags are added. */ public function get_gtag_src() { if ( empty( $this->tags ) ) { return false; } // Load the GTag scripts using the first tag ID - it doesn't matter which is used, // all registered tags will be set up with a config command regardless // of which is used to load the source. return 'https://www.googletagmanager.com/gtag/js?id=' . rawurlencode( $this->tags[0]['tag_id'] ); } } includes/Core/Tags/Tag_Interface.php 0000604 00000001262 14717744000 0013345 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Tags\Tag_Interface * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Interface for a tag. * * @since 1.24.0 * @access private * @ignore */ interface Tag_Interface { /** * Registers tag hooks. * * @since 1.24.0 */ public function register(); /** * Determines whether the tag can be register or not. * * @since 1.24.0 * * @return bool TRUE if the tag can be register, otherwise FALSE. */ public function can_register(); } includes/Core/Tags/Tag_Matchers_Interface.php 0000604 00000001120 14717744000 0015164 0 ustar 00 <?php /** * Interface Google\Site_Kit\Core\Tags\Tag_Matchers_Interface * * @package Google\Site_Kit\Core\Tags * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Interface for tag matchers. * * @since 1.119.0 * @access private * @ignore */ interface Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.119.0 * * @return array Array of regex matchers. */ public function regex_matchers(); } includes/Core/Tags/Tag.php 0000604 00000003053 14717744000 0011365 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\Tag * * @package Google\Site_Kit\Core\Tags * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; use Google\Site_Kit\Core\Guards\Guard_Interface; /** * Base class for tags. * * @since 1.24.0 * @access private * @ignore */ abstract class Tag implements Tag_Interface { /** * Tag ID. * * @since 1.24.0 * @var string */ protected $tag_id; /** * Guards array. * * @since 1.24.0 * @var array */ protected $guards = array(); /** * Constructor. * * @since 1.24.0 * * @param string $tag_id Tag ID. */ public function __construct( $tag_id ) { $this->tag_id = $tag_id; } /** * Adds a new guard to the guards list. * * @since 1.24.0 * * @param Guard_Interface $guard A guard instance to add to the guards list. */ public function use_guard( Guard_Interface $guard ) { $this->guards[] = $guard; } /** * Determines whether the tag can be register or not. * * @since 1.24.0 * * @return bool TRUE if the tag can be register, otherwise FALSE. */ public function can_register() { foreach ( $this->guards as $guard ) { if ( $guard instanceof Guard_Interface ) { $can_activate = $guard->can_activate(); if ( is_wp_error( $can_activate ) || ! $can_activate ) { return false; } } } return true; } /** * Registers tag hooks. * * @since 1.24.0 */ abstract public function register(); } includes/Core/Tags/Tag_With_DNS_Prefetch_Trait.php 0000604 00000001661 14717744000 0016052 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Trait for adding the dns-prefetch directive to a url. * * @since 1.35.0 * @access private * @ignore */ trait Tag_With_DNS_Prefetch_Trait { /** * Gets a callback that can be used for the wp_resource_hints filter to set the dns-prefetch directive for a specified URL. * * @since 1.35.0 * * @param string $url URL to which the dns-prefetch directive should be added. * @return array List of urls. */ protected function get_dns_prefetch_hints_callback( $url ) { return function ( $urls, $relation_type ) use ( $url ) { if ( 'dns-prefetch' === $relation_type ) { $urls[] = $url; } return $urls; }; } } includes/Core/Tags/Tag_With_Linker_Interface.php 0000604 00000001134 14717744000 0015642 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Interface for a tag implementing linker domain. * * @since 1.125.0 * @access private * @ignore */ interface Tag_With_Linker_Interface { /** * Sets the current home domain. * * @since 1.125.0 * * @param string $domain Domain name. */ public function set_home_domain( $domain ); } includes/Core/Tags/Tag_With_Linker_Trait.php 0000604 00000002354 14717744000 0015032 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Tags\Tag_With_Linker_Trait * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tags; /** * Trait for adding the linker property with domain to tag output. * * @since 1.125.0 * @access private * @ignore */ trait Tag_With_Linker_Trait { /** * Holds the value of the domain for the linker config option in the gtag. * * @var string $home_domain The site's domain for linker property. */ private $home_domain; /** * Method to set home domain. * * @param string $home_domain The value to set for home domain. * * @since 1.125.0 * @return void */ public function set_home_domain( $home_domain ) { $this->home_domain = $home_domain; } /** * Method to add linker domain to tag config. * * @param array $tag_config Tag config to add linker entry to. * * @since 1.125.0 * @return array Tag config, with or without linker values. */ protected function add_linker_to_tag_config( $tag_config ) { return array_merge( $tag_config, array( 'linker' => array( 'domains' => array( $this->home_domain ) ) ) ); } } includes/Core/Tracking/REST_Tracking_Consent_Controller.php 0000604 00000006362 14717744000 0020017 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tracking\REST_Tracking_Consent_Controller * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tracking; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * Class managing admin tracking. * * @since 1.49.0 * @access private * @ignore */ class REST_Tracking_Consent_Controller { use Method_Proxy_Trait; /** * Tracking_Consent instance. * * @since 1.49.0 * * @var Tracking_Consent */ protected $consent; /** * Constructor. * * @@since 1.49.0 * * @param Tracking_Consent $tracking_consent Tracking consent instance. */ public function __construct( Tracking_Consent $tracking_consent ) { $this->consent = $tracking_consent; } /** * Registers functionality through WordPress hooks. * * @since 1.49.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', $this->get_method_proxy( 'get_rest_routes' ) ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $routes ) { return array_merge( $routes, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/tracking', ) ); } ); } /** * Is tracking active for the current user? * * @since 1.49.0 * * @return bool True if tracking enabled, and False if not. */ public function is_active() { return (bool) $this->consent->get(); } /** * Gets tracking routes. * * @since 1.49.0 * * @param array $routes Array of routes. * @return array Modified array of routes that contains tracking related routes. */ private function get_rest_routes( $routes ) { $can_access_tracking = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; $tracking_callback = function () { return new WP_REST_Response( array( 'enabled' => $this->is_active(), ) ); }; return array_merge( $routes, array( new REST_Route( 'core/user/data/tracking', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => $tracking_callback, 'permission_callback' => $can_access_tracking, ), array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) use ( $tracking_callback ) { $data = $request->get_param( 'data' ); $enabled = ! empty( $data['enabled'] ); $this->consent->set( $enabled ); return $tracking_callback( $request ); }, 'permission_callback' => $can_access_tracking, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'enabled' => array( 'type' => 'boolean', 'required' => true, ), ), ), ), ), ) ), ) ); } } includes/Core/Tracking/Tracking_Consent.php 0000604 00000002265 14717744000 0014755 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tracking\Tracking_Consent * * @package Google\Site_Kit\Core\Tracking * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tracking; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class managing a user's anonymous usage tracking consent. * * @since 1.49.0 * @access private * @ignore */ class Tracking_Consent extends User_Setting { /** * The user option name for this setting. * * @var string */ const OPTION = 'googlesitekit_tracking_optin'; /** * Gets the value of the setting. * * @since 1.49.0 * * @return bool Whether the current user has consented to anonymous tracking. */ public function get() { return (bool) $this->user_options->get( static::OPTION ); } /** * Gets the expected value type. * * @since 1.49.0 * * @return string The type name. */ protected function get_type() { return 'boolean'; } /** * Gets the default value. * * @since 1.49.0 * * @return bool The default value. */ protected function get_default() { return false; } } includes/Core/Tracking/Tracking.php 0000604 00000005233 14717744000 0013262 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Tracking\Tracking * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Tracking; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Admin\Screen; use Google\Site_Kit\Core\Admin\Screens; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class managing admin tracking. * * @since 1.49.0 * @access private * @ignore */ final class Tracking { use Method_Proxy_Trait; const TRACKING_ID = 'G-EQDN3BWDSD'; /** * Screens instance. * * @since 1.49.0 * * @var Screens */ protected $screens; /** * Tracking_Consent instance. * * @since 1.49.0 * * @var Tracking_Consent */ protected $consent; /** * REST_Tracking_Consent_Controller instance. * * @since 1.49.0 * * @var REST_Tracking_Consent_Controller */ private $rest_controller; /** * Constructor. * * @since 1.49.0 * * @param Context $context Context instance. * @param User_Options $user_options Optional. User_Options instance. Default is a new instance. * @param Screens $screens Optional. Screens instance. Default is a new instance. */ public function __construct( Context $context, User_Options $user_options = null, Screens $screens = null ) { $user_options = $user_options ?: new User_Options( $context ); $this->screens = $screens ?: new Screens( $context ); $this->consent = new Tracking_Consent( $user_options ); $this->rest_controller = new REST_Tracking_Consent_Controller( $this->consent ); } /** * Registers functionality through WordPress hooks. * * @since 1.49.0 */ public function register() { $this->consent->register(); $this->rest_controller->register(); add_filter( 'googlesitekit_inline_tracking_data', $this->get_method_proxy( 'inline_js_tracking_data' ) ); } /** * Is tracking active for the current user? * * @since 1.49.0 * * @return bool True if tracking enabled, and False if not. */ public function is_active() { return (bool) $this->consent->get(); } /** * Adds / modifies tracking relevant data to pass to JS. * * @since 1.78.0 * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_tracking_data( $data ) { global $hook_suffix; $data['isSiteKitScreen'] = $this->screens->get_screen( $hook_suffix ) instanceof Screen; $data['trackingEnabled'] = $this->is_active(); $data['trackingID'] = self::TRACKING_ID; return $data; } } includes/Core/User/Audience_Segmentation.php 0000604 00000002442 14717744000 0015125 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User\Audience_Segmentation * * @package Google\Site_Kit\Core\User * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling audience settings rest routes. * * @since 1.134.0 * @access private * @ignore */ class Audience_Segmentation { /** * Audience_Settings instance. * * @since 1.134.0 * @var Audience_Settings */ private $audience_settings; /** * REST_Audience_Settings_Controller instance. * * @since 1.134.0 * @var REST_Audience_Settings_Controller */ private $rest_controller; /** * Constructor. * * @since 1.134.0 * * @param User_Options $user_options User_Options instance. */ public function __construct( User_Options $user_options ) { $this->audience_settings = new Audience_Settings( $user_options ); $this->rest_controller = new REST_Audience_Settings_Controller( $this->audience_settings ); } /** * Registers functionality through WordPress hooks. * * @since 1.134.0 */ public function register() { $this->audience_settings->register(); $this->rest_controller->register(); } } includes/Core/User/Audience_Settings.php 0000604 00000006436 14717744000 0014277 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User\Audience_Settings * * @package Google\Site_Kit\Core\User * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User; use Google\Site_Kit\Core\Storage\User_Setting; use Google\Site_Kit\Core\Util\Sanitize; /** * Class for audience settings. * * @since 1.134.0 * @access private * @ignore */ class Audience_Settings extends User_Setting { /** * The user option name for audience setting. */ const OPTION = 'googlesitekit_audience_settings'; /** * Gets the expected value type. * * @since 1.124.0 * * @return string The type name. */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @since 1.124.0 * @since 1.136.0 Added `didSetAudiences` default value. * * @return array The default value. */ protected function get_default() { return array( 'configuredAudiences' => null, 'isAudienceSegmentationWidgetHidden' => false, 'didSetAudiences' => false, ); } /** * Merges an array of settings to update. * * @since 1.124.0 * @since 1.138.0 Allow setting `null` for `configuredAudiences`. * * @param array $partial Partial settings array to save. * @return bool True on success, false on failure. */ public function merge( array $partial ) { $settings = $this->get(); $partial = array_filter( $partial, function ( $value, $key ) { // Allow setting `null` for `configuredAudiences`. return 'configuredAudiences' === $key ? true : null !== $value; }, ARRAY_FILTER_USE_BOTH ); $allowed_settings = array( 'configuredAudiences' => true, 'isAudienceSegmentationWidgetHidden' => true, 'didSetAudiences' => true, ); $updated = array_intersect_key( $partial, $allowed_settings ); if ( empty( $settings['didSetAudiences'] ) && isset( $updated['configuredAudiences'] ) && is_array( $updated['configuredAudiences'] ) && ! empty( $updated['configuredAudiences'] ) ) { $updated['didSetAudiences'] = true; } return $this->set( array_merge( $settings, $updated ) ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.124.0 * @since 1.138.0 Allow setting `null` for `configuredAudiences`. * * @return callable Sanitize callback. */ protected function get_sanitize_callback() { return function ( $settings ) { if ( ! is_array( $settings ) ) { return array(); } $sanitized_settings = array(); // Allow setting `null` for `configuredAudiences`. if ( array_key_exists( 'configuredAudiences', $settings ) ) { $sanitized_settings['configuredAudiences'] = is_null( $settings['configuredAudiences'] ) ? null : Sanitize::sanitize_string_list( $settings['configuredAudiences'] ); } if ( isset( $settings['isAudienceSegmentationWidgetHidden'] ) ) { $sanitized_settings['isAudienceSegmentationWidgetHidden'] = false !== $settings['isAudienceSegmentationWidgetHidden']; } if ( isset( $settings['didSetAudiences'] ) ) { $sanitized_settings['didSetAudiences'] = false !== $settings['didSetAudiences']; } return $sanitized_settings; }; } } includes/Core/User/REST_Audience_Settings_Controller.php 0000604 00000007020 14717744000 0017325 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User\REST_Audience_Settings_Controller * * @package Google\Site_Kit\Core\User * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\Util\Feature_Flags; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling audience settings rest routes. * * @since 1.134.0 * @access private * @ignore */ class REST_Audience_Settings_Controller { /** * Audience_Settings instance. * * @since 1.134.0 * @var Audience_Settings */ private $audience_settings; /** * Constructor. * * @since 1.134.0 * * @param Audience_Settings $audience_settings Audience_Settings instance. */ public function __construct( Audience_Settings $audience_settings ) { $this->audience_settings = $audience_settings; } /** * Registers functionality through WordPress hooks. * * @since 1.134.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { if ( Feature_Flags::enabled( 'audienceSegmentation' ) ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/audience-settings', ) ); } return $paths; } ); } /** * Gets REST route instances. * * @since 1.134.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_view_dashboard = function () { return current_user_can( Permissions::VIEW_DASHBOARD ); }; if ( ! Feature_Flags::enabled( 'audienceSegmentation' ) ) { return array(); } return array( new REST_Route( 'core/user/data/audience-settings', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { return new WP_REST_Response( $this->audience_settings->get() ); }, 'permission_callback' => $can_view_dashboard, ), array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $settings = $request['data']['settings']; $this->audience_settings->merge( $settings ); return new WP_REST_Response( $this->audience_settings->get() ); }, 'permission_callback' => $can_view_dashboard, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'settings' => array( 'type' => 'object', 'required' => true, 'minProperties' => 1, 'additionalProperties' => false, 'properties' => array( 'configuredAudiences' => array( 'type' => 'array', 'items' => array( 'type' => 'string', ), ), 'isAudienceSegmentationWidgetHidden' => array( 'type' => 'boolean', ), 'didSetAudiences' => array( 'type' => 'boolean', ), ), ), ), ), ), ), ) ), ); } } includes/Core/User/User.php 0000604 00000001772 14717744000 0011616 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User\User * * @package Google\Site_Kit\Core\User * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling audience settings rest routes. * * @since 1.134.0 * @access private * @ignore */ class User { /** * Audience_Segmentation instance. * * @since 1.134.0 * @var Audience_Segmentation */ private $audience_segmentation; /** * Constructor. * * @since 1.134.0 * * @param User_Options $user_options User_Options instance. */ public function __construct( User_Options $user_options ) { $this->audience_segmentation = new Audience_Segmentation( $user_options ); } /** * Registers functionality through WordPress hooks. * * @since 1.134.0 */ public function register() { $this->audience_segmentation->register(); } } includes/Core/User_Input/REST_User_Input_Controller.php 0000604 00000012474 14717744000 0017215 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Input\REST_User_Input_Controller * * @package Google\Site_Kit\Core\User_Input * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Input; use Google\Site_Kit\Core\Key_Metrics\Key_Metrics_Setup_Completed_By; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Core\User_Surveys\Survey_Queue; use Google\Site_Kit\Core\Util\Feature_Flags; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling User Input settings rest routes. * * @since 1.90.0 * @access private * @ignore */ class REST_User_Input_Controller { /** * User_Input instance. * * @since 1.90.0 * @var User_Input */ protected $user_input; /** * Survey_Queue instance. * * @since 1.104.0 * @var Survey_Queue */ protected $survey_queue; /** * Key_Metrics_Setup_Completed_By instance. * * @since 1.113.0 * @var Key_Metrics_Setup_Completed_By */ protected $key_metrics_setup_completed_by; /** * Constructor. * * @since 1.90.0 * * @param User_Input $user_input User_Input instance. * @param Survey_Queue $survey_queue Survey_Queue instance. * @param Key_Metrics_Setup_Completed_By $key_metrics_setup_completed_by Key_Metrics_Setup_Completed_By instance. */ public function __construct( User_Input $user_input, Survey_Queue $survey_queue, Key_Metrics_Setup_Completed_By $key_metrics_setup_completed_by ) { $this->user_input = $user_input; $this->survey_queue = $survey_queue; $this->key_metrics_setup_completed_by = $key_metrics_setup_completed_by; } /** * Registers functionality. * * @since 1.90.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/user-input-settings', ) ); } ); } /** * Gets related REST routes. * * @since 1.90.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { return array( new REST_Route( 'core/user/data/user-input-settings', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $response = rest_ensure_response( $this->user_input->get_answers() ); // Iterating over each setting in the response data to remove the 'author' key. // We use pass-by-reference (&$setting) to directly modify the original $response data. // This is done to ensure that if the current user doesn't have the `list_users` capability, // they won't be able to see the `{setting}.author` key of each answer object. if ( ! current_user_can( 'list_users' ) ) { foreach ( $response->data as &$setting ) { if ( isset( $setting['author'] ) ) { unset( $setting['author'] ); } } } return $response; }, 'permission_callback' => function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }, ), array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $data = $request->get_param( 'data' ); if ( ! isset( $data['settings'] ) || ! is_array( $data['settings'] ) ) { return new WP_Error( 'rest_missing_callback_param', __( 'Missing settings data.', 'google-site-kit' ), array( 'status' => 400 ) ); } $answers = $this->user_input->set_answers( $data['settings'] ); if ( ! empty( $answers['purpose']['values'] ) ) { $key_metrics_setup_already_done_by_user = $this->key_metrics_setup_completed_by->get(); if ( empty( $key_metrics_setup_already_done_by_user ) ) { $current_user_id = get_current_user_id(); $this->key_metrics_setup_completed_by->set( $current_user_id ); } } $response = rest_ensure_response( $answers ); if ( $response instanceof WP_REST_Response ) { $this->survey_queue->dequeue( 'user_input_answered_other_survey' ); } return $response; }, 'permission_callback' => function () { return current_user_can( Permissions::AUTHENTICATE ); }, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'settings' => array( 'type' => 'object', 'required' => true, 'questions' => array_fill_keys( array_keys( User_Input::get_questions() ), array( 'type' => 'array', 'items' => array( 'type' => 'string' ), ) ), ), ), ), ), ), ) ), ); } } includes/Core/User_Input/Site_Specific_Answers.php 0000604 00000004751 14717744000 0016272 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Input\Site_Specific_Answers * * @package Google\Site_Kit\Core\User_Input * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Input; use Google\Site_Kit\Core\Storage\Setting; /** * Class for handling the site specific answers in User Input. * * @since 1.90.0 * @access private * @ignore */ class Site_Specific_Answers extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_user_input_settings'; /** * The scope for which the answers are handled by this class. */ const SCOPE = 'site'; /** * Gets the expected value type. * * @since 1.90.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.90.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.90.0 * * @return callable Callback method that filters or type casts invalid setting values. */ protected function get_sanitize_callback() { $questions = array_filter( User_Input::get_questions(), function ( $question ) { return static::SCOPE === $question['scope']; } ); return function ( $settings ) use ( $questions ) { if ( ! is_array( $settings ) ) { return $this->get(); } $results = array(); foreach ( $settings as $setting_key => $setting_values ) { // Ensure all the data is valid. if ( ! in_array( $setting_key, array_keys( $questions ), true ) || ! is_array( $setting_values ) || static::SCOPE !== $setting_values['scope'] || ! is_array( $setting_values['values'] ) || ! is_int( $setting_values['answeredBy'] ) ) { continue; } $valid_values = array(); $valid_values['scope'] = $setting_values['scope']; $valid_values['answeredBy'] = $setting_values['answeredBy']; $valid_answers = array(); // Verify that each answer value is a string. foreach ( $setting_values['values'] as $answer ) { if ( is_scalar( $answer ) ) { $valid_answers[] = $answer; } } $valid_values['values'] = $valid_answers; if ( ! empty( $valid_values ) ) { $results[ $setting_key ] = $valid_values; } } return $results; }; } } includes/Core/User_Input/User_Input.php 0000604 00000015012 14717744000 0014144 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Input\User_Input * * @package Google\Site_Kit\Core\User_Input * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Input; use ArrayAccess; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Key_Metrics\Key_Metrics_Setup_Completed_By; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\User_Surveys\Survey_Queue; use WP_Error; use WP_User; /** * Class for handling User Input settings. * * @since 1.90.0 * @access private * @ignore */ class User_Input { /** * Site_Specific_Answers instance. * * @since 1.90.0 * @var Site_Specific_Answers */ protected $site_specific_answers; /** * User_Options instance. * * @since 1.90.0 * @var User_Options */ protected $user_options; /** * User_Specific_Answers instance. * * @since 1.90.0 * @var User_Specific_Answers */ protected $user_specific_answers; /** * REST_User_Input_Controller instance. * * @since 1.90.0 * @var REST_User_Input_Controller */ protected $rest_controller; /** * User Input questions. * * @since 1.90.0 * @var array|ArrayAccess */ private static $questions = array( 'purpose' => array( 'scope' => 'site', ), 'postFrequency' => array( 'scope' => 'user', ), 'goals' => array( 'scope' => 'user', ), ); /** * Constructor. * * @since 1.90.0 * * @param Context $context Plugin context. * @param Options $options Optional. Options instance. Default a new instance. * @param User_Options $user_options Optional. User_Options instance. Default a new instance. * @param Survey_Queue $survey_queue Optional. Survey_Queue instance. Default a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Survey_Queue $survey_queue = null ) { $this->site_specific_answers = new Site_Specific_Answers( $options ?: new Options( $context ) ); $this->user_options = $user_options ?: new User_Options( $context ); $this->user_specific_answers = new User_Specific_Answers( $this->user_options ); $this->rest_controller = new REST_User_Input_Controller( $this, $survey_queue ?: new Survey_Queue( $this->user_options ), new Key_Metrics_Setup_Completed_By( $options ?: new Options( $context ) ) ); } /** * Registers functionality. * * @since 1.90.0 */ public function register() { $this->site_specific_answers->register(); $this->user_specific_answers->register(); $this->rest_controller->register(); } /** * Gets the set of user input questions. * * @since 1.90.0 * * @return array The user input questions. */ public static function get_questions() { return static::$questions; } /** * Gets user input answers. * * @since 1.90.0 * * @return array|WP_Error User input answers. */ public function get_answers() { $questions = static::$questions; $site_answers = $this->site_specific_answers->get(); $user_answers = $this->user_specific_answers->get(); $settings = array_merge( is_array( $site_answers ) ? $site_answers : array(), is_array( $user_answers ) ? $user_answers : array() ); // If there are no settings, return default empty values. if ( empty( $settings ) ) { array_walk( $questions, function ( &$question ) { $question['values'] = array(); } ); return $questions; } foreach ( $settings as &$setting ) { if ( ! isset( $setting['answeredBy'] ) ) { continue; } $answered_by = intval( $setting['answeredBy'] ); if ( ! $answered_by || $answered_by === $this->user_options->get_user_id() ) { continue; } $setting['author'] = array( 'photo' => get_avatar_url( $answered_by ), 'login' => ( new WP_User( $answered_by ) )->user_login, ); } // If there are un-answered questions, return default empty values for them. foreach ( $questions as $question_key => $question_value ) { if ( ! isset( $settings[ $question_key ] ) ) { $settings[ $question_key ] = $question_value; $settings[ $question_key ]['values'] = array(); } } return $settings; } /** * Determines whether the current user input settings have empty values or not. * * @since 1.90.0 * * @param array $settings The settings to check. * @return boolean|null TRUE if at least one of the settings has empty values, otherwise FALSE. */ public function are_settings_empty( $settings = array() ) { if ( empty( $settings ) ) { $settings = $this->get_answers(); if ( is_wp_error( $settings ) ) { return null; } } foreach ( $settings as $setting ) { if ( empty( $setting['values'] ) ) { return true; } } return false; } /** * Sets user input answers. * * @since 1.90.0 * * @param array $settings User settings. * @return array|WP_Error User input answers. */ public function set_answers( $settings ) { $site_settings = array(); $user_settings = array(); foreach ( $settings as $setting_key => $answers ) { $setting_data = array(); $setting_data['values'] = $answers; $setting_data['scope'] = static::$questions[ $setting_key ]['scope']; if ( 'site' === $setting_data['scope'] ) { $existing_answers = $this->get_answers(); $answered_by = $this->user_options->get_user_id(); if ( // If the answer to the "purpose" question changed, // attribute the answer to the current user changing the // answer. ( ! empty( $existing_answers['purpose']['values'] ) && ! empty( array_diff( $existing_answers['purpose']['values'], $answers ) ) ) || // If the answer to the "purpose" question was empty, // attribute the answer to the current user. empty( $existing_answers['purpose']['answeredBy'] ) ) { $answered_by = $this->user_options->get_user_id(); } else { // Otherwise, attribute the answer to the user who answered // the question previously. $answered_by = $existing_answers['purpose']['answeredBy']; } $setting_data['answeredBy'] = $answered_by; $site_settings[ $setting_key ] = $setting_data; } elseif ( 'user' === $setting_data['scope'] ) { $user_settings[ $setting_key ] = $setting_data; } } $this->site_specific_answers->set( $site_settings ); $this->user_specific_answers->set( $user_settings ); return $this->get_answers(); } } includes/Core/User_Input/User_Specific_Answers.php 0000604 00000004506 14717744000 0016302 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Input\User_Specific_Answers * * @package Google\Site_Kit\Core\User_Input * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Input; use Closure; use Google\Site_Kit\Core\Storage\User_Setting; /** * Class for handling the user specific answers in User Input. * * @since 1.90.0 * @access private * @ignore */ class User_Specific_Answers extends User_Setting { /** * The user option name for this setting. */ const OPTION = 'googlesitekit_user_input_settings'; /** * The scope for which the questions are handled by this class. */ const SCOPE = 'user'; /** * Gets the expected value type. * * @since 1.90.0 * * @return string The type name. */ protected function get_type() { return 'array'; } /** * Gets the default value. * * @since 1.90.0 * * @return array The default value. */ protected function get_default() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.90.0 * * @return Closure */ protected function get_sanitize_callback() { $questions = array_filter( User_Input::get_questions(), function ( $question ) { return static::SCOPE === $question['scope']; } ); return function ( $settings ) use ( $questions ) { if ( ! is_array( $settings ) ) { return $this->get(); } $results = array(); foreach ( $settings as $setting_key => $setting_values ) { // Ensure all the data is valid. if ( ! in_array( $setting_key, array_keys( $questions ), true ) || ! is_array( $setting_values ) || static::SCOPE !== $setting_values['scope'] || ! is_array( $setting_values['values'] ) ) { continue; } $valid_values = array(); $valid_values['scope'] = $setting_values['scope']; $valid_answers = array(); // Verify that each answer value is a string. foreach ( $setting_values['values'] as $answer ) { if ( is_scalar( $answer ) ) { $valid_answers[] = $answer; } } $valid_values['values'] = $valid_answers; if ( ! empty( $valid_values ) ) { $results[ $setting_key ] = $valid_values; } } return $results; }; } } includes/Core/User_Surveys/REST_User_Surveys_Controller.php 0000604 00000016615 14717744000 0020160 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Surveys\REST_User_Surveys_Controller * * @package Google\Site_Kit\Core\User_Surveys * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Surveys; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_Error; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling user survey rest routes. * * @since 1.35.0 * @access private * @ignore */ class REST_User_Surveys_Controller { /** * Authentication instance. * * @since 1.35.0 * @var Authentication */ protected $authentication; /** * Survey_Timeouts instance. * * @since 1.73.0 * @var Survey_Timeouts */ protected $timeouts; /** * Survey_Queue instance. * * @since 1.98.0 * @var Survey_Queue */ protected $queue; /** * Constructor. * * @since 1.35.0 * * @param Authentication $authentication Authentication instance. * @param Survey_Timeouts $timeouts User timeouts setting. * @param Survey_Queue $queue Surveys queue. */ public function __construct( Authentication $authentication, Survey_Timeouts $timeouts, Survey_Queue $queue ) { $this->authentication = $authentication; $this->timeouts = $timeouts; $this->queue = $queue; } /** * Registers functionality through WordPress hooks. * * @since 1.35.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $paths ) { return array_merge( $paths, array( '/' . REST_Routes::REST_ROOT . '/core/user/data/survey-timeouts', ) ); } ); } /** * Gets REST route instances. * * @since 1.35.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_authenticate = function () { return $this->authentication->is_authenticated() && $this->authentication->credentials()->using_proxy(); }; return array( 'survey-trigger' => new REST_Route( 'core/user/data/survey-trigger', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $proxy = $this->authentication->get_google_proxy(); $creds = $this->authentication->credentials(); $access_token = (string) $this->authentication->get_oauth_client()->get_access_token(); $data = $request->get_param( 'data' ); $response = $proxy->send_survey_trigger( $creds, $access_token, $data['triggerID'] ); if ( ! is_wp_error( $response ) && ! empty( $response['survey_id'] ) ) { $this->queue->enqueue( $response ); } return new WP_REST_Response( array( 'success' => true ) ); }, 'permission_callback' => $can_authenticate, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'triggerID' => array( 'type' => 'string', 'required' => true, ), ), ), ), ) ), 'survey-event' => new REST_Route( 'core/user/data/survey-event', array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function ( WP_REST_Request $request ) { $proxy = $this->authentication->get_google_proxy(); $creds = $this->authentication->credentials(); $access_token = (string) $this->authentication->get_oauth_client()->get_access_token(); $data = $request->get_param( 'data' ); if ( isset( $data['event']['survey_shown'] ) ) { $this->timeouts->set_global_timeout(); } $response = $proxy->send_survey_event( $creds, $access_token, $data['session'], $data['event'] ); if ( ! is_wp_error( $response ) ) { $is_survey_closed = isset( $data['event']['survey_closed'] ); $is_completion_shown = isset( $data['event']['completion_shown'] ); if ( $is_completion_shown || $is_survey_closed ) { $survey = $this->queue->find_by_session( $data['session'] ); if ( ! empty( $survey ) ) { $this->queue->dequeue( $survey['survey_id'] ); } } } return new WP_REST_Response( $response ); }, 'permission_callback' => $can_authenticate, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'session' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'session_id' => array( 'type' => 'string', 'required' => true, ), 'session_token' => array( 'type' => 'string', 'required' => true, ), ), ), 'event' => array( 'type' => 'object', 'required' => true, 'properties' => array( 'survey_shown' => array( 'type' => 'object', ), 'survey_closed' => array( 'type' => 'object', ), 'question_answered' => array( 'type' => 'object', ), 'completion_shown' => array( 'type' => 'object', ), 'follow_up_link_clicked' => array( 'type' => 'object', ), ), ), ), ), ), ) ), 'survey-timeout' => new REST_Route( 'core/user/data/survey-timeout', array( 'methods' => WP_REST_Server::CREATABLE, 'permission_callback' => $can_authenticate, 'callback' => function ( WP_REST_Request $request ) { $data = $request['data']; if ( empty( $data['slug'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'slug' ), array( 'status' => 400 ) ); } $timeout = HOUR_IN_SECONDS; if ( isset( $data['timeout'] ) && intval( $data['timeout'] ) > 0 ) { $timeout = $data['timeout']; } $this->timeouts->add( $data['slug'], $timeout ); return new WP_REST_Response( $this->timeouts->get_survey_timeouts() ); }, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ) ), 'survey-timeouts' => new REST_Route( 'core/user/data/survey-timeouts', array( 'methods' => WP_REST_Server::READABLE, 'permission_callback' => $can_authenticate, 'callback' => function () { return new WP_REST_Response( $this->timeouts->get_survey_timeouts() ); }, ) ), 'survey' => new REST_Route( 'core/user/data/survey', array( 'methods' => WP_REST_Server::READABLE, 'permission_callback' => $can_authenticate, 'callback' => function () { return new WP_REST_Response( array( 'survey' => $this->queue->front(), ) ); }, ) ), ); } } includes/Core/User_Surveys/Survey_Queue.php 0000604 00000006420 14717744000 0015074 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Surveys\Survey_Queue * * @package Google\Site_Kit\Core\User_Surveys * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Surveys; use Google\Site_Kit\Core\Storage\User_Setting; use Google\Site_Kit\Core\Storage\Setting\List_Setting; /** * Class for handling surveys queue. * * @since 1.98.0 * @access private * @ignore */ class Survey_Queue extends User_Setting { use List_Setting; const OPTION = 'googlesitekit_survey_queue'; /** * Adds a new survey to the queue. * * @since 1.98.0 * * @param array $survey { * The survey object to add to the queue. * * @type string $survey_id Survey ID. * @type array $survey_payload Survey payload that describe survey questions and available completions. * @type array $session Session object that contains session ID and session token. * } * @return bool TRUE if the survey has been added to the queue, otherwise FALSE. */ public function enqueue( $survey ) { $surveys = $this->get(); // Do not add the survey if it is already in the queue. foreach ( $surveys as $item ) { if ( $item['survey_id'] === $survey['survey_id'] ) { return false; } } $surveys[] = $survey; $this->set( $surveys ); return true; } /** * Dequeues a survey that has the provided survey ID. * * @since 1.98.0 * * @param string $survey_id The survey ID to dequeue. * @return array|null A survey object if it has been found, otherwise NULL. */ public function dequeue( $survey_id ) { $survey = null; // Search for the requested survey_id. $old_surveys = $this->get(); $new_surveys = array(); foreach ( $old_surveys as $item ) { if ( $item['survey_id'] === $survey_id ) { $survey = $item; } else { $new_surveys[] = $item; } } // Update existing surveys list if we have found the survey we need to dequeue. if ( ! is_null( $survey ) ) { $this->set( $new_surveys ); } return $survey; } /** * Gets the first survey in the queue without removing it from the queue. * * @since 1.98.0 * * @return array|null A survey object if at least one survey exists in the queue, otherwise NULL. */ public function front() { $surveys = $this->get(); return reset( $surveys ) ?: null; } /** * Gets the survey for the provided session. * * @since 1.98.0 * * @param array $session { * The current session object. * * @type string $session_id Session ID. * @type string $session_token Session token. * } * @return array|null A survey object if it has been found for the session, otherwise NULL. */ public function find_by_session( $session ) { $surveys = $this->get(); foreach ( $surveys as $survey ) { if ( ! empty( $survey['session']['session_id'] ) && ! empty( $session['session_id'] ) && $survey['session']['session_id'] === $session['session_id'] ) { return $survey; } } return null; } /** * Sanitizes array items. * * @since 1.98.0 * * @param array $items The original array items. * @return array Filtered items. */ protected function sanitize_list_items( $items ) { return $items; } } includes/Core/User_Surveys/Survey_Timeouts.php 0000604 00000003473 14717744000 0015626 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Surveys\Survey_Timeouts * * @package Google\Site_Kit\Core\User_Surveys * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Surveys; use Google\Site_Kit\Core\Storage\User_Setting; use Google\Site_Kit\Core\Storage\Setting\List_Setting; /** * Class for representing user survey timeouts. * * @since 1.73.0 * @access private * @ignore */ class Survey_Timeouts extends User_Setting { use List_Setting; const OPTION = 'googlesitekit_survey_timeouts'; const GLOBAL_KEY = '__global'; /** * Adds a timeout for the provided survey. * * @since 1.73.0 * * @param string $survey Survey name. * @param int $timeout Tiemout for the survey. */ public function add( $survey, $timeout ) { $surveys = $this->get(); $surveys[ $survey ] = time() + $timeout; $this->set( $surveys ); } /** * Gets survey timeouts. * * @since 1.73.0 * * @return array Survey timeouts array. */ public function get_survey_timeouts() { $surveys = $this->get(); $surveys = $this->sanitize_list_items( $surveys ); return array_keys( $surveys ); } /** * Sets the global timeout to twelve hours. * * @since 1.98.0 */ public function set_global_timeout() { $this->add( self::GLOBAL_KEY, 12 * HOUR_IN_SECONDS ); } /** * Sanitizes survey timeouts. * * @since 1.73.0 * * @param array $items Survey timeouts list. * @return array Filtered survey timeouts. */ protected function sanitize_list_items( $items ) { $surveys = array(); if ( is_array( $items ) ) { foreach ( $items as $item => $ttl ) { if ( $ttl > time() ) { $surveys[ $item ] = $ttl; } } } return $surveys; } } includes/Core/User_Surveys/User_Surveys.php 0000604 00000003146 14717744000 0015113 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\User_Surveys\User_Surveys * * @package Google\Site_Kit\Core\User_Surveys * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\User_Surveys; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Storage\User_Options; /** * Class for handling user surveys. * * @since 1.73.0 * @access private * @ignore */ class User_Surveys { /** * Survey_Timeouts instance. * * @since 1.73.0 * @var Survey_Timeouts */ protected $survey_timeouts; /** * REST_User_Surveys_Controller instance. * * @since 1.73.0 * @var REST_User_Surveys_Controller */ protected $rest_controller; /** * Constructor. * * @since 1.73.0 * * @param Authentication $authentication Authentication instance. * @param User_Options $user_options User option API. * @param Survey_Queue $survey_queue Optional. Survey_Queue instance. Default a new instance. */ public function __construct( Authentication $authentication, User_Options $user_options, Survey_Queue $survey_queue ) { $this->survey_timeouts = new Survey_Timeouts( $user_options ); $this->rest_controller = new REST_User_Surveys_Controller( $authentication, $this->survey_timeouts, $survey_queue ?: new Survey_Queue( $user_options ) ); } /** * Registers functionality through WordPress hooks. * * @since 1.73.0 */ public function register() { $this->survey_timeouts->register(); $this->rest_controller->register(); } } includes/Core/Util/Activation_Flag.php 0000604 00000006373 14717744000 0013733 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Activation_Flag * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\Options; /** * Class handling plugin activation. * * @since 1.10.0 * @access private * @ignore */ final class Activation_Flag { const OPTION_SHOW_ACTIVATION_NOTICE = 'googlesitekit_show_activation_notice'; const OPTION_NEW_SITE_POSTS = 'googlesitekit_new_site_posts'; /** * Plugin context. * * @since 1.10.0 * @var Context */ private $context; /** * Option API instance. * * @since 1.10.0 * @var Options */ protected $options; /** * Constructor. * * @since 1.10.0 * * @param Context $context Plugin context. * @param Options $options Optional. The Option API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.10.0 */ public function register() { add_action( 'googlesitekit_activation', function ( $network_wide ) { // Set activation flag. $this->set_activation_flag( $network_wide ); } ); add_filter( 'googlesitekit_admin_data', function ( $data ) { return $this->inline_js_admin_data( $data ); } ); } /** * Sets the flag that the plugin has just been activated. * * @since 1.10.0 Migrated from Activation class. * * @param bool $network_wide Whether the plugin is being activated network-wide. */ public function set_activation_flag( $network_wide ) { if ( $network_wide ) { update_network_option( null, self::OPTION_SHOW_ACTIVATION_NOTICE, '1' ); return; } update_option( self::OPTION_SHOW_ACTIVATION_NOTICE, '1', false ); } /** * Gets the flag that the plugin has just been activated. * * @since 1.10.0 Migrated from Activation class. * * @param bool $network_wide Whether to check the flag network-wide. * @return bool True if just activated, false otherwise. */ public function get_activation_flag( $network_wide ) { if ( $network_wide ) { return (bool) get_network_option( null, self::OPTION_SHOW_ACTIVATION_NOTICE ); } return (bool) get_option( self::OPTION_SHOW_ACTIVATION_NOTICE ); } /** * Deletes the flag that the plugin has just been activated. * * @since 1.10.0 Migrated from Activation class. * * @param bool $network_wide Whether the plugin is being activated network-wide. */ public function delete_activation_flag( $network_wide ) { if ( $network_wide ) { delete_network_option( null, self::OPTION_SHOW_ACTIVATION_NOTICE ); return; } delete_option( self::OPTION_SHOW_ACTIVATION_NOTICE ); } /** * Modifies the admin data to pass to JS. * * @since 1.10.0 Migrated from Activation class. * * @param array $data Inline JS data. * @return array Filtered $data. */ private function inline_js_admin_data( $data ) { $data['newSitePosts'] = $this->options->get( self::OPTION_NEW_SITE_POSTS ); return $data; } } includes/Core/Util/Activation_Notice.php 0000604 00000010155 14717744000 0014274 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Activation_Notice * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Admin\Notice; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Util\Requires_Javascript_Trait; /** * Class handling plugin activation. * * @since 1.10.0 Renamed from Activation. * @access private * @ignore */ final class Activation_Notice { use Requires_Javascript_Trait; /** * Plugin context. * * @since 1.10.0 * @var Context */ private $context; /** * Activation flag instance. * * @since 1.10.0 * @var Activation_Flag */ protected $activation_flag; /** * Assets API instance. * * @since 1.10.0 * @var Assets */ protected $assets; /** * Constructor. * * @since 1.10.0 * * @param Context $context Plugin context. * @param Activation_Flag $activation_flag Activation flag instance. * @param Assets $assets Optional. The Assets API instance. Default is a new instance. */ public function __construct( Context $context, Activation_Flag $activation_flag, Assets $assets = null ) { $this->context = $context; $this->activation_flag = $activation_flag; $this->assets = $assets ?: new Assets( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.10.0 */ public function register() { add_filter( 'googlesitekit_admin_notices', function ( $notices ) { $notices[] = $this->get_activation_notice(); return $notices; } ); add_action( 'admin_enqueue_scripts', function ( $hook_suffix ) { if ( 'plugins.php' !== $hook_suffix || ! $this->activation_flag->get_activation_flag( is_network_admin() ) ) { return; } /** * Prevent the default WordPress "Plugin Activated" notice from rendering. * * @link https://github.com/WordPress/WordPress/blob/e1996633228749cdc2d92bc04cc535d45367bfa4/wp-admin/plugins.php#L569-L570 */ unset( $_GET['activate'] ); // phpcs:ignore WordPress.Security.NonceVerification, WordPress.VIP.SuperGlobalInputUsage $this->assets->enqueue_asset( 'googlesitekit-admin-css' ); $this->assets->enqueue_asset( 'googlesitekit-activation' ); } ); } /** * Gets the admin notice indicating that the plugin has just been activated. * * @since 1.10.0 * * @return Notice Admin notice instance. */ private function get_activation_notice() { return new Notice( 'activated', array( 'content' => function () { ob_start(); ?> <div class="googlesitekit-plugin"> <?php $this->render_noscript_html(); ?> <div id="js-googlesitekit-activation" class="googlesitekit-activation googlesitekit-activation--loading"> <div class="googlesitekit-activation__loading"> <div role="progressbar" class="mdc-linear-progress mdc-linear-progress--indeterminate"> <div class="mdc-linear-progress__buffering-dots"></div> <div class="mdc-linear-progress__buffer"></div> <div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"> <span class="mdc-linear-progress__bar-inner"></span> </div> <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar"> <span class="mdc-linear-progress__bar-inner"></span> </div> </div> </div> </div> </div> <?php return ob_get_clean(); }, 'type' => Notice::TYPE_SUCCESS, 'active_callback' => function ( $hook_suffix ) { if ( 'plugins.php' !== $hook_suffix ) { return false; } $network_wide = is_network_admin(); $flag = $this->activation_flag->get_activation_flag( $network_wide ); if ( $flag ) { // Unset the flag so that the notice only shows once. $this->activation_flag->delete_activation_flag( $network_wide ); } return $flag; }, 'dismissible' => true, ) ); } } includes/Core/Util/Auto_Updates.php 0000604 00000010256 14717744000 0013271 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Auto_Updates * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use stdClass; /** * Utility class for auto-updates settings. * * @since 1.93.0 * @access private * @ignore */ class Auto_Updates { /** * Auto updated forced enabled. * * @since 1.93.0 * @var true */ const AUTO_UPDATE_FORCED_ENABLED = true; /** * Auto updated forced disabled. * * @since 1.93.0 * @var false */ const AUTO_UPDATE_FORCED_DISABLED = false; /** * Auto updated not forced. * * @since 1.93.0 * @var false */ const AUTO_UPDATE_NOT_FORCED = null; /** * Checks whether plugin auto-updates are enabled for the site. * * @since 1.93.0 * * @return bool `false` if auto-updates are disabled, `true` otherwise. */ public static function is_plugin_autoupdates_enabled() { if ( self::AUTO_UPDATE_FORCED_DISABLED === self::sitekit_forced_autoupdates_status() ) { return false; } if ( function_exists( 'wp_is_auto_update_enabled_for_type' ) ) { return wp_is_auto_update_enabled_for_type( 'plugin' ); } return false; } /** * Check whether the site has auto updates enabled for Site Kit. * * @since 1.93.0 * * @return bool `true` if auto updates are enabled, otherwise `false`. */ public static function is_sitekit_autoupdates_enabled() { if ( self::AUTO_UPDATE_FORCED_ENABLED === self::sitekit_forced_autoupdates_status() ) { return true; } if ( self::AUTO_UPDATE_FORCED_DISABLED === self::sitekit_forced_autoupdates_status() ) { return false; } $enabled_auto_updates = (array) get_site_option( 'auto_update_plugins', array() ); if ( ! $enabled_auto_updates ) { return false; } // Check if the Site Kit is in the list of auto-updated plugins. return in_array( GOOGLESITEKIT_PLUGIN_BASENAME, $enabled_auto_updates, true ); } /** * Checks whether auto-updates are forced for Site Kit. * * @since 1.93.0 * * @return bool|null */ public static function sitekit_forced_autoupdates_status() { if ( ! function_exists( 'wp_is_auto_update_forced_for_item' ) ) { return self::AUTO_UPDATE_NOT_FORCED; } if ( ! function_exists( 'get_plugin_data' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } $sitekit_plugin_data = get_plugin_data( GOOGLESITEKIT_PLUGIN_MAIN_FILE ); $sitekit_update_data = self::get_sitekit_update_data(); $item = (object) array_merge( $sitekit_plugin_data, $sitekit_update_data ); $is_auto_update_forced_for_sitekit = wp_is_auto_update_forced_for_item( 'plugin', null, $item ); if ( true === $is_auto_update_forced_for_sitekit ) { return self::AUTO_UPDATE_FORCED_ENABLED; } if ( false === $is_auto_update_forced_for_sitekit ) { return self::AUTO_UPDATE_FORCED_DISABLED; } return self::AUTO_UPDATE_NOT_FORCED; } /** * Merges plugin update data in the site transient with some default plugin data. * * @since 1.113.0 * * @return array Site Kit plugin update data. */ protected static function get_sitekit_update_data() { $sitekit_update_data = array( 'id' => 'w.org/plugins/' . dirname( GOOGLESITEKIT_PLUGIN_BASENAME ), 'slug' => dirname( GOOGLESITEKIT_PLUGIN_BASENAME ), 'plugin' => GOOGLESITEKIT_PLUGIN_BASENAME, 'new_version' => '', 'url' => '', 'package' => '', 'icons' => array(), 'banners' => array(), 'banners_rtl' => array(), 'tested' => '', 'requires_php' => GOOGLESITEKIT_PHP_MINIMUM, 'compatibility' => new stdClass(), ); $plugin_updates = get_site_transient( 'update_plugins' ); $transient_data = array(); if ( isset( $plugin_updates->noupdate[ GOOGLESITEKIT_PLUGIN_BASENAME ] ) ) { $transient_data = $plugin_updates->noupdate[ GOOGLESITEKIT_PLUGIN_BASENAME ]; } if ( isset( $plugin_updates->response[ GOOGLESITEKIT_PLUGIN_BASENAME ] ) ) { $transient_data = $plugin_updates->response[ GOOGLESITEKIT_PLUGIN_BASENAME ]; } return array_merge( $sitekit_update_data, (array) $transient_data ); } } includes/Core/Util/BC_Functions.php 0000604 00000011274 14717744000 0013211 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\BC_Functions * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use BadMethodCallException; use WP_REST_Request; /** * Class for providing backwards compatible core functions, without polyfilling. * * @since 1.7.0 * @access private * @ignore */ class BC_Functions { /** * Proxies calls to global functions, while falling back to the internal method by the same name. * * @since 1.7.0 * * @param string $function_name Function name to call. * @param array $arguments Arguments passed to function. * @return mixed * @throws BadMethodCallException Thrown if no method exists by the same name as the function. */ public static function __callStatic( $function_name, $arguments ) { if ( function_exists( $function_name ) ) { return call_user_func_array( $function_name, $arguments ); } if ( method_exists( __CLASS__, $function_name ) ) { return self::{ $function_name }( ...$arguments ); } throw new BadMethodCallException( "$function_name does not exist." ); } /** * Basic implementation of the wp_sanitize_script_attributes function introduced in the WordPress version 5.7.0. * * @since 1.41.0 * * @param array $attributes Key-value pairs representing `<script>` tag attributes. * @return string String made of sanitized `<script>` tag attributes. */ protected static function wp_sanitize_script_attributes( $attributes ) { $attributes_string = ''; foreach ( $attributes as $attribute_name => $attribute_value ) { if ( is_bool( $attribute_value ) ) { if ( $attribute_value ) { $attributes_string .= ' ' . esc_attr( $attribute_name ); } } else { $attributes_string .= sprintf( ' %1$s="%2$s"', esc_attr( $attribute_name ), esc_attr( $attribute_value ) ); } } return $attributes_string; } /** * A fallback for the wp_get_script_tag function introduced in the WordPress version 5.7.0. * * @since 1.41.0 * * @param array $attributes Key-value pairs representing `<script>` tag attributes. * @return string String containing `<script>` opening and closing tags. */ protected static function wp_get_script_tag( $attributes ) { return sprintf( "<script %s></script>\n", self::wp_sanitize_script_attributes( $attributes ) ); } /** * A fallback for the wp_print_script_tag function introduced in the WordPress version 5.7.0. * * @since 1.41.0 * * @param array $attributes Key-value pairs representing `<script>` tag attributes. */ protected static function wp_print_script_tag( $attributes ) { echo self::wp_get_script_tag( $attributes ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * A fallback for the wp_get_inline_script_tag function introduced in the WordPress version 5.7.0. * * @since 1.41.0 * * @param string $javascript Inline JavaScript code. * @param array $attributes Optional. Key-value pairs representing `<script>` tag attributes. * @return string String containing inline JavaScript code wrapped around `<script>` tag. */ protected static function wp_get_inline_script_tag( $javascript, $attributes = array() ) { $javascript = "\n" . trim( $javascript, "\n\r " ) . "\n"; return sprintf( "<script%s>%s</script>\n", self::wp_sanitize_script_attributes( $attributes ), $javascript ); } /** * A fallback for the wp_get_inline_script_tag function introduced in the WordPress version 5.7.0. * * @since 1.41.0 * * @param string $javascript Inline JavaScript code. * @param array $attributes Optional. Key-value pairs representing `<script>` tag attributes. */ protected static function wp_print_inline_script_tag( $javascript, $attributes = array() ) { echo self::wp_get_inline_script_tag( $javascript, $attributes ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * A fallback for the wp_get_sidebar function introduced in the WordPress version 5.9.0. * * Retrieves the registered sidebar with the given ID. * * @since 1.86.0 * * @global array $wp_registered_sidebars The registered sidebars. * * @param string $id The sidebar ID. * @return array|null The discovered sidebar, or null if it is not registered. */ protected static function wp_get_sidebar( $id ) { global $wp_registered_sidebars; foreach ( (array) $wp_registered_sidebars as $sidebar ) { if ( $sidebar['id'] === $id ) { return $sidebar; } } if ( 'wp_inactive_widgets' === $id ) { return array( 'id' => 'wp_inactive_widgets', 'name' => __( 'Inactive widgets', 'default' ), ); } return null; } } includes/Core/Util/Collection_Key_Cap_Filter.php 0000604 00000002603 14717744000 0015664 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Collection_Key_Cap_Filter * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for filtering a specific key of a collection based on a capability. * * @since 1.77.0 * @access private * @ignore */ class Collection_Key_Cap_Filter { /** * Collection key. * * @since 1.77.0 * @var string */ private $key; /** * Capability. * * @since 1.77.0 * @var string */ private $cap; /** * Constructor. * * @since 1.77.0. * * @param string $key Target collection key to filter. * @param string $capability Required capability to filter by. */ public function __construct( $key, $capability ) { $this->key = $key; $this->cap = $capability; } /** * Filters the given value of a specific key in each item of the given collection * based on the key and capability. * * @since 1.77.0 * * @param array[] $collection Array of arrays. * @return array[] Filtered collection. */ public function filter_key_by_cap( array $collection ) { foreach ( $collection as $meta_arg => &$value ) { if ( ! current_user_can( $this->cap, $meta_arg ) ) { unset( $value[ $this->key ] ); } } return $collection; } } includes/Core/Util/Date.php 0000604 00000003672 14717744000 0011555 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\URL * * @package Google\Site_Kit\Core\Util * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for custom date parsing methods. * * @since 1.99.0 * @access private * @ignore */ class Date { /** * Parses a date range string into a start date and an end date. * * @since 1.99.0 * * @param string $range Date range string. Either 'last-7-days', 'last-14-days', 'last-90-days', or * 'last-28-days' (default). * @param string $multiplier Optional. How many times the date range to get. This value can be specified if the * range should be request multiple times back. Default 1. * @param int $offset Days the range should be offset by. Default 1. Used by Search Console where * data is delayed by two days. * @param bool $previous Whether to select the previous period. Default false. * @return array List with two elements, the first with the start date and the second with the end date, both as 'Y-m-d'. */ public static function parse_date_range( $range, $multiplier = 1, $offset = 1, $previous = false ) { preg_match( '*-(\d+)-*', $range, $matches ); $number_of_days = $multiplier * ( isset( $matches[1] ) ? $matches[1] : 28 ); // Calculate the end date. For previous period requests, offset period by the number of days in the request. $end_date_offset = $previous ? $offset + $number_of_days : $offset; $date_end = gmdate( 'Y-m-d', strtotime( $end_date_offset . ' days ago' ) ); // Set the start date. $start_date_offset = $end_date_offset + $number_of_days - 1; $date_start = gmdate( 'Y-m-d', strtotime( $start_date_offset . ' days ago' ) ); return array( $date_start, $date_end ); } } includes/Core/Util/Developer_Plugin_Installer.php 0000604 00000012706 14717744000 0016156 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\DeveloperPluginInstaller * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * Class responsible for providing the helper plugin via the automatic updater. * * @since 1.3.0 */ class Developer_Plugin_Installer { const SLUG = 'google-site-kit-dev-settings'; /** * Plugin context. * * @since 1.3.0 * @var Context */ private $context; /** * Constructor. * * @since 1.3.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.3.0 */ public function register() { // Only filter plugins API response if the developer plugin is not already active. if ( ! defined( 'GOOGLESITEKITDEVSETTINGS_VERSION' ) ) { add_filter( 'plugins_api', function ( $value, $action, $args ) { return $this->plugin_info( $value, $action, $args ); }, 10, 3 ); } add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets related REST routes. * * @since 1.3.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_setup = function () { return current_user_can( Permissions::SETUP ); }; return array( new REST_Route( 'core/site/data/developer-plugin', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $is_active = defined( 'GOOGLESITEKITDEVSETTINGS_VERSION' ); $installed = $is_active; $slug = self::SLUG; $plugin = "$slug/$slug.php"; if ( ! $is_active ) { if ( ! function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } foreach ( array_keys( get_plugins() ) as $installed_plugin ) { if ( $installed_plugin === $plugin ) { $installed = true; break; } } } // Alternate wp_nonce_url without esc_html breaking query parameters. $nonce_url = function ( $action_url, $action ) { return add_query_arg( '_wpnonce', wp_create_nonce( $action ), $action_url ); }; $activate_url = $nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $plugin ), 'activate-plugin_' . $plugin ); $install_url = $nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug ); return new WP_REST_Response( array( 'active' => $is_active, 'installed' => $installed, 'activateURL' => current_user_can( 'activate_plugin', $plugin ) ? esc_url_raw( $activate_url ) : false, 'installURL' => current_user_can( 'install_plugins' ) ? esc_url_raw( $install_url ) : false, 'configureURL' => $is_active ? esc_url_raw( $this->context->admin_url( 'dev-settings' ) ) : false, ) ); }, 'permission_callback' => $can_setup, ), ) ), ); } /** * Retrieves plugin information data from the Site Kit REST API. * * @since 1.3.0 * * @param false|object|array $value The result object or array. Default false. * @param string $action The type of information being requested from the Plugin Installation API. * @param object $args Plugin API arguments. * @return false|object|array Updated $value, or passed-through $value on failure. */ private function plugin_info( $value, $action, $args ) { if ( 'plugin_information' !== $action || self::SLUG !== $args->slug ) { return $value; } $data = $this->fetch_plugin_data(); if ( ! $data ) { return $value; } $new_data = array( 'slug' => self::SLUG, 'name' => $data['name'], 'version' => $data['version'], 'author' => '<a href="https://opensource.google.com">Google</a>', 'download_link' => $data['download_url'], 'trunk' => $data['download_url'], 'tested' => $data['tested'], 'requires' => $data['requires'], 'requires_php' => $data['requires_php'], 'last_updated' => $data['last_updated'], ); if ( ! empty( $data['icons'] ) ) { $new_data['icons'] = $data['icons']; } if ( ! empty( $data['banners'] ) ) { $new_data['banners'] = $data['banners']; } if ( ! empty( $data['banners_rtl'] ) ) { $new_data['banners_rtl'] = $data['banners_rtl']; } return (object) $new_data; } /** * Gets plugin data from the API. * * @since 1.3.0 * @since 1.99.0 Update plugin data to pull from GCS bucket. * * @return array|null Associative array of plugin data, or null on failure. */ private function fetch_plugin_data() { // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get $response = wp_remote_get( 'https://storage.googleapis.com/site-kit-dev-plugins/google-site-kit-dev-settings/updates.json' ); // Retrieve data from the body and decode json format. return json_decode( wp_remote_retrieve_body( $response ), true ); } } includes/Core/Util/Entity_Factory.php 0000604 00000051324 14717744000 0013640 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Entity_Factory * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Plugin; use WP_Query; use WP_Post; use WP_Term; use WP_User; use WP_Post_Type; use WP_Screen; /** * Class providing access to entities. * * This class entirely relies on WordPress core behavior and is technically decoupled from Site Kit. For example, * entities returned by this factory rely on the regular WordPress home URL and ignore Site Kit-specific details, such * as an alternative "reference site URL". * * Instead of relying on this class directly, use {@see Context::get_reference_entity()} or * {@see Context::get_reference_entity_from_url()}. * * @since 1.15.0 * @access private * @ignore */ final class Entity_Factory { /** * Gets the entity for the current WordPress context, if available. * * @since 1.15.0 * * @return Entity|null The entity for the current context, or null if none could be determined. */ public static function from_context() { global $wp_the_query; // If currently in WP admin, run admin-specific checks. if ( is_admin() ) { $screen = get_current_screen(); if ( ! $screen instanceof WP_Screen || 'post' !== $screen->base ) { return null; } $post = get_post(); if ( $post instanceof WP_Post && self::is_post_public( $post ) ) { return self::create_entity_for_post( $post, 1 ); } return null; } // Otherwise, run frontend-specific `WP_Query` logic. if ( $wp_the_query instanceof WP_Query ) { $entity = self::from_wp_query( $wp_the_query ); $request_uri = Plugin::instance()->context()->input()->filter( INPUT_SERVER, 'REQUEST_URI' ); return self::maybe_convert_to_amp_entity( $request_uri, $entity ); } return null; } /** * Gets the entity for the given URL, if available. * * Calling this method is expensive, so it should only be used in certain admin contexts where this is acceptable. * * @since 1.15.0 * * @param string $url URL to determine the entity from. * @return Entity|null The entity for the URL, or null if none could be determined. */ public static function from_url( $url ) { $query = WP_Query_Factory::from_url( $url ); if ( ! $query ) { return null; } $query->get_posts(); $entity = self::from_wp_query( $query ); return self::maybe_convert_to_amp_entity( $url, $entity ); } /** * Gets the entity for the given `WP_Query` object, if available. * * @since 1.15.0 * * @param WP_Query $query WordPress query object. Must already have run the actual database query. * @return Entity|null The entity for the query, or null if none could be determined. */ public static function from_wp_query( WP_Query $query ) { // A singular post (possibly the static front page). if ( $query->is_singular() ) { $post = $query->get_queried_object(); if ( $post instanceof WP_Post && self::is_post_public( $post ) ) { return self::create_entity_for_post( $post, self::get_query_pagenum( $query, 'page' ) ); } return null; } $page = self::get_query_pagenum( $query ); // The blog. if ( $query->is_home() ) { // The blog is either the front page... if ( $query->is_front_page() ) { return self::create_entity_for_front_blog( $page ); } // ...or it is a separate post assigned as 'page_for_posts'. return self::create_entity_for_posts_blog( $page ); } // A taxonomy term archive. if ( $query->is_category() || $query->is_tag() || $query->is_tax() ) { $term = $query->get_queried_object(); if ( $term instanceof WP_Term ) { return self::create_entity_for_term( $term, $page ); } } // An author archive. if ( $query->is_author() ) { $user = $query->get_queried_object(); if ( $user instanceof WP_User ) { return self::create_entity_for_author( $user, $page ); } } // A post type archive. if ( $query->is_post_type_archive() ) { $post_type = $query->get( 'post_type' ); if ( is_array( $post_type ) ) { $post_type = reset( $post_type ); } $post_type_object = get_post_type_object( $post_type ); if ( $post_type_object instanceof WP_Post_Type ) { return self::create_entity_for_post_type( $post_type_object, $page ); } } // A date-based archive. if ( $query->is_date() ) { $queried_post = self::get_first_query_post( $query ); if ( ! $queried_post ) { return null; } if ( $query->is_year() ) { return self::create_entity_for_date( $queried_post, 'year', $page ); } if ( $query->is_month() ) { return self::create_entity_for_date( $queried_post, 'month', $page ); } if ( $query->is_day() ) { return self::create_entity_for_date( $queried_post, 'day', $page ); } // Time archives are not covered for now. While they can theoretically be used in WordPress, they // aren't fully supported, and WordPress does not link to them anywhere. return null; } return null; } /** * Creates the entity for a given post object. * * @since 1.15.0 * @since 1.68.0 Method access modifier changed to public. * * @param WP_Post $post A WordPress post object. * @param int $page Page number. * @return Entity The entity for the post. */ public static function create_entity_for_post( WP_Post $post, $page ) { $url = self::paginate_post_url( get_permalink( $post ), $post, $page ); return new Entity( urldecode( $url ), array( 'type' => 'post', 'title' => $post->post_title, 'id' => $post->ID, ) ); } /** * Creates the entity for the posts page blog archive. * * This method should only be used when the blog is handled via a separate page, i.e. when 'show_on_front' is set * to 'page' and the 'page_for_posts' option is set. In this case the blog is technically a post itself, therefore * its entity also includes an ID. * * @since 1.15.0 * * @param int $page Page number. * @return Entity|null The entity for the posts blog archive, or null if not set. */ private static function create_entity_for_posts_blog( $page ) { $post_id = (int) get_option( 'page_for_posts' ); if ( ! $post_id ) { return null; } $post = get_post( $post_id ); if ( ! $post ) { return null; } return new Entity( self::paginate_entity_url( get_permalink( $post ), $page ), array( 'type' => 'blog', 'title' => $post->post_title, 'id' => $post->ID, ) ); } /** * Creates the entity for the front page blog archive. * * This method should only be used when the front page is set to display the * blog archive, i.e. is not technically a post itself. * * @since 1.15.0 * * @param int $page Page number. * @return Entity The entity for the front blog archive. */ private static function create_entity_for_front_blog( $page ) { // The translation string intentionally omits the 'google-site-kit' text domain since it should use // WordPress core translations. return new Entity( self::paginate_entity_url( user_trailingslashit( home_url() ), $page ), array( 'type' => 'blog', 'title' => __( 'Home', 'default' ), ) ); } /** * Creates the entity for a given term object, i.e. for a taxonomy term archive. * * @since 1.15.0 * * @param WP_Term $term A WordPress term object. * @param int $page Page number. * @return Entity The entity for the term. */ private static function create_entity_for_term( WP_Term $term, $page ) { // See WordPress's `get_the_archive_title()` function for this behavior. The strings here intentionally omit // the 'google-site-kit' text domain since they should use WordPress core translations. switch ( $term->taxonomy ) { case 'category': $title = $term->name; $prefix = _x( 'Category:', 'category archive title prefix', 'default' ); break; case 'post_tag': $title = $term->name; $prefix = _x( 'Tag:', 'tag archive title prefix', 'default' ); break; case 'post_format': $prefix = ''; switch ( $term->slug ) { case 'post-format-aside': $title = _x( 'Asides', 'post format archive title', 'default' ); break; case 'post-format-gallery': $title = _x( 'Galleries', 'post format archive title', 'default' ); break; case 'post-format-image': $title = _x( 'Images', 'post format archive title', 'default' ); break; case 'post-format-video': $title = _x( 'Videos', 'post format archive title', 'default' ); break; case 'post-format-quote': $title = _x( 'Quotes', 'post format archive title', 'default' ); break; case 'post-format-link': $title = _x( 'Links', 'post format archive title', 'default' ); break; case 'post-format-status': $title = _x( 'Statuses', 'post format archive title', 'default' ); break; case 'post-format-audio': $title = _x( 'Audio', 'post format archive title', 'default' ); break; case 'post-format-chat': $title = _x( 'Chats', 'post format archive title', 'default' ); break; } break; default: $tax = get_taxonomy( $term->taxonomy ); $title = $term->name; $prefix = sprintf( /* translators: %s: Taxonomy singular name. */ _x( '%s:', 'taxonomy term archive title prefix', 'default' ), $tax->labels->singular_name ); } return new Entity( self::paginate_entity_url( get_term_link( $term ), $page ), array( 'type' => 'term', 'title' => self::prefix_title( $title, $prefix ), 'id' => $term->term_id, ) ); } /** * Creates the entity for a given user object, i.e. for an author archive. * * @since 1.15.0 * * @param WP_User $user A WordPress user object. * @param int $page Page number. * @return Entity The entity for the user. */ private static function create_entity_for_author( WP_User $user, $page ) { // See WordPress's `get_the_archive_title()` function for this behavior. The string here intentionally omits // the 'google-site-kit' text domain since it should use WordPress core translations. $title = $user->display_name; $prefix = _x( 'Author:', 'author archive title prefix', 'default' ); return new Entity( self::paginate_entity_url( get_author_posts_url( $user->ID, $user->user_nicename ), $page ), array( 'type' => 'user', 'title' => self::prefix_title( $title, $prefix ), 'id' => $user->ID, ) ); } /** * Creates the entity for a given post type object. * * @since 1.15.0 * * @param WP_Post_Type $post_type A WordPress post type object. * @param int $page Page number. * @return Entity The entity for the post type. */ private static function create_entity_for_post_type( WP_Post_Type $post_type, $page ) { // See WordPress's `get_the_archive_title()` function for this behavior. The string here intentionally omits // the 'google-site-kit' text domain since it should use WordPress core translations. $title = $post_type->labels->name; $prefix = _x( 'Archives:', 'post type archive title prefix', 'default' ); return new Entity( self::paginate_entity_url( get_post_type_archive_link( $post_type->name ), $page ), array( 'type' => 'post_type', 'title' => self::prefix_title( $title, $prefix ), ) ); } /** * Creates the entity for a date-based archive. * * The post specified has to any post from the query, in order to extract the relevant date information. * * @since 1.15.0 * * @param WP_Post $queried_post A WordPress post object from the query. * @param string $type Type of the date-based archive. Either 'year', 'month', or 'day'. * @param int $page Page number. * @return Entity|null The entity for the date archive, or null if unable to parse date. */ private static function create_entity_for_date( WP_Post $queried_post, $type, $page ) { // See WordPress's `get_the_archive_title()` function for this behavior. The strings here intentionally omit // the 'google-site-kit' text domain since they should use WordPress core translations. switch ( $type ) { case 'year': $prefix = _x( 'Year:', 'date archive title prefix', 'default' ); $format = _x( 'Y', 'yearly archives date format', 'default' ); $url_func = 'get_year_link'; $url_func_format = 'Y'; break; case 'month': $prefix = _x( 'Month:', 'date archive title prefix', 'default' ); $format = _x( 'F Y', 'monthly archives date format', 'default' ); $url_func = 'get_month_link'; $url_func_format = 'Y/m'; break; default: $type = 'day'; $prefix = _x( 'Day:', 'date archive title prefix', 'default' ); $format = _x( 'F j, Y', 'daily archives date format', 'default' ); $url_func = 'get_day_link'; $url_func_format = 'Y/m/j'; } $title = get_post_time( $format, false, $queried_post, true ); $url_func_args = get_post_time( $url_func_format, false, $queried_post ); if ( ! $url_func_args ) { return null; // Unable to parse date, likely there is none set. } $url_func_args = array_map( 'absint', explode( '/', $url_func_args ) ); return new Entity( self::paginate_entity_url( call_user_func_array( $url_func, $url_func_args ), $page ), array( 'type' => $type, 'title' => self::prefix_title( $title, $prefix ), ) ); } /** * Checks whether a given post is public, i.e. has a public URL. * * @since 1.15.0 * * @param WP_Post $post A WordPress post object. * @return bool True if the post is public, false otherwise. */ private static function is_post_public( WP_Post $post ) { // If post status isn't 'publish', the post is not public. if ( 'publish' !== get_post_status( $post ) ) { return false; } // If the post type overall is not publicly viewable, the post is not public. if ( ! is_post_type_viewable( $post->post_type ) ) { return false; } // Otherwise, the post is public. return true; } /** * Gets the first post from a WordPress query. * * @since 1.15.0 * * @param WP_Query $query WordPress query object. Must already have run the actual database query. * @return WP_Post|null WordPress post object, or null if none found. */ private static function get_first_query_post( WP_Query $query ) { if ( ! $query->posts ) { return null; } $post = reset( $query->posts ); if ( $post instanceof WP_Post ) { return $post; } if ( is_numeric( $post ) ) { return get_post( $post ); } return null; } /** * Combines an entity title and prefix. * * This is based on the WordPress core function `get_the_archive_title()`. * * @since 1.15.0 * * @param string $title The title. * @param string $prefix The prefix to add, should end in a colon. * @return string Resulting entity title. */ private static function prefix_title( $title, $prefix ) { if ( empty( $prefix ) ) { return $title; } // See WordPress's `get_the_archive_title()` function for this behavior. The string here intentionally omits // the 'google-site-kit' text domain since it should use WordPress core translations. return sprintf( /* translators: 1: Title prefix. 2: Title. */ _x( '%1$s %2$s', 'archive title', 'default' ), $prefix, $title ); } /** * Converts given entity to AMP entity if the given URL is an AMP URL. * * @since 1.42.0 * * @param string $url URL to determine the entity from. * @param Entity $entity The initial entity. * @return Entity The initial or new entity for the given URL. */ private static function maybe_convert_to_amp_entity( $url, $entity ) { if ( is_null( $entity ) || ! defined( 'AMP__VERSION' ) ) { return $entity; } $url_parts = URL::parse( $url ); $current_url = $entity->get_url(); if ( ! empty( $url_parts['query'] ) ) { $url_query_params = array(); wp_parse_str( $url_parts['query'], $url_query_params ); // check if the $url has amp query param. if ( array_key_exists( 'amp', $url_query_params ) ) { $new_url = add_query_arg( 'amp', '1', $current_url ); return self::convert_to_amp_entity( $new_url, $entity ); } } if ( ! empty( $url_parts['path'] ) ) { // We need to correctly add trailing slash if the original url had trailing slash. // That's the reason why we need to check for both version. if ( '/amp' === substr( $url_parts['path'], -4 ) ) { // -strlen('/amp') is -4 $new_url = untrailingslashit( $current_url ) . '/amp'; return self::convert_to_amp_entity( $new_url, $entity ); } if ( '/amp/' === substr( $url_parts['path'], -5 ) ) { // -strlen('/amp/') is -5 $new_url = untrailingslashit( $current_url ) . '/amp/'; return self::convert_to_amp_entity( $new_url, $entity ); } } return $entity; } /** * Converts given entity to AMP entity by changing the entity URL and adding correct mode. * * @since 1.42.0 * * @param string $new_url URL of the new entity. * @param Entity $entity The initial entity. * @return Entity The new entity. */ private static function convert_to_amp_entity( $new_url, $entity ) { $new_entity = new Entity( $new_url, array( 'id' => $entity->get_id(), 'type' => $entity->get_type(), 'title' => $entity->get_title(), 'mode' => 'amp_secondary', ) ); return $new_entity; } /** * Gets the page number for a query, via the specified query var. Defaults to 1. * * @since 1.68.0 * * @param WP_Query $query A WordPress query object. * @param string $query_var Optional. Query var to look for, expects 'paged' or 'page'. Default 'paged'. * @return int The page number. */ private static function get_query_pagenum( $query, $query_var = 'paged' ) { return $query->get( $query_var ) ? (int) $query->get( $query_var ) : 1; } /** * Paginates an entity URL. * * Logic extracted from `paginate_links` in WordPress core. * https://github.com/WordPress/WordPress/blob/7f5d7f1b56087c3eb718da4bd81deb06e077bbbb/wp-includes/general-template.php#L4203 * * @since 1.68.0 * * @param string $url The URL to paginate. * @param int $pagenum The page number to add to the URL. * @return string The paginated URL. */ private static function paginate_entity_url( $url, $pagenum ) { global $wp_rewrite; if ( 1 === $pagenum ) { return $url; } // Setting up default values based on the given URL. $url_parts = explode( '?', $url ); // Append the format placeholder to the base URL. $base = trailingslashit( $url_parts[0] ) . '%_%'; // URL base depends on permalink settings. $format = $wp_rewrite->using_index_permalinks() && ! strpos( $base, 'index.php' ) ? 'index.php/' : ''; $format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( $wp_rewrite->pagination_base . '/%#%', 'paged' ) : '?paged=%#%'; // Array of query args to add. $add_args = array(); // Merge additional query vars found in the original URL into 'add_args' array. if ( isset( $url_parts[1] ) ) { // Find the format argument. $format_parts = explode( '?', str_replace( '%_%', $format, $base ) ); $format_query = isset( $format_parts[1] ) ? $format_parts[1] : ''; wp_parse_str( $format_query, $format_args ); // Find the query args of the requested URL. $url_query_args = array(); wp_parse_str( $url_parts[1], $url_query_args ); // Remove the format argument from the array of query arguments, to avoid overwriting custom format. foreach ( $format_args as $format_arg => $format_arg_value ) { unset( $url_query_args[ $format_arg ] ); } $add_args = array_merge( $add_args, urlencode_deep( $url_query_args ) ); } $link = str_replace( '%_%', $format, $base ); $link = str_replace( '%#%', $pagenum, $link ); if ( $add_args ) { $link = add_query_arg( $add_args, $link ); } return $link; } /** * Paginates a post URL. * * Logic extracted from `_wp_link_page` in WordPress core. * https://github.com/WordPress/WordPress/blob/7f5d7f1b56087c3eb718da4bd81deb06e077bbbb/wp-includes/post-template.php#L1031 * * @since 1.68.0 * * @param string $url The URL to paginate. * @param WP_Post $post The WordPress post object. * @param int $pagenum The page number to add to the URL. * @return string The paginated URL. */ private static function paginate_post_url( $url, $post, $pagenum ) { global $wp_rewrite; if ( 1 === $pagenum ) { return $url; } if ( ! get_option( 'permalink_structure' ) || in_array( $post->post_status, array( 'draft', 'pending' ), true ) ) { $url = add_query_arg( 'page', $pagenum, $url ); } elseif ( 'page' === get_option( 'show_on_front' ) && (int) get_option( 'page_on_front' ) === (int) $post->ID ) { $url = trailingslashit( $url ) . user_trailingslashit( "$wp_rewrite->pagination_base/" . $pagenum, 'single_paged' ); } else { $url = trailingslashit( $url ) . user_trailingslashit( $pagenum, 'single_paged' ); } return $url; } } includes/Core/Util/Entity.php 0000604 00000006316 14717744000 0012152 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Entity * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class representing an entity. * * An entity in Site Kit terminology is based on a canonical URL, i.e. every * canonical frontend URL has an associated entity. * * An entity may also have a type, if it can be determined. * Possible types are e.g. 'post' for a WordPress post (of any post type!), * 'term' for a WordPress term (of any taxonomy!), 'blog' for the blog archive, * 'date' for a date-based archive etc. * * For specific entity types, the entity will also have a title, and it may * even have an ID. For example: * * For a type of 'post', the entity ID will be the post ID and the entity * title will be the post title. * * For a type of 'term', the entity ID will be the term ID and the entity * title will be the term title. * * For a type of 'date', there will be no entity ID, but the entity title * will be the title of the date-based archive. * * @since 1.7.0 * @access private * @ignore */ final class Entity { /** * The entity URL. * * @since 1.7.0 * @var string */ private $url; /** * The entity type. * * @since 1.7.0 * @var string */ private $type; /** * The entity title. * * @since 1.7.0 * @var string */ private $title; /** * The entity ID. * * @since 1.7.0 * @var int */ private $id; /** * Entity URL sub-variant. * * @since 1.42.0 * @var string */ private $mode; /** * Constructor. * * @since 1.7.0 * * @param string $url The entity URL. * @param array $args { * Optional. Additional entity arguments. * * @type string $type The entity type. * @type string $title The entity title. * @type int $id The entity ID. * @type string $mode Entity URL sub-variant. * } */ public function __construct( $url, array $args = array() ) { $args = array_merge( array( 'type' => '', 'title' => '', 'id' => 0, 'mode' => '', ), $args ); $this->url = $url; $this->type = (string) $args['type']; $this->title = (string) $args['title']; $this->id = (int) $args['id']; $this->mode = (string) $args['mode']; } /** * Gets the entity URL. * * @since 1.7.0 * * @return string The entity URL. */ public function get_url() { return $this->url; } /** * Gets the entity type. * * @since 1.7.0 * * @return string The entity type, or empty string if unknown. */ public function get_type() { return $this->type; } /** * Gets the entity title. * * @since 1.7.0 * * @return string The entity title, or empty string if unknown. */ public function get_title() { return $this->title; } /** * Gets the entity ID. * * @since 1.7.0 * * @return int The entity ID, or 0 if unknown. */ public function get_id() { return $this->id; } /** * Gets the entity URL sub-variant. * * @since 1.42.0 * * @return string The entity title, or empty string if unknown. */ public function get_mode() { return $this->mode; } } includes/Core/Util/Exit_Handler.php 0000604 00000001504 14717744000 0013236 0 ustar 00 <?php /** * Exit_Handler * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Exit_Handler class. * * @since 1.1.0 * @access private * @ignore */ class Exit_Handler { /** * Invokes the handler. * * @since 1.1.0 */ public function invoke() { $callback = static function () { exit; }; if ( defined( 'GOOGLESITEKIT_TESTS' ) ) { /** * Allows the callback to be filtered during tests. * * @since 1.1.0 * @param \Closure $callback Exit handler callback. */ $callback = apply_filters( 'googlesitekit_exit_handler', $callback ); } if ( $callback instanceof \Closure ) { $callback(); } } } includes/Core/Util/Feature_Flags.php 0000604 00000004336 14717744000 0013405 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Feature_Flags * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use ArrayAccess; /** * Class for interacting with feature flag configuration. * * @since 1.22.0 * @access private * @ignore */ class Feature_Flags { /** * Feature flag definitions. * * @since 1.22.0 * @var array|ArrayAccess */ private static $features = array(); /** * Checks if the given feature is enabled. * * @since 1.22.0 * * @param string $feature Feature key path to check. * @return bool */ public static function enabled( $feature ) { if ( ! $feature || ! is_string( $feature ) || empty( static::$features ) ) { return false; } /** * Filters a feature flag's status (on or off). * * Mainly this is used by E2E tests to allow certain features to be disabled or * enabled for testing, but is also useful to switch features on/off on-the-fly. * * @since 1.25.0 * * @param bool $feature_enabled The current status of this feature flag (`true` or `false`). * @param string $feature The feature name. */ return apply_filters( 'googlesitekit_is_feature_enabled', false, $feature ); } /** * Gets all enabled feature flags. * * @since 1.25.0 * * @return string[] An array of all enabled features. */ public static function get_enabled_features() { $enabled_features = array(); foreach ( static::$features as $feature_name ) { if ( static::enabled( $feature_name ) ) { $enabled_features[] = $feature_name; } } return $enabled_features; } /** * Sets the feature configuration. * * @since 1.22.0 * * @param array|ArrayAccess $features Feature configuration. */ public static function set_features( $features ) { if ( is_array( $features ) || $features instanceof ArrayAccess ) { static::$features = $features; } } /** * Gets all available feature flags. * * @since 1.26.0 * * @return array An array of all available features. */ public static function get_available_features() { return static::$features; } } includes/Core/Util/Google_Icon.php 0000604 00000003123 14717744000 0013053 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Google_Icon * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for the Google SVG Icon * * @since 1.28.0 * @access private * @ignore */ final class Google_Icon { /** * We use fill="white" as a placeholder attribute that we replace in with_fill() * to match the colorscheme that the user has set. * * See the comment in includes/Core/Admin/Screen.php::add() for more information. */ const XML = '<svg width="20" height="20" viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M17.6 8.5h-7.5v3h4.4c-.4 2.1-2.3 3.5-4.4 3.4-2.6-.1-4.6-2.1-4.7-4.7-.1-2.7 2-5 4.7-5.1 1.1 0 2.2.4 3.1 1.2l2.3-2.2C14.1 2.7 12.1 2 10.2 2c-4.4 0-8 3.6-8 8s3.6 8 8 8c4.6 0 7.7-3.2 7.7-7.8-.1-.6-.1-1.1-.3-1.7z" fillrule="evenodd" cliprule="evenodd"></path></svg>'; /** * Returns a base64 encoded version of the SVG. * * @since 1.28.0 * * @param string $source SVG icon source. * @return string Base64 representation of SVG */ public static function to_base64( $source = self::XML ) { return base64_encode( $source ); } /** * Returns SVG XML with fill color replaced. * * @since 1.28.0 * * @param string $color Any valid color for css, either word or hex code. * @return string SVG XML with the fill color replaced */ public static function with_fill( $color ) { return str_replace( 'white', esc_attr( $color ), self::XML ); } } includes/Core/Util/Google_URL_Matcher_Trait.php 0000604 00000006030 14717744000 0015433 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Util\Google_URL_Matcher_Trait * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Trait for matching URLs and domains for Google Site Verification and Search Console. * * @since 1.6.0 * @access private * @ignore */ trait Google_URL_Matcher_Trait { /** * Compares two URLs for whether they qualify for a Site Verification or Search Console URL match. * * In order for the URLs to be considered a match, they have to be fully equal, except for a potential * trailing slash in one of them, which will be ignored. * * @since 1.6.0 * * @param string $url The URL. * @param string $compare The URL to compare. * @return bool True if the URLs are considered a match, false otherwise. */ protected function is_url_match( $url, $compare ) { $url = untrailingslashit( $url ); $compare = untrailingslashit( $compare ); $url_normalizer = new Google_URL_Normalizer(); $url = $url_normalizer->normalize_url( $url ); $compare = $url_normalizer->normalize_url( $compare ); return $url === $compare; } /** * Compares two domains for whether they qualify for a Site Verification or Search Console domain match. * * The value to compare may be either a domain or a full URL. If the latter, its scheme and a potential trailing * slash will be stripped out before the comparison. * * In order for the comparison to be considered a match then, the domains have to fully match, except for a * potential "www." prefix, which will be ignored. If the value to compare is a full URL and includes a path other * than just a trailing slash, it will not be a match. * * @since 1.6.0 * * @param string $domain A domain. * @param string $compare The domain or URL to compare. * @return bool True if the URLs/domains are considered a match, false otherwise. */ protected function is_domain_match( $domain, $compare ) { $domain = $this->strip_domain_www( $domain ); $compare = $this->strip_domain_www( $this->strip_url_scheme( untrailingslashit( $compare ) ) ); $url_normalizer = new Google_URL_Normalizer(); $domain = $url_normalizer->normalize_url( $domain ); $compare = $url_normalizer->normalize_url( $compare ); return $domain === $compare; } /** * Strips the scheme from a URL. * * @since 1.6.0 * * @param string $url URL with or without scheme. * @return string The passed $url without its scheme. */ protected function strip_url_scheme( $url ) { return preg_replace( '#^(\w+:)?//#', '', $url ); } /** * Strips the "www." prefix from a domain. * * @since 1.6.0 * * @param string $domain Domain with or without "www." prefix. * @return string The passed $domain without "www." prefix. */ protected function strip_domain_www( $domain ) { return preg_replace( '/^www\./', '', $domain ); } } includes/Core/Util/Google_URL_Normalizer.php 0000604 00000003145 14717744000 0015033 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Google_URL_Normalizer * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class handling URL normalization for comparisons and API requests. * * @since 1.18.0 * @access private * @ignore */ final class Google_URL_Normalizer { /** * Normalizes a URL by converting to all lowercase, converting Unicode characters * to punycode, and removing bidirectional control characters. * * @since 1.18.0 * * @param string $url The URL or domain to normalize. * @return string The normalized URL or domain. */ public function normalize_url( $url ) { // Remove bidirectional control characters. $url = preg_replace( array( '/\xe2\x80\xac/', '/\xe2\x80\xab/' ), '', $url ); $url = $this->decode_unicode_url_or_domain( $url ); $url = strtolower( $url ); return $url; } /** * Returns the Punycode version of a Unicode URL or domain name. * * @since 1.18.0 * * @param string $url The URL or domain name to decode. */ protected function decode_unicode_url_or_domain( $url ) { $encoder_class = class_exists( '\WpOrg\Requests\IdnaEncoder' ) ? '\WpOrg\Requests\IdnaEncoder' : '\Requests_IDNAEncoder'; $parts = URL::parse( $url ); if ( ! $parts || ! isset( $parts['host'] ) || '' === $parts['host'] ) { return $encoder_class::encode( $url ); } $decoded_host = $encoder_class::encode( $parts['host'] ); return str_replace( $parts['host'], $decoded_host, $url ); } } includes/Core/Util/Health_Checks.php 0000604 00000007702 14717744000 0013363 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Health_Checks * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Exception; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole as Google_Service_SearchConsole; use Google\Site_Kit_Dependencies\Google_Service_Exception; use WP_REST_Server; /** * Class for performing health checks. * * @since 1.14.0 * @access private * @ignore */ class Health_Checks { /** * Authentication instance. * * @var Authentication */ protected $authentication; /** * Google_Proxy instance. * * @var Google_Proxy */ protected $google_proxy; /** * Constructor. * * @param Authentication $authentication Authentication instance. */ public function __construct( Authentication $authentication ) { $this->authentication = $authentication; $this->google_proxy = $authentication->get_google_proxy(); } /** * Registers functionality through WordPress hooks. * * @since 1.14.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $rest_routes ) { $health_check_routes = $this->get_rest_routes(); return array_merge( $rest_routes, $health_check_routes ); } ); } /** * Gets all health check REST routes. * * @since 1.14.0 * * @return REST_Route[] List of REST_Route objects. */ private function get_rest_routes() { return array( new REST_Route( 'core/site/data/health-checks', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $checks = array( 'googleAPI' => $this->check_google_api(), 'skService' => $this->check_service_connectivity(), ); return compact( 'checks' ); }, 'permission_callback' => function () { return current_user_can( Permissions::VIEW_SHARED_DASHBOARD ) || current_user_can( Permissions::SETUP ); }, ), ) ), ); } /** * Checks connection to Google APIs. * * @since 1.14.0 * * @return array Results data. */ private function check_google_api() { $client = $this->authentication->get_oauth_client()->get_client(); $restore_defer = $client->withDefer( false ); $error_msg = ''; // Make a request to the Search API. // This request is bound to fail but this is okay as long as the error response comes // from a Google API endpoint (Google_Service_exception). The test is only intended // to check that the server is capable of connecting to the Google API (at all) // regardless of valid authentication, which will likely be missing here. try { ( new Google_Service_SearchConsole( $client ) )->sites->listSites(); $pass = true; } catch ( Google_Service_Exception $e ) { if ( ! empty( $e->getErrors() ) ) { $pass = true; } else { $pass = false; $error_msg = $e->getMessage(); } } catch ( Exception $e ) { $pass = false; $error_msg = $e->getMessage(); } $restore_defer(); return array( 'pass' => $pass, 'errorMsg' => $error_msg, ); } /** * Checks connection to Site Kit service. * * @since 1.85.0 * * @return array Results data. */ private function check_service_connectivity() { $service_url = $this->google_proxy->url(); $response = wp_remote_head( $service_url ); if ( is_wp_error( $response ) ) { return array( 'pass' => false, 'errorMsg' => $response->get_error_message(), ); } $status_code = wp_remote_retrieve_response_code( $response ); $pass = is_int( $status_code ) && $status_code < 400; return array( 'pass' => $pass, 'errorMsg' => $pass ? '' : 'connection_fail', ); } } includes/Core/Util/Input.php 0000604 00000005412 14717744000 0011771 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Input * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for input superglobal access. * * @since 1.1.2 * @access private * @ignore */ class Input { /** * Map of input type to superglobal array. * * For use as fallback only. * * @since 1.1.4 * @var array */ protected $fallback_map; /** * Constructor. * * @since 1.1.4 */ public function __construct() { // Fallback map for environments where filter_input may not work with ENV or SERVER types. $this->fallback_map = array( INPUT_ENV => $_ENV, INPUT_SERVER => $_SERVER, // phpcs:ignore WordPress.VIP.SuperGlobalInputUsage ); } /** * Gets a specific external variable by name and optionally filters it. * * @since 1.1.2 * @since 1.92.0 Changed default value of $options parameter to 0. * * @link https://php.net/manual/en/function.filter-input.php * * @param int $type One of INPUT_GET, INPUT_POST, INPUT_COOKIE, INPUT_SERVER, or INPUT_ENV. * @param string $variable_name Name of a variable to get. * @param int $filter [optional] The ID of the filter to apply. The manual page lists the available filters. * @param mixed $options [optional] Associative array of options or bitwise disjunction of flags. * If filter accepts options, flags can be provided in "flags" field of array. * @return mixed Value of the requested variable on success, * FALSE if the filter fails, * NULL if the $variable_name variable is not set. * * If the flag FILTER_NULL_ON_FAILURE is used, it returns FALSE if the variable is not set * and NULL if the filter fails. */ public function filter( $type, $variable_name, $filter = FILTER_DEFAULT, $options = 0 ) { $value = filter_input( $type, $variable_name, $filter, $options ); // Fallback for environments where filter_input may not work with specific types. if ( // Only use this fallback for affected input types. isset( $this->fallback_map[ $type ] ) // Only use the fallback if the value is not-set (could be either depending on FILTER_NULL_ON_FAILURE). && in_array( $value, array( null, false ), true ) // Only use the fallback if the key exists in the input map. && array_key_exists( $variable_name, $this->fallback_map[ $type ] ) ) { return filter_var( $this->fallback_map[ $type ][ $variable_name ], $filter, $options ); } return $value; } } includes/Core/Util/Method_Proxy_Trait.php 0000604 00000002136 14717744000 0014456 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Method_Proxy_Trait * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; trait Method_Proxy_Trait { /** * Gets a proxy function for a class method. * * @since 1.17.0 * * @param string $method Method name. * @return callable A proxy function. */ private function get_method_proxy( $method ) { return function ( ...$args ) use ( $method ) { return $this->{ $method }( ...$args ); }; } /** * Gets a proxy function for a class method which can be executed only once. * * @since 1.24.0 * * @param string $method Method name. * @return callable A proxy function. */ private function get_method_proxy_once( $method ) { return function ( ...$args ) use ( $method ) { static $called; static $return_value; if ( ! $called ) { $called = true; $return_value = $this->{ $method }( ...$args ); } return $return_value; }; } } includes/Core/Util/Migrate_Legacy_Keys.php 0000604 00000002125 14717744000 0014537 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Util\Migrate_Legacy_Keys * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Trait for a class that migrates array keys from old to new. * * @since 1.2.0 * @access private * @ignore */ trait Migrate_Legacy_Keys { /** * Migrates legacy array keys to the current key. * * @since 1.2.0 * * @param array $legacy_array Input associative array to migrate keys for. * @param array $key_mapping Map of legacy key to current key. * @return array Updated array. */ protected function migrate_legacy_keys( array $legacy_array, array $key_mapping ) { foreach ( $key_mapping as $legacy_key => $current_key ) { if ( ! isset( $legacy_array[ $current_key ] ) && isset( $legacy_array[ $legacy_key ] ) ) { $legacy_array[ $current_key ] = $legacy_array[ $legacy_key ]; } unset( $legacy_array[ $legacy_key ] ); } return $legacy_array; } } includes/Core/Util/Migration_1_123_0.php 0000604 00000011045 14717744000 0013646 0 ustar 00 <?php /** * Migration for 1.123.0 * * @package Google\Site_Kit\Core\Util * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Modules\Module_Sharing_Settings; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Modules\Analytics_4\Settings as Analytics_Settings; /** * Class Migration_1_123_0 * * @since 1.123.0 * @access private * @ignore */ class Migration_1_123_0 { /** * Target DB version. */ const DB_VERSION = '1.123.0'; /** * DB version option name. */ const DB_VERSION_OPTION = 'googlesitekit_db_version'; /** * Legacy analytics module slug. */ const LEGACY_ANALYTICS_MODULE_SLUG = 'analytics'; /** * Legacy analytics option name. */ const LEGACY_ANALYTICS_OPTION = 'googlesitekit_analytics_settings'; /** * Context instance. * * @since 1.123.0 * @var Context */ protected $context; /** * Options instance. * * @since 1.123.0 * @var Options */ protected $options; /** * Analytics_Settings instance. * * @since 1.123.0 * @var Analytics_Settings */ protected $analytics_settings; /** * Constructor. * * @since 1.123.0 * * @param Context $context Plugin context instance. * @param Options $options Optional. Options instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $this->options = $options ?: new Options( $context ); $this->analytics_settings = new Analytics_Settings( $this->options ); } /** * Registers hooks. * * @since 1.123.0 */ public function register() { add_action( 'admin_init', array( $this, 'migrate' ) ); } /** * Migrates the DB. * * @since 1.123.0 */ public function migrate() { $db_version = $this->options->get( self::DB_VERSION_OPTION ); if ( ! $db_version || version_compare( $db_version, self::DB_VERSION, '<' ) ) { $this->migrate_legacy_analytics_settings(); $this->activate_analytics(); $this->migrate_legacy_analytics_sharing_settings(); $this->options->set( self::DB_VERSION_OPTION, self::DB_VERSION ); } } /** * Migrates the legacy analytics settings over to analytics-4. * * @since 1.123.0 */ protected function migrate_legacy_analytics_settings() { if ( ! $this->analytics_settings->has() ) { return; } $legacy_settings = $this->options->get( self::LEGACY_ANALYTICS_OPTION ); if ( empty( $legacy_settings ) ) { return; } $recovered_settings = array(); $options_to_migrate = array( 'accountID', 'adsConversionID', 'trackingDisabled', ); array_walk( $options_to_migrate, function ( $setting ) use ( &$recovered_settings, $legacy_settings ) { $recovered_settings[ $setting ] = $legacy_settings[ $setting ]; } ); if ( ! empty( $recovered_settings ) ) { $this->analytics_settings->merge( $recovered_settings ); } } /** * Activates the analytics-4 module if the legacy analytics module was active. * * @since 1.123.0 */ protected function activate_analytics() { $option = $this->options->get( Modules::OPTION_ACTIVE_MODULES ); // Check legacy option. if ( ! is_array( $option ) ) { $option = $this->options->get( 'googlesitekit-active-modules' ); } if ( ! is_array( $option ) ) { return; } $analytics_active = in_array( Analytics_4::MODULE_SLUG, $option, true ); // If analytics-4 is already active, bail. if ( $analytics_active ) { return; } $legacy_analytics_active = in_array( self::LEGACY_ANALYTICS_MODULE_SLUG, $option, true ); if ( $legacy_analytics_active ) { $option[] = Analytics_4::MODULE_SLUG; $this->options->set( Modules::OPTION_ACTIVE_MODULES, $option ); } } /** * Replicates sharing settings from the legacy analytics module to analytics-4. * * @since 1.123.0 */ protected function migrate_legacy_analytics_sharing_settings() { $option = $this->options->get( Module_Sharing_Settings::OPTION ); if ( ! is_array( $option ) ) { return; } // If sharing settings for analytics-4 already exist, bail. if ( isset( $option[ Analytics_4::MODULE_SLUG ] ) ) { return; } if ( isset( $option[ self::LEGACY_ANALYTICS_MODULE_SLUG ] ) ) { $option[ Analytics_4::MODULE_SLUG ] = $option[ self::LEGACY_ANALYTICS_MODULE_SLUG ]; $this->options->set( Module_Sharing_Settings::OPTION, $option ); } } } includes/Core/Util/Migration_1_129_0.php 0000604 00000010015 14717744000 0013650 0 ustar 00 <?php /** * Migration for Conversion ID. * * @package Google\Site_Kit\Core\Util * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Modules\Modules; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Modules\Analytics_4\Settings as Analytics_Settings; use Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Modules\Ads\Settings as Ads_Settings; /** * Class Migration_1_129_0 * * @since 1.129.0 * @access private * @ignore */ class Migration_1_129_0 { /** * Target DB version. */ const DB_VERSION = '1.129.0'; /** * DB version option name. */ const DB_VERSION_OPTION = 'googlesitekit_db_version'; /** * Context instance. * * @since 1.129.0 * @var Context */ protected $context; /** * Options instance. * * @since 1.129.0 * @var Options */ protected $options; /** * Analytics_Settings instance. * * @since 1.129.0 * @var Analytics_Settings */ protected $analytics_settings; /** * Ads_Settings instance. * * @since 1.129.0 * @var Ads_Settings */ protected $ads_settings; /** * Constructor. * * @since 1.129.0 * * @param Context $context Plugin context instance. * @param Options $options Optional. Options instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $this->options = $options ?: new Options( $context ); $this->analytics_settings = new Analytics_Settings( $this->options ); $this->ads_settings = new Ads_Settings( $this->options ); } /** * Registers hooks. * * @since 1.129.0 */ public function register() { add_action( 'admin_init', array( $this, 'migrate' ) ); } /** * Migrates the DB. * * @since 1.129.0 */ public function migrate() { $db_version = $this->options->get( self::DB_VERSION_OPTION ); if ( ! $db_version || version_compare( $db_version, self::DB_VERSION, '<' ) ) { $this->migrate_analytics_conversion_id_setting(); $this->activate_ads_module(); $this->options->set( self::DB_VERSION_OPTION, self::DB_VERSION ); } } /** * Migrates the Ads Conversion ID to the new Ads module. * * @since 1.129.0 */ protected function migrate_analytics_conversion_id_setting() { if ( ! $this->analytics_settings->has() ) { return; } $analytics_settings = $this->analytics_settings->get(); if ( empty( $analytics_settings ) || ! array_key_exists( 'adsConversionID', $analytics_settings ) || empty( $analytics_settings['adsConversionID'] ) ) { return; } $ads_settings = $this->ads_settings->get(); if ( array_key_exists( 'conversionID', $ads_settings ) && ! empty( $ads_settings['conversionID'] ) ) { // If there is already an adsConversionID set in the Ads module, do not overwrite it, remove it from the Analytics module. unset( $analytics_settings['adsConversionID'] ); $this->analytics_settings->set( $analytics_settings ); return; } $ads_settings['conversionID'] = $analytics_settings['adsConversionID']; $this->ads_settings->set( $ads_settings ); unset( $analytics_settings['adsConversionID'] ); $analytics_settings['adsConversionIDMigratedAtMs'] = time() * 1000; $this->analytics_settings->set( $analytics_settings ); } /** * Activates the ads module if the Ads Conversion ID was previously set. * * @since 1.129.0 */ protected function activate_ads_module() { $active_modules = $this->options->get( Modules::OPTION_ACTIVE_MODULES ); if ( is_array( $active_modules ) && in_array( 'ads', $active_modules, true ) ) { return; } $ads_settings = $this->ads_settings->get(); // Activate the Ads module if the Ads Conversion ID was previously set // and the Ads module is not already active. if ( ! empty( $ads_settings['conversionID'] ) ) { $active_modules[] = Ads::MODULE_SLUG; $this->options->set( Modules::OPTION_ACTIVE_MODULES, $active_modules ); } } } includes/Core/Util/Migration_1_3_0.php 0000604 00000005734 14717744000 0013513 0 ustar 00 <?php /** * Migration for 1.3.0 * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Tracking\Tracking_Consent; /** * Class Migration_1_3_0 * * @since 1.3.0 * @access private * @ignore */ class Migration_1_3_0 { /** * Target DB version. */ const DB_VERSION = '1.3.0'; /** * Context instance. * * @var Context */ protected $context; /** * Options instance. * * @var Options */ protected $options; /** * User_Options instance. * * @var User_Options */ protected $user_options; /** * Constructor. * * @since 1.3.0 * * @param Context $context Plugin context instance. * @param Options $options Optional. Options instance. * @param User_Options $user_options Optional. User_Options instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null ) { $this->context = $context; $this->options = $options ?: new Options( $context ); $this->user_options = $user_options ?: new User_Options( $context ); } /** * Registers hooks. * * @since 1.3.0 */ public function register() { add_action( 'admin_init', array( $this, 'migrate' ) ); } /** * Migrates the DB. * * @since 1.3.0 */ public function migrate() { $db_version = $this->options->get( 'googlesitekit_db_version' ); if ( ! $db_version || version_compare( $db_version, self::DB_VERSION, '<' ) ) { $this->migrate_tracking_opt_in(); $this->options->set( 'googlesitekit_db_version', self::DB_VERSION ); } } /** * Migrates the global tracking opt-in to a user option. * * @since 1.3.0 * @since 1.4.0 Migrates preference for up to 20 users. */ private function migrate_tracking_opt_in() { // Only migrate if tracking was opted-in. if ( $this->options->get( Tracking_Consent::OPTION ) ) { $backup_user_id = $this->user_options->get_user_id(); foreach ( $this->get_authenticated_users() as $user_id ) { $this->user_options->switch_user( $user_id ); $this->user_options->set( Tracking_Consent::OPTION, 1 ); } $this->user_options->switch_user( $backup_user_id ); } } /** * Gets the authenticated users connected to Site Kit. * * @since 1.4.0 * * @return string[] User IDs of authenticated users. Maximum of 20. */ private function get_authenticated_users() { return get_users( array( 'meta_key' => $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ), // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_compare' => 'EXISTS', 'number' => 20, 'fields' => 'ID', ) ); } } includes/Core/Util/Migration_1_8_1.php 0000604 00000015544 14717744000 0013521 0 ustar 00 <?php /** * Migration for 1.8.1 * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Profile; use Google\Site_Kit\Core\Authentication\Verification_File; use Google\Site_Kit\Core\Authentication\Verification_Meta; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use WP_User; use WP_Error; /** * Class Migration_1_8_1 * * @since 1.8.1 * @access private * @ignore */ class Migration_1_8_1 { /** * Target DB version. */ const DB_VERSION = '1.8.1'; /** * Context instance. * * @since 1.8.1 * @var Context */ protected $context; /** * Options instance. * * @since 1.8.1 * @var Options */ protected $options; /** * User_Options instance. * * @since 1.8.1 * @var User_Options */ protected $user_options; /** * Authentication instance. * * @since 1.8.1 * @var Authentication */ protected $authentication; /** * Constructor. * * @since 1.8.1 * * @param Context $context Plugin context instance. * @param Options $options Optional. Options instance. * @param User_Options $user_options Optional. User_Options instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Authentication $authentication = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); $this->user_options = $user_options ?: new User_Options( $this->context ); $this->authentication = $authentication ?: new Authentication( $this->context, $this->options, $this->user_options ); } /** * Registers hooks. * * @since 1.8.1 */ public function register() { add_action( 'admin_init', array( $this, 'migrate' ) ); } /** * Migrates the DB. * * @since 1.8.1 */ public function migrate() { $db_version = $this->options->get( 'googlesitekit_db_version' ); // Do not run if database version already updated. if ( $db_version && version_compare( $db_version, self::DB_VERSION, '>=' ) ) { return; } // Only run routine if using the authentication service, otherwise it // is irrelevant. if ( ! $this->authentication->credentials()->using_proxy() ) { return; } // Only run routine once site credentials present, otherwise it is not // possible to connect to the authentication service. if ( ! $this->authentication->credentials()->has() ) { return; } $this->clear_and_flag_unauthorized_verified_users(); // Update database version. $this->options->set( 'googlesitekit_db_version', self::DB_VERSION ); } /** * Checks whether there are any users that are verified without proper * authorization, clear their Site Kit data, and flag them on the * authentication service. * * @since 1.8.1 * * @return boolean|WP_Error True on success, WP_Error on failure. */ private function clear_and_flag_unauthorized_verified_users() { // Detect all unauthorized verified users and clean their Site Kit data. $unauthorized_identifiers = $this->clear_unauthorized_verified_users(); // If no unauthorized verified users found, all is well, no need to // show a notification. if ( empty( $unauthorized_identifiers ) ) { return true; } // Flag site as affected so that the notification to inform and explain // steps to resolve will be shown. $credentials = $this->authentication->credentials()->get(); $google_proxy = new Google_Proxy( $this->context ); $response = wp_remote_post( $google_proxy->url( '/notifications/mark/' ), array( 'body' => array( 'site_id' => $credentials['oauth2_client_id'], 'site_secret' => $credentials['oauth2_client_secret'], 'notification_id' => 'verification_leak', 'notification_state' => 'required', // This is a special parameter only supported for this // particular notification. 'identifiers' => implode( ',', $unauthorized_identifiers ), ), ) ); if ( is_wp_error( $response ) ) { return $response; } $response_code = wp_remote_retrieve_response_code( $response ); if ( 200 !== $response_code ) { $body = wp_remote_retrieve_body( $response ); $decoded = json_decode( $body, true ); return new WP_Error( $response_code, ! empty( $decoded['error'] ) ? $decoded['error'] : $body ); } return true; } /** * Checks for any users that are verified without proper authorization and * clears all their Site Kit data. * * @since 1.8.1 * * @return array List of email addresses for the unauthorized users. */ private function clear_unauthorized_verified_users() { global $wpdb; $unauthorized_identifiers = array(); $profile = new Profile( $this->user_options ); // Store original user ID to switch back later. $backup_user_id = $this->user_options->get_user_id(); // Iterate through all users verified via Site Kit. foreach ( $this->get_verified_user_ids() as $user_id ) { $this->user_options->switch_user( $user_id ); // If the user has setup access, there is no problem. if ( user_can( $user_id, Permissions::SETUP ) ) { continue; } // Try to get profile email, otherwise fall back to WP email. if ( $this->authentication->profile()->has() ) { $unauthorized_identifiers[] = $this->authentication->profile()->get()['email']; } else { $user = get_user_by( 'id', $user_id ); $unauthorized_identifiers[] = $user->user_email; } $prefix = $this->user_options->get_meta_key( 'googlesitekit\_%' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key LIKE %s", $user_id, $prefix ) ); wp_cache_delete( $user_id, 'user_meta' ); } // Restore original user ID. $this->user_options->switch_user( $backup_user_id ); return $unauthorized_identifiers; } /** * Gets all user IDs that are verified via Site Kit. * * @since @1.31.0 * * @return array List of user ids of verified users. Maximum of 20. */ private function get_verified_user_ids() { global $wpdb; // phpcs:ignore WordPress.DB.DirectDatabaseQuery return $wpdb->get_col( $wpdb->prepare( "SELECT user_id FROM $wpdb->usermeta WHERE meta_key IN (%s, %s) LIMIT 20", $this->user_options->get_meta_key( Verification_File::OPTION ), $this->user_options->get_meta_key( Verification_Meta::OPTION ) ) ); } } includes/Core/Util/Requires_Javascript_Trait.php 0000604 00000002134 14717744000 0016020 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Util\Requires_Javascript_Trait * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Trait to display no javascript fallback message. * * @since 1.5.0 * @access private * @ignore */ trait Requires_Javascript_Trait { /** * Outputs a fallback message when Javascript is disabled. * * @since 1.5.0 */ protected function render_noscript_html() { ?> <noscript> <div class="googlesitekit-noscript notice notice-warning"> <div class="mdc-layout-grid"> <div class="mdc-layout-grid__inner"> <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-12"> <p class="googlesitekit-noscript__text"> <?php esc_html_e( 'The Site Kit by Google plugin requires JavaScript to be enabled in your browser.', 'google-site-kit' ) ?> </p> </div> </div> </div> </div> </noscript> <?php } } includes/Core/Util/Reset_Persistent.php 0000604 00000001232 14717744000 0014170 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Reset_Persistent * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class providing functions to reset the persistent plugin settings. * * @since 1.27.0 * @access private * @ignore */ class Reset_Persistent extends Reset { /** * MySQL key pattern for all persistent Site Kit keys. */ const KEY_PATTERN = 'googlesitekitpersistent\_%'; /** * REST API endpoint. */ const REST_ROUTE = 'core/site/data/reset-persistent'; } includes/Core/Util/Reset.php 0000604 00000016530 14717744000 0011757 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Reset * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * Class providing functions to reset the plugin. * * @since 1.0.0 * @since 1.1.1 Removed delete_all_plugin_options(), delete_all_user_metas() and delete_all_transients() methods. * @access private * @ignore */ class Reset { /** * MySQL key pattern for all Site Kit keys. */ const KEY_PATTERN = 'googlesitekit\_%'; /** * REST API endpoint. */ const REST_ROUTE = 'core/site/data/reset'; /** * Action for triggering a reset. */ const ACTION = 'googlesitekit_reset'; /** * Plugin context. * * @since 1.0.0 * @var Context */ private $context; /** * Gets the URL to handle a reset action. * * @since 1.30.0 * * @return string */ public static function url() { return add_query_arg( array( 'action' => static::ACTION, 'nonce' => wp_create_nonce( static::ACTION ), ), admin_url( 'index.php' ) ); } /** * Constructor. * * @since 1.0.0 * @since 1.1.1 Removed $options and $transients params. * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.3.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_action( 'admin_action_' . static::ACTION, function () { $this->handle_reset_action( $this->context->input()->filter( INPUT_GET, 'nonce' ) ); } ); } /** * Deletes options, user stored options, transients and clears object cache for stored options. * * @since 1.0.0 */ public function all() { $this->delete_options( 'site' ); $this->delete_user_options( 'site' ); $this->delete_post_meta( 'site' ); if ( $this->context->is_network_mode() ) { $this->delete_options( 'network' ); $this->delete_user_options( 'network' ); $this->delete_post_meta( 'network' ); } wp_cache_flush(); } /** * Deletes all Site Kit options and transients. * * @since 1.3.0 * * @param string $scope Scope of the deletion ('site' or 'network'). */ private function delete_options( $scope ) { global $wpdb; if ( 'site' === $scope ) { list ( $table_name, $column_name, $transient_prefix ) = array( $wpdb->options, 'option_name', '_transient_' ); } elseif ( 'network' === $scope ) { list ( $table_name, $column_name, $transient_prefix ) = array( $wpdb->sitemeta, 'meta_key', '_site_transient_' ); } else { return; } // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->query( $wpdb->prepare( /* phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared */ " DELETE FROM {$table_name} WHERE {$column_name} LIKE %s OR {$column_name} LIKE %s OR {$column_name} LIKE %s OR {$column_name} = %s ", /* phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared */ static::KEY_PATTERN, $transient_prefix . static::KEY_PATTERN, $transient_prefix . 'timeout_' . static::KEY_PATTERN, 'googlesitekit-active-modules' ) ); } /** * Deletes all Site Kit user options. * * @param string $scope Scope of the deletion ('site' or 'network'). */ private function delete_user_options( $scope ) { global $wpdb; if ( 'site' === $scope ) { $meta_prefix = $wpdb->get_blog_prefix(); } elseif ( 'network' === $scope ) { $meta_prefix = ''; } else { return; } // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE %s", $meta_prefix . static::KEY_PATTERN ) ); } /** * Deletes all Site Kit post meta settings. * * @since 1.33.0 * * @param string $scope Scope of the deletion ('site' or 'network'). */ private function delete_post_meta( $scope ) { global $wpdb; $sites = array(); if ( 'network' === $scope ) { $sites = get_sites( array( 'fields' => 'ids', 'number' => 9999999, ) ); } else { $sites[] = get_current_blog_id(); } foreach ( $sites as $site_id ) { $prefix = $wpdb->get_blog_prefix( $site_id ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->query( $wpdb->prepare( "DELETE FROM {$prefix}postmeta WHERE `meta_key` LIKE %s", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared static::KEY_PATTERN ) ); } } /** * Gets related REST routes. * * @since 1.3.0 * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_setup = function () { return current_user_can( Permissions::SETUP ); }; return array( new REST_Route( static::REST_ROUTE, array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function () { $this->all(); $this->maybe_hard_reset(); // Call hooks on plugin reset. This is used to reset the ad blocking recovery notification. do_action( 'googlesitekit_reset' ); return new WP_REST_Response( true ); }, 'permission_callback' => $can_setup, ), ) ), ); } /** * Handles the reset admin action. * * @since 1.30.0 * * @param string $nonce WP nonce for action. */ private function handle_reset_action( $nonce ) { if ( ! wp_verify_nonce( $nonce, static::ACTION ) ) { $authentication = new Authentication( $this->context ); $authentication->invalid_nonce_error( static::ACTION ); } if ( ! current_user_can( Permissions::SETUP ) ) { wp_die( esc_html__( 'You don’t have permissions to set up Site Kit.', 'google-site-kit' ), 403 ); } // Call hooks on plugin reset. This is used to reset the ad blocking recovery notification. do_action( 'googlesitekit_reset' ); $this->all(); $this->maybe_hard_reset(); wp_safe_redirect( $this->context->admin_url( 'splash', array( // Trigger client-side storage reset. 'googlesitekit_reset_session' => 1, // Show reset-success notification. 'notification' => 'reset_success', ) ) ); exit; } /** * Performs hard reset if it is enabled programmatically. * * @since 1.46.0 */ public function maybe_hard_reset() { /** * Filters the hard reset option, which is `false` by default. * * By default, when Site Kit is reset it does not delete "persistent" data * (options prefixed with `googlesitekitpersistent_`). If this filter returns `true`, * all options belonging to Site Kit, including those with the above "persistent" * prefix, will be deleted. * * @since 1.46.0 * * @param bool $hard_reset_enabled If a hard reset is enabled. `false` by default. */ $hard_reset_enabled = apply_filters( 'googlesitekit_hard_reset_enabled', false ); if ( ! $hard_reset_enabled ) { return; } $reset_persistent = new Reset_Persistent( $this->context ); $reset_persistent->all(); } } includes/Core/Util/REST_Entity_Search_Controller.php 0000604 00000006530 14717744000 0016475 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\REST_Entity_Search_Controller * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * Class for handling entity search REST routes. * * @since 1.68.0 * @access private * @ignore */ class REST_Entity_Search_Controller { /** * Plugin context. * * @since 1.68.0 * @var Context */ private $context; /** * Constructor. * * @since 1.68.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Registers functionality through WordPress hooks. * * @since 1.68.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets REST route instances. * * @since 1.68.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_search = function () { return current_user_can( Permissions::AUTHENTICATE ) || current_user_can( Permissions::VIEW_SHARED_DASHBOARD ); }; return array( new REST_Route( 'core/search/data/entity-search', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function ( WP_REST_Request $request ) { $query = rawurldecode( $request['query'] ); $entities = array(); if ( filter_var( $query, FILTER_VALIDATE_URL ) ) { $entity = $this->context->get_reference_entity_from_url( $query ); if ( $entity && $entity->get_id() ) { $entities = array( array( 'id' => $entity->get_id(), 'title' => $entity->get_title(), 'url' => $entity->get_url(), 'type' => $entity->get_type(), ), ); } } else { $args = array( 'posts_per_page' => 10, 'google-site-kit' => 1, 's' => $query, 'no_found_rows' => true, 'update_post_meta_cache' => false, 'update_post_term_cache' => false, 'post_status' => array( 'publish' ), ); $posts = ( new \WP_Query( $args ) )->posts; if ( ! empty( $posts ) ) { $entities = array_map( function ( $post ) { $entity = Entity_Factory::create_entity_for_post( $post, 1 ); return array( 'id' => $entity->get_id(), 'title' => $entity->get_title(), 'url' => $entity->get_url(), 'type' => $entity->get_type(), ); }, $posts ); } } return new WP_REST_Response( $entities ); }, 'permission_callback' => $can_search, ), ), array( 'args' => array( 'query' => array( 'type' => 'string', 'description' => __( 'Text content to search for.', 'google-site-kit' ), 'required' => true, ), ), ) ), ); } } includes/Core/Util/Sanitize.php 0000604 00000002054 14717744000 0012457 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Sanitize * * @package Google\Site_Kit\Core\Util * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Utility class for sanitizing data. * * @since 1.93.0 * @access private * @ignore */ class Sanitize { /** * Filters empty or non-string elements from a given array. * * @since 1.93.0 * * @param array $elements Array to check. * @return array Empty array or a filtered array containing only non-empty strings. */ public static function sanitize_string_list( $elements = array() ) { if ( ! is_array( $elements ) ) { $elements = array( $elements ); } if ( empty( $elements ) ) { return array(); } $filtered_elements = array_filter( $elements, function ( $element ) { return is_string( $element ) && ! empty( $element ); } ); // Avoid index gaps for filtered values. return array_values( $filtered_elements ); } } includes/Core/Util/Scopes.php 0000604 00000005137 14717744000 0012132 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Scopes * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Utility class for handling generic OAuth scope functions. * * @since 1.9.0 * @access private * @ignore */ class Scopes { /** * Mapping of requested scope to satisfying scopes. * * @since 1.9.0 * * @var array */ protected static $map = array( 'https://www.googleapis.com/auth/adsense.readonly' => array( 'https://www.googleapis.com/auth/adsense', ), 'https://www.googleapis.com/auth/analytics.readonly' => array( 'requires_all' => true, 'https://www.googleapis.com/auth/analytics', 'https://www.googleapis.com/auth/analytics.edit', ), 'https://www.googleapis.com/auth/tagmanager.readonly' => array( 'https://www.googleapis.com/auth/tagmanager.edit.containers', ), 'https://www.googleapis.com/auth/webmasters.readonly' => array( 'https://www.googleapis.com/auth/webmasters', ), ); /** * Tests if the given scope is satisfied by the given list of granted scopes. * * @since 1.9.0 * * @param string $scope OAuth scope to test for. * @param string[] $granted_scopes Available OAuth scopes to test the individual scope against. * @return bool True if the given scope is satisfied, otherwise false. */ public static function is_satisfied_by( $scope, array $granted_scopes ) { if ( in_array( $scope, $granted_scopes, true ) ) { return true; } if ( empty( self::$map[ $scope ] ) ) { return false; } $satisfying_scopes = array_filter( self::$map[ $scope ], 'is_string' ); if ( ! empty( self::$map[ $scope ]['requires_all'] ) ) { // Return true if all satisfying scopes are present, otherwise false. return ! array_diff( $satisfying_scopes, $granted_scopes ); } // Return true if any of the scopes are present, otherwise false. return (bool) array_intersect( $satisfying_scopes, $granted_scopes ); } /** * Tests if all the given scopes are satisfied by the list of granted scopes. * * @since 1.9.0 * * @param string[] $scopes OAuth scopes to test. * @param string[] $granted_scopes OAuth scopes to test $scopes against. * @return bool True if all given scopes are satisfied, otherwise false. */ public static function are_satisfied_by( array $scopes, array $granted_scopes ) { foreach ( $scopes as $scope ) { if ( ! self::is_satisfied_by( $scope, $granted_scopes ) ) { return false; } } return true; } } includes/Core/Util/Sort.php 0000604 00000002143 14717744000 0011617 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Sort * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Utility class for sorting lists. * * @since 1.90.0 * @access private * @ignore */ class Sort { /** * Sorts the provided list in a case-insensitive manner. * * @since 1.90.0 * * @param array $list_to_sort The list to sort. * @param string $orderby The field by which the list should be ordered by. * * @return array The sorted list. */ public static function case_insensitive_list_sort( array $list_to_sort, $orderby ) { usort( $list_to_sort, function ( $a, $b ) use ( $orderby ) { if ( is_array( $a ) && is_array( $b ) ) { return strcasecmp( $a[ $orderby ], $b[ $orderby ] ); } if ( is_object( $a ) && is_object( $b ) ) { return strcasecmp( $a->$orderby, $b->$orderby ); } return 0; } ); return $list_to_sort; } } includes/Core/Util/Synthetic_WP_Query.php 0000604 00000010126 14717744000 0014435 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Synthetic_WP_Query * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use WP_Query; use WP_Post; /** * Class extending WordPress core's `WP_Query` for more self-contained behavior. * * @since 1.16.0 * @access private * @ignore */ final class Synthetic_WP_Query extends WP_Query { /** * The hash of the `$query` last parsed into `$query_vars`. * * @since 1.16.0 * @var string */ private $parsed_query_hash = ''; /** * Whether automatic 404 detection in `get_posts()` method is enabled. * * @since 1.16.0 * @var bool */ private $enable_404_detection = false; /** * Sets whether 404 detection in `get_posts()` method should be enabled. * * @since 1.16.0 * * @param bool $enable Whether or not to enable 404 detection. */ public function enable_404_detection( $enable ) { $this->enable_404_detection = (bool) $enable; } /** * Initiates object properties and sets default values. * * @since 1.16.0 */ public function init() { parent::init(); $this->parsed_query_hash = ''; } /** * Extends `WP_Query::parse_query()` to ensure it is not unnecessarily run twice. * * @since 1.16.0 * * @param string|array $query Optional. Array or string of query parameters. See `WP_Query::parse_query()`. */ public function parse_query( $query = '' ) { if ( ! empty( $query ) ) { $query_to_hash = wp_parse_args( $query ); } elseif ( ! isset( $this->query ) ) { $query_to_hash = $this->query_vars; } else { $query_to_hash = $this->query; } // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize $query_hash = md5( serialize( $query_to_hash ) ); // If this query was parsed before, bail early. if ( $query_hash === $this->parsed_query_hash ) { return; } parent::parse_query( $query ); // Set query hash for current `$query` and `$query_vars` properties. $this->parsed_query_hash = $query_hash; } /** * Extends `WP_Query::get_posts()` to include supplemental logic such as detecting a 404 state. * * The majority of the code is a copy of `WP::handle_404()`. * * @since 1.16.0 * * @return WP_Post[]|int[] Array of post objects or post IDs. */ public function get_posts() { $results = parent::get_posts(); // If 404 detection is not enabled, just return the results. if ( ! $this->enable_404_detection ) { return $results; } // Check if this is a single paginated post query. if ( $this->posts && $this->is_singular() && $this->post && ! empty( $this->query_vars['page'] ) ) { // If the post is actually paged and the 'page' query var is within bounds, it's all good. $next = '<!--nextpage-->'; if ( false !== strpos( $this->post->post_content, $next ) && (int) trim( $this->query_vars['page'], '/' ) <= ( substr_count( $this->post->post_content, $next ) + 1 ) ) { return $results; } // Otherwise, this query is out of bounds, so set a 404. $this->set_404(); return $results; } // If no posts were found, this is technically a 404. if ( ! $this->posts ) { // If this is a paginated query (i.e. out of bounds), always consider it a 404. if ( $this->is_paged() ) { $this->set_404(); return $results; } // If this is an author archive, don't consider it a 404 if the author exists. if ( $this->is_author() ) { $author = $this->get( 'author' ); if ( is_numeric( $author ) && $author > 0 && is_user_member_of_blog( $author ) ) { return $results; } } // If this is a valid taxonomy or post type archive, don't consider it a 404. if ( ( $this->is_category() || $this->is_tag() || $this->is_tax() || $this->is_post_type_archive() ) && $this->get_queried_object() ) { return $results; } // If this is a search results page or the home index, don't consider it a 404. if ( $this->is_home() || $this->is_search() ) { return $results; } // Otherwise, set a 404. $this->set_404(); } return $results; } } includes/Core/Util/Uninstallation.php 0000604 00000006626 14717744000 0013706 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\Uninstallation * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Authentication\Credentials; use Google\Site_Kit\Core\Authentication\Google_Proxy; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Remote_Features\Remote_Features_Cron; use Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Cron; use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked; use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdsLinked; use Google\Site_Kit\Modules\Analytics_4\Synchronize_Property; /** * Utility class for handling uninstallation of the plugin. * * @since 1.20.0 * @access private * @ignore */ class Uninstallation { /** * Plugin context. * * @since 1.20.0 * @var Context */ private $context; /** * Options instance. * * @since 1.20.0 * @var Options */ private $options; /** * List of scheduled events. * * @since 1.136.0 * @var array */ const SCHEDULED_EVENTS = array( Conversion_Reporting_Cron::CRON_ACTION, OAuth_Client::CRON_REFRESH_PROFILE_DATA, Remote_Features_Cron::CRON_ACTION, Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED, Synchronize_AdsLinked::CRON_SYNCHRONIZE_ADS_LINKED, Synchronize_Property::CRON_SYNCHRONIZE_PROPERTY, ); /** * Constructor. * * This class and its logic must be instantiated early in the WordPress * bootstrap lifecycle because the 'uninstall.php' script runs decoupled * from regular action hooks like 'init'. * * @since 1.20.0 * * @param Context $context Plugin context. * @param Options $options Optional. Options instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null ) { $this->context = $context; $this->options = $options ?: new Options( $this->context ); } /** * Registers functionality through WordPress hooks. * * @since 1.20.0 */ public function register() { add_action( 'googlesitekit_uninstallation', function () { $this->uninstall(); $this->clear_scheduled_events(); } ); add_action( 'googlesitekit_deactivation', function () { $this->clear_scheduled_events(); } ); add_action( 'googlesitekit_reset', function () { $this->clear_scheduled_events(); } ); } /** * Runs necessary logic for uninstallation of the plugin. * * If connected to the proxy, it will issue a request to unregister the site. * * @since 1.20.0 */ private function uninstall() { $credentials = new Credentials( new Encrypted_Options( $this->options ) ); if ( $credentials->has() && $credentials->using_proxy() ) { $google_proxy = new Google_Proxy( $this->context ); $google_proxy->unregister_site( $credentials ); } } /** * Clears all scheduled events. * * @since 1.136.0 */ private function clear_scheduled_events() { foreach ( self::SCHEDULED_EVENTS as $event ) { // Only clear scheduled events that are set, important in E2E // testing. if ( (bool) wp_next_scheduled( $event ) ) { wp_unschedule_hook( $event ); } } } } includes/Core/Util/URL.php 0000604 00000012627 14717744000 0011342 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\URL * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for custom URL parsing methods. * * @since 1.84.0 * @access private * @ignore */ class URL { /** * Prefix for Punycode-encoded hostnames. */ const PUNYCODE_PREFIX = 'xn--'; /** * Parses URLs with UTF-8 multi-byte characters, * otherwise similar to `wp_parse_url()`. * * @since 1.84.0 * * @param string $url The URL to parse. * @param int $component The specific component to retrieve. Use one of the PHP * predefined constants to specify which one. * Defaults to -1 (= return all parts as an array). * @return mixed False on parse failure; Array of URL components on success; * When a specific component has been requested: null if the component * doesn't exist in the given URL; a string or - in the case of * PHP_URL_PORT - integer when it does. See parse_url()'s return values. */ public static function parse( $url, $component = -1 ) { $url = (string) $url; if ( mb_strlen( $url, 'UTF-8' ) === strlen( $url ) ) { return wp_parse_url( $url, $component ); } $to_unset = array(); if ( '//' === mb_substr( $url, 0, 2 ) ) { $to_unset[] = 'scheme'; $url = 'placeholder:' . $url; } elseif ( '/' === mb_substr( $url, 0, 1 ) ) { $to_unset[] = 'scheme'; $to_unset[] = 'host'; $url = 'placeholder://placeholder' . $url; } $parts = self::mb_parse_url( $url ); if ( false === $parts ) { // Parsing failure. return $parts; } // Remove the placeholder values. foreach ( $to_unset as $key ) { unset( $parts[ $key ] ); } return _get_component_from_parsed_url_array( $parts, $component ); } /** * Replacement for parse_url which is UTF-8 multi-byte character aware. * * @since 1.84.0 * * @param string $url The URL to parse. * @return mixed False on parse failure; Array of URL components on success */ private static function mb_parse_url( $url ) { $enc_url = preg_replace_callback( '%[^:/@?&=#]+%usD', function ( $matches ) { return rawurlencode( $matches[0] ); }, $url ); $parts = parse_url( $enc_url ); // phpcs:ignore WordPress.WP.AlternativeFunctions.parse_url_parse_url if ( false === $parts ) { return $parts; } foreach ( $parts as $name => $value ) { $parts[ $name ] = urldecode( $value ); } return $parts; } /** * Permutes site URL to cover all different variants of it (not considering the path). * * @since 1.99.0 * * @param string $site_url Site URL to get permutations for. * @return array List of permutations. */ public static function permute_site_url( $site_url ) { $hostname = self::parse( $site_url, PHP_URL_HOST ); $path = self::parse( $site_url, PHP_URL_PATH ); return array_reduce( self::permute_site_hosts( $hostname ), function ( $urls, $host ) use ( $path ) { $host_with_path = $host . $path; array_push( $urls, "https://$host_with_path", "http://$host_with_path" ); return $urls; }, array() ); } /** * Generates common variations of the given hostname. * * Returns a list of hostnames that includes: * - (if IDN) in Punycode encoding * - (if IDN) in Unicode encoding * - with and without www. subdomain (including IDNs) * * @since 1.99.0 * * @param string $hostname Hostname to generate variations of. * @return string[] Hostname variations. */ public static function permute_site_hosts( $hostname ) { if ( ! $hostname || ! is_string( $hostname ) ) { return array(); } // See \Requests_IDNAEncoder::is_ascii. $is_ascii = preg_match( '/(?:[^\x00-\x7F])/', $hostname ) !== 1; $is_www = 0 === strpos( $hostname, 'www.' ); // Normalize hostname without www. $hostname = $is_www ? substr( $hostname, strlen( 'www.' ) ) : $hostname; $hosts = array( $hostname, "www.$hostname" ); try { // An ASCII hostname can only be non-IDN or punycode-encoded. if ( $is_ascii ) { // If the hostname is in punycode encoding, add the decoded version to the list of hosts. if ( 0 === strpos( $hostname, self::PUNYCODE_PREFIX ) || false !== strpos( $hostname, '.' . self::PUNYCODE_PREFIX ) ) { // Ignoring phpcs here, and not passing the variant so that the correct default can be selected by PHP based on the // version. INTL_IDNA_VARIANT_UTS46 for PHP>=7.4, INTL_IDNA_VARIANT_2003 for PHP<7.4. // phpcs:ignore PHPCompatibility.ParameterValues.NewIDNVariantDefault.NotSet $host_decoded = idn_to_utf8( $hostname ); array_push( $hosts, $host_decoded, "www.$host_decoded" ); } } else { // If it's not ASCII, then add the punycode encoded version. // Ignoring phpcs here, and not passing the variant so that the correct default can be selected by PHP based on the // version. INTL_IDNA_VARIANT_UTS46 for PHP>=7.4, INTL_IDNA_VARIANT_2003 for PHP<7.4. // phpcs:ignore PHPCompatibility.ParameterValues.NewIDNVariantDefault.NotSet $host_encoded = idn_to_ascii( $hostname ); array_push( $hosts, $host_encoded, "www.$host_encoded" ); } } catch ( Exception $exception ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch // Do nothing. } return $hosts; } } includes/Core/Util/WP_Context_Switcher_Trait.php 0000604 00000004200 14717744000 0015731 0 ustar 00 <?php /** * Trait Google\Site_Kit\Core\Util\WP_Context_Switcher_Trait * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Trait for temporarily switching WordPress context, e.g. from admin to frontend. * * @since 1.16.0 * @access private * @ignore */ trait WP_Context_Switcher_Trait { /** * Switches to WordPress frontend context if necessary. * * Context is only switched if WordPress is not already in frontend context. Context should only ever be switched * temporarily. Call the returned closure as soon as possible after to restore the original context. * * @since 1.16.0 * * @return callable Closure that restores context. */ protected static function with_frontend_context() { $restore = self::get_restore_current_screen_closure(); if ( ! is_admin() ) { return $restore; } self::switch_current_screen( 'front' ); return $restore; } /** * Switches the current WordPress screen via the given screen ID or hook name. * * @since 1.16.0 * * @param string $screen_id WordPress screen ID. */ private static function switch_current_screen( $screen_id ) { global $current_screen; require_once ABSPATH . 'wp-admin/includes/class-wp-screen.php'; require_once ABSPATH . 'wp-admin/includes/screen.php'; $current_screen = \WP_Screen::get( $screen_id ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited } /** * Returns the closure to restore the current screen. * * Calling the closure will restore the `$current_screen` global to what it was set to at the time of calling * this method. * * @since 1.16.0 * * @return callable Closure that restores context. */ private static function get_restore_current_screen_closure() { global $current_screen; $original_screen = $current_screen; return static function () use ( $original_screen ) { global $current_screen; $current_screen = $original_screen; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited }; } } includes/Core/Util/WP_Query_Factory.php 0000604 00000023420 14717744000 0014073 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Util\WP_Query_Factory * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; use WP_Query; /** * Class creating `WP_Query` instances. * * @since 1.15.0 * @access private * @ignore */ final class WP_Query_Factory { use WP_Context_Switcher_Trait; /** * Creates a `WP_Query` instance to use for a given URL. * * The `WP_Query` instance returned is initialized with the correct query arguments, but the actual query will not * have run yet. The `WP_Query::get_posts()` method should be used to do that. * * This is an expensive function that works similarly to WordPress core's `url_to_postid()` function, however also * covering non-post URLs. It follows logic used in `WP::parse_request()` to cover the other kinds of URLs. The * majority of the code is a direct copy of certain parts of these functions. * * @since 1.15.0 * * @param string $url URL to get WordPress query object for. * @return WP_Query|null WordPress query instance, or null if unable to parse query from URL. */ public static function from_url( $url ) { $url = self::normalize_url( $url ); if ( empty( $url ) ) { return null; } $url_path_vars = self::get_url_path_vars( $url ); $url_query_vars = self::get_url_query_vars( $url ); $query_args = self::parse_wp_query_args( $url_path_vars, $url_query_vars ); $restore_context = self::with_frontend_context(); // Return extended version of `WP_Query` with self-contained 404 detection. $query = new Synthetic_WP_Query(); $query->parse_query( $query_args ); $query->enable_404_detection( true ); $restore_context(); return $query; } /** * Normalizes the URL for further processing. * * @since 1.15.0 * * @param string $url URL to normalize. * @return string Normalized URL, or empty string if URL is irrelevant for parsing into `WP_Query` arguments. */ private static function normalize_url( $url ) { global $wp_rewrite; $url_host = str_replace( 'www.', '', URL::parse( $url, PHP_URL_HOST ) ); $home_url_host = str_replace( 'www.', '', URL::parse( home_url(), PHP_URL_HOST ) ); // Bail early if the URL does not belong to this site. if ( $url_host && $url_host !== $home_url_host ) { return ''; } // Strip 'index.php/' if we're not using path info permalinks. if ( ! $wp_rewrite->using_index_permalinks() ) { $url = str_replace( $wp_rewrite->index . '/', '', $url ); } return $url; } /** * Parses the path segment of a URL to get variables based on WordPress rewrite rules. * * The variables returned from this method are not necessarily all relevant for a `WP_Query`, they will still need * to go through sanitization against the available public query vars from WordPress. * * This code is mostly a partial copy of `WP::parse_request()` which is used to parse the current request URL * into variables in a similar way. * * @since 1.15.0 * * @param string $url URL to parse path vars from. * @return array Associative array of path vars. */ private static function get_url_path_vars( $url ) { global $wp_rewrite; $url_path = URL::parse( $url, PHP_URL_PATH ); // Strip potential home URL path segment from URL path. $home_path = untrailingslashit( URL::parse( home_url( '/' ), PHP_URL_PATH ) ); if ( ! empty( $home_path ) ) { $url_path = substr( $url_path, strlen( $home_path ) ); } // Strip leading and trailing slashes. if ( is_string( $url_path ) ) { $url_path = trim( $url_path, '/' ); } // Fetch the rewrite rules. $rewrite = $wp_rewrite->wp_rewrite_rules(); // Match path against rewrite rules. $matched_rule = ''; $query = ''; $matches = array(); if ( empty( $url_path ) || $url_path === $wp_rewrite->index ) { if ( isset( $rewrite['$'] ) ) { $matched_rule = '$'; $query = $rewrite['$']; $matches = array( '' ); } } else { foreach ( (array) $rewrite as $match => $query ) { if ( preg_match( "#^$match#", $url_path, $matches ) ) { if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) { // This is a verbose page match, let's check to be sure about it. // We'll rely 100% on WP core functions here. // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions $page = get_page_by_path( $matches[ $varmatch[1] ] ); if ( ! $page ) { continue; } $post_status_obj = get_post_status_object( $page->post_status ); if ( ! $post_status_obj->public && ! $post_status_obj->protected && ! $post_status_obj->private && $post_status_obj->exclude_from_search ) { continue; } } $matched_rule = $match; break; } } } // If rewrite rules matched, populate $url_path_vars. $url_path_vars = array(); if ( $matched_rule ) { // Trim the query of everything up to the '?'. $query = preg_replace( '!^.+\?!', '', $query ); // Substitute the substring matches into the query. $query = addslashes( \WP_MatchesMapRegex::apply( $query, $matches ) ); parse_str( $query, $url_path_vars ); } return $url_path_vars; } /** * Parses the query segment of a URL to get variables. * * The variables returned from this method are not necessarily all relevant for a `WP_Query`, they will still need * to go through sanitization against the available public query vars from WordPress. * * @since 1.15.0 * * @param string $url URL to parse query vars from. * @return array Associative array of query vars. */ private static function get_url_query_vars( $url ) { $url_query = URL::parse( $url, PHP_URL_QUERY ); $url_query_vars = array(); if ( $url_query ) { parse_str( $url_query, $url_query_vars ); } return $url_query_vars; } /** * Returns arguments for a `WP_Query` instance based on URL path vars and URL query vars. * * This method essentially sanitizes the passed vars, allowing only WordPress public query vars to be used as * actual arguments for `WP_Query`. When combining URL path vars and URL query vars, the latter take precedence. * * This code is mostly a partial copy of `WP::parse_request()` which is used to parse the current request URL * into query arguments in a similar way. * * @since 1.15.0 * * @param array $url_path_vars Associative array as returned from {@see WP_Query_Factory::get_url_path_vars()}. * @param array $url_query_vars Associative array as returned from {@see WP_Query_Factory::get_url_query_vars()}. * @return array Associative array of arguments to pass to a `WP_Query` instance. */ private static function parse_wp_query_args( array $url_path_vars, array $url_query_vars ) { global $wp; // Determine available post type query vars. $post_type_query_vars = array(); foreach ( get_post_types( array(), 'objects' ) as $post_type => $post_type_obj ) { if ( is_post_type_viewable( $post_type_obj ) && $post_type_obj->query_var ) { $post_type_query_vars[ $post_type_obj->query_var ] = $post_type; } } // Depending on whether WordPress already parsed the main request (and thus filtered 'query_vars'), we should // either manually trigger the filter or not. if ( did_action( 'parse_request' ) ) { $public_query_vars = $wp->public_query_vars; } else { $public_query_vars = apply_filters( 'query_vars', $wp->public_query_vars ); } // Populate `WP_Query` arguments. $query_args = array(); foreach ( $public_query_vars as $wpvar ) { if ( isset( $url_query_vars[ $wpvar ] ) ) { $query_args[ $wpvar ] = $url_query_vars[ $wpvar ]; } elseif ( isset( $url_path_vars[ $wpvar ] ) ) { $query_args[ $wpvar ] = $url_path_vars[ $wpvar ]; } if ( ! empty( $query_args[ $wpvar ] ) ) { if ( ! is_array( $query_args[ $wpvar ] ) ) { $query_args[ $wpvar ] = (string) $query_args[ $wpvar ]; } else { foreach ( $query_args[ $wpvar ] as $key => $value ) { if ( is_scalar( $value ) ) { $query_args[ $wpvar ][ $key ] = (string) $value; } } } if ( isset( $post_type_query_vars[ $wpvar ] ) ) { $query_args['post_type'] = $post_type_query_vars[ $wpvar ]; $query_args['name'] = $query_args[ $wpvar ]; } } } // Convert urldecoded spaces back into '+'. foreach ( get_taxonomies( array(), 'objects' ) as $taxonomy => $taxonomy_obj ) { if ( $taxonomy_obj->query_var && isset( $query_args[ $taxonomy_obj->query_var ] ) ) { $query_args[ $taxonomy_obj->query_var ] = str_replace( ' ', '+', $query_args[ $taxonomy_obj->query_var ] ); } } // Don't allow non-publicly queryable taxonomies to be queried from the front end. foreach ( get_taxonomies( array( 'publicly_queryable' => false ), 'objects' ) as $taxonomy => $t ) { if ( isset( $query_args['taxonomy'] ) && $taxonomy === $query_args['taxonomy'] ) { unset( $query_args['taxonomy'], $query_args['term'] ); } } // Limit publicly queried post_types to those that are 'publicly_queryable'. if ( isset( $query_args['post_type'] ) ) { $queryable_post_types = get_post_types( array( 'publicly_queryable' => true ) ); if ( ! is_array( $query_args['post_type'] ) ) { if ( ! in_array( $query_args['post_type'], $queryable_post_types, true ) ) { unset( $query_args['post_type'] ); } } else { $query_args['post_type'] = array_intersect( $query_args['post_type'], $queryable_post_types ); } } // Resolve conflicts between posts with numeric slugs and date archive queries. $query_args = wp_resolve_numeric_slug_conflicts( $query_args ); // This is a WordPress core filter applied here to allow for the same modifications (e.g. for post formats). $query_args = apply_filters( 'request', $query_args ); return $query_args; } } includes/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php 0000604 00000001114 14717744000 0023127 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Dimensions_Exception * * @package Google\Site_Kit\Core\Validation\Exception * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Validation\Exception; use DomainException; /** * Exception thrown when dimensions are invalid for a report request. * * @since 1.82.0 * @access private * @ignore */ class Invalid_Report_Dimensions_Exception extends DomainException { } includes/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php 0000604 00000001103 14717744000 0022423 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Metrics_Exception * * @package Google\Site_Kit\Core\Validation\Exception * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Validation\Exception; use DomainException; /** * Exception thrown when metrics are invalid for a report request. * * @since 1.82.0 * @access private * @ignore */ class Invalid_Report_Metrics_Exception extends DomainException { } includes/Modules/AdSense/Ad_Blocking_Recovery_Tag_Guard.php 0000604 00000001656 14717744000 0017754 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Tag_Guard * * @package Google\Site_Kit\Modules\AdSense * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the AdSense Ad Blocking Recovery tag guard. * * @since 1.105.0 * @access private * @ignore */ class Ad_Blocking_Recovery_Tag_Guard extends Module_Tag_Guard { /** * Determines whether the guarded tag can be activated or not. * * @since 1.105.0 * * @return bool TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { $settings = $this->settings->get(); return ! empty( $settings['adBlockingRecoverySetupStatus'] ) && $settings['useAdBlockingRecoverySnippet']; } } includes/Modules/AdSense/Ad_Blocking_Recovery_Tag.php 0000604 00000003721 14717744000 0016625 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Tag * * @package Google\Site_Kit\Modules\AdSense * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Storage\Setting; /** * Class for AdSense Ad blocking recovery Tag. * * @since 1.104.0 * @access private * @ignore */ class Ad_Blocking_Recovery_Tag extends Setting { const OPTION = 'googlesitekit_adsense_ad_blocking_recovery_tag'; /** * Gets ad blocking recovery tag. * * @since 1.104.0 * * @return array Array with tag and error protection code. */ public function get() { $option = parent::get(); if ( ! $this->is_valid_tag_object( $option ) ) { return $this->get_default(); } return $option; } /** * Sets ad blocking recovery tag. * * @since 1.104.0 * * @param array $value Array with tag and error protection code. * * @return bool True on success, false on failure. */ public function set( $value ) { if ( ! $this->is_valid_tag_object( $value ) ) { return false; } return parent::set( $value ); } /** * Gets the expected value type. * * @since 1.104.0 * * @return string The type name. */ protected function get_type() { return 'object'; } /** * Gets the default value. * * @since 1.104.0 * * @return array */ protected function get_default() { return array( 'tag' => '', 'error_protection_code' => '', ); } /** * Determines whether the given value is a valid tag object. * * @since 1.104.0 * * @param mixed $tag Tag object. * * @return bool TRUE if valid, otherwise FALSE. */ private function is_valid_tag_object( $tag ) { return is_array( $tag ) && isset( $tag['tag'] ) && isset( $tag['error_protection_code'] ) && is_string( $tag['tag'] ) && is_string( $tag['error_protection_code'] ); } } includes/Modules/AdSense/Ad_Blocking_Recovery_Web_Tag.php 0000604 00000005370 14717744000 0017424 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Web_Tag * * @package Google\Site_Kit\Modules\AdSense * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Tags\Tag; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait; /** * Class for Ad Blocking Recovery tag. * * @since 1.105.0 * @access private * @ignore */ class Ad_Blocking_Recovery_Web_Tag extends Tag { use Method_Proxy_Trait; use Tag_With_DNS_Prefetch_Trait; /** * Ad_Blocking_Recovery_Tag instance. * * @since 1.105.0 * @var Ad_Blocking_Recovery_Tag */ protected $ad_blocking_recovery_tag; /** * Use Error Protection Snippet. * * @since 1.105.0 * @var bool */ protected $use_error_protection_snippet; /** * Constructor. * * @since 1.105.0 * * @param Ad_Blocking_Recovery_Tag $ad_blocking_recovery_tag Ad_Blocking_Recovery_Tag instance. * @param bool $use_error_protection_snippet Use Error Protection Snippet. */ public function __construct( Ad_Blocking_Recovery_Tag $ad_blocking_recovery_tag, $use_error_protection_snippet ) { $this->ad_blocking_recovery_tag = $ad_blocking_recovery_tag; $this->use_error_protection_snippet = $use_error_protection_snippet; } /** * Registers tag hooks. * * @since 1.105.0 */ public function register() { add_action( 'wp_head', $this->get_method_proxy_once( 'render' ) ); add_filter( 'wp_resource_hints', $this->get_dns_prefetch_hints_callback( '//fundingchoicesmessages.google.com' ), 10, 2 ); } /** * Outputs the AdSense script tag. * * @since 1.105.0 */ protected function render() { $tags = $this->ad_blocking_recovery_tag->get(); if ( empty( $tags['tag'] ) || empty( $tags['error_protection_code'] ) ) { return; } printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense Ad Blocking Recovery snippet added by Site Kit', 'google-site-kit' ) ); echo $tags['tag']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense Ad Blocking Recovery snippet added by Site Kit', 'google-site-kit' ) ); if ( $this->use_error_protection_snippet ) { printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense Ad Blocking Recovery Error Protection snippet added by Site Kit', 'google-site-kit' ) ); echo $tags['error_protection_code']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense Ad Blocking Recovery Error Protection snippet added by Site Kit', 'google-site-kit' ) ); } } } includes/Modules/AdSense/AMP_Tag.php 0000604 00000013140 14717744000 0013224 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\AMP_Tag * * @package Google\Site_Kit\Modules\AdSense * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_AMP_Tag; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for AMP tag. * * @since 1.24.0 * @access private * @ignore */ class AMP_Tag extends Module_AMP_Tag { use Method_Proxy_Trait; /** * Internal flag for whether the AdSense tag has been printed. * * @since 1.24.0 * @var bool */ private $adsense_tag_printed = false; /** * Web Story Ad Slot ID. * * @since 1.27.0 * @var string */ private $story_ad_slot_id = ''; /** * Registers tag hooks. * * @since 1.24.0 */ public function register() { if ( is_singular( 'web-story' ) ) { // If Web Stories are enabled, render the auto ads code. add_action( 'web_stories_print_analytics', $this->get_method_proxy( 'render_story_auto_ads' ) ); } else { // For AMP Native and Transitional (if `wp_body_open` supported). add_action( 'wp_body_open', $this->get_method_proxy( 'render' ), -9999 ); // For AMP Native and Transitional (as fallback). add_filter( 'the_content', $this->get_method_proxy( 'amp_content_add_auto_ads' ) ); // For AMP Reader (if `amp_post_template_body_open` supported). add_action( 'amp_post_template_body_open', $this->get_method_proxy( 'render' ), -9999 ); // For AMP Reader (as fallback). add_action( 'amp_post_template_footer', $this->get_method_proxy( 'render' ), -9999 ); // Load amp-auto-ads component for AMP Reader. $this->enqueue_amp_reader_component_script( 'amp-auto-ads', 'https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js' ); } $this->do_init_tag_action(); } /** * Gets the attributes for amp-story-auto-ads and amp-auto-ads tags. * * @since 1.39.0 * * @param string $type Whether it's for web stories. Can be `web-story` or ``. * @return array Filtered $options. */ private function get_auto_ads_attributes( $type = '' ) { $options = array( 'ad-client' => $this->tag_id, ); if ( 'web-story' === $type && ! empty( $this->story_ad_slot_id ) ) { $options['ad-slot'] = $this->story_ad_slot_id; } $filtered_options = 'web-story' === $type ? apply_filters( 'googlesitekit_amp_story_auto_ads_attributes', $options, $this->tag_id, $this->story_ad_slot_id ) : apply_filters( 'googlesitekit_amp_auto_ads_attributes', $options, $this->tag_id, $this->story_ad_slot_id ); if ( is_array( $filtered_options ) && ! empty( $filtered_options ) ) { $options = $filtered_options; $options['ad-client'] = $this->tag_id; } return $options; } /** * Outputs the <amp-auto-ads> tag. * * @since 1.24.0 */ protected function render() { if ( $this->adsense_tag_printed ) { return; } $this->adsense_tag_printed = true; $attributes = ''; foreach ( $this->get_auto_ads_attributes() as $amp_auto_ads_opt_key => $amp_auto_ads_opt_value ) { $attributes .= sprintf( ' data-%s="%s"', esc_attr( $amp_auto_ads_opt_key ), esc_attr( $amp_auto_ads_opt_value ) ); } printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); printf( '<amp-auto-ads type="adsense" %s%s></amp-auto-ads>', $attributes, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped $this->get_tag_blocked_on_consent_attribute() // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); } /** * Adds the AMP auto ads tag if opted in. * * @since 1.24.0 * * @param string $content The page content. * @return string Filtered $content. */ private function amp_content_add_auto_ads( $content ) { // Only run for the primary application of the `the_content` filter. if ( $this->adsense_tag_printed || ! in_the_loop() ) { return $content; } $this->adsense_tag_printed = true; $snippet_comment_begin = sprintf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); $snippet_comment_end = sprintf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); $tag = sprintf( '<amp-auto-ads type="adsense" data-ad-client="%s"%s></amp-auto-ads>', esc_attr( $this->tag_id ), $this->get_tag_blocked_on_consent_attribute() ); return $snippet_comment_begin . $tag . $snippet_comment_end . $content; } /** * Set Web Story Ad Slot ID * * @since 1.27.0 * * @param string $ad_slot_id The Ad Slot ID. */ public function set_story_ad_slot_id( $ad_slot_id ) { $this->story_ad_slot_id = $ad_slot_id; } /** * Adds the AMP Web Story auto ads code if enabled. * * @since 1.27.0 */ private function render_story_auto_ads() { $config = array( 'ad-attributes' => array( 'type' => 'adsense', ), ); $attributes = array(); foreach ( $this->get_auto_ads_attributes( 'web-story' ) as $key => $value ) { $attributes[ 'data-' . $key ] = $value; } $config['ad-attributes'] = array_merge( $config['ad-attributes'], $attributes ); printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); printf( '<amp-story-auto-ads><script type="application/json">%s</script></amp-story-auto-ads>', wp_json_encode( $config ) ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense AMP snippet added by Site Kit', 'google-site-kit' ) ); } } includes/Modules/AdSense/Auto_Ad_Guard.php 0000604 00000002225 14717744000 0014454 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Auto_Ad_Guard * * @package Google\Site_Kit\Modules\Analytics * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Tag guard class for the AdSense module that blocks the tag placement if it is disabled for a certain user group. * * @since 1.39.0 * @access private * @ignore */ class Auto_Ad_Guard extends Module_Tag_Guard { /** * Determines whether the guarded tag can be activated or not. * * @since 1.39.0 * * @return bool TRUE if guarded tag can be activated, otherwise FALSE. */ public function can_activate() { $settings = $this->settings->get(); if ( ! isset( $settings['autoAdsDisabled'] ) ) { return true; } if ( ( in_array( 'loggedinUsers', $settings['autoAdsDisabled'], true ) && is_user_logged_in() ) || ( in_array( 'contentCreators', $settings['autoAdsDisabled'], true ) && current_user_can( 'edit_posts' ) ) ) { return false; } return true; } } includes/Modules/AdSense/Settings.php 0000604 00000016326 14717744000 0013625 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Settings * * @package Google\Site_Kit\Modules\AdSense * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Legacy_Keys_Trait; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; use Google\Site_Kit\Core\Storage\Setting_With_ViewOnly_Keys_Interface; /** * Class for AdSense settings. * * @since 1.2.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface, Setting_With_ViewOnly_Keys_Interface { use Setting_With_Legacy_Keys_Trait; use Setting_With_Owned_Keys_Trait; const OPTION = 'googlesitekit_adsense_settings'; /** * Various ad blocking recovery setup statuses. */ const AD_BLOCKING_RECOVERY_SETUP_STATUS_TAG_PLACED = 'tag-placed'; const AD_BLOCKING_RECOVERY_SETUP_STATUS_SETUP_CONFIRMED = 'setup-confirmed'; /** * Legacy account statuses to be migrated on-the-fly. * * @since 1.9.0 * @var array */ protected $legacy_account_statuses = array( 'account-connected' => array( 'accountStatus' => 'approved', 'siteStatus' => 'added', ), 'account-connected-nonmatching' => array( 'accountStatus' => 'approved', 'siteStatus' => 'added', ), 'account-connected-no-data' => array( 'accountStatus' => 'approved', 'siteStatus' => 'added', ), 'account-pending-review' => array( 'accountStatus' => 'approved', 'siteStatus' => 'none', ), 'account-required-action' => array( 'accountStatus' => 'no-client', ), 'disapproved-account-afc' => array( 'accountStatus' => 'no-client', ), 'ads-display-pending' => array( 'accountStatus' => 'pending', ), 'disapproved-account' => array( 'accountStatus' => 'disapproved', ), 'no-account' => array( 'accountStatus' => 'none', ), 'no-account-tag-found' => array( 'accountStatus' => 'none', ), ); /** * Registers the setting in WordPress. * * @since 1.2.0 */ public function register() { parent::register(); $this->register_legacy_keys_migration( array( 'account_id' => 'accountID', 'accountId' => 'accountID', 'account_status' => 'accountStatus', 'adsenseTagEnabled' => 'useSnippet', 'client_id' => 'clientID', 'clientId' => 'clientID', 'setup_complete' => 'setupComplete', ) ); $this->register_owned_keys(); add_filter( 'option_' . self::OPTION, function ( $option ) { /** * Filters the AdSense account ID to use. * * @since 1.0.0 * * @param string $account_id Empty by default, will fall back to the option value if not set. */ $account_id = apply_filters( 'googlesitekit_adsense_account_id', '' ); if ( $account_id ) { $option['accountID'] = $account_id; } // Migrate legacy account statuses (now split into account status and site status). if ( ! empty( $option['accountStatus'] ) && isset( $this->legacy_account_statuses[ $option['accountStatus'] ] ) ) { foreach ( $this->legacy_account_statuses[ $option['accountStatus'] ] as $key => $value ) { $option[ $key ] = $value; } } // Migration of legacy setting. if ( ! empty( $option['setupComplete'] ) ) { $option['accountSetupComplete'] = $option['setupComplete']; $option['siteSetupComplete'] = $option['setupComplete']; } unset( $option['setupComplete'] ); return $option; } ); add_filter( 'pre_update_option_' . self::OPTION, function ( $value, $old_value ) { if ( isset( $old_value['setupCompletedTimestamp'] ) ) { return $value; } if ( ! empty( $old_value['accountStatus'] ) && ! empty( $old_value['siteStatus'] ) && 'ready' === $old_value['accountStatus'] && 'ready' === $old_value['siteStatus'] ) { $value['setupCompletedTimestamp'] = strtotime( '-1 month' ); } elseif ( ! empty( $value['accountStatus'] ) && ! empty( $value['siteStatus'] ) && 'ready' === $value['accountStatus'] && 'ready' === $value['siteStatus'] ) { $value['setupCompletedTimestamp'] = time(); } return $value; }, 10, 2 ); } /** * Returns keys for owned settings. * * @since 1.16.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'accountID', 'clientID', ); } /** * Returns keys for view-only settings. * * @since 1.122.0 * * @return array An array of keys for view-only settings. */ public function get_view_only_keys() { return array( 'accountID' ); } /** * Gets the default value. * * @since 1.2.0 * @since 1.102.0 Added settings for the Ad Blocking Recovery feature. * * @return array */ protected function get_default() { return array( 'ownerID' => 0, 'accountID' => '', 'autoAdsDisabled' => array(), 'clientID' => '', 'accountStatus' => '', 'siteStatus' => '', 'accountSetupComplete' => false, 'siteSetupComplete' => false, 'useSnippet' => true, 'webStoriesAdUnit' => '', 'setupCompletedTimestamp' => null, 'useAdBlockingRecoverySnippet' => false, 'useAdBlockingRecoveryErrorSnippet' => false, 'adBlockingRecoverySetupStatus' => '', ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.6.0 * * @return callable|null */ protected function get_sanitize_callback() { return function ( $option ) { if ( is_array( $option ) ) { if ( isset( $option['accountSetupComplete'] ) ) { $option['accountSetupComplete'] = (bool) $option['accountSetupComplete']; } if ( isset( $option['siteStatusComplete'] ) ) { $option['siteStatusComplete'] = (bool) $option['siteStatusComplete']; } if ( isset( $option['useSnippet'] ) ) { $option['useSnippet'] = (bool) $option['useSnippet']; } if ( isset( $option['autoAdsDisabled'] ) ) { $option['autoAdsDisabled'] = (array) $option['autoAdsDisabled']; } if ( isset( $option['useAdBlockingRecoverySnippet'] ) ) { $option['useAdBlockingRecoverySnippet'] = (bool) $option['useAdBlockingRecoverySnippet']; } if ( isset( $option['useAdBlockingRecoveryErrorSnippet'] ) ) { $option['useAdBlockingRecoveryErrorSnippet'] = (bool) $option['useAdBlockingRecoveryErrorSnippet']; } if ( isset( $option['adBlockingRecoverySetupStatus'] ) && ! in_array( $option['adBlockingRecoverySetupStatus'], array( '', self::AD_BLOCKING_RECOVERY_SETUP_STATUS_TAG_PLACED, self::AD_BLOCKING_RECOVERY_SETUP_STATUS_SETUP_CONFIRMED, ), true ) ) { $option['adBlockingRecoverySetupStatus'] = $this->get()['adBlockingRecoverySetupStatus']; } } return $option; }; } } includes/Modules/AdSense/Tag_Guard.php 0000604 00000002250 14717744000 0013651 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Tag_Guard * * @package Google\Site_Kit\Modules\AdSense * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the AdSense tag guard. * * @since 1.24.0 * @access private * @ignore */ class Tag_Guard extends Module_Tag_Guard { /** * Determines whether the guarded tag can be activated or not. * * @since 1.24.0 * @since 1.30.0 Update to return FALSE on 404 pages deliberately. * @since 1.105.0 Extract the check for 404 pages to dedicated Guard. * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { $settings = $this->settings->get(); // For web stories, the tag must only be rendered if a story-specific ad unit is provided. if ( is_singular( 'web-story' ) && empty( $settings['webStoriesAdUnit'] ) ) { return false; } return ! empty( $settings['useSnippet'] ) && ! empty( $settings['clientID'] ); } } includes/Modules/AdSense/Tag_Matchers.php 0000604 00000002102 14717744000 0014351 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\AdSense\Tag_Matchers * * @package Google\Site_Kit\Core\Modules\AdSense * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.119.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.119.0 * * @return array Array of regex matchers. */ public function regex_matchers() { return array( // Detect google_ad_client. "/google_ad_client: ?[\"|'](.*?)[\"|']/", // Detect old style auto-ads tags. '/<(?:script|amp-auto-ads) [^>]*data-ad-client="([^"]+)"/', // Detect new style auto-ads tags. '/<(?:script|amp-auto-ads)[^>]*src="[^"]*\\?client=(ca-pub-[^"]+)"[^>]*>/', ); } } includes/Modules/AdSense/Web_Tag.php 0000604 00000005365 14717744000 0013336 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense\Web_Tag * * @package Google\Site_Kit\Modules\AdSense * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\AdSense; use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait; use Google\Site_Kit\Core\Util\BC_Functions; /** * Class for Web tag. * * @since 1.24.0 * @access private * @ignore */ class Web_Tag extends Module_Web_Tag { use Method_Proxy_Trait; use Tag_With_DNS_Prefetch_Trait; /** * Registers tag hooks. * * @since 1.24.0 */ public function register() { add_action( 'wp_head', $this->get_method_proxy_once( 'render' ) ); add_filter( 'wp_resource_hints', $this->get_dns_prefetch_hints_callback( '//pagead2.googlesyndication.com' ), 10, 2 ); $this->do_init_tag_action(); } /** * Outputs the AdSense script tag. * * @since 1.24.0 */ protected function render() { // If we haven't completed the account connection yet, we still insert the AdSense tag // because it is required for account verification. $adsense_script_src = sprintf( 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=%s&host=%s', esc_attr( $this->tag_id ), // Site owner's web property code. 'ca-host-pub-2644536267352236' // SiteKit's web property code. ); $adsense_script_attributes = array( 'async' => true, 'src' => $adsense_script_src, 'crossorigin' => 'anonymous', ); $adsense_attributes = $this->get_tag_blocked_on_consent_attribute_array(); $auto_ads_opt = array(); $auto_ads_opt_filtered = apply_filters( 'googlesitekit_auto_ads_opt', $auto_ads_opt, $this->tag_id ); if ( is_array( $auto_ads_opt_filtered ) && ! empty( $auto_ads_opt_filtered ) ) { $strip_attributes = array( 'google_ad_client' => '', 'enable_page_level_ads' => '', ); $auto_ads_opt_filtered = array_diff_key( $auto_ads_opt_filtered, $strip_attributes ); $auto_ads_opt_sanitized = array(); foreach ( $auto_ads_opt_filtered as $key => $value ) { $new_key = 'data-'; $new_key .= str_replace( '_', '-', $key ); $auto_ads_opt_sanitized[ $new_key ] = $value; } $adsense_attributes = array_merge( $adsense_attributes, $auto_ads_opt_sanitized ); } printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense snippet added by Site Kit', 'google-site-kit' ) ); BC_Functions::wp_print_script_tag( array_merge( $adsense_script_attributes, $adsense_attributes ) ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense snippet added by Site Kit', 'google-site-kit' ) ); } } includes/Modules/Ads/AMP_Tag.php 0000604 00000005626 14717744000 0012423 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\AMP_Tag * * @package Google\Site_Kit\Modules\Ads * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Core\Modules\Tags\Module_AMP_Tag; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Trait; /** * Class for AMP tag. * * @since 1.125.0 * @access private * @ignore */ class AMP_Tag extends Module_AMP_Tag implements Tag_With_Linker_Interface { use Method_Proxy_Trait; use Tag_With_Linker_Trait; /** * Sets the current home domain. * * @since 1.125.0 * * @param string $domain Domain name. */ public function set_home_domain( $domain ) { $this->home_domain = $domain; } /** * Registers tag hooks. * * @since 1.125.0 */ public function register() { $render = $this->get_method_proxy_once( 'render' ); // Which actions are run depends on the version of the AMP Plugin // (https://amp-wp.org/) available. Version >=1.3 exposes a // new, `amp_print_analytics` action. // For all AMP modes, AMP plugin version >=1.3. add_action( 'amp_print_analytics', $render ); // For AMP Standard and Transitional, AMP plugin version <1.3. add_action( 'wp_footer', $render, 20 ); // For AMP Reader, AMP plugin version <1.3. add_action( 'amp_post_template_footer', $render, 20 ); // For Web Stories plugin. add_action( 'web_stories_print_analytics', $render ); // Load amp-analytics component for AMP Reader. $this->enqueue_amp_reader_component_script( 'amp-analytics', 'https://cdn.ampproject.org/v0/amp-analytics-0.1.js' ); $this->do_init_tag_action(); } /** * Outputs gtag <amp-analytics> tag. * * @since 1.125.0 */ protected function render() { $config = $this->get_tag_config(); $gtag_amp_opt = array( 'optoutElementId' => '__gaOptOutExtension', 'vars' => array( 'gtag_id' => $this->tag_id, 'config' => $config, ), ); printf( "\n<!-- %s -->\n", esc_html__( 'Google Ads AMP snippet added by Site Kit', 'google-site-kit' ) ); printf( '<amp-analytics type="gtag" data-credentials="include"%s><script type="application/json">%s</script></amp-analytics>', $this->get_tag_blocked_on_consent_attribute(), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped wp_json_encode( $gtag_amp_opt ) ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google Ads AMP snippet added by Site Kit', 'google-site-kit' ) ); } /** * Gets the tag config as used in the gtag data vars. * * @since 1.125.0 * * @return array Tag configuration. */ protected function get_tag_config() { $config = array( $this->tag_id => array( 'groups' => 'default', ), ); return $this->add_linker_to_tag_config( $config ); } } includes/Modules/Ads/Has_Tag_Guard.php 0000604 00000002243 14717744000 0013633 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\Has_Tag_Guard * * @package Google\Site_Kit\Modules\Ads * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the Ads tag guard. * * @since 1.124.0 * @since 1.128.0 Renamed class to be specific to presence of web tag. * @access private * @ignore */ class Has_Tag_Guard extends Module_Tag_Guard { /** * Modules tag_id value. * * @since 1.128.0 * * @var String */ protected $tag_id; /** * Class constructor. * * @since 1.128.0 * * @param string $tag_id Modules web tag string value. */ public function __construct( $tag_id = '' ) { $this->tag_id = $tag_id; } /** * Determines whether the guarded tag can be activated or not. * * @since 1.124.0 * @since 1.128.0 Updated logic to check modules tag_id value.. * * @return bool TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { return ! empty( $this->tag_id ); } } includes/Modules/Ads/PAX_Config.php 0000604 00000003235 14717744000 0013122 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\PAX_Config * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Authentication\Token; /** * Class representing PAX configuration. * * @since 1.128.0 * @access private * @ignore */ class PAX_Config { /** * Context instance. * * @since 1.128.0 * @var Context */ private $context; /** * Token instance. * * @since 1.128.0 * @var Token */ private $token; /** * Constructor. * * @since 1.128.0 * * @param Context $context Context instance. * @param Token $token Token instance. */ public function __construct( Context $context, Token $token ) { $this->context = $context; $this->token = $token; } /** * Gets the configuration data. * * @since 1.128.0 * @return array */ public function get() { $token = $this->token->get(); return array( 'authAccess' => array( 'oauthTokenAccess' => array( 'token' => $token['access_token'] ?? '', ), ), 'locale' => substr( $this->context->get_locale( 'user' ), 0, 2 ), 'debuggingConfig' => array( 'env' => $this->get_env(), ), ); } /** * Gets the environment configuration. * * @since 1.128.0 * @return string */ protected function get_env() { $allowed = array( 'PROD', 'QA_PROD' ); if ( defined( 'GOOGLESITEKIT_PAX_ENV' ) && in_array( GOOGLESITEKIT_PAX_ENV, $allowed, true ) ) { return GOOGLESITEKIT_PAX_ENV; } return 'PROD'; } } includes/Modules/Ads/Settings.php 0000604 00000002764 14717744000 0013013 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\Settings * * @package Google\Site_Kit\Modules\Ads * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; /** * Class for Ads settings. * * @since 1.122.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface { use Setting_With_Owned_Keys_Trait; const OPTION = 'googlesitekit_ads_settings'; /** * Registers the setting in WordPress. * * @since 1.122.0 */ public function register() { parent::register(); $this->register_owned_keys(); } /** * Gets the default value. * * @since 1.122.0 * @since 1.126.0 Added new settings fields for PAX. * * @return array An array of default settings values. */ protected function get_default() { return array( 'conversionID' => '', 'paxConversionID' => '', 'extCustomerID' => '', ); } /** * Returns keys for owned settings. * * @since 1.122.0 * @since 1.126.0 Added new settings fields for PAX. * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'conversionID', 'paxConversionID', 'extCustomerID', ); } } includes/Modules/Ads/Tag_Matchers.php 0000604 00000001526 14717744000 0013547 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\Tag_Matchers * * @package Google\Site_Kit\Core\Modules\Ads * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.124.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.124.0 * * @return array Array of regex matchers. */ public function regex_matchers() { return array( "/gtag\\s*\\(\\s*['|\"]config['|\"]\\s*,\\s*['|\"](AW-[0-9]+)['|\"]\\s*\\)/i", ); } } includes/Modules/Ads/Web_Tag.php 0000604 00000003554 14717744000 0012521 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads\Web_Tag * * @package Google\Site_Kit\Modules\Ads * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag; use Google\Site_Kit\Core\Tags\GTag; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for Web tag. * * @since 1.124.0 * @access private * @ignore */ class Web_Tag extends Module_Web_Tag implements Tag_With_Linker_Interface { use Method_Proxy_Trait; /** * Sets the current home domain. * * @since 1.125.0 * * @param string $domain Domain name. */ public function set_home_domain( $domain ) { $this->home_domain = $domain; } /** * Registers tag hooks. * * @since 1.124.0 */ public function register() { // Set a lower priority here to let Analytics sets up its tag first. add_action( 'googlesitekit_setup_gtag', $this->get_method_proxy( 'setup_gtag' ), 20 ); $this->do_init_tag_action(); } /** * Outputs gtag snippet. * * @since 1.124.0 */ protected function render() { // Do nothing, gtag script is enqueued. } /** * Configures gtag script. * * @since 1.124.0 * * @param GTag $gtag GTag instance. */ protected function setup_gtag( $gtag ) { $gtag->add_tag( $this->tag_id ); $filter_google_gtagjs = function ( $tag, $handle ) { if ( GTag::HANDLE !== $handle ) { return $tag; } // Retain this comment for detection of Site Kit placed tag. $snippet_comment = sprintf( "\n<!-- %s -->\n", esc_html__( 'Google Ads snippet added by Site Kit', 'google-site-kit' ) ); return $snippet_comment . $tag; }; add_filter( 'script_loader_tag', $filter_google_gtagjs, 10, 2 ); } } includes/Modules/Analytics_4/Advanced_Tracking/AMP_Config_Injector.php 0000604 00000003511 14717744000 0021733 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\AMP_Config_Injector * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; /** * Class for injecting JavaScript based on the registered event configurations. * * @since 1.18.0. * @access private * @ignore */ final class AMP_Config_Injector { /** * Creates list of measurement event configurations and javascript to inject. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * * @param array $gtag_amp_opt gtag config options for AMP. * @param array $events The map of Event objects, keyed by their unique ID. * @return array Filtered $gtag_amp_opt. */ public function inject_event_configurations( $gtag_amp_opt, $events ) { if ( empty( $events ) ) { return $gtag_amp_opt; } if ( ! array_key_exists( 'triggers', $gtag_amp_opt ) ) { $gtag_amp_opt['triggers'] = array(); } foreach ( $events as $amp_trigger_key => $event ) { $event_config = $event->get_config(); $amp_trigger = array(); if ( 'DOMContentLoaded' === $event_config['on'] ) { $amp_trigger['on'] = 'visible'; } else { $amp_trigger['on'] = $event_config['on']; $amp_trigger['selector'] = $event_config['selector']; } $amp_trigger['vars'] = array(); $amp_trigger['vars']['event_name'] = $event_config['action']; if ( is_array( $event_config['metadata'] ) ) { foreach ( $event_config['metadata'] as $key => $value ) { $amp_trigger['vars'][ $key ] = $value; } } $gtag_amp_opt['triggers'][ $amp_trigger_key ] = $amp_trigger; } return $gtag_amp_opt; } } includes/Modules/Analytics_4/Advanced_Tracking/Event_List.php 0000604 00000002740 14717744000 0020253 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Event_List * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; /** * Base class representing a tracking event list. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * @access private * @ignore */ abstract class Event_List { /** * Container for events. * * @since 1.18.0. * @var array Map of events for this list, keyed by their unique ID. */ private $events = array(); /** * Adds events or registers WordPress hook callbacks to add events. * * Children classes should extend this to add their events, either generically or by dynamically collecting * metadata through WordPress hooks. * * @since 1.18.0. */ abstract public function register(); /** * Adds a measurement event to the measurement events array. * * @since 1.18.0. * * @param Event $event The measurement event object. */ protected function add_event( Event $event ) { $hash = md5( wp_json_encode( $event ) ); $this->events[ $hash ] = $event; } /** * Gets the measurement events array. * * @since 1.18.0. * * @return array The map of events for this list, keyed by their unique ID. */ public function get_events() { return $this->events; } } includes/Modules/Analytics_4/Advanced_Tracking/Event_List_Registry.php 0000604 00000002164 14717744000 0022143 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Event_List_Registry * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; /** * Class for registering third party event lists. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * @access private * @ignore */ class Event_List_Registry { /** * The list of registered event lists. * * @since 1.18.0. * @var Event_List[] */ private $event_lists = array(); /** * Registers an event list. * * @since 1.18.0. * * @param Event_List $event_list The event list to be registered. */ public function register_list( Event_List $event_list ) { $this->event_lists[] = $event_list; } /** * Gets the list of registered event lists. * * @since 1.18.0. * * @return Event_List[] The list of registered event lists. */ public function get_lists() { return $this->event_lists; } } includes/Modules/Analytics_4/Advanced_Tracking/Event.php 0000604 00000005555 14717744000 0017267 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Event * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; use Exception; /** * Class for representing a single tracking event that Advanced_Tracking tracks. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * @access private * @ignore */ final class Event implements \JsonSerializable { /** * The measurement event's configuration. * * @since 1.18.0. * @var array */ private $config; /** * Event constructor. * * @since 1.18.0. * * @param array $config { * The event's configuration. * * @type string $action Required. The event action / event name to send. * @type string $on Required. The DOM event to send the event for. * @type string $selector Required, unless $on is 'DOMContentLoaded'. The DOM selector on which to listen * to the $on event. * @type array|null $metadata Optional. Associative array of event metadata to send, such as 'event_category', * 'event_label' etc, or null to not send any extra event data. * } * @throws Exception Thrown when config param is undefined. */ public function __construct( $config ) { $this->config = $this->validate_config( $config ); } /** * Returns an associative event containing the event attributes. * * @since 1.18.0. * * @return array The configuration in JSON-serializable format. */ #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->config; } /** * Returns the measurement event configuration. * * @since 1.18.0. * * @return array The config. */ public function get_config() { return $this->config; } /** * Validates the configuration keys and value types. * * @since 1.18.0. * * @param array $config The event's configuration. * @return array The event's configuration. * @throws Exception Thrown when invalid keys or value type. */ private function validate_config( $config ) { $valid_keys = array( 'action', 'selector', 'on', 'metadata', ); foreach ( $config as $key => $value ) { if ( ! in_array( $key, $valid_keys, true ) ) { throw new Exception( 'Invalid configuration parameter: ' . $key ); } } if ( ! array_key_exists( 'metadata', $config ) ) { $config['metadata'] = null; } if ( array_key_exists( 'on', $config ) && 'DOMContentLoaded' === $config['on'] ) { $config['selector'] = ''; } foreach ( $valid_keys as $key ) { if ( ! array_key_exists( $key, $config ) ) { throw new Exception( 'Missed configuration parameter: ' . $key ); } } return $config; } } includes/Modules/Analytics_4/Advanced_Tracking/Script_Injector.php 0000604 00000003730 14717744000 0021300 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Script_Injector * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Manifest; use Google\Site_Kit\Core\Util\BC_Functions; /** * Class for injecting JavaScript based on the registered event configurations. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * @access private * @ignore */ final class Script_Injector { /** * Plugin context. * * @since 1.18.0. * @var Context */ protected $context; /** * Constructor. * * @since 1.18.0. * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Creates list of measurement event configurations and javascript to inject. * * @since 1.18.0. * * @param array $events The map of Event objects, keyed by their unique ID. */ public function inject_event_script( $events ) { if ( empty( $events ) ) { return; } list( $filename ) = Manifest::get( 'analytics-advanced-tracking' ); if ( ! $filename ) { // Get file contents of script and add it to the page, injecting event configurations into it. $filename = 'analytics-advanced-tracking.js'; } $script_path = $this->context->path( "dist/assets/js/{$filename}" ); // phpcs:ignore WordPress.WP.AlternativeFunctions, WordPressVIPMinimum.Performance.FetchingRemoteData $script_content = file_get_contents( $script_path ); if ( ! $script_content ) { return; } $data_var = sprintf( 'var _googlesitekitAnalyticsTrackingData = %s;', wp_json_encode( array_values( $events ) ) ); BC_Functions::wp_print_inline_script_tag( $data_var . "\n" . $script_content ); } } includes/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Cron.php 0000604 00000002474 14717744000 0024171 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Cron * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting; /** * Class providing cron implementation for conversion reporting. * * @since 1.135.0 * @access private * @ignore */ class Conversion_Reporting_Cron { const CRON_ACTION = 'googlesitekit_cron_conversion_reporting_events'; /** * Cron callback reference. * * @var callable */ private $cron_callback; /** * Constructor. * * @since 1.135.0 * * @param callable $callback Function to call on the cron action. */ public function __construct( callable $callback ) { $this->cron_callback = $callback; } /** * Registers functionality through WordPress hooks. * * @since 1.133.0 */ public function register() { add_action( self::CRON_ACTION, $this->cron_callback ); } /** * Schedules cron if not already set. * * @since 1.135.0 */ public function maybe_schedule_cron() { if ( ! wp_next_scheduled( self::CRON_ACTION ) && ! wp_installing() ) { wp_schedule_single_event( time() + DAY_IN_SECONDS, self::CRON_ACTION ); } } } includes/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Events_Sync.php 0000604 00000010213 14717744000 0025516 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Events_Sync * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Modules\Analytics_4\Settings; use Google\Site_Kit\Core\Storage\Transients; use Google\Site_Kit\Context; /** * Class providing report implementation for available events for conversion reporting. * * @since 1.135.0 * @access private * @ignore */ class Conversion_Reporting_Events_Sync { /** * The detected events transient name. */ public const DETECTED_EVENTS_TRANSIENT = 'googlesitekit_conversion_reporting_detected_events'; /** * The lost events transient name. */ public const LOST_EVENTS_TRANSIENT = 'googlesitekit_conversion_reporting_lost_events'; const EVENT_NAMES = array( 'add_to_cart', 'purchase', 'submit_lead_form', 'generate_lead', 'contact', ); /** * Settings instance. * * @var Settings */ private $settings; /** * Analytics_4 instance. * * @var Analytics_4 */ private $analytics; /** * Transients instance. * * @since 1.139.0 * @var Transients */ protected $transients; /** * Constructor. * * @since 1.135.0 * @since 1.139.0 Added $context param to constructor. * * @param Context $context Plugin context. * @param Settings $settings Settings module settings instance. * @param Analytics_4 $analytics Analytics 4 module instance. */ public function __construct( Context $context, Settings $settings, Analytics_4 $analytics ) { $this->settings = $settings; $this->analytics = $analytics; $this->transients = new Transients( $context ); } /** * Syncs detected events into settings. * * @since 1.135.0 */ public function sync_detected_events() { $report = $this->get_report(); $detected_events = array(); if ( is_wp_error( $report ) ) { return; } // Get current stored detected events. $settings = $this->settings->get(); $saved_detected_events = isset( $settings['detectedEvents'] ) ? $settings['detectedEvents'] : array(); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase if ( empty( $report->rowCount ) ) { $this->settings->merge( array( 'detectedEvents' => array() ) ); $this->transients->delete( self::DETECTED_EVENTS_TRANSIENT ); if ( ! empty( $saved_detected_events ) ) { $this->transients->set( self::LOST_EVENTS_TRANSIENT, $saved_detected_events ); } return; } foreach ( $report->rows as $row ) { $detected_events[] = $row['dimensionValues'][0]['value']; } $new_events = array_diff( $detected_events, $saved_detected_events ); $lost_events = array_diff( $saved_detected_events, $detected_events ); if ( ! empty( $new_events ) ) { $this->transients->set( self::DETECTED_EVENTS_TRANSIENT, array_values( $new_events ) ); } if ( ! empty( $lost_events ) ) { $this->transients->set( self::LOST_EVENTS_TRANSIENT, array_values( $lost_events ) ); } if ( empty( $saved_detected_events ) ) { $this->transients->set( self::DETECTED_EVENTS_TRANSIENT, $detected_events ); } $this->settings->merge( array( 'detectedEvents' => $detected_events ) ); } /** * Retrieves the GA4 report for filtered events. * * @since 1.135.0 */ protected function get_report() { $options = array( // The 'metrics' parameter is required. 'eventCount' is used to ensure the request succeeds. 'metrics' => array( array( 'name' => 'eventCount' ) ), 'dimensions' => array( array( 'name' => 'eventName', ), ), 'startDate' => gmdate( 'Y-m-d', strtotime( '-90 days' ) ), 'endDate' => gmdate( 'Y-m-d', strtotime( '-1 day' ) ), 'dimensionFilters' => array( 'eventName' => array( 'filterType' => 'inListFilter', 'value' => self::EVENT_NAMES, ), ), 'limit' => '20', ); return $this->analytics->get_data( 'report', $options ); } } includes/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Provider.php 0000604 00000005056 14717744000 0025061 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Provider * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Modules\Analytics_4\Settings; /** * Class providing the integration of conversion reporting. * * @since 1.135.0 * @access private * @ignore */ class Conversion_Reporting_Provider { /** * User_Options instance. * * @var User_Options */ private $user_options; /** * Analytics_4 instance. * * @var Analytics_4 */ private $analytics; /** * Conversion_Reporting_Cron instance. * * @var Conversion_Reporting_Cron */ private Conversion_Reporting_Cron $cron; /** * Conversion_Reporting_Events_Sync instance. * * @var Conversion_Reporting_Events_Sync */ private Conversion_Reporting_Events_Sync $events_sync; /** * Constructor. * * @since 1.135.0 * @since 1.139.0 Added Context to constructor. * * @param Context $context Plugin context. * @param Settings $settings Settings instance. * @param User_Options $user_options User_Options instance. * @param Analytics_4 $analytics analytics_4 instance. */ public function __construct( Context $context, Settings $settings, User_Options $user_options, Analytics_4 $analytics ) { $this->user_options = $user_options; $this->analytics = $analytics; $this->events_sync = new Conversion_Reporting_Events_Sync( $context, $settings, $this->analytics ); $this->cron = new Conversion_Reporting_Cron( fn() => $this->cron_callback() ); } /** * Registers functionality through WordPress hooks. * * @since 1.135.0 */ public function register() { $this->cron->register(); add_action( 'load-toplevel_page_googlesitekit-dashboard', fn () => $this->on_dashboard_load() ); } /** * Handles the googlesitekit-dashboard page load callback. * * @since 1.135.0 */ protected function on_dashboard_load() { $this->cron->maybe_schedule_cron(); } /** * Handles the cron callback. * * @since 1.135.0 */ protected function cron_callback() { $owner_id = $this->analytics->get_owner_id(); $restore_user = $this->user_options->switch_user( $owner_id ); $this->events_sync->sync_detected_events(); $restore_user(); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php 0000604 00000003071 14717744000 0024227 0 ustar 00 <?php /** * Class AccountProvisioningService * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google_Client; /** * Class for Analytics account provisioning service of the GoogleAnalytics Admin API. * * @since 1.98.0 * @access private * @ignore */ class AccountProvisioningService extends GoogleAnalyticsAdmin { /** * Accounts resource instance. * * @var AccountsResource */ public $accounts; /** * Constructor. * * @since 1.98.0 * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct( Google_Client $client, $rootUrl = null ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName parent::__construct( $client, $rootUrl ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->accounts = new AccountsResource( $this, $this->serviceName, // phpcs:ignore WordPress.NamingConventions.ValidVariableName 'accounts', array( 'methods' => array( 'provisionAccountTicket' => array( 'path' => 'v1beta/accounts:provisionAccountTicket', 'httpMethod' => 'POST', 'parameters' => array(), ), ), ) ); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountsResource.php 0000604 00000002661 14717744000 0022176 0 ustar 00 <?php /** * Class AccountsResource * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse; use Google\Site_Kit_Dependencies\Google\Service\Resource; /** * Class for representing the Accounts resource of the GoogleAnalytics Admin API for provisioning. * * @since 1.98.0 * @access private * @ignore */ class AccountsResource extends Resource { /** * Requests a ticket for creating an account. * * @since 1.98.0 * * @param Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest $post_body The post body to send. * @param array $opt_params Optional parameters. * @return GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse */ public function provisionAccountTicket( Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest $post_body, $opt_params = array() ) { $params = array( 'postBody' => $post_body ); $params = array_merge( $params, $opt_params ); return $this->call( 'provisionAccountTicket', array( $params ), GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse::class ); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/EnhancedMeasurementSettingsModel.php 0000604 00000005571 14717744000 0025327 0 ustar 00 <?php // phpcs:ignoreFile // Suppress coding standards checks for this file. // Reason: This file is a copy of the `GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings` class // from the Google API PHP Client library with a slight modification. /** * Class EnhancedMeasurementSettingsModel * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; /** * The EnhancedMeasurementSettingsModel class. */ class EnhancedMeasurementSettingsModel extends \Google\Site_Kit_Dependencies\Google\Model { public $fileDownloadsEnabled; public $name; public $outboundClicksEnabled; public $pageChangesEnabled; public $scrollsEnabled; public $searchQueryParameter; public $siteSearchEnabled; public $streamEnabled; public $uriQueryParameter; public $videoEngagementEnabled; public function setFileDownloadsEnabled( $fileDownloadsEnabled ) { $this->fileDownloadsEnabled = $fileDownloadsEnabled; } public function getFileDownloadsEnabled() { return $this->fileDownloadsEnabled; } public function setName( $name ) { $this->name = $name; } public function getName() { return $this->name; } public function setOutboundClicksEnabled( $outboundClicksEnabled ) { $this->outboundClicksEnabled = $outboundClicksEnabled; } public function getOutboundClicksEnabled() { return $this->outboundClicksEnabled; } public function setPageChangesEnabled( $pageChangesEnabled ) { $this->pageChangesEnabled = $pageChangesEnabled; } public function getPageChangesEnabled() { return $this->pageChangesEnabled; } public function setScrollsEnabled( $scrollsEnabled ) { $this->scrollsEnabled = $scrollsEnabled; } public function getScrollsEnabled() { return $this->scrollsEnabled; } public function setSearchQueryParameter( $searchQueryParameter ) { $this->searchQueryParameter = $searchQueryParameter; } public function getSearchQueryParameter() { return $this->searchQueryParameter; } public function setSiteSearchEnabled( $siteSearchEnabled ) { $this->siteSearchEnabled = $siteSearchEnabled; } public function getSiteSearchEnabled() { return $this->siteSearchEnabled; } public function setStreamEnabled( $streamEnabled ) { $this->streamEnabled = $streamEnabled; } public function getStreamEnabled() { return $this->streamEnabled; } public function setUriQueryParameter( $uriQueryParameter ) { $this->uriQueryParameter = $uriQueryParameter; } public function getUriQueryParameter() { return $this->uriQueryParameter; } public function setVideoEngagementEnabled( $videoEngagementEnabled ) { $this->videoEngagementEnabled = $videoEngagementEnabled; } public function getVideoEngagementEnabled() { return $this->videoEngagementEnabled; } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesAdSenseLinksService.php 0000604 00000005754 14717744000 0024636 0 ustar 00 <?php /** * Class PropertiesAdSenseLinksService * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google_Client; use Google\Site_Kit_Dependencies\Google_Service_GoogleAnalyticsAdmin_PropertiesAdSenseLinks_Resource as PropertiesAdSenseLinksResource; /** * Class for managing GA4 AdSense Links. * * @since 1.119.0 * @access private * @ignore */ class PropertiesAdSenseLinksService extends GoogleAnalyticsAdmin { /** * PropertiesAdSenseLinksResource instance. * * @var PropertiesAdSenseLinksResource */ public $properties_adSenseLinks; // phpcs:ignore WordPress.NamingConventions.ValidVariableName /** * Constructor. * * @since 1.119.0 * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct( Google_Client $client, $rootUrl = null ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName parent::__construct( $client, $rootUrl ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->version = 'v1alpha'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->properties_adSenseLinks = new PropertiesAdSenseLinksResource( $this, $this->serviceName, // phpcs:ignore WordPress.NamingConventions.ValidVariableName 'adSenseLinks', array( 'methods' => array( 'create' => array( 'path' => 'v1alpha/{+parent}/adSenseLinks', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array( 'path' => 'v1alpha/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array( 'path' => 'v1alpha/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array( 'path' => 'v1alpha/{+parent}/adSenseLinks', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ), ) ); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesAudiencesService.php 0000604 00000004374 14717744000 0024210 0 ustar 00 <?php /** * Class PropertiesAudiencesService * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\Resource\PropertiesAudiences; use Google\Site_Kit_Dependencies\Google_Client; /** * Class for managing GA4 audiences. * * @since 1.120.0 * @access private * @ignore */ class PropertiesAudiencesService extends GoogleAnalyticsAdmin { /** * PropertiesAudiences instance. * * @var PropertiesAudiences */ public $properties_audiences; /** * Constructor. * * @since 1.120.0 * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct( Google_Client $client, $rootUrl = null ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName parent::__construct( $client, $rootUrl ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->version = 'v1alpha'; $this->properties_audiences = new PropertiesAudiences( $this, $this->serviceName, // phpcs:ignore WordPress.NamingConventions.ValidVariableName 'audiences', array( 'methods' => array( 'create' => array( 'path' => 'v1alpha/{+parent}/audiences', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array( 'path' => 'v1alpha/{+parent}/audiences', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ), ) ); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesEnhancedMeasurementResource.php 0000604 00000005616 14717744000 0026412 0 ustar 00 <?php /** * Class PropertiesEnhancedMeasurementResource * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\EnhancedMeasurementSettingsModel; use Google\Site_Kit_Dependencies\Google\Service\Resource; /** * The "enhancedMeasurementSettings" collection of methods. */ class PropertiesEnhancedMeasurementResource extends Resource { /** * Returns the singleton enhanced measurement settings for this web stream. Note * that the stream must enable enhanced measurement for these settings to take * effect. (webDataStreams.getEnhancedMeasurementSettings) * * @since 1.110.0 * * @param string $name Required. The name of the settings to lookup. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings". * @param array $opt_params Optional parameters. * @return EnhancedMeasurementSettingsModel */ public function getEnhancedMeasurementSettings( $name, $opt_params = array() ) { $params = array( 'name' => $name ); $params = array_merge( $params, $opt_params ); return $this->call( 'getEnhancedMeasurementSettings', array( $params ), EnhancedMeasurementSettingsModel::class ); } /** * Updates the singleton enhanced measurement settings for this web stream. Note * that the stream must enable enhanced measurement for these settings to take * effect. (webDataStreams.updateEnhancedMeasurementSettings) * * @param string $name Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings". * @param EnhancedMeasurementSettingsModel $post_body The body of the request. * @param array $opt_params Optional parameters. * * @opt_param string updateMask Required. The list of fields to be updated. * Field names must be in snake case (e.g., "field_to_update"). Omitted fields * will not be updated. To replace the entire entity, use one path with the * string "*" to match all fields. * @return EnhancedMeasurementSettingsModel */ public function updateEnhancedMeasurementSettings( $name, EnhancedMeasurementSettingsModel $post_body, $opt_params = array() ) { $params = array( 'name' => $name, 'postBody' => $post_body, ); $params = array_merge( $params, $opt_params ); return $this->call( 'updateEnhancedMeasurementSettings', array( $params ), EnhancedMeasurementSettingsModel::class ); } } includes/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesEnhancedMeasurementService.php 0000604 00000004531 14717744000 0026216 0 ustar 00 <?php /** * Class PropertiesEnhancedMeasurementService * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google_Client; /** * Class for managing GA4 datastream enhanced measurement settings. * * @since 1.110.0 * @access private * @ignore */ class PropertiesEnhancedMeasurementService extends GoogleAnalyticsAdmin { /** * PropertiesEnhancedMeasurementResource instance. * * @var PropertiesEnhancedMeasurementResource */ public $properties_enhancedMeasurements; // phpcs:ignore WordPress.NamingConventions.ValidVariableName /** * Constructor. * * @since 1.110.0 * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct( Google_Client $client, $rootUrl = null ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName parent::__construct( $client, $rootUrl ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->version = 'v1alpha'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName $this->properties_enhancedMeasurements = new PropertiesEnhancedMeasurementResource( $this, $this->serviceName, // phpcs:ignore WordPress.NamingConventions.ValidVariableName 'enhancedMeasurements', array( 'methods' => array( 'getEnhancedMeasurementSettings' => array( 'path' => 'v1alpha/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updateEnhancedMeasurementSettings' => array( 'path' => 'v1alpha/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ), ) ); } } Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php0000604 00000002777 14717744000 0032041 0 ustar 00 includes <?php /** * Class Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest * * @package Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest; /** * Class for representing a proxied account ticket provisioning request body. * * @since 1.98.0 * @access private * @ignore */ class Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest extends GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest { /** * The site ID. * * @since 1.98.0 * @var string */ public $site_id = ''; /** * The site secret. * * @since 1.98.0 * @var string */ public $site_secret = ''; /** * Gets the site ID. * * @since 1.98.0 */ public function getSiteId() { return $this->site_id; } /** * Sets the site ID. * * @since 1.98.0 * * @param string $id The site id. */ public function setSiteId( $id ) { $this->site_id = $id; } /** * Gets the site secret. * * @since 1.98.0 */ public function getSiteSecret() { return $this->site_secret; } /** * Sets the site secret. * * @since 1.98.0 * * @param string $secret The site secret. */ public function setSiteSecret( $secret ) { $this->site_secret = $secret; } } includes/Modules/Analytics_4/Report/Dimension_Filter/Filter.php 0000604 00000002002 14717744000 0020571 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter\Filter * * @package Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; /** * Interface for a dimension filter class. * * @since 1.106.0 */ interface Filter { /** * Converts the dimension filter into the GA4 compatible dimension filter expression. * * @since 1.106.0 * * @param string $dimension_name The dimension name. * @param mixed $dimension_value The dimension filter value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ public function parse_filter_expression( $dimension_name, $dimension_value ); } includes/Modules/Analytics_4/Report/Dimension_Filter/In_List_Filter.php 0000604 00000003274 14717744000 0022226 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter\In_List_Filter * * @package Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter as Google_Service_AnalyticsData_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter as Google_Service_AnalyticsData_InListFilter; /** * Class for parsing the dimension in-list filter. * * @since 1.106.0 * @access private * @ignore */ class In_List_Filter implements Filter { /** * Converts the dimension filter into the GA4 compatible dimension filter expression. * * @since 1.106.0 * * @param string $dimension_name The dimension name. * @param mixed $dimension_value The dimension filter value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ public function parse_filter_expression( $dimension_name, $dimension_value ) { $in_list_filter = new Google_Service_AnalyticsData_InListFilter(); $in_list_filter->setValues( $dimension_value ); $filter = new Google_Service_AnalyticsData_Filter(); $filter->setFieldName( $dimension_name ); $filter->setInListFilter( $in_list_filter ); $expression = new Google_Service_AnalyticsData_FilterExpression(); $expression->setFilter( $filter ); return $expression; } } includes/Modules/Analytics_4/Report/Dimension_Filter/String_Filter.php 0000604 00000007173 14717744000 0022135 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter\String_Filter * * @package Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter as Google_Service_AnalyticsData_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList as Google_Service_AnalyticsData_FilterExpressionList; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\StringFilter as Google_Service_AnalyticsData_StringFilter; /** * Class for parsing the dimension string filter. * * @since 1.106.0 * @access private * @ignore */ class String_Filter implements Filter { /** * Converts the dimension filter into the GA4 compatible dimension filter expression. * * @since 1.106.0 * * @param string $dimension_name The dimension name. * @param mixed $dimension_value The dimension filter value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ public function parse_filter_expression( $dimension_name, $dimension_value ) { $match_type = isset( $dimension_value['matchType'] ) ? $dimension_value['matchType'] : 'EXACT'; $filter_value = isset( $dimension_value['value'] ) ? $dimension_value['value'] : $dimension_value; // If there are many values for this filter, then it means that we want to find // rows where dimension are included in the list of provided values. In this case, // we need to create a nested filter expression that contains separate string filters // for each item in the list and combined into the "OR" group. if ( is_array( $filter_value ) ) { $expressions = array(); foreach ( $filter_value as $value ) { $expressions[] = $this->compose_individual_filter_expression( $dimension_name, $match_type, $value ); } $expression_list = new Google_Service_AnalyticsData_FilterExpressionList(); $expression_list->setExpressions( $expressions ); $filter_expression = new Google_Service_AnalyticsData_FilterExpression(); $filter_expression->setOrGroup( $expression_list ); return $filter_expression; } // If we have a single value for the filter, then we should use just a single // string filter expression and there is no need to create a nested one. return $this->compose_individual_filter_expression( $dimension_name, $match_type, $filter_value ); } /** * Composes individual filter expression and returns it. * * @since 1.106.0 * * @param string $dimension_name The dimension name. * @param string $match_type The dimension filter match type. * @param mixed $value The dimension filter value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ protected function compose_individual_filter_expression( $dimension_name, $match_type, $value ) { $string_filter = new Google_Service_AnalyticsData_StringFilter(); $string_filter->setMatchType( $match_type ); $string_filter->setValue( $value ); $filter = new Google_Service_AnalyticsData_Filter(); $filter->setFieldName( $dimension_name ); $filter->setStringFilter( $string_filter ); $filter_expression = new Google_Service_AnalyticsData_FilterExpression(); $filter_expression->setFilter( $filter ); return $filter_expression; } } includes/Modules/Analytics_4/Report/Filters/Between_Filter.php 0000604 00000003776 14717744000 0020443 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Metric_Filter\Between_Filter * * @package Google\Site_Kit\Modules\Analytics_4\Report\Metric_Filter * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report\Filters; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter as Google_Service_AnalyticsData_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter as Google_Service_AnalyticsData_BetweenFilter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue; /** * Class for parsing the metric between filter. * * @since 1.111.0 * @access private * @ignore */ class Between_Filter { /** * Converts the metric filter into the GA4 compatible metric filter expression. * * @since 1.111.0 * * @param string $metric_name The metric name. * @param integer $from_value The filter from value. * @param integer $to_value The filter to value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ public function parse_filter_expression( $metric_name, $from_value, $to_value ) { $numeric_from_value = new NumericValue(); $numeric_from_value->setInt64Value( $from_value ); $numeric_to_value = new NumericValue(); $numeric_to_value->setInt64Value( $to_value ); $between_filter = new Google_Service_AnalyticsData_BetweenFilter(); $between_filter->setFromValue( $numeric_from_value ); $between_filter->setToValue( $numeric_to_value ); $filter = new Google_Service_AnalyticsData_Filter(); $filter->setFieldName( $metric_name ); $filter->setBetweenFilter( $between_filter ); $expression = new Google_Service_AnalyticsData_FilterExpression(); $expression->setFilter( $filter ); return $expression; } } includes/Modules/Analytics_4/Report/Filters/Numeric_Filter.php 0000604 00000003571 14717744000 0020445 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Metric_Filter\Numeric_Filter * * @package Google\Site_Kit\Modules\Analytics_4\Report\Metric_Filter * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report\Filters; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter as Google_Service_AnalyticsData_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter as Google_Service_AnalyticsData_NumericFilter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue; /** * Class for parsing the metric numeric filter. * * @since 1.111.0 * @access private * @ignore */ class Numeric_Filter { /** * Converts the metric filter into the GA4 compatible metric filter expression. * * @since 1.111.0 * * @param string $metric_name The metric name. * @param string $operation The filter operation. * @param integer $value The filter value. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ public function parse_filter_expression( $metric_name, $operation, $value ) { $numeric_value = new NumericValue(); $numeric_value->setInt64Value( $value ); $numeric_filter = new Google_Service_AnalyticsData_NumericFilter(); $numeric_filter->setOperation( $operation ); $numeric_filter->setValue( $numeric_value ); $filter = new Google_Service_AnalyticsData_Filter(); $filter->setFieldName( $metric_name ); $filter->setNumericFilter( $numeric_filter ); $expression = new Google_Service_AnalyticsData_FilterExpression(); $expression->setFilter( $filter ); return $expression; } } includes/Modules/Analytics_4/Report/PivotRequest.php 0000604 00000004601 14717744000 0016573 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\PivotRequest * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Dimensions_Exception; use Google\Site_Kit\Modules\Analytics_4\PivotReport; use Google\Site_Kit\Modules\Analytics_4\Report\RequestHelpers; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest as Google_Service_AnalyticsData_RunPivotReportRequest; use WP_Error; /** * Class for Analytics 4 pivot report requests. * * @since 1.130.0 * @access private * @ignore */ class PivotRequest extends PivotReport { /** * Creates and executes a new Analytics 4 pivot report request. * * @since 1.130.0 * * @param Data_Request $data Data request object. * @param bool $is_shared_request Determines whether the current request is shared or not. * @return Google_Service_AnalyticsData_RunReportRequest|Google_Service_AnalyticsData_RunPivotReportRequest|WP_Error Request object on success, or WP_Error on failure. */ public function create_request( Data_Request $data, $is_shared_request ) { $request_helpers = new RequestHelpers( $this->context ); $request = new Google_Service_AnalyticsData_RunPivotReportRequest(); $dimensions = $this->parse_dimensions( $data ); // The hostName dimension must be added to every request because // we add a dimension filter in Analytics_4/Report/Request to // limit the data to the WordPress site URL. $dimensions[] = array( 'name' => 'hostName' ); if ( ! empty( $dimensions ) ) { if ( $is_shared_request ) { try { $request_helpers->validate_shared_dimensions( $dimensions ); } catch ( Invalid_Report_Dimensions_Exception $exception ) { return new WP_Error( 'invalid_analytics_4_report_dimensions', $exception->getMessage() ); } } $request->setDimensions( (array) $dimensions ); } $request = $request_helpers->shared_create_request( $data, $request, $is_shared_request ); $pivots = $this->parse_pivots( $data ); if ( ! empty( $pivots ) ) { $request->setPivots( $pivots ); } return $request; } } includes/Modules/Analytics_4/Report/ReportParsers.php 0000604 00000013032 14717744000 0016732 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\ReportParsers * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Util\Date; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange as Google_Service_AnalyticsData_DateRange; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension as Google_Service_AnalyticsData_Dimension; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy as Google_Service_AnalyticsData_DimensionOrderBy; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy as Google_Service_AnalyticsData_MetricOrderBy; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\OrderBy as Google_Service_AnalyticsData_OrderBy; /** * A class with helper methods to parse report properties * * @since 1.130.0 * @access private * @ignore */ class ReportParsers { /** * Parses report dimensions received in the request params. * * @since 1.99.0 * @since 1.130.0 Moved into ReportParsers for shared used between Report and PivotReport. * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_Dimension[] An array of AnalyticsData Dimension objects. */ protected function parse_dimensions( Data_Request $data ) { $dimensions = $data['dimensions']; if ( empty( $dimensions ) || ( ! is_string( $dimensions ) && ! is_array( $dimensions ) ) ) { return array(); } if ( is_string( $dimensions ) ) { $dimensions = explode( ',', $dimensions ); } elseif ( is_array( $dimensions ) && ! wp_is_numeric_array( $dimensions ) ) { // If single object is passed. $dimensions = array( $dimensions ); } $dimensions = array_filter( array_map( function ( $dimension_def ) { $dimension = new Google_Service_AnalyticsData_Dimension(); if ( is_string( $dimension_def ) ) { $dimension->setName( $dimension_def ); } elseif ( is_array( $dimension_def ) && ! empty( $dimension_def['name'] ) ) { $dimension->setName( $dimension_def['name'] ); } else { return null; } return $dimension; }, array_filter( $dimensions ) ) ); return $dimensions; } /** * Parses report date ranges received in the request params. * * @since 1.99.0 * @since 1.130.0 Moved into ReportParsers for shared used between Report and PivotReport. * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_DateRange[] An array of AnalyticsData DateRange objects. */ public function parse_dateranges( Data_Request $data ) { $date_ranges = array(); $start_date = $data['startDate'] ?? ''; $end_date = $data['endDate'] ?? ''; if ( strtotime( $start_date ) && strtotime( $end_date ) ) { $compare_start_date = $data['compareStartDate'] ?? ''; $compare_end_date = $data['compareEndDate'] ?? ''; $date_ranges[] = array( $start_date, $end_date ); // When using multiple date ranges, it changes the structure of the response: // Aggregate properties (minimum, maximum, totals) will have an entry per date range. // The rows property will have additional row entries for each date range. if ( strtotime( $compare_start_date ) && strtotime( $compare_end_date ) ) { $date_ranges[] = array( $compare_start_date, $compare_end_date ); } } else { // Default the date range to the last 28 days. $date_ranges[] = Date::parse_date_range( 'last-28-days', 1 ); } $date_ranges = array_map( function ( $date_range ) { list ( $start_date, $end_date ) = $date_range; $date_range = new Google_Service_AnalyticsData_DateRange(); $date_range->setStartDate( $start_date ); $date_range->setEndDate( $end_date ); return $date_range; }, $date_ranges ); return $date_ranges; } /** * Parses the orderby value of the data request into an array of AnalyticsData OrderBy object instances. * * @since 1.99.0 * @since 1.130.0 Moved into ReportParsers for shared used between Report and PivotReport. * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_OrderBy[] An array of AnalyticsData OrderBy objects. */ protected function parse_orderby( Data_Request $data ) { $orderby = $data['orderby']; if ( empty( $orderby ) || ! is_array( $orderby ) || ! wp_is_numeric_array( $orderby ) ) { return array(); } $results = array_map( function ( $order_def ) { $order_by = new Google_Service_AnalyticsData_OrderBy(); $order_by->setDesc( ! empty( $order_def['desc'] ) ); if ( isset( $order_def['metric'] ) && isset( $order_def['metric']['metricName'] ) ) { $metric_order_by = new Google_Service_AnalyticsData_MetricOrderBy(); $metric_order_by->setMetricName( $order_def['metric']['metricName'] ); $order_by->setMetric( $metric_order_by ); } elseif ( isset( $order_def['dimension'] ) && isset( $order_def['dimension']['dimensionName'] ) ) { $dimension_order_by = new Google_Service_AnalyticsData_DimensionOrderBy(); $dimension_order_by->setDimensionName( $order_def['dimension']['dimensionName'] ); $order_by->setDimension( $dimension_order_by ); } else { return null; } return $order_by; }, $orderby ); $results = array_filter( $results ); $results = array_values( $results ); return $results; } } includes/Modules/Analytics_4/Report/RequestHelpers.php 0000604 00000042001 14717744000 0017070 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\SharedRequestHelpers * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Context; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Dimensions_Exception; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Metrics_Exception; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter\In_List_Filter; use Google\Site_Kit\Modules\Analytics_4\Report\Dimension_Filter\String_Filter; use Google\Site_Kit\Modules\Analytics_4\Report\Filters\Numeric_Filter; use Google\Site_Kit\Modules\Analytics_4\Report\Filters\Between_Filter; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension as Google_Service_AnalyticsData_Dimension; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression as Google_Service_AnalyticsData_FilterExpression; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList as Google_Service_AnalyticsData_FilterExpressionList; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest as Google_Service_AnalyticsData_RunReportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest as Google_Service_AnalyticsData_RunPivotReportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metric as Google_Service_AnalyticsData_Metric; use WP_Error; /** * A class containing shared methods for creating AnalyticsData Report and PivotReport requests. * * @since 1.130.0 * @access private * @ignore */ class RequestHelpers { /** * Plugin context. * * @since 1.130.0 * @var Context */ private $context; /** * Constructs a new instance of the class. * * @param Context $context Plugin context. */ public function __construct( $context ) { $this->context = $context; } /** * Builds a Analytics Data Report or Pivot Report request's shared properties. * * @since 1.130.0 * * @param Data_Request $data Data request object. * @param Google_Service_AnalyticsData_RunPivotReportRequest|Google_Service_AnalyticsData_RunReportRequest $request The report request object. * @param bool $is_shared_request Determines whether the current request is shared or not. * @return Google_Service_AnalyticsData_RunPivotReportRequest|Google_Service_AnalyticsData_RunReportRequest The report request object. */ public function shared_create_request( Data_Request $data, $request, $is_shared_request = false ) { $request->setKeepEmptyRows( true ); $dimension_filters = $this->parse_dimension_filters( $data ); $request->setDimensionFilter( $dimension_filters ); $metric_filters = $this->parse_metric_filters( $data ); if ( ! empty( $metric_filters ) ) { $request->setMetricFilter( $metric_filters ); } $report_parsers = new ReportParsers(); $date_ranges = $report_parsers->parse_dateranges( $data ); $request->setDateRanges( $date_ranges ); $metrics = $data['metrics']; if ( is_string( $metrics ) || is_array( $metrics ) ) { if ( is_string( $metrics ) ) { $metrics = explode( ',', $data['metrics'] ); } elseif ( is_array( $metrics ) && ! wp_is_numeric_array( $metrics ) ) { // If single object is passed. $metrics = array( $metrics ); } $metrics = array_filter( array_map( function ( $metric_def ) { $metric = new Google_Service_AnalyticsData_Metric(); if ( is_string( $metric_def ) ) { $metric->setName( $metric_def ); } elseif ( is_array( $metric_def ) ) { $metric->setName( $metric_def['name'] ); if ( ! empty( $metric_def['expression'] ) ) { $metric->setExpression( $metric_def['expression'] ); } } else { return null; } return $metric; }, $metrics ) ); if ( ! empty( $metrics ) ) { try { $this->validate_metrics( $metrics ); } catch ( Invalid_Report_Metrics_Exception $exception ) { return new WP_Error( 'invalid_analytics_4_report_metrics', $exception->getMessage() ); } if ( $is_shared_request ) { try { $this->validate_shared_metrics( $metrics ); } catch ( Invalid_Report_Metrics_Exception $exception ) { return new WP_Error( 'invalid_analytics_4_report_metrics', $exception->getMessage() ); } } $request->setMetrics( $metrics ); } } return $request; } /** * Validates the given metrics for a report. * * Metrics must have valid names, matching the regular expression ^[a-zA-Z0-9_]+$ in keeping with the GA4 API. * * @since 1.99.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Google_Service_AnalyticsData_Metric[] $metrics The metrics to validate. * @throws Invalid_Report_Metrics_Exception Thrown if the metrics are invalid. */ protected function validate_metrics( $metrics ) { $valid_name_expression = '^[a-zA-Z0-9_]+$'; $invalid_metrics = array_map( function ( $metric ) { return $metric->getName(); }, array_filter( $metrics, function ( $metric ) use ( $valid_name_expression ) { return ! preg_match( "#$valid_name_expression#", $metric->getName() ?? '' ); } ) ); if ( count( $invalid_metrics ) > 0 ) { $message = count( $invalid_metrics ) > 1 ? sprintf( /* translators: 1: the regular expression for a valid name, 2: a comma separated list of the invalid metrics. */ __( 'Metric names should match the expression %1$s: %2$s', 'google-site-kit' ), $valid_name_expression, join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $invalid_metrics ) ) : sprintf( /* translators: 1: the regular expression for a valid name, 2: the invalid metric. */ __( 'Metric name should match the expression %1$s: %2$s', 'google-site-kit' ), $valid_name_expression, $invalid_metrics[0] ); throw new Invalid_Report_Metrics_Exception( $message ); } } /** * Validates the report metrics for a shared request. * * @since 1.99.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Google_Service_AnalyticsData_Metric[] $metrics The metrics to validate. * @throws Invalid_Report_Metrics_Exception Thrown if the metrics are invalid. */ protected function validate_shared_metrics( $metrics ) { $valid_metrics = apply_filters( 'googlesitekit_shareable_analytics_4_metrics', array( 'activeUsers', 'addToCarts', 'averageSessionDuration', 'bounceRate', 'conversions', 'ecommercePurchases', 'engagedSessions', 'engagementRate', 'eventCount', 'screenPageViews', 'screenPageViewsPerSession', 'sessions', 'sessionConversionRate', 'sessionsPerUser', 'totalAdRevenue', 'totalUsers', ) ); $invalid_metrics = array_diff( array_map( function ( $metric ) { // If there is an expression, it means the name is there as an alias, otherwise the name should be a valid metric name. // Therefore, the expression takes precedence to the name for the purpose of allow-list validation. return ! empty( $metric->getExpression() ) ? $metric->getExpression() : $metric->getName(); }, $metrics ), $valid_metrics ); if ( count( $invalid_metrics ) > 0 ) { $message = count( $invalid_metrics ) > 1 ? sprintf( /* translators: %s: is replaced with a comma separated list of the invalid metrics. */ __( 'Unsupported metrics requested: %s', 'google-site-kit' ), join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $invalid_metrics ) ) : sprintf( /* translators: %s: is replaced with the invalid metric. */ __( 'Unsupported metric requested: %s', 'google-site-kit' ), $invalid_metrics[0] ); throw new Invalid_Report_Metrics_Exception( $message ); } } /** * Validates the report dimensions for a shared request. * * @since 1.99.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Google_Service_AnalyticsData_Dimension[] $dimensions The dimensions to validate. * @throws Invalid_Report_Dimensions_Exception Thrown if the dimensions are invalid. */ public function validate_shared_dimensions( $dimensions ) { $valid_dimensions = apply_filters( 'googlesitekit_shareable_analytics_4_dimensions', array( 'audienceResourceName', 'adSourceName', 'city', 'country', 'date', 'deviceCategory', 'eventName', 'newVsReturning', 'pagePath', 'pageTitle', 'sessionDefaultChannelGroup', 'sessionDefaultChannelGrouping', 'customEvent:googlesitekit_post_author', 'customEvent:googlesitekit_post_categories', 'customEvent:googlesitekit_post_date', 'customEvent:googlesitekit_post_type', ) ); $invalid_dimensions = array_diff( array_map( function ( $dimension ) { return $dimension->getName(); }, $dimensions ), $valid_dimensions ); if ( count( $invalid_dimensions ) > 0 ) { $message = count( $invalid_dimensions ) > 1 ? sprintf( /* translators: %s: is replaced with a comma separated list of the invalid dimensions. */ __( 'Unsupported dimensions requested: %s', 'google-site-kit' ), join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $invalid_dimensions ) ) : sprintf( /* translators: %s: is replaced with the invalid dimension. */ __( 'Unsupported dimension requested: %s', 'google-site-kit' ), $invalid_dimensions[0] ); throw new Invalid_Report_Dimensions_Exception( $message ); } } /** * Parses dimension filters and returns a filter expression that should be added to the report request. * * @since 1.106.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_FilterExpression The filter expression to use with the report request. */ protected function parse_dimension_filters( Data_Request $data ) { $expressions = array(); $reference_url = trim( $this->context->get_reference_site_url(), '/' ); $hostnames = URL::permute_site_hosts( URL::parse( $reference_url, PHP_URL_HOST ) ); $expressions[] = $this->parse_dimension_filter( 'hostName', $hostnames ); if ( ! empty( $data['url'] ) ) { $url = str_replace( $reference_url, '', esc_url_raw( $data['url'] ) ); $expressions[] = $this->parse_dimension_filter( 'pagePath', $url ); } if ( is_array( $data['dimensionFilters'] ) ) { foreach ( $data['dimensionFilters'] as $key => $value ) { $expressions[] = $this->parse_dimension_filter( $key, $value ); } } $filter_expression_list = new Google_Service_AnalyticsData_FilterExpressionList(); $filter_expression_list->setExpressions( array_filter( $expressions ) ); $dimension_filters = new Google_Service_AnalyticsData_FilterExpression(); $dimension_filters->setAndGroup( $filter_expression_list ); return $dimension_filters; } /** * Parses and returns a single dimension filter. * * @since 1.106.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param string $dimension_name The dimension name. * @param mixed $dimension_value The dimension fileter settings. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ protected function parse_dimension_filter( $dimension_name, $dimension_value ) { // Use the string filter type by default. $filter_type = 'stringFilter'; if ( isset( $dimension_value['filterType'] ) ) { // If the filterType property is provided, use the explicit filter type then. $filter_type = $dimension_value['filterType']; } elseif ( wp_is_numeric_array( $dimension_value ) ) { // Otherwise, if the dimension has a numeric array of values, we should fall // back to the "in list" filter type. $filter_type = 'inListFilter'; } if ( 'stringFilter' === $filter_type ) { $filter_class = String_Filter::class; } elseif ( 'inListFilter' === $filter_type ) { $filter_class = In_List_Filter::class; // Ensure that the 'inListFilter' is provided a flat array of values. // Extract the actual values from the 'value' key if present. if ( isset( $dimension_value['value'] ) ) { $dimension_value = $dimension_value['value']; } } else { return null; } $filter = new $filter_class(); $filter_expression = $filter->parse_filter_expression( $dimension_name, $dimension_value ); if ( ! empty( $dimension_value['notExpression'] ) ) { $not_filter_expression = new Google_Service_AnalyticsData_FilterExpression(); $not_filter_expression->setNotExpression( $filter_expression ); return $not_filter_expression; } return $filter_expression; } /** * Parses metric filters and returns a filter expression that should be added to the report request. * * @since 1.111.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_FilterExpression The filter expression to use with the report request. */ protected function parse_metric_filters( Data_Request $data ) { $expressions = array(); if ( is_array( $data['metricFilters'] ) ) { foreach ( $data['metricFilters'] as $key => $value ) { $expressions[] = $this->parse_metric_filter( $key, $value ); } } if ( ! empty( $expressions ) ) { $filter_expression_list = new Google_Service_AnalyticsData_FilterExpressionList(); $filter_expression_list->setExpressions( array_filter( $expressions ) ); $metric_filters = new Google_Service_AnalyticsData_FilterExpression(); $metric_filters->setAndGroup( $filter_expression_list ); return $metric_filters; } return null; } /** * Parses and returns a single metric filter. * * @since 1.111.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param string $metric_name The metric name. * @param mixed $metric_value The metric filter settings. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ protected function parse_metric_filter( $metric_name, $metric_value ) { // Use the numeric filter type by default. $filter_type = 'numericFilter'; if ( isset( $metric_value['filterType'] ) ) { // If the filterType property is provided, use the explicit filter type then. $filter_type = $metric_value['filterType']; } if ( 'numericFilter' === $filter_type ) { if ( ! isset( $metric_value['operation'] ) || ! isset( $metric_value['value'] ) ) { return null; } if ( ! isset( $metric_value['value']['int64Value'] ) ) { return null; } $filter = new Numeric_Filter(); } elseif ( 'betweenFilter' === $filter_type ) { if ( ! isset( $metric_value['from_value'] ) || ! isset( $metric_value['to_value'] ) ) { return null; } if ( ! isset( $metric_value['from_value']['int64Value'] ) || ! isset( $metric_value['to_value']['int64Value'] ) ) { return null; } $filter = new Between_Filter(); } else { return null; } $filter_expression = $this->get_metric_filter_expression( $filter, $metric_name, $metric_value ); return $filter_expression; } /** * Returns correct filter expression instance based on the metric filter instance. * * @since 1.111.0 * @since 1.130.0 Moved into RequestHelpers for shared use between Report and PivotReport. * * @param Numeric_Filter|Between_Filter $filter The metric filter instance. * @param string $metric_name The metric name. * @param mixed $metric_value The metric filter settings. * @return Google_Service_AnalyticsData_FilterExpression The filter expression instance. */ protected function get_metric_filter_expression( $filter, $metric_name, $metric_value ) { if ( $filter instanceof Numeric_Filter ) { $value = $metric_value['value']['int64Value']; $filter_expression = $filter->parse_filter_expression( $metric_name, $metric_value['operation'], $value ); } elseif ( $filter instanceof Between_Filter ) { $from_value = $metric_value['from_value']['int64Value']; $to_value = $metric_value['to_value']['int64Value']; $filter_expression = $filter->parse_filter_expression( $metric_name, $from_value, $to_value ); } else { return null; } return $filter_expression; } } includes/Modules/Analytics_4/Report/Request.php 0000604 00000004300 14717744000 0015545 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Request * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Dimensions_Exception; use Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Modules\Analytics_4\Report\RequestHelpers; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest as Google_Service_AnalyticsData_RunReportRequest; use WP_Error; /** * Class for Analytics 4 report requests. * * @since 1.99.0 * @access private * @ignore */ class Request extends Report { /** * Creates and executes a new Analytics 4 report request. * * @since 1.99.0 * * @param Data_Request $data Data request object. * @param bool $is_shared_request Determines whether the current request is shared or not. * @return RequestInterface|WP_Error Request object on success, or WP_Error on failure. */ public function create_request( Data_Request $data, $is_shared_request ) { $request_helpers = new RequestHelpers( $this->context ); $request = new Google_Service_AnalyticsData_RunReportRequest(); $request->setMetricAggregations( array( 'TOTAL', 'MINIMUM', 'MAXIMUM' ) ); if ( ! empty( $data['limit'] ) ) { $request->setLimit( $data['limit'] ); } $dimensions = $this->parse_dimensions( $data ); if ( ! empty( $dimensions ) ) { if ( $is_shared_request ) { try { $request_helpers->validate_shared_dimensions( $dimensions ); } catch ( Invalid_Report_Dimensions_Exception $exception ) { return new WP_Error( 'invalid_analytics_4_report_dimensions', $exception->getMessage() ); } } $request->setDimensions( (array) $dimensions ); } $request = $request_helpers->shared_create_request( $data, $request, $is_shared_request ); $orderby = $this->parse_orderby( $data ); if ( ! empty( $orderby ) ) { $request->setOrderBys( $orderby ); } return $request; } } includes/Modules/Analytics_4/Report/Response.php 0000604 00000017254 14717744000 0015727 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Response * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange as Google_Service_AnalyticsData_DateRange; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Row as Google_Service_AnalyticsData_Row; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportResponse as Google_Service_AnalyticsData_RunReportResponse; /** * Class for Analytics 4 report responses. * * @since 1.99.0 * @access private * @ignore */ class Response extends Report { use Row_Trait; /** * Parses the report response, and pads the report data with zero-data rows where rows are missing. This only applies for reports which request a single `date` dimension. * * @since 1.99.0 * * @param Data_Request $data Data request object. * @param Google_Service_AnalyticsData_RunReportResponse $response Request response. * @return mixed Parsed response data on success, or WP_Error on failure. */ public function parse_response( Data_Request $data, $response ) { // Return early if the response is not of the expected type. if ( ! $response instanceof Google_Service_AnalyticsData_RunReportResponse ) { return $response; } // Get report dimensions and return early if there is either more than one dimension or // the only dimension is not "date". $dimensions = $this->parse_dimensions( $data ); if ( count( $dimensions ) !== 1 || $dimensions[0]->getName() !== 'date' ) { return $response; } // Get date ranges and return early if there are no date ranges for this report. $date_ranges = $this->get_sorted_dateranges( $data ); if ( empty( $date_ranges ) ) { return $response; } // Get all available dates in the report. $existing_rows = array(); foreach ( $response->getRows() as $row ) { $dimension_values = $row->getDimensionValues(); $range = 'date_range_0'; if ( count( $dimension_values ) > 1 ) { // Considering this code will only be run when we are requesting a single dimension, `date`, // the implication is that the row will _only_ have an additional dimension when multiple // date ranges are requested. // // In this scenario, the dimension at index 1 will have a value of `date_range_{i}`, where // `i` is the zero-based index of the date range. $range = $dimension_values[1]->getValue(); } $range = str_replace( 'date_range_', '', $range ); $date = $dimension_values[0]->getValue(); $key = self::get_response_row_key( $date, is_numeric( $range ) ? $range : false ); $existing_rows[ $key ] = $row; } $metric_headers = $response->getMetricHeaders(); $ranges_count = count( $date_ranges ); $multiple_ranges = $ranges_count > 1; $rows = array(); // Add rows for the current date for each date range. self::iterate_date_ranges( $date_ranges, function ( $date ) use ( &$rows, $existing_rows, $ranges_count, $metric_headers, $multiple_ranges ) { for ( $i = 0; $i < $ranges_count; $i++ ) { // Copy the existing row if it is available, otherwise create a new zero-value row. $key = self::get_response_row_key( $date, $i ); $rows[ $key ] = isset( $existing_rows[ $key ] ) ? $existing_rows[ $key ] : $this->create_report_row( $metric_headers, $date, $multiple_ranges ? $i : false ); } } ); // If we have the same number of rows as in the response at the moment, then // we can return the response without setting the new rows back into the response. $new_rows_count = count( $rows ); if ( $new_rows_count <= $response->getRowCount() ) { return $response; } // If we have multiple date ranges, we need to sort rows to have them in // the correct order. if ( $multiple_ranges ) { $rows = self::sort_response_rows( $rows, $date_ranges ); } // Set updated rows back to the response object. $response->setRows( array_values( $rows ) ); $response->setRowCount( $new_rows_count ); return $response; } /** * Gets the response row key composed from the date and the date range index values. * * @since 1.99.0 * * @param string $date The date of the row to return key for. * @param int|bool $date_range_index The date range index, or FALSE if no index is available. * @return string The row key. */ protected static function get_response_row_key( $date, $date_range_index ) { return "{$date}_{$date_range_index}"; } /** * Returns sorted and filtered date ranges received in the request params. All corrupted date ranges * are ignored and not included in the returning list. * * @since 1.99.0 * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_DateRange[] An array of AnalyticsData DateRange objects. */ protected function get_sorted_dateranges( Data_Request $data ) { $date_ranges = $this->parse_dateranges( $data ); if ( empty( $date_ranges ) ) { return $date_ranges; } // Filter out all corrupted date ranges. $date_ranges = array_filter( $date_ranges, function ( $range ) { $start = strtotime( $range->getStartDate() ); $end = strtotime( $range->getEndDate() ); return ! empty( $start ) && ! empty( $end ); } ); // Sort date ranges preserving keys to have the oldest date range at the beginning and // the latest date range at the end. uasort( $date_ranges, function ( $a, $b ) { $a_start = strtotime( $a->getStartDate() ); $b_start = strtotime( $b->getStartDate() ); return $a_start - $b_start; } ); return $date_ranges; } /** * Sorts response rows using the algorithm similar to the one that Analytics 4 uses internally * and returns sorted rows. * * @since 1.99.0 * * @param Google_Service_AnalyticsData_Row[] $rows The current report rows. * @param Google_Service_AnalyticsData_DateRange[] $date_ranges The report date ranges. * @return Google_Service_AnalyticsData_Row[] Sorted rows. */ protected static function sort_response_rows( $rows, $date_ranges ) { $sorted_rows = array(); $ranges_count = count( $date_ranges ); self::iterate_date_ranges( $date_ranges, function ( $date, $range_index ) use ( &$sorted_rows, $ranges_count, $rows ) { // First take the main date range row. $key = self::get_response_row_key( $date, $range_index ); $sorted_rows[ $key ] = $rows[ $key ]; // Then take all remaining rows. for ( $i = 0; $i < $ranges_count; $i++ ) { if ( $i !== $range_index ) { $key = self::get_response_row_key( $date, $i ); $sorted_rows[ $key ] = $rows[ $key ]; } } } ); return $sorted_rows; } /** * Iterates over the date ranges and calls callback for each date in each range. * * @since 1.99.0 * * @param Google_Service_AnalyticsData_DateRange[] $date_ranges The report date ranges. * @param callable $callback The callback to execute for each date. */ protected static function iterate_date_ranges( $date_ranges, $callback ) { foreach ( $date_ranges as $date_range_index => $date_range ) { $now = strtotime( $date_range->getStartDate() ); $end = strtotime( $date_range->getEndDate() ); do { call_user_func( $callback, gmdate( 'Ymd', $now ), $date_range_index ); $now += DAY_IN_SECONDS; } while ( $now <= $end ); } } } includes/Modules/Analytics_4/Report/Row_Trait.php 0000604 00000005237 14717744000 0016041 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report\Row_Trait * * @package Google\Site_Kit\Modules\Analytics_4\Report * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4\Report; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionValue as Google_Service_AnalyticsData_DimensionValue; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricHeader as Google_Service_AnalyticsData_MetricHeader; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricValue as Google_Service_AnalyticsData_MetricValue; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Row as Google_Service_AnalyticsData_Row; /** * A trait that adds a helper method to create report rows. * * @since 1.99.0 * @access private * @ignore */ trait Row_Trait { /** * Creates and returns a new zero-value row for provided date and metrics. * * @since 1.99.0 * * @param Google_Service_AnalyticsData_MetricHeader[] $metric_headers Metric headers from the report response. * @param string $current_date The current date to create a zero-value row for. * @param int|bool $date_range_index The date range index for the current date. * @param string $default_value The default value to use for metric values in the row. * @return Google_Service_AnalyticsData_Row A new zero-value row instance. */ protected function create_report_row( $metric_headers, $current_date, $date_range_index, $default_value = '0' ) { $dimension_values = array(); $current_date_dimension_value = new Google_Service_AnalyticsData_DimensionValue(); $current_date_dimension_value->setValue( $current_date ); $dimension_values[] = $current_date_dimension_value; // If we have multiple date ranges, we need to add "date_range_{i}" index to dimension values. if ( false !== $date_range_index ) { $date_range_dimension_value = new Google_Service_AnalyticsData_DimensionValue(); $date_range_dimension_value->setValue( "date_range_{$date_range_index}" ); $dimension_values[] = $date_range_dimension_value; } $metric_values = array(); foreach ( $metric_headers as $metric_header ) { $metric_value = new Google_Service_AnalyticsData_MetricValue(); $metric_value->setValue( $default_value ); $metric_values[] = $metric_value; } $row = new Google_Service_AnalyticsData_Row(); $row->setDimensionValues( $dimension_values ); $row->setMetricValues( $metric_values ); return $row; } } includes/Modules/Analytics_4/Account_Ticket.php 0000604 00000006701 14717744000 0015550 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Account_Ticket * * @package Google\Site_Kit * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; /** * Class representing an account ticket for Analytics 4 account provisioning with associated parameters. * * @since 1.98.0 * @access private * @ignore */ class Account_Ticket { /** * Account ticket ID. * * @since 1.98.0 * @var string */ protected $id; /** * Property name. * * @since 1.98.0 * @var string */ protected $property_name; /** * Data stream name. * * @since 1.98.0 * @var string */ protected $data_stream_name; /** * Timezone. * * @since 1.98.0 * @var string */ protected $timezone; /** * Whether or not enhanced measurement should be enabled. * * @since 1.111.0 * @var boolean */ protected $enhanced_measurement_stream_enabled; /** * Constructor. * * @since 1.98.0 * * @param array $data Data to hydrate properties with. */ public function __construct( $data = null ) { if ( ! is_array( $data ) ) { return; } foreach ( $data as $key => $value ) { if ( property_exists( $this, $key ) ) { $this->{"set_$key"}( $value ); } } } /** * Gets the account ticket ID. * * @since 1.98.0 * * @return string */ public function get_id() { return $this->id; } /** * Sets the account ticket ID. * * @since 1.98.0 * * @param string $id Account ticket ID. */ public function set_id( $id ) { $this->id = (string) $id; } /** * Gets the property name. * * @since 1.98.0 * * @return string */ public function get_property_name() { return $this->property_name; } /** * Sets the property name. * * @since 1.98.0 * * @param string $property_name Property name. */ public function set_property_name( $property_name ) { $this->property_name = (string) $property_name; } /** * Gets the data stream name. * * @since 1.98.0 * * @return string */ public function get_data_stream_name() { return $this->data_stream_name; } /** * Sets the data stream name. * * @since 1.98.0 * * @param string $data_stream_name Data stream name. */ public function set_data_stream_name( $data_stream_name ) { $this->data_stream_name = (string) $data_stream_name; } /** * Gets the timezone. * * @since 1.98.0 * * @return string */ public function get_timezone() { return $this->timezone; } /** * Sets the timezone. * * @since 1.98.0 * * @param string $timezone Timezone. */ public function set_timezone( $timezone ) { $this->timezone = (string) $timezone; } /** * Gets the enabled state of enhanced measurement for the data stream. * * @since 1.111.0 * * @return bool $enabled Enabled state. */ public function get_enhanced_measurement_stream_enabled() { return $this->enhanced_measurement_stream_enabled; } /** * Sets the enabled state of enhanced measurement for the data stream. * * @since 1.111.0 * * @param bool $enabled Enabled state. */ public function set_enhanced_measurement_stream_enabled( $enabled ) { $this->enhanced_measurement_stream_enabled = (bool) $enabled; } /** * Gets the array representation of the instance values. * * @since 1.98.0 * * @return array */ public function to_array() { return get_object_vars( $this ); } } includes/Modules/Analytics_4/Advanced_Tracking.php 0000604 00000007723 14717744000 0016205 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Context; use Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Event_List; use Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Script_Injector; use Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\AMP_Config_Injector; use Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking\Event_List_Registry; use Google\Site_Kit\Modules\Analytics_4; /** * Class for Google Analytics Advanced Event Tracking. * * @since 1.18.0. * @since 1.121.0 Migrated from the Analytics (UA) namespace. * @access private * @ignore */ final class Advanced_Tracking { /** * Plugin context. * * @since 1.18.0. * @var Context */ protected $context; /** * Map of events to be tracked. * * @since 1.18.0. * @var array Map of Event instances, keyed by their unique ID. */ private $events; /** * Main class event list registry instance. * * @since 1.18.0. * @var Event_List_Registry */ private $event_list_registry; /** * Advanced_Tracking constructor. * * @since 1.18.0. * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; $this->event_list_registry = new Event_List_Registry(); } /** * Registers functionality through WordPress hooks. * * @since 1.18.0. * @since 1.118.0 Renamed hooks to target Analytics 4 module. */ public function register() { $slug_name = Analytics_4::MODULE_SLUG; add_action( "googlesitekit_{$slug_name}_init_tag", function () { $this->register_event_lists(); add_action( 'wp_footer', function () { $this->set_up_advanced_tracking(); } ); } ); add_action( "googlesitekit_{$slug_name}_init_tag_amp", function () { $this->register_event_lists(); add_filter( 'googlesitekit_amp_gtag_opt', function ( $gtag_amp_opt ) { return $this->set_up_advanced_tracking_amp( $gtag_amp_opt ); } ); } ); } /** * Returns the map of unique events. * * @since 1.18.0. * * @return array Map of Event instances, keyed by their unique ID. */ public function get_events() { return $this->events; } /** * Injects javascript to track active events. * * @since 1.18.0. */ private function set_up_advanced_tracking() { $this->compile_events(); ( new Script_Injector( $this->context ) )->inject_event_script( $this->events ); } /** * Adds triggers to AMP configuration. * * @since 1.18.0. * * @param array $gtag_amp_opt gtag config options for AMP. * @return array Filtered $gtag_amp_opt. */ private function set_up_advanced_tracking_amp( $gtag_amp_opt ) { $this->compile_events(); return ( new AMP_Config_Injector() )->inject_event_configurations( $gtag_amp_opt, $this->events ); } /** * Instantiates and registers event lists. * * @since 1.18.0. */ private function register_event_lists() { /** * Fires when the Advanced_Tracking class is ready to receive event lists. * * This means that Advanced_Tracking class stores the event lists in the Event_List_Registry instance. * * @since 1.18.0. * * @param Event_List_Registry $event_list_registry */ do_action( 'googlesitekit_analytics_register_event_lists', $this->event_list_registry ); foreach ( $this->event_list_registry->get_lists() as $event_list ) { $event_list->register(); } } /** * Compiles the list of Event objects. * * @since 1.18.0. */ private function compile_events() { $this->events = array_reduce( $this->event_list_registry->get_lists(), function ( $events, Event_List $event_list ) { return array_merge( $events, $event_list->get_events() ); }, array() ); } } includes/Modules/Analytics_4/AMP_Tag.php 0000604 00000012232 14717744000 0014055 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\AMP_Tag * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Tags\Module_AMP_Tag; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Trait; /** * Class for AMP tag. * * @since 1.104.0 * @access private * @ignore */ class AMP_Tag extends Module_AMP_Tag implements Tag_Interface, Tag_With_Linker_Interface { use Method_Proxy_Trait; use Tag_With_Linker_Trait; /** * Custom dimensions data. * * @since 1.113.0 * @var array */ private $custom_dimensions; /** * Ads conversion ID. * * @since 1.118.0 * @var string */ private $ads_conversion_id; /** * Sets the current home domain. * * @since 1.118.0 * * @param string $domain Domain name. */ public function set_home_domain( $domain ) { $this->home_domain = $domain; } /** * Sets the ads conversion ID. * * @since 1.32.0 * * @param string $ads_conversion_id Ads ID. */ public function set_ads_conversion_id( $ads_conversion_id ) { $this->ads_conversion_id = $ads_conversion_id; } /** * Sets custom dimensions data. * * @since 1.113.0 * * @param string $custom_dimensions Custom dimensions data. */ public function set_custom_dimensions( $custom_dimensions ) { $this->custom_dimensions = $custom_dimensions; } /** * Registers tag hooks. * * @since 1.104.0 */ public function register() { $render = $this->get_method_proxy_once( 'render' ); // Which actions are run depends on the version of the AMP Plugin // (https://amp-wp.org/) available. Version >=1.3 exposes a // new, `amp_print_analytics` action. // For all AMP modes, AMP plugin version >=1.3. add_action( 'amp_print_analytics', $render ); // For AMP Standard and Transitional, AMP plugin version <1.3. add_action( 'wp_footer', $render, 20 ); // For AMP Reader, AMP plugin version <1.3. add_action( 'amp_post_template_footer', $render, 20 ); // For Web Stories plugin. add_action( 'web_stories_print_analytics', $render ); // Load amp-analytics component for AMP Reader. $this->enqueue_amp_reader_component_script( 'amp-analytics', 'https://cdn.ampproject.org/v0/amp-analytics-0.1.js' ); $this->do_init_tag_action(); } /** * Outputs gtag <amp-analytics> tag. * * @since 1.104.0 */ protected function render() { $config = $this->get_tag_config(); if ( ! empty( $this->ads_conversion_id ) ) { $config[ $this->ads_conversion_id ] = array( 'groups' => 'default', ); } $gtag_amp_opt = array( 'optoutElementId' => '__gaOptOutExtension', 'vars' => array( 'gtag_id' => $this->tag_id, 'config' => $config, ), ); /** * Filters the gtag configuration options for the amp-analytics tag. * * You can use the {@see 'googlesitekit_gtag_opt'} filter to do the same for gtag in non-AMP. * * @since 1.24.0 * @see https://developers.google.com/gtagjs/devguide/amp * * @param array $gtag_amp_opt gtag config options for AMP. */ $gtag_amp_opt_filtered = apply_filters( 'googlesitekit_amp_gtag_opt', $gtag_amp_opt ); // Ensure gtag_id is set to the correct value. if ( ! is_array( $gtag_amp_opt_filtered ) ) { $gtag_amp_opt_filtered = $gtag_amp_opt; } if ( ! isset( $gtag_amp_opt_filtered['vars'] ) || ! is_array( $gtag_amp_opt_filtered['vars'] ) ) { $gtag_amp_opt_filtered['vars'] = $gtag_amp_opt['vars']; } printf( "\n<!-- %s -->\n", esc_html__( 'Google Analytics AMP snippet added by Site Kit', 'google-site-kit' ) ); printf( '<amp-analytics type="gtag" data-credentials="include"%s><script type="application/json">%s</script></amp-analytics>', $this->get_tag_blocked_on_consent_attribute(), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped wp_json_encode( $gtag_amp_opt_filtered ) ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google Analytics AMP snippet added by Site Kit', 'google-site-kit' ) ); } /** * Extends gtag vars config with the GA4 tag config. * * @since 1.104.0 * * @param array $opt AMP gtag config. * @return array */ protected function extend_gtag_opt( $opt ) { $opt['vars']['config'] = array_merge( $opt['vars']['config'], $this->get_tag_config() ); // `gtag_id` isn't used in a multi-destination configuration. // See https://developers.google.com/analytics/devguides/collection/amp-analytics/#sending_data_to_multiple_destinations. unset( $opt['vars']['gtag_id'] ); return $opt; } /** * Gets the tag config as used in the gtag data vars. * * @since 1.113.0 * * @return array Tag configuration. */ protected function get_tag_config() { $config = array( $this->tag_id => array( 'groups' => 'default', ), ); if ( ! empty( $this->custom_dimensions ) ) { $config[ $this->tag_id ] = array_merge( $config[ $this->tag_id ], $this->custom_dimensions ); } return $this->add_linker_to_tag_config( $config ); } } includes/Modules/Analytics_4/Custom_Dimensions_Data_Available.php 0000604 00000007036 14717744000 0021206 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Custom_Dimensions_Data_Available * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Storage\Transients; /** * Class for updating Analytics 4 custom dimension data availability state. * * @since 1.113.0 * @access private * @ignore */ class Custom_Dimensions_Data_Available { /** * List of valid custom dimension slugs. * * @since 1.113.0 * @var array */ const CUSTOM_DIMENSION_SLUGS = array( 'googlesitekit_post_date', 'googlesitekit_post_author', 'googlesitekit_post_categories', 'googlesitekit_post_type', ); /** * Transients instance. * * @since 1.113.0 * @var Transients */ protected $transients; /** * Constructor. * * @since 1.113.0 * * @param Transients $transients Transients instance. */ public function __construct( Transients $transients ) { $this->transients = $transients; } /** * Gets data available transient name for the custom dimension. * * @since 1.113.0 * * @param string $custom_dimension Custom dimension slug. * @return string Data available transient name. */ protected function get_data_available_transient_name( $custom_dimension ) { return "googlesitekit_custom_dimension_{$custom_dimension}_data_available"; } /** * Gets data availability for all custom dimensions. * * @since 1.113.0 * * @return array Associative array of custom dimension names and their data availability state. */ public function get_data_availability() { return array_reduce( self::CUSTOM_DIMENSION_SLUGS, function ( $data_availability, $custom_dimension ) { $data_availability[ $custom_dimension ] = $this->is_data_available( $custom_dimension ); return $data_availability; }, array() ); } /** * Checks whether the data is available for the custom dimension. * * @since 1.113.0 * * @param string $custom_dimension Custom dimension slug. * @return bool True if data is available, false otherwise. */ protected function is_data_available( $custom_dimension ) { return (bool) $this->transients->get( $this->get_data_available_transient_name( $custom_dimension ) ); } /** * Sets the data available state for the custom dimension. * * @since 1.113.0 * * @param string $custom_dimension Custom dimension slug. * @return bool True on success, false otherwise. */ public function set_data_available( $custom_dimension ) { return $this->transients->set( $this->get_data_available_transient_name( $custom_dimension ), true ); } /** * Resets the data available state for all custom dimensions. * * @since 1.113.0 * @since 1.114.0 Added optional $custom_dimensions parameter. * * @param array $custom_dimensions Optional. List of custom dimension slugs to reset. */ public function reset_data_available( $custom_dimensions = self::CUSTOM_DIMENSION_SLUGS ) { foreach ( $custom_dimensions as $custom_dimension ) { $this->transients->delete( $this->get_data_available_transient_name( $custom_dimension ) ); } } /** * Checks whether the custom dimension is valid. * * @since 1.113.0 * * @param string $custom_dimension Custom dimension slug. * @return bool True if valid, false otherwise. */ public function is_valid_custom_dimension( $custom_dimension ) { return in_array( $custom_dimension, self::CUSTOM_DIMENSION_SLUGS, true ); } } includes/Modules/Analytics_4/PivotReport.php 0000604 00000004247 14717744000 0015151 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\PivotReport * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Context; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Modules\Analytics_4\Report\ReportParsers; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Pivot as Google_Service_AnalyticsData_Pivot; /** * The base class for Analytics 4 pivot reports. * * @since 1.130.0 * @access private * @ignore */ class PivotReport extends ReportParsers { /** * Plugin context. * * @since 1.130.0 * @var Context */ protected $context; /** * Constructor. * * @since 1.130.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } /** * Parses the pivots value of the data request into an array of AnalyticsData Pivot object instances. * * @since 1.130.0 * * @param Data_Request $data Data request object. * @return Google_Service_AnalyticsData_Pivot[] An array of AnalyticsData Pivot objects. */ protected function parse_pivots( Data_Request $data ) { $pivots = array(); if ( is_array( $data['pivots'] ) ) { foreach ( $data['pivots'] as $key => $value ) { if ( is_array( $value['fieldNames'] ) && is_numeric( $value['limit'] ) ) { $pivots[] = $value; } } } if ( empty( $pivots ) || ! is_array( $pivots ) || ! wp_is_numeric_array( $pivots ) ) { return array(); } $results = array_map( function ( $pivot_def ) { $pivot = new Google_Service_AnalyticsData_Pivot(); $pivot->setMetricAggregations( array( 'TOTAL', 'MINIMUM', 'MAXIMUM' ) ); $pivot->setFieldNames( $pivot_def['fieldNames'] ); $pivot->setLimit( $pivot_def['limit'] ); if ( isset( $pivot_def['orderby'] ) ) { $pivot->setOrderBys( $pivot_def['orderby'] ); } return $pivot; }, $pivots ); $results = array_filter( $results ); $results = array_values( $results ); return $results; } } includes/Modules/Analytics_4/Report.php 0000604 00000001736 14717744000 0014127 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Report * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Context; use Google\Site_Kit\Modules\Analytics_4\Report\ReportParsers; /** * The base class for Analytics 4 reports. * * @since 1.99.0 * @access private * @ignore */ class Report extends ReportParsers { /** * Plugin context. * * @since 1.99.0 * @var Context */ protected $context; /** * Constructor. * * @since 1.99.0 * * @param Context $context Plugin context. */ public function __construct( Context $context ) { $this->context = $context; } // NOTE: The majority of this classes logic has been abstracted to // ReportParsers which contains the shared methods for both // Report and PivotReport classes. } includes/Modules/Analytics_4/Reset_Audiences.php 0000604 00000007560 14717744000 0015717 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Reset_Audiences * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Dismissals\Dismissed_Items; use Google\Site_Kit\Core\Prompts\Dismissed_Prompts; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\User\Audience_Settings; use Google\Site_Kit\Modules\Analytics_4; /** * Class to reset Audience Segmentation Settings across multiple users. * * @since 1.137.0 * @access private * @ignore */ class Reset_Audiences { /** * User_Options instance. * * @since 1.137.0 * @var User_Options */ protected $user_options; /** * Dismissed_Prompts instance. * * @since 1.137.0 * @var Dismissed_Prompts */ protected $dismissed_prompts; /** * Dismissed_Items instance. * * @since 1.137.0 * @var Dismissed_Items */ protected $dismissed_items; /** * Audience Settings instance. * * @since 1.137.0 * @var Audience_Settings */ protected $audience_settings; const AUDIENCE_SEGMENTATION_DISMISSED_PROMPTS = array( 'audience_segmentation_setup_cta-notification' ); const AUDIENCE_SEGMENTATION_DISMISSED_ITEMS = array( 'audience-segmentation-add-group-notice', 'setup-success-notification-audiences', 'settings_visitor_groups_setup_success_notification', 'audience-segmentation-no-audiences-banner', 'audience-tile-*', ); /** * Constructor. * * @since 1.137.0 * * @param User_Options $user_options User option API. */ public function __construct( User_Options $user_options = null ) { $this->user_options = $user_options; $this->dismissed_prompts = new Dismissed_Prompts( $this->user_options ); $this->dismissed_items = new Dismissed_Items( $this->user_options ); $this->audience_settings = new Audience_Settings( $this->user_options ); } /** * Reset audience specific settings for all SK users. * * @since 1.137.0 */ public function reset_audience_data() { global $wpdb; // phpcs:ignore WordPress.DB.DirectDatabaseQuery $users = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT user_id FROM $wpdb->usermeta WHERE meta_key IN (%s, %s) LIMIT 100 -- Arbitrary limit to avoid unbounded user iteration.", $this->user_options->get_meta_key( Dismissed_Items::OPTION ), $this->user_options->get_meta_key( Dismissed_Prompts::OPTION ), ) ); if ( $users ) { $backup_user_id = $this->user_options->get_user_id(); foreach ( $users as $user_id ) { $this->user_options->switch_user( $user_id ); // Remove Audience Segmentation specific dismissed prompts. foreach ( self::AUDIENCE_SEGMENTATION_DISMISSED_PROMPTS as $prompt ) { $this->dismissed_prompts->remove( $prompt ); } // Remove Audience Segmentation specific dismissed items. foreach ( self::AUDIENCE_SEGMENTATION_DISMISSED_ITEMS as $item ) { // Support wildcard matches, in order to delete all dismissed items prefixed with audience-tile-*. if ( strpos( $item, '*' ) !== false ) { $dismissed_items = $this->dismissed_items->get(); foreach ( array_keys( $dismissed_items ) as $existing_item ) { if ( str_starts_with( $existing_item, rtrim( $item, '*' ) ) ) { $this->dismissed_items->remove( $existing_item ); } } } else { // For non-wildcard items, remove them directly. $this->dismissed_items->remove( $item ); } } // Reset the user's audience settings. if ( $this->audience_settings->has() ) { $this->audience_settings->merge( array( 'configuredAudiences' => null, 'didSetAudiences' => false, ), ); } } // Restore original user. $this->user_options->switch_user( $backup_user_id ); } } } includes/Modules/Analytics_4/Resource_Data_Availability_Date.php 0000604 00000017063 14717744000 0021023 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Resource_Data_Availability_Date * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Transients; /** * Class for managing Analytics 4 resource data availability date. * * @since 1.127.0 * @access private * @ignore */ class Resource_Data_Availability_Date { /** * List of valid custom dimension slugs. * * @since 1.127.0 * @var array */ const CUSTOM_DIMENSION_SLUGS = array( 'googlesitekit_post_type', ); const RESOURCE_TYPE_AUDIENCE = 'audience'; const RESOURCE_TYPE_CUSTOM_DIMENSION = 'customDimension'; const RESOURCE_TYPE_PROPERTY = 'property'; /** * Transients instance. * * @since 1.127.0 * @var Transients */ protected $transients; /** * Module settings. * * @since 1.127.0 * @var Module_Settings */ protected $settings; /** * Constructor. * * @since 1.127.0 * * @param Transients $transients Transients instance. * @param Module_Settings $settings Module settings instance. */ public function __construct( Transients $transients, Module_Settings $settings ) { $this->transients = $transients; $this->settings = $settings; } /** * Gets the data availability date for the given resource. * * @since 1.127.0 * * @param string $resource_slug Resource slug. * @param string $resource_type Resource type. * @return int Data availability date in YYYYMMDD format on success, 0 otherwise. */ public function get_resource_date( $resource_slug, $resource_type ) { return (int) $this->transients->get( $this->get_resource_transient_name( $resource_slug, $resource_type ) ); } /** * Sets the data availability date for the given resource. * * @since 1.127.0 * * @param string $resource_slug Resource slug. * @param string $resource_type Resource type. * @param int $date Data availability date. * @return bool True on success, false otherwise. */ public function set_resource_date( $resource_slug, $resource_type, $date ) { return $this->transients->set( $this->get_resource_transient_name( $resource_slug, $resource_type ), $date ); } /** * Resets the data availability date for the given resource. * * @since 1.127.0 * * @param string $resource_slug Resource slug. * @param string $resource_type Resource type. * @return bool True on success, false otherwise. */ public function reset_resource_date( $resource_slug, $resource_type ) { return $this->transients->delete( $this->get_resource_transient_name( $resource_slug, $resource_type ) ); } /** * Gets data availability dates for all resources. * * @since 1.127.0 * * @return array Associative array of resource names and their data availability date. */ public function get_all_resource_dates() { $property_id = $this->get_property_id(); $available_audiences = $this->get_available_audience_resource_names(); return array_map( // Filter out falsy values (0) from every resource's data availability dates. fn( $data_availability_dates ) => array_filter( $data_availability_dates ), array( // Get data availability dates for the available audiences. self::RESOURCE_TYPE_AUDIENCE => array_reduce( $available_audiences, function ( $audience_data_availability_dates, $audience ) { $audience_data_availability_dates[ $audience ] = $this->get_resource_date( $audience, self::RESOURCE_TYPE_AUDIENCE ); return $audience_data_availability_dates; }, array() ), // Get data availability dates for the custom dimensions. self::RESOURCE_TYPE_CUSTOM_DIMENSION => array_reduce( self::CUSTOM_DIMENSION_SLUGS, function ( $custom_dimension_data_availability_dates, $custom_dimension ) { $custom_dimension_data_availability_dates[ $custom_dimension ] = $this->get_resource_date( $custom_dimension, self::RESOURCE_TYPE_CUSTOM_DIMENSION ); return $custom_dimension_data_availability_dates; }, array() ), // Get data availability date for the current property. self::RESOURCE_TYPE_PROPERTY => array( $property_id => $this->get_resource_date( $property_id, self::RESOURCE_TYPE_PROPERTY ), ), ) ); } /** * Resets the data availability date for all resources. * * @since 1.127.0 * * @param array/null $available_audience_names Optional. List of available audience resource names. If not provided, it will be fetched from settings. * @param string/null $property_id Optional. Property ID. If not provided, it will be fetched from settings. */ public function reset_all_resource_dates( $available_audience_names = null, $property_id = null ) { foreach ( self::CUSTOM_DIMENSION_SLUGS as $custom_dimension ) { $this->reset_resource_date( $custom_dimension, self::RESOURCE_TYPE_CUSTOM_DIMENSION ); } $available_audience_names = $available_audience_names ?: $this->get_available_audience_resource_names(); foreach ( $available_audience_names as $audience_name ) { $this->reset_resource_date( $audience_name, self::RESOURCE_TYPE_AUDIENCE ); } $property_id = $property_id ?: $this->get_property_id(); $this->reset_resource_date( $property_id, self::RESOURCE_TYPE_PROPERTY ); } /** * Checks whether the given resource type is valid. * * @since 1.127.0 * * @param string $resource_type Resource type. * @return bool True if valid, false otherwise. */ public function is_valid_resource_type( $resource_type ) { return in_array( $resource_type, array( self::RESOURCE_TYPE_AUDIENCE, self::RESOURCE_TYPE_CUSTOM_DIMENSION, self::RESOURCE_TYPE_PROPERTY ), true ); } /** * Checks whether the given resource slug is valid. * * @since 1.127.0 * * @param string $resource_slug Resource slug. * @param string $resource_type Resource type. * @return bool True if valid, false otherwise. */ public function is_valid_resource_slug( $resource_slug, $resource_type ) { switch ( $resource_type ) { case self::RESOURCE_TYPE_AUDIENCE: return in_array( $resource_slug, $this->get_available_audience_resource_names(), true ); case self::RESOURCE_TYPE_CUSTOM_DIMENSION: return in_array( $resource_slug, self::CUSTOM_DIMENSION_SLUGS, true ); case self::RESOURCE_TYPE_PROPERTY: return $resource_slug === $this->get_property_id(); default: return false; } } /** * Gets data available date transient name for the given resource. * * @since 1.127.0 * * @param string $resource_slug Resource slug. * @param string $resource_type Resource type. * @return string Data available date transient name. */ protected function get_resource_transient_name( $resource_slug, $resource_type ) { return "googlesitekit_{$resource_type}_{$resource_slug}_data_availability_date"; } /** * Gets available audience resource names. * * @since 1.127.0 * * @return array List of available audience resource names. */ private function get_available_audience_resource_names() { $settings = $this->settings->get(); $available_audiences = $settings['availableAudiences'] ?? array(); return array_map( function ( $audience ) { return $audience['name']; }, $available_audiences ); } /** * Gets the property ID from settings instance. * * @since 1.127.0 * * @return string Property ID. */ private function get_property_id() { return $this->settings->get()['propertyID']; } } includes/Modules/Analytics_4/Settings.php 0000604 00000014563 14717744000 0014456 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Settings * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; use Google\Site_Kit\Core\Storage\Setting_With_ViewOnly_Keys_Interface; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for Analytics 4 settings. * * @since 1.30.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface, Setting_With_ViewOnly_Keys_Interface { use Setting_With_Owned_Keys_Trait; use Method_Proxy_Trait; const OPTION = 'googlesitekit_analytics-4_settings'; /** * Registers the setting in WordPress. * * @since 1.30.0 */ public function register() { parent::register(); $this->register_owned_keys(); } /** * Returns keys for owned settings. * * @since 1.30.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'accountID', 'propertyID', 'webDataStreamID', 'measurementID', 'googleTagID', 'googleTagAccountID', 'googleTagContainerID', ); } /** * Returns keys for view-only settings. * * @since 1.113.0 * * @return array An array of keys for view-only settings. */ public function get_view_only_keys() { return array( 'availableCustomDimensions', 'adSenseLinked', 'availableAudiences', 'audienceSegmentationSetupCompletedBy', 'detectedEvents', ); } /** * Gets the default value. * * @since 1.30.0 * * @return array */ protected function get_default() { return array( 'ownerID' => 0, 'accountID' => '', 'adsConversionID' => '', 'propertyID' => '', 'webDataStreamID' => '', 'measurementID' => '', 'trackingDisabled' => array( 'loggedinUsers' ), 'useSnippet' => true, 'googleTagID' => '', 'googleTagAccountID' => '', 'googleTagContainerID' => '', 'googleTagContainerDestinationIDs' => null, 'googleTagLastSyncedAtMs' => 0, 'availableCustomDimensions' => null, 'propertyCreateTime' => 0, 'adSenseLinked' => false, 'adSenseLinkedLastSyncedAt' => 0, 'adsConversionIDMigratedAtMs' => 0, 'adsLinked' => false, 'adsLinkedLastSyncedAt' => 0, 'availableAudiences' => null, 'availableAudiencesLastSyncedAt' => 0, 'audienceSegmentationSetupCompletedBy' => null, 'detectedEvents' => array(), ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.30.0 * * @return callable|null */ protected function get_sanitize_callback() { return function ( $option ) { if ( is_array( $option ) ) { if ( isset( $option['useSnippet'] ) ) { $option['useSnippet'] = (bool) $option['useSnippet']; } if ( isset( $option['googleTagID'] ) ) { if ( ! preg_match( '/^(G|GT|AW)-[a-zA-Z0-9]+$/', $option['googleTagID'] ) ) { $option['googleTagID'] = ''; } } if ( isset( $option['trackingDisabled'] ) ) { // Prevent other options from being saved if 'loggedinUsers' is selected. if ( in_array( 'loggedinUsers', $option['trackingDisabled'], true ) ) { $option['trackingDisabled'] = array( 'loggedinUsers' ); } else { $option['trackingDisabled'] = (array) $option['trackingDisabled']; } } $numeric_properties = array( 'googleTagAccountID', 'googleTagContainerID' ); foreach ( $numeric_properties as $numeric_property ) { if ( isset( $option[ $numeric_property ] ) ) { if ( ! is_numeric( $option[ $numeric_property ] ) || ! $option[ $numeric_property ] > 0 ) { $option[ $numeric_property ] = ''; } } } if ( isset( $option['googleTagContainerDestinationIDs'] ) ) { if ( ! is_array( $option['googleTagContainerDestinationIDs'] ) ) { $option['googleTagContainerDestinationIDs'] = null; } } if ( isset( $option['availableCustomDimensions'] ) ) { if ( is_array( $option['availableCustomDimensions'] ) ) { $valid_dimensions = array_filter( $option['availableCustomDimensions'], function ( $dimension ) { return is_string( $dimension ) && strpos( $dimension, 'googlesitekit_' ) === 0; } ); $option['availableCustomDimensions'] = array_values( $valid_dimensions ); } else { $option['availableCustomDimensions'] = null; } } if ( isset( $option['adSenseLinked'] ) ) { $option['adSenseLinked'] = (bool) $option['adSenseLinked']; } if ( isset( $option['adSenseLinkedLastSyncedAt'] ) ) { if ( ! is_int( $option['adSenseLinkedLastSyncedAt'] ) ) { $option['adSenseLinkedLastSyncedAt'] = 0; } } if ( isset( $option['adsConversionIDMigratedAtMs'] ) ) { if ( ! is_int( $option['adsConversionIDMigratedAtMs'] ) ) { $option['adsConversionIDMigratedAtMs'] = 0; } } if ( isset( $option['adsLinked'] ) ) { $option['adsLinked'] = (bool) $option['adsLinked']; } if ( isset( $option['adsLinkedLastSyncedAt'] ) ) { if ( ! is_int( $option['adsLinkedLastSyncedAt'] ) ) { $option['adsLinkedLastSyncedAt'] = 0; } } if ( isset( $option['availableAudiences'] ) ) { if ( ! is_array( $option['availableAudiences'] ) ) { $option['availableAudiences'] = null; } } if ( isset( $option['availableAudiencesLastSyncedAt'] ) ) { if ( ! is_int( $option['availableAudiencesLastSyncedAt'] ) ) { $option['availableAudiencesLastSyncedAt'] = 0; } } if ( isset( $option['audienceSegmentationSetupCompletedBy'] ) ) { if ( ! is_int( $option['audienceSegmentationSetupCompletedBy'] ) ) { $option['audienceSegmentationSetupCompletedBy'] = null; } } } return $option; }; } } includes/Modules/Analytics_4/Synchronize_AdSenseLinked.php 0000604 00000010754 14717744000 0017720 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Modules\Adsense; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Modules\AdSense\Settings as Adsense_Settings; /** * The base class for Synchronizing the adSenseLinked status. * * @since 1.123.0 * @access private * @ignore */ class Synchronize_AdSenseLinked { const CRON_SYNCHRONIZE_ADSENSE_LINKED = 'googlesitekit_cron_synchronize_adsense_linked_data'; /** * Analytics_4 instance. * * @since 1.123.0 * @var Analytics_4 */ protected $analytics_4; /** * User_Options instance. * * @since 1.123.0 * @var User_Options */ protected $user_options; /** * Options instance. * * @since 1.123.0 * @var Options */ protected $options; /** * Constructor. * * @since 1.123.0 * * @param Analytics_4 $analytics_4 Analytics 4 instance. * @param User_Options $user_options User_Options instance. * @param Options $options Options instance. */ public function __construct( Analytics_4 $analytics_4, User_Options $user_options, Options $options ) { $this->analytics_4 = $analytics_4; $this->user_options = $user_options; $this->options = $options; } /** * Registers functionality through WordPress hooks. * * @since 1.123.0 */ public function register() { add_action( self::CRON_SYNCHRONIZE_ADSENSE_LINKED, function () { $this->synchronize_adsense_linked_data(); } ); } /** * Cron callback for synchronizing the adsense linked data. * * @since 1.123.0 * @since 1.130.0 Added check for property ID, so it can return early if property ID is not set. */ protected function synchronize_adsense_linked_data() { $owner_id = $this->analytics_4->get_owner_id(); $restore_user = $this->user_options->switch_user( $owner_id ); $settings_ga4 = $this->analytics_4->get_settings()->get(); if ( empty( $settings_ga4['propertyID'] ) ) { return; } if ( user_can( $owner_id, Permissions::VIEW_AUTHENTICATED_DASHBOARD ) ) { $this->synchronize_adsense_linked_status(); } $restore_user(); } /** * Schedules single cron which will synchronize the adSenseLinked status. * * @since 1.123.0 */ public function maybe_schedule_synchronize_adsense_linked() { $analytics_4_connected = apply_filters( 'googlesitekit_is_module_connected', false, Analytics_4::MODULE_SLUG ); $adsense_connected = apply_filters( 'googlesitekit_is_module_connected', false, AdSense::MODULE_SLUG ); $cron_already_scheduled = wp_next_scheduled( self::CRON_SYNCHRONIZE_ADSENSE_LINKED ); if ( $analytics_4_connected && $adsense_connected && ! $cron_already_scheduled ) { wp_schedule_single_event( // Schedule the task to run in 24 hours. time() + ( DAY_IN_SECONDS ), self::CRON_SYNCHRONIZE_ADSENSE_LINKED ); } } /** * Synchronize the AdSenseLinked status. * * @since 1.123.0 * * @return null */ protected function synchronize_adsense_linked_status() { $settings_ga4 = $this->analytics_4->get_settings()->get(); $property_id = $settings_ga4['propertyID']; $property_adsense_links = $this->analytics_4->get_data( 'adsense-links', array( 'propertyID' => $property_id ) ); $current_adsense_options = ( new AdSense_Settings( $this->options ) )->get(); $current_adsense_client_id = ! empty( $current_adsense_options['clientID'] ) ? $current_adsense_options['clientID'] : ''; if ( is_wp_error( $property_adsense_links ) || empty( $property_adsense_links ) ) { return null; } $found_adsense_linked_for_client_id = false; // Iterate over returned AdSense links and set true if one is found // matching the same client ID. foreach ( $property_adsense_links as $property_adsense_link ) { if ( $current_adsense_client_id === $property_adsense_link['adClientCode'] ) { $found_adsense_linked_for_client_id = true; break; } } // Update the AdSenseLinked status and timestamp. $this->analytics_4->get_settings()->merge( array( 'adSenseLinked' => $found_adsense_linked_for_client_id, 'adSenseLinkedLastSyncedAt' => time(), ) ); } } includes/Modules/Analytics_4/Synchronize_AdsLinked.php 0000604 00000006330 14717744000 0017100 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Synchronize_AdsLinked * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Modules\Ads; use Google\Site_Kit\Modules\Analytics_4; /** * The base class for Synchronizing the adsLinked status. * * @since 1.124.0 * @access private * @ignore */ class Synchronize_AdsLinked { const CRON_SYNCHRONIZE_ADS_LINKED = 'googlesitekit_cron_synchronize_ads_linked_data'; /** * Analytics_4 instance. * * @since 1.124.0 * @var Analytics_4 */ protected $analytics_4; /** * User_Options instance. * * @since 1.124.0 * @var User_Options */ protected $user_options; /** * Constructor. * * @since 1.124.0 * * @param Analytics_4 $analytics_4 Analytics 4 instance. * @param User_Options $user_options User_Options instance. */ public function __construct( Analytics_4 $analytics_4, User_Options $user_options ) { $this->analytics_4 = $analytics_4; $this->user_options = $user_options; } /** * Registers functionality through WordPress hooks. * * @since 1.124.0 */ public function register() { add_action( self::CRON_SYNCHRONIZE_ADS_LINKED, function () { $this->synchronize_ads_linked_data(); } ); } /** * Cron callback for synchronizing the ads linked data. * * @since 1.124.0 */ protected function synchronize_ads_linked_data() { $ads_connected = apply_filters( 'googlesitekit_is_module_connected', false, Ads::MODULE_SLUG ); if ( $ads_connected ) { return; } $owner_id = $this->analytics_4->get_owner_id(); $restore_user = $this->user_options->switch_user( $owner_id ); if ( user_can( $owner_id, Permissions::VIEW_AUTHENTICATED_DASHBOARD ) ) { $this->synchronize_ads_linked_status(); } $restore_user(); } /** * Synchronize the adsLinked status. * * @since 1.124.0 * * @return null */ protected function synchronize_ads_linked_status() { $settings_ga4 = $this->analytics_4->get_settings()->get(); $property_id = $settings_ga4['propertyID']; $property_ads_links = $this->analytics_4->get_data( 'ads-links', array( 'propertyID' => $property_id ) ); if ( is_wp_error( $property_ads_links ) || ! is_array( $property_ads_links ) ) { return null; } // Update the adsLinked status and timestamp. $this->analytics_4->get_settings()->merge( array( 'adsLinked' => ! empty( $property_ads_links ), 'adsLinkedLastSyncedAt' => time(), ) ); } /** * Schedules single cron which will synchronize the adsLinked status. * * @since 1.124.0 */ public function maybe_schedule_synchronize_ads_linked() { $analytics_4_connected = $this->analytics_4->is_connected(); $cron_already_scheduled = wp_next_scheduled( self::CRON_SYNCHRONIZE_ADS_LINKED ); if ( $analytics_4_connected && ! $cron_already_scheduled ) { wp_schedule_single_event( time() + ( WEEK_IN_SECONDS ), self::CRON_SYNCHRONIZE_ADS_LINKED ); } } } includes/Modules/Analytics_4/Synchronize_Property.php 0000604 00000010207 14717744000 0017064 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Synchronize_Property * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaProperty; /** * The base class for Synchronizing the Analytics 4 property. * * @since 1.116.0 * @access private * @ignore */ class Synchronize_Property { const CRON_SYNCHRONIZE_PROPERTY = 'googlesitekit_cron_synchronize_property_data'; /** * Analytics_4 instance. * * @since 1.116.0 * @var Analytics_4 */ protected $analytics_4; /** * User_Options instance. * * @since 1.116.0 * @var User_Options */ protected $user_options; /** * Constructor. * * @since 1.116.0 * * @param Analytics_4 $analytics_4 Analytics 4 instance. * @param User_Options $user_options User_Options instance. */ public function __construct( Analytics_4 $analytics_4, User_Options $user_options ) { $this->analytics_4 = $analytics_4; $this->user_options = $user_options; } /** * Registers functionality through WordPress hooks. * * @since 1.116.0 */ public function register() { add_action( self::CRON_SYNCHRONIZE_PROPERTY, function () { $this->synchronize_property_data(); } ); } /** * Cron callback for synchronizing the property. * * @since 1.116.0 */ protected function synchronize_property_data() { $owner_id = $this->analytics_4->get_owner_id(); $restore_user = $this->user_options->switch_user( $owner_id ); if ( user_can( $owner_id, Permissions::VIEW_AUTHENTICATED_DASHBOARD ) ) { $property = $this->retrieve_property(); $this->synchronize_property_create_time( $property ); } $restore_user(); } /** * Schedules single cron which will synchronize the property data. * * @since 1.116.0 */ public function maybe_schedule_synchronize_property() { $settings = $this->analytics_4->get_settings()->get(); $create_time_has_value = (bool) $settings['propertyCreateTime']; $analytics_4_connected = $this->analytics_4->is_connected(); $cron_already_scheduled = wp_next_scheduled( self::CRON_SYNCHRONIZE_PROPERTY ); if ( ! $create_time_has_value && $analytics_4_connected && ! $cron_already_scheduled ) { wp_schedule_single_event( // Schedule the task to run in 30 minutes. time() + ( 30 * MINUTE_IN_SECONDS ), self::CRON_SYNCHRONIZE_PROPERTY ); } } /** * Retrieve the Analytics 4 property. * * @since 1.116.0 * * @return GoogleAnalyticsAdminV1betaProperty|null $property Analytics 4 property object, or null if property is not found. */ protected function retrieve_property() { $settings = $this->analytics_4->get_settings()->get(); $property_id = $settings['propertyID']; $property = $this->analytics_4->get_data( 'property', array( 'propertyID' => $property_id ) ); if ( is_wp_error( $property ) ) { return null; } return $property; } /** * Synchronize the property create time data. * * @since 1.116.0 * * @param GoogleAnalyticsAdminV1betaProperty|null $property Analytics 4 property object, or null if property is not found. */ protected function synchronize_property_create_time( $property ) { if ( ! $property ) { return; } $create_time_ms = self::convert_time_to_unix_ms( $property->createTime ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase $this->analytics_4->get_settings()->merge( array( 'propertyCreateTime' => $create_time_ms, ) ); } /** * Convert to Unix timestamp and then to milliseconds. * * @since 1.116.0 * * @param string $date_time Date in date-time format. */ public static function convert_time_to_unix_ms( $date_time ) { $date_time_object = new \DateTime( $date_time, new \DateTimeZone( 'UTC' ) ); return (int) ( $date_time_object->getTimestamp() * 1000 ); } } includes/Modules/Analytics_4/Tag_Guard.php 0000604 00000001556 14717744000 0014511 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Tag_Guard * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the Analytics 4 tag guard. * * @since 1.31.0 * @access private * @ignore */ class Tag_Guard extends Module_Tag_Guard { /** * Determines whether the guarded tag can be activated or not. * * @since 1.31.0 * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { $settings = $this->settings->get(); return ! empty( $settings['useSnippet'] ) && ! empty( $settings['measurementID'] ); } } includes/Modules/Analytics_4/Tag_Interface.php 0000604 00000001465 14717744000 0015346 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Tag_Interface * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2023 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; /** * Interface for an Analytics 4 tag. * * @since 1.113.0 * @access private * @ignore */ interface Tag_Interface { /** * Sets the ads conversion ID. * * @since 1.118.0 * * @param string $ads_conversion_id Ads ID. */ public function set_ads_conversion_id( $ads_conversion_id ); /** * Sets custom dimensions data. * * @since 1.113.0 * * @param string $custom_dimensions Custom dimensions data. */ public function set_custom_dimensions( $custom_dimensions ); } includes/Modules/Analytics_4/Tag_Matchers.php 0000604 00000004152 14717744000 0015210 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Analytics_4\Tag_Matchers * * @package Google\Site_Kit\Core\Modules\Analytics_4 * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.119.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.119.0 * * @return array Array of regex matchers. */ public function regex_matchers() { $tag_matchers = array( "/__gaTracker\s*\(\s*['|\"]create['|\"]\s*,\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\, ?['|\"]auto['|\"]\s*\)/i", "/_gaq\.push\s*\(\s*\[\s*['|\"][^_]*_setAccount['|\"]\s*,\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\s*],?\s*\)/i", '/<amp-analytics\s+[^>]*type="gtag"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"gtag_id"\s*:\s*"(G-[a-zA-Z0-9]+)"/i', '/<amp-analytics\s+[^>]*type="googleanalytics"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"account"\s*:\s*"(G-[a-zA-Z0-9]+)"/i', ); $subdomains = array( '', 'www\\.' ); foreach ( $subdomains as $subdomain ) { $tag_matchers[] = "/<script\\s+[^>]*src=['|\"]https?:\\/\\/" . $subdomain . "googletagmanager\\.com\\/gtag\\/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^>]*><\\/script>/i"; $tag_matchers[] = "/<script\\s+[^>]*src=['|\"]https?:\/\/" . $subdomain . "googletagmanager\\.com\\/gtag\\/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^\\/]*\/>/i"; } $funcs = array( '__gaTracker', 'ga', 'gtag' ); foreach ( $funcs as $func ) { $tag_matchers[] = "/$func\\s*\\(\\s*['|\"]create['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\\,\\s*['|\"]auto['|\"]\\s*\\)/i"; $tag_matchers[] = "/$func\\s*\\(\\s*['|\"]config['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\\s*\\)/i"; $tag_matchers[] = "/$func\\s*\\(\\s*['|\"]config['|\"]\\s*,\\s*['|\"](GT-[a-zA-Z0-9]+)['|\"]\\s*\\)/i"; } return $tag_matchers; } } includes/Modules/Analytics_4/Web_Tag.php 0000604 00000014226 14717744000 0014162 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4\Web_Tag * * @package Google\Site_Kit\Modules\Analytics_4 * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Analytics_4; use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag; use Google\Site_Kit\Core\Tags\GTag; use Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Trait; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface; /** * Class for Web tag. * * @since 1.31.0 * @access private * @ignore */ class Web_Tag extends Module_Web_Tag implements Tag_Interface, Tag_With_Linker_Interface { use Method_Proxy_Trait; use Tag_With_DNS_Prefetch_Trait; use Tag_With_Linker_Trait; /** * Custom dimensions data. * * @since 1.113.0 * @var array */ private $custom_dimensions; /** * Ads conversion ID. * * @since 1.32.0 * @var string */ private $ads_conversion_id; /** * Sets custom dimensions data. * * @since 1.113.0 * * @param string $custom_dimensions Custom dimensions data. */ public function set_custom_dimensions( $custom_dimensions ) { $this->custom_dimensions = $custom_dimensions; } /** * Sets the current home domain. * * @since 1.24.0 * * @param string $domain Domain name. */ public function set_home_domain( $domain ) { $this->home_domain = $domain; } /** * Sets the ads conversion ID. * * @since 1.32.0 * * @param string $ads_conversion_id Ads ID. */ public function set_ads_conversion_id( $ads_conversion_id ) { $this->ads_conversion_id = $ads_conversion_id; } /** * Gets args to use if blocked_on_consent is deprecated. * * @since 1.122.0 * * @return array args to pass to apply_filters_deprecated if deprecated ($version, $replacement, $message) */ protected function get_tag_blocked_on_consent_deprecated_args() { return array( '1.122.0', // Deprecated in this version. '', __( 'Please use the Consent Mode feature instead.', 'google-site-kit' ), ); } /** * Registers tag hooks. * * @since 1.31.0 */ public function register() { add_action( 'googlesitekit_setup_gtag', $this->get_method_proxy( 'setup_gtag' ) ); $this->do_init_tag_action(); } /** * Outputs gtag snippet. * * @since 1.24.0 */ protected function render() { // Do nothing, gtag script is enqueued. } /** * Configures gtag script. * * @since 1.24.0 * @since 1.124.0 Renamed and refactored to use new GTag infrastructure. * * @param GTag $gtag GTag instance. */ protected function setup_gtag( GTag $gtag ) { $gtag_opt = $this->get_tag_config(); /** * Filters the gtag configuration options for the Analytics snippet. * * You can use the {@see 'googlesitekit_amp_gtag_opt'} filter to do the same for gtag in AMP. * * @since 1.24.0 * * @see https://developers.google.com/gtagjs/devguide/configure * * @param array $gtag_opt gtag config options. */ $gtag_opt = apply_filters( 'googlesitekit_gtag_opt', $gtag_opt ); if ( ! empty( $gtag_opt['linker'] ) ) { $gtag->add_command( 'set', array( 'linker', $gtag_opt['linker'] ) ); unset( $gtag_opt['linker'] ); } $gtag->add_tag( $this->tag_id, $gtag_opt ); // TODO: Lift this out to the Ads module when it's ready. if ( $this->ads_conversion_id ) { $gtag->add_tag( $this->ads_conversion_id ); } $filter_google_gtagjs = function ( $tag, $handle ) use ( $gtag ) { if ( GTag::HANDLE !== $handle ) { return $tag; } // Retain this comment for detection of Site Kit placed tag. $snippet_comment = sprintf( "\n<!-- %s -->\n", esc_html__( 'Google Analytics snippet added by Site Kit', 'google-site-kit' ) ); $block_on_consent_attrs = $this->get_tag_blocked_on_consent_attribute(); if ( $block_on_consent_attrs ) { $gtag_src = $gtag->get_gtag_src(); $tag = $this->add_legacy_block_on_consent_attributes( $tag, $gtag_src, $block_on_consent_attrs ); } return $snippet_comment . $tag; }; add_filter( 'script_loader_tag', $filter_google_gtagjs, 10, 2 ); } /** * Gets the tag config as used in the gtag data vars. * * @since 1.113.0 * * @return array Tag configuration. */ protected function get_tag_config() { $config = array(); if ( ! empty( $this->custom_dimensions ) ) { $config = array_merge( $config, $this->custom_dimensions ); } return $this->add_linker_to_tag_config( $config ); } /** * Adds HTML attributes to the gtag script tag to block it until user consent is granted. * * This mechanism for blocking the tag is deprecated and the Consent Mode feature should be used instead. * * @since 1.122.0 * * @param string $tag The script tag. * @param string $gtag_src The gtag script source URL. * @param string $block_on_consent_attrs The attributes to add to the script tag to block it until user consent is granted. * @return string The script tag with the added attributes. */ protected function add_legacy_block_on_consent_attributes( $tag, $gtag_src, $block_on_consent_attrs ) { return str_replace( array( "<script src='$gtag_src'", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script src=\"$gtag_src\"", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script type='text/javascript' src='$gtag_src'", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script type=\"text/javascript\" src=\"$gtag_src\"", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript ), array( // `type` attribute intentionally excluded in replacements. "<script{$block_on_consent_attrs} src='$gtag_src'", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script{$block_on_consent_attrs} src=\"$gtag_src\"", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script{$block_on_consent_attrs} src='$gtag_src'", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript "<script{$block_on_consent_attrs} src=\"$gtag_src\"", // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript ), $tag ); } } includes/Modules/PageSpeed_Insights/Settings.php 0000604 00000001363 14717744000 0016003 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\PageSpeed_Insights\Settings * * @package Google\Site_Kit\Modules\PageSpeed_Insights * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\PageSpeed_Insights; use Google\Site_Kit\Core\Modules\Module_Settings; /** * Class for PageSpeed Insights settings. * * @since 1.49.0 * @access private * @ignore */ class Settings extends Module_Settings { const OPTION = 'googlesitekit_pagespeed-insights_settings'; /** * Gets the default value. * * @since 1.49.0 * * @return array */ protected function get_default() { return array( 'ownerID' => 0 ); } } includes/Modules/Reader_Revenue_Manager/Settings.php 0000604 00000006432 14717744000 0016625 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Reader_Revenue_Manager\Settings * * @package Google\Site_Kit\Modules\Reader_Revenue_Manager * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Reader_Revenue_Manager; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; use Google\Site_Kit\Core\Storage\Setting_With_ViewOnly_Keys_Interface; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for RRM settings. * * @since 1.132.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface, Setting_With_ViewOnly_Keys_Interface { use Setting_With_Owned_Keys_Trait; use Method_Proxy_Trait; const OPTION = 'googlesitekit_reader-revenue-manager_settings'; /** * Various Reader Revenue Manager onboarding statuses. */ const ONBOARDING_STATE_UNSPECIFIED = 'ONBOARDING_STATE_UNSPECIFIED'; const ONBOARDING_STATE_ACTION_REQUIRED = 'ONBOARDING_ACTION_REQUIRED'; const ONBOARDING_STATE_PENDING_VERIFICATION = 'PENDING_VERIFICATION'; const ONBOARDING_STATE_COMPLETE = 'ONBOARDING_COMPLETE'; /** * Registers the setting in WordPress. * * @since 1.132.0 */ public function register() { parent::register(); $this->register_owned_keys(); } /** * Returns keys for owned settings. * * @since 1.132.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'publicationID' ); } /** * Gets the default value. * * @since 1.132.0 * * @return array */ protected function get_default() { return array( 'ownerID' => 0, 'publicationID' => '', 'publicationOnboardingState' => '', 'publicationOnboardingStateLastSyncedAtMs' => 0, ); } /** * Returns keys for view-only settings. * * @since 1.132.0 * * @return array An array of keys for view-only settings. */ public function get_view_only_keys() { return array(); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.132.0 * * @return callable|null */ protected function get_sanitize_callback() { return function ( $option ) { if ( isset( $option['publicationID'] ) ) { if ( ! preg_match( '/^[a-zA-Z0-9_-]+$/', $option['publicationID'] ) ) { $option['publicationID'] = ''; } } if ( isset( $option['publicationOnboardingStateLastSyncedAtMs'] ) ) { if ( ! is_int( $option['publicationOnboardingStateLastSyncedAtMs'] ) ) { $option['publicationOnboardingStateLastSyncedAtMs'] = 0; } } if ( isset( $option['publicationOnboardingState'] ) ) { $valid_onboarding_states = array( self::ONBOARDING_STATE_UNSPECIFIED, self::ONBOARDING_STATE_ACTION_REQUIRED, self::ONBOARDING_STATE_PENDING_VERIFICATION, self::ONBOARDING_STATE_COMPLETE, ); if ( ! in_array( $option['publicationOnboardingState'], $valid_onboarding_states, true ) ) { $option['publicationOnboardingState'] = ''; } } return $option; }; } } includes/Modules/Reader_Revenue_Manager/Tag_Guard.php 0000604 00000001566 14717744000 0016665 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Guard * * @package Google\Site_Kit\Modules\Reader_Revenue_Manager * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Reader_Revenue_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the Reader Revenue Manager tag guard. * * @since 1.132.0 * @access private * @ignore */ class Tag_Guard extends Module_Tag_Guard { /** * Determines whether the guarded tag can be activated or not. * * @since 1.132.0 * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { $settings = $this->settings->get(); return ! empty( $settings['publicationID'] ); } } includes/Modules/Reader_Revenue_Manager/Tag_Matchers.php 0000604 00000001730 14717744000 0017362 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Matchers * * @package Google\Site_Kit\Modules\Reader_Revenue_Manager * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Reader_Revenue_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.132.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.132.0 * * @return array Array of regex matchers. */ public function regex_matchers() { return array( "/<script\s+[^>]*src=['|\"]https?:\/\/news\.google\.com\/swg\/js\/v1\/swg-basic\.js['|\"][^>]*>/", '/\(self\.SWG_BASIC=self\.SWG_BASIC\|\|\[\]\)\.push/', ); } } includes/Modules/Reader_Revenue_Manager/Web_Tag.php 0000604 00000006571 14717744000 0016341 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Reader_Revenue_Manager\Web_Tag * * @package Google\Site_Kit\Modules\Reader_Revenue_Manager * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Reader_Revenue_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag; use Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for Web tag. * * @since 1.132.0 * @access private * @ignore */ class Web_Tag extends Module_Web_Tag { use Method_Proxy_Trait; use Tag_With_DNS_Prefetch_Trait; /** * Registers tag hooks. * * @since 1.132.0 */ public function register() { add_action( 'wp_enqueue_scripts', $this->get_method_proxy( 'enqueue_swg_script' ) ); add_filter( 'script_loader_tag', $this->get_method_proxy( 'add_snippet_comments' ), 10, 2 ); add_filter( 'wp_resource_hints', $this->get_dns_prefetch_hints_callback( '//news.google.com' ), 10, 2 ); $this->do_init_tag_action(); } /** * Enqueues the Reader Revenue Manager (SWG) script. * * @since 1.132.0 * @since 1.140.0 Updated to enqueue the script only on singular posts. */ protected function enqueue_swg_script() { $locale = str_replace( '_', '-', get_locale() ); $subscription = array( 'type' => 'NewsArticle', 'isPartOfType' => array( 'Product' ), 'isPartOfProductId' => $this->tag_id . ':openaccess', 'clientOptions' => array( 'theme' => 'light', 'lang' => $locale, ), ); $json_encoded_subscription = wp_json_encode( $subscription ); if ( ! $json_encoded_subscription ) { $json_encoded_subscription = 'null'; } $swg_inline_script = sprintf( '(self.SWG_BASIC=self.SWG_BASIC||[]).push(basicSubscriptions=>{basicSubscriptions.init(%s);});', $json_encoded_subscription ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion wp_register_script( 'google_swgjs', 'https://news.google.com/swg/js/v1/swg-basic.js', array(), null, true ); wp_script_add_data( 'google_swgjs', 'strategy', 'async' ); wp_add_inline_script( 'google_swgjs', $swg_inline_script, 'before' ); /** * Filters the post types where Reader Revenue Manager CTAs should appear. * * @since 1.140.0 * * @param array $cta_post_types The array of post types. */ $cta_post_types = apply_filters( 'googlesitekit_reader_revenue_manager_cta_post_types', array( 'post' ) ); if ( is_singular( $cta_post_types ) ) { wp_enqueue_script( 'google_swgjs' ); } } /** * Add snippet comments around the tag. * * @since 1.132.0 * * @param string $tag The tag. * @param string $handle The script handle. * * @return string The tag with snippet comments. */ protected function add_snippet_comments( $tag, $handle ) { if ( 'google_swgjs' !== $handle ) { return $tag; } $before = sprintf( "\n<!-- %s -->\n", esc_html__( 'Google Reader Revenue Manager snippet added by Site Kit', 'google-site-kit' ) ); $after = sprintf( "\n<!-- %s -->\n", esc_html__( 'End Google Reader Revenue Manager snippet added by Site Kit', 'google-site-kit' ) ); return $before . $tag . $after; } /** * Outputs snippet. * * @since 1.132.0 */ protected function render() { // Do nothing, script is enqueued. } } includes/Modules/Search_Console/Settings.php 0000604 00000003145 14717744000 0015165 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Search_Console\Settings * * @package Google\Site_Kit\Modules\Search_Console * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Search_Console; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; /** * Class for Search Console settings. * * @since 1.3.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface { use Setting_With_Owned_Keys_Trait; const OPTION = 'googlesitekit_search-console_settings'; /** * Registers the setting in WordPress. * * @since 1.3.0 */ public function register() { parent::register(); $this->register_owned_keys(); // Backwards compatibility with previous dedicated option. add_filter( 'default_option_' . self::OPTION, function ( $default_option ) { $default_option['propertyID'] = $this->options->get( 'googlesitekit_search_console_property' ) ?: ''; return $default_option; } ); } /** * Gets the default value. * * @since 1.3.0 * * @return array */ protected function get_default() { return array( 'propertyID' => '', 'ownerID' => '', ); } /** * Returns keys for owned settings. * * @since 1.31.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'propertyID', ); } } includes/Modules/Sign_In_With_Google/Settings.php 0000604 00000010612 14717744000 0016110 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Sign_In_With_Google\Settings * * @package Google\Site_Kit\Modules\Sign_In_With_Google * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Sign_In_With_Google; use Google\Site_Kit\Core\Modules\Module_Settings; /** * Class for Sign_In_With_Google settings. * * @since 1.137.0 * @access private * @ignore */ class Settings extends Module_Settings { const OPTION = 'googlesitekit_sign-in-with-google_settings'; const TEXT_CONTINUE_WITH_GOOGLE = array( 'value' => 'continue_with', 'label' => 'Continue with Google', ); const TEXT_SIGN_IN = array( 'value' => 'signin', 'label' => 'Sign in', ); const TEXT_SIGN_IN_WITH_GOOGLE = array( 'value' => 'signin_with', 'label' => 'Sign in with Google', ); const TEXT_SIGN_UP_WITH_GOOGLE = array( 'value' => 'signup_with', 'label' => 'Sign up with Google', ); const TEXTS = array( self::TEXT_CONTINUE_WITH_GOOGLE, self::TEXT_SIGN_IN, self::TEXT_SIGN_IN_WITH_GOOGLE, self::TEXT_SIGN_UP_WITH_GOOGLE, ); const THEME_LIGHT = array( 'value' => 'outline', 'label' => 'Light', ); const THEME_NEUTRAL = array( 'value' => 'filled_blue', 'label' => 'Neutral', ); const THEME_DARK = array( 'value' => 'filled_black', 'label' => 'Dark', ); const THEMES = array( self::THEME_LIGHT, self::THEME_NEUTRAL, self::THEME_DARK, ); const SHAPE_RECTANGULAR = array( 'value' => 'rectangular', 'label' => 'Rectangular', ); const SHAPE_PILL = array( 'value' => 'pill', 'label' => 'Pill', ); const SHAPES = array( self::SHAPE_RECTANGULAR, self::SHAPE_PILL, ); /** * Gets the default value. * * @since 1.137.0 * * @return array An array of default settings values. */ protected function get_default() { return array( 'clientID' => '', 'text' => self::TEXT_SIGN_IN_WITH_GOOGLE['value'], 'theme' => self::THEME_LIGHT['value'], 'shape' => self::SHAPE_RECTANGULAR['value'], 'oneTapEnabled' => false, ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.137.0 * * @return callable|null */ protected function get_sanitize_callback() { return function ( $option ) { if ( ! is_array( $option ) ) { return $option; } if ( isset( $option['clientID'] ) ) { $option['clientID'] = (string) $option['clientID']; } if ( isset( $option['text'] ) ) { $text_options = array( self::TEXT_CONTINUE_WITH_GOOGLE['value'], self::TEXT_SIGN_IN['value'], self::TEXT_SIGN_IN_WITH_GOOGLE['value'], self::TEXT_SIGN_UP_WITH_GOOGLE['value'], ); if ( ! in_array( $option['text'], $text_options, true ) ) { $option['text'] = self::TEXT_SIGN_IN_WITH_GOOGLE['value']; } } if ( isset( $option['theme'] ) ) { $theme_options = array( self::THEME_LIGHT['value'], self::THEME_NEUTRAL['value'], self::THEME_DARK['value'], ); if ( ! in_array( $option['theme'], $theme_options, true ) ) { $option['theme'] = self::THEME_LIGHT['value']; } } if ( isset( $option['shape'] ) ) { $shape_options = array( self::SHAPE_RECTANGULAR['value'], self::SHAPE_PILL['value'], ); if ( ! in_array( $option['shape'], $shape_options, true ) ) { $option['shape'] = self::SHAPE_RECTANGULAR['value']; } } if ( isset( $option['oneTapEnabled'] ) ) { $option['oneTapEnabled'] = (bool) $option['oneTapEnabled']; } return $option; }; } /** * Gets the label for a given Sign in with Google setting value. * * @since 1.140.0 * * @param string $setting_name The slug for the Sign in with Google setting. * @param string $value The setting value to look up the label for. * @return string The label for the given setting value. */ public function get_label( $setting_name, $value ) { switch ( $setting_name ) { case 'text': $constant = self::TEXTS; break; case 'theme': $constant = self::THEMES; break; case 'shape': $constant = self::SHAPES; break; } if ( ! isset( $constant ) ) { return ''; } $key = array_search( $value, array_column( $constant, 'value' ), true ); if ( false === $key ) { return ''; } return $constant[ $key ]['label']; } } includes/Modules/Sign_In_With_Google/Tag_Matchers.php 0000604 00000001461 14717744000 0016653 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Sign_In_With_Google\Tag_Matchers * * @package Google\Site_Kit\Core\Modules\Sign_In_With_Google * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Sign_In_With_Google; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.140.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.140.0 * * @return array Array of regex matchers. */ public function regex_matchers() { return array(); } } includes/Modules/Tag_Manager/AMP_Tag.php 0000604 00000005003 14717744000 0014046 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Tag_Manager\AMP_Tag * * @package Google\Site_Kit\Modules\Tag_Manager * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Tag_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_AMP_Tag; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; /** * Class for AMP tag. * * @since 1.24.0 * @access private * @ignore */ class AMP_Tag extends Module_AMP_Tag { use Method_Proxy_Trait; /** * Registers tag hooks. * * @since 1.24.0 */ public function register() { $render = $this->get_method_proxy_once( 'render' ); // Which actions are run depends on the version of the AMP Plugin // (https://amp-wp.org/) available. Version >=1.3 exposes a // new, `amp_print_analytics` action. // For all AMP modes, AMP plugin version >=1.3. add_action( 'amp_print_analytics', $render ); // For AMP Standard and Transitional, AMP plugin version <1.3. add_action( 'wp_footer', $render, 20 ); // For AMP Reader, AMP plugin version <1.3. add_action( 'amp_post_template_footer', $render, 20 ); // For Web Stories plugin. add_action( 'web_stories_print_analytics', $render ); // Load amp-analytics component for AMP Reader. $this->enqueue_amp_reader_component_script( 'amp-analytics', 'https://cdn.ampproject.org/v0/amp-analytics-0.1.js' ); $this->do_init_tag_action(); } /** * Outputs Tag Manager <amp-analytics> tag. * * @since 1.24.0 */ protected function render() { // Add the optoutElementId for compatibility with our Analytics opt-out mechanism. // This configuration object will be merged with the configuration object returned // by the `config` attribute URL. $gtm_amp_opt = array( 'optoutElementId' => '__gaOptOutExtension', ); printf( "\n<!-- %s -->\n", esc_html__( 'Google Tag Manager AMP snippet added by Site Kit', 'google-site-kit' ) ); printf( '<amp-analytics config="%s" data-credentials="include"%s><script type="application/json">%s</script></amp-analytics>', esc_url( 'https://www.googletagmanager.com/amp.json?id=' . rawurlencode( $this->tag_id ) ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped $this->get_tag_blocked_on_consent_attribute(), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped wp_json_encode( $gtm_amp_opt ) ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google Tag Manager AMP snippet added by Site Kit', 'google-site-kit' ) ); } } includes/Modules/Tag_Manager/Settings.php 0000604 00000004413 14717744000 0014442 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Tag_Manager\Settings * * @package Google\Site_Kit\Modules\Tag_Manager * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Tag_Manager; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Storage\Setting_With_Legacy_Keys_Trait; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Interface; use Google\Site_Kit\Core\Storage\Setting_With_Owned_Keys_Trait; /** * Class for Tag Manager settings. * * @since 1.2.0 * @access private * @ignore */ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interface { use Setting_With_Legacy_Keys_Trait; use Setting_With_Owned_Keys_Trait; const OPTION = 'googlesitekit_tagmanager_settings'; /** * Registers the setting in WordPress. * * @since 1.2.0 */ public function register() { parent::register(); $this->register_legacy_keys_migration( array( 'account_id' => 'accountID', 'accountId' => 'accountID', 'container_id' => 'containerID', 'containerId' => 'containerID', ) ); $this->register_owned_keys(); } /** * Returns keys for owned settings. * * @since 1.16.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'accountID', 'ampContainerID', 'containerID', 'internalAMPContainerID', 'internalContainerID', ); } /** * Gets the default value. * * @since 1.2.0 * * @return array */ protected function get_default() { return array( 'ownerID' => 0, 'accountID' => '', 'ampContainerID' => '', 'containerID' => '', 'internalContainerID' => '', 'internalAMPContainerID' => '', 'useSnippet' => true, ); } /** * Gets the callback for sanitizing the setting's value before saving. * * @since 1.6.0 * * @return callable|null */ protected function get_sanitize_callback() { return function ( $option ) { if ( is_array( $option ) ) { if ( isset( $option['useSnippet'] ) ) { $option['useSnippet'] = (bool) $option['useSnippet']; } } return $option; }; } } includes/Modules/Tag_Manager/Tag_Guard.php 0000604 00000002557 14717744000 0014506 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Tag_Manager\Tag_Guard * * @package Google\Site_Kit\Modules\Tag_Manager * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Tag_Manager; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Guard; /** * Class for the Tag Manager tag guard. * * @since 1.24.0 * @access private * @ignore */ class Tag_Guard extends Module_Tag_Guard { /** * Determines AMP mode. * * @since 1.24.0 * @var bool */ protected $is_amp; /** * Constructor. * * @since 1.24.0 * * @param Module_Settings $settings Module settings. * @param bool $is_amp AMP mode. */ public function __construct( Module_Settings $settings, $is_amp ) { parent::__construct( $settings ); $this->is_amp = $is_amp; } /** * Determines whether the guarded tag can be activated or not. * * @since 1.24.0 * * @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error. */ public function can_activate() { $settings = $this->settings->get(); $container_id = $this->is_amp ? $settings['ampContainerID'] : $settings['containerID']; return ! empty( $settings['useSnippet'] ) && ! empty( $container_id ); } } includes/Modules/Tag_Manager/Tag_Matchers.php 0000604 00000002633 14717744000 0015205 0 ustar 00 <?php /** * Class Google\Site_Kit\Core\Modules\Tag_Manager\Tag_Matchers * * @package Google\Site_Kit\Core\Modules\Tag_Manager * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules\Tag_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Tags\Tag_Matchers_Interface; /** * Class for Tag matchers. * * @since 1.119.0 * @access private * @ignore */ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface { /** * Holds array of regex tag matchers. * * @since 1.119.0 * * @return array Array of regex matchers. */ public function regex_matchers() { return array( // Detect injection script (Google provided code, duracelltomi-google-tag-manager, metronet-tag-manager (uses user-provided)). "/<script[^>]*>[^>]+?www.googletagmanager.com\/gtm[^>]+?['|\"](GTM-[0-9A-Z]+)['|\"]/", // Detect gtm.js script calls. "/<script[^>]*src=['|\"]https:\/\/www.googletagmanager.com\/gtm.js\?id=(GTM-[0-9A-Z]+)['|\"]/", // Detect iframe version for no-js. "/<script[^>]*src=['|\"]https:\/\/www.googletagmanager.com\/ns.html\?id=(GTM-[0-9A-Z]+)['|\"]/", // Detect amp tag. "/<amp-analytics [^>]*config=['|\"]https:\/\/www.googletagmanager.com\/amp.json\?id=(GTM-[0-9A-Z]+)['|\"]/", ); } } includes/Modules/Tag_Manager/Web_Tag.php 0000604 00000006043 14717744000 0014153 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Tag_Manager\Web_Tag * * @package Google\Site_Kit\Modules\Tag_Manager * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules\Tag_Manager; use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Tags\Tag_With_DNS_Prefetch_Trait; use Google\Site_Kit\Core\Util\BC_Functions; /** * Class for Web tag. * * @since 1.24.0 * @access private * @ignore */ class Web_Tag extends Module_Web_Tag { use Method_Proxy_Trait; use Tag_With_DNS_Prefetch_Trait; /** * Registers tag hooks. * * @since 1.24.0 */ public function register() { $render_no_js = $this->get_method_proxy_once( 'render_no_js' ); add_action( 'wp_head', $this->get_method_proxy( 'render' ) ); // For non-AMP (if `wp_body_open` supported). add_action( 'wp_body_open', $render_no_js, -9999 ); // For non-AMP (as fallback). add_action( 'wp_footer', $render_no_js ); add_filter( 'wp_resource_hints', $this->get_dns_prefetch_hints_callback( '//www.googletagmanager.com' ), 10, 2 ); $this->do_init_tag_action(); } /** * Outputs Tag Manager script. * * @since 1.24.0 */ protected function render() { $tag_manager_inline_script = sprintf( " ( function( w, d, s, l, i ) { w[l] = w[l] || []; w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} ); var f = d.getElementsByTagName( s )[0], j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore( j, f ); } )( window, document, 'script', 'dataLayer', '%s' ); ", esc_js( $this->tag_id ) ); $tag_manager_consent_attribute = $this->get_tag_blocked_on_consent_attribute_array(); printf( "\n<!-- %s -->\n", esc_html__( 'Google Tag Manager snippet added by Site Kit', 'google-site-kit' ) ); BC_Functions::wp_print_inline_script_tag( $tag_manager_inline_script, $tag_manager_consent_attribute ); printf( "\n<!-- %s -->\n", esc_html__( 'End Google Tag Manager snippet added by Site Kit', 'google-site-kit' ) ); } /** * Outputs Tag Manager iframe for when the browser has JavaScript disabled. * * @since 1.24.0 */ private function render_no_js() { // Consent-based blocking requires JS to be enabled so we need to bail here if present. if ( $this->get_tag_blocked_on_consent_attribute() ) { return; } $iframe_src = 'https://www.googletagmanager.com/ns.html?id=' . rawurlencode( $this->tag_id ); ?> <!-- <?php esc_html_e( 'Google Tag Manager (noscript) snippet added by Site Kit', 'google-site-kit' ); ?> --> <noscript> <iframe src="<?php echo esc_url( $iframe_src ); ?>" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- <?php esc_html_e( 'End Google Tag Manager (noscript) snippet added by Site Kit', 'google-site-kit' ); ?> --> <?php } } includes/Modules/AdSense.php 0000604 00000111143 14717744000 0012016 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\AdSense * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Metrics_Exception; use Google\Site_Kit\Core\Validation\Exception\Invalid_Report_Dimensions_Exception; use Google\Site_Kit\Core\Assets\Asset; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Modules\Module_With_Service_Entity; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; use Google\Site_Kit\Core\Util\Date; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\Sort; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Tag; use Google\Site_Kit\Modules\AdSense\AMP_Tag; use Google\Site_Kit\Modules\AdSense\Settings; use Google\Site_Kit\Modules\AdSense\Tag_Guard; use Google\Site_Kit\Modules\AdSense\Auto_Ad_Guard; use Google\Site_Kit\Modules\AdSense\Web_Tag; use Google\Site_Kit_Dependencies\Google\Model as Google_Model; use Google\Site_Kit_Dependencies\Google\Service\Adsense as Google_Service_Adsense; use Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert as Google_Service_Adsense_Alert; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Modules\AdSense\Tag_Matchers; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Prompts\Dismissed_Prompts; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Core\Storage\Encrypted_Options; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Tags\Guards\WP_Query_404_Guard; use Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Tag_Guard; use Google\Site_Kit\Modules\AdSense\Ad_Blocking_Recovery_Web_Tag; use Google\Site_Kit\Modules\Analytics_4\Settings as Analytics_Settings; use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked; use WP_Error; use WP_REST_Response; /** * Class representing the AdSense module. * * @since 1.0.0 * @access private * @ignore */ final class AdSense extends Module implements Module_With_Scopes, Module_With_Settings, Module_With_Assets, Module_With_Debug_Fields, Module_With_Owner, Module_With_Service_Entity, Module_With_Deactivation, Module_With_Tag { use Method_Proxy_Trait; use Module_With_Assets_Trait; use Module_With_Owner_Trait; use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Module_With_Tag_Trait; /** * Module slug name. */ const MODULE_SLUG = 'adsense'; /** * Ad_Blocking_Recovery_Tag instance. * * @since 1.104.0 * @var Ad_Blocking_Recovery_Tag */ protected $ad_blocking_recovery_tag; /** * Constructor. * * @since 1.104.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. * @param Assets $assets Optional. Assets API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Authentication $authentication = null, Assets $assets = null ) { parent::__construct( $context, $options, $user_options, $authentication, $assets ); $this->ad_blocking_recovery_tag = new Ad_Blocking_Recovery_Tag( new Encrypted_Options( $this->options ) ); } /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $this->register_scopes_hook(); $this->ad_blocking_recovery_tag->register(); add_action( 'wp_head', $this->get_method_proxy_once( 'render_platform_meta_tags' ) ); if ( $this->is_connected() ) { /** * Release filter forcing unlinked state. * * This is hooked into 'init' (default priority of 10), so that it * runs after the original filter is added. * * @see \Google\Site_Kit\Modules\Analytics::register() * @see \Google\Site_Kit\Modules\Analytics\Settings::register() */ add_action( 'googlesitekit_init', function () { remove_filter( 'googlesitekit_analytics_adsense_linked', '__return_false' ); } ); } // AdSense tag placement logic. add_action( 'template_redirect', array( $this, 'register_tag' ) ); // Reset AdSense link settings in Analytics when accountID changes. $this->get_settings()->on_change( function ( $old_value, $new_value ) { if ( $old_value['accountID'] !== $new_value['accountID'] ) { $this->reset_analytics_adsense_linked_settings(); } if ( ! empty( $new_value['accountSetupComplete'] ) && ! empty( $new_value['siteSetupComplete'] ) ) { do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED ); } } ); // Set up the site reset hook to reset the ad blocking recovery notification. add_action( 'googlesitekit_reset', array( $this, 'reset_ad_blocking_recovery_notification' ) ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.0.0 * @since 1.9.0 Changed to `adsense.readonly` variant. * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( 'https://www.googleapis.com/auth/adsense.readonly', ); } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.0.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $settings = $this->get_settings()->get(); if ( empty( $settings['accountSetupComplete'] ) || empty( $settings['siteSetupComplete'] ) ) { return false; } return parent::is_connected(); } /** * Cleans up when the module is deactivated. * * @since 1.0.0 * @since 1.106.0 Remove Ad Blocking Recovery Tag setting on deactivation. */ public function on_deactivation() { $this->get_settings()->delete(); $this->ad_blocking_recovery_tag->delete(); // Reset AdSense link settings in Analytics. $this->reset_analytics_adsense_linked_settings(); // Reset the ad blocking recovery notification. $this->reset_ad_blocking_recovery_notification(); } /** * Gets an array of debug field definitions. * * @since 1.5.0 * * @return array */ public function get_debug_fields() { $settings = $this->get_settings()->get(); return array( 'adsense_account_id' => array( 'label' => __( 'AdSense account ID', 'google-site-kit' ), 'value' => $settings['accountID'], 'debug' => Debug_Data::redact_debug_value( $settings['accountID'], 7 ), ), 'adsense_client_id' => array( 'label' => __( 'AdSense client ID', 'google-site-kit' ), 'value' => $settings['clientID'], 'debug' => Debug_Data::redact_debug_value( $settings['clientID'], 10 ), ), 'adsense_account_status' => array( 'label' => __( 'AdSense account status', 'google-site-kit' ), 'value' => $settings['accountStatus'], ), 'adsense_site_status' => array( 'label' => __( 'AdSense site status', 'google-site-kit' ), 'value' => $settings['siteStatus'], ), 'adsense_use_snippet' => array( 'label' => __( 'AdSense snippet placed', 'google-site-kit' ), 'value' => $settings['useSnippet'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['useSnippet'] ? 'yes' : 'no', ), 'adsense_web_stories_adunit_id' => array( 'label' => __( 'Web Stories Ad Unit ID', 'google-site-kit' ), 'value' => $settings['webStoriesAdUnit'], 'debug' => $settings['webStoriesAdUnit'], ), 'adsense_setup_completed_timestamp' => array( 'label' => __( 'AdSense setup completed at', 'google-site-kit' ), 'value' => $settings['setupCompletedTimestamp'] ? date_i18n( get_option( 'date_format' ), $settings['setupCompletedTimestamp'] ) : __( 'Not available', 'google-site-kit' ), 'debug' => $settings['setupCompletedTimestamp'], ), 'adsense_abr_use_snippet' => array( 'label' => __( 'Ad Blocking Recovery snippet placed', 'google-site-kit' ), 'value' => $settings['useAdBlockingRecoverySnippet'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['useAdBlockingRecoverySnippet'] ? 'yes' : 'no', ), 'adsense_abr_use_error_protection_snippet' => array( 'label' => __( 'Ad Blocking Recovery error protection snippet placed', 'google-site-kit' ), 'value' => $settings['useAdBlockingRecoveryErrorSnippet'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['useAdBlockingRecoveryErrorSnippet'] ? 'yes' : 'no', ), 'adsense_abr_setup_status' => array( 'label' => __( 'Ad Blocking Recovery setup status', 'google-site-kit' ), 'value' => $this->get_ad_blocking_recovery_setup_status_label( $settings['adBlockingRecoverySetupStatus'] ), 'debug' => $settings['adBlockingRecoverySetupStatus'], ), ); } /** * Gets map of datapoint to definition data for each. * * @since 1.12.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:accounts' => array( 'service' => 'adsense' ), 'GET:adunits' => array( 'service' => 'adsense' ), 'GET:alerts' => array( 'service' => 'adsense' ), 'GET:clients' => array( 'service' => 'adsense' ), 'GET:notifications' => array( 'service' => '' ), 'GET:report' => array( 'service' => 'adsense', 'shareable' => true, ), 'GET:sites' => array( 'service' => 'adsense' ), 'POST:sync-ad-blocking-recovery-tags' => array( 'service' => 'adsense' ), ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:accounts': $service = $this->get_service( 'adsense' ); return $service->accounts->listAccounts(); case 'GET:adunits': if ( ! isset( $data['accountID'] ) || ! isset( $data['clientID'] ) ) { $option = $this->get_settings()->get(); $data['accountID'] = $option['accountID']; if ( empty( $data['accountID'] ) ) { /* translators: %s: Missing parameter name */ return new WP_Error( 'missing_required_param', sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $data['clientID'] = $option['clientID']; if ( empty( $data['clientID'] ) ) { /* translators: %s: Missing parameter name */ return new WP_Error( 'missing_required_param', sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'clientID' ), array( 'status' => 400 ) ); } } $service = $this->get_service( 'adsense' ); return $service->accounts_adclients_adunits->listAccountsAdclientsAdunits( self::normalize_client_id( $data['accountID'], $data['clientID'] ) ); case 'GET:alerts': if ( ! isset( $data['accountID'] ) ) { /* translators: %s: Missing parameter name */ return new WP_Error( 'missing_required_param', sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $service = $this->get_service( 'adsense' ); return $service->accounts_alerts->listAccountsAlerts( self::normalize_account_id( $data['accountID'] ) ); case 'GET:clients': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $service = $this->get_service( 'adsense' ); return $service->accounts_adclients->listAccountsAdclients( self::normalize_account_id( $data['accountID'] ) ); case 'GET:notifications': return function () { $settings = $this->get_settings()->get(); if ( empty( $settings['accountID'] ) ) { return array(); } $alerts = $this->get_data( 'alerts', array( 'accountID' => $settings['accountID'] ) ); if ( is_wp_error( $alerts ) || empty( $alerts ) ) { return array(); } $alerts = array_filter( $alerts, function ( Google_Service_Adsense_Alert $alert ) { return 'SEVERE' === $alert->getSeverity(); } ); // There is no SEVERE alert, return empty. if ( empty( $alerts ) ) { return array(); } $notifications = array_map( function ( Google_Service_Adsense_Alert $alert ) { return array( 'id' => 'adsense::' . $alert->getName(), 'description' => $alert->getMessage(), 'isDismissible' => true, 'severity' => 'win-info', 'ctaURL' => $this->get_account_url(), 'ctaLabel' => __( 'Go to AdSense', 'google-site-kit' ), 'ctaTarget' => '_blank', ); }, $alerts ); return array_values( $notifications ); }; case 'GET:report': $start_date = $data['startDate']; $end_date = $data['endDate']; if ( ! strtotime( $start_date ) || ! strtotime( $end_date ) ) { $dates = $this->date_range_to_dates( 'last-28-days' ); if ( is_wp_error( $dates ) ) { return $dates; } list ( $start_date, $end_date ) = $dates; } $args = array( 'start_date' => $start_date, 'end_date' => $end_date, ); $metrics = $this->parse_string_list( $data['metrics'] ); if ( ! empty( $metrics ) ) { if ( $this->is_shared_data_request( $data ) ) { try { $this->validate_shared_report_metrics( $metrics ); } catch ( Invalid_Report_Metrics_Exception $exception ) { return new WP_Error( 'invalid_adsense_report_metrics', $exception->getMessage() ); } } $args['metrics'] = $metrics; } $dimensions = $this->parse_string_list( $data['dimensions'] ); if ( ! empty( $dimensions ) ) { if ( $this->is_shared_data_request( $data ) ) { try { $this->validate_shared_report_dimensions( $dimensions ); } catch ( Invalid_Report_Dimensions_Exception $exception ) { return new WP_Error( 'invalid_adsense_report_dimensions', $exception->getMessage() ); } } $args['dimensions'] = $dimensions; } $orderby = $this->parse_earnings_orderby( $data['orderby'] ); if ( ! empty( $orderby ) ) { $args['sort'] = $orderby; } if ( ! empty( $data['limit'] ) ) { $args['limit'] = $data['limit']; } return $this->create_adsense_earning_data_request( array_filter( $args ) ); case 'GET:sites': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $service = $this->get_service( 'adsense' ); return $service->accounts_sites->listAccountsSites( self::normalize_account_id( $data['accountID'] ) ); case 'POST:sync-ad-blocking-recovery-tags': $settings = $this->get_settings()->get(); if ( empty( $settings['accountID'] ) ) { return new WP_Error( 'module_not_connected', __( 'Module is not connected.', 'google-site-kit' ), array( 'status' => 500 ) ); } $service = $this->get_service( 'adsense' ); return $service->accounts->getAdBlockingRecoveryTag( self::normalize_account_id( $settings['accountID'] ) ); } return parent::create_data_request( $data ); } /** * Parses a response for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:accounts': $accounts = array_filter( $response->getAccounts(), array( self::class, 'is_account_not_closed' ) ); return Sort::case_insensitive_list_sort( array_map( array( self::class, 'filter_account_with_ids' ), $accounts ), 'displayName' ); case 'GET:adunits': return array_map( array( self::class, 'filter_adunit_with_ids' ), $response->getAdUnits() ); case 'GET:alerts': return $response->getAlerts(); case 'GET:clients': return array_map( array( self::class, 'filter_client_with_ids' ), $response->getAdClients() ); case 'GET:report': return $response; case 'GET:sites': return $response->getSites(); case 'POST:sync-ad-blocking-recovery-tags': $this->ad_blocking_recovery_tag->set( array( 'tag' => $response->getTag(), 'error_protection_code' => $response->getErrorProtectionCode(), ) ); return new WP_REST_Response( array( 'success' => true, ) ); } return parent::parse_data_response( $data, $response ); } /** * Checks for the state of an Account, whether closed or not. * * @since 1.73.0 * * @param Google_Model $account Account model. * @return bool Whether the account is not closed. */ public static function is_account_not_closed( $account ) { return 'CLOSED' !== $account->getState(); } /** * Gets the service URL for the current account or signup if none. * * @since 1.25.0 * * @return string */ protected function get_account_url() { $profile = $this->authentication->profile(); $option = $this->get_settings()->get(); $query = array( 'source' => 'site-kit', 'utm_source' => 'site-kit', 'utm_medium' => 'wordpress_signup', 'url' => rawurlencode( $this->context->get_reference_site_url() ), ); if ( ! empty( $option['accountID'] ) ) { $url = sprintf( 'https://www.google.com/adsense/new/%s/home', $option['accountID'] ); } else { $url = 'https://www.google.com/adsense/signup'; } if ( $profile->has() ) { $query['authuser'] = $profile->get()['email']; } return add_query_arg( $query, $url ); } /** * Parses the orderby value of the data request into an array of earning orderby format. * * @since 1.15.0 * * @param array|null $orderby Data request orderby value. * @return string[] An array of reporting orderby strings. */ protected function parse_earnings_orderby( $orderby ) { if ( empty( $orderby ) || ! is_array( $orderby ) ) { return array(); } $results = array_map( function ( $order_def ) { $order_def = array_merge( array( 'fieldName' => '', 'sortOrder' => '', ), (array) $order_def ); if ( empty( $order_def['fieldName'] ) || empty( $order_def['sortOrder'] ) ) { return null; } return ( 'ASCENDING' === $order_def['sortOrder'] ? '+' : '-' ) . $order_def['fieldName']; }, // When just object is passed we need to convert it to an array of objects. wp_is_numeric_array( $orderby ) ? $orderby : array( $orderby ) ); $results = array_filter( $results ); $results = array_values( $results ); return $results; } /** * Gets an array of dates for the given named date range. * * @param string $date_range Named date range. * E.g. 'last-28-days'. * * @return array|WP_Error Array of [startDate, endDate] or WP_Error if invalid named range. */ private function date_range_to_dates( $date_range ) { switch ( $date_range ) { case 'today': return array( gmdate( 'Y-m-d', strtotime( 'today' ) ), gmdate( 'Y-m-d', strtotime( 'today' ) ), ); // Intentional fallthrough. case 'last-7-days': case 'last-14-days': case 'last-28-days': case 'last-90-days': return Date::parse_date_range( $date_range ); } return new WP_Error( 'invalid_date_range', __( 'Invalid date range.', 'google-site-kit' ) ); } /** * Creates a new AdSense earning request for the current account, site and given arguments. * * @since 1.0.0 * * @param array $args { * Optional. Additional arguments. * * @type array $dimensions List of request dimensions. Default empty array. * @type array $metrics List of request metrics. Default empty array. * @type string $start_date Start date in 'Y-m-d' format. Default empty string. * @type string $end_date End date in 'Y-m-d' format. Default empty string. * @type int $row_limit Limit of rows to return. Default none (will be skipped). * } * @return RequestInterface|WP_Error AdSense earning request instance. */ protected function create_adsense_earning_data_request( array $args = array() ) { $args = wp_parse_args( $args, array( 'dimensions' => array(), 'metrics' => array(), 'start_date' => '', 'end_date' => '', 'limit' => '', 'sort' => array(), ) ); $option = $this->get_settings()->get(); $account_id = $option['accountID']; if ( empty( $account_id ) ) { return new WP_Error( 'account_id_not_set', __( 'AdSense account ID not set.', 'google-site-kit' ) ); } list( $start_year, $start_month, $start_day ) = explode( '-', $args['start_date'] ); list( $end_year, $end_month, $end_day ) = explode( '-', $args['end_date'] ); $opt_params = array( // In the AdSense API v2, date parameters require the individual pieces to be specified as integers. // See https://developers.google.com/adsense/management/reference/rest/v2/accounts.reports/generate. 'dateRange' => 'CUSTOM', 'startDate.year' => (int) $start_year, 'startDate.month' => (int) $start_month, 'startDate.day' => (int) $start_day, 'endDate.year' => (int) $end_year, 'endDate.month' => (int) $end_month, 'endDate.day' => (int) $end_day, 'languageCode' => $this->context->get_locale( 'site', 'language-code' ), // Include default metrics only for backward-compatibility. 'metrics' => array( 'ESTIMATED_EARNINGS', 'PAGE_VIEWS_RPM', 'IMPRESSIONS' ), ); if ( ! empty( $args['dimensions'] ) ) { $opt_params['dimensions'] = (array) $args['dimensions']; } if ( ! empty( $args['metrics'] ) ) { $opt_params['metrics'] = (array) $args['metrics']; } if ( ! empty( $args['sort'] ) ) { $opt_params['orderBy'] = (array) $args['sort']; } if ( ! empty( $args['limit'] ) ) { $opt_params['limit'] = (int) $args['limit']; } // @see https://developers.google.com/adsense/management/reporting/filtering?hl=en#OR $site_hostname = URL::parse( $this->context->get_reference_site_url(), PHP_URL_HOST ); $opt_params['filters'] = join( ',', array_map( function ( $hostname ) { return 'DOMAIN_NAME==' . $hostname; }, URL::permute_site_hosts( $site_hostname ) ) ); return $this->get_service( 'adsense' ) ->accounts_reports ->generate( self::normalize_account_id( $account_id ), $opt_params ); } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ protected function setup_info() { $idenfifier_args = array( 'source' => 'site-kit', 'url' => $this->context->get_reference_site_url(), ); return array( 'slug' => self::MODULE_SLUG, 'name' => _x( 'AdSense', 'Service name', 'google-site-kit' ), 'description' => __( 'Earn money by placing ads on your website. It’s free and easy.', 'google-site-kit' ), 'order' => 2, 'homepage' => add_query_arg( $idenfifier_args, 'https://adsense.google.com/start' ), ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { return array( 'adsense' => new Google_Service_Adsense( $client ), ); } /** * Sets up the module's settings instance. * * @since 1.2.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Sets up the module's assets to register. * * @since 1.9.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); return array( new Script( 'googlesitekit-modules-adsense', array( 'src' => $base_url . 'js/googlesitekit-modules-adsense.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-components', ), ) ), ); } /** * Registers the AdSense tag. * * @since 1.24.0 * @since 1.119.0 Method made public. */ public function register_tag() { // TODO: 'amp_story' support can be phased out in the long term. if ( is_singular( array( 'amp_story' ) ) ) { return; } $module_settings = $this->get_settings(); $settings = $module_settings->get(); if ( $this->context->is_amp() ) { $tag = new AMP_Tag( $settings['clientID'], self::MODULE_SLUG ); $tag->set_story_ad_slot_id( $settings['webStoriesAdUnit'] ); } else { $tag = new Web_Tag( $settings['clientID'], self::MODULE_SLUG ); } if ( $tag->is_tag_blocked() ) { return; } $tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $tag->use_guard( new WP_Query_404_Guard() ); $tag->use_guard( new Tag_Guard( $module_settings ) ); $tag->use_guard( new Auto_Ad_Guard( $module_settings ) ); $tag->use_guard( new Tag_Environment_Type_Guard() ); if ( $tag->can_register() ) { $tag->register(); } if ( ! $this->context->is_amp() ) { $ad_blocking_recovery_web_tag = new Ad_Blocking_Recovery_Web_Tag( $this->ad_blocking_recovery_tag, $settings['useAdBlockingRecoveryErrorSnippet'] ); $ad_blocking_recovery_web_tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $ad_blocking_recovery_web_tag->use_guard( new WP_Query_404_Guard() ); $ad_blocking_recovery_web_tag->use_guard( new Ad_Blocking_Recovery_Tag_Guard( $module_settings ) ); $ad_blocking_recovery_web_tag->use_guard( new Tag_Environment_Type_Guard() ); if ( $ad_blocking_recovery_web_tag->can_register() ) { $ad_blocking_recovery_web_tag->register(); } } } /** * Returns the Module_Tag_Matchers instance. * * @since 1.119.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } /** * Parses account ID, adds it to the model object and returns updated model. * * @since 1.36.0 * * @param Google_Model $account Account model. * @param string $id_key Attribute name that contains account ID. * @return \stdClass Updated model with _id attribute. */ public static function filter_account_with_ids( $account, $id_key = 'name' ) { $obj = $account->toSimpleObject(); $matches = array(); if ( preg_match( '#accounts/([^/]+)#', $account[ $id_key ], $matches ) ) { $obj->_id = $matches[1]; } return $obj; } /** * Parses account and client IDs, adds it to the model object and returns updated model. * * @since 1.36.0 * * @param Google_Model $client Client model. * @param string $id_key Attribute name that contains client ID. * @return \stdClass Updated model with _id and _accountID attributes. */ public static function filter_client_with_ids( $client, $id_key = 'name' ) { $obj = $client->toSimpleObject(); $matches = array(); if ( preg_match( '#accounts/([^/]+)/adclients/([^/]+)#', $client[ $id_key ], $matches ) ) { $obj->_id = $matches[2]; $obj->_accountID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } return $obj; } /** * Parses account, client and ad unit IDs, adds it to the model object and returns updated model. * * @since 1.36.0 * * @param Google_Model $adunit Ad unit model. * @param string $id_key Attribute name that contains ad unit ID. * @return \stdClass Updated model with _id, _clientID and _accountID attributes. */ public static function filter_adunit_with_ids( $adunit, $id_key = 'name' ) { $obj = $adunit->toSimpleObject(); $matches = array(); if ( preg_match( '#accounts/([^/]+)/adclients/([^/]+)/adunits/([^/]+)#', $adunit[ $id_key ], $matches ) ) { $obj->_id = $matches[3]; $obj->_clientID = $matches[2]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase $obj->_accountID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } return $obj; } /** * Normalizes account ID and returns it. * * @since 1.36.0 * * @param string $account_id Account ID. * @return string Updated account ID with "accounts/" prefix. */ public static function normalize_account_id( $account_id ) { return 'accounts/' . $account_id; } /** * Normalizes ad client ID and returns it. * * @since 1.36.0 * * @param string $account_id Account ID. * @param string $client_id Ad client ID. * @return string Account ID and ad client ID in "accounts/{accountID}/adclients/{clientID}" format. */ public static function normalize_client_id( $account_id, $client_id ) { return 'accounts/' . $account_id . '/adclients/' . $client_id; } /** * Outputs the Adsense for Platforms meta tags. * * @since 1.43.0 */ private function render_platform_meta_tags() { printf( "\n<!-- %s -->\n", esc_html__( 'Google AdSense meta tags added by Site Kit', 'google-site-kit' ) ); echo '<meta name="google-adsense-platform-account" content="ca-host-pub-2644536267352236">'; echo "\n"; echo '<meta name="google-adsense-platform-domain" content="sitekit.withgoogle.com">'; printf( "\n<!-- %s -->\n", esc_html__( 'End Google AdSense meta tags added by Site Kit', 'google-site-kit' ) ); } /** * Checks if the current user has access to the current configured service entity. * * @since 1.70.0 * * @return boolean|WP_Error */ public function check_service_entity_access() { $data_request = array( 'start_date' => gmdate( 'Y-m-d' ), 'end_date' => gmdate( 'Y-m-d' ), 'limit' => 1, ); try { $request = $this->create_adsense_earning_data_request( $data_request ); if ( is_wp_error( $request ) ) { return $request; } } catch ( Exception $e ) { if ( $e->getCode() === 403 ) { return false; } return $this->exception_to_error( $e ); } return true; } /** * Validates the report metrics for a shared request. * * @since 1.83.0 * @since 1.98.0 Renamed the method, and moved the check for being a shared request to the caller. * * @param string[] $metrics The metrics to validate. * @throws Invalid_Report_Metrics_Exception Thrown if the metrics are invalid. */ protected function validate_shared_report_metrics( $metrics ) { $valid_metrics = apply_filters( 'googlesitekit_shareable_adsense_metrics', array( 'ESTIMATED_EARNINGS', 'IMPRESSIONS', 'PAGE_VIEWS_CTR', 'PAGE_VIEWS_RPM', ) ); $invalid_metrics = array_diff( $metrics, $valid_metrics ); if ( count( $invalid_metrics ) > 0 ) { $message = count( $invalid_metrics ) > 1 ? sprintf( /* translators: %s: is replaced with a comma separated list of the invalid metrics. */ __( 'Unsupported metrics requested: %s', 'google-site-kit' ), join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $invalid_metrics ) ) : sprintf( /* translators: %s: is replaced with the invalid metric. */ __( 'Unsupported metric requested: %s', 'google-site-kit' ), $invalid_metrics[0] ); throw new Invalid_Report_Metrics_Exception( $message ); } } /** * Validates the report dimensions for a shared request. * * @since 1.83.0 * @since 1.98.0 Renamed the method, and moved the check for being a shared request to the caller. * * @param string[] $dimensions The dimensions to validate. * @throws Invalid_Report_Dimensions_Exception Thrown if the dimensions are invalid. */ protected function validate_shared_report_dimensions( $dimensions ) { $valid_dimensions = apply_filters( 'googlesitekit_shareable_adsense_dimensions', array( 'DATE', ) ); $invalid_dimensions = array_diff( $dimensions, $valid_dimensions ); if ( count( $invalid_dimensions ) > 0 ) { $message = count( $invalid_dimensions ) > 1 ? sprintf( /* translators: %s: is replaced with a comma separated list of the invalid dimensions. */ __( 'Unsupported dimensions requested: %s', 'google-site-kit' ), join( /* translators: used between list items, there is a space after the comma. */ __( ', ', 'google-site-kit' ), $invalid_dimensions ) ) : sprintf( /* translators: %s: is replaced with the invalid dimension. */ __( 'Unsupported dimension requested: %s', 'google-site-kit' ), $invalid_dimensions[0] ); throw new Invalid_Report_Dimensions_Exception( $message ); } } /** * Gets the Ad Blocking Recovery setup status label. * * @since 1.107.0 * * @param string $setup_status The saved raw setting. * @return string The status label based on the raw setting. */ private function get_ad_blocking_recovery_setup_status_label( $setup_status ) { switch ( $setup_status ) { case Settings::AD_BLOCKING_RECOVERY_SETUP_STATUS_TAG_PLACED: return __( 'Snippet is placed', 'google-site-kit' ); case Settings::AD_BLOCKING_RECOVERY_SETUP_STATUS_SETUP_CONFIRMED: return __( 'Setup complete', 'google-site-kit' ); default: return __( 'Not set up', 'google-site-kit' ); } } /** * Resets the AdSense linked settings in the Analytics module. * * @since 1.120.0 */ protected function reset_analytics_adsense_linked_settings() { $analytics_settings = new Analytics_Settings( $this->options ); if ( ! $analytics_settings->has() ) { return; } $analytics_settings->merge( array( 'adSenseLinked' => false, 'adSenseLinkedLastSyncedAt' => 0, ) ); } /** * Resets the Ad Blocking Recovery notification. * * @since 1.121.0 */ public function reset_ad_blocking_recovery_notification() { $dismissed_prompts = ( new Dismissed_Prompts( $this->user_options ) ); $current_dismissals = $dismissed_prompts->get(); if ( isset( $current_dismissals['ad-blocking-recovery-notification'] ) && $current_dismissals['ad-blocking-recovery-notification']['count'] < 3 ) { $dismissed_prompts->remove( 'ad-blocking-recovery-notification' ); } } } includes/Modules/Ads.php 0000604 00000023000 14717744000 0011175 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Ads * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Assets\Asset; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Assets\Script_Data; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Modules\Ads\PAX_Config; use Google\Site_Kit\Modules\Ads\Settings; use Google\Site_Kit\Modules\Ads\Has_Tag_Guard; use Google\Site_Kit\Modules\Ads\Tag_Matchers; use Google\Site_Kit\Modules\Ads\Web_Tag; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; use Google\Site_Kit\Core\Util\Feature_Flags; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\Ads\AMP_Tag; /** * Class representing the Ads module. * * @since 1.121.0 * @access private * @ignore */ final class Ads extends Module implements Module_With_Assets, Module_With_Debug_Fields, Module_With_Scopes, Module_With_Settings, Module_With_Tag, Module_With_Deactivation { use Module_With_Assets_Trait; use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Module_With_Tag_Trait; use Method_Proxy_Trait; /** * Module slug name. */ const MODULE_SLUG = 'ads'; const SCOPE = 'https://www.googleapis.com/auth/adwords'; const SUPPORT_CONTENT_SCOPE = 'https://www.googleapis.com/auth/supportcontent'; /** * Registers functionality through WordPress hooks. * * @since 1.121.0 */ public function register() { $this->register_scopes_hook(); // Ads tag placement logic. add_action( 'template_redirect', array( $this, 'register_tag' ) ); add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_modules_data' ) ); } /** * Sets up the module's assets to register. * * @since 1.122.0 * @since 1.126.0 Added PAX assets. * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); $assets = array( new Script( 'googlesitekit-modules-ads', array( 'src' => $base_url . 'js/googlesitekit-modules-ads.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-components', ), ) ), ); if ( Feature_Flags::enabled( 'adsPax' ) ) { $input = $this->context->input(); $is_googlesitekit_dashboard = 'googlesitekit-dashboard' === $input->filter( INPUT_GET, 'page' ); $is_ads_slug = 'ads' === $input->filter( INPUT_GET, 'slug' ); $is_re_auth = $input->filter( INPUT_GET, 'reAuth' ); $assets[] = new Script_Data( 'googlesitekit-ads-pax-config', array( 'global' => '_googlesitekitPAXConfig', 'data_callback' => function () { if ( ! current_user_can( Permissions::VIEW_AUTHENTICATED_DASHBOARD ) ) { return array(); } $config = new PAX_Config( $this->context, $this->authentication->token() ); return $config->get(); }, ) ); // Integrator should be included if either Ads module is connected already, // or we are on the Ads module setup screen. if ( current_user_can( Permissions::VIEW_AUTHENTICATED_DASHBOARD ) && ( // Integrator should be included if either: // The Ads module is already connected. $this->is_connected() || // Or the user is on the Ads module setup screen. ( ( ( is_admin() && $is_googlesitekit_dashboard ) && $is_ads_slug ) && $is_re_auth ) ) ) { $assets[] = new Script( 'googlesitekit-ads-pax-integrator', array( // When updating, mirror the fixed version for google-pax-sdk in package.json. 'src' => 'https://www.gstatic.com/pax/1.0.12/pax_integrator.js', 'execution' => 'async', 'dependencies' => array( 'googlesitekit-ads-pax-config', 'googlesitekit-modules-data', ), 'version' => null, ) ); } } return $assets; } /** * Populates module data to pass to JS via _googlesitekitModulesData. * * @since 1.126.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ private function inline_modules_data( $modules_data ) { if ( $this->is_connected() && Feature_Flags::enabled( 'adsPax' ) ) { // Add the data under the `ads` key to make it clear it's scoped to this module. $modules_data['ads'] = array( 'supportedConversionEvents' => array(), ); } return $modules_data; } /** * Gets required Google OAuth scopes for the module. * * @since 1.126.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { if ( Feature_Flags::enabled( 'adsPax' ) ) { $granted_scopes = $this->authentication->get_oauth_client()->get_granted_scopes(); $options = $this->get_settings()->get(); if ( in_array( self::SCOPE, $granted_scopes, true ) || ! empty( $options['extCustomerID'] ) ) { return array( self::SCOPE, self::SUPPORT_CONTENT_SCOPE ); } } return array(); } /** * Sets up information about the module. * * @since 1.121.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => 'ads', 'name' => _x( 'Ads', 'Service name', 'google-site-kit' ), 'description' => Feature_Flags::enabled( 'adsPax' ) ? __( 'Grow sales, leads or awareness for your business by advertising with Google Ads', 'google-site-kit' ) : __( 'Track conversions for your existing Google Ads campaigns', 'google-site-kit' ), 'order' => 1, 'homepage' => __( 'https://google.com/ads', 'google-site-kit' ), ); } /** * Sets up the module's settings instance. * * @since 1.122.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.122.0 * @since 1.127.0 Add additional check to account for paxConversionID and extCustomerID as well when feature flag is enabled. * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $options = $this->get_settings()->get(); if ( Feature_Flags::enabled( 'adsPax' ) ) { if ( empty( $options['conversionID'] ) && empty( $options['paxConversionID'] ) && empty( $options['extCustomerID'] ) ) { return false; } return parent::is_connected(); } if ( empty( $options['conversionID'] ) ) { return false; } return parent::is_connected(); } /** * Cleans up when the module is deactivated. * * @since 1.122.0 */ public function on_deactivation() { $this->get_settings()->delete(); } /** * Registers the Ads tag. * * @since 1.124.0 */ public function register_tag() { $ads_conversion_id = $this->get_settings()->get()['conversionID']; $pax_conversion_id = $this->get_settings()->get()['paxConversionID']; // The PAX-supplied Conversion ID should take precedence over the // user-supplied one, if both exist. if ( Feature_Flags::enabled( 'adsPax' ) && ! empty( $pax_conversion_id ) ) { $ads_conversion_id = $pax_conversion_id; } $tag = $this->context->is_amp() ? new AMP_Tag( $ads_conversion_id, self::MODULE_SLUG ) : new Web_Tag( $ads_conversion_id, self::MODULE_SLUG ); if ( $tag->is_tag_blocked() ) { return; } $tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $tag->use_guard( new Has_Tag_Guard( $ads_conversion_id ) ); $tag->use_guard( new Tag_Environment_Type_Guard() ); if ( ! $tag->can_register() ) { return; } $home_domain = URL::parse( $this->context->get_canonical_home_url(), PHP_URL_HOST ); $tag->set_home_domain( $home_domain ); $tag->register(); } /** * Gets an array of debug field definitions. * * @since 1.124.0 * * @return array An array of all debug fields. */ public function get_debug_fields() { $settings = $this->get_settings()->get(); return array( 'ads_conversion_tracking_id' => array( 'label' => __( 'Ads Conversion Tracking ID', 'google-site-kit' ), 'value' => $settings['conversionID'], 'debug' => Debug_Data::redact_debug_value( $settings['conversionID'] ), ), ); } /** * Returns the Module_Tag_Matchers instance. * * @since 1.124.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } } includes/Modules/Analytics_4.php 0000604 00000260542 14717744000 0012656 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Analytics_4 * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Asset; use Google\Site_Kit\Core\Assets\Assets; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Dismissals\Dismissed_Items; use Google\Site_Kit\Core\Modules\Analytics_4\Tag_Matchers; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Module_With_Activation; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Data_Available_State; use Google\Site_Kit\Core\Modules\Module_With_Data_Available_State_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Modules\Module_With_Service_Entity; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Param_Exception; use Google\Site_Kit\Core\REST_API\Exception\Missing_Required_Param_Exception; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Core\Storage\Options; use Google\Site_Kit\Core\Storage\User_Options; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; use Google\Site_Kit\Core\Util\BC_Functions; use Google\Site_Kit\Core\Util\Feature_Flags; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\Sort; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\AdSense\Settings as AdSense_Settings; use Google\Site_Kit\Modules\Analytics_4\Account_Ticket; use Google\Site_Kit\Modules\Analytics_4\Advanced_Tracking; use Google\Site_Kit\Modules\Analytics_4\AMP_Tag; use Google\Site_Kit\Modules\Analytics_4\Custom_Dimensions_Data_Available; use Google\Site_Kit\Modules\Analytics_4\Synchronize_Property; use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\AccountProvisioningService; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\EnhancedMeasurementSettingsModel; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesAdSenseLinksService; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesAudiencesService; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesEnhancedMeasurementService; use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest; use Google\Site_Kit\Modules\Analytics_4\Report\Request as Analytics_4_Report_Request; use Google\Site_Kit\Modules\Analytics_4\Report\Response as Analytics_4_Report_Response; use Google\Site_Kit\Modules\Analytics_4\Report\PivotRequest as Analytics_4_PivotReport_Request; use Google\Site_Kit\Modules\Analytics_4\Resource_Data_Availability_Date; use Google\Site_Kit\Modules\Analytics_4\Settings; use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdsLinked; use Google\Site_Kit\Modules\Analytics_4\Tag_Guard; use Google\Site_Kit\Modules\Analytics_4\Tag_Interface; use Google\Site_Kit\Modules\Analytics_4\Web_Tag; use Google\Site_Kit_Dependencies\Google\Model as Google_Model; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData as Google_Service_AnalyticsData; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin as Google_Service_GoogleAnalyticsAdmin; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1alphaAudience; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaAccount; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaCustomDimension; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaDataStream; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaDataStreamWebStreamData; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaListDataStreamsResponse; use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaProperty as Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProperty; use Google\Site_Kit_Dependencies\Google\Service\TagManager as Google_Service_TagManager; use Google\Site_Kit_Dependencies\Google_Service_TagManager_Container; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Google\Site_Kit\Core\REST_API\REST_Routes; use Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Cron; use Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Events_Sync; use Google\Site_Kit\Modules\Analytics_4\Conversion_Reporting\Conversion_Reporting_Provider; use Google\Site_Kit\Modules\Analytics_4\Reset_Audiences; use stdClass; use WP_Error; /** * Class representing the Analytics 4 module. * * @since 1.30.0 * @access private * @ignore */ final class Analytics_4 extends Module implements Module_With_Scopes, Module_With_Settings, Module_With_Debug_Fields, Module_With_Owner, Module_With_Assets, Module_With_Service_Entity, Module_With_Activation, Module_With_Deactivation, Module_With_Data_Available_State, Module_With_Tag { use Method_Proxy_Trait; use Module_With_Assets_Trait; use Module_With_Owner_Trait; use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Module_With_Data_Available_State_Trait; use Module_With_Tag_Trait; const PROVISION_ACCOUNT_TICKET_ID = 'googlesitekit_analytics_provision_account_ticket_id'; const READONLY_SCOPE = 'https://www.googleapis.com/auth/analytics.readonly'; const PROVISION_SCOPE = 'https://www.googleapis.com/auth/analytics.provision'; const EDIT_SCOPE = 'https://www.googleapis.com/auth/analytics.edit'; /** * Module slug name. */ const MODULE_SLUG = 'analytics-4'; /** * Prefix used to fetch custom dimensions in reports. */ const CUSTOM_EVENT_PREFIX = 'customEvent:'; /** * Custom dimensions tracked by Site Kit. */ const CUSTOM_DIMENSION_POST_AUTHOR = 'googlesitekit_post_author'; const CUSTOM_DIMENSION_POST_CATEGORIES = 'googlesitekit_post_categories'; /** * Weights for audience types when sorting audiences in the selection panel * and within the dashboard widget. */ const AUDIENCE_TYPE_SORT_ORDER = array( 'USER_AUDIENCE' => 0, 'SITE_KIT_AUDIENCE' => 1, 'DEFAULT_AUDIENCE' => 2, ); /** * Custom_Dimensions_Data_Available instance. * * @since 1.113.0 * @var Custom_Dimensions_Data_Available */ protected $custom_dimensions_data_available; /** * Reset_Audiences instance. * * @since 1.137.0 * @var Reset_Audiences */ protected $reset_audiences; /** * Resource_Data_Availability_Date instance. * * @since 1.127.0 * @var Resource_Data_Availability_Date */ protected $resource_data_availability_date; /** * Constructor. * * @since 1.113.0 * * @param Context $context Plugin context. * @param Options $options Optional. Option API instance. Default is a new instance. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. * @param Assets $assets Optional. Assets API instance. Default is a new instance. */ public function __construct( Context $context, Options $options = null, User_Options $user_options = null, Authentication $authentication = null, Assets $assets = null ) { parent::__construct( $context, $options, $user_options, $authentication, $assets ); $this->custom_dimensions_data_available = new Custom_Dimensions_Data_Available( $this->transients ); $this->reset_audiences = new Reset_Audiences( $this->user_options ); $this->resource_data_availability_date = new Resource_Data_Availability_Date( $this->transients, $this->get_settings() ); } /** * Registers functionality through WordPress hooks. * * @since 1.30.0 * @since 1.101.0 Added a filter hook to add the required `https://www.googleapis.com/auth/tagmanager.readonly` scope for GTE support. */ public function register() { $this->register_scopes_hook(); $synchronize_property = new Synchronize_Property( $this, $this->user_options ); $synchronize_property->register(); $synchronize_adsense_linked = new Synchronize_AdSenseLinked( $this, $this->user_options, $this->options ); $synchronize_adsense_linked->register(); $synchronize_ads_linked = new Synchronize_AdsLinked( $this, $this->user_options ); $synchronize_ads_linked->register(); if ( Feature_Flags::enabled( 'conversionReporting' ) ) { $conversion_reporting_provider = new Conversion_Reporting_Provider( $this->context, $this->settings, $this->user_options, $this ); $conversion_reporting_provider->register(); } ( new Advanced_Tracking( $this->context ) )->register(); add_action( 'admin_init', array( $synchronize_property, 'maybe_schedule_synchronize_property' ) ); add_action( 'admin_init', array( $synchronize_adsense_linked, 'maybe_schedule_synchronize_adsense_linked' ) ); add_action( 'load-toplevel_page_googlesitekit-dashboard', array( $synchronize_ads_linked, 'maybe_schedule_synchronize_ads_linked' ) ); add_action( 'admin_init', $this->get_method_proxy( 'handle_provisioning_callback' ) ); // For non-AMP and AMP. add_action( 'wp_head', $this->get_method_proxy( 'print_tracking_opt_out' ), 0 ); // For Web Stories plugin. add_action( 'web_stories_story_head', $this->get_method_proxy( 'print_tracking_opt_out' ), 0 ); // Analytics 4 tag placement logic. add_action( 'template_redirect', array( $this, 'register_tag' ) ); $this->get_settings()->on_change( function ( $old_value, $new_value ) { // Ensure that the data available state is reset when the property ID or measurement ID changes. if ( $old_value['propertyID'] !== $new_value['propertyID'] || $old_value['measurementID'] !== $new_value['measurementID'] ) { $this->reset_data_available(); $this->custom_dimensions_data_available->reset_data_available(); $available_audiences = $old_value['availableAudiences'] ?? array(); $available_audience_names = array_map( function ( $audience ) { return $audience['name']; }, $available_audiences ); $this->resource_data_availability_date->reset_all_resource_dates( $available_audience_names, $old_value['propertyID'] ); } // Ensure that the resource data availability dates for `availableAudiences` that no longer exist are reset. $old_available_audiences = $old_value['availableAudiences']; if ( $old_available_audiences ) { $old_available_audience_names = array_map( function ( $audience ) { return $audience['name']; }, $old_available_audiences ); $new_available_audiences = $new_value['availableAudiences'] ?? array(); $new_available_audience_names = array_map( function ( $audience ) { return $audience['name']; }, $new_available_audiences ); $unavailable_audience_names = array_diff( $old_available_audience_names, $new_available_audience_names ); foreach ( $unavailable_audience_names as $unavailable_audience_name ) { $this->resource_data_availability_date->reset_resource_date( $unavailable_audience_name, Resource_Data_Availability_Date::RESOURCE_TYPE_AUDIENCE ); } } // Reset property specific settings when propertyID changes. if ( $old_value['propertyID'] !== $new_value['propertyID'] ) { $this->get_settings()->merge( array( 'adSenseLinked' => false, 'adSenseLinkedLastSyncedAt' => 0, 'adsLinked' => false, 'adsLinkedLastSyncedAt' => 0, 'detectedEvents' => array(), 'availableAudiencesLastSyncedAt' => 0, ) ); if ( ! empty( $new_value['propertyID'] ) ) { do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED ); if ( Feature_Flags::enabled( 'conversionReporting' ) ) { do_action( Conversion_Reporting_Cron::CRON_ACTION ); } } // Reset audience specific settings. $this->reset_audiences->reset_audience_data(); } } ); // Check if the property ID has changed and reset applicable settings to null. // // This is not done using the `get_settings()->merge` method because // `Module_Settings::merge` doesn't support setting a value to `null`. add_filter( 'pre_update_option_googlesitekit_analytics-4_settings', function ( $new_value, $old_value ) { if ( $new_value['propertyID'] !== $old_value['propertyID'] ) { $new_value['availableCustomDimensions'] = null; $new_value['availableAudiences'] = null; $new_value['audienceSegmentationSetupCompletedBy'] = null; } return $new_value; }, 10, 2 ); add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_custom_dimensions_data' ), 10 ); add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_tag_id_mismatch' ), 15 ); if ( Feature_Flags::enabled( 'audienceSegmentation' ) ) { add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_resource_availability_dates_data' ) ); } if ( Feature_Flags::enabled( 'conversionReporting' ) ) { add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_conversion_reporting_events_detection' ), 15 ); } add_filter( 'googlesitekit_auth_scopes', function ( array $scopes ) { $oauth_client = $this->authentication->get_oauth_client(); $needs_tagmanager_scope = false; if ( $oauth_client->has_sufficient_scopes( array( self::READONLY_SCOPE, 'https://www.googleapis.com/auth/tagmanager.readonly', ) ) ) { $needs_tagmanager_scope = true; // Ensure the Tag Manager scope is not added as a required scope in the case where the user has // granted the Analytics scope but not the Tag Manager scope, in order to allow the GTE-specific // Unsatisfied Scopes notification to be displayed without the Additional Permissions Required // modal also appearing. } elseif ( ! $oauth_client->has_sufficient_scopes( array( self::READONLY_SCOPE, ) ) ) { $needs_tagmanager_scope = true; } if ( $needs_tagmanager_scope ) { $scopes[] = 'https://www.googleapis.com/auth/tagmanager.readonly'; } return $scopes; } ); add_filter( 'googlesitekit_allow_tracking_disabled', $this->get_method_proxy( 'filter_analytics_allow_tracking_disabled' ) ); // This hook adds the "Set up Google Analytics" step to the Site Kit // setup flow. // // This filter is documented in // Core\Authentication\Google_Proxy::get_metadata_fields. add_filter( 'googlesitekit_proxy_setup_mode', function ( $original_mode ) { return ! $this->is_connected() ? 'analytics-step' : $original_mode; } ); // Preload the path to avoid layout shift for audience setup CTA banner. add_filter( 'googlesitekit_apifetch_preload_paths', function ( $routes ) { return array_merge( $routes, array( '/' . REST_Routes::REST_ROOT . '/modules/analytics-4/data/audience-settings', ) ); } ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.30.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( self::READONLY_SCOPE ); } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.30.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $required_keys = array( 'accountID', 'propertyID', 'webDataStreamID', 'measurementID', ); $options = $this->get_settings()->get(); foreach ( $required_keys as $required_key ) { if ( empty( $options[ $required_key ] ) ) { return false; } } return parent::is_connected(); } /** * Cleans up when the module is activated. * * @since 1.107.0 */ public function on_activation() { $dismissed_items = new Dismissed_Items( $this->user_options ); $dismissed_items->remove( 'key-metrics-connect-ga4-cta-widget' ); } /** * Cleans up when the module is deactivated. * * @since 1.30.0 */ public function on_deactivation() { // We need to reset the resource data availability dates before deleting the settings. // This is because the property ID and the audience resource names are pulled from settings. $this->resource_data_availability_date->reset_all_resource_dates(); $this->get_settings()->delete(); $this->reset_data_available(); $this->custom_dimensions_data_available->reset_data_available(); $this->reset_audiences->reset_audience_data(); } /** * Checks whether the AdSense module is connected. * * @since 1.121.0 * * @return bool True if AdSense is connected, false otherwise. */ private function is_adsense_connected() { $adsense_settings = ( new AdSense_Settings( $this->options ) )->get(); if ( empty( $adsense_settings['accountSetupComplete'] ) || empty( $adsense_settings['siteSetupComplete'] ) ) { return false; } return true; } /** * Gets an array of debug field definitions. * * @since 1.30.0 * * @return array */ public function get_debug_fields() { $settings = $this->get_settings()->get(); $debug_fields = array( 'analytics_4_account_id' => array( 'label' => __( 'Analytics account ID', 'google-site-kit' ), 'value' => $settings['accountID'], 'debug' => Debug_Data::redact_debug_value( $settings['accountID'] ), ), 'analytics_4_property_id' => array( 'label' => __( 'Analytics property ID', 'google-site-kit' ), 'value' => $settings['propertyID'], 'debug' => Debug_Data::redact_debug_value( $settings['propertyID'], 7 ), ), 'analytics_4_web_data_stream_id' => array( 'label' => __( 'Analytics web data stream ID', 'google-site-kit' ), 'value' => $settings['webDataStreamID'], 'debug' => Debug_Data::redact_debug_value( $settings['webDataStreamID'] ), ), 'analytics_4_measurement_id' => array( 'label' => __( 'Analytics measurement ID', 'google-site-kit' ), 'value' => $settings['measurementID'], 'debug' => Debug_Data::redact_debug_value( $settings['measurementID'] ), ), 'analytics_4_use_snippet' => array( 'label' => __( 'Analytics snippet placed', 'google-site-kit' ), 'value' => $settings['useSnippet'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['useSnippet'] ? 'yes' : 'no', ), 'analytics_4_ads_conversion_id' => array( 'label' => __( 'Analytics Ads conversion ID', 'google-site-kit' ), 'value' => $settings['adsConversionID'], 'debug' => Debug_Data::redact_debug_value( $settings['adsConversionID'] ), ), 'analytics_4_available_custom_dimensions' => array( 'label' => __( 'Analytics available custom dimensions', 'google-site-kit' ), 'value' => empty( $settings['availableCustomDimensions'] ) ? __( 'None', 'google-site-kit' ) : join( /* translators: used between list items, there is a space after the comma */ __( ', ', 'google-site-kit' ), $settings['availableCustomDimensions'] ), 'debug' => empty( $settings['availableCustomDimensions'] ) ? 'none' : join( ', ', $settings['availableCustomDimensions'] ), ), 'analytics_4_ads_linked' => array( 'label' => __( 'Analytics Ads Linked', 'google-site-kit' ), 'value' => $settings['adsLinked'] ? __( 'Connected', 'google-site-kit' ) : __( 'Not connected', 'google-site-kit' ), 'debug' => $settings['adsLinked'], ), 'analytics_4_ads_linked_last_synced_at' => array( 'label' => __( 'Analytics Ads Linked Last Synced At', 'google-site-kit' ), 'value' => $settings['adsLinkedLastSyncedAt'] ? gmdate( 'Y-m-d H:i:s', $settings['adsLinkedLastSyncedAt'] ) : __( 'Never synced', 'google-site-kit' ), 'debug' => $settings['adsLinkedLastSyncedAt'], ), ); if ( $this->is_adsense_connected() ) { $debug_fields['analytics_4_adsense_linked'] = array( 'label' => __( 'Analytics AdSense Linked', 'google-site-kit' ), 'value' => $settings['adSenseLinked'] ? __( 'Connected', 'google-site-kit' ) : __( 'Not connected', 'google-site-kit' ), 'debug' => Debug_Data::redact_debug_value( $settings['adSenseLinked'] ), ); $debug_fields['analytics_4_adsense_linked_last_synced_at'] = array( 'label' => __( 'Analytics AdSense Linked Last Synced At', 'google-site-kit' ), 'value' => $settings['adSenseLinkedLastSyncedAt'] ? gmdate( 'Y-m-d H:i:s', $settings['adSenseLinkedLastSyncedAt'] ) : __( 'Never synced', 'google-site-kit' ), 'debug' => Debug_Data::redact_debug_value( $settings['adSenseLinkedLastSyncedAt'] ), ); } // Check if the audienceSegmentation feature is enabled. if ( Feature_Flags::enabled( 'audienceSegmentation' ) ) { // Return the SITE_KIT_AUDIENCE audiences. $site_kit_audiences = $this->get_site_kit_audiences( $settings['availableAudiences'] ?? array() ); $debug_fields['analytics_4_site_kit_audiences'] = array( 'label' => __( 'Analytics site created audiences', 'google-site-kit' ), 'value' => empty( $site_kit_audiences ) ? __( 'None', 'google-site-kit' ) : join( /* translators: used between list items, there is a space after the comma */ __( ', ', 'google-site-kit' ), $site_kit_audiences ), 'debug' => empty( $site_kit_audiences ) ? 'none' : join( ', ', $site_kit_audiences ), ); } return $debug_fields; } /** * Gets map of datapoint to definition data for each. * * @since 1.30.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { $datapoints = array( 'GET:account-summaries' => array( 'service' => 'analyticsadmin' ), 'GET:accounts' => array( 'service' => 'analyticsadmin' ), 'GET:ads-links' => array( 'service' => 'analyticsadmin' ), 'GET:adsense-links' => array( 'service' => 'analyticsadsenselinks' ), 'GET:container-lookup' => array( 'service' => 'tagmanager', 'scopes' => array( 'https://www.googleapis.com/auth/tagmanager.readonly', ), ), 'GET:container-destinations' => array( 'service' => 'tagmanager', 'scopes' => array( 'https://www.googleapis.com/auth/tagmanager.readonly', ), ), 'GET:conversion-events' => array( 'service' => 'analyticsadmin', 'shareable' => true, ), 'POST:create-account-ticket' => array( 'service' => 'analyticsprovisioning', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics account on your behalf.', 'google-site-kit' ), ), 'GET:google-tag-settings' => array( 'service' => 'tagmanager', 'scopes' => array( 'https://www.googleapis.com/auth/tagmanager.readonly', ), ), 'POST:create-property' => array( 'service' => 'analyticsadmin', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics property on your behalf.', 'google-site-kit' ), ), 'POST:create-webdatastream' => array( 'service' => 'analyticsadmin', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics web data stream for this site on your behalf.', 'google-site-kit' ), ), 'GET:properties' => array( 'service' => 'analyticsadmin' ), 'GET:property' => array( 'service' => 'analyticsadmin' ), 'GET:report' => array( 'service' => 'analyticsdata', 'shareable' => true, ), 'GET:pivot-report' => array( 'service' => 'analyticsdata', 'shareable' => true, ), 'GET:webdatastreams' => array( 'service' => 'analyticsadmin' ), 'GET:webdatastreams-batch' => array( 'service' => 'analyticsadmin' ), 'GET:enhanced-measurement-settings' => array( 'service' => 'analyticsenhancedmeasurement' ), 'POST:enhanced-measurement-settings' => array( 'service' => 'analyticsenhancedmeasurement', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to update enhanced measurement settings for this Analytics web data stream on your behalf.', 'google-site-kit' ), ), 'POST:create-custom-dimension' => array( 'service' => 'analyticsdata', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics custom dimension on your behalf.', 'google-site-kit' ), ), 'POST:sync-custom-dimensions' => array( 'service' => 'analyticsadmin', ), 'POST:custom-dimension-data-available' => array( 'service' => '', ), 'POST:set-google-tag-id-mismatch' => array( 'service' => '', ), ); if ( Feature_Flags::enabled( 'audienceSegmentation' ) ) { $datapoints['POST:create-audience'] = array( 'service' => 'analyticsaudiences', 'scopes' => array( self::EDIT_SCOPE ), 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create new audiences for your Analytics property on your behalf.', 'google-site-kit' ), ); $datapoints['POST:save-resource-data-availability-date'] = array( 'service' => '', ); $datapoints['POST:sync-audiences'] = array( 'service' => 'analyticsaudiences', 'shareable' => true, ); } if ( Feature_Flags::enabled( 'conversionReporting' ) ) { $datapoints['POST:clear-conversion-reporting-new-events'] = array( 'service' => '', ); $datapoints['POST:clear-conversion-reporting-lost-events'] = array( 'service' => '', ); } return $datapoints; } /** * Creates a new property for provided account. * * @since 1.35.0 * @since 1.98.0 Added `$options` parameter. * * @param string $account_id Account ID. * @param array $options { * Property options. * * @type string $displayName Display name. * @type string $timezone Timezone. * } * @return Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProperty A new property. */ private function create_property( $account_id, $options = array() ) { if ( ! empty( $options['displayName'] ) ) { $display_name = sanitize_text_field( $options['displayName'] ); } else { $display_name = URL::parse( $this->context->get_reference_site_url(), PHP_URL_HOST ); } if ( ! empty( $options['timezone'] ) ) { $timezone = $options['timezone']; } else { $timezone = get_option( 'timezone_string' ) ?: 'UTC'; } $property = new Google_Service_GoogleAnalyticsAdmin_GoogleAnalyticsAdminV1betaProperty(); $property->setParent( self::normalize_account_id( $account_id ) ); $property->setDisplayName( $display_name ); $property->setTimeZone( $timezone ); return $this->get_service( 'analyticsadmin' )->properties->create( $property ); } /** * Creates a new web data stream for provided property. * * @since 1.35.0 * @since 1.98.0 Added `$options` parameter. * * @param string $property_id Property ID. * @param array $options { * Web data stream options. * * @type string $displayName Display name. * } * @return GoogleAnalyticsAdminV1betaDataStream A new web data stream. */ private function create_webdatastream( $property_id, $options = array() ) { $site_url = $this->context->get_reference_site_url(); if ( ! empty( $options['displayName'] ) ) { $display_name = sanitize_text_field( $options['displayName'] ); } else { $display_name = URL::parse( $site_url, PHP_URL_HOST ); } $data = new GoogleAnalyticsAdminV1betaDataStreamWebStreamData(); $data->setDefaultUri( $site_url ); $datastream = new GoogleAnalyticsAdminV1betaDataStream(); $datastream->setDisplayName( $display_name ); $datastream->setType( 'WEB_DATA_STREAM' ); $datastream->setWebStreamData( $data ); /* @var Google_Service_GoogleAnalyticsAdmin $analyticsadmin phpcs:ignore Squiz.PHP.CommentedOutCode.Found */ $analyticsadmin = $this->get_service( 'analyticsadmin' ); return $analyticsadmin ->properties_dataStreams // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->create( self::normalize_property_id( $property_id ), $datastream ); } /** * Outputs the user tracking opt-out script. * * This script opts out of all Google Analytics tracking, for all measurement IDs, regardless of implementation. * E.g. via Tag Manager, etc. * * @since 1.5.0 * @since 1.121.0 Migrated from the Analytics (UA) class and adapted to only work for GA4 properties. * @link https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out */ private function print_tracking_opt_out() { $settings = $this->get_settings()->get(); $account_id = $settings['accountID']; $property_id = $settings['propertyID']; if ( ! $this->is_tracking_disabled() ) { return; } if ( $this->context->is_amp() ) : ?> <!-- <?php esc_html_e( 'Google Analytics AMP opt-out snippet added by Site Kit', 'google-site-kit' ); ?> --> <meta name="ga-opt-out" content="" id="__gaOptOutExtension"> <!-- <?php esc_html_e( 'End Google Analytics AMP opt-out snippet added by Site Kit', 'google-site-kit' ); ?> --> <?php else : ?> <!-- <?php esc_html_e( 'Google Analytics opt-out snippet added by Site Kit', 'google-site-kit' ); ?> --> <?php // Opt-out should always use the measurement ID, even when using a GT tag. $tag_id = $this->get_measurement_id(); if ( ! empty( $tag_id ) ) { BC_Functions::wp_print_inline_script_tag( sprintf( 'window["ga-disable-%s"] = true;', esc_attr( $tag_id ) ) ); } ?> <?php do_action( 'googlesitekit_analytics_tracking_opt_out', $property_id, $account_id ); ?> <!-- <?php esc_html_e( 'End Google Analytics opt-out snippet added by Site Kit', 'google-site-kit' ); ?> --> <?php endif; } /** * Checks whether or not tracking snippet should be contextually disabled for this request. * * @since 1.1.0 * @since 1.121.0 Migrated here from the Analytics (UA) class. * * @return bool */ protected function is_tracking_disabled() { $settings = $this->get_settings()->get(); // This filter is documented in Tag_Manager::filter_analytics_allow_tracking_disabled. if ( ! apply_filters( 'googlesitekit_allow_tracking_disabled', $settings['useSnippet'] ) ) { return false; } $disable_logged_in_users = in_array( 'loggedinUsers', $settings['trackingDisabled'], true ) && is_user_logged_in(); $disable_content_creators = in_array( 'contentCreators', $settings['trackingDisabled'], true ) && current_user_can( 'edit_posts' ); $disabled = $disable_logged_in_users || $disable_content_creators; /** * Filters whether or not the Analytics tracking snippet is output for the current request. * * @since 1.1.0 * * @param $disabled bool Whether to disable tracking or not. */ return (bool) apply_filters( 'googlesitekit_analytics_tracking_disabled', $disabled ); } /** * Handles the provisioning callback after the user completes the terms of service. * * @since 1.9.0 * @since 1.98.0 Extended to handle callback from Admin API (no UA entities). * @since 1.121.0 Migrated method from original Analytics class to Analytics_4 class. */ protected function handle_provisioning_callback() { if ( defined( 'WP_CLI' ) && WP_CLI ) { return; } if ( ! current_user_can( Permissions::MANAGE_OPTIONS ) ) { return; } $input = $this->context->input(); if ( ! $input->filter( INPUT_GET, 'gatoscallback' ) ) { return; } // First check that the accountTicketId matches one stored for the user. // This is always provided, even in the event of an error. $account_ticket_id = htmlspecialchars( $input->filter( INPUT_GET, 'accountTicketId' ) ); // The create-account-ticket request stores the created account ticket in a transient before // sending the user off to the terms of service page. $account_ticket_transient_key = self::PROVISION_ACCOUNT_TICKET_ID . '::' . get_current_user_id(); $account_ticket_params = $this->transients->get( $account_ticket_transient_key ); $account_ticket = new Account_Ticket( $account_ticket_params ); // Backwards compat for previous storage type which stored ID only. if ( is_scalar( $account_ticket_params ) ) { $account_ticket->set_id( $account_ticket_params ); } if ( $account_ticket->get_id() !== $account_ticket_id ) { wp_safe_redirect( $this->context->admin_url( 'dashboard', array( 'error_code' => 'account_ticket_id_mismatch' ) ) ); exit; } // At this point, the accountTicketId is a match and params are loaded, so we can safely delete the transient. $this->transients->delete( $account_ticket_transient_key ); // Next, check for a returned error. $error = $input->filter( INPUT_GET, 'error' ); if ( ! empty( $error ) ) { wp_safe_redirect( $this->context->admin_url( 'dashboard', array( 'error_code' => htmlspecialchars( $error ) ) ) ); exit; } $account_id = htmlspecialchars( $input->filter( INPUT_GET, 'accountId' ) ); if ( empty( $account_id ) ) { wp_safe_redirect( $this->context->admin_url( 'dashboard', array( 'error_code' => 'callback_missing_parameter' ) ) ); exit; } $new_settings = array(); // At this point, account creation was successful. $new_settings['accountID'] = $account_id; $this->get_settings()->merge( $new_settings ); $this->provision_property_webdatastream( $account_id, $account_ticket ); wp_safe_redirect( $this->context->admin_url( 'dashboard', array( 'notification' => 'authentication_success', 'slug' => 'analytics-4', ) ) ); exit; } /** * Provisions new GA4 property and web data stream for provided account. * * @since 1.35.0 * @since 1.98.0 Added $account_ticket. * * @param string $account_id Account ID. * @param Account_Ticket $account_ticket Account ticket instance. */ private function provision_property_webdatastream( $account_id, $account_ticket ) { // Reset the current GA4 settings. $this->get_settings()->merge( array( 'propertyID' => '', 'webDataStreamID' => '', 'measurementID' => '', ) ); $property = $this->create_property( $account_id, array( 'displayName' => $account_ticket->get_property_name(), 'timezone' => $account_ticket->get_timezone(), ) ); $property = self::filter_property_with_ids( $property ); if ( empty( $property->_id ) ) { return; } $create_time = isset( $property->createTime ) ? $property->createTime : ''; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase $create_time_ms = 0; if ( $create_time ) { $create_time_ms = Synchronize_Property::convert_time_to_unix_ms( $create_time ); } $this->get_settings()->merge( array( 'propertyID' => $property->_id, 'propertyCreateTime' => $create_time_ms, ) ); $web_datastream = $this->create_webdatastream( $property->_id, array( 'displayName' => $account_ticket->get_data_stream_name(), ) ); $web_datastream = self::filter_webdatastream_with_ids( $web_datastream ); if ( empty( $web_datastream->_id ) ) { return; } $measurement_id = $web_datastream->webStreamData->measurementId; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase $this->get_settings()->merge( array( 'webDataStreamID' => $web_datastream->_id, 'measurementID' => $measurement_id, ) ); if ( $account_ticket->get_enhanced_measurement_stream_enabled() ) { $this->set_data( 'enhanced-measurement-settings', array( 'propertyID' => $property->_id, 'webDataStreamID' => $web_datastream->_id, 'enhancedMeasurementSettings' => array( // We can hardcode this to `true` here due to the conditional invocation. 'streamEnabled' => true, ), ) ); } $this->sync_google_tag_settings(); } /** * Syncs Google tag settings for the currently configured measurementID. * * @since 1.102.0 */ protected function sync_google_tag_settings() { $settings = $this->get_settings(); $measurement_id = $settings->get()['measurementID']; if ( ! $measurement_id ) { return; } $google_tag_settings = $this->get_data( 'google-tag-settings', array( 'measurementID' => $measurement_id ) ); if ( is_wp_error( $google_tag_settings ) ) { return; } $settings->merge( $google_tag_settings ); } /** * Creates a request object for the given datapoint. * * @since 1.30.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. * @throws Invalid_Param_Exception Thrown if a parameter is invalid. * @throws Missing_Required_Param_Exception Thrown if a required parameter is missing or empty. * * phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:accounts': return $this->get_service( 'analyticsadmin' )->accounts->listAccounts(); case 'GET:account-summaries': return $this->get_service( 'analyticsadmin' )->accountSummaries->listAccountSummaries( array( 'pageSize' => 200, 'pageToken' => $data['pageToken'], ) ); case 'GET:ads-links': if ( empty( $data['propertyID'] ) ) { throw new Missing_Required_Param_Exception( 'propertyID' ); } $parent = self::normalize_property_id( $data['propertyID'] ); return $this->get_service( 'analyticsadmin' )->properties_googleAdsLinks->listPropertiesGoogleAdsLinks( $parent ); case 'GET:adsense-links': if ( empty( $data['propertyID'] ) ) { throw new Missing_Required_Param_Exception( 'propertyID' ); } $parent = self::normalize_property_id( $data['propertyID'] ); return $this->get_analyticsadsenselinks_service()->properties_adSenseLinks->listPropertiesAdSenseLinks( $parent ); case 'POST:create-audience': $settings = $this->get_settings()->get(); if ( ! isset( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } if ( ! isset( $data['audience'] ) ) { throw new Missing_Required_Param_Exception( 'audience' ); } $property_id = $settings['propertyID']; $audience = $data['audience']; $fields = array( 'displayName', 'description', 'membershipDurationDays', 'eventTrigger', 'exclusionDurationMode', 'filterClauses', ); $invalid_keys = array_diff( array_keys( $audience ), $fields ); if ( ! empty( $invalid_keys ) ) { return new WP_Error( 'invalid_property_name', /* translators: %s: Invalid property names */ sprintf( __( 'Invalid properties in audience: %s.', 'google-site-kit' ), implode( ', ', $invalid_keys ) ), array( 'status' => 400 ) ); } $property_id = self::normalize_property_id( $property_id ); $post_body = new GoogleAnalyticsAdminV1alphaAudience( $audience ); $analyticsadmin = $this->get_analyticsaudiences_service(); return $analyticsadmin ->properties_audiences ->create( $property_id, $post_body ); case 'POST:create-account-ticket': if ( empty( $data['displayName'] ) ) { throw new Missing_Required_Param_Exception( 'displayName' ); } if ( empty( $data['regionCode'] ) ) { throw new Missing_Required_Param_Exception( 'regionCode' ); } if ( empty( $data['propertyName'] ) ) { throw new Missing_Required_Param_Exception( 'propertyName' ); } if ( empty( $data['dataStreamName'] ) ) { throw new Missing_Required_Param_Exception( 'dataStreamName' ); } if ( empty( $data['timezone'] ) ) { throw new Missing_Required_Param_Exception( 'timezone' ); } $account = new GoogleAnalyticsAdminV1betaAccount(); $account->setDisplayName( $data['displayName'] ); $account->setRegionCode( $data['regionCode'] ); $credentials = $this->authentication->credentials()->get(); $account_ticket_request = new Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest(); $account_ticket_request->setSiteId( $credentials['oauth2_client_id'] ); $account_ticket_request->setSiteSecret( $credentials['oauth2_client_secret'] ); $account_ticket_request->setRedirectUri( $this->get_provisioning_redirect_uri() ); $account_ticket_request->setAccount( $account ); return $this->get_service( 'analyticsprovisioning' ) ->accounts->provisionAccountTicket( $account_ticket_request ); case 'POST:create-property': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $options = array( 'displayName' => $data['displayName'], 'timezone' => $data['timezone'], ); return $this->create_property( $data['accountID'], $options ); case 'POST:create-webdatastream': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } $options = array( 'displayName' => $data['displayName'], ); return $this->create_webdatastream( $data['propertyID'], $options ); case 'GET:properties': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } return $this->get_service( 'analyticsadmin' )->properties->listProperties( array( 'filter' => 'parent:' . self::normalize_account_id( $data['accountID'] ), 'pageSize' => 200, ) ); case 'GET:property': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } return $this->get_service( 'analyticsadmin' )->properties->get( self::normalize_property_id( $data['propertyID'] ) ); case 'GET:report': if ( empty( $data['metrics'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'metrics' ), array( 'status' => 400 ) ); } $settings = $this->get_settings()->get(); if ( empty( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } $report = new Analytics_4_Report_Request( $this->context ); $request = $report->create_request( $data, $this->is_shared_data_request( $data ) ); if ( is_wp_error( $request ) ) { return $request; } $property_id = self::normalize_property_id( $settings['propertyID'] ); $request->setProperty( $property_id ); return $this->get_analyticsdata_service()->properties->runReport( $property_id, $request ); case 'GET:pivot-report': if ( empty( $data['metrics'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'metrics' ), array( 'status' => 400 ) ); } if ( empty( $data['pivots'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'pivots' ), array( 'status' => 400 ) ); } $settings = $this->get_settings()->get(); if ( empty( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } $report = new Analytics_4_PivotReport_Request( $this->context ); $request = $report->create_request( $data, $this->is_shared_data_request( $data ) ); if ( is_wp_error( $request ) ) { return $request; } $property_id = self::normalize_property_id( $settings['propertyID'] ); $request->setProperty( $property_id ); return $this->get_analyticsdata_service()->properties->runPivotReport( $property_id, $request ); case 'GET:enhanced-measurement-settings': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['webDataStreamID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'webDataStreamID' ), array( 'status' => 400 ) ); } $name = self::normalize_property_id( $data['propertyID'] ) . '/dataStreams/' . $data['webDataStreamID'] . '/enhancedMeasurementSettings'; $analyticsadmin = $this->get_analyticsenhancedmeasurements_service(); return $analyticsadmin ->properties_enhancedMeasurements // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->getEnhancedMeasurementSettings( $name ); case 'POST:enhanced-measurement-settings': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['webDataStreamID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'webDataStreamID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['enhancedMeasurementSettings'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'enhancedMeasurementSettings' ), array( 'status' => 400 ) ); } $enhanced_measurement_settings = $data['enhancedMeasurementSettings']; $fields = array( 'name', 'streamEnabled', 'scrollsEnabled', 'outboundClicksEnabled', 'siteSearchEnabled', 'videoEngagementEnabled', 'fileDownloadsEnabled', 'pageChangesEnabled', 'formInteractionsEnabled', 'searchQueryParameter', 'uriQueryParameter', ); $invalid_keys = array_diff( array_keys( $enhanced_measurement_settings ), $fields ); if ( ! empty( $invalid_keys ) ) { return new WP_Error( 'invalid_property_name', /* translators: %s: Invalid property names */ sprintf( __( 'Invalid properties in enhancedMeasurementSettings: %s.', 'google-site-kit' ), implode( ', ', $invalid_keys ) ), array( 'status' => 400 ) ); } $name = self::normalize_property_id( $data['propertyID'] ) . '/dataStreams/' . $data['webDataStreamID'] . '/enhancedMeasurementSettings'; $post_body = new EnhancedMeasurementSettingsModel( $data['enhancedMeasurementSettings'] ); $analyticsadmin = $this->get_analyticsenhancedmeasurements_service(); return $analyticsadmin ->properties_enhancedMeasurements // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->updateEnhancedMeasurementSettings( $name, $post_body, array( 'updateMask' => 'streamEnabled', // Only allow updating the streamEnabled field for now. ) ); case 'POST:create-custom-dimension': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['customDimension'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'customDimension' ), array( 'status' => 400 ) ); } $custom_dimension_data = $data['customDimension']; $fields = array( 'parameterName', 'displayName', 'description', 'scope', 'disallowAdsPersonalization', ); $invalid_keys = array_diff( array_keys( $custom_dimension_data ), $fields ); if ( ! empty( $invalid_keys ) ) { return new WP_Error( 'invalid_property_name', /* translators: %s: Invalid property names */ sprintf( __( 'Invalid properties in customDimension: %s.', 'google-site-kit' ), implode( ', ', $invalid_keys ) ), array( 'status' => 400 ) ); } // Define the valid `DimensionScope` enum values. $valid_scopes = array( 'EVENT', 'USER', 'ITEM' ); // If the scope field is not set, default to `EVENT`. // Otherwise, validate against the enum values. if ( ! isset( $custom_dimension_data['scope'] ) ) { $custom_dimension_data['scope'] = 'EVENT'; } elseif ( ! in_array( $custom_dimension_data['scope'], $valid_scopes, true ) ) { return new WP_Error( 'invalid_scope', /* translators: %s: Invalid scope */ sprintf( __( 'Invalid scope: %s.', 'google-site-kit' ), $custom_dimension_data['scope'] ), array( 'status' => 400 ) ); } $custom_dimension = new GoogleAnalyticsAdminV1betaCustomDimension(); $custom_dimension->setParameterName( $custom_dimension_data['parameterName'] ); $custom_dimension->setDisplayName( $custom_dimension_data['displayName'] ); $custom_dimension->setDescription( $custom_dimension_data['description'] ); $custom_dimension->setScope( $custom_dimension_data['scope'] ); $custom_dimension->setDisallowAdsPersonalization( $custom_dimension_data['disallowAdsPersonalization'] ); $analyticsadmin = $this->get_service( 'analyticsadmin' ); return $analyticsadmin ->properties_customDimensions // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->create( self::normalize_property_id( $data['propertyID'] ), $custom_dimension ); case 'POST:sync-audiences': if ( ! $this->authentication->is_authenticated() ) { return new WP_Error( 'forbidden', __( 'User must be authenticated to sync audiences.', 'google-site-kit' ), array( 'status' => 403 ) ); } $settings = $this->get_settings()->get(); if ( empty( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } $analyticsadmin = $this->get_analyticsaudiences_service(); $property_id = self::normalize_property_id( $settings['propertyID'] ); return $analyticsadmin ->properties_audiences ->listPropertiesAudiences( $property_id ); case 'POST:sync-custom-dimensions': $settings = $this->get_settings()->get(); if ( empty( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } $analyticsadmin = $this->get_service( 'analyticsadmin' ); return $analyticsadmin ->properties_customDimensions // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->listPropertiesCustomDimensions( self::normalize_property_id( $settings['propertyID'] ) ); case 'POST:custom-dimension-data-available': if ( ! isset( $data['customDimension'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'customDimension' ), array( 'status' => 400 ) ); } if ( ! $this->custom_dimensions_data_available->is_valid_custom_dimension( $data['customDimension'] ) ) { return new WP_Error( 'invalid_custom_dimension_slug', /* translators: %s: Invalid custom dimension slug */ sprintf( __( 'Invalid custom dimension slug: %s.', 'google-site-kit' ), $data['customDimension'] ), array( 'status' => 400 ) ); } return function () use ( $data ) { return $this->custom_dimensions_data_available->set_data_available( $data['customDimension'] ); }; case 'POST:save-resource-data-availability-date': if ( ! isset( $data['resourceType'] ) ) { throw new Missing_Required_Param_Exception( 'resourceType' ); } if ( ! isset( $data['resourceSlug'] ) ) { throw new Missing_Required_Param_Exception( 'resourceSlug' ); } if ( ! isset( $data['date'] ) ) { throw new Missing_Required_Param_Exception( 'date' ); } if ( ! $this->resource_data_availability_date->is_valid_resource_type( $data['resourceType'] ) ) { throw new Invalid_Param_Exception( 'resourceType' ); } if ( ! $this->resource_data_availability_date->is_valid_resource_slug( $data['resourceSlug'], $data['resourceType'] ) ) { throw new Invalid_Param_Exception( 'resourceSlug' ); } if ( ! is_int( $data['date'] ) ) { throw new Invalid_Param_Exception( 'date' ); } return function () use ( $data ) { return $this->resource_data_availability_date->set_resource_date( $data['resourceSlug'], $data['resourceType'], $data['date'] ); }; case 'GET:webdatastreams': if ( ! isset( $data['propertyID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ), array( 'status' => 400 ) ); } $analyticsadmin = $this->get_service( 'analyticsadmin' ); return $analyticsadmin ->properties_dataStreams // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->listPropertiesDataStreams( self::normalize_property_id( $data['propertyID'] ) ); case 'GET:webdatastreams-batch': if ( ! isset( $data['propertyIDs'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyIDs' ), array( 'status' => 400 ) ); } if ( ! is_array( $data['propertyIDs'] ) || count( $data['propertyIDs'] ) > 10 ) { return new WP_Error( 'rest_invalid_param', /* translators: %s: List of invalid parameters. */ sprintf( __( 'Invalid parameter(s): %s', 'google-site-kit' ), 'propertyIDs' ), array( 'status' => 400 ) ); } $analyticsadmin = $this->get_service( 'analyticsadmin' ); $batch_request = $analyticsadmin->createBatch(); foreach ( $data['propertyIDs'] as $property_id ) { $batch_request->add( $analyticsadmin ->properties_dataStreams // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->listPropertiesDataStreams( self::normalize_property_id( $property_id ) ) ); } return function () use ( $batch_request ) { return $batch_request->execute(); }; case 'GET:container-lookup': if ( ! isset( $data['destinationID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'destinationID' ), array( 'status' => 400 ) ); } return $this->get_tagmanager_service()->accounts_containers->lookup( array( 'destinationId' => $data['destinationID'] ) ); case 'GET:container-destinations': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['containerID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'containerID' ), array( 'status' => 400 ) ); } return $this->get_tagmanager_service()->accounts_containers_destinations->listAccountsContainersDestinations( "accounts/{$data['accountID']}/containers/{$data['containerID']}" ); case 'GET:google-tag-settings': if ( ! isset( $data['measurementID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'measurementID' ), array( 'status' => 400 ) ); } return $this->get_tagmanager_service()->accounts_containers->lookup( array( 'destinationId' => $data['measurementID'] ) ); case 'GET:conversion-events': $settings = $this->get_settings()->get(); if ( empty( $settings['propertyID'] ) ) { return new WP_Error( 'missing_required_setting', __( 'No connected Google Analytics property ID.', 'google-site-kit' ), array( 'status' => 500 ) ); } $analyticsadmin = $this->get_service( 'analyticsadmin' ); $property_id = self::normalize_property_id( $settings['propertyID'] ); return $analyticsadmin ->properties_conversionEvents // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->listPropertiesConversionEvents( $property_id ); case 'POST:set-google-tag-id-mismatch': if ( ! isset( $data['hasMismatchedTag'] ) ) { throw new Missing_Required_Param_Exception( 'hasMismatchedTag' ); } if ( false === $data['hasMismatchedTag'] ) { return function () { return $this->transients->delete( 'googlesitekit_inline_tag_id_mismatch' ); }; } return function () use ( $data ) { return $this->transients->set( 'googlesitekit_inline_tag_id_mismatch', $data['hasMismatchedTag'] ); }; case 'POST:clear-conversion-reporting-new-events': return function () { return $this->transients->delete( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT ); }; case 'POST:clear-conversion-reporting-lost-events': return function () { return $this->transients->delete( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT ); }; } return parent::create_data_request( $data ); } /** * Parses a response for the given datapoint. * * @since 1.30.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:accounts': return array_map( array( self::class, 'filter_account_with_ids' ), $response->getAccounts() ); case 'GET:ads-links': return (array) $response->getGoogleAdsLinks(); case 'GET:adsense-links': return (array) $response->getAdsenseLinks(); case 'POST:create-account-ticket': $account_ticket = new Account_Ticket(); $account_ticket->set_id( $response->getAccountTicketId() ); // Required in create_data_request. $account_ticket->set_property_name( $data['propertyName'] ); $account_ticket->set_data_stream_name( $data['dataStreamName'] ); $account_ticket->set_timezone( $data['timezone'] ); $account_ticket->set_enhanced_measurement_stream_enabled( ! empty( $data['enhancedMeasurementStreamEnabled'] ) ); // Cache the create ticket id long enough to verify it upon completion of the terms of service. set_transient( self::PROVISION_ACCOUNT_TICKET_ID . '::' . get_current_user_id(), $account_ticket->to_array(), 15 * MINUTE_IN_SECONDS ); return $response; case 'POST:create-property': return self::filter_property_with_ids( $response ); case 'POST:create-webdatastream': return self::filter_webdatastream_with_ids( $response ); case 'GET:properties': return Sort::case_insensitive_list_sort( array_map( array( self::class, 'filter_property_with_ids' ), $response->getProperties() ), 'displayName' ); case 'GET:property': return self::filter_property_with_ids( $response ); case 'GET:webdatastreams': /* @var GoogleAnalyticsAdminV1betaListDataStreamsResponse $response phpcs:ignore Squiz.PHP.CommentedOutCode.Found */ $webdatastreams = self::filter_web_datastreams( $response->getDataStreams() ); return array_map( array( self::class, 'filter_webdatastream_with_ids' ), $webdatastreams ); case 'GET:webdatastreams-batch': return self::parse_webdatastreams_batch( $response ); case 'GET:container-destinations': return (array) $response->getDestination(); case 'GET:google-tag-settings': return $this->get_google_tag_settings_for_measurement_id( $response, $data['measurementID'] ); case 'GET:conversion-events': return (array) $response->getConversionEvents(); case 'GET:report': $report = new Analytics_4_Report_Response( $this->context ); return $report->parse_response( $data, $response ); case 'GET:pivot-report': $report = new Analytics_4_Report_Response( $this->context ); return $report->parse_response( $data, $response ); case 'POST:sync-audiences': $audiences = $this->set_available_audiences( $response->getAudiences() ); return $audiences; case 'POST:sync-custom-dimensions': if ( is_wp_error( $response ) ) { return $response; } $custom_dimensions = wp_list_pluck( $response->getCustomDimensions(), 'parameterName' ); $matching_dimensions = array_values( array_filter( $custom_dimensions, function ( $dimension ) { return strpos( $dimension, 'googlesitekit_' ) === 0; } ) ); $this->get_settings()->merge( array( 'availableCustomDimensions' => $matching_dimensions, ) ); // Reset the data available state for custom dimensions that are no longer available. $missing_custom_dimensions_with_data_available = array_diff( array_keys( // Only compare against custom dimensions that have data available. array_filter( $this->custom_dimensions_data_available->get_data_availability() ) ), $matching_dimensions ); if ( count( $missing_custom_dimensions_with_data_available ) > 0 ) { $this->custom_dimensions_data_available->reset_data_available( $missing_custom_dimensions_with_data_available ); } return $matching_dimensions; } return parent::parse_data_response( $data, $response ); } /** * Gets the configured TagManager service instance. * * @since 1.92.0 * * @return Google_Service_TagManager instance. * @throws Exception Thrown if the module did not correctly set up the service. */ private function get_tagmanager_service() { return $this->get_service( 'tagmanager' ); } /** * Sets up information about the module. * * @since 1.30.0 * @since 1.123.0 Updated to include in the module setup. * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => self::MODULE_SLUG, 'name' => _x( 'Analytics', 'Service name', 'google-site-kit' ), 'description' => __( 'Get a deeper understanding of your customers. Google Analytics gives you the free tools you need to analyze data for your business in one place.', 'google-site-kit' ), 'order' => 3, 'homepage' => __( 'https://analytics.google.com/analytics/web', 'google-site-kit' ), ); } /** * Gets the configured Analytics Data service object instance. * * @since 1.93.0 * * @return Google_Service_AnalyticsData The Analytics Data API service. */ protected function get_analyticsdata_service() { return $this->get_service( 'analyticsdata' ); } /** * Gets the configured Analytics Data service object instance. * * @since 1.110.0 * * @return PropertiesEnhancedMeasurementService The Analytics Admin API service. */ protected function get_analyticsenhancedmeasurements_service() { return $this->get_service( 'analyticsenhancedmeasurement' ); } /** * Gets the configured Analytics Admin service object instance that includes `adSenseLinks` related methods. * * @since 1.120.0 * * @return PropertiesAdSenseLinksService The Analytics Admin API service. */ protected function get_analyticsadsenselinks_service() { return $this->get_service( 'analyticsadsenselinks' ); } /** * Gets the configured Analytics Data service object instance. * * @since 1.120.0 * * @return PropertiesAudiencesService The Analytics Admin API service. */ protected function get_analyticsaudiences_service() { return $this->get_service( 'analyticsaudiences' ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.30.0 * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { $google_proxy = $this->authentication->get_google_proxy(); return array( 'analyticsadmin' => new Google_Service_GoogleAnalyticsAdmin( $client ), 'analyticsdata' => new Google_Service_AnalyticsData( $client ), 'analyticsprovisioning' => new AccountProvisioningService( $client, $google_proxy->url() ), 'analyticsenhancedmeasurement' => new PropertiesEnhancedMeasurementService( $client ), 'analyticsaudiences' => new PropertiesAudiencesService( $client ), 'analyticsadsenselinks' => new PropertiesAdSenseLinksService( $client ), 'tagmanager' => new Google_Service_TagManager( $client ), ); } /** * Sets up the module's settings instance. * * @since 1.30.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Sets up the module's assets to register. * * @since 1.31.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); return array( new Script( 'googlesitekit-modules-analytics-4', array( 'src' => $base_url . 'js/googlesitekit-modules-analytics-4.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-datastore-forms', 'googlesitekit-components', 'googlesitekit-modules-data', ), ) ), ); } /** * Gets the provisioning redirect URI that listens for the Terms of Service redirect. * * @since 1.98.0 * * @return string Provisioning redirect URI. */ private function get_provisioning_redirect_uri() { return $this->authentication->get_google_proxy() ->get_site_fields()['analytics_redirect_uri']; } /** * Registers the Analytics 4 tag. * * @since 1.31.0 * @since 1.104.0 Added support for AMP tag. * @since 1.119.0 Made method public. */ public function register_tag() { $tag = $this->context->is_amp() ? new AMP_Tag( $this->get_measurement_id(), self::MODULE_SLUG ) // AMP currently only works with the measurement ID. : new Web_Tag( $this->get_tag_id(), self::MODULE_SLUG ); if ( $tag->is_tag_blocked() ) { return; } $tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $tag->use_guard( new Tag_Guard( $this->get_settings() ) ); $tag->use_guard( new Tag_Environment_Type_Guard() ); if ( ! $tag->can_register() ) { return; } $home_domain = URL::parse( $this->context->get_canonical_home_url(), PHP_URL_HOST ); $tag->set_home_domain( $home_domain ); $custom_dimensions_data = $this->get_custom_dimensions_data(); if ( ! empty( $custom_dimensions_data ) && $tag instanceof Tag_Interface ) { $tag->set_custom_dimensions( $custom_dimensions_data ); } $tag->set_ads_conversion_id( $this->get_settings()->get()['adsConversionID'] ); $tag->register(); } /** * Returns the Module_Tag_Matchers instance. * * @since 1.119.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } /** * Gets custom dimensions data based on available custom dimensions. * * @since 1.113.0 * * @return array An associated array of custom dimensions data. */ private function get_custom_dimensions_data() { if ( ! is_singular() ) { return array(); } $settings = $this->get_settings()->get(); if ( empty( $settings['availableCustomDimensions'] ) ) { return array(); } /** * Filters the allowed post types for custom dimensions tracking. * * @since 1.113.0 * * @param array $allowed_post_types The array of allowed post types. */ $allowed_post_types = apply_filters( 'googlesitekit_custom_dimension_valid_post_types', array( 'post' ) ); $data = array(); $post = get_queried_object(); if ( in_array( 'googlesitekit_post_type', $settings['availableCustomDimensions'], true ) ) { $data['googlesitekit_post_type'] = $post->post_type; } if ( is_singular( $allowed_post_types ) ) { foreach ( $settings['availableCustomDimensions'] as $custom_dimension ) { switch ( $custom_dimension ) { case 'googlesitekit_post_author': $author = get_userdata( $post->post_author ); if ( $author ) { $data[ $custom_dimension ] = $author->display_name ? $author->display_name : $author->user_login; } break; case 'googlesitekit_post_categories': $categories = get_the_category( $post->ID ); if ( ! empty( $categories ) ) { $category_names = wp_list_pluck( $categories, 'name' ); $data[ $custom_dimension ] = implode( '; ', $category_names ); } break; case 'googlesitekit_post_date': $data[ $custom_dimension ] = get_the_date( 'Ymd', $post ); break; } } } return $data; } /** * Parses account ID, adds it to the model object and returns updated model. * * @since 1.31.0 * * @param Google_Model $account Account model. * @param string $id_key Attribute name that contains account id. * @return stdClass Updated model with _id attribute. */ public static function filter_account_with_ids( $account, $id_key = 'name' ) { $obj = $account->toSimpleObject(); $matches = array(); if ( preg_match( '#accounts/([^/]+)#', $account[ $id_key ], $matches ) ) { $obj->_id = $matches[1]; } return $obj; } /** * Parses account and property IDs, adds it to the model object and returns updated model. * * @since 1.31.0 * * @param Google_Model $property Property model. * @param string $id_key Attribute name that contains property id. * @return stdClass Updated model with _id and _accountID attributes. */ public static function filter_property_with_ids( $property, $id_key = 'name' ) { $obj = $property->toSimpleObject(); $matches = array(); if ( preg_match( '#properties/([^/]+)#', $property[ $id_key ] ?? '', $matches ) ) { $obj->_id = $matches[1]; } $matches = array(); if ( preg_match( '#accounts/([^/]+)#', $property['parent'] ?? '', $matches ) ) { $obj->_accountID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } return $obj; } /** * Parses property and web datastream IDs, adds it to the model object and returns updated model. * * @since 1.31.0 * * @param Google_Model $webdatastream Web datastream model. * @return stdClass Updated model with _id and _propertyID attributes. */ public static function filter_webdatastream_with_ids( $webdatastream ) { $obj = $webdatastream->toSimpleObject(); $matches = array(); if ( preg_match( '#properties/([^/]+)/dataStreams/([^/]+)#', $webdatastream['name'], $matches ) ) { $obj->_id = $matches[2]; $obj->_propertyID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } return $obj; } /** * Filters a list of data stream objects and returns only web data streams. * * @since 1.49.1 * * @param GoogleAnalyticsAdminV1betaDataStream[] $datastreams Data streams to filter. * @return GoogleAnalyticsAdminV1betaDataStream[] Web data streams. */ public static function filter_web_datastreams( array $datastreams ) { return array_filter( $datastreams, function ( GoogleAnalyticsAdminV1betaDataStream $datastream ) { return $datastream->getType() === 'WEB_DATA_STREAM'; } ); } /** * Parses a response, adding the _id and _propertyID params and converting to an array keyed by the propertyID and web datastream IDs. * * @since 1.39.0 * * @param GoogleAnalyticsAdminV1betaListDataStreamsResponse[] $batch_response Array of GoogleAnalyticsAdminV1betaListWebDataStreamsResponse objects. * @return stdClass[] Array of models containing _id and _propertyID attributes, keyed by the propertyID. */ public static function parse_webdatastreams_batch( $batch_response ) { $mapped = array(); foreach ( $batch_response as $response ) { if ( $response instanceof Exception ) { continue; } $webdatastreams = self::filter_web_datastreams( $response->getDataStreams() ); foreach ( $webdatastreams as $webdatastream ) { $value = self::filter_webdatastream_with_ids( $webdatastream ); $key = $value->_propertyID; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase $mapped[ $key ] = isset( $mapped[ $key ] ) ? $mapped[ $key ] : array(); $mapped[ $key ][] = $value; } } return $mapped; } /** * Normalizes account ID and returns it. * * @since 1.31.0 * * @param string $account_id Account ID. * @return string Updated account ID with "accounts/" prefix. */ public static function normalize_account_id( $account_id ) { return 'accounts/' . $account_id; } /** * Normalizes property ID and returns it. * * @since 1.31.0 * * @param string $property_id Property ID. * @return string Updated property ID with "properties/" prefix. */ public static function normalize_property_id( $property_id ) { return 'properties/' . $property_id; } /** * Checks if the current user has access to the current configured service entity. * * @since 1.70.0 * * @return boolean|WP_Error */ public function check_service_entity_access() { $analyticsadmin = $this->get_service( 'analyticsadmin' ); $settings = $this->settings->get(); try { $analyticsadmin ->properties_dataStreams // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase ->listPropertiesDataStreams( self::normalize_property_id( $settings['propertyID'] ) ); } catch ( Exception $e ) { if ( $e->getCode() === 403 ) { return false; } return $this->exception_to_error( $e ); } return true; } /** * Gets the Google Tag Settings for the given measurement ID. * * @since 1.94.0 * * @param Google_Service_TagManager_Container $container Tag Manager container. * @param string $measurement_id Measurement ID. * @return array Google Tag Settings. */ protected function get_google_tag_settings_for_measurement_id( $container, $measurement_id ) { return array( 'googleTagAccountID' => $container->getAccountId(), 'googleTagContainerID' => $container->getContainerId(), 'googleTagID' => $this->determine_google_tag_id_from_tag_ids( $container->getTagIds(), $measurement_id ), ); } /** * Determines Google Tag ID from the given Tag IDs. * * @since 1.94.0 * * @param array $tag_ids Tag IDs. * @param string $measurement_id Measurement ID. * @return string Google Tag ID. */ private function determine_google_tag_id_from_tag_ids( $tag_ids, $measurement_id ) { // If there is only one tag id in the array, return it. if ( count( $tag_ids ) === 1 ) { return $tag_ids[0]; } // If there are multiple tags, return the first one that starts with `GT-`. foreach ( $tag_ids as $tag_id ) { if ( substr( $tag_id, 0, 3 ) === 'GT-' ) { // strlen( 'GT-' ) === 3. return $tag_id; } } // Otherwise, return the `$measurement_id` if it is in the array. if ( in_array( $measurement_id, $tag_ids, true ) ) { return $measurement_id; } // Otherwise, return the first one that starts with `G-`. foreach ( $tag_ids as $tag_id ) { if ( substr( $tag_id, 0, 2 ) === 'G-' ) { // strlen( 'G-' ) === 2. return $tag_id; } } // If none of the above, return the first one. return $tag_ids[0]; } /** * Gets the Google Analytics 4 tag ID. * * @since 1.96.0 * * @return string Google Analytics 4 tag ID. */ private function get_tag_id() { $settings = $this->get_settings()->get(); if ( ! empty( $settings['googleTagID'] ) ) { return $settings['googleTagID']; } return $settings['measurementID']; } /** * Gets the currently configured measurement ID. * * @since 1.104.0 * * @return string Google Analytics 4 measurement ID. */ protected function get_measurement_id() { $settings = $this->get_settings()->get(); return $settings['measurementID']; } /** * Populates custom dimension data to pass to JS via _googlesitekitModulesData. * * @since 1.113.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ private function inline_custom_dimensions_data( $modules_data ) { if ( $this->is_connected() ) { // Add the data under the `analytics-4` key to make it clear it's scoped to this module. $modules_data['analytics-4'] = array( 'customDimensionsDataAvailable' => $this->custom_dimensions_data_available->get_data_availability(), ); } return $modules_data; } /** * Populates tag ID mismatch value to pass to JS via _googlesitekitModulesData. * * @since 1.130.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ protected function inline_tag_id_mismatch( $modules_data ) { if ( $this->is_connected() ) { $tag_id_mismatch = $this->transients->get( 'googlesitekit_inline_tag_id_mismatch' ); // Add the data under the `analytics-4` key to make it clear it's scoped to this module. // No need to check if `analytics-4` key is present, as this hook is added with higher // priority than inline_custom_dimensions_data where this key is set. $modules_data['analytics-4']['tagIDMismatch'] = $tag_id_mismatch; } return $modules_data; } /** * Populates resource availability dates data to pass to JS via _googlesitekitModulesData. * * @since 1.127.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ private function inline_resource_availability_dates_data( $modules_data ) { if ( $this->is_connected() ) { // Add the data under the `analytics-4` key to make it clear it's scoped to this module. // If `analytics-4` key already exists, merge the data. $modules_data['analytics-4'] = array_merge( $modules_data['analytics-4'] ?? array(), array( 'resourceAvailabilityDates' => $this->resource_data_availability_date->get_all_resource_dates(), ) ); } return $modules_data; } /** * Filters whether or not the option to exclude certain users from tracking should be displayed. * * If the Analytics-4 module is enabled, and the snippet is enabled, then the option to exclude * the option to exclude certain users from tracking should be displayed. * * @since 1.101.0 * * @param bool $allowed Whether to allow tracking exclusion. * @return bool Filtered value. */ private function filter_analytics_allow_tracking_disabled( $allowed ) { if ( $allowed ) { return $allowed; } if ( $this->get_settings()->get()['useSnippet'] ) { return true; } return $allowed; } /** * Sets and returns available audiences. * * @since 1.126.0 * * @param GoogleAnalyticsAdminV1alphaAudience[] $audiences The audiences to set. * @return array The available audiences. */ private function set_available_audiences( $audiences ) { $available_audiences = array_map( function ( GoogleAnalyticsAdminV1alphaAudience $audience ) { $display_name = $audience->getDisplayName(); $audience_item = array( 'name' => $audience->getName(), 'displayName' => ( 'All Users' === $display_name ) ? 'All visitors' : $display_name, 'description' => $audience->getDescription(), ); $audience_slug = $this->get_audience_slug( $audience ); $audience_type = $this->get_audience_type( $audience_slug ); $audience_item['audienceType'] = $audience_type; $audience_item['audienceSlug'] = $audience_slug; return $audience_item; }, $audiences ); usort( $available_audiences, function ( $audience_a, $audience_b ) use ( $available_audiences ) { $audience_index_a = array_search( $audience_a, $available_audiences, true ); $audience_index_b = array_search( $audience_b, $available_audiences, true ); if ( false === $audience_index_a || false === $audience_index_b ) { return 0; } $audience_a = $available_audiences[ $audience_index_a ]; $audience_b = $available_audiences[ $audience_index_b ]; $audience_type_a = $audience_a['audienceType']; $audience_type_b = $audience_b['audienceType']; if ( $audience_type_a === $audience_type_b ) { if ( 'SITE_KIT_AUDIENCE' === $audience_type_b ) { return 'new-visitors' === $audience_a['audienceSlug'] ? -1 : 1; } return $audience_index_a - $audience_index_b; } $weight_a = self::AUDIENCE_TYPE_SORT_ORDER[ $audience_type_a ]; $weight_b = self::AUDIENCE_TYPE_SORT_ORDER[ $audience_type_b ]; if ( $weight_a === $weight_b ) { return $audience_index_a - $audience_index_b; } return $weight_a - $weight_b; } ); $this->get_settings()->merge( array( 'availableAudiences' => $available_audiences, 'availableAudiencesLastSyncedAt' => time(), ) ); return $available_audiences; } /** * Gets the audience slug. * * @since 1.126.0 * * @param GoogleAnalyticsAdminV1alphaAudience $audience The audience object. * @return string The audience slug. */ private function get_audience_slug( GoogleAnalyticsAdminV1alphaAudience $audience ) { $display_name = $audience->getDisplayName(); if ( 'All Users' === $display_name ) { return 'all-users'; } if ( 'Purchasers' === $display_name ) { return 'purchasers'; } $filter_clauses = $audience->getFilterClauses(); if ( $filter_clauses ) { if ( $this->has_audience_site_kit_identifier( $filter_clauses, 'new_visitors' ) ) { return 'new-visitors'; } if ( $this->has_audience_site_kit_identifier( $filter_clauses, 'returning_visitors' ) ) { return 'returning-visitors'; } } // Return an empty string for user defined audiences. return ''; } /** * Gets the audience type based on the audience slug. * * @since 1.126.0 * * @param string $audience_slug The audience slug. * @return string The audience type. */ private function get_audience_type( $audience_slug ) { if ( ! $audience_slug ) { return 'USER_AUDIENCE'; } switch ( $audience_slug ) { case 'all-users': case 'purchasers': return 'DEFAULT_AUDIENCE'; case 'new-visitors': case 'returning-visitors': return 'SITE_KIT_AUDIENCE'; } } /** * Checks if an audience Site Kit identifier * (e.g. `created_by_googlesitekit:new_visitors`) exists in a nested array or object. * * @since 1.126.0 * * @param array|object $data The array or object to search. * @param mixed $identifier The identifier to search for. * @return bool True if the value exists, false otherwise. */ private function has_audience_site_kit_identifier( $data, $identifier ) { if ( is_array( $data ) || is_object( $data ) ) { foreach ( $data as $key => $value ) { if ( is_array( $value ) || is_object( $value ) ) { // Recursively search the nested structure. if ( $this->has_audience_site_kit_identifier( $value, $identifier ) ) { return true; } } elseif ( 'fieldName' === $key && 'groupId' === $value && isset( $data['stringFilter'] ) && "created_by_googlesitekit:{$identifier}" === $data['stringFilter']['value'] ) { return true; } } } return false; } /** * Returns the Site Kit-created audience display names from the passed list of audiences. * * @since 1.129.0 * * @param array $audiences List of audiences. * * @return array List of Site Kit-created audience display names. */ private function get_site_kit_audiences( $audiences ) { // Ensure that audiences are available, otherwise return an empty array. if ( empty( $audiences ) || ! is_array( $audiences ) ) { return array(); } $site_kit_audiences = array_filter( $audiences, fn( $audience ) => ! empty( $audience['audienceType'] ) && ( 'SITE_KIT_AUDIENCE' === $audience['audienceType'] ) ); if ( empty( $site_kit_audiences ) ) { return array(); } return wp_list_pluck( $site_kit_audiences, 'displayName' ); } /** * Populates conversion reporting event data to pass to JS via _googlesitekitModulesData. * * @since 1.139.0 * * @param array $modules_data Inline modules data. * @return array Inline modules data. */ public function inline_conversion_reporting_events_detection( $modules_data ) { if ( ! $this->is_connected() ) { return $modules_data; } $detected_events = $this->transients->get( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT ); $lost_events = $this->transients->get( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT ); $modules_data['analytics-4']['newEvents'] = is_array( $detected_events ) ? $detected_events : array(); $modules_data['analytics-4']['lostEvents'] = is_array( $lost_events ) ? $lost_events : array(); return $modules_data; } } includes/Modules/PageSpeed_Insights.php 0000604 00000014326 14717744000 0014206 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\PageSpeed_Insights * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Modules\PageSpeed_Insights\Settings; use Google\Site_Kit_Dependencies\Google\Service\PagespeedInsights as Google_Service_PagespeedInsights; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use WP_Error; /** * Class representing the PageSpeed Insights module. * * @since 1.0.0 * @access private * @ignore */ final class PageSpeed_Insights extends Module implements Module_With_Scopes, Module_With_Assets, Module_With_Deactivation, Module_With_Settings, Module_With_Owner { use Module_With_Scopes_Trait; use Module_With_Assets_Trait; use Module_With_Settings_Trait; use Module_With_Owner_Trait; /** * Module slug name. */ const MODULE_SLUG = 'pagespeed-insights'; /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() {} /** * Cleans up when the module is deactivated. * * @since 1.0.0 */ public function on_deactivation() { $this->get_settings()->delete(); } /** * Gets map of datapoint to definition data for each. * * @since 1.12.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:pagespeed' => array( 'service' => 'pagespeedonline', 'shareable' => true, ), ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:pagespeed': if ( empty( $data['strategy'] ) ) { return new WP_Error( 'missing_required_param', sprintf( /* translators: %s: Missing parameter name */ __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'strategy' ), array( 'status' => 400 ) ); } $valid_strategies = array( 'mobile', 'desktop' ); if ( ! in_array( $data['strategy'], $valid_strategies, true ) ) { return new WP_Error( 'invalid_param', sprintf( /* translators: 1: Invalid parameter name, 2: list of valid values */ __( 'Request parameter %1$s is not one of %2$s', 'google-site-kit' ), 'strategy', implode( ', ', $valid_strategies ) ), array( 'status' => 400 ) ); } if ( ! empty( $data['url'] ) ) { $page_url = $data['url']; } else { $page_url = $this->context->get_reference_site_url(); } $service = $this->get_service( 'pagespeedonline' ); return $service->pagespeedapi->runpagespeed( $page_url, array( 'locale' => $this->context->get_locale( 'site', 'language-code' ), 'strategy' => $data['strategy'], ) ); } return parent::create_data_request( $data ); } /** * Sets up the module's assets to register. * * @since 1.9.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); return array( new Script( 'googlesitekit-modules-pagespeed-insights', array( 'src' => $base_url . 'js/googlesitekit-modules-pagespeed-insights.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-components', ), ) ), ); } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => 'pagespeed-insights', 'name' => _x( 'PageSpeed Insights', 'Service name', 'google-site-kit' ), 'description' => __( 'Google PageSpeed Insights gives you metrics about performance, accessibility, SEO and PWA', 'google-site-kit' ), 'order' => 4, 'homepage' => __( 'https://pagespeed.web.dev', 'google-site-kit' ), ); } /** * Sets up the module's settings instance. * * @since 1.49.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { return array( 'pagespeedonline' => new Google_Service_PagespeedInsights( $client ), ); } /** * Gets required Google OAuth scopes for the module. * * @return array List of Google OAuth scopes. * @since 1.0.0 */ public function get_scopes() { return array( 'openid', ); } } includes/Modules/Reader_Revenue_Manager.php 0000604 00000026203 14717744000 0015023 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Reader_Revenue_Manager * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Exception; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Service_Entity; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\Reader_Revenue_Manager\Settings; use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Guard; use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Matchers; use Google\Site_Kit\Modules\Reader_Revenue_Manager\Web_Tag; use Google\Site_Kit\Modules\Search_Console\Settings as Search_Console_Settings; use Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle as Google_Service_SubscribewithGoogle; use WP_Error; /** * Class representing the Reader Revenue Manager module. * * @since 1.130.0 * @access private * @ignore */ final class Reader_Revenue_Manager extends Module implements Module_With_Scopes, Module_With_Assets, Module_With_Service_Entity, Module_With_Deactivation, Module_With_Owner, Module_With_Settings, Module_With_Tag, Module_With_Debug_Fields { use Module_With_Assets_Trait; use Module_With_Owner_Trait; use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Module_With_Tag_Trait; /** * Module slug name. */ const MODULE_SLUG = 'reader-revenue-manager'; /** * Registers functionality through WordPress hooks. * * @since 1.130.0 */ public function register() { $this->register_scopes_hook(); // Reader Revenue Manager tag placement logic. add_action( 'template_redirect', array( $this, 'register_tag' ) ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.130.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( 'https://www.googleapis.com/auth/subscribewithgoogle.publications.readonly', ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.131.0 * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ public function setup_services( Google_Site_Kit_Client $client ) { return array( 'subscribewithgoogle' => new Google_Service_SubscribewithGoogle( $client ), ); } /** * Checks whether the module is connected. * * @since 1.132.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $options = $this->get_settings()->get(); if ( ! empty( $options['publicationID'] ) ) { return true; } return false; } /** * Sets up the module's settings instance. * * @since 1.132.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Cleans up when the module is deactivated. * * @since 1.132.0 */ public function on_deactivation() { $this->get_settings()->delete(); } /** * Checks if the current user has access to the current configured service entity. * * @since 1.131.0 * @since 1.134.0 Checks if the user's publications includes the saved publication. * * @return boolean|WP_Error */ public function check_service_entity_access() { /** * Get the SubscribewithGoogle service instance. * * @var Google_Service_SubscribewithGoogle */ $subscribewithgoogle = $this->get_service( 'subscribewithgoogle' ); try { $response = $subscribewithgoogle->publications->listPublications(); } catch ( Exception $e ) { if ( $e->getCode() === 403 ) { return false; } return $this->exception_to_error( $e ); } $publications = array_values( $response->getPublications() ); $settings = $this->get_settings()->get(); $publication_id = $settings['publicationID']; // Check if the $publications array contains a publication with the saved // publication ID. foreach ( $publications as $publication ) { if ( isset( $publication['publicationId'] ) && $publication_id === $publication['publicationId'] ) { return true; } } return false; } /** * Gets map of datapoint to definition data for each. * * @since 1.131.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:publications' => array( 'service' => 'subscribewithgoogle' ), ); } /** * Creates a request object for the given datapoint. * * @since 1.131.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:publications': /** * Get the SubscribewithGoogle service instance. * * @var Google_Service_SubscribewithGoogle */ $subscribewithgoogle = $this->get_service( 'subscribewithgoogle' ); return $subscribewithgoogle->publications->listPublications( array( 'filter' => $this->get_publication_filter() ) ); } return parent::create_data_request( $data ); } /** * Parses a response for the given datapoint. * * @since 1.131.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:publications': $publications = $response->getPublications(); return array_values( $publications ); } return parent::parse_data_response( $data, $response ); } /** * Sets up information about the module. * * @since 1.130.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => self::MODULE_SLUG, 'name' => _x( 'Reader Revenue Manager', 'Service name', 'google-site-kit' ), 'description' => __( 'Reader Revenue Manager helps publishers grow, retain, and engage their audiences, creating new revenue opportunities', 'google-site-kit' ), 'order' => 5, 'homepage' => 'https://publishercenter.google.com', ); } /** * Gets the filter for retrieving publications for the current site. * * @since 1.131.0 * * @return string Permutations for site hosts or URL. */ private function get_publication_filter() { $sc_settings = $this->options->get( Search_Console_Settings::OPTION ); $sc_property_id = $sc_settings['propertyID']; if ( 0 === strpos( $sc_property_id, 'sc-domain:' ) ) { // Domain property. $host = str_replace( 'sc-domain:', '', $sc_property_id ); $filter = join( ' OR ', array_map( function ( $domain ) { return sprintf( 'domain = "%s"', $domain ); }, URL::permute_site_hosts( $host ) ) ); } else { // URL property. $filter = join( ' OR ', array_map( function ( $url ) { return sprintf( 'site_url = "%s"', $url ); }, URL::permute_site_url( $sc_property_id ) ) ); } return $filter; } /** * Sets up the module's assets to register. * * @since 1.131.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); return array( new Script( 'googlesitekit-modules-reader-revenue-manager', array( 'src' => $base_url . 'js/googlesitekit-modules-reader-revenue-manager.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-components', ), ) ), ); } /** * Returns the Module_Tag_Matchers instance. * * @since 1.132.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } /** * Registers the Reader Revenue Manager tag. * * @since 1.132.0 */ public function register_tag() { $module_settings = $this->get_settings(); $settings = $module_settings->get(); $tag = new Web_Tag( $settings['publicationID'], self::MODULE_SLUG ); if ( $tag->is_tag_blocked() ) { return; } $tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $tag->use_guard( new Tag_Guard( $module_settings ) ); $tag->use_guard( new Tag_Environment_Type_Guard() ); if ( ! $tag->can_register() ) { return; } $tag->register(); } /** * Gets an array of debug field definitions. * * @since 1.132.0 * * @return array An array of all debug fields. */ public function get_debug_fields() { $settings = $this->get_settings()->get(); return array( 'reader_revenue_manager_publication_id' => array( 'label' => __( 'Reader Revenue Manager publication ID', 'google-site-kit' ), 'value' => $settings['publicationID'], 'debug' => Debug_Data::redact_debug_value( $settings['publicationID'] ), ), 'reader_revenue_manager_publication_onboarding_state' => array( 'label' => __( 'Reader Revenue Manager publication onboarding state', 'google-site-kit' ), 'value' => $settings['publicationOnboardingState'], 'debug' => $settings['publicationOnboardingState'], ), 'reader_revenue_manager_publication_onboarding_state_last_synced_at' => array( 'label' => __( 'Reader Revenue Manager publication onboarding state last synced at', 'google-site-kit' ), 'value' => $settings['publicationOnboardingStateLastSyncedAtMs'] ? gmdate( 'Y-m-d H:i:s', $settings['publicationOnboardingStateLastSyncedAtMs'] / 1000 ) : __( 'Never synced', 'google-site-kit' ), 'debug' => $settings['publicationOnboardingStateLastSyncedAtMs'], ), ); } } includes/Modules/Search_Console.php 0000604 00000046323 14717744000 0013372 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Search_Console * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Service_Entity; use Google\Site_Kit\Core\Modules\Module_With_Data_Available_State; use Google\Site_Kit\Core\Modules\Module_With_Data_Available_State_Trait; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Util\Date; use Google\Site_Kit\Core\Util\Google_URL_Matcher_Trait; use Google\Site_Kit\Core\Util\Google_URL_Normalizer; use Google\Site_Kit\Core\Util\Sort; use Google\Site_Kit\Modules\Search_Console\Settings; use Google\Site_Kit_Dependencies\Google\Service\Exception as Google_Service_Exception; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole as Google_Service_SearchConsole; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole\SitesListResponse as Google_Service_SearchConsole_SitesListResponse; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole\WmxSite as Google_Service_SearchConsole_WmxSite; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole\SearchAnalyticsQueryRequest as Google_Service_SearchConsole_SearchAnalyticsQueryRequest; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole\ApiDimensionFilter as Google_Service_SearchConsole_ApiDimensionFilter; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole\ApiDimensionFilterGroup as Google_Service_SearchConsole_ApiDimensionFilterGroup; use Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use WP_Error; use Exception; /** * Class representing the Search Console module. * * @since 1.0.0 * @access private * @ignore */ final class Search_Console extends Module implements Module_With_Scopes, Module_With_Settings, Module_With_Assets, Module_With_Debug_Fields, Module_With_Owner, Module_With_Service_Entity, Module_With_Data_Available_State { use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Google_URL_Matcher_Trait; use Module_With_Assets_Trait; use Module_With_Owner_Trait; use Module_With_Data_Available_State_Trait; /** * Module slug name. */ const MODULE_SLUG = 'search-console'; /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $this->register_scopes_hook(); // Detect and store Search Console property when receiving token for the first time. add_action( 'googlesitekit_authorize_user', function ( array $token_response ) { if ( ! current_user_can( Permissions::SETUP ) ) { return; } // If the response includes the Search Console property, set that. // But only if it is being set for the first time or if Search Console // has no owner or the current user is the owner. if ( ! empty( $token_response['search_console_property'] ) && ( empty( $this->get_property_id() ) || ( in_array( $this->get_owner_id(), array( 0, get_current_user_id() ), true ) ) ) ) { $this->get_settings()->merge( array( 'propertyID' => $token_response['search_console_property'] ) ); return; } // Otherwise try to detect if there isn't one set already. $property_id = $this->get_property_id() ?: $this->detect_property_id(); if ( ! $property_id ) { return; } $this->get_settings()->merge( array( 'propertyID' => $property_id ) ); } ); // Ensure that the data available state is reset when the property changes. $this->get_settings()->on_change( function ( $old_value, $new_value ) { if ( is_array( $old_value ) && is_array( $new_value ) && isset( array_diff_assoc( $new_value, $old_value )['propertyID'] ) ) { $this->reset_data_available(); } } ); // Ensure that a Search Console property must be set at all times. add_filter( 'googlesitekit_setup_complete', function ( $complete ) { if ( ! $complete ) { return $complete; } return (bool) $this->get_property_id(); } ); // Provide Search Console property information to JavaScript. add_filter( 'googlesitekit_setup_data', function ( $data ) { $data['hasSearchConsoleProperty'] = (bool) $this->get_property_id(); return $data; }, 11 ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.0.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( 'https://www.googleapis.com/auth/webmasters', // The scope for the Search Console remains the legacy webmasters scope. ); } /** * Gets an array of debug field definitions. * * @since 1.5.0 * * @return array */ public function get_debug_fields() { return array( 'search_console_property' => array( 'label' => __( 'Search Console property', 'google-site-kit' ), 'value' => $this->get_property_id(), ), ); } /** * Gets map of datapoint to definition data for each. * * @since 1.12.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:matched-sites' => array( 'service' => 'searchconsole' ), 'GET:searchanalytics' => array( 'service' => 'searchconsole', 'shareable' => true, ), 'POST:site' => array( 'service' => 'searchconsole' ), 'GET:sites' => array( 'service' => 'searchconsole' ), ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:matched-sites': return $this->get_searchconsole_service()->sites->listSites(); case 'GET:searchanalytics': $start_date = $data['startDate']; $end_date = $data['endDate']; if ( ! strtotime( $start_date ) || ! strtotime( $end_date ) ) { list ( $start_date, $end_date ) = Date::parse_date_range( 'last-28-days', 1, 1 ); } $data_request = array( 'start_date' => $start_date, 'end_date' => $end_date, ); if ( ! empty( $data['url'] ) ) { $data_request['page'] = ( new Google_URL_Normalizer() )->normalize_url( $data['url'] ); } if ( isset( $data['limit'] ) ) { $data_request['row_limit'] = $data['limit']; } $dimensions = $this->parse_string_list( $data['dimensions'] ); if ( is_array( $dimensions ) && ! empty( $dimensions ) ) { $data_request['dimensions'] = $dimensions; } return $this->create_search_analytics_data_request( $data_request ); case 'POST:site': if ( empty( $data['siteURL'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'siteURL' ), array( 'status' => 400 ) ); } $url_normalizer = new Google_URL_Normalizer(); $site_url = $data['siteURL']; if ( 0 === strpos( $site_url, 'sc-domain:' ) ) { // Domain property. $site_url = 'sc-domain:' . $url_normalizer->normalize_url( str_replace( 'sc-domain:', '', $site_url, 1 ) ); } else { // URL property. $site_url = $url_normalizer->normalize_url( trailingslashit( $site_url ) ); } return function () use ( $site_url ) { $restore_defer = $this->with_client_defer( false ); try { // If the site does not exist in the account, an exception will be thrown. $site = $this->get_searchconsole_service()->sites->get( $site_url ); } catch ( Google_Service_Exception $exception ) { // If we got here, the site does not exist in the account, so we will add it. /* @var ResponseInterface $response Response object. */ $response = $this->get_searchconsole_service()->sites->add( $site_url ); if ( 204 !== $response->getStatusCode() ) { return new WP_Error( 'failed_to_add_site_to_search_console', __( 'Error adding the site to Search Console.', 'google-site-kit' ), array( 'status' => 500 ) ); } // Fetch the site again now that it exists. $site = $this->get_searchconsole_service()->sites->get( $site_url ); } $restore_defer(); $this->get_settings()->merge( array( 'propertyID' => $site_url ) ); return array( 'siteURL' => $site->getSiteUrl(), 'permissionLevel' => $site->getPermissionLevel(), ); }; case 'GET:sites': return $this->get_searchconsole_service()->sites->listSites(); } return parent::create_data_request( $data ); } /** * Parses a response for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:matched-sites': /* @var Google_Service_SearchConsole_SitesListResponse $response Response object. */ $entries = Sort::case_insensitive_list_sort( $this->map_sites( (array) $response->getSiteEntry() ), 'siteURL' // Must match the mapped value. ); $strict = filter_var( $data['strict'], FILTER_VALIDATE_BOOLEAN ); $current_url = $this->context->get_reference_site_url(); if ( ! $strict ) { $current_url = untrailingslashit( $current_url ); $current_url = $this->strip_url_scheme( $current_url ); $current_url = $this->strip_domain_www( $current_url ); } $sufficient_permission_levels = array( 'siteRestrictedUser', 'siteOwner', 'siteFullUser', ); return array_values( array_filter( $entries, function ( array $entry ) use ( $current_url, $sufficient_permission_levels, $strict ) { if ( 0 === strpos( $entry['siteURL'], 'sc-domain:' ) ) { $match = $this->is_domain_match( substr( $entry['siteURL'], strlen( 'sc-domain:' ) ), $current_url ); } else { $site_url = untrailingslashit( $entry['siteURL'] ); if ( ! $strict ) { $site_url = $this->strip_url_scheme( $site_url ); $site_url = $this->strip_domain_www( $site_url ); } $match = $this->is_url_match( $site_url, $current_url ); } return $match && in_array( $entry['permissionLevel'], $sufficient_permission_levels, true ); } ) ); case 'GET:searchanalytics': return $response->getRows(); case 'GET:sites': /* @var Google_Service_SearchConsole_SitesListResponse $response Response object. */ return $this->map_sites( (array) $response->getSiteEntry() ); } return parent::parse_data_response( $data, $response ); } /** * Map Site model objects to associative arrays used for API responses. * * @param array $sites Site objects. * * @return array */ private function map_sites( $sites ) { return array_map( function ( Google_Service_SearchConsole_WmxSite $site ) { return array( 'siteURL' => $site->getSiteUrl(), 'permissionLevel' => $site->getPermissionLevel(), ); }, $sites ); } /** * Creates a new Search Console analytics request for the current site and given arguments. * * @since 1.0.0 * * @param array $args { * Optional. Additional arguments. * * @type array $dimensions List of request dimensions. Default empty array. * @type string $start_date Start date in 'Y-m-d' format. Default empty string. * @type string $end_date End date in 'Y-m-d' format. Default empty string. * @type string $page Specific page URL to filter by. Default empty string. * @type int $row_limit Limit of rows to return. Default 1000. * } * @return RequestInterface Search Console analytics request instance. */ protected function create_search_analytics_data_request( array $args = array() ) { $args = wp_parse_args( $args, array( 'dimensions' => array(), 'start_date' => '', 'end_date' => '', 'page' => '', 'row_limit' => 1000, ) ); $property_id = $this->get_property_id(); $request = new Google_Service_SearchConsole_SearchAnalyticsQueryRequest(); if ( ! empty( $args['dimensions'] ) ) { $request->setDimensions( (array) $args['dimensions'] ); } if ( ! empty( $args['start_date'] ) ) { $request->setStartDate( $args['start_date'] ); } if ( ! empty( $args['end_date'] ) ) { $request->setEndDate( $args['end_date'] ); } $request->setDataState( 'all' ); $filters = array(); // If domain property, limit data to URLs that are part of the current site. if ( 0 === strpos( $property_id, 'sc-domain:' ) ) { $scope_site_filter = new Google_Service_SearchConsole_ApiDimensionFilter(); $scope_site_filter->setDimension( 'page' ); $scope_site_filter->setOperator( 'contains' ); $scope_site_filter->setExpression( esc_url_raw( $this->context->get_reference_site_url() ) ); $filters[] = $scope_site_filter; } // If specific URL requested, limit data to that URL. if ( ! empty( $args['page'] ) ) { $single_url_filter = new Google_Service_SearchConsole_ApiDimensionFilter(); $single_url_filter->setDimension( 'page' ); $single_url_filter->setOperator( 'equals' ); $single_url_filter->setExpression( rawurldecode( esc_url_raw( $args['page'] ) ) ); $filters[] = $single_url_filter; } // If there are relevant filters, add them to the request. if ( ! empty( $filters ) ) { $filter_group = new Google_Service_SearchConsole_ApiDimensionFilterGroup(); $filter_group->setGroupType( 'and' ); $filter_group->setFilters( $filters ); $request->setDimensionFilterGroups( array( $filter_group ) ); } if ( ! empty( $args['row_limit'] ) ) { $request->setRowLimit( $args['row_limit'] ); } return $this->get_searchconsole_service() ->searchanalytics ->query( $property_id, $request ); } /** * Gets the property ID. * * @since 1.3.0 * * @return string Property ID URL if set, or empty string. */ protected function get_property_id() { $option = $this->get_settings()->get(); return $option['propertyID']; } /** * Detects the property ID to use for this site. * * This method runs a Search Console API request. The determined ID should therefore be stored and accessed through * {@see Search_Console::get_property_id()} instead. * * @since 1.3.0 * * @return string Property ID, or empty string if none found. */ protected function detect_property_id() { $properties = $this->get_data( 'matched-sites', array( 'strict' => 'yes' ) ); if ( is_wp_error( $properties ) || ! $properties ) { return ''; } // If there are multiple, prefer URL property over domain property. if ( count( $properties ) > 1 ) { $url_properties = array_filter( $properties, function ( $property ) { return 0 !== strpos( $property['siteURL'], 'sc-domain:' ); } ); if ( count( $url_properties ) > 0 ) { $properties = $url_properties; } } $property = array_shift( $properties ); return $property['siteURL']; } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => 'search-console', 'name' => _x( 'Search Console', 'Service name', 'google-site-kit' ), 'description' => __( 'Google Search Console and helps you understand how Google views your site and optimize its performance in search results.', 'google-site-kit' ), 'order' => 1, 'homepage' => __( 'https://search.google.com/search-console', 'google-site-kit' ), ); } /** * Get the configured SearchConsole service instance. * * @since 1.25.0 * * @return Google_Service_SearchConsole The Search Console API service. */ private function get_searchconsole_service() { return $this->get_service( 'searchconsole' ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { return array( 'searchconsole' => new Google_Service_SearchConsole( $client ), ); } /** * Sets up the module's settings instance. * * @since 1.3.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Sets up the module's assets to register. * * @since 1.9.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); return array( new Script( 'googlesitekit-modules-search-console', array( 'src' => $base_url . 'js/googlesitekit-modules-search-console.js', 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-datastore-user', 'googlesitekit-modules', 'googlesitekit-components', 'googlesitekit-modules-data', ), ) ), ); } /** * Returns TRUE to indicate that this module should be always active. * * @since 1.49.0 * * @return bool Returns `true` indicating that this module should be activated all the time. */ public static function is_force_active() { return true; } /** * Checks if the current user has access to the current configured service entity. * * @since 1.70.0 * * @return boolean|WP_Error */ public function check_service_entity_access() { $data_request = array( 'start_date' => gmdate( 'Y-m-d' ), 'end_date' => gmdate( 'Y-m-d' ), 'row_limit' => 1, ); try { $this->create_search_analytics_data_request( $data_request ); } catch ( Exception $e ) { if ( $e->getCode() === 403 ) { return false; } return $this->exception_to_error( $e ); } return true; } } includes/Modules/Sign_In_With_Google.php 0000604 00000027714 14717744000 0014323 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Sign_In_With_Google * * @package Google\Site_Kit * @copyright 2024 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Modules\Sign_In_With_Google\Settings; use Google\Site_Kit\Modules\Sign_In_With_Google\Tag_Matchers; use Google\Site_Kit_Dependencies\Google_Client; use WP_Error; /** * Class representing the Sign in With Google module. * * @since 1.137.0 * @access private * @ignore */ final class Sign_In_With_Google extends Module implements Module_With_Assets, Module_With_Settings, Module_With_Deactivation, Module_With_Debug_Fields, Module_With_Tag { use Method_Proxy_Trait; use Module_With_Assets_Trait; use Module_With_Settings_Trait; use Module_With_Tag_Trait; /** * Module slug name. */ const MODULE_SLUG = 'sign-in-with-google'; /** * Registers functionality through WordPress hooks. * * @since 1.137.0 */ public function register() { add_filter( 'wp_login_errors', array( $this, 'handle_google_auth_errors' ) ); add_action( 'login_form_google_auth', array( $this, 'handle_google_auth' ) ); add_action( 'login_form', $this->get_method_proxy( 'render_signin_button' ) ); } /** * Intercept the page request to process token ID * and complete Sign in with Google flow. * * @since 1.140.0 */ public function handle_google_auth() { $request_method = $this->context->input()->filter( INPUT_SERVER, 'REQUEST_METHOD' ); if ( 'POST' !== $request_method ) { return; } $csrf_cookie = $this->context->input()->filter( INPUT_COOKIE, 'g_csrf_token' ); $csrf_post = $this->context->input()->filter( INPUT_POST, 'g_csrf_token' ); if ( ! $csrf_cookie || ! $csrf_post || $csrf_cookie !== $csrf_post ) { wp_safe_redirect( add_query_arg( 'error', 'google_auth_invalid_g_csrf_token', wp_login_url() ) ); exit; } $client_id = $this->get_settings()->get()['clientID']; $id_token = $this->context->input()->filter( INPUT_POST, 'credential' ); try { $client = new Google_Client( array( 'client_id' => $client_id ) ); $payload = $client->verifyIdToken( $id_token ); if ( empty( $payload ) ) { wp_safe_redirect( add_query_arg( 'error', 'google_auth_invalid_request', wp_login_url() ) ); exit; } // @TODO implement further flow using $payload in #9339. } catch ( \Exception $e ) { wp_safe_redirect( add_query_arg( 'error', 'google_auth_invalid_request', wp_login_url() ) ); exit; } } /** * Adds custom errors if Google auth flow failed. * * @since 1.140.0 * * @param WP_Error $error WP_Error instance. * @return WP_Error $error WP_Error instance. */ public function handle_google_auth_errors( $error ) { $error_code = $this->context->input()->filter( INPUT_GET, 'error' ); if ( ! $error_code ) { return $error; } switch ( $error_code ) { case 'google_auth_invalid_request': case 'google_auth_invalid_g_csrf_token': $error->add( 'google_auth', __( 'Sign in with Google failed.', 'google-site-kit' ) ); break; default: break; } return $error; } /** * Cleans up when the module is deactivated. * * @since 1.137.0 */ public function on_deactivation() { $this->get_settings()->delete(); } /** * Sets up information about the module. * * @since 1.137.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => self::MODULE_SLUG, 'name' => _x( 'Sign in with Google', 'Service name', 'google-site-kit' ), 'description' => __( 'Improve user engagement, trust, and data privacy, while creating a simple, secure, and personalized experience for your visitors', 'google-site-kit' ), 'order' => 10, 'homepage' => __( 'https://developers.google.com/identity/gsi/web/guides/overview', 'google-site-kit' ), ); } /** * Sets up the module's assets to register. * * @since 1.137.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { return array( new Script( 'googlesitekit-modules-sign-in-with-google', array( 'src' => $this->context->url( 'dist/assets/js/googlesitekit-modules-sign-in-with-google.js' ), 'dependencies' => array( 'googlesitekit-vendor', 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-modules', 'googlesitekit-datastore-site', 'googlesitekit-datastore-user', 'googlesitekit-components', ), ) ), ); } /** * Sets up the module's settings instance. * * @since 1.137.0 * * @return Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.139.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $options = $this->get_settings()->get(); if ( empty( $options['clientID'] ) ) { return false; } return parent::is_connected(); } /** * Renders the sign in button. * * @since 1.139.0 */ private function render_signin_button() { $settings = $this->get_settings()->get(); if ( ! $settings['clientID'] ) { return; } $redirect_url = add_query_arg( 'action', 'google_auth', wp_login_url() ); if ( substr( $redirect_url, 0, 5 ) !== 'https' ) { return; } // Render the Sign in with Google button and related inline styles. ?> <!-- <?php echo esc_html__( 'Sign in with Google button added by Site Kit', 'google-site-kit' ); ?> --> <?php /* phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript */ ?> <script src="https://accounts.google.com/gsi/client"></script> <script> ( () => { google.accounts.id.initialize({ client_id: '<?php echo esc_js( $settings['clientID'] ); ?>', login_uri: '<?php echo esc_js( $redirect_url ); ?>', ux_mode: 'redirect', }); const parent = document.createElement( 'div' ); document.getElementById( 'login').insertBefore( parent, document.getElementById( 'loginform' ) ); google.accounts.id.renderButton(parent, { theme: '<?php echo esc_js( $settings['theme'] ); ?>', text: '<?php echo esc_js( $settings['text'] ); ?>', shape: '<?php echo esc_js( $settings['shape'] ); ?>' }); } )(); </script> <!-- <?php echo esc_html__( 'End Sign in with Google button added by Site Kit', 'google-site-kit' ); ?> --> <?php } /** * Gets the absolute number of users who have authenticated using Sign in with Google. * * @since 1.140.0 * * @return array */ public function get_authenticated_users_count() { global $wpdb; $settings = $this->get_settings(); // phpcs:ignore WordPress.DB.DirectDatabaseQuery return $wpdb->query( $wpdb->prepare( "SELECT count(id) FROM $wpdb->usermeta WHERE meta_key = %s", self::GOOGLE_USER_ID_OPTION ) ); } /** * Gets an array of debug field definitions. * * @since 1.140.0 * * @return array */ public function get_debug_fields() { $settings = $this->get_settings()->get(); // TODO Uncomment and remove fixed value after #9339 is merged. // $authenticated_user_count = $this->get_authenticated_users_count();. $authenticated_user_count = 1; $debug_fields = array( 'sign_in_with_google_client_id' => array( 'label' => __( 'Sign in with Google Client ID', 'google-site-kit' ), 'value' => $settings['clientID'], 'debug' => Debug_Data::redact_debug_value( $settings['clientID'] ), ), 'sign_in_with_google_shape' => array( 'label' => __( 'Sign in with Google Shape', 'google-site-kit' ), 'value' => $this->get_settings()->get_label( 'shape', $settings['shape'] ), 'debug' => $settings['shape'], ), 'sign_in_with_google_text' => array( 'label' => __( 'Sign in with Google Text', 'google-site-kit' ), 'value' => $this->get_settings()->get_label( 'text', $settings['text'] ), 'debug' => $settings['text'], ), 'sign_in_with_google_theme' => array( 'label' => __( 'Sign in with Google Theme', 'google-site-kit' ), 'value' => $this->get_settings()->get_label( 'theme', $settings['theme'] ), 'debug' => $settings['theme'], ), 'sign_in_with_google_use_snippet' => array( 'label' => __( 'Sign in with Google One-tap Enabled', 'google-site-kit' ), 'value' => $settings['oneTapEnabled'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['oneTapEnabled'] ? 'yes' : 'no', ), 'sign_in_with_google_authenticated_user_count' => array( 'label' => __( 'Sign in with Google Number of users who have authenticated using Sign in with Google', 'google-site-kit' ), 'value' => $authenticated_user_count, 'debug' => $authenticated_user_count, ), ); return $debug_fields; } /** * Implements mandatory interface method. * * This module doesn't use the usual tag registration within Site kit * to place its snippet. However, it does leverage the Tag_Placement functionality * to check if a tag is successfully placed or not within WordPress's Site Health. */ public function register_tag() { } /** * Returns the Module_Tag_Matchers instance. * * @since 1.140.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } /** * Gets the URL of the page(s) where a tag for the module would be placed. * * For all modules like Analytics, Tag Manager, AdSense, Ads, etc. except for * Sign in with Google, tags can be detected on the home page. SiwG places its * snippet on the login page and thus, overrides this method. * * @since 1.140.0 * * @return string TRUE if tag is found, FALSE if not. */ public function get_content_url() { $wp_login_url = wp_login_url(); $woo_commerce = new WooCommerce( $this->context ); if ( $woo_commerce->is_active() ) { $wc_login_page_id = wc_get_page_id( 'myaccount' ); $wc_login_url = get_permalink( $wc_login_page_id ); return array( 'WordPress Login Page' => $wp_login_url, 'WooCommerce Login Page' => $wc_login_url, ); } return $wp_login_url; } /** * Checks if the Sign in with Google button, specifically inserted by Site Kit, * is found in the provided content. * * This method overrides the `Module_With_Tag_Trait` implementation since the HTML * comment inserted for SiwG's button is different to the standard comment inserted * for other modules' script snippets. This should be improved as speicified in the * TODO within the trait method. * * @since 1.140.0 * * @param string $content Content to search for the button. * @return bool TRUE if tag is found, FALSE if not. */ public function has_placed_tag_in_content( $content ) { $search_string = 'Sign in with Google button added by Site Kit'; $search_translatable_string = __( 'Sign in with Google button added by Site Kit', 'google-site-kit' ); if ( strpos( $content, $search_string ) !== false || strpos( $content, $search_translatable_string ) !== false ) { return Module_Tag_Matchers::TAG_EXISTS_WITH_COMMENTS; } return Module_Tag_Matchers::NO_TAG_FOUND; } } includes/Modules/Site_Verification.php 0000604 00000037471 14717744000 0014115 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Site_Verification * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Authentication\Verification; use Google\Site_Kit\Core\Authentication\Verification_File; use Google\Site_Kit\Core\Authentication\Verification_Meta; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\Util\Exit_Handler; use Google\Site_Kit\Core\Util\Google_URL_Matcher_Trait; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit_Dependencies\Google\Service\Exception as Google_Service_Exception; use Google\Site_Kit_Dependencies\Google\Service\SiteVerification as Google_Service_SiteVerification; use Google\Site_Kit_Dependencies\Google\Service\SiteVerification\SiteVerificationWebResourceGettokenRequest as Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest; use Google\Site_Kit_Dependencies\Google\Service\SiteVerification\SiteVerificationWebResourceGettokenRequestSite as Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite; use Google\Site_Kit_Dependencies\Google\Service\SiteVerification\SiteVerificationWebResourceResource as Google_Service_SiteVerification_SiteVerificationWebResourceResource; use Google\Site_Kit_Dependencies\Google\Service\SiteVerification\SiteVerificationWebResourceResourceSite as Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use WP_Error; use Exception; /** * Class representing the Site Verification module. * * @since 1.0.0 * @access private * @ignore */ final class Site_Verification extends Module implements Module_With_Scopes { use Method_Proxy_Trait; use Module_With_Scopes_Trait; use Google_URL_Matcher_Trait; /** * Module slug name. */ const MODULE_SLUG = 'site-verification'; /** * Meta site verification type. */ const VERIFICATION_TYPE_META = 'META'; /** * File site verification type. */ const VERIFICATION_TYPE_FILE = 'FILE'; /** * Verification meta tag cache key. */ const TRANSIENT_VERIFICATION_META_TAGS = 'googlesitekit_verification_meta_tags'; /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $this->register_scopes_hook(); add_action( 'googlesitekit_verify_site_ownership', $this->get_method_proxy( 'handle_verification_token' ), 10, 2 ); $print_site_verification_meta = function () { $this->print_site_verification_meta(); }; add_action( 'wp_head', $print_site_verification_meta ); add_action( 'login_head', $print_site_verification_meta ); add_action( 'googlesitekit_authorize_user', function () { if ( ! $this->authentication->credentials()->using_proxy() ) { return; } $this->user_options->set( Verification::OPTION, 'verified' ); } ); add_action( 'init', function () { $request_uri = $this->context->input()->filter( INPUT_SERVER, 'REQUEST_URI' ); $request_method = $this->context->input()->filter( INPUT_SERVER, 'REQUEST_METHOD' ); if ( ( $request_uri && $request_method ) && 'GET' === strtoupper( $request_method ) && preg_match( '/^\/google(?P<token>[a-z0-9]+)\.html$/', $request_uri, $matches ) ) { $this->serve_verification_file( $matches['token'] ); } } ); $clear_verification_meta_cache = function ( $meta_id, $object_id, $meta_key ) { if ( $this->user_options->get_meta_key( Verification_Meta::OPTION ) === $meta_key ) { $this->transients->delete( self::TRANSIENT_VERIFICATION_META_TAGS ); } }; add_action( 'added_user_meta', $clear_verification_meta_cache, 10, 3 ); add_action( 'updated_user_meta', $clear_verification_meta_cache, 10, 3 ); add_action( 'deleted_user_meta', $clear_verification_meta_cache, 10, 3 ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.0.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( 'https://www.googleapis.com/auth/siteverification', ); } /** * Gets map of datapoint to definition data for each. * * @since 1.12.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:verification' => array( 'service' => 'siteverification' ), 'POST:verification' => array( 'service' => 'siteverification' ), 'GET:verification-token' => array( 'service' => 'siteverification' ), 'GET:verified-sites' => array( 'service' => 'siteverification' ), ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:verification': return $this->get_siteverification_service()->webResource->listWebResource(); case 'POST:verification': if ( ! isset( $data['siteURL'] ) ) { /* translators: %s: Missing parameter name */ return new WP_Error( 'missing_required_param', sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'siteURL' ), array( 'status' => 400 ) ); } return function () use ( $data ) { $current_user = wp_get_current_user(); if ( ! $current_user || ! $current_user->exists() ) { return new WP_Error( 'unknown_user', __( 'Unknown user.', 'google-site-kit' ) ); } $site = $this->get_data( 'verification', $data ); if ( is_wp_error( $site ) ) { return $site; } $sites = array(); if ( ! empty( $site['verified'] ) ) { $this->authentication->verification()->set( true ); return $site; } else { $token = $this->get_data( 'verification-token', $data ); if ( is_wp_error( $token ) ) { return $token; } $this->authentication->verification_meta()->set( $token['token'] ); $restore_defer = $this->with_client_defer( false ); $errors = new WP_Error(); foreach ( URL::permute_site_url( $data['siteURL'] ) as $url ) { $site = new Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite(); $site->setType( 'SITE' ); $site->setIdentifier( $url ); $resource = new Google_Service_SiteVerification_SiteVerificationWebResourceResource(); $resource->setSite( $site ); try { $sites[] = $this->get_siteverification_service()->webResource->insert( 'META', $resource ); } catch ( Google_Service_Exception $e ) { $messages = wp_list_pluck( $e->getErrors(), 'message' ); $message = array_shift( $messages ); $errors->add( $e->getCode(), $message, array( 'url' => $url ) ); } catch ( Exception $e ) { $errors->add( $e->getCode(), $e->getMessage(), array( 'url' => $url ) ); } } $restore_defer(); if ( empty( $sites ) ) { return $errors; } } $this->authentication->verification()->set( true ); try { $verification = $this->get_siteverification_service()->webResource->get( $data['siteURL'] ); } catch ( Google_Service_Exception $e ) { $verification = array_shift( $sites ); } return array( 'identifier' => $verification->getSite()->getIdentifier(), 'type' => $verification->getSite()->getType(), 'verified' => true, ); }; case 'GET:verification-token': $existing_token = $this->authentication->verification_meta()->get(); if ( ! empty( $existing_token ) ) { return function () use ( $existing_token ) { return array( 'method' => 'META', 'token' => $existing_token, ); }; } $current_url = ! empty( $data['siteURL'] ) ? $data['siteURL'] : $this->context->get_reference_site_url(); $site = new Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite(); $site->setIdentifier( $current_url ); $site->setType( 'SITE' ); $request = new Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest(); $request->setSite( $site ); $request->setVerificationMethod( 'META' ); return $this->get_siteverification_service()->webResource->getToken( $request ); case 'GET:verified-sites': return $this->get_siteverification_service()->webResource->listWebResource(); } return parent::create_data_request( $data ); } /** * Parses a response for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:verification': if ( $data['siteURL'] ) { $current_url = $data['siteURL']; } else { $current_url = $this->context->get_reference_site_url(); } $items = $response->getItems(); foreach ( $items as $item ) { $site = $item->getSite(); $match = false; if ( 'INET_DOMAIN' === $site->getType() ) { $match = $this->is_domain_match( $site->getIdentifier(), $current_url ); } elseif ( 'SITE' === $site->getType() ) { $match = $this->is_url_match( $site->getIdentifier(), $current_url ); } if ( $match ) { return array( 'identifier' => $site->getIdentifier(), 'type' => $site->getType(), 'verified' => true, ); } } return array( 'identifier' => $current_url, 'type' => 'SITE', 'verified' => false, ); case 'GET:verification-token': if ( is_array( $response ) ) { return $response; } return array( 'method' => $response->getMethod(), 'token' => $response->getToken(), ); case 'GET:verified-sites': $items = $response->getItems(); $data = array(); foreach ( $items as $item ) { $site = $item->getSite(); $data[ $item->getId() ] = array( 'identifier' => $site->getIdentifier(), 'type' => $site->getType(), ); } return $data; } return parent::parse_data_response( $data, $response ); } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => 'site-verification', 'name' => _x( 'Site Verification', 'Service name', 'google-site-kit' ), 'description' => __( 'Google Site Verification allows you to manage ownership of your site.', 'google-site-kit' ), 'order' => 0, 'homepage' => __( 'https://www.google.com/webmasters/verification/home', 'google-site-kit' ), 'internal' => true, ); } /** * Get the configured siteverification service instance. * * @return Google_Service_SiteVerification The Site Verification API service. */ private function get_siteverification_service() { return $this->get_service( 'siteverification' ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { return array( 'siteverification' => new Google_Service_SiteVerification( $client ), ); } /** * Handles receiving a verification token for a user by the authentication proxy. * * @since 1.1.0 * @since 1.1.2 Runs on `admin_action_googlesitekit_proxy_setup` and no longer redirects directly. * @since 1.48.0 Token and method are now passed as arguments. * @since 1.49.0 No longer uses the `googlesitekit_proxy_setup_url_params` filter to set the `verify` and `verification_method` query params. * * @param string $token Verification token. * @param string $method Verification method type. */ private function handle_verification_token( $token, $method ) { switch ( $method ) { case self::VERIFICATION_TYPE_FILE: $this->authentication->verification_file()->set( $token ); break; case self::VERIFICATION_TYPE_META: $this->authentication->verification_meta()->set( $token ); } } /** * Prints site verification meta in wp_head(). * * @since 1.1.0 */ private function print_site_verification_meta() { // Get verification meta tags for all users. $verification_tags = $this->get_all_verification_tags(); $allowed_html = array( 'meta' => array( 'name' => array(), 'content' => array(), ), ); foreach ( $verification_tags as $verification_tag ) { $verification_tag = html_entity_decode( $verification_tag ); if ( 0 !== strpos( $verification_tag, '<meta ' ) ) { $verification_tag = '<meta name="google-site-verification" content="' . esc_attr( $verification_tag ) . '">'; } echo wp_kses( $verification_tag, $allowed_html ); } } /** * Gets all available verification tags for all users. * * This is a special method needed for printing all meta tags in the frontend. * * @since 1.4.0 * * @return array List of verification meta tags. */ private function get_all_verification_tags() { global $wpdb; $meta_tags = $this->transients->get( self::TRANSIENT_VERIFICATION_META_TAGS ); if ( ! is_array( $meta_tags ) ) { $meta_key = $this->user_options->get_meta_key( Verification_Meta::OPTION ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery $meta_tags = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->usermeta} WHERE meta_key = %s", $meta_key ) ); $this->transients->set( self::TRANSIENT_VERIFICATION_META_TAGS, $meta_tags ); } return array_filter( $meta_tags ); } /** * Serves the verification file response. * * @param string $verification_token Token portion of verification. * * @since 1.1.0 */ private function serve_verification_file( $verification_token ) { $user_ids = ( new \WP_User_Query( array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_key' => $this->user_options->get_meta_key( Verification_File::OPTION ), // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_value 'meta_value' => $verification_token, 'fields' => 'id', 'number' => 1, ) ) )->get_results(); $user_id = array_shift( $user_ids ) ?: 0; if ( $user_id && user_can( $user_id, Permissions::SETUP ) ) { printf( 'google-site-verification: google%s.html', esc_html( $verification_token ) ); ( new Exit_Handler() )->invoke(); } // If the user does not have the necessary permissions then let the request pass through. } /** * Returns TRUE to indicate that this module should be always active. * * @since 1.49.0 * * @return bool Returns `true` indicating that this module should be activated all the time. */ public static function is_force_active() { return true; } } includes/Modules/Tag_Manager.php 0000604 00000046221 14717744000 0012645 0 ustar 00 <?php /** * Class Google\Site_Kit\Modules\Tag_Manager * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Modules; use Exception; use Google\Site_Kit\Context; use Google\Site_Kit\Core\Assets\Asset; use Google\Site_Kit\Core\Assets\Script; use Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client; use Google\Site_Kit\Core\Modules\Module; use Google\Site_Kit\Core\Modules\Module_Settings; use Google\Site_Kit\Core\Modules\Module_With_Assets; use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Deactivation; use Google\Site_Kit\Core\Modules\Module_With_Debug_Fields; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scopes_Trait; use Google\Site_Kit\Core\Modules\Module_With_Service_Entity; use Google\Site_Kit\Core\Modules\Module_With_Settings; use Google\Site_Kit\Core\Modules\Module_With_Settings_Trait; use Google\Site_Kit\Core\Modules\Module_With_Tag; use Google\Site_Kit\Core\Modules\Module_With_Tag_Trait; use Google\Site_Kit\Core\Modules\Tag_Manager\Tag_Matchers; use Google\Site_Kit\Core\Modules\Tags\Module_Tag_Matchers; use Google\Site_Kit\Core\REST_API\Data_Request; use Google\Site_Kit\Core\REST_API\Exception\Invalid_Datapoint_Exception; use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; use Google\Site_Kit\Core\Site_Health\Debug_Data; use Google\Site_Kit\Core\Util\Method_Proxy_Trait; use Google\Site_Kit\Core\Util\Sort; use Google\Site_Kit\Core\Util\URL; use Google\Site_Kit\Modules\Tag_Manager\AMP_Tag; use Google\Site_Kit\Modules\Tag_Manager\Settings; use Google\Site_Kit\Modules\Tag_Manager\Tag_Guard; use Google\Site_Kit\Modules\Tag_Manager\Web_Tag; use Google\Site_Kit_Dependencies\Google\Service\TagManager as Google_Service_TagManager; use Google\Site_Kit_Dependencies\Google\Service\TagManager\Container as Google_Service_TagManager_Container; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use WP_Error; /** * Class representing the Tag Manager module. * * @since 1.0.0 * @access private * @ignore */ final class Tag_Manager extends Module implements Module_With_Scopes, Module_With_Settings, Module_With_Assets, Module_With_Debug_Fields, Module_With_Owner, Module_With_Service_Entity, Module_With_Deactivation, Module_With_Tag { use Method_Proxy_Trait; use Module_With_Assets_Trait; use Module_With_Owner_Trait; use Module_With_Scopes_Trait; use Module_With_Settings_Trait; use Module_With_Tag_Trait; /** * Module slug name. */ const MODULE_SLUG = 'tagmanager'; /** * Container usage context for web. */ const USAGE_CONTEXT_WEB = 'web'; /** * Container usage context for AMP. */ const USAGE_CONTEXT_AMP = 'amp'; /** * Map of container usageContext to option key for containerID. * * @var array */ protected $context_map = array( self::USAGE_CONTEXT_WEB => 'containerID', self::USAGE_CONTEXT_AMP => 'ampContainerID', ); /** * Registers functionality through WordPress hooks. * * @since 1.0.0 */ public function register() { $this->register_scopes_hook(); // Tag Manager tag placement logic. add_action( 'template_redirect', array( $this, 'register_tag' ) ); } /** * Gets required Google OAuth scopes for the module. * * @since 1.0.0 * * @return array List of Google OAuth scopes. */ public function get_scopes() { return array( 'https://www.googleapis.com/auth/tagmanager.readonly', ); } /** * Checks whether the module is connected. * * A module being connected means that all steps required as part of its activation are completed. * * @since 1.0.0 * * @return bool True if module is connected, false otherwise. */ public function is_connected() { $settings = $this->get_settings()->get(); $amp_mode = $this->context->get_amp_mode(); switch ( $amp_mode ) { case Context::AMP_MODE_PRIMARY: $container_ids = array( $settings['ampContainerID'] ); break; case Context::AMP_MODE_SECONDARY: $container_ids = array( $settings['containerID'], $settings['ampContainerID'] ); break; default: $container_ids = array( $settings['containerID'] ); } $container_id_errors = array_filter( $container_ids, function ( $container_id ) { return ! $container_id; } ); if ( ! empty( $container_id_errors ) ) { return false; } return parent::is_connected(); } /** * Cleans up when the module is deactivated. * * @since 1.0.0 */ public function on_deactivation() { $this->get_settings()->delete(); } /** * Gets an array of debug field definitions. * * @since 1.5.0 * * @return array */ public function get_debug_fields() { $settings = $this->get_settings()->get(); return array( 'tagmanager_account_id' => array( 'label' => __( 'Tag Manager account ID', 'google-site-kit' ), 'value' => $settings['accountID'], 'debug' => Debug_Data::redact_debug_value( $settings['accountID'] ), ), 'tagmanager_container_id' => array( 'label' => __( 'Tag Manager container ID', 'google-site-kit' ), 'value' => $settings['containerID'], 'debug' => Debug_Data::redact_debug_value( $settings['containerID'], 7 ), ), 'tagmanager_amp_container_id' => array( 'label' => __( 'Tag Manager AMP container ID', 'google-site-kit' ), 'value' => $settings['ampContainerID'], 'debug' => Debug_Data::redact_debug_value( $settings['ampContainerID'], 7 ), ), 'tagmanager_use_snippet' => array( 'label' => __( 'Tag Manager snippet placed', 'google-site-kit' ), 'value' => $settings['useSnippet'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 'debug' => $settings['useSnippet'] ? 'yes' : 'no', ), ); } /** * Sanitizes a string to be used for a container name. * * @since 1.0.4 * * @param string $name String to sanitize. * * @return string */ public static function sanitize_container_name( $name ) { // Remove any leading or trailing whitespace. $name = trim( $name ); // Must not start with an underscore. $name = ltrim( $name, '_' ); // Decode entities for special characters so that they are stripped properly. $name = wp_specialchars_decode( $name, ENT_QUOTES ); // Convert accents to basic characters to prevent them from being stripped. $name = remove_accents( $name ); // Strip all non-simple characters. $name = preg_replace( '/[^a-zA-Z0-9_., -]/', '', $name ); // Collapse multiple whitespaces. $name = preg_replace( '/\s+/', ' ', $name ); return $name; } /** * Gets map of datapoint to definition data for each. * * @since 1.9.0 * * @return array Map of datapoints to their definitions. */ protected function get_datapoint_definitions() { return array( 'GET:accounts' => array( 'service' => 'tagmanager' ), 'GET:accounts-containers' => array( 'service' => 'tagmanager' ), 'GET:containers' => array( 'service' => 'tagmanager' ), 'POST:create-container' => array( 'service' => 'tagmanager', 'scopes' => array( 'https://www.googleapis.com/auth/tagmanager.edit.containers' ), 'request_scopes_message' => __( 'Additional permissions are required to create a new Tag Manager container on your behalf.', 'google-site-kit' ), ), 'GET:live-container-version' => array( 'service' => 'tagmanager' ), ); } /** * Creates a request object for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @return RequestInterface|callable|WP_Error Request object or callable on success, or WP_Error on failure. * * @throws Invalid_Datapoint_Exception Thrown if the datapoint does not exist. */ protected function create_data_request( Data_Request $data ) { switch ( "{$data->method}:{$data->datapoint}" ) { // Intentional fallthrough. case 'GET:accounts': case 'GET:accounts-containers': return $this->get_tagmanager_service()->accounts->listAccounts(); case 'GET:containers': if ( ! isset( $data['accountID'] ) ) { /* translators: %s: Missing parameter name */ return new WP_Error( 'missing_required_param', sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } return $this->get_tagmanager_service()->accounts_containers->listAccountsContainers( "accounts/{$data['accountID']}" ); case 'POST:create-container': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } $usage_context = $data['usageContext'] ?: array( self::USAGE_CONTEXT_WEB, self::USAGE_CONTEXT_AMP ); if ( empty( $this->context_map[ $usage_context ] ) ) { return new WP_Error( 'invalid_param', sprintf( /* translators: 1: Invalid parameter name, 2: list of valid values */ __( 'Request parameter %1$s is not one of %2$s', 'google-site-kit' ), 'usageContext', implode( ', ', array_keys( $this->context_map ) ) ), array( 'status' => 400 ) ); } $account_id = $data['accountID']; if ( $data['name'] ) { $container_name = $data['name']; } else { // Use site name for container, fallback to domain of reference URL. $container_name = get_bloginfo( 'name' ) ?: URL::parse( $this->context->get_reference_site_url(), PHP_URL_HOST ); // Prevent naming conflict (Tag Manager does not allow more than one with same name). if ( self::USAGE_CONTEXT_AMP === $usage_context ) { $container_name .= ' AMP'; } } $container = new Google_Service_TagManager_Container(); $container->setName( self::sanitize_container_name( $container_name ) ); $container->setUsageContext( (array) $usage_context ); return $this->get_tagmanager_service()->accounts_containers->create( "accounts/{$account_id}", $container ); case 'GET:live-container-version': if ( ! isset( $data['accountID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ), array( 'status' => 400 ) ); } if ( ! isset( $data['internalContainerID'] ) ) { return new WP_Error( 'missing_required_param', /* translators: %s: Missing parameter name */ sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'internalContainerID' ), array( 'status' => 400 ) ); } return $this->get_tagmanager_service()->accounts_containers_versions->live( "accounts/{$data['accountID']}/containers/{$data['internalContainerID']}" ); } return parent::create_data_request( $data ); } /** * Creates GTM Container. * * @since 1.0.0 * @param string $account_id The account ID. * @param string|array $usage_context The container usage context(s). * * @return string Container public ID. * @throws Exception Throws an exception if raised during container creation. */ protected function create_container( $account_id, $usage_context = self::USAGE_CONTEXT_WEB ) { $restore_defer = $this->with_client_defer( false ); // Use site name for container, fallback to domain of reference URL. $container_name = get_bloginfo( 'name' ) ?: URL::parse( $this->context->get_reference_site_url(), PHP_URL_HOST ); // Prevent naming conflict (Tag Manager does not allow more than one with same name). if ( self::USAGE_CONTEXT_AMP === $usage_context ) { $container_name .= ' AMP'; } $container_name = self::sanitize_container_name( $container_name ); $container = new Google_Service_TagManager_Container(); $container->setName( $container_name ); $container->setUsageContext( (array) $usage_context ); try { $new_container = $this->get_tagmanager_service()->accounts_containers->create( "accounts/{$account_id}", $container ); } catch ( Exception $exception ) { $restore_defer(); throw $exception; } $restore_defer(); return $new_container->getPublicId(); } /** * Parses a response for the given datapoint. * * @since 1.0.0 * * @param Data_Request $data Data request object. * @param mixed $response Request response. * * @return mixed Parsed response data on success, or WP_Error on failure. */ protected function parse_data_response( Data_Request $data, $response ) { switch ( "{$data->method}:{$data->datapoint}" ) { case 'GET:accounts': /* @var Google_Service_TagManager_ListAccountsResponse $response List accounts response. */ return Sort::case_insensitive_list_sort( $response->getAccount(), 'name' ); case 'GET:accounts-containers': /* @var Google_Service_TagManager_ListAccountsResponse $response List accounts response. */ $accounts = Sort::case_insensitive_list_sort( $response->getAccount(), 'name' ); $response = array( // TODO: Parse this response to a regular array. 'accounts' => $accounts, 'containers' => array(), ); if ( 0 === count( $response['accounts'] ) ) { return $response; } if ( $data['accountID'] ) { $account_id = $data['accountID']; } else { $account_id = $response['accounts'][0]->getAccountId(); } $containers = $this->get_data( 'containers', array( 'accountID' => $account_id, 'usageContext' => $data['usageContext'] ?: self::USAGE_CONTEXT_WEB, ) ); if ( is_wp_error( $containers ) ) { return $response; } return array_merge( $response, compact( 'containers' ) ); case 'GET:containers': /* @var Google_Service_TagManager_ListContainersResponse $response Response object. */ $usage_context = $data['usageContext'] ?: array( self::USAGE_CONTEXT_WEB, self::USAGE_CONTEXT_AMP ); /* @var Google_Service_TagManager_Container[] $containers Filtered containers. */ $containers = array_filter( (array) $response->getContainer(), function ( Google_Service_TagManager_Container $container ) use ( $usage_context ) { return array_intersect( (array) $usage_context, $container->getUsageContext() ); } ); return Sort::case_insensitive_list_sort( array_values( $containers ), 'name' ); } return parent::parse_data_response( $data, $response ); } /** * Gets the configured TagManager service instance. * * @since 1.2.0 * * @return Google_Service_TagManager instance. * @throws Exception Thrown if the module did not correctly set up the service. */ private function get_tagmanager_service() { return $this->get_service( 'tagmanager' ); } /** * Sets up information about the module. * * @since 1.0.0 * * @return array Associative array of module info. */ protected function setup_info() { return array( 'slug' => self::MODULE_SLUG, 'name' => _x( 'Tag Manager', 'Service name', 'google-site-kit' ), 'description' => __( 'Tag Manager creates an easy to manage way to create tags on your site without updating code', 'google-site-kit' ), 'order' => 6, 'homepage' => __( 'https://tagmanager.google.com/', 'google-site-kit' ), ); } /** * Sets up the Google services the module should use. * * This method is invoked once by {@see Module::get_service()} to lazily set up the services when one is requested * for the first time. * * @since 1.0.0 * @since 1.2.0 Now requires Google_Site_Kit_Client instance. * * @param Google_Site_Kit_Client $client Google client instance. * @return array Google services as $identifier => $service_instance pairs. Every $service_instance must be an * instance of Google_Service. */ protected function setup_services( Google_Site_Kit_Client $client ) { return array( 'tagmanager' => new Google_Service_TagManager( $client ), ); } /** * Sets up the module's settings instance. * * @since 1.2.0 * * @return Module_Settings */ protected function setup_settings() { return new Settings( $this->options ); } /** * Sets up the module's assets to register. * * @since 1.11.0 * * @return Asset[] List of Asset objects. */ protected function setup_assets() { $base_url = $this->context->url( 'dist/assets/' ); $dependencies = array( 'googlesitekit-api', 'googlesitekit-data', 'googlesitekit-datastore-site', 'googlesitekit-modules', 'googlesitekit-vendor', 'googlesitekit-components', ); $analytics_exists = apply_filters( 'googlesitekit_module_exists', false, 'analytics-4' ); // Note that the Tag Manager bundle will make use of the Analytics bundle if it's available, // but can also function without it, hence the conditional include of the Analytics bundle here. if ( $analytics_exists ) { $dependencies[] = 'googlesitekit-modules-analytics-4'; } return array( new Script( 'googlesitekit-modules-tagmanager', array( 'src' => $base_url . 'js/googlesitekit-modules-tagmanager.js', 'dependencies' => $dependencies, ) ), ); } /** * Registers the Tag Manager tag. * * @since 1.24.0 * @since 1.119.0 Made method public. */ public function register_tag() { $is_amp = $this->context->is_amp(); $module_settings = $this->get_settings(); $settings = $module_settings->get(); $tag = $is_amp ? new AMP_Tag( $settings['ampContainerID'], self::MODULE_SLUG ) : new Web_Tag( $settings['containerID'], self::MODULE_SLUG ); if ( ! $tag->is_tag_blocked() ) { $tag->use_guard( new Tag_Verify_Guard( $this->context->input() ) ); $tag->use_guard( new Tag_Guard( $module_settings, $is_amp ) ); $tag->use_guard( new Tag_Environment_Type_Guard() ); if ( $tag->can_register() ) { $tag->register(); } } } /** * Returns the Module_Tag_Matchers instance. * * @since 1.119.0 * * @return Module_Tag_Matchers Module_Tag_Matchers instance. */ public function get_tag_matchers() { return new Tag_Matchers(); } /** * Checks if the current user has access to the current configured service entity. * * @since 1.77.0 * * @return boolean|WP_Error */ public function check_service_entity_access() { $is_amp_mode = in_array( $this->context->get_amp_mode(), array( Context::AMP_MODE_PRIMARY, Context::AMP_MODE_SECONDARY ), true ); $settings = $this->get_settings()->get(); $account_id = $settings['accountID']; $configured_containers = $is_amp_mode ? array( $settings['containerID'], $settings['ampContainerID'] ) : array( $settings['containerID'] ); try { $containers = $this->get_tagmanager_service()->accounts_containers->listAccountsContainers( "accounts/{$account_id}" ); } catch ( Exception $e ) { if ( $e->getCode() === 404 ) { return false; } return $this->exception_to_error( $e ); } $all_containers = array_map( function ( $container ) { return $container->getPublicId(); }, $containers->getContainer() ); return empty( array_diff( $configured_containers, $all_containers ) ); } } includes/vendor/composer/autoload_classmap.php 0000604 00000110754 14717744000 0015712 0 ustar 00 <?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 'Google\\Site_Kit\\Context' => $baseDir . '/Context.php', 'Google\\Site_Kit\\Core\\Admin\\Authorize_Application' => $baseDir . '/Core/Admin/Authorize_Application.php', 'Google\\Site_Kit\\Core\\Admin\\Available_Tools' => $baseDir . '/Core/Admin/Available_Tools.php', 'Google\\Site_Kit\\Core\\Admin\\Dashboard' => $baseDir . '/Core/Admin/Dashboard.php', 'Google\\Site_Kit\\Core\\Admin\\Notice' => $baseDir . '/Core/Admin/Notice.php', 'Google\\Site_Kit\\Core\\Admin\\Notices' => $baseDir . '/Core/Admin/Notices.php', 'Google\\Site_Kit\\Core\\Admin\\Plugin_Action_Links' => $baseDir . '/Core/Admin/Plugin_Action_Links.php', 'Google\\Site_Kit\\Core\\Admin\\Plugin_Row_Meta' => $baseDir . '/Core/Admin/Plugin_Row_Meta.php', 'Google\\Site_Kit\\Core\\Admin\\Pointer' => $baseDir . '/Core/Admin/Pointer.php', 'Google\\Site_Kit\\Core\\Admin\\Pointers' => $baseDir . '/Core/Admin/Pointers.php', 'Google\\Site_Kit\\Core\\Admin\\Screen' => $baseDir . '/Core/Admin/Screen.php', 'Google\\Site_Kit\\Core\\Admin\\Screens' => $baseDir . '/Core/Admin/Screens.php', 'Google\\Site_Kit\\Core\\Admin\\Standalone' => $baseDir . '/Core/Admin/Standalone.php', 'Google\\Site_Kit\\Core\\Admin_Bar\\Admin_Bar' => $baseDir . '/Core/Admin_Bar/Admin_Bar.php', 'Google\\Site_Kit\\Core\\Admin_Bar\\Admin_Bar_Enabled' => $baseDir . '/Core/Admin_Bar/Admin_Bar_Enabled.php', 'Google\\Site_Kit\\Core\\Assets\\Asset' => $baseDir . '/Core/Assets/Asset.php', 'Google\\Site_Kit\\Core\\Assets\\Assets' => $baseDir . '/Core/Assets/Assets.php', 'Google\\Site_Kit\\Core\\Assets\\Manifest' => $baseDir . '/Core/Assets/Manifest.php', 'Google\\Site_Kit\\Core\\Assets\\Script' => $baseDir . '/Core/Assets/Script.php', 'Google\\Site_Kit\\Core\\Assets\\Script_Data' => $baseDir . '/Core/Assets/Script_Data.php', 'Google\\Site_Kit\\Core\\Assets\\Stylesheet' => $baseDir . '/Core/Assets/Stylesheet.php', 'Google\\Site_Kit\\Core\\Authentication\\Authentication' => $baseDir . '/Core/Authentication/Authentication.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\Client_Factory' => $baseDir . '/Core/Authentication/Clients/Client_Factory.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\Google_Site_Kit_Client' => $baseDir . '/Core/Authentication/Clients/Google_Site_Kit_Client.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\Google_Site_Kit_Proxy_Client' => $baseDir . '/Core/Authentication/Clients/Google_Site_Kit_Proxy_Client.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\OAuth2' => $baseDir . '/Core/Authentication/Clients/OAuth2.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\OAuth_Client' => $baseDir . '/Core/Authentication/Clients/OAuth_Client.php', 'Google\\Site_Kit\\Core\\Authentication\\Clients\\OAuth_Client_Base' => $baseDir . '/Core/Authentication/Clients/OAuth_Client_Base.php', 'Google\\Site_Kit\\Core\\Authentication\\Connected_Proxy_URL' => $baseDir . '/Core/Authentication/Connected_Proxy_URL.php', 'Google\\Site_Kit\\Core\\Authentication\\Credentials' => $baseDir . '/Core/Authentication/Credentials.php', 'Google\\Site_Kit\\Core\\Authentication\\Disconnected_Reason' => $baseDir . '/Core/Authentication/Disconnected_Reason.php', 'Google\\Site_Kit\\Core\\Authentication\\Exception\\Exchange_Site_Code_Exception' => $baseDir . '/Core/Authentication/Exception/Exchange_Site_Code_Exception.php', 'Google\\Site_Kit\\Core\\Authentication\\Exception\\Google_OAuth_Exception' => $baseDir . '/Core/Authentication/Exception/Google_OAuth_Exception.php', 'Google\\Site_Kit\\Core\\Authentication\\Exception\\Google_Proxy_Code_Exception' => $baseDir . '/Core/Authentication/Exception/Google_Proxy_Code_Exception.php', 'Google\\Site_Kit\\Core\\Authentication\\Exception\\Insufficient_Scopes_Exception' => $baseDir . '/Core/Authentication/Exception/Insufficient_Scopes_Exception.php', 'Google\\Site_Kit\\Core\\Authentication\\Exception\\Missing_Verification_Exception' => $baseDir . '/Core/Authentication/Exception/Missing_Verification_Exception.php', 'Google\\Site_Kit\\Core\\Authentication\\Google_Proxy' => $baseDir . '/Core/Authentication/Google_Proxy.php', 'Google\\Site_Kit\\Core\\Authentication\\Guards\\Site_Connected_Guard' => $baseDir . '/Core/Authentication/Guards/Site_Connected_Guard.php', 'Google\\Site_Kit\\Core\\Authentication\\Guards\\Using_Proxy_Connection_Guard' => $baseDir . '/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php', 'Google\\Site_Kit\\Core\\Authentication\\Has_Connected_Admins' => $baseDir . '/Core/Authentication/Has_Connected_Admins.php', 'Google\\Site_Kit\\Core\\Authentication\\Has_Multiple_Admins' => $baseDir . '/Core/Authentication/Has_Multiple_Admins.php', 'Google\\Site_Kit\\Core\\Authentication\\Initial_Version' => $baseDir . '/Core/Authentication/Initial_Version.php', 'Google\\Site_Kit\\Core\\Authentication\\Owner_ID' => $baseDir . '/Core/Authentication/Owner_ID.php', 'Google\\Site_Kit\\Core\\Authentication\\Profile' => $baseDir . '/Core/Authentication/Profile.php', 'Google\\Site_Kit\\Core\\Authentication\\REST_Authentication_Controller' => $baseDir . '/Core/Authentication/REST_Authentication_Controller.php', 'Google\\Site_Kit\\Core\\Authentication\\Setup' => $baseDir . '/Core/Authentication/Setup.php', 'Google\\Site_Kit\\Core\\Authentication\\Token' => $baseDir . '/Core/Authentication/Token.php', 'Google\\Site_Kit\\Core\\Authentication\\Verification' => $baseDir . '/Core/Authentication/Verification.php', 'Google\\Site_Kit\\Core\\Authentication\\Verification_File' => $baseDir . '/Core/Authentication/Verification_File.php', 'Google\\Site_Kit\\Core\\Authentication\\Verification_Meta' => $baseDir . '/Core/Authentication/Verification_Meta.php', 'Google\\Site_Kit\\Core\\CLI\\Authentication_CLI_Command' => $baseDir . '/Core/CLI/Authentication_CLI_Command.php', 'Google\\Site_Kit\\Core\\CLI\\CLI_Command' => $baseDir . '/Core/CLI/CLI_Command.php', 'Google\\Site_Kit\\Core\\CLI\\CLI_Commands' => $baseDir . '/Core/CLI/CLI_Commands.php', 'Google\\Site_Kit\\Core\\CLI\\Reset_CLI_Command' => $baseDir . '/Core/CLI/Reset_CLI_Command.php', 'Google\\Site_Kit\\Core\\Consent_Mode\\Consent_Mode' => $baseDir . '/Core/Consent_Mode/Consent_Mode.php', 'Google\\Site_Kit\\Core\\Consent_Mode\\Consent_Mode_Settings' => $baseDir . '/Core/Consent_Mode/Consent_Mode_Settings.php', 'Google\\Site_Kit\\Core\\Consent_Mode\\REST_Consent_Mode_Controller' => $baseDir . '/Core/Consent_Mode/REST_Consent_Mode_Controller.php', 'Google\\Site_Kit\\Core\\Consent_Mode\\Regions' => $baseDir . '/Core/Consent_Mode/Regions.php', 'Google\\Site_Kit\\Core\\Contracts\\WP_Errorable' => $baseDir . '/Core/Contracts/WP_Errorable.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\Contact_Form_7' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/Contact_Form_7.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\Easy_Digital_Downloads' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/Easy_Digital_Downloads.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\Mailchimp' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/Mailchimp.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\Ninja_Forms' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/Ninja_Forms.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\OptinMonster' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/OptinMonster.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\PopupMaker' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/PopupMaker.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\WPForms' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/WPForms.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Event_Providers\\WooCommerce' => $baseDir . '/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Events_Provider' => $baseDir . '/Core/Conversion_Tracking/Conversion_Events_Provider.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Tracking' => $baseDir . '/Core/Conversion_Tracking/Conversion_Tracking.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\Conversion_Tracking_Settings' => $baseDir . '/Core/Conversion_Tracking/Conversion_Tracking_Settings.php', 'Google\\Site_Kit\\Core\\Conversion_Tracking\\REST_Conversion_Tracking_Controller' => $baseDir . '/Core/Conversion_Tracking/REST_Conversion_Tracking_Controller.php', 'Google\\Site_Kit\\Core\\Dashboard_Sharing\\Activity_Metrics\\Active_Consumers' => $baseDir . '/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php', 'Google\\Site_Kit\\Core\\Dashboard_Sharing\\Activity_Metrics\\Activity_Metrics' => $baseDir . '/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php', 'Google\\Site_Kit\\Core\\Dashboard_Sharing\\Dashboard_Sharing' => $baseDir . '/Core/Dashboard_Sharing/Dashboard_Sharing.php', 'Google\\Site_Kit\\Core\\Dashboard_Sharing\\View_Only_Pointer' => $baseDir . '/Core/Dashboard_Sharing/View_Only_Pointer.php', 'Google\\Site_Kit\\Core\\Dismissals\\Dismissals' => $baseDir . '/Core/Dismissals/Dismissals.php', 'Google\\Site_Kit\\Core\\Dismissals\\Dismissed_Items' => $baseDir . '/Core/Dismissals/Dismissed_Items.php', 'Google\\Site_Kit\\Core\\Dismissals\\REST_Dismissals_Controller' => $baseDir . '/Core/Dismissals/REST_Dismissals_Controller.php', 'Google\\Site_Kit\\Core\\Expirables\\Expirable_Items' => $baseDir . '/Core/Expirables/Expirable_Items.php', 'Google\\Site_Kit\\Core\\Expirables\\Expirables' => $baseDir . '/Core/Expirables/Expirables.php', 'Google\\Site_Kit\\Core\\Expirables\\REST_Expirable_Items_Controller' => $baseDir . '/Core/Expirables/REST_Expirable_Items_Controller.php', 'Google\\Site_Kit\\Core\\Feature_Tours\\Dismissed_Tours' => $baseDir . '/Core/Feature_Tours/Dismissed_Tours.php', 'Google\\Site_Kit\\Core\\Feature_Tours\\Feature_Tours' => $baseDir . '/Core/Feature_Tours/Feature_Tours.php', 'Google\\Site_Kit\\Core\\Feature_Tours\\REST_Feature_Tours_Controller' => $baseDir . '/Core/Feature_Tours/REST_Feature_Tours_Controller.php', 'Google\\Site_Kit\\Core\\Guards\\Guard_Interface' => $baseDir . '/Core/Guards/Guard_Interface.php', 'Google\\Site_Kit\\Core\\Key_Metrics\\Key_Metrics' => $baseDir . '/Core/Key_Metrics/Key_Metrics.php', 'Google\\Site_Kit\\Core\\Key_Metrics\\Key_Metrics_Settings' => $baseDir . '/Core/Key_Metrics/Key_Metrics_Settings.php', 'Google\\Site_Kit\\Core\\Key_Metrics\\Key_Metrics_Setup_Completed_By' => $baseDir . '/Core/Key_Metrics/Key_Metrics_Setup_Completed_By.php', 'Google\\Site_Kit\\Core\\Key_Metrics\\Key_Metrics_Setup_New' => $baseDir . '/Core/Key_Metrics/Key_Metrics_Setup_New.php', 'Google\\Site_Kit\\Core\\Key_Metrics\\REST_Key_Metrics_Controller' => $baseDir . '/Core/Key_Metrics/REST_Key_Metrics_Controller.php', 'Google\\Site_Kit\\Core\\Modules\\AdSense\\Tag_Matchers' => $baseDir . '/Modules/AdSense/Tag_Matchers.php', 'Google\\Site_Kit\\Core\\Modules\\Analytics_4\\Tag_Matchers' => $baseDir . '/Modules/Analytics_4/Tag_Matchers.php', 'Google\\Site_Kit\\Core\\Modules\\Datapoint' => $baseDir . '/Core/Modules/Datapoint.php', 'Google\\Site_Kit\\Core\\Modules\\Module' => $baseDir . '/Core/Modules/Module.php', 'Google\\Site_Kit\\Core\\Modules\\Module_Registry' => $baseDir . '/Core/Modules/Module_Registry.php', 'Google\\Site_Kit\\Core\\Modules\\Module_Settings' => $baseDir . '/Core/Modules/Module_Settings.php', 'Google\\Site_Kit\\Core\\Modules\\Module_Sharing_Settings' => $baseDir . '/Core/Modules/Module_Sharing_Settings.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Activation' => $baseDir . '/Core/Modules/Module_With_Activation.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Assets' => $baseDir . '/Core/Modules/Module_With_Assets.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Assets_Trait' => $baseDir . '/Core/Modules/Module_With_Assets_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Data_Available_State' => $baseDir . '/Core/Modules/Module_With_Data_Available_State.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Data_Available_State_Trait' => $baseDir . '/Core/Modules/Module_With_Data_Available_State_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Deactivation' => $baseDir . '/Core/Modules/Module_With_Deactivation.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Debug_Fields' => $baseDir . '/Core/Modules/Module_With_Debug_Fields.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Owner' => $baseDir . '/Core/Modules/Module_With_Owner.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Owner_Trait' => $baseDir . '/Core/Modules/Module_With_Owner_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Persistent_Registration' => $baseDir . '/Core/Modules/Module_With_Persistent_Registration.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Scopes' => $baseDir . '/Core/Modules/Module_With_Scopes.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Scopes_Trait' => $baseDir . '/Core/Modules/Module_With_Scopes_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Service_Entity' => $baseDir . '/Core/Modules/Module_With_Service_Entity.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Settings' => $baseDir . '/Core/Modules/Module_With_Settings.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Settings_Trait' => $baseDir . '/Core/Modules/Module_With_Settings_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Tag' => $baseDir . '/Core/Modules/Module_With_Tag.php', 'Google\\Site_Kit\\Core\\Modules\\Module_With_Tag_Trait' => $baseDir . '/Core/Modules/Module_With_Tag_Trait.php', 'Google\\Site_Kit\\Core\\Modules\\Modules' => $baseDir . '/Core/Modules/Modules.php', 'Google\\Site_Kit\\Core\\Modules\\REST_Dashboard_Sharing_Controller' => $baseDir . '/Core/Modules/REST_Dashboard_Sharing_Controller.php', 'Google\\Site_Kit\\Core\\Modules\\REST_Modules_Controller' => $baseDir . '/Core/Modules/REST_Modules_Controller.php', 'Google\\Site_Kit\\Core\\Modules\\Tag_Manager\\Tag_Matchers' => $baseDir . '/Modules/Tag_Manager/Tag_Matchers.php', 'Google\\Site_Kit\\Core\\Modules\\Tags\\Module_AMP_Tag' => $baseDir . '/Core/Modules/Tags/Module_AMP_Tag.php', 'Google\\Site_Kit\\Core\\Modules\\Tags\\Module_Tag' => $baseDir . '/Core/Modules/Tags/Module_Tag.php', 'Google\\Site_Kit\\Core\\Modules\\Tags\\Module_Tag_Guard' => $baseDir . '/Core/Modules/Tags/Module_Tag_Guard.php', 'Google\\Site_Kit\\Core\\Modules\\Tags\\Module_Tag_Matchers' => $baseDir . '/Core/Modules/Tags/Module_Tag_Matchers.php', 'Google\\Site_Kit\\Core\\Modules\\Tags\\Module_Web_Tag' => $baseDir . '/Core/Modules/Tags/Module_Web_Tag.php', 'Google\\Site_Kit\\Core\\Nonces\\Nonces' => $baseDir . '/Core/Nonces/Nonces.php', 'Google\\Site_Kit\\Core\\Notifications\\Notification' => $baseDir . '/Core/Notifications/Notification.php', 'Google\\Site_Kit\\Core\\Notifications\\Notifications' => $baseDir . '/Core/Notifications/Notifications.php', 'Google\\Site_Kit\\Core\\Permissions\\Permissions' => $baseDir . '/Core/Permissions/Permissions.php', 'Google\\Site_Kit\\Core\\Prompts\\Dismissed_Prompts' => $baseDir . '/Core/Prompts/Dismissed_Prompts.php', 'Google\\Site_Kit\\Core\\Prompts\\Prompts' => $baseDir . '/Core/Prompts/Prompts.php', 'Google\\Site_Kit\\Core\\Prompts\\REST_Prompts_Controller' => $baseDir . '/Core/Prompts/REST_Prompts_Controller.php', 'Google\\Site_Kit\\Core\\REST_API\\Data_Request' => $baseDir . '/Core/REST_API/Data_Request.php', 'Google\\Site_Kit\\Core\\REST_API\\Exception\\Invalid_Datapoint_Exception' => $baseDir . '/Core/REST_API/Exception/Invalid_Datapoint_Exception.php', 'Google\\Site_Kit\\Core\\REST_API\\Exception\\Invalid_Param_Exception' => $baseDir . '/Core/REST_API/Exception/Invalid_Param_Exception.php', 'Google\\Site_Kit\\Core\\REST_API\\Exception\\Missing_Required_Param_Exception' => $baseDir . '/Core/REST_API/Exception/Missing_Required_Param_Exception.php', 'Google\\Site_Kit\\Core\\REST_API\\REST_Route' => $baseDir . '/Core/REST_API/REST_Route.php', 'Google\\Site_Kit\\Core\\REST_API\\REST_Routes' => $baseDir . '/Core/REST_API/REST_Routes.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features' => $baseDir . '/Core/Remote_Features/Remote_Features.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features_Activation' => $baseDir . '/Core/Remote_Features/Remote_Features_Activation.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features_Cron' => $baseDir . '/Core/Remote_Features/Remote_Features_Cron.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features_Fallback' => $baseDir . '/Core/Remote_Features/Remote_Features_Fallback.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features_Provider' => $baseDir . '/Core/Remote_Features/Remote_Features_Provider.php', 'Google\\Site_Kit\\Core\\Remote_Features\\Remote_Features_Syncer' => $baseDir . '/Core/Remote_Features/Remote_Features_Syncer.php', 'Google\\Site_Kit\\Core\\Site_Health\\Debug_Data' => $baseDir . '/Core/Site_Health/Debug_Data.php', 'Google\\Site_Kit\\Core\\Site_Health\\REST_Site_Health_Controller' => $baseDir . '/Core/Site_Health/REST_Site_Health_Controller.php', 'Google\\Site_Kit\\Core\\Site_Health\\Site_Health' => $baseDir . '/Core/Site_Health/Site_Health.php', 'Google\\Site_Kit\\Core\\Site_Health\\Tag_Placement' => $baseDir . '/Core/Site_Health/Tag_Placement.php', 'Google\\Site_Kit\\Core\\Storage\\Cache' => $baseDir . '/Core/Storage/Cache.php', 'Google\\Site_Kit\\Core\\Storage\\Data_Encryption' => $baseDir . '/Core/Storage/Data_Encryption.php', 'Google\\Site_Kit\\Core\\Storage\\Encrypted_Options' => $baseDir . '/Core/Storage/Encrypted_Options.php', 'Google\\Site_Kit\\Core\\Storage\\Encrypted_User_Options' => $baseDir . '/Core/Storage/Encrypted_User_Options.php', 'Google\\Site_Kit\\Core\\Storage\\Options' => $baseDir . '/Core/Storage/Options.php', 'Google\\Site_Kit\\Core\\Storage\\Options_Interface' => $baseDir . '/Core/Storage/Options_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\Post_Meta' => $baseDir . '/Core/Storage/Post_Meta.php', 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Interface' => $baseDir . '/Core/Storage/Post_Meta_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Setting' => $baseDir . '/Core/Storage/Post_Meta_Setting.php', 'Google\\Site_Kit\\Core\\Storage\\Setting' => $baseDir . '/Core/Storage/Setting.php', 'Google\\Site_Kit\\Core\\Storage\\Setting\\List_Setting' => $baseDir . '/Core/Storage/Setting/List_Setting.php', 'Google\\Site_Kit\\Core\\Storage\\Setting_With_Legacy_Keys_Trait' => $baseDir . '/Core/Storage/Setting_With_Legacy_Keys_Trait.php', 'Google\\Site_Kit\\Core\\Storage\\Setting_With_Owned_Keys_Interface' => $baseDir . '/Core/Storage/Setting_With_Owned_Keys_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\Setting_With_Owned_Keys_Trait' => $baseDir . '/Core/Storage/Setting_With_Owned_Keys_Trait.php', 'Google\\Site_Kit\\Core\\Storage\\Setting_With_ViewOnly_Keys_Interface' => $baseDir . '/Core/Storage/Setting_With_ViewOnly_Keys_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\Transients' => $baseDir . '/Core/Storage/Transients.php', 'Google\\Site_Kit\\Core\\Storage\\User_Aware_Interface' => $baseDir . '/Core/Storage/User_Aware_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\User_Aware_Trait' => $baseDir . '/Core/Storage/User_Aware_Trait.php', 'Google\\Site_Kit\\Core\\Storage\\User_Options' => $baseDir . '/Core/Storage/User_Options.php', 'Google\\Site_Kit\\Core\\Storage\\User_Options_Interface' => $baseDir . '/Core/Storage/User_Options_Interface.php', 'Google\\Site_Kit\\Core\\Storage\\User_Setting' => $baseDir . '/Core/Storage/User_Setting.php', 'Google\\Site_Kit\\Core\\Storage\\User_Transients' => $baseDir . '/Core/Storage/User_Transients.php', 'Google\\Site_Kit\\Core\\Tags\\Blockable_Tag_Interface' => $baseDir . '/Core/Tags/Blockable_Tag_Interface.php', 'Google\\Site_Kit\\Core\\Tags\\GTag' => $baseDir . '/Core/Tags/GTag.php', 'Google\\Site_Kit\\Core\\Tags\\Guards\\Tag_Environment_Type_Guard' => $baseDir . '/Core/Tags/Guards/Tag_Environment_Type_Guard.php', 'Google\\Site_Kit\\Core\\Tags\\Guards\\Tag_Verify_Guard' => $baseDir . '/Core/Tags/Guards/Tag_Verify_Guard.php', 'Google\\Site_Kit\\Core\\Tags\\Guards\\WP_Query_404_Guard' => $baseDir . '/Core/Tags/Guards/WP_Query_404_Guard.php', 'Google\\Site_Kit\\Core\\Tags\\Tag' => $baseDir . '/Core/Tags/Tag.php', 'Google\\Site_Kit\\Core\\Tags\\Tag_Interface' => $baseDir . '/Core/Tags/Tag_Interface.php', 'Google\\Site_Kit\\Core\\Tags\\Tag_Matchers_Interface' => $baseDir . '/Core/Tags/Tag_Matchers_Interface.php', 'Google\\Site_Kit\\Core\\Tags\\Tag_With_DNS_Prefetch_Trait' => $baseDir . '/Core/Tags/Tag_With_DNS_Prefetch_Trait.php', 'Google\\Site_Kit\\Core\\Tags\\Tag_With_Linker_Interface' => $baseDir . '/Core/Tags/Tag_With_Linker_Interface.php', 'Google\\Site_Kit\\Core\\Tags\\Tag_With_Linker_Trait' => $baseDir . '/Core/Tags/Tag_With_Linker_Trait.php', 'Google\\Site_Kit\\Core\\Tracking\\REST_Tracking_Consent_Controller' => $baseDir . '/Core/Tracking/REST_Tracking_Consent_Controller.php', 'Google\\Site_Kit\\Core\\Tracking\\Tracking' => $baseDir . '/Core/Tracking/Tracking.php', 'Google\\Site_Kit\\Core\\Tracking\\Tracking_Consent' => $baseDir . '/Core/Tracking/Tracking_Consent.php', 'Google\\Site_Kit\\Core\\User\\Audience_Segmentation' => $baseDir . '/Core/User/Audience_Segmentation.php', 'Google\\Site_Kit\\Core\\User\\Audience_Settings' => $baseDir . '/Core/User/Audience_Settings.php', 'Google\\Site_Kit\\Core\\User\\REST_Audience_Settings_Controller' => $baseDir . '/Core/User/REST_Audience_Settings_Controller.php', 'Google\\Site_Kit\\Core\\User\\User' => $baseDir . '/Core/User/User.php', 'Google\\Site_Kit\\Core\\User_Input\\REST_User_Input_Controller' => $baseDir . '/Core/User_Input/REST_User_Input_Controller.php', 'Google\\Site_Kit\\Core\\User_Input\\Site_Specific_Answers' => $baseDir . '/Core/User_Input/Site_Specific_Answers.php', 'Google\\Site_Kit\\Core\\User_Input\\User_Input' => $baseDir . '/Core/User_Input/User_Input.php', 'Google\\Site_Kit\\Core\\User_Input\\User_Specific_Answers' => $baseDir . '/Core/User_Input/User_Specific_Answers.php', 'Google\\Site_Kit\\Core\\User_Surveys\\REST_User_Surveys_Controller' => $baseDir . '/Core/User_Surveys/REST_User_Surveys_Controller.php', 'Google\\Site_Kit\\Core\\User_Surveys\\Survey_Queue' => $baseDir . '/Core/User_Surveys/Survey_Queue.php', 'Google\\Site_Kit\\Core\\User_Surveys\\Survey_Timeouts' => $baseDir . '/Core/User_Surveys/Survey_Timeouts.php', 'Google\\Site_Kit\\Core\\User_Surveys\\User_Surveys' => $baseDir . '/Core/User_Surveys/User_Surveys.php', 'Google\\Site_Kit\\Core\\Util\\Activation_Flag' => $baseDir . '/Core/Util/Activation_Flag.php', 'Google\\Site_Kit\\Core\\Util\\Activation_Notice' => $baseDir . '/Core/Util/Activation_Notice.php', 'Google\\Site_Kit\\Core\\Util\\Auto_Updates' => $baseDir . '/Core/Util/Auto_Updates.php', 'Google\\Site_Kit\\Core\\Util\\BC_Functions' => $baseDir . '/Core/Util/BC_Functions.php', 'Google\\Site_Kit\\Core\\Util\\Collection_Key_Cap_Filter' => $baseDir . '/Core/Util/Collection_Key_Cap_Filter.php', 'Google\\Site_Kit\\Core\\Util\\Date' => $baseDir . '/Core/Util/Date.php', 'Google\\Site_Kit\\Core\\Util\\Developer_Plugin_Installer' => $baseDir . '/Core/Util/Developer_Plugin_Installer.php', 'Google\\Site_Kit\\Core\\Util\\Entity' => $baseDir . '/Core/Util/Entity.php', 'Google\\Site_Kit\\Core\\Util\\Entity_Factory' => $baseDir . '/Core/Util/Entity_Factory.php', 'Google\\Site_Kit\\Core\\Util\\Exit_Handler' => $baseDir . '/Core/Util/Exit_Handler.php', 'Google\\Site_Kit\\Core\\Util\\Feature_Flags' => $baseDir . '/Core/Util/Feature_Flags.php', 'Google\\Site_Kit\\Core\\Util\\Google_Icon' => $baseDir . '/Core/Util/Google_Icon.php', 'Google\\Site_Kit\\Core\\Util\\Google_URL_Matcher_Trait' => $baseDir . '/Core/Util/Google_URL_Matcher_Trait.php', 'Google\\Site_Kit\\Core\\Util\\Google_URL_Normalizer' => $baseDir . '/Core/Util/Google_URL_Normalizer.php', 'Google\\Site_Kit\\Core\\Util\\Health_Checks' => $baseDir . '/Core/Util/Health_Checks.php', 'Google\\Site_Kit\\Core\\Util\\Input' => $baseDir . '/Core/Util/Input.php', 'Google\\Site_Kit\\Core\\Util\\Method_Proxy_Trait' => $baseDir . '/Core/Util/Method_Proxy_Trait.php', 'Google\\Site_Kit\\Core\\Util\\Migrate_Legacy_Keys' => $baseDir . '/Core/Util/Migrate_Legacy_Keys.php', 'Google\\Site_Kit\\Core\\Util\\Migration_1_123_0' => $baseDir . '/Core/Util/Migration_1_123_0.php', 'Google\\Site_Kit\\Core\\Util\\Migration_1_129_0' => $baseDir . '/Core/Util/Migration_1_129_0.php', 'Google\\Site_Kit\\Core\\Util\\Migration_1_3_0' => $baseDir . '/Core/Util/Migration_1_3_0.php', 'Google\\Site_Kit\\Core\\Util\\Migration_1_8_1' => $baseDir . '/Core/Util/Migration_1_8_1.php', 'Google\\Site_Kit\\Core\\Util\\REST_Entity_Search_Controller' => $baseDir . '/Core/Util/REST_Entity_Search_Controller.php', 'Google\\Site_Kit\\Core\\Util\\Requires_Javascript_Trait' => $baseDir . '/Core/Util/Requires_Javascript_Trait.php', 'Google\\Site_Kit\\Core\\Util\\Reset' => $baseDir . '/Core/Util/Reset.php', 'Google\\Site_Kit\\Core\\Util\\Reset_Persistent' => $baseDir . '/Core/Util/Reset_Persistent.php', 'Google\\Site_Kit\\Core\\Util\\Sanitize' => $baseDir . '/Core/Util/Sanitize.php', 'Google\\Site_Kit\\Core\\Util\\Scopes' => $baseDir . '/Core/Util/Scopes.php', 'Google\\Site_Kit\\Core\\Util\\Sort' => $baseDir . '/Core/Util/Sort.php', 'Google\\Site_Kit\\Core\\Util\\Synthetic_WP_Query' => $baseDir . '/Core/Util/Synthetic_WP_Query.php', 'Google\\Site_Kit\\Core\\Util\\URL' => $baseDir . '/Core/Util/URL.php', 'Google\\Site_Kit\\Core\\Util\\Uninstallation' => $baseDir . '/Core/Util/Uninstallation.php', 'Google\\Site_Kit\\Core\\Util\\WP_Context_Switcher_Trait' => $baseDir . '/Core/Util/WP_Context_Switcher_Trait.php', 'Google\\Site_Kit\\Core\\Util\\WP_Query_Factory' => $baseDir . '/Core/Util/WP_Query_Factory.php', 'Google\\Site_Kit\\Core\\Validation\\Exception\\Invalid_Report_Dimensions_Exception' => $baseDir . '/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php', 'Google\\Site_Kit\\Core\\Validation\\Exception\\Invalid_Report_Metrics_Exception' => $baseDir . '/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php', 'Google\\Site_Kit\\Modules\\AdSense' => $baseDir . '/Modules/AdSense.php', 'Google\\Site_Kit\\Modules\\AdSense\\AMP_Tag' => $baseDir . '/Modules/AdSense/AMP_Tag.php', 'Google\\Site_Kit\\Modules\\AdSense\\Ad_Blocking_Recovery_Tag' => $baseDir . '/Modules/AdSense/Ad_Blocking_Recovery_Tag.php', 'Google\\Site_Kit\\Modules\\AdSense\\Ad_Blocking_Recovery_Tag_Guard' => $baseDir . '/Modules/AdSense/Ad_Blocking_Recovery_Tag_Guard.php', 'Google\\Site_Kit\\Modules\\AdSense\\Ad_Blocking_Recovery_Web_Tag' => $baseDir . '/Modules/AdSense/Ad_Blocking_Recovery_Web_Tag.php', 'Google\\Site_Kit\\Modules\\AdSense\\Auto_Ad_Guard' => $baseDir . '/Modules/AdSense/Auto_Ad_Guard.php', 'Google\\Site_Kit\\Modules\\AdSense\\Settings' => $baseDir . '/Modules/AdSense/Settings.php', 'Google\\Site_Kit\\Modules\\AdSense\\Tag_Guard' => $baseDir . '/Modules/AdSense/Tag_Guard.php', 'Google\\Site_Kit\\Modules\\AdSense\\Web_Tag' => $baseDir . '/Modules/AdSense/Web_Tag.php', 'Google\\Site_Kit\\Modules\\Ads' => $baseDir . '/Modules/Ads.php', 'Google\\Site_Kit\\Modules\\Ads\\AMP_Tag' => $baseDir . '/Modules/Ads/AMP_Tag.php', 'Google\\Site_Kit\\Modules\\Ads\\Has_Tag_Guard' => $baseDir . '/Modules/Ads/Has_Tag_Guard.php', 'Google\\Site_Kit\\Modules\\Ads\\PAX_Config' => $baseDir . '/Modules/Ads/PAX_Config.php', 'Google\\Site_Kit\\Modules\\Ads\\Settings' => $baseDir . '/Modules/Ads/Settings.php', 'Google\\Site_Kit\\Modules\\Ads\\Tag_Matchers' => $baseDir . '/Modules/Ads/Tag_Matchers.php', 'Google\\Site_Kit\\Modules\\Ads\\Web_Tag' => $baseDir . '/Modules/Ads/Web_Tag.php', 'Google\\Site_Kit\\Modules\\Analytics_4' => $baseDir . '/Modules/Analytics_4.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\AMP_Tag' => $baseDir . '/Modules/Analytics_4/AMP_Tag.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Account_Ticket' => $baseDir . '/Modules/Analytics_4/Account_Ticket.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\AMP_Config_Injector' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/AMP_Config_Injector.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Event' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Event.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Event_List' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Event_List.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Event_List_Registry' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Event_List_Registry.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Script_Injector' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Script_Injector.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Conversion_Reporting\\Conversion_Reporting_Cron' => $baseDir . '/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Cron.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Conversion_Reporting\\Conversion_Reporting_Events_Sync' => $baseDir . '/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Events_Sync.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Conversion_Reporting\\Conversion_Reporting_Provider' => $baseDir . '/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Provider.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Custom_Dimensions_Data_Available' => $baseDir . '/Modules/Analytics_4/Custom_Dimensions_Data_Available.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountProvisioningService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountsResource' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountsResource.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\EnhancedMeasurementSettingsModel' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/EnhancedMeasurementSettingsModel.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\PropertiesAdSenseLinksService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesAdSenseLinksService.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\PropertiesAudiencesService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesAudiencesService.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\PropertiesEnhancedMeasurementResource' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesEnhancedMeasurementResource.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\PropertiesEnhancedMeasurementService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/PropertiesEnhancedMeasurementService.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\PivotReport' => $baseDir . '/Modules/Analytics_4/PivotReport.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report' => $baseDir . '/Modules/Analytics_4/Report.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Dimension_Filter\\Filter' => $baseDir . '/Modules/Analytics_4/Report/Dimension_Filter/Filter.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Dimension_Filter\\In_List_Filter' => $baseDir . '/Modules/Analytics_4/Report/Dimension_Filter/In_List_Filter.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Dimension_Filter\\String_Filter' => $baseDir . '/Modules/Analytics_4/Report/Dimension_Filter/String_Filter.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Filters\\Between_Filter' => $baseDir . '/Modules/Analytics_4/Report/Filters/Between_Filter.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Filters\\Numeric_Filter' => $baseDir . '/Modules/Analytics_4/Report/Filters/Numeric_Filter.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\PivotRequest' => $baseDir . '/Modules/Analytics_4/Report/PivotRequest.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\ReportParsers' => $baseDir . '/Modules/Analytics_4/Report/ReportParsers.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Request' => $baseDir . '/Modules/Analytics_4/Report/Request.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\RequestHelpers' => $baseDir . '/Modules/Analytics_4/Report/RequestHelpers.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Response' => $baseDir . '/Modules/Analytics_4/Report/Response.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Row_Trait' => $baseDir . '/Modules/Analytics_4/Report/Row_Trait.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Reset_Audiences' => $baseDir . '/Modules/Analytics_4/Reset_Audiences.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Resource_Data_Availability_Date' => $baseDir . '/Modules/Analytics_4/Resource_Data_Availability_Date.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Settings' => $baseDir . '/Modules/Analytics_4/Settings.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Synchronize_AdSenseLinked' => $baseDir . '/Modules/Analytics_4/Synchronize_AdSenseLinked.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Synchronize_AdsLinked' => $baseDir . '/Modules/Analytics_4/Synchronize_AdsLinked.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Synchronize_Property' => $baseDir . '/Modules/Analytics_4/Synchronize_Property.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Tag_Guard' => $baseDir . '/Modules/Analytics_4/Tag_Guard.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Tag_Interface' => $baseDir . '/Modules/Analytics_4/Tag_Interface.php', 'Google\\Site_Kit\\Modules\\Analytics_4\\Web_Tag' => $baseDir . '/Modules/Analytics_4/Web_Tag.php', 'Google\\Site_Kit\\Modules\\PageSpeed_Insights' => $baseDir . '/Modules/PageSpeed_Insights.php', 'Google\\Site_Kit\\Modules\\PageSpeed_Insights\\Settings' => $baseDir . '/Modules/PageSpeed_Insights/Settings.php', 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager' => $baseDir . '/Modules/Reader_Revenue_Manager.php', 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Settings' => $baseDir . '/Modules/Reader_Revenue_Manager/Settings.php', 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Guard' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Guard.php', 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Matchers' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Matchers.php', 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Web_Tag' => $baseDir . '/Modules/Reader_Revenue_Manager/Web_Tag.php', 'Google\\Site_Kit\\Modules\\Search_Console' => $baseDir . '/Modules/Search_Console.php', 'Google\\Site_Kit\\Modules\\Search_Console\\Settings' => $baseDir . '/Modules/Search_Console/Settings.php', 'Google\\Site_Kit\\Modules\\Sign_In_With_Google' => $baseDir . '/Modules/Sign_In_With_Google.php', 'Google\\Site_Kit\\Modules\\Sign_In_With_Google\\Settings' => $baseDir . '/Modules/Sign_In_With_Google/Settings.php', 'Google\\Site_Kit\\Modules\\Sign_In_With_Google\\Tag_Matchers' => $baseDir . '/Modules/Sign_In_With_Google/Tag_Matchers.php', 'Google\\Site_Kit\\Modules\\Site_Verification' => $baseDir . '/Modules/Site_Verification.php', 'Google\\Site_Kit\\Modules\\Tag_Manager' => $baseDir . '/Modules/Tag_Manager.php', 'Google\\Site_Kit\\Modules\\Tag_Manager\\AMP_Tag' => $baseDir . '/Modules/Tag_Manager/AMP_Tag.php', 'Google\\Site_Kit\\Modules\\Tag_Manager\\Settings' => $baseDir . '/Modules/Tag_Manager/Settings.php', 'Google\\Site_Kit\\Modules\\Tag_Manager\\Tag_Guard' => $baseDir . '/Modules/Tag_Manager/Tag_Guard.php', 'Google\\Site_Kit\\Modules\\Tag_Manager\\Web_Tag' => $baseDir . '/Modules/Tag_Manager/Web_Tag.php', 'Google\\Site_Kit\\Plugin' => $baseDir . '/Plugin.php', ); includes/Context.php 0000604 00000034302 14717744000 0010511 0 ustar 00 <?php /** * Class Google\Site_Kit\Context * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit; use AMP_Options_Manager; use AMP_Theme_Support; use Google\Site_Kit\Core\Util\Input; use Google\Site_Kit\Core\Util\Entity; use Google\Site_Kit\Core\Util\Entity_Factory; /** * Class representing the context in which the plugin is running. * * @since 1.0.0 * @access private * @ignore */ class Context { /** * Primary "standard" AMP website mode. * * @since 1.0.0 Originally introduced. * @since 1.36.0 Marked as unused, see description. * @since 1.108.0 Removed the description and reinstated. * @var string */ const AMP_MODE_PRIMARY = 'primary'; /** * Secondary AMP website mode. * * @since 1.0.0 * @var string */ const AMP_MODE_SECONDARY = 'secondary'; /** * Absolute path to the plugin main file. * * @since 1.0.0 * @var string */ private $main_file; /** * Internal storage for whether the plugin is network active or not. * * @since 1.0.0 * @var bool|null */ private $network_active = null; /** * Input access abstraction. * * @since 1.1.2 * @var Input */ private $input; /** * Constructor. * * @since 1.0.0 * @since 1.1.2 Added optional $input instance. * * @param string $main_file Absolute path to the plugin main file. * @param Input $input Input instance. */ public function __construct( $main_file, Input $input = null ) { $this->main_file = $main_file; $this->input = $input ?: new Input(); } /** * Gets the absolute path for a path relative to the plugin directory. * * @since 1.0.0 * * @param string $relative_path Optional. Relative path. Default '/'. * @return string Absolute path. */ public function path( $relative_path = '/' ) { return plugin_dir_path( $this->main_file ) . ltrim( $relative_path, '/' ); } /** * Gets the full URL for a path relative to the plugin directory. * * @since 1.0.0 * * @param string $relative_path Optional. Relative path. Default '/'. * @return string Full URL. */ public function url( $relative_path = '/' ) { return plugin_dir_url( $this->main_file ) . ltrim( $relative_path, '/' ); } /** * Gets the Input instance. * * @since 1.1.2 * * @return Input */ public function input() { return $this->input; } /** * Gets the full URL to an admin screen part of the plugin. * * @since 1.0.0 * * @param string $slug Optional. Plugin admin screen slug. Default 'dashboard'. * @param array $query_args Optional. Additional query args. Default empty array. * @return string Full admin screen URL. */ public function admin_url( $slug = 'dashboard', array $query_args = array() ) { unset( $query_args['page'] ); if ( $this->is_network_mode() ) { $base_url = network_admin_url( 'admin.php' ); } else { $base_url = admin_url( 'admin.php' ); } return add_query_arg( array_merge( array( 'page' => Core\Admin\Screens::PREFIX . $slug ), $query_args ), $base_url ); } /** * Determines whether the plugin is running in network mode. * * @since 1.0.0 * * @return bool True if the plugin is in network mode, false otherwise. */ public function is_network_mode() { // Bail if plugin is not network-active. if ( ! $this->is_network_active() ) { return false; } /** * Filters whether network mode is active in Site Kit. * * This is always false by default since Site Kit does not support a network mode yet. * * @since 1.86.0 * * @param bool $active Whether network mode is active. */ return (bool) apply_filters( 'googlesitekit_is_network_mode', false ); } /** * Gets the cannonical "home" URL. * * Returns the value from the `"googlesitekit_canonical_home_url"` filter. * * @since 1.18.0 * * @return string Cannonical home URL. */ public function get_canonical_home_url() { /** * Filters the canonical home URL considered by Site Kit. * * Typically this is okay to be the unmodified `home_url()`, but certain plugins (e.g. multilingual plugins) * that dynamically modify that value based on context can use this filter to ensure that the URL considered * by Site Kit remains stable. * * @since 1.18.0 * * @param string $home_url The value of `home_url()`. */ return apply_filters( 'googlesitekit_canonical_home_url', home_url() ); } /** * Gets the site URL of the reference site to use for stats. * * @since 1.0.0 * * @return string Reference site URL. */ public function get_reference_site_url() { return $this->filter_reference_url(); } /** * Gets the entity for the current request context. * * An entity in Site Kit terminology is based on a canonical URL, i.e. every * canonical URL has an associated entity. * * An entity may also have a type, a title, and an ID. * * @since 1.7.0 * * @return Entity|null The current entity, or null if none could be determined. */ public function get_reference_entity() { // Support specific URL stats being checked in Site Kit dashboard details view. if ( is_admin() && 'googlesitekit-dashboard' === $this->input()->filter( INPUT_GET, 'page' ) ) { $entity_url_query_param = $this->input()->filter( INPUT_GET, 'permaLink' ); if ( ! empty( $entity_url_query_param ) ) { return $this->get_reference_entity_from_url( $entity_url_query_param ); } } $entity = Entity_Factory::from_context(); return $this->filter_entity_reference_url( $entity ); } /** * Gets the entity for the given URL, if available. * * An entity in Site Kit terminology is based on a canonical URL, i.e. every * canonical URL has an associated entity. * * An entity may also have a type, a title, and an ID. * * @since 1.10.0 * * @param string $url URL to determine the entity from. * @return Entity|null The current entity, or null if none could be determined. */ public function get_reference_entity_from_url( $url ) { // Ensure local URL is used for lookup. $url = str_replace( $this->get_reference_site_url(), untrailingslashit( $this->get_canonical_home_url() ), $url ); $entity = Entity_Factory::from_url( $url ); return $this->filter_entity_reference_url( $entity ); } /** * Gets the permalink of the reference site to use for stats. * * @since 1.0.0 * * @param int|WP_Post $post Optional. Post ID or post object. Default is the global `$post`. * * @return string|false The reference permalink URL or false if post does not exist. */ public function get_reference_permalink( $post = 0 ) { // If post is provided, get URL for that. if ( $post ) { $permalink = get_permalink( $post ); if ( false === $permalink ) { return false; } return $this->filter_reference_url( $permalink ); } // Otherwise use entity detection. $entity = $this->get_reference_entity(); if ( ! $entity || 'post' !== $entity->get_type() ) { return false; } return $entity->get_url(); } /** * Gets the canonical url for the current request. * * @since 1.0.0 * * @return string|false The reference canonical URL or false if no URL was identified. */ public function get_reference_canonical() { $entity = $this->get_reference_entity(); if ( ! $entity ) { return false; } return $entity->get_url(); } /** * Checks whether AMP content is being served. * * @since 1.0.0 * * @return bool True if an AMP request, false otherwise. */ public function is_amp() { if ( is_singular( 'web-story' ) ) { return true; } return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint(); } /** * Gets the current AMP mode. * * @since 1.0.0 * @since 1.108.0 Extracted AMP plugin related logic to `get_amp_mode_from_amp_plugin` function. * * @return bool|string 'primary' if in standard mode, * 'secondary' if in transitional or reader modes, or the Web Stories plugin is active * false if AMP not active, or unknown mode */ public function get_amp_mode() { $amp_mode = $this->get_amp_mode_from_amp_plugin(); if ( false === $amp_mode ) { // If the Web Stories plugin is enabled, consider the site to be running // in Secondary AMP mode. if ( defined( 'WEBSTORIES_VERSION' ) ) { return self::AMP_MODE_SECONDARY; } } return $amp_mode; } /** * Gets the current AMP mode from the AMP plugin. * * @since 1.108.0 * * @return bool|string 'primary' if in standard mode, * 'secondary' if in transitional or reader modes * false if AMP not active, or unknown mode */ private function get_amp_mode_from_amp_plugin() { if ( ! class_exists( 'AMP_Theme_Support' ) ) { return false; } $exposes_support_mode = defined( 'AMP_Theme_Support::STANDARD_MODE_SLUG' ) && defined( 'AMP_Theme_Support::TRANSITIONAL_MODE_SLUG' ) && defined( 'AMP_Theme_Support::READER_MODE_SLUG' ); if ( defined( 'AMP__VERSION' ) ) { $amp_plugin_version = AMP__VERSION; if ( strpos( $amp_plugin_version, '-' ) !== false ) { $amp_plugin_version = explode( '-', $amp_plugin_version )[0]; } $amp_plugin_version_2_or_higher = version_compare( $amp_plugin_version, '2.0.0', '>=' ); } else { $amp_plugin_version_2_or_higher = false; } if ( $amp_plugin_version_2_or_higher ) { $exposes_support_mode = class_exists( 'AMP_Options_Manager' ) && method_exists( 'AMP_Options_Manager', 'get_option' ) && $exposes_support_mode; } else { $exposes_support_mode = class_exists( 'AMP_Theme_Support' ) && method_exists( 'AMP_Theme_Support', 'get_support_mode' ) && $exposes_support_mode; } if ( $exposes_support_mode ) { // If recent version, we can properly detect the mode. if ( $amp_plugin_version_2_or_higher ) { $mode = AMP_Options_Manager::get_option( 'theme_support' ); } else { $mode = AMP_Theme_Support::get_support_mode(); } if ( AMP_Theme_Support::STANDARD_MODE_SLUG === $mode ) { return self::AMP_MODE_PRIMARY; } if ( in_array( $mode, array( AMP_Theme_Support::TRANSITIONAL_MODE_SLUG, AMP_Theme_Support::READER_MODE_SLUG ), true ) ) { return self::AMP_MODE_SECONDARY; } } elseif ( function_exists( 'amp_is_canonical' ) ) { // On older versions, if it is not primary AMP, it is definitely secondary AMP (transitional or reader mode). if ( amp_is_canonical() ) { return self::AMP_MODE_PRIMARY; } return self::AMP_MODE_SECONDARY; } return false; } /** * Checks whether the plugin is network active. * * @since 1.0.0 * * @return bool True if plugin is network active, false otherwise. */ public function is_network_active() { // Determine $network_active property just once per request, to not unnecessarily run this complex logic on every call. if ( null === $this->network_active ) { if ( is_multisite() ) { $network_active_plugins = wp_get_active_network_plugins(); // Consider MU plugins and network-activated plugins as network-active. $this->network_active = strpos( wp_normalize_path( __FILE__ ), wp_normalize_path( WPMU_PLUGIN_DIR ) ) === 0 || in_array( WP_PLUGIN_DIR . '/' . GOOGLESITEKIT_PLUGIN_BASENAME, $network_active_plugins, true ); } else { $this->network_active = false; } } return $this->network_active; } /** * Filters the given entity's reference URL, effectively creating a copy of * the entity with the reference URL accounted for. * * @since 1.15.0 * * @param Entity|null $entity Entity to filter reference ID for, or null. * @return Entity|null Filtered entity or null, based on $entity. */ private function filter_entity_reference_url( Entity $entity = null ) { if ( ! $entity ) { return null; } return new Entity( $this->filter_reference_url( $entity->get_url() ), array( 'type' => $entity->get_type(), 'title' => $entity->get_title(), 'id' => $entity->get_id(), ) ); } /** * Filters the given URL to ensure the reference URL is used as part of it. * * If the site reference URL differs from the home URL (e.g. via filters), * this method performs the necessary replacement. * * @since 1.7.0 * * @param string $url Optional. Input URL. If not provided, returns the plain reference site URL. * @return string URL that starts with the reference site URL. */ private function filter_reference_url( $url = '' ) { $site_url = untrailingslashit( $this->get_canonical_home_url() ); /** * Filters the reference site URL to use for stats. * * This can be used to override the current site URL, for example when using the plugin on a non-public site, * such as in a staging environment. * * @since 1.0.0 * * @param string $site_url Reference site URL, typically the WordPress home URL. */ $reference_site_url = apply_filters( 'googlesitekit_site_url', $site_url ); $reference_site_url = untrailingslashit( $reference_site_url ); // Ensure this is not empty. if ( empty( $reference_site_url ) ) { $reference_site_url = $site_url; } // If no URL given, just return the reference site URL. if ( empty( $url ) ) { return $reference_site_url; } // Replace site URL with the reference site URL. if ( $reference_site_url !== $site_url ) { $url = str_replace( $site_url, $reference_site_url, $url ); } return $url; } /** * Calls the WordPress core functions to get the locale and return it in the required format. * * @since 1.32.0 * * @param string $context Optional. Defines which WordPress core locale function to call. * @param string $format Optional. Defines the format the locale is returned in. * @return string Locale in the required format. */ public function get_locale( $context = 'site', $format = 'default' ) { // Get the site or user locale. if ( 'user' === $context ) { $wp_locale = get_user_locale(); } else { $wp_locale = get_locale(); } // Return locale in the required format. if ( 'language-code' === $format ) { $code_array = explode( '_', $wp_locale ); return $code_array[0]; } elseif ( 'language-variant' === $format ) { $variant_array = explode( '_', $wp_locale ); $variant_string = implode( '_', array_slice( $variant_array, 0, 2 ) ); return $variant_string; } return $wp_locale; } } includes/loader.php 0000604 00000003472 14717744000 0010337 0 ustar 00 <?php /** * Plugin config. * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit; // Define global constants. define( 'GOOGLESITEKIT_PLUGIN_BASENAME', plugin_basename( GOOGLESITEKIT_PLUGIN_MAIN_FILE ) ); define( 'GOOGLESITEKIT_PLUGIN_DIR_PATH', plugin_dir_path( GOOGLESITEKIT_PLUGIN_MAIN_FILE ) ); /** * Loads generated class maps for autoloading. * * @since 1.0.0 * @access private */ function autoload_classes() { $class_map = array_merge( // Site Kit classes. include GOOGLESITEKIT_PLUGIN_DIR_PATH . 'includes/vendor/composer/autoload_classmap.php', // Third-party classes. include GOOGLESITEKIT_PLUGIN_DIR_PATH . 'third-party/vendor/composer/autoload_classmap.php' ); spl_autoload_register( function ( $class_instance ) use ( $class_map ) { if ( // Only handle classes defined in our class maps. isset( $class_map[ $class_instance ] ) // Only load Site Kit classes or others that exist (e.g. polyfills). && ( 0 === strpos( $class_instance, 'Google\\Site_Kit\\' ) || 0 === strpos( $class_instance, 'Google\\Site_Kit_Dependencies\\' ) || file_exists( $class_map[ $class_instance ] ) ) ) { require_once $class_map[ $class_instance ]; } }, true, true ); } autoload_classes(); /** * Loads files containing functions from generated file map. * * @since 1.0.0 * @access private */ function autoload_vendor_files() { // Third-party files. $files = require GOOGLESITEKIT_PLUGIN_DIR_PATH . 'third-party/vendor/autoload_files.php'; foreach ( $files as $file_identifier => $file ) { require_once $file; } } autoload_vendor_files(); // Initialize the plugin. Plugin::load( GOOGLESITEKIT_PLUGIN_MAIN_FILE ); includes/Plugin.php 0000604 00000022762 14717744000 0010332 0 ustar 00 <?php /** * Class Google\Site_Kit\Plugin * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit; use Google\Site_Kit\Core\Remote_Features\Remote_Features_Provider; use Google\Site_Kit\Core\Util\Feature_Flags; /** * Main class for the plugin. * * @since 1.0.0 */ final class Plugin { /** * The plugin context object. * * @since 1.0.0 * @var Context */ private $context; /** * Main instance of the plugin. * * @since 1.0.0 * @var Plugin|null */ private static $instance = null; /** * Sets the plugin main file. * * @since 1.0.0 * * @param string $main_file Absolute path to the plugin main file. */ public function __construct( $main_file ) { $this->context = new Context( $main_file ); } /** * Retrieves the plugin context object. * * @since 1.0.0 * * @return Context Plugin context. */ public function context() { return $this->context; } /** * Registers the plugin with WordPress. * * @since 1.0.0 */ public function register() { if ( $this->context->is_network_mode() ) { add_action( 'network_admin_notices', function () { ?> <div class="notice notice-warning"> <p> <?php echo wp_kses( __( 'The Site Kit by Google plugin does <strong>not yet offer</strong> a network mode, but we’re actively working on that.', 'google-site-kit' ), array( 'strong' => array(), ) ); ?> </p> </div> <?php } ); return; } $options = new Core\Storage\Options( $this->context ); // Set up remote features before anything else. ( new Remote_Features_Provider( $this->context, $options ) )->register(); // REST route to set up a temporary tag to verify meta tag output works reliably. add_filter( 'googlesitekit_rest_routes', function ( $routes ) { $can_setup = function () { return current_user_can( Core\Permissions\Permissions::SETUP ); }; $routes[] = new Core\REST_API\REST_Route( 'core/site/data/setup-tag', array( array( 'methods' => \WP_REST_Server::EDITABLE, 'callback' => function () { $token = wp_generate_uuid4(); set_transient( 'googlesitekit_setup_token', $token, 5 * MINUTE_IN_SECONDS ); return new \WP_REST_Response( array( 'token' => $token ) ); }, 'permission_callback' => $can_setup, ), ) ); return $routes; } ); // Output temporary tag if set. add_action( 'wp_head', function () { $token = get_transient( 'googlesitekit_setup_token' ); if ( $token ) { printf( '<meta name="googlesitekit-setup" content="%s" />', esc_attr( $token ) ); } } ); $display_site_kit_meta = function () { echo apply_filters( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 'googlesitekit_generator', sprintf( '<meta name="generator" content="Site Kit by Google %s" />', esc_attr( GOOGLESITEKIT_VERSION ) ) ); }; add_action( 'wp_head', $display_site_kit_meta ); add_action( 'login_head', $display_site_kit_meta ); // Register activation flag logic outside of 'init' since it hooks into // plugin activation. $activation_flag = new Core\Util\Activation_Flag( $this->context, $options ); $activation_flag->register(); // Register uninstallation logic outside of 'init' since it hooks into // plugin uninstallation. $uninstallation = new Core\Util\Uninstallation( $this->context, $options ); $uninstallation->register(); // Initiate the plugin on 'init' for relying on current user being set. add_action( 'init', function () use ( $options, $activation_flag ) { $transients = new Core\Storage\Transients( $this->context ); $user_options = new Core\Storage\User_Options( $this->context, get_current_user_id() ); $assets = new Core\Assets\Assets( $this->context ); $survey_queue = new Core\User_Surveys\Survey_Queue( $user_options ); $survey_queue->register(); $user_input = new Core\User_Input\User_Input( $this->context, $options, $user_options, $survey_queue ); $authentication = new Core\Authentication\Authentication( $this->context, $options, $user_options, $transients, $user_input ); $authentication->register(); $user_input->register(); $user = new Core\User\User( $user_options ); $user->register(); $modules = new Core\Modules\Modules( $this->context, $options, $user_options, $authentication, $assets ); $modules->register(); $dismissals = new Core\Dismissals\Dismissals( $this->context, $user_options ); $dismissals->register(); $dismissed_items = $dismissals->get_dismissed_items(); $expirables = new Core\Expirables\Expirables( $this->context, $user_options ); $expirables->register(); $permissions = new Core\Permissions\Permissions( $this->context, $authentication, $modules, $user_options, $dismissed_items ); $permissions->register(); $nonces = new Core\Nonces\Nonces( $this->context ); $nonces->register(); // Assets must be registered after Modules instance is registered. $assets->register(); $screens = new Core\Admin\Screens( $this->context, $assets, $modules, $authentication ); $screens->register(); $user_surveys = new Core\User_Surveys\User_Surveys( $authentication, $user_options, $survey_queue ); $user_surveys->register(); ( new Core\Authentication\Setup( $this->context, $user_options, $authentication ) )->register(); ( new Core\Util\Reset( $this->context ) )->register(); ( new Core\Util\Reset_Persistent( $this->context ) )->register(); ( new Core\Util\Developer_Plugin_Installer( $this->context ) )->register(); ( new Core\Tracking\Tracking( $this->context, $user_options, $screens ) )->register(); ( new Core\REST_API\REST_Routes( $this->context ) )->register(); ( new Core\Util\REST_Entity_Search_Controller( $this->context ) )->register(); ( new Core\Admin_Bar\Admin_Bar( $this->context, $assets, $modules ) )->register(); ( new Core\Admin\Available_Tools() )->register(); ( new Core\Admin\Notices() )->register(); ( new Core\Admin\Pointers() )->register(); ( new Core\Admin\Dashboard( $this->context, $assets, $modules ) )->register(); ( new Core\Admin\Authorize_Application( $this->context, $assets ) )->register(); ( new Core\Notifications\Notifications( $this->context, $options, $authentication ) )->register(); ( new Core\Site_Health\Site_Health( $this->context, $options, $user_options, $authentication, $modules, $permissions ) )->register(); ( new Core\Util\Health_Checks( $authentication ) )->register(); ( new Core\Admin\Standalone( $this->context ) )->register(); ( new Core\Util\Activation_Notice( $this->context, $activation_flag, $assets ) )->register(); ( new Core\Feature_Tours\Feature_Tours( $this->context, $user_options ) )->register(); ( new Core\Util\Migration_1_3_0( $this->context, $options, $user_options ) )->register(); ( new Core\Util\Migration_1_8_1( $this->context, $options, $user_options, $authentication ) )->register(); ( new Core\Util\Migration_1_123_0( $this->context, $options ) )->register(); ( new Core\Util\Migration_1_129_0( $this->context, $options ) )->register(); ( new Core\Dashboard_Sharing\Dashboard_Sharing( $this->context, $user_options ) )->register(); ( new Core\Key_Metrics\Key_Metrics( $this->context, $user_options, $options ) )->register(); ( new Core\Prompts\Prompts( $this->context, $user_options ) )->register(); ( new Core\Consent_Mode\Consent_Mode( $this->context, $options ) )->register(); ( new Core\Tags\GTag() )->register(); ( new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ) )->register(); // If a login is happening (runs after 'init'), update current user in dependency chain. add_action( 'wp_login', function ( $username, $user ) use ( $user_options ) { $user_options->switch_user( $user->ID ); }, -999, 2 ); /** * Fires when Site Kit has fully initialized. * * @since 1.0.0 */ do_action( 'googlesitekit_init' ); }, -999 ); // Register _gl parameter to be removed from the URL. add_filter( 'removable_query_args', function ( $args ) { $args[] = '_gl'; return $args; } ); // WP CLI Commands. if ( defined( 'WP_CLI' ) && WP_CLI ) { ( new Core\CLI\CLI_Commands( $this->context ) )->register(); } // Add Plugin Row Meta. ( new Core\Admin\Plugin_Row_Meta() )->register(); // Add Plugin Action Links. ( new Core\Admin\Plugin_Action_Links( $this->context ) )->register(); } /** * Retrieves the main instance of the plugin. * * @since 1.0.0 * * @return Plugin Plugin main instance. */ public static function instance() { return self::$instance; } /** * Loads the plugin main instance and initializes it. * * @since 1.0.0 * * @param string $main_file Absolute path to the plugin main file. * @return bool True if the plugin main instance could be loaded, false otherwise. */ public static function load( $main_file ) { if ( null !== self::$instance ) { return false; } if ( file_exists( GOOGLESITEKIT_PLUGIN_DIR_PATH . 'dist/config.php' ) ) { $config = include GOOGLESITEKIT_PLUGIN_DIR_PATH . 'dist/config.php'; Feature_Flags::set_features( (array) $config['features'] ); } self::$instance = new self( $main_file ); self::$instance->register(); return true; } } third-party/firebase/php-jwt/src/BeforeValidException.php 0000604 00000000655 14717744000 0017533 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; class BeforeValidException extends \UnexpectedValueException implements \Google\Site_Kit_Dependencies\Firebase\JWT\JWTExceptionWithPayloadInterface { private object $payload; public function setPayload(object $payload) : void { $this->payload = $payload; } public function getPayload() : object { return $this->payload; } } third-party/firebase/php-jwt/src/CachedKeySet.php 0000604 00000016152 14717744000 0015765 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; use ArrayAccess; use InvalidArgumentException; use LogicException; use OutOfBoundsException; use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemInterface; use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface; use Google\Site_Kit_Dependencies\Psr\Http\Client\ClientInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestFactoryInterface; use RuntimeException; use UnexpectedValueException; /** * @implements ArrayAccess<string, Key> */ class CachedKeySet implements \ArrayAccess { /** * @var string */ private $jwksUri; /** * @var ClientInterface */ private $httpClient; /** * @var RequestFactoryInterface */ private $httpFactory; /** * @var CacheItemPoolInterface */ private $cache; /** * @var ?int */ private $expiresAfter; /** * @var ?CacheItemInterface */ private $cacheItem; /** * @var array<string, array<mixed>> */ private $keySet; /** * @var string */ private $cacheKey; /** * @var string */ private $cacheKeyPrefix = 'jwks'; /** * @var int */ private $maxKeyLength = 64; /** * @var bool */ private $rateLimit; /** * @var string */ private $rateLimitCacheKey; /** * @var int */ private $maxCallsPerMinute = 10; /** * @var string|null */ private $defaultAlg; public function __construct(string $jwksUri, \Google\Site_Kit_Dependencies\Psr\Http\Client\ClientInterface $httpClient, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestFactoryInterface $httpFactory, \Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface $cache, int $expiresAfter = null, bool $rateLimit = \false, string $defaultAlg = null) { $this->jwksUri = $jwksUri; $this->httpClient = $httpClient; $this->httpFactory = $httpFactory; $this->cache = $cache; $this->expiresAfter = $expiresAfter; $this->rateLimit = $rateLimit; $this->defaultAlg = $defaultAlg; $this->setCacheKeys(); } /** * @param string $keyId * @return Key */ public function offsetGet($keyId) : \Google\Site_Kit_Dependencies\Firebase\JWT\Key { if (!$this->keyIdExists($keyId)) { throw new \OutOfBoundsException('Key ID not found'); } return \Google\Site_Kit_Dependencies\Firebase\JWT\JWK::parseKey($this->keySet[$keyId], $this->defaultAlg); } /** * @param string $keyId * @return bool */ public function offsetExists($keyId) : bool { return $this->keyIdExists($keyId); } /** * @param string $offset * @param Key $value */ public function offsetSet($offset, $value) : void { throw new \LogicException('Method not implemented'); } /** * @param string $offset */ public function offsetUnset($offset) : void { throw new \LogicException('Method not implemented'); } /** * @return array<mixed> */ private function formatJwksForCache(string $jwks) : array { $jwks = \json_decode($jwks, \true); if (!isset($jwks['keys'])) { throw new \UnexpectedValueException('"keys" member must exist in the JWK Set'); } if (empty($jwks['keys'])) { throw new \InvalidArgumentException('JWK Set did not contain any keys'); } $keys = []; foreach ($jwks['keys'] as $k => $v) { $kid = isset($v['kid']) ? $v['kid'] : $k; $keys[(string) $kid] = $v; } return $keys; } private function keyIdExists(string $keyId) : bool { if (null === $this->keySet) { $item = $this->getCacheItem(); // Try to load keys from cache if ($item->isHit()) { // item found! retrieve it $this->keySet = $item->get(); // If the cached item is a string, the JWKS response was cached (previous behavior). // Parse this into expected format array<kid, jwk> instead. if (\is_string($this->keySet)) { $this->keySet = $this->formatJwksForCache($this->keySet); } } } if (!isset($this->keySet[$keyId])) { if ($this->rateLimitExceeded()) { return \false; } $request = $this->httpFactory->createRequest('GET', $this->jwksUri); $jwksResponse = $this->httpClient->sendRequest($request); if ($jwksResponse->getStatusCode() !== 200) { throw new \UnexpectedValueException(\sprintf('HTTP Error: %d %s for URI "%s"', $jwksResponse->getStatusCode(), $jwksResponse->getReasonPhrase(), $this->jwksUri), $jwksResponse->getStatusCode()); } $this->keySet = $this->formatJwksForCache((string) $jwksResponse->getBody()); if (!isset($this->keySet[$keyId])) { return \false; } $item = $this->getCacheItem(); $item->set($this->keySet); if ($this->expiresAfter) { $item->expiresAfter($this->expiresAfter); } $this->cache->save($item); } return \true; } private function rateLimitExceeded() : bool { if (!$this->rateLimit) { return \false; } $cacheItem = $this->cache->getItem($this->rateLimitCacheKey); if (!$cacheItem->isHit()) { $cacheItem->expiresAfter(1); // # of calls are cached each minute } $callsPerMinute = (int) $cacheItem->get(); if (++$callsPerMinute > $this->maxCallsPerMinute) { return \true; } $cacheItem->set($callsPerMinute); $this->cache->save($cacheItem); return \false; } private function getCacheItem() : \Google\Site_Kit_Dependencies\Psr\Cache\CacheItemInterface { if (\is_null($this->cacheItem)) { $this->cacheItem = $this->cache->getItem($this->cacheKey); } return $this->cacheItem; } private function setCacheKeys() : void { if (empty($this->jwksUri)) { throw new \RuntimeException('JWKS URI is empty'); } // ensure we do not have illegal characters $key = \preg_replace('|[^a-zA-Z0-9_\\.!]|', '', $this->jwksUri); // add prefix $key = $this->cacheKeyPrefix . $key; // Hash keys if they exceed $maxKeyLength of 64 if (\strlen($key) > $this->maxKeyLength) { $key = \substr(\hash('sha256', $key), 0, $this->maxKeyLength); } $this->cacheKey = $key; if ($this->rateLimit) { // add prefix $rateLimitKey = $this->cacheKeyPrefix . 'ratelimit' . $key; // Hash keys if they exceed $maxKeyLength of 64 if (\strlen($rateLimitKey) > $this->maxKeyLength) { $rateLimitKey = \substr(\hash('sha256', $rateLimitKey), 0, $this->maxKeyLength); } $this->rateLimitCacheKey = $rateLimitKey; } } } third-party/firebase/php-jwt/src/ExpiredException.php 0000604 00000000651 14717744000 0016745 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; class ExpiredException extends \UnexpectedValueException implements \Google\Site_Kit_Dependencies\Firebase\JWT\JWTExceptionWithPayloadInterface { private object $payload; public function setPayload(object $payload) : void { $this->payload = $payload; } public function getPayload() : object { return $this->payload; } } third-party/firebase/php-jwt/src/JWK.php 0000604 00000026372 14717744000 0014131 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; use DomainException; use InvalidArgumentException; use UnexpectedValueException; /** * JSON Web Key implementation, based on this spec: * https://tools.ietf.org/html/draft-ietf-jose-json-web-key-41 * * PHP version 5 * * @category Authentication * @package Authentication_JWT * @author Bui Sy Nguyen <nguyenbs@gmail.com> * @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD * @link https://github.com/firebase/php-jwt */ class JWK { private const OID = '1.2.840.10045.2.1'; private const ASN1_OBJECT_IDENTIFIER = 0x6; private const ASN1_SEQUENCE = 0x10; // also defined in JWT private const ASN1_BIT_STRING = 0x3; private const EC_CURVES = [ 'P-256' => '1.2.840.10045.3.1.7', // Len: 64 'secp256k1' => '1.3.132.0.10', // Len: 64 'P-384' => '1.3.132.0.34', ]; // For keys with "kty" equal to "OKP" (Octet Key Pair), the "crv" parameter must contain the key subtype. // This library supports the following subtypes: private const OKP_SUBTYPES = ['Ed25519' => \true]; /** * Parse a set of JWK keys * * @param array<mixed> $jwks The JSON Web Key Set as an associative array * @param string $defaultAlg The algorithm for the Key object if "alg" is not set in the * JSON Web Key Set * * @return array<string, Key> An associative array of key IDs (kid) to Key objects * * @throws InvalidArgumentException Provided JWK Set is empty * @throws UnexpectedValueException Provided JWK Set was invalid * @throws DomainException OpenSSL failure * * @uses parseKey */ public static function parseKeySet(array $jwks, string $defaultAlg = null) : array { $keys = []; if (!isset($jwks['keys'])) { throw new \UnexpectedValueException('"keys" member must exist in the JWK Set'); } if (empty($jwks['keys'])) { throw new \InvalidArgumentException('JWK Set did not contain any keys'); } foreach ($jwks['keys'] as $k => $v) { $kid = isset($v['kid']) ? $v['kid'] : $k; if ($key = self::parseKey($v, $defaultAlg)) { $keys[(string) $kid] = $key; } } if (0 === \count($keys)) { throw new \UnexpectedValueException('No supported algorithms found in JWK Set'); } return $keys; } /** * Parse a JWK key * * @param array<mixed> $jwk An individual JWK * @param string $defaultAlg The algorithm for the Key object if "alg" is not set in the * JSON Web Key Set * * @return Key The key object for the JWK * * @throws InvalidArgumentException Provided JWK is empty * @throws UnexpectedValueException Provided JWK was invalid * @throws DomainException OpenSSL failure * * @uses createPemFromModulusAndExponent */ public static function parseKey(array $jwk, string $defaultAlg = null) : ?\Google\Site_Kit_Dependencies\Firebase\JWT\Key { if (empty($jwk)) { throw new \InvalidArgumentException('JWK must not be empty'); } if (!isset($jwk['kty'])) { throw new \UnexpectedValueException('JWK must contain a "kty" parameter'); } if (!isset($jwk['alg'])) { if (\is_null($defaultAlg)) { // The "alg" parameter is optional in a KTY, but an algorithm is required // for parsing in this library. Use the $defaultAlg parameter when parsing the // key set in order to prevent this error. // @see https://datatracker.ietf.org/doc/html/rfc7517#section-4.4 throw new \UnexpectedValueException('JWK must contain an "alg" parameter'); } $jwk['alg'] = $defaultAlg; } switch ($jwk['kty']) { case 'RSA': if (!empty($jwk['d'])) { throw new \UnexpectedValueException('RSA private keys are not supported'); } if (!isset($jwk['n']) || !isset($jwk['e'])) { throw new \UnexpectedValueException('RSA keys must contain values for both "n" and "e"'); } $pem = self::createPemFromModulusAndExponent($jwk['n'], $jwk['e']); $publicKey = \openssl_pkey_get_public($pem); if (\false === $publicKey) { throw new \DomainException('OpenSSL error: ' . \openssl_error_string()); } return new \Google\Site_Kit_Dependencies\Firebase\JWT\Key($publicKey, $jwk['alg']); case 'EC': if (isset($jwk['d'])) { // The key is actually a private key throw new \UnexpectedValueException('Key data must be for a public key'); } if (empty($jwk['crv'])) { throw new \UnexpectedValueException('crv not set'); } if (!isset(self::EC_CURVES[$jwk['crv']])) { throw new \DomainException('Unrecognised or unsupported EC curve'); } if (empty($jwk['x']) || empty($jwk['y'])) { throw new \UnexpectedValueException('x and y not set'); } $publicKey = self::createPemFromCrvAndXYCoordinates($jwk['crv'], $jwk['x'], $jwk['y']); return new \Google\Site_Kit_Dependencies\Firebase\JWT\Key($publicKey, $jwk['alg']); case 'OKP': if (isset($jwk['d'])) { // The key is actually a private key throw new \UnexpectedValueException('Key data must be for a public key'); } if (!isset($jwk['crv'])) { throw new \UnexpectedValueException('crv not set'); } if (empty(self::OKP_SUBTYPES[$jwk['crv']])) { throw new \DomainException('Unrecognised or unsupported OKP key subtype'); } if (empty($jwk['x'])) { throw new \UnexpectedValueException('x not set'); } // This library works internally with EdDSA keys (Ed25519) encoded in standard base64. $publicKey = \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::convertBase64urlToBase64($jwk['x']); return new \Google\Site_Kit_Dependencies\Firebase\JWT\Key($publicKey, $jwk['alg']); default: break; } return null; } /** * Converts the EC JWK values to pem format. * * @param string $crv The EC curve (only P-256 & P-384 is supported) * @param string $x The EC x-coordinate * @param string $y The EC y-coordinate * * @return string */ private static function createPemFromCrvAndXYCoordinates(string $crv, string $x, string $y) : string { $pem = self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::OID)) . self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::EC_CURVES[$crv]))) . self::encodeDER(self::ASN1_BIT_STRING, \chr(0x0) . \chr(0x4) . \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($x) . \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($y))); return \sprintf("-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n", \wordwrap(\base64_encode($pem), 64, "\n", \true)); } /** * Create a public key represented in PEM format from RSA modulus and exponent information * * @param string $n The RSA modulus encoded in Base64 * @param string $e The RSA exponent encoded in Base64 * * @return string The RSA public key represented in PEM format * * @uses encodeLength */ private static function createPemFromModulusAndExponent(string $n, string $e) : string { $mod = \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($n); $exp = \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($e); $modulus = \pack('Ca*a*', 2, self::encodeLength(\strlen($mod)), $mod); $publicExponent = \pack('Ca*a*', 2, self::encodeLength(\strlen($exp)), $exp); $rsaPublicKey = \pack('Ca*a*a*', 48, self::encodeLength(\strlen($modulus) + \strlen($publicExponent)), $modulus, $publicExponent); // sequence(oid(1.2.840.113549.1.1.1), null)) = rsaEncryption. $rsaOID = \pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA $rsaPublicKey = \chr(0) . $rsaPublicKey; $rsaPublicKey = \chr(3) . self::encodeLength(\strlen($rsaPublicKey)) . $rsaPublicKey; $rsaPublicKey = \pack('Ca*a*', 48, self::encodeLength(\strlen($rsaOID . $rsaPublicKey)), $rsaOID . $rsaPublicKey); return "-----BEGIN PUBLIC KEY-----\r\n" . \chunk_split(\base64_encode($rsaPublicKey), 64) . '-----END PUBLIC KEY-----'; } /** * DER-encode the length * * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. * * @param int $length * @return string */ private static function encodeLength(int $length) : string { if ($length <= 0x7f) { return \chr($length); } $temp = \ltrim(\pack('N', $length), \chr(0)); return \pack('Ca*', 0x80 | \strlen($temp), $temp); } /** * Encodes a value into a DER object. * Also defined in Firebase\JWT\JWT * * @param int $type DER tag * @param string $value the value to encode * @return string the encoded object */ private static function encodeDER(int $type, string $value) : string { $tag_header = 0; if ($type === self::ASN1_SEQUENCE) { $tag_header |= 0x20; } // Type $der = \chr($tag_header | $type); // Length $der .= \chr(\strlen($value)); return $der . $value; } /** * Encodes a string into a DER-encoded OID. * * @param string $oid the OID string * @return string the binary DER-encoded OID */ private static function encodeOID(string $oid) : string { $octets = \explode('.', $oid); // Get the first octet $first = (int) \array_shift($octets); $second = (int) \array_shift($octets); $oid = \chr($first * 40 + $second); // Iterate over subsequent octets foreach ($octets as $octet) { if ($octet == 0) { $oid .= \chr(0x0); continue; } $bin = ''; while ($octet) { $bin .= \chr(0x80 | $octet & 0x7f); $octet >>= 7; } $bin[0] = $bin[0] & \chr(0x7f); // Convert to big endian if necessary if (\pack('V', 65534) == \pack('L', 65534)) { $oid .= \strrev($bin); } else { $oid .= $bin; } } return $oid; } } third-party/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php 0000604 00000000653 14717744000 0022002 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; interface JWTExceptionWithPayloadInterface { /** * Get the payload that caused this exception. * * @return object */ public function getPayload() : object; /** * Get the payload that caused this exception. * * @param object $payload * @return void */ public function setPayload(object $payload) : void; } third-party/firebase/php-jwt/src/JWT.php 0000604 00000057007 14717744000 0014141 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; use ArrayAccess; use DateTime; use DomainException; use Exception; use InvalidArgumentException; use OpenSSLAsymmetricKey; use OpenSSLCertificate; use stdClass; use UnexpectedValueException; /** * JSON Web Token implementation, based on this spec: * https://tools.ietf.org/html/rfc7519 * * PHP version 5 * * @category Authentication * @package Authentication_JWT * @author Neuman Vong <neuman@twilio.com> * @author Anant Narayanan <anant@php.net> * @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD * @link https://github.com/firebase/php-jwt */ class JWT { private const ASN1_INTEGER = 0x2; private const ASN1_SEQUENCE = 0x10; private const ASN1_BIT_STRING = 0x3; /** * When checking nbf, iat or expiration times, * we want to provide some extra leeway time to * account for clock skew. * * @var int */ public static $leeway = 0; /** * Allow the current timestamp to be specified. * Useful for fixing a value within unit testing. * Will default to PHP time() value if null. * * @var ?int */ public static $timestamp = null; /** * @var array<string, string[]> */ public static $supported_algs = ['ES384' => ['openssl', 'SHA384'], 'ES256' => ['openssl', 'SHA256'], 'ES256K' => ['openssl', 'SHA256'], 'HS256' => ['hash_hmac', 'SHA256'], 'HS384' => ['hash_hmac', 'SHA384'], 'HS512' => ['hash_hmac', 'SHA512'], 'RS256' => ['openssl', 'SHA256'], 'RS384' => ['openssl', 'SHA384'], 'RS512' => ['openssl', 'SHA512'], 'EdDSA' => ['sodium_crypto', 'EdDSA']]; /** * Decodes a JWT string into a PHP object. * * @param string $jwt The JWT * @param Key|ArrayAccess<string,Key>|array<string,Key> $keyOrKeyArray The Key or associative array of key IDs * (kid) to Key objects. * If the algorithm used is asymmetric, this is * the public key. * Each Key object contains an algorithm and * matching key. * Supported algorithms are 'ES384','ES256', * 'HS256', 'HS384', 'HS512', 'RS256', 'RS384' * and 'RS512'. * @param stdClass $headers Optional. Populates stdClass with headers. * * @return stdClass The JWT's payload as a PHP object * * @throws InvalidArgumentException Provided key/key-array was empty or malformed * @throws DomainException Provided JWT is malformed * @throws UnexpectedValueException Provided JWT was invalid * @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed * @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf' * @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat' * @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim * * @uses jsonDecode * @uses urlsafeB64Decode */ public static function decode(string $jwt, $keyOrKeyArray, \stdClass &$headers = null) : \stdClass { // Validate JWT $timestamp = \is_null(static::$timestamp) ? \time() : static::$timestamp; if (empty($keyOrKeyArray)) { throw new \InvalidArgumentException('Key may not be empty'); } $tks = \explode('.', $jwt); if (\count($tks) !== 3) { throw new \UnexpectedValueException('Wrong number of segments'); } list($headb64, $bodyb64, $cryptob64) = $tks; $headerRaw = static::urlsafeB64Decode($headb64); if (null === ($header = static::jsonDecode($headerRaw))) { throw new \UnexpectedValueException('Invalid header encoding'); } if ($headers !== null) { $headers = $header; } $payloadRaw = static::urlsafeB64Decode($bodyb64); if (null === ($payload = static::jsonDecode($payloadRaw))) { throw new \UnexpectedValueException('Invalid claims encoding'); } if (\is_array($payload)) { // prevent PHP Fatal Error in edge-cases when payload is empty array $payload = (object) $payload; } if (!$payload instanceof \stdClass) { throw new \UnexpectedValueException('Payload must be a JSON object'); } $sig = static::urlsafeB64Decode($cryptob64); if (empty($header->alg)) { throw new \UnexpectedValueException('Empty algorithm'); } if (empty(static::$supported_algs[$header->alg])) { throw new \UnexpectedValueException('Algorithm not supported'); } $key = self::getKey($keyOrKeyArray, \property_exists($header, 'kid') ? $header->kid : null); // Check the algorithm if (!self::constantTimeEquals($key->getAlgorithm(), $header->alg)) { // See issue #351 throw new \UnexpectedValueException('Incorrect key for this algorithm'); } if (\in_array($header->alg, ['ES256', 'ES256K', 'ES384'], \true)) { // OpenSSL expects an ASN.1 DER sequence for ES256/ES256K/ES384 signatures $sig = self::signatureToDER($sig); } if (!self::verify("{$headb64}.{$bodyb64}", $sig, $key->getKeyMaterial(), $header->alg)) { throw new \Google\Site_Kit_Dependencies\Firebase\JWT\SignatureInvalidException('Signature verification failed'); } // Check the nbf if it is defined. This is the time that the // token can actually be used. If it's not yet that time, abort. if (isset($payload->nbf) && \floor($payload->nbf) > $timestamp + static::$leeway) { $ex = new \Google\Site_Kit_Dependencies\Firebase\JWT\BeforeValidException('Cannot handle token with nbf prior to ' . \date(\DateTime::ISO8601, (int) $payload->nbf)); $ex->setPayload($payload); throw $ex; } // Check that this token has been created before 'now'. This prevents // using tokens that have been created for later use (and haven't // correctly used the nbf claim). if (!isset($payload->nbf) && isset($payload->iat) && \floor($payload->iat) > $timestamp + static::$leeway) { $ex = new \Google\Site_Kit_Dependencies\Firebase\JWT\BeforeValidException('Cannot handle token with iat prior to ' . \date(\DateTime::ISO8601, (int) $payload->iat)); $ex->setPayload($payload); throw $ex; } // Check if this token has expired. if (isset($payload->exp) && $timestamp - static::$leeway >= $payload->exp) { $ex = new \Google\Site_Kit_Dependencies\Firebase\JWT\ExpiredException('Expired token'); $ex->setPayload($payload); throw $ex; } return $payload; } /** * Converts and signs a PHP array into a JWT string. * * @param array<mixed> $payload PHP array * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key. * @param string $alg Supported algorithms are 'ES384','ES256', 'ES256K', 'HS256', * 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' * @param string $keyId * @param array<string, string> $head An array with header elements to attach * * @return string A signed JWT * * @uses jsonEncode * @uses urlsafeB64Encode */ public static function encode(array $payload, $key, string $alg, string $keyId = null, array $head = null) : string { $header = ['typ' => 'JWT']; if (isset($head) && \is_array($head)) { $header = \array_merge($header, $head); } $header['alg'] = $alg; if ($keyId !== null) { $header['kid'] = $keyId; } $segments = []; $segments[] = static::urlsafeB64Encode((string) static::jsonEncode($header)); $segments[] = static::urlsafeB64Encode((string) static::jsonEncode($payload)); $signing_input = \implode('.', $segments); $signature = static::sign($signing_input, $key, $alg); $segments[] = static::urlsafeB64Encode($signature); return \implode('.', $segments); } /** * Sign a string with a given key and algorithm. * * @param string $msg The message to sign * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key. * @param string $alg Supported algorithms are 'EdDSA', 'ES384', 'ES256', 'ES256K', 'HS256', * 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' * * @return string An encrypted message * * @throws DomainException Unsupported algorithm or bad key was specified */ public static function sign(string $msg, $key, string $alg) : string { if (empty(static::$supported_algs[$alg])) { throw new \DomainException('Algorithm not supported'); } list($function, $algorithm) = static::$supported_algs[$alg]; switch ($function) { case 'hash_hmac': if (!\is_string($key)) { throw new \InvalidArgumentException('key must be a string when using hmac'); } return \hash_hmac($algorithm, $msg, $key, \true); case 'openssl': $signature = ''; $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line if (!$success) { throw new \DomainException('OpenSSL unable to sign data'); } if ($alg === 'ES256' || $alg === 'ES256K') { $signature = self::signatureFromDER($signature, 256); } elseif ($alg === 'ES384') { $signature = self::signatureFromDER($signature, 384); } return $signature; case 'sodium_crypto': if (!\function_exists('sodium_crypto_sign_detached')) { throw new \DomainException('libsodium is not available'); } if (!\is_string($key)) { throw new \InvalidArgumentException('key must be a string when using EdDSA'); } try { // The last non-empty line is used as the key. $lines = \array_filter(\explode("\n", $key)); $key = \base64_decode((string) \end($lines)); if (\strlen($key) === 0) { throw new \DomainException('Key cannot be empty string'); } return \sodium_crypto_sign_detached($msg, $key); } catch (\Exception $e) { throw new \DomainException($e->getMessage(), 0, $e); } } throw new \DomainException('Algorithm not supported'); } /** * Verify a signature with the message, key and method. Not all methods * are symmetric, so we must have a separate verify and sign method. * * @param string $msg The original message (header and body) * @param string $signature The original signature * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial For Ed*, ES*, HS*, a string key works. for RS*, must be an instance of OpenSSLAsymmetricKey * @param string $alg The algorithm * * @return bool * * @throws DomainException Invalid Algorithm, bad key, or OpenSSL failure */ private static function verify(string $msg, string $signature, $keyMaterial, string $alg) : bool { if (empty(static::$supported_algs[$alg])) { throw new \DomainException('Algorithm not supported'); } list($function, $algorithm) = static::$supported_algs[$alg]; switch ($function) { case 'openssl': $success = \openssl_verify($msg, $signature, $keyMaterial, $algorithm); // @phpstan-ignore-line if ($success === 1) { return \true; } if ($success === 0) { return \false; } // returns 1 on success, 0 on failure, -1 on error. throw new \DomainException('OpenSSL error: ' . \openssl_error_string()); case 'sodium_crypto': if (!\function_exists('sodium_crypto_sign_verify_detached')) { throw new \DomainException('libsodium is not available'); } if (!\is_string($keyMaterial)) { throw new \InvalidArgumentException('key must be a string when using EdDSA'); } try { // The last non-empty line is used as the key. $lines = \array_filter(\explode("\n", $keyMaterial)); $key = \base64_decode((string) \end($lines)); if (\strlen($key) === 0) { throw new \DomainException('Key cannot be empty string'); } if (\strlen($signature) === 0) { throw new \DomainException('Signature cannot be empty string'); } return \sodium_crypto_sign_verify_detached($signature, $msg, $key); } catch (\Exception $e) { throw new \DomainException($e->getMessage(), 0, $e); } case 'hash_hmac': default: if (!\is_string($keyMaterial)) { throw new \InvalidArgumentException('key must be a string when using hmac'); } $hash = \hash_hmac($algorithm, $msg, $keyMaterial, \true); return self::constantTimeEquals($hash, $signature); } } /** * Decode a JSON string into a PHP object. * * @param string $input JSON string * * @return mixed The decoded JSON string * * @throws DomainException Provided string was invalid JSON */ public static function jsonDecode(string $input) { $obj = \json_decode($input, \false, 512, \JSON_BIGINT_AS_STRING); if ($errno = \json_last_error()) { self::handleJsonError($errno); } elseif ($obj === null && $input !== 'null') { throw new \DomainException('Null result with non-null input'); } return $obj; } /** * Encode a PHP array into a JSON string. * * @param array<mixed> $input A PHP array * * @return string JSON representation of the PHP array * * @throws DomainException Provided object could not be encoded to valid JSON */ public static function jsonEncode(array $input) : string { if (\PHP_VERSION_ID >= 50400) { $json = \json_encode($input, \JSON_UNESCAPED_SLASHES); } else { // PHP 5.3 only $json = \json_encode($input); } if ($errno = \json_last_error()) { self::handleJsonError($errno); } elseif ($json === 'null') { throw new \DomainException('Null result with non-null input'); } if ($json === \false) { throw new \DomainException('Provided object could not be encoded to valid JSON'); } return $json; } /** * Decode a string with URL-safe Base64. * * @param string $input A Base64 encoded string * * @return string A decoded string * * @throws InvalidArgumentException invalid base64 characters */ public static function urlsafeB64Decode(string $input) : string { return \base64_decode(self::convertBase64UrlToBase64($input)); } /** * Convert a string in the base64url (URL-safe Base64) encoding to standard base64. * * @param string $input A Base64 encoded string with URL-safe characters (-_ and no padding) * * @return string A Base64 encoded string with standard characters (+/) and padding (=), when * needed. * * @see https://www.rfc-editor.org/rfc/rfc4648 */ public static function convertBase64UrlToBase64(string $input) : string { $remainder = \strlen($input) % 4; if ($remainder) { $padlen = 4 - $remainder; $input .= \str_repeat('=', $padlen); } return \strtr($input, '-_', '+/'); } /** * Encode a string with URL-safe Base64. * * @param string $input The string you want encoded * * @return string The base64 encode of what you passed in */ public static function urlsafeB64Encode(string $input) : string { return \str_replace('=', '', \strtr(\base64_encode($input), '+/', '-_')); } /** * Determine if an algorithm has been provided for each Key * * @param Key|ArrayAccess<string,Key>|array<string,Key> $keyOrKeyArray * @param string|null $kid * * @throws UnexpectedValueException * * @return Key */ private static function getKey($keyOrKeyArray, ?string $kid) : \Google\Site_Kit_Dependencies\Firebase\JWT\Key { if ($keyOrKeyArray instanceof \Google\Site_Kit_Dependencies\Firebase\JWT\Key) { return $keyOrKeyArray; } if (empty($kid) && $kid !== '0') { throw new \UnexpectedValueException('"kid" empty, unable to lookup correct key'); } if ($keyOrKeyArray instanceof \Google\Site_Kit_Dependencies\Firebase\JWT\CachedKeySet) { // Skip "isset" check, as this will automatically refresh if not set return $keyOrKeyArray[$kid]; } if (!isset($keyOrKeyArray[$kid])) { throw new \UnexpectedValueException('"kid" invalid, unable to lookup correct key'); } return $keyOrKeyArray[$kid]; } /** * @param string $left The string of known length to compare against * @param string $right The user-supplied string * @return bool */ public static function constantTimeEquals(string $left, string $right) : bool { if (\function_exists('hash_equals')) { return \hash_equals($left, $right); } $len = \min(self::safeStrlen($left), self::safeStrlen($right)); $status = 0; for ($i = 0; $i < $len; $i++) { $status |= \ord($left[$i]) ^ \ord($right[$i]); } $status |= self::safeStrlen($left) ^ self::safeStrlen($right); return $status === 0; } /** * Helper method to create a JSON error. * * @param int $errno An error number from json_last_error() * * @throws DomainException * * @return void */ private static function handleJsonError(int $errno) : void { $messages = [\JSON_ERROR_DEPTH => 'Maximum stack depth exceeded', \JSON_ERROR_STATE_MISMATCH => 'Invalid or malformed JSON', \JSON_ERROR_CTRL_CHAR => 'Unexpected control character found', \JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON', \JSON_ERROR_UTF8 => 'Malformed UTF-8 characters']; throw new \DomainException(isset($messages[$errno]) ? $messages[$errno] : 'Unknown JSON error: ' . $errno); } /** * Get the number of bytes in cryptographic strings. * * @param string $str * * @return int */ private static function safeStrlen(string $str) : int { if (\function_exists('mb_strlen')) { return \mb_strlen($str, '8bit'); } return \strlen($str); } /** * Convert an ECDSA signature to an ASN.1 DER sequence * * @param string $sig The ECDSA signature to convert * @return string The encoded DER object */ private static function signatureToDER(string $sig) : string { // Separate the signature into r-value and s-value $length = \max(1, (int) (\strlen($sig) / 2)); list($r, $s) = \str_split($sig, $length); // Trim leading zeros $r = \ltrim($r, "\x00"); $s = \ltrim($s, "\x00"); // Convert r-value and s-value from unsigned big-endian integers to // signed two's complement if (\ord($r[0]) > 0x7f) { $r = "\x00" . $r; } if (\ord($s[0]) > 0x7f) { $s = "\x00" . $s; } return self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_INTEGER, $r) . self::encodeDER(self::ASN1_INTEGER, $s)); } /** * Encodes a value into a DER object. * * @param int $type DER tag * @param string $value the value to encode * * @return string the encoded object */ private static function encodeDER(int $type, string $value) : string { $tag_header = 0; if ($type === self::ASN1_SEQUENCE) { $tag_header |= 0x20; } // Type $der = \chr($tag_header | $type); // Length $der .= \chr(\strlen($value)); return $der . $value; } /** * Encodes signature from a DER object. * * @param string $der binary signature in DER format * @param int $keySize the number of bits in the key * * @return string the signature */ private static function signatureFromDER(string $der, int $keySize) : string { // OpenSSL returns the ECDSA signatures as a binary ASN.1 DER SEQUENCE list($offset, $_) = self::readDER($der); list($offset, $r) = self::readDER($der, $offset); list($offset, $s) = self::readDER($der, $offset); // Convert r-value and s-value from signed two's compliment to unsigned // big-endian integers $r = \ltrim($r, "\x00"); $s = \ltrim($s, "\x00"); // Pad out r and s so that they are $keySize bits long $r = \str_pad($r, $keySize / 8, "\x00", \STR_PAD_LEFT); $s = \str_pad($s, $keySize / 8, "\x00", \STR_PAD_LEFT); return $r . $s; } /** * Reads binary DER-encoded data and decodes into a single object * * @param string $der the binary data in DER format * @param int $offset the offset of the data stream containing the object * to decode * * @return array{int, string|null} the new offset and the decoded object */ private static function readDER(string $der, int $offset = 0) : array { $pos = $offset; $size = \strlen($der); $constructed = \ord($der[$pos]) >> 5 & 0x1; $type = \ord($der[$pos++]) & 0x1f; // Length $len = \ord($der[$pos++]); if ($len & 0x80) { $n = $len & 0x1f; $len = 0; while ($n-- && $pos < $size) { $len = $len << 8 | \ord($der[$pos++]); } } // Value if ($type === self::ASN1_BIT_STRING) { $pos++; // Skip the first contents octet (padding indicator) $data = \substr($der, $pos, $len - 1); $pos += $len - 1; } elseif (!$constructed) { $data = \substr($der, $pos, $len); $pos += $len; } else { $data = null; } return [$pos, $data]; } } third-party/firebase/php-jwt/src/Key.php 0000604 00000003046 14717744000 0014217 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; use InvalidArgumentException; use OpenSSLAsymmetricKey; use OpenSSLCertificate; use TypeError; class Key { /** @var string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate */ private $keyMaterial; /** @var string */ private $algorithm; /** * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial * @param string $algorithm */ public function __construct($keyMaterial, string $algorithm) { if (!\is_string($keyMaterial) && !$keyMaterial instanceof \OpenSSLAsymmetricKey && !$keyMaterial instanceof \OpenSSLCertificate && !\is_resource($keyMaterial)) { throw new \TypeError('Key material must be a string, resource, or OpenSSLAsymmetricKey'); } if (empty($keyMaterial)) { throw new \InvalidArgumentException('Key material must not be empty'); } if (empty($algorithm)) { throw new \InvalidArgumentException('Algorithm must not be empty'); } // TODO: Remove in PHP 8.0 in favor of class constructor property promotion $this->keyMaterial = $keyMaterial; $this->algorithm = $algorithm; } /** * Return the algorithm valid for this key * * @return string */ public function getAlgorithm() : string { return $this->algorithm; } /** * @return string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate */ public function getKeyMaterial() { return $this->keyMaterial; } } third-party/firebase/php-jwt/src/SignatureInvalidException.php 0000604 00000000203 14717744000 0020606 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Firebase\JWT; class SignatureInvalidException extends \UnexpectedValueException { } third-party/google/apiclient/src/AccessToken/Revoke.php 0000604 00000005101 14717744000 0017171 0 ustar 00 <?php /* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\AccessToken; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Client; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request; /** * Wrapper around Google Access Tokens which provides convenience functions * */ class Revoke { /** * @var ClientInterface The http client */ private $http; /** * Instantiates the class, but does not initiate the login flow, leaving it * to the discretion of the caller. */ public function __construct(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http = null) { $this->http = $http; } /** * Revoke an OAuth2 access token or refresh token. This method will revoke the current access * token, if a token isn't provided. * * @param string|array $token The token (access token or a refresh token) that should be revoked. * @return boolean Returns True if the revocation was successful, otherwise False. */ public function revokeToken($token) { if (\is_array($token)) { if (isset($token['refresh_token'])) { $token = $token['refresh_token']; } else { $token = $token['access_token']; } } $body = \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Utils::streamFor(\http_build_query(['token' => $token])); $request = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request('POST', \Google\Site_Kit_Dependencies\Google\Client::OAUTH2_REVOKE_URI, ['Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded'], $body); $httpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($this->http); $response = $httpHandler($request); return $response->getStatusCode() == 200; } } third-party/google/apiclient/src/AccessToken/Verify.php 0000604 00000025222 14717744000 0017210 0 ustar 00 <?php /* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\AccessToken; use DateTime; use DomainException; use Exception; use Google\Site_Kit_Dependencies\ExpiredException; use Google\Site_Kit_Dependencies\Firebase\JWT\ExpiredException as ExpiredExceptionV3; use Google\Site_Kit_Dependencies\Firebase\JWT\Key; use Google\Site_Kit_Dependencies\Firebase\JWT\SignatureInvalidException; use Google\Site_Kit_Dependencies\Google\Auth\Cache\MemoryCacheItemPool; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; use Google\Site_Kit_Dependencies\GuzzleHttp\Client; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use InvalidArgumentException; use LogicException; use Google\Site_Kit_Dependencies\phpseclib3\Crypt\PublicKeyLoader; use Google\Site_Kit_Dependencies\phpseclib3\Crypt\RSA\PublicKey; // Firebase v2 use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface; /** * Wrapper around Google Access Tokens which provides convenience functions * */ class Verify { const FEDERATED_SIGNON_CERT_URL = 'https://www.googleapis.com/oauth2/v3/certs'; const OAUTH2_ISSUER = 'accounts.google.com'; const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com'; /** * @var ClientInterface The http client */ private $http; /** * @var CacheItemPoolInterface cache class */ private $cache; /** * @var \Firebase\JWT\JWT */ public $jwt; /** * Instantiates the class, but does not initiate the login flow, leaving it * to the discretion of the caller. */ public function __construct(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http = null, \Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface $cache = null, $jwt = null) { if (null === $http) { $http = new \Google\Site_Kit_Dependencies\GuzzleHttp\Client(); } if (null === $cache) { $cache = new \Google\Site_Kit_Dependencies\Google\Auth\Cache\MemoryCacheItemPool(); } $this->http = $http; $this->cache = $cache; $this->jwt = $jwt ?: $this->getJwtService(); } /** * Verifies an id token and returns the authenticated apiLoginTicket. * Throws an exception if the id token is not valid. * The audience parameter can be used to control which id tokens are * accepted. By default, the id token must have been issued to this OAuth2 client. * * @param string $idToken the ID token in JWT format * @param string $audience Optional. The audience to verify against JWt "aud" * @return array|false the token payload, if successful */ public function verifyIdToken($idToken, $audience = null) { if (empty($idToken)) { throw new \LogicException('id_token cannot be null'); } // set phpseclib constants if applicable $this->setPhpsecConstants(); // Check signature $certs = $this->getFederatedSignOnCerts(); foreach ($certs as $cert) { try { $args = [$idToken]; $publicKey = $this->getPublicKey($cert); if (\class_exists(\Google\Site_Kit_Dependencies\Firebase\JWT\Key::class)) { $args[] = new \Google\Site_Kit_Dependencies\Firebase\JWT\Key($publicKey, 'RS256'); } else { $args[] = $publicKey; $args[] = ['RS256']; } $payload = \call_user_func_array([$this->jwt, 'decode'], $args); if (\property_exists($payload, 'aud')) { if ($audience && $payload->aud != $audience) { return \false; } } // support HTTP and HTTPS issuers // @see https://developers.google.com/identity/sign-in/web/backend-auth $issuers = [self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS]; if (!isset($payload->iss) || !\in_array($payload->iss, $issuers)) { return \false; } return (array) $payload; } catch (\Google\Site_Kit_Dependencies\ExpiredException $e) { // @phpstan-ignore-line return \false; } catch (\Google\Site_Kit_Dependencies\Firebase\JWT\ExpiredException $e) { return \false; } catch (\Google\Site_Kit_Dependencies\Firebase\JWT\SignatureInvalidException $e) { // continue } catch (\DomainException $e) { // continue } } return \false; } private function getCache() { return $this->cache; } /** * Retrieve and cache a certificates file. * * @param string $url location * @throws \Google\Exception * @return array certificates */ private function retrieveCertsFromLocation($url) { // If we're retrieving a local file, just grab it. if (0 !== \strpos($url, 'http')) { if (!($file = \file_get_contents($url))) { throw new \Google\Site_Kit_Dependencies\Google\Exception("Failed to retrieve verification certificates: '" . $url . "'."); } return \json_decode($file, \true); } // @phpstan-ignore-next-line $response = $this->http->get($url); if ($response->getStatusCode() == 200) { return \json_decode((string) $response->getBody(), \true); } throw new \Google\Site_Kit_Dependencies\Google\Exception(\sprintf('Failed to retrieve verification certificates: "%s".', $response->getBody()->getContents()), $response->getStatusCode()); } // Gets federated sign-on certificates to use for verifying identity tokens. // Returns certs as array structure, where keys are key ids, and values // are PEM encoded certificates. private function getFederatedSignOnCerts() { $certs = null; if ($cache = $this->getCache()) { $cacheItem = $cache->getItem('federated_signon_certs_v3'); $certs = $cacheItem->get(); } if (!$certs) { $certs = $this->retrieveCertsFromLocation(self::FEDERATED_SIGNON_CERT_URL); if ($cache) { $cacheItem->expiresAt(new \DateTime('+1 hour')); $cacheItem->set($certs); $cache->save($cacheItem); } } if (!isset($certs['keys'])) { throw new \InvalidArgumentException('federated sign-on certs expects "keys" to be set'); } return $certs['keys']; } private function getJwtService() { $jwtClass = 'JWT'; if (\class_exists('Google\\Site_Kit_Dependencies\\Firebase\\JWT\\JWT')) { $jwtClass = 'Google\\Site_Kit_Dependencies\\Firebase\\JWT\\JWT'; } if (\property_exists($jwtClass, 'leeway') && $jwtClass::$leeway < 1) { // Ensures JWT leeway is at least 1 // @see https://github.com/google/google-api-php-client/issues/827 $jwtClass::$leeway = 1; } // @phpstan-ignore-next-line return new $jwtClass(); } private function getPublicKey($cert) { $bigIntClass = $this->getBigIntClass(); $modulus = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['n']), 256); $exponent = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['e']), 256); $component = ['n' => $modulus, 'e' => $exponent]; if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib3\\Crypt\\RSA\\PublicKey')) { /** @var PublicKey $loader */ $loader = \Google\Site_Kit_Dependencies\phpseclib3\Crypt\PublicKeyLoader::load($component); return $loader->toString('PKCS8'); } $rsaClass = $this->getRsaClass(); $rsa = new $rsaClass(); $rsa->loadKey($component); return $rsa->getPublicKey(); } private function getRsaClass() { if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib3\\Crypt\\RSA')) { return 'Google\\Site_Kit_Dependencies\\phpseclib3\\Crypt\\RSA'; } if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib\\Crypt\\RSA')) { return 'Google\\Site_Kit_Dependencies\\phpseclib\\Crypt\\RSA'; } return 'Crypt_RSA'; } private function getBigIntClass() { if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib3\\Math\\BigInteger')) { return 'Google\\Site_Kit_Dependencies\\phpseclib3\\Math\\BigInteger'; } if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib\\Math\\BigInteger')) { return 'Google\\Site_Kit_Dependencies\\phpseclib\\Math\\BigInteger'; } return 'Math_BigInteger'; } private function getOpenSslConstant() { if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib3\\Crypt\\AES')) { return 'phpseclib3\\Crypt\\AES::ENGINE_OPENSSL'; } if (\class_exists('Google\\Site_Kit_Dependencies\\phpseclib\\Crypt\\RSA')) { return 'phpseclib\\Crypt\\RSA::MODE_OPENSSL'; } if (\class_exists('Google\\Site_Kit_Dependencies\\Crypt_RSA')) { return 'CRYPT_RSA_MODE_OPENSSL'; } throw new \Exception('Cannot find RSA class'); } /** * phpseclib calls "phpinfo" by default, which requires special * whitelisting in the AppEngine VM environment. This function * sets constants to bypass the need for phpseclib to check phpinfo * * @see phpseclib/Math/BigInteger * @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85 */ private function setPhpsecConstants() { if (\filter_var(\getenv('GAE_VM'), \FILTER_VALIDATE_BOOLEAN)) { if (!\defined('Google\\Site_Kit_Dependencies\\MATH_BIGINTEGER_OPENSSL_ENABLED')) { \define('Google\\Site_Kit_Dependencies\\MATH_BIGINTEGER_OPENSSL_ENABLED', \true); } if (!\defined('Google\\Site_Kit_Dependencies\\CRYPT_RSA_MODE')) { \define('Google\\Site_Kit_Dependencies\\CRYPT_RSA_MODE', \constant($this->getOpenSslConstant())); } } } } third-party/google/apiclient/src/AuthHandler/AuthHandlerFactory.php 0000604 00000004041 14717744000 0021464 0 ustar 00 <?php /** * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\AuthHandler; use Exception; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; class AuthHandlerFactory { /** * Builds out a default http handler for the installed version of guzzle. * * @return Guzzle5AuthHandler|Guzzle6AuthHandler|Guzzle7AuthHandler * @throws Exception */ public static function build($cache = null, array $cacheConfig = []) { $guzzleVersion = null; if (\defined('\\Google\\Site_Kit_Dependencies\\GuzzleHttp\\ClientInterface::MAJOR_VERSION')) { $guzzleVersion = \Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface::MAJOR_VERSION; } elseif (\defined('\\Google\\Site_Kit_Dependencies\\GuzzleHttp\\ClientInterface::VERSION')) { $guzzleVersion = (int) \substr(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface::VERSION, 0, 1); } switch ($guzzleVersion) { case 5: return new \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle5AuthHandler($cache, $cacheConfig); case 6: return new \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle6AuthHandler($cache, $cacheConfig); case 7: return new \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle7AuthHandler($cache, $cacheConfig); default: throw new \Exception('Version not supported'); } } } third-party/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php 0000604 00000007056 14717744000 0021433 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Google\AuthHandler; use Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader; use Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Auth\Subscriber\AuthTokenSubscriber; use Google\Site_Kit_Dependencies\Google\Auth\Subscriber\ScopedAccessTokenSubscriber; use Google\Site_Kit_Dependencies\Google\Auth\Subscriber\SimpleSubscriber; use Google\Site_Kit_Dependencies\GuzzleHttp\Client; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface; /** * This supports Guzzle 5 */ class Guzzle5AuthHandler { protected $cache; protected $cacheConfig; public function __construct(\Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface $cache = null, array $cacheConfig = []) { $this->cache = $cache; $this->cacheConfig = $cacheConfig; } public function attachCredentials(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, \Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader $credentials, callable $tokenCallback = null) { // use the provided cache if ($this->cache) { $credentials = new \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache($credentials, $this->cacheConfig, $this->cache); } return $this->attachCredentialsCache($http, $credentials, $tokenCallback); } public function attachCredentialsCache(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache $credentials, callable $tokenCallback = null) { // if we end up needing to make an HTTP request to retrieve credentials, we // can use our existing one, but we need to throw exceptions so the error // bubbles up. $authHttp = $this->createAuthHttp($http); $authHttpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($authHttp); $subscriber = new \Google\Site_Kit_Dependencies\Google\Auth\Subscriber\AuthTokenSubscriber($credentials, $authHttpHandler, $tokenCallback); $http->setDefaultOption('auth', 'google_auth'); $http->getEmitter()->attach($subscriber); return $http; } public function attachToken(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, array $token, array $scopes) { $tokenFunc = function ($scopes) use($token) { return $token['access_token']; }; $subscriber = new \Google\Site_Kit_Dependencies\Google\Auth\Subscriber\ScopedAccessTokenSubscriber($tokenFunc, $scopes, $this->cacheConfig, $this->cache); $http->setDefaultOption('auth', 'scoped'); $http->getEmitter()->attach($subscriber); return $http; } public function attachKey(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, $key) { $subscriber = new \Google\Site_Kit_Dependencies\Google\Auth\Subscriber\SimpleSubscriber(['key' => $key]); $http->setDefaultOption('auth', 'simple'); $http->getEmitter()->attach($subscriber); return $http; } private function createAuthHttp(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http) { return new \Google\Site_Kit_Dependencies\GuzzleHttp\Client(['base_url' => $http->getBaseUrl(), 'defaults' => ['exceptions' => \true, 'verify' => $http->getDefaultOption('verify'), 'proxy' => $http->getDefaultOption('proxy')]]); } } third-party/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php 0000604 00000007641 14717744000 0021434 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Google\AuthHandler; use Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader; use Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Auth\Middleware\AuthTokenMiddleware; use Google\Site_Kit_Dependencies\Google\Auth\Middleware\ScopedAccessTokenMiddleware; use Google\Site_Kit_Dependencies\Google\Auth\Middleware\SimpleMiddleware; use Google\Site_Kit_Dependencies\GuzzleHttp\Client; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface; /** * This supports Guzzle 6 */ class Guzzle6AuthHandler { protected $cache; protected $cacheConfig; public function __construct(\Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface $cache = null, array $cacheConfig = []) { $this->cache = $cache; $this->cacheConfig = $cacheConfig; } public function attachCredentials(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, \Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader $credentials, callable $tokenCallback = null) { // use the provided cache if ($this->cache) { $credentials = new \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache($credentials, $this->cacheConfig, $this->cache); } return $this->attachCredentialsCache($http, $credentials, $tokenCallback); } public function attachCredentialsCache(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache $credentials, callable $tokenCallback = null) { // if we end up needing to make an HTTP request to retrieve credentials, we // can use our existing one, but we need to throw exceptions so the error // bubbles up. $authHttp = $this->createAuthHttp($http); $authHttpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($authHttp); $middleware = new \Google\Site_Kit_Dependencies\Google\Auth\Middleware\AuthTokenMiddleware($credentials, $authHttpHandler, $tokenCallback); $config = $http->getConfig(); $config['handler']->remove('google_auth'); $config['handler']->push($middleware, 'google_auth'); $config['auth'] = 'google_auth'; $http = new \Google\Site_Kit_Dependencies\GuzzleHttp\Client($config); return $http; } public function attachToken(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, array $token, array $scopes) { $tokenFunc = function ($scopes) use($token) { return $token['access_token']; }; $middleware = new \Google\Site_Kit_Dependencies\Google\Auth\Middleware\ScopedAccessTokenMiddleware($tokenFunc, $scopes, $this->cacheConfig, $this->cache); $config = $http->getConfig(); $config['handler']->remove('google_auth'); $config['handler']->push($middleware, 'google_auth'); $config['auth'] = 'scoped'; $http = new \Google\Site_Kit_Dependencies\GuzzleHttp\Client($config); return $http; } public function attachKey(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http, $key) { $middleware = new \Google\Site_Kit_Dependencies\Google\Auth\Middleware\SimpleMiddleware(['key' => $key]); $config = $http->getConfig(); $config['handler']->remove('google_auth'); $config['handler']->push($middleware, 'google_auth'); $config['auth'] = 'simple'; $http = new \Google\Site_Kit_Dependencies\GuzzleHttp\Client($config); return $http; } private function createAuthHttp(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http) { return new \Google\Site_Kit_Dependencies\GuzzleHttp\Client(['http_errors' => \true] + $http->getConfig()); } } third-party/google/apiclient/src/AuthHandler/Guzzle7AuthHandler.php 0000604 00000001442 14717744000 0021426 0 ustar 00 <?php /** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\AuthHandler; /** * This supports Guzzle 7 */ class Guzzle7AuthHandler extends \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle6AuthHandler { } third-party/google/apiclient/src/Http/Batch.php 0000604 00000017755 14717744000 0015516 0 ustar 00 <?php /* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Http; use Google\Site_Kit_Dependencies\Google\Client; use Google\Site_Kit_Dependencies\Google\Service\Exception as GoogleServiceException; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Response; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface; /** * Class to handle batched requests to the Google API service. * * Note that calls to `Google\Http\Batch::execute()` do not clear the queued * requests. To start a new batch, be sure to create a new instance of this * class. */ class Batch { const BATCH_PATH = 'batch'; private static $CONNECTION_ESTABLISHED_HEADERS = ["HTTP/1.0 200 Connection established\r\n\r\n", "HTTP/1.1 200 Connection established\r\n\r\n"]; /** @var string Multipart Boundary. */ private $boundary; /** @var array service requests to be executed. */ private $requests = []; /** @var Client */ private $client; private $rootUrl; private $batchPath; public function __construct(\Google\Site_Kit_Dependencies\Google\Client $client, $boundary = \false, $rootUrl = null, $batchPath = null) { $this->client = $client; $this->boundary = $boundary ?: \mt_rand(); $this->rootUrl = \rtrim($rootUrl ?: $this->client->getConfig('base_path'), '/'); $this->batchPath = $batchPath ?: self::BATCH_PATH; } public function add(\Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request, $key = \false) { if (\false == $key) { $key = \mt_rand(); } $this->requests[$key] = $request; } public function execute() { $body = ''; $classes = []; $batchHttpTemplate = <<<EOF --%s Content-Type: application/http Content-Transfer-Encoding: binary MIME-Version: 1.0 Content-ID: %s %s %s%s EOF; /** @var RequestInterface $request */ foreach ($this->requests as $key => $request) { $firstLine = \sprintf('%s %s HTTP/%s', $request->getMethod(), $request->getRequestTarget(), $request->getProtocolVersion()); $content = (string) $request->getBody(); $headers = ''; foreach ($request->getHeaders() as $name => $values) { $headers .= \sprintf("%s:%s\r\n", $name, \implode(', ', $values)); } $body .= \sprintf($batchHttpTemplate, $this->boundary, $key, $firstLine, $headers, $content ? "\n" . $content : ''); $classes['response-' . $key] = $request->getHeaderLine('X-Php-Expected-Class'); } $body .= "--{$this->boundary}--"; $body = \trim($body); $url = $this->rootUrl . '/' . $this->batchPath; $headers = ['Content-Type' => \sprintf('multipart/mixed; boundary=%s', $this->boundary), 'Content-Length' => (string) \strlen($body)]; $request = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request('POST', $url, $headers, $body); $response = $this->client->execute($request); return $this->parseResponse($response, $classes); } public function parseResponse(\Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface $response, $classes = []) { $contentType = $response->getHeaderLine('content-type'); $contentType = \explode(';', $contentType); $boundary = \false; foreach ($contentType as $part) { $part = \explode('=', $part, 2); if (isset($part[0]) && 'boundary' == \trim($part[0])) { $boundary = $part[1]; } } $body = (string) $response->getBody(); if (!empty($body)) { $body = \str_replace("--{$boundary}--", "--{$boundary}", $body); $parts = \explode("--{$boundary}", $body); $responses = []; $requests = \array_values($this->requests); foreach ($parts as $i => $part) { $part = \trim($part); if (!empty($part)) { list($rawHeaders, $part) = \explode("\r\n\r\n", $part, 2); $headers = $this->parseRawHeaders($rawHeaders); $status = \substr($part, 0, \strpos($part, "\n")); $status = \explode(" ", $status); $status = $status[1]; list($partHeaders, $partBody) = $this->parseHttpResponse($part, 0); $response = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Response((int) $status, $partHeaders, \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Utils::streamFor($partBody)); // Need content id. $key = $headers['content-id']; try { $response = \Google\Site_Kit_Dependencies\Google\Http\REST::decodeHttpResponse($response, $requests[$i - 1]); } catch (\Google\Site_Kit_Dependencies\Google\Service\Exception $e) { // Store the exception as the response, so successful responses // can be processed. $response = $e; } $responses[$key] = $response; } } return $responses; } return null; } private function parseRawHeaders($rawHeaders) { $headers = []; $responseHeaderLines = \explode("\r\n", $rawHeaders); foreach ($responseHeaderLines as $headerLine) { if ($headerLine && \strpos($headerLine, ':') !== \false) { list($header, $value) = \explode(': ', $headerLine, 2); $header = \strtolower($header); if (isset($headers[$header])) { $headers[$header] = \array_merge((array) $headers[$header], (array) $value); } else { $headers[$header] = $value; } } } return $headers; } /** * Used by the IO lib and also the batch processing. * * @param string $respData * @param int $headerSize * @return array */ private function parseHttpResponse($respData, $headerSize) { // check proxy header foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) { if (\stripos($respData, $established_header) !== \false) { // existed, remove it $respData = \str_ireplace($established_header, '', $respData); // Subtract the proxy header size unless the cURL bug prior to 7.30.0 // is present which prevented the proxy header size from being taken into // account. // @TODO look into this // if (!$this->needsQuirk()) { // $headerSize -= strlen($established_header); // } break; } } if ($headerSize) { $responseBody = \substr($respData, $headerSize); $responseHeaders = \substr($respData, 0, $headerSize); } else { $responseSegments = \explode("\r\n\r\n", $respData, 2); $responseHeaders = $responseSegments[0]; $responseBody = isset($responseSegments[1]) ? $responseSegments[1] : null; } $responseHeaders = $this->parseRawHeaders($responseHeaders); return [$responseHeaders, $responseBody]; } } third-party/google/apiclient/src/Http/MediaFileUpload.php 0000604 00000024317 14717744000 0017451 0 ustar 00 <?php /** * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Http; use Google\Site_Kit_Dependencies\Google\Client; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Uri; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; /** * Manage large file uploads, which may be media but can be any type * of sizable data. */ class MediaFileUpload { const UPLOAD_MEDIA_TYPE = 'media'; const UPLOAD_MULTIPART_TYPE = 'multipart'; const UPLOAD_RESUMABLE_TYPE = 'resumable'; /** @var string $mimeType */ private $mimeType; /** @var string $data */ private $data; /** @var bool $resumable */ private $resumable; /** @var int $chunkSize */ private $chunkSize; /** @var int $size */ private $size; /** @var string $resumeUri */ private $resumeUri; /** @var int $progress */ private $progress; /** @var Client */ private $client; /** @var RequestInterface */ private $request; /** @var string */ private $boundary; // @phpstan-ignore-line /** * Result code from last HTTP call * @var int */ private $httpResultCode; /** * @param Client $client * @param RequestInterface $request * @param string $mimeType * @param string $data The bytes you want to upload. * @param bool $resumable * @param int $chunkSize File will be uploaded in chunks of this many bytes. * only used if resumable=True */ public function __construct(\Google\Site_Kit_Dependencies\Google\Client $client, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request, $mimeType, $data, $resumable = \false, $chunkSize = 0) { $this->client = $client; $this->request = $request; $this->mimeType = $mimeType; $this->data = $data; $this->resumable = $resumable; $this->chunkSize = $chunkSize; $this->progress = 0; $this->process(); } /** * Set the size of the file that is being uploaded. * @param int $size - int file size in bytes */ public function setFileSize($size) { $this->size = $size; } /** * Return the progress on the upload * @return int progress in bytes uploaded. */ public function getProgress() { return $this->progress; } /** * Send the next part of the file to upload. * @param string|bool $chunk Optional. The next set of bytes to send. If false will * use $data passed at construct time. */ public function nextChunk($chunk = \false) { $resumeUri = $this->getResumeUri(); if (\false == $chunk) { $chunk = \substr($this->data, $this->progress, $this->chunkSize); } $lastBytePos = $this->progress + \strlen($chunk) - 1; $headers = ['content-range' => "bytes {$this->progress}-{$lastBytePos}/{$this->size}", 'content-length' => (string) \strlen($chunk), 'expect' => '']; $request = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request('PUT', $resumeUri, $headers, \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Utils::streamFor($chunk)); return $this->makePutRequest($request); } /** * Return the HTTP result code from the last call made. * @return int code */ public function getHttpResultCode() { return $this->httpResultCode; } /** * Sends a PUT-Request to google drive and parses the response, * setting the appropiate variables from the response() * * @param RequestInterface $request the Request which will be send * * @return false|mixed false when the upload is unfinished or the decoded http response * */ private function makePutRequest(\Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request) { $response = $this->client->execute($request); $this->httpResultCode = $response->getStatusCode(); if (308 == $this->httpResultCode) { // Track the amount uploaded. $range = $response->getHeaderLine('range'); if ($range) { $range_array = \explode('-', $range); $this->progress = (int) $range_array[1] + 1; } // Allow for changing upload URLs. $location = $response->getHeaderLine('location'); if ($location) { $this->resumeUri = $location; } // No problems, but upload not complete. return \false; } return \Google\Site_Kit_Dependencies\Google\Http\REST::decodeHttpResponse($response, $this->request); } /** * Resume a previously unfinished upload * @param string $resumeUri the resume-URI of the unfinished, resumable upload. */ public function resume($resumeUri) { $this->resumeUri = $resumeUri; $headers = ['content-range' => "bytes */{$this->size}", 'content-length' => '0']; $httpRequest = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request('PUT', $this->resumeUri, $headers); return $this->makePutRequest($httpRequest); } /** * @return RequestInterface * @visible for testing */ private function process() { $this->transformToUploadUrl(); $request = $this->request; $postBody = ''; $contentType = \false; $meta = \json_decode((string) $request->getBody(), \true); $uploadType = $this->getUploadType($meta); $request = $request->withUri(\Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Uri::withQueryValue($request->getUri(), 'uploadType', $uploadType)); $mimeType = $this->mimeType ?: $request->getHeaderLine('content-type'); if (self::UPLOAD_RESUMABLE_TYPE == $uploadType) { $contentType = $mimeType; $postBody = \is_string($meta) ? $meta : \json_encode($meta); } elseif (self::UPLOAD_MEDIA_TYPE == $uploadType) { $contentType = $mimeType; $postBody = $this->data; } elseif (self::UPLOAD_MULTIPART_TYPE == $uploadType) { // This is a multipart/related upload. $boundary = $this->boundary ?: \mt_rand(); $boundary = \str_replace('"', '', $boundary); $contentType = 'multipart/related; boundary=' . $boundary; $related = "--{$boundary}\r\n"; $related .= "Content-Type: application/json; charset=UTF-8\r\n"; $related .= "\r\n" . \json_encode($meta) . "\r\n"; $related .= "--{$boundary}\r\n"; $related .= "Content-Type: {$mimeType}\r\n"; $related .= "Content-Transfer-Encoding: base64\r\n"; $related .= "\r\n" . \base64_encode($this->data) . "\r\n"; $related .= "--{$boundary}--"; $postBody = $related; } $request = $request->withBody(\Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Utils::streamFor($postBody)); if ($contentType) { $request = $request->withHeader('content-type', $contentType); } return $this->request = $request; } /** * Valid upload types: * - resumable (UPLOAD_RESUMABLE_TYPE) * - media (UPLOAD_MEDIA_TYPE) * - multipart (UPLOAD_MULTIPART_TYPE) * @param string|false $meta * @return string * @visible for testing */ public function getUploadType($meta) { if ($this->resumable) { return self::UPLOAD_RESUMABLE_TYPE; } if (\false == $meta && $this->data) { return self::UPLOAD_MEDIA_TYPE; } return self::UPLOAD_MULTIPART_TYPE; } public function getResumeUri() { if (null === $this->resumeUri) { $this->resumeUri = $this->fetchResumeUri(); } return $this->resumeUri; } private function fetchResumeUri() { $body = $this->request->getBody(); $headers = ['content-type' => 'application/json; charset=UTF-8', 'content-length' => $body->getSize(), 'x-upload-content-type' => $this->mimeType, 'x-upload-content-length' => $this->size, 'expect' => '']; foreach ($headers as $key => $value) { $this->request = $this->request->withHeader($key, $value); } $response = $this->client->execute($this->request, \false); $location = $response->getHeaderLine('location'); $code = $response->getStatusCode(); if (200 == $code && \true == $location) { return $location; } $message = $code; $body = \json_decode((string) $this->request->getBody(), \true); if (isset($body['error']['errors'])) { $message .= ': '; foreach ($body['error']['errors'] as $error) { $message .= "{$error['domain']}, {$error['message']};"; } $message = \rtrim($message, ';'); } $error = "Failed to start the resumable upload (HTTP {$message})"; $this->client->getLogger()->error($error); throw new \Google\Site_Kit_Dependencies\Google\Exception($error); } private function transformToUploadUrl() { $parts = \parse_url((string) $this->request->getUri()); if (!isset($parts['path'])) { $parts['path'] = ''; } $parts['path'] = '/upload' . $parts['path']; $uri = \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Uri::fromParts($parts); $this->request = $this->request->withUri($uri); } public function setChunkSize($chunkSize) { $this->chunkSize = $chunkSize; } public function getRequest() { return $this->request; } } third-party/google/apiclient/src/Http/REST.php 0000604 00000015736 14717744000 0015247 0 ustar 00 <?php /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Http; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Service\Exception as GoogleServiceException; use Google\Site_Kit_Dependencies\Google\Task\Runner; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\GuzzleHttp\Exception\RequestException; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Response; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface; /** * This class implements the RESTful transport of apiServiceRequest()'s */ class REST { /** * Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries * when errors occur. * * @template T * @param ClientInterface $client * @param RequestInterface $request * @param class-string<T>|false|null $expectedClass * @param array $config * @param array $retryMap * @return mixed|T|null * @throws \Google\Service\Exception on server side error (ie: not authenticated, * invalid or malformed post body, invalid url) */ public static function execute(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $client, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request, $expectedClass = null, $config = [], $retryMap = null) { $runner = new \Google\Site_Kit_Dependencies\Google\Task\Runner($config, \sprintf('%s %s', $request->getMethod(), (string) $request->getUri()), [\get_class(), 'doExecute'], [$client, $request, $expectedClass]); if (null !== $retryMap) { $runner->setRetryMap($retryMap); } return $runner->run(); } /** * Executes a Psr\Http\Message\RequestInterface * * @template T * @param ClientInterface $client * @param RequestInterface $request * @param class-string<T>|false|null $expectedClass * @return mixed|T|null * @throws \Google\Service\Exception on server side error (ie: not authenticated, * invalid or malformed post body, invalid url) */ public static function doExecute(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $client, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request, $expectedClass = null) { try { $httpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($client); $response = $httpHandler($request); } catch (\Google\Site_Kit_Dependencies\GuzzleHttp\Exception\RequestException $e) { // if Guzzle throws an exception, catch it and handle the response if (!$e->hasResponse()) { throw $e; } $response = $e->getResponse(); // specific checking for Guzzle 5: convert to PSR7 response if (\interface_exists('Google\\Site_Kit_Dependencies\\GuzzleHttp\\Message\\ResponseInterface') && $response instanceof \Google\Site_Kit_Dependencies\GuzzleHttp\Message\ResponseInterface) { $response = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Response($response->getStatusCode(), $response->getHeaders() ?: [], $response->getBody(), $response->getProtocolVersion(), $response->getReasonPhrase()); } } return self::decodeHttpResponse($response, $request, $expectedClass); } /** * Decode an HTTP Response. * @static * * @template T * @param RequestInterface $response The http response to be decoded. * @param ResponseInterface $response * @param class-string<T>|false|null $expectedClass * @return mixed|T|null * @throws \Google\Service\Exception */ public static function decodeHttpResponse(\Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface $response, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request = null, $expectedClass = null) { $code = $response->getStatusCode(); // retry strategy if (\intVal($code) >= 400) { // if we errored out, it should be safe to grab the response body $body = (string) $response->getBody(); // Check if we received errors, and add those to the Exception for convenience throw new \Google\Site_Kit_Dependencies\Google\Service\Exception($body, $code, null, self::getResponseErrors($body)); } // Ensure we only pull the entire body into memory if the request is not // of media type $body = self::decodeBody($response, $request); if ($expectedClass = self::determineExpectedClass($expectedClass, $request)) { $json = \json_decode($body, \true); return new $expectedClass($json); } return $response; } private static function decodeBody(\Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface $response, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request = null) { if (self::isAltMedia($request)) { // don't decode the body, it's probably a really long string return ''; } return (string) $response->getBody(); } private static function determineExpectedClass($expectedClass, \Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request = null) { // "false" is used to explicitly prevent an expected class from being returned if (\false === $expectedClass) { return null; } // if we don't have a request, we just use what's passed in if (null === $request) { return $expectedClass; } // return what we have in the request header if one was not supplied return $expectedClass ?: $request->getHeaderLine('X-Php-Expected-Class'); } private static function getResponseErrors($body) { $json = \json_decode($body, \true); if (isset($json['error']['errors'])) { return $json['error']['errors']; } return null; } private static function isAltMedia(\Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request = null) { if ($request && ($qs = $request->getUri()->getQuery())) { \parse_str($qs, $query); if (isset($query['alt']) && $query['alt'] == 'media') { return \true; } } return \false; } } third-party/google/apiclient/src/Service/Exception.php 0000604 00000004131 14717744000 0017074 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Service; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; class Exception extends \Google\Site_Kit_Dependencies\Google\Exception { /** * Optional list of errors returned in a JSON body of an HTTP error response. */ protected $errors = []; /** * Override default constructor to add the ability to set $errors and a retry * map. * * @param string $message * @param int $code * @param Exception|null $previous * @param array<array<string,string>>|null $errors List of errors returned in an HTTP * response or null. Defaults to []. */ public function __construct($message, $code = 0, \Google\Site_Kit_Dependencies\Google\Service\Exception $previous = null, $errors = []) { if (\version_compare(\PHP_VERSION, '5.3.0') >= 0) { parent::__construct($message, $code, $previous); } else { parent::__construct($message, $code); } $this->errors = $errors; } /** * An example of the possible errors returned. * * [ * { * "domain": "global", * "reason": "authError", * "message": "Invalid Credentials", * "locationType": "header", * "location": "Authorization", * } * ] * * @return array<array<string,string>>|null List of errors returned in an HTTP response or null. */ public function getErrors() { return $this->errors; } } third-party/google/apiclient/src/Service/Resource.php 0000604 00000024716 14717744000 0016740 0 ustar 00 <?php /** * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Service; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; use Google\Site_Kit_Dependencies\Google\Http\MediaFileUpload; use Google\Site_Kit_Dependencies\Google\Model; use Google\Site_Kit_Dependencies\Google\Utils\UriTemplate; use Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request; /** * Implements the actual methods/resources of the discovered Google API using magic function * calling overloading (__call()), which on call will see if the method name (plus.activities.list) * is available in this service, and if so construct an apiHttpRequest representing it. * */ class Resource { // Valid query parameters that work, but don't appear in discovery. private $stackParameters = ['alt' => ['type' => 'string', 'location' => 'query'], 'fields' => ['type' => 'string', 'location' => 'query'], 'trace' => ['type' => 'string', 'location' => 'query'], 'userIp' => ['type' => 'string', 'location' => 'query'], 'quotaUser' => ['type' => 'string', 'location' => 'query'], 'data' => ['type' => 'string', 'location' => 'body'], 'mimeType' => ['type' => 'string', 'location' => 'header'], 'uploadType' => ['type' => 'string', 'location' => 'query'], 'mediaUpload' => ['type' => 'complex', 'location' => 'query'], 'prettyPrint' => ['type' => 'string', 'location' => 'query']]; /** @var string $rootUrl */ private $rootUrl; /** @var \Google\Client $client */ private $client; /** @var string $serviceName */ private $serviceName; /** @var string $servicePath */ private $servicePath; /** @var string $resourceName */ private $resourceName; /** @var array $methods */ private $methods; public function __construct($service, $serviceName, $resourceName, $resource) { $this->rootUrl = $service->rootUrl; $this->client = $service->getClient(); $this->servicePath = $service->servicePath; $this->serviceName = $serviceName; $this->resourceName = $resourceName; $this->methods = \is_array($resource) && isset($resource['methods']) ? $resource['methods'] : [$resourceName => $resource]; } /** * TODO: This function needs simplifying. * * @template T * @param string $name * @param array $arguments * @param class-string<T> $expectedClass - optional, the expected class name * @return mixed|T|ResponseInterface|RequestInterface * @throws \Google\Exception */ public function call($name, $arguments, $expectedClass = null) { if (!isset($this->methods[$name])) { $this->client->getLogger()->error('Service method unknown', ['service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name]); throw new \Google\Site_Kit_Dependencies\Google\Exception("Unknown function: " . "{$this->serviceName}->{$this->resourceName}->{$name}()"); } $method = $this->methods[$name]; $parameters = $arguments[0]; // postBody is a special case since it's not defined in the discovery // document as parameter, but we abuse the param entry for storing it. $postBody = null; if (isset($parameters['postBody'])) { if ($parameters['postBody'] instanceof \Google\Site_Kit_Dependencies\Google\Model) { // In the cases the post body is an existing object, we want // to use the smart method to create a simple object for // for JSONification. $parameters['postBody'] = $parameters['postBody']->toSimpleObject(); } elseif (\is_object($parameters['postBody'])) { // If the post body is another kind of object, we will try and // wrangle it into a sensible format. $parameters['postBody'] = $this->convertToArrayAndStripNulls($parameters['postBody']); } $postBody = (array) $parameters['postBody']; unset($parameters['postBody']); } // TODO: optParams here probably should have been // handled already - this may well be redundant code. if (isset($parameters['optParams'])) { $optParams = $parameters['optParams']; unset($parameters['optParams']); $parameters = \array_merge($parameters, $optParams); } if (!isset($method['parameters'])) { $method['parameters'] = []; } $method['parameters'] = \array_merge($this->stackParameters, $method['parameters']); foreach ($parameters as $key => $val) { if ($key != 'postBody' && !isset($method['parameters'][$key])) { $this->client->getLogger()->error('Service parameter unknown', ['service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'parameter' => $key]); throw new \Google\Site_Kit_Dependencies\Google\Exception("({$name}) unknown parameter: '{$key}'"); } } foreach ($method['parameters'] as $paramName => $paramSpec) { if (isset($paramSpec['required']) && $paramSpec['required'] && !isset($parameters[$paramName])) { $this->client->getLogger()->error('Service parameter missing', ['service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'parameter' => $paramName]); throw new \Google\Site_Kit_Dependencies\Google\Exception("({$name}) missing required param: '{$paramName}'"); } if (isset($parameters[$paramName])) { $value = $parameters[$paramName]; $parameters[$paramName] = $paramSpec; $parameters[$paramName]['value'] = $value; unset($parameters[$paramName]['required']); } else { // Ensure we don't pass nulls. unset($parameters[$paramName]); } } $this->client->getLogger()->info('Service Call', ['service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'arguments' => $parameters]); // build the service uri $url = $this->createRequestUri($method['path'], $parameters); // NOTE: because we're creating the request by hand, // and because the service has a rootUrl property // the "base_uri" of the Http Client is not accounted for $request = new \Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request($method['httpMethod'], $url, $postBody ? ['content-type' => 'application/json'] : [], $postBody ? \json_encode($postBody) : ''); // support uploads if (isset($parameters['data'])) { $mimeType = isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream'; $data = $parameters['data']['value']; $upload = new \Google\Site_Kit_Dependencies\Google\Http\MediaFileUpload($this->client, $request, $mimeType, $data); // pull down the modified request $request = $upload->getRequest(); } // if this is a media type, we will return the raw response // rather than using an expected class if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') { $expectedClass = null; } // if the client is marked for deferring, rather than // execute the request, return the response if ($this->client->shouldDefer()) { // @TODO find a better way to do this $request = $request->withHeader('X-Php-Expected-Class', $expectedClass); return $request; } return $this->client->execute($request, $expectedClass); } protected function convertToArrayAndStripNulls($o) { $o = (array) $o; foreach ($o as $k => $v) { if ($v === null) { unset($o[$k]); } elseif (\is_object($v) || \is_array($v)) { $o[$k] = $this->convertToArrayAndStripNulls($o[$k]); } } return $o; } /** * Parse/expand request parameters and create a fully qualified * request uri. * @static * @param string $restPath * @param array $params * @return string $requestUrl */ public function createRequestUri($restPath, $params) { // Override the default servicePath address if the $restPath use a / if ('/' == \substr($restPath, 0, 1)) { $requestUrl = \substr($restPath, 1); } else { $requestUrl = $this->servicePath . $restPath; } // code for leading slash if ($this->rootUrl) { if ('/' !== \substr($this->rootUrl, -1) && '/' !== \substr($requestUrl, 0, 1)) { $requestUrl = '/' . $requestUrl; } $requestUrl = $this->rootUrl . $requestUrl; } $uriTemplateVars = []; $queryVars = []; foreach ($params as $paramName => $paramSpec) { if ($paramSpec['type'] == 'boolean') { $paramSpec['value'] = $paramSpec['value'] ? 'true' : 'false'; } if ($paramSpec['location'] == 'path') { $uriTemplateVars[$paramName] = $paramSpec['value']; } elseif ($paramSpec['location'] == 'query') { if (\is_array($paramSpec['value'])) { foreach ($paramSpec['value'] as $value) { $queryVars[] = $paramName . '=' . \rawurlencode(\rawurldecode($value)); } } else { $queryVars[] = $paramName . '=' . \rawurlencode(\rawurldecode($paramSpec['value'])); } } } if (\count($uriTemplateVars)) { $uriTemplateParser = new \Google\Site_Kit_Dependencies\Google\Utils\UriTemplate(); $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars); } if (\count($queryVars)) { $requestUrl .= '?' . \implode('&', $queryVars); } return $requestUrl; } } third-party/google/apiclient/src/Task/Composer.php 0000604 00000007112 14717744000 0016231 0 ustar 00 <?php /* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Task; use Google\Site_Kit_Dependencies\Composer\Script\Event; use InvalidArgumentException; use Google\Site_Kit_Dependencies\Symfony\Component\Filesystem\Filesystem; use Google\Site_Kit_Dependencies\Symfony\Component\Finder\Finder; class Composer { /** * @param Event $event Composer event passed in for any script method * @param Filesystem $filesystem Optional. Used for testing. */ public static function cleanup(\Google\Site_Kit_Dependencies\Composer\Script\Event $event, \Google\Site_Kit_Dependencies\Symfony\Component\Filesystem\Filesystem $filesystem = null) { $composer = $event->getComposer(); $extra = $composer->getPackage()->getExtra(); $servicesToKeep = isset($extra['google/apiclient-services']) ? $extra['google/apiclient-services'] : []; if ($servicesToKeep) { $vendorDir = $composer->getConfig()->get('vendor-dir'); $serviceDir = \sprintf('%s/google/apiclient-services/src/Google/Service', $vendorDir); if (!\is_dir($serviceDir)) { // path for google/apiclient-services >= 0.200.0 $serviceDir = \sprintf('%s/google/apiclient-services/src', $vendorDir); } self::verifyServicesToKeep($serviceDir, $servicesToKeep); $finder = self::getServicesToRemove($serviceDir, $servicesToKeep); $filesystem = $filesystem ?: new \Google\Site_Kit_Dependencies\Symfony\Component\Filesystem\Filesystem(); if (0 !== ($count = \count($finder))) { $event->getIO()->write(\sprintf('Removing %s google services', $count)); foreach ($finder as $file) { $realpath = $file->getRealPath(); $filesystem->remove($realpath); $filesystem->remove($realpath . '.php'); } } } } /** * @throws InvalidArgumentException when the service doesn't exist */ private static function verifyServicesToKeep($serviceDir, array $servicesToKeep) { $finder = (new \Google\Site_Kit_Dependencies\Symfony\Component\Finder\Finder())->directories()->depth('== 0'); foreach ($servicesToKeep as $service) { if (!\preg_match('/^[a-zA-Z0-9]*$/', $service)) { throw new \InvalidArgumentException(\sprintf('Invalid Google service name "%s"', $service)); } try { $finder->in($serviceDir . '/' . $service); } catch (\InvalidArgumentException $e) { throw new \InvalidArgumentException(\sprintf('Google service "%s" does not exist or was removed previously', $service)); } } } private static function getServicesToRemove($serviceDir, array $servicesToKeep) { // find all files in the current directory return (new \Google\Site_Kit_Dependencies\Symfony\Component\Finder\Finder())->directories()->depth('== 0')->in($serviceDir)->exclude($servicesToKeep); } } third-party/google/apiclient/src/Task/Exception.php 0000604 00000001440 14717744000 0016376 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Task; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; class Exception extends \Google\Site_Kit_Dependencies\Google\Exception { } third-party/google/apiclient/src/Task/Retryable.php 0000604 00000001414 14717744000 0016372 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Task; /** * Interface for checking how many times a given task can be retried following * a failure. */ interface Retryable { } third-party/google/apiclient/src/Task/Runner.php 0000604 00000017672 14717744000 0015727 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Task; use Google\Site_Kit_Dependencies\Google\Service\Exception as GoogleServiceException; use Google\Site_Kit_Dependencies\Google\Task\Exception as GoogleTaskException; /** * A task runner with exponential backoff support. * * @see https://developers.google.com/drive/web/handle-errors#implementing_exponential_backoff */ class Runner { const TASK_RETRY_NEVER = 0; const TASK_RETRY_ONCE = 1; const TASK_RETRY_ALWAYS = -1; /** * @var integer $maxDelay The max time (in seconds) to wait before a retry. */ private $maxDelay = 60; /** * @var integer $delay The previous delay from which the next is calculated. */ private $delay = 1; /** * @var integer $factor The base number for the exponential back off. */ private $factor = 2; /** * @var float $jitter A random number between -$jitter and $jitter will be * added to $factor on each iteration to allow for a better distribution of * retries. */ private $jitter = 0.5; /** * @var integer $attempts The number of attempts that have been tried so far. */ private $attempts = 0; /** * @var integer $maxAttempts The max number of attempts allowed. */ private $maxAttempts = 1; /** * @var callable $action The task to run and possibly retry. */ private $action; /** * @var array $arguments The task arguments. */ private $arguments; /** * @var array $retryMap Map of errors with retry counts. */ protected $retryMap = [ '500' => self::TASK_RETRY_ALWAYS, '503' => self::TASK_RETRY_ALWAYS, 'rateLimitExceeded' => self::TASK_RETRY_ALWAYS, 'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS, 6 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_RESOLVE_HOST 7 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_CONNECT 28 => self::TASK_RETRY_ALWAYS, // CURLE_OPERATION_TIMEOUTED 35 => self::TASK_RETRY_ALWAYS, // CURLE_SSL_CONNECT_ERROR 52 => self::TASK_RETRY_ALWAYS, // CURLE_GOT_NOTHING 'lighthouseError' => self::TASK_RETRY_NEVER, ]; /** * Creates a new task runner with exponential backoff support. * * @param array $config The task runner config * @param string $name The name of the current task (used for logging) * @param callable $action The task to run and possibly retry * @param array $arguments The task arguments * @throws \Google\Task\Exception when misconfigured */ // @phpstan-ignore-next-line public function __construct($config, $name, $action, array $arguments = []) { if (isset($config['initial_delay'])) { if ($config['initial_delay'] < 0) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task configuration `initial_delay` must not be negative.'); } $this->delay = $config['initial_delay']; } if (isset($config['max_delay'])) { if ($config['max_delay'] <= 0) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task configuration `max_delay` must be greater than 0.'); } $this->maxDelay = $config['max_delay']; } if (isset($config['factor'])) { if ($config['factor'] <= 0) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task configuration `factor` must be greater than 0.'); } $this->factor = $config['factor']; } if (isset($config['jitter'])) { if ($config['jitter'] <= 0) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task configuration `jitter` must be greater than 0.'); } $this->jitter = $config['jitter']; } if (isset($config['retries'])) { if ($config['retries'] < 0) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task configuration `retries` must not be negative.'); } $this->maxAttempts += $config['retries']; } if (!\is_callable($action)) { throw new \Google\Site_Kit_Dependencies\Google\Task\Exception('Task argument `$action` must be a valid callable.'); } $this->action = $action; $this->arguments = $arguments; } /** * Checks if a retry can be attempted. * * @return boolean */ public function canAttempt() { return $this->attempts < $this->maxAttempts; } /** * Runs the task and (if applicable) automatically retries when errors occur. * * @return mixed * @throws \Google\Service\Exception on failure when no retries are available. */ public function run() { while ($this->attempt()) { try { return \call_user_func_array($this->action, $this->arguments); } catch (\Google\Site_Kit_Dependencies\Google\Service\Exception $exception) { $allowedRetries = $this->allowedRetries($exception->getCode(), $exception->getErrors()); if (!$this->canAttempt() || !$allowedRetries) { throw $exception; } if ($allowedRetries > 0) { $this->maxAttempts = \min($this->maxAttempts, $this->attempts + $allowedRetries); } } } } /** * Runs a task once, if possible. This is useful for bypassing the `run()` * loop. * * NOTE: If this is not the first attempt, this function will sleep in * accordance to the backoff configurations before running the task. * * @return boolean */ public function attempt() { if (!$this->canAttempt()) { return \false; } if ($this->attempts > 0) { $this->backOff(); } $this->attempts++; return \true; } /** * Sleeps in accordance to the backoff configurations. */ private function backOff() { $delay = $this->getDelay(); \usleep((int) ($delay * 1000000)); } /** * Gets the delay (in seconds) for the current backoff period. * * @return int */ private function getDelay() { $jitter = $this->getJitter(); $factor = $this->attempts > 1 ? $this->factor + $jitter : 1 + \abs($jitter); return $this->delay = \min($this->maxDelay, $this->delay * $factor); } /** * Gets the current jitter (random number between -$this->jitter and * $this->jitter). * * @return float */ private function getJitter() { return $this->jitter * 2 * \mt_rand() / \mt_getrandmax() - $this->jitter; } /** * Gets the number of times the associated task can be retried. * * NOTE: -1 is returned if the task can be retried indefinitely * * @return integer */ public function allowedRetries($code, $errors = []) { if (isset($this->retryMap[$code])) { return $this->retryMap[$code]; } if (!empty($errors) && isset($errors[0]['reason'], $this->retryMap[$errors[0]['reason']])) { return $this->retryMap[$errors[0]['reason']]; } return 0; } public function setRetryMap($retryMap) { $this->retryMap = $retryMap; } } third-party/google/apiclient/src/Utils/UriTemplate.php 0000604 00000024471 14717744000 0017102 0 ustar 00 <?php /* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google\Utils; /** * Implementation of levels 1-3 of the URI Template spec. * @see http://tools.ietf.org/html/rfc6570 */ class UriTemplate { const TYPE_MAP = "1"; const TYPE_LIST = "2"; const TYPE_SCALAR = "4"; /** * @var array $operators * These are valid at the start of a template block to * modify the way in which the variables inside are * processed. */ private $operators = ["+" => "reserved", "/" => "segments", "." => "dotprefix", "#" => "fragment", ";" => "semicolon", "?" => "form", "&" => "continuation"]; /** * @var array<string> * These are the characters which should not be URL encoded in reserved * strings. */ private $reserved = ["=", ",", "!", "@", "|", ":", "/", "?", "#", "[", "]", '$', "&", "'", "(", ")", "*", "+", ";"]; private $reservedEncoded = ["%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", "%2A", "%2B", "%3B"]; public function parse($string, array $parameters) { return $this->resolveNextSection($string, $parameters); } /** * This function finds the first matching {...} block and * executes the replacement. It then calls itself to find * subsequent blocks, if any. */ private function resolveNextSection($string, $parameters) { $start = \strpos($string, "{"); if ($start === \false) { return $string; } $end = \strpos($string, "}"); if ($end === \false) { return $string; } $string = $this->replace($string, $start, $end, $parameters); return $this->resolveNextSection($string, $parameters); } private function replace($string, $start, $end, $parameters) { // We know a data block will have {} round it, so we can strip that. $data = \substr($string, $start + 1, $end - $start - 1); // If the first character is one of the reserved operators, it effects // the processing of the stream. if (isset($this->operators[$data[0]])) { $op = $this->operators[$data[0]]; $data = \substr($data, 1); $prefix = ""; $prefix_on_missing = \false; switch ($op) { case "reserved": // Reserved means certain characters should not be URL encoded $data = $this->replaceVars($data, $parameters, ",", null, \true); break; case "fragment": // Comma separated with fragment prefix. Bare values only. $prefix = "#"; $prefix_on_missing = \true; $data = $this->replaceVars($data, $parameters, ",", null, \true); break; case "segments": // Slash separated data. Bare values only. $prefix = "/"; $data = $this->replaceVars($data, $parameters, "/"); break; case "dotprefix": // Dot separated data. Bare values only. $prefix = "."; $prefix_on_missing = \true; $data = $this->replaceVars($data, $parameters, "."); break; case "semicolon": // Semicolon prefixed and separated. Uses the key name $prefix = ";"; $data = $this->replaceVars($data, $parameters, ";", "=", \false, \true, \false); break; case "form": // Standard URL format. Uses the key name $prefix = "?"; $data = $this->replaceVars($data, $parameters, "&", "="); break; case "continuation": // Standard URL, but with leading ampersand. Uses key name. $prefix = "&"; $data = $this->replaceVars($data, $parameters, "&", "="); break; } // Add the initial prefix character if data is valid. if ($data || $data !== \false && $prefix_on_missing) { $data = $prefix . $data; } } else { // If no operator we replace with the defaults. $data = $this->replaceVars($data, $parameters); } // This is chops out the {...} and replaces with the new section. return \substr($string, 0, $start) . $data . \substr($string, $end + 1); } private function replaceVars($section, $parameters, $sep = ",", $combine = null, $reserved = \false, $tag_empty = \false, $combine_on_empty = \true) { if (\strpos($section, ",") === \false) { // If we only have a single value, we can immediately process. return $this->combine($section, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty); } else { // If we have multiple values, we need to split and loop over them. // Each is treated individually, then glued together with the // separator character. $vars = \explode(",", $section); return $this->combineList( $vars, $sep, $parameters, $combine, $reserved, \false, // Never emit empty strings in multi-param replacements $combine_on_empty ); } } public function combine($key, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty) { $length = \false; $explode = \false; $skip_final_combine = \false; $value = \false; // Check for length restriction. if (\strpos($key, ":") !== \false) { list($key, $length) = \explode(":", $key); } // Check for explode parameter. if ($key[\strlen($key) - 1] == "*") { $explode = \true; $key = \substr($key, 0, -1); $skip_final_combine = \true; } // Define the list separator. $list_sep = $explode ? $sep : ","; if (isset($parameters[$key])) { $data_type = $this->getDataType($parameters[$key]); switch ($data_type) { case self::TYPE_SCALAR: $value = $this->getValue($parameters[$key], $length); break; case self::TYPE_LIST: $values = []; foreach ($parameters[$key] as $pkey => $pvalue) { $pvalue = $this->getValue($pvalue, $length); if ($combine && $explode) { $values[$pkey] = $key . $combine . $pvalue; } else { $values[$pkey] = $pvalue; } } $value = \implode($list_sep, $values); if ($value == '') { return ''; } break; case self::TYPE_MAP: $values = []; foreach ($parameters[$key] as $pkey => $pvalue) { $pvalue = $this->getValue($pvalue, $length); if ($explode) { $pkey = $this->getValue($pkey, $length); $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. } else { $values[] = $pkey; $values[] = $pvalue; } } $value = \implode($list_sep, $values); if ($value == '') { return \false; } break; } } elseif ($tag_empty) { // If we are just indicating empty values with their key name, return that. return $key; } else { // Otherwise we can skip this variable due to not being defined. return \false; } if ($reserved) { $value = \str_replace($this->reservedEncoded, $this->reserved, $value); } // If we do not need to include the key name, we just return the raw // value. if (!$combine || $skip_final_combine) { return $value; } // Else we combine the key name: foo=bar, if value is not the empty string. return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); } /** * Return the type of a passed in value */ private function getDataType($data) { if (\is_array($data)) { \reset($data); if (\key($data) !== 0) { return self::TYPE_MAP; } return self::TYPE_LIST; } return self::TYPE_SCALAR; } /** * Utility function that merges multiple combine calls * for multi-key templates. */ private function combineList($vars, $sep, $parameters, $combine, $reserved, $tag_empty, $combine_on_empty) { $ret = []; foreach ($vars as $var) { $response = $this->combine($var, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty); if ($response === \false) { continue; } $ret[] = $response; } return \implode($sep, $ret); } /** * Utility function to encode and trim values */ private function getValue($value, $length) { if ($length) { $value = \substr($value, 0, $length); } $value = \rawurlencode($value); return $value; } } third-party/google/apiclient/src/aliases.php 0000604 00000012002 14717744000 0015153 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies; if (\class_exists('Google\\Site_Kit_Dependencies\\Google_Client', \false)) { // Prevent error with preloading in PHP 7.4 // @see https://github.com/googleapis/google-api-php-client/issues/1976 return; } $classMap = ['Google\\Site_Kit_Dependencies\\Google\\Client' => 'Google\Site_Kit_Dependencies\Google_Client', 'Google\\Site_Kit_Dependencies\\Google\\Service' => 'Google\Site_Kit_Dependencies\Google_Service', 'Google\\Site_Kit_Dependencies\\Google\\AccessToken\\Revoke' => 'Google\Site_Kit_Dependencies\Google_AccessToken_Revoke', 'Google\\Site_Kit_Dependencies\\Google\\AccessToken\\Verify' => 'Google\Site_Kit_Dependencies\Google_AccessToken_Verify', 'Google\\Site_Kit_Dependencies\\Google\\Model' => 'Google\Site_Kit_Dependencies\Google_Model', 'Google\\Site_Kit_Dependencies\\Google\\Utils\\UriTemplate' => 'Google\Site_Kit_Dependencies\Google_Utils_UriTemplate', 'Google\\Site_Kit_Dependencies\\Google\\AuthHandler\\Guzzle6AuthHandler' => 'Google\Site_Kit_Dependencies\Google_AuthHandler_Guzzle6AuthHandler', 'Google\\Site_Kit_Dependencies\\Google\\AuthHandler\\Guzzle7AuthHandler' => 'Google\Site_Kit_Dependencies\Google_AuthHandler_Guzzle7AuthHandler', 'Google\\Site_Kit_Dependencies\\Google\\AuthHandler\\Guzzle5AuthHandler' => 'Google\Site_Kit_Dependencies\Google_AuthHandler_Guzzle5AuthHandler', 'Google\\Site_Kit_Dependencies\\Google\\AuthHandler\\AuthHandlerFactory' => 'Google\Site_Kit_Dependencies\Google_AuthHandler_AuthHandlerFactory', 'Google\\Site_Kit_Dependencies\\Google\\Http\\Batch' => 'Google\Site_Kit_Dependencies\Google_Http_Batch', 'Google\\Site_Kit_Dependencies\\Google\\Http\\MediaFileUpload' => 'Google\Site_Kit_Dependencies\Google_Http_MediaFileUpload', 'Google\\Site_Kit_Dependencies\\Google\\Http\\REST' => 'Google\Site_Kit_Dependencies\Google_Http_REST', 'Google\\Site_Kit_Dependencies\\Google\\Task\\Retryable' => 'Google\Site_Kit_Dependencies\Google_Task_Retryable', 'Google\\Site_Kit_Dependencies\\Google\\Task\\Exception' => 'Google\Site_Kit_Dependencies\Google_Task_Exception', 'Google\\Site_Kit_Dependencies\\Google\\Task\\Runner' => 'Google\Site_Kit_Dependencies\Google_Task_Runner', 'Google\\Site_Kit_Dependencies\\Google\\Collection' => 'Google\Site_Kit_Dependencies\Google_Collection', 'Google\\Site_Kit_Dependencies\\Google\\Service\\Exception' => 'Google\Site_Kit_Dependencies\Google_Service_Exception', 'Google\\Site_Kit_Dependencies\\Google\\Service\\Resource' => 'Google\Site_Kit_Dependencies\Google_Service_Resource', 'Google\\Site_Kit_Dependencies\\Google\\Exception' => 'Google\Site_Kit_Dependencies\Google_Exception']; foreach ($classMap as $class => $alias) { \class_alias($class, $alias); } /** * This class needs to be defined explicitly as scripts must be recognized by * the autoloader. */ class Google_Task_Composer extends \Google\Site_Kit_Dependencies\Google\Task\Composer { } /** @phpstan-ignore-next-line */ if (\false) { class Google_AccessToken_Revoke extends \Google\Site_Kit_Dependencies\Google\AccessToken\Revoke { } class Google_AccessToken_Verify extends \Google\Site_Kit_Dependencies\Google\AccessToken\Verify { } class Google_AuthHandler_AuthHandlerFactory extends \Google\Site_Kit_Dependencies\Google\AuthHandler\AuthHandlerFactory { } class Google_AuthHandler_Guzzle5AuthHandler extends \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle5AuthHandler { } class Google_AuthHandler_Guzzle6AuthHandler extends \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle6AuthHandler { } class Google_AuthHandler_Guzzle7AuthHandler extends \Google\Site_Kit_Dependencies\Google\AuthHandler\Guzzle7AuthHandler { } class Google_Client extends \Google\Site_Kit_Dependencies\Google\Client { } class Google_Collection extends \Google\Site_Kit_Dependencies\Google\Collection { } class Google_Exception extends \Google\Site_Kit_Dependencies\Google\Exception { } class Google_Http_Batch extends \Google\Site_Kit_Dependencies\Google\Http\Batch { } class Google_Http_MediaFileUpload extends \Google\Site_Kit_Dependencies\Google\Http\MediaFileUpload { } class Google_Http_REST extends \Google\Site_Kit_Dependencies\Google\Http\REST { } class Google_Model extends \Google\Site_Kit_Dependencies\Google\Model { } class Google_Service extends \Google\Site_Kit_Dependencies\Google\Service { } class Google_Service_Exception extends \Google\Site_Kit_Dependencies\Google\Service\Exception { } class Google_Service_Resource extends \Google\Site_Kit_Dependencies\Google\Service\Resource { } class Google_Task_Exception extends \Google\Site_Kit_Dependencies\Google\Task\Exception { } interface Google_Task_Retryable extends \Google\Site_Kit_Dependencies\Google\Task\Retryable { } class Google_Task_Runner extends \Google\Site_Kit_Dependencies\Google\Task\Runner { } class Google_Utils_UriTemplate extends \Google\Site_Kit_Dependencies\Google\Utils\UriTemplate { } } third-party/google/apiclient/src/Client.php 0000604 00000121023 14717744000 0014754 0 ustar 00 <?php /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google; use BadMethodCallException; use DomainException; use Google\Site_Kit_Dependencies\Google\AccessToken\Revoke; use Google\Site_Kit_Dependencies\Google\AccessToken\Verify; use Google\Site_Kit_Dependencies\Google\Auth\ApplicationDefaultCredentials; use Google\Site_Kit_Dependencies\Google\Auth\Cache\MemoryCacheItemPool; use Google\Site_Kit_Dependencies\Google\Auth\Credentials\ServiceAccountCredentials; use Google\Site_Kit_Dependencies\Google\Auth\Credentials\UserRefreshCredentials; use Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader; use Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache; use Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory; use Google\Site_Kit_Dependencies\Google\Auth\OAuth2; use Google\Site_Kit_Dependencies\Google\AuthHandler\AuthHandlerFactory; use Google\Site_Kit_Dependencies\Google\Http\REST; use Google\Site_Kit_Dependencies\GuzzleHttp\Client as GuzzleClient; use Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface; use Google\Site_Kit_Dependencies\GuzzleHttp\Ring\Client\StreamHandler; use InvalidArgumentException; use LogicException; use Google\Site_Kit_Dependencies\Monolog\Handler\StreamHandler as MonologStreamHandler; use Google\Site_Kit_Dependencies\Monolog\Handler\SyslogHandler as MonologSyslogHandler; use Google\Site_Kit_Dependencies\Monolog\Logger; use Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface; use Google\Site_Kit_Dependencies\Psr\Http\Message\ResponseInterface; use Google\Site_Kit_Dependencies\Psr\Log\LoggerInterface; use UnexpectedValueException; /** * The Google API Client * https://github.com/google/google-api-php-client */ class Client { const LIBVER = "2.12.6"; const USER_AGENT_SUFFIX = "google-api-php-client/"; const OAUTH2_REVOKE_URI = 'https://oauth2.googleapis.com/revoke'; const OAUTH2_TOKEN_URI = 'https://oauth2.googleapis.com/token'; const OAUTH2_AUTH_URL = 'https://accounts.google.com/o/oauth2/v2/auth'; const API_BASE_PATH = 'https://www.googleapis.com'; /** * @var ?OAuth2 $auth */ private $auth; /** * @var ClientInterface $http */ private $http; /** * @var ?CacheItemPoolInterface $cache */ private $cache; /** * @var array access token */ private $token; /** * @var array $config */ private $config; /** * @var ?LoggerInterface $logger */ private $logger; /** * @var ?CredentialsLoader $credentials */ private $credentials; /** * @var boolean $deferExecution */ private $deferExecution = \false; /** @var array $scopes */ // Scopes requested by the client protected $requestedScopes = []; /** * Construct the Google Client. * * @param array $config */ public function __construct(array $config = []) { $this->config = \array_merge([ 'application_name' => '', // Don't change these unless you're working against a special development // or testing environment. 'base_path' => self::API_BASE_PATH, // https://developers.google.com/console 'client_id' => '', 'client_secret' => '', // Can be a path to JSON credentials or an array representing those // credentials (@see Google\Client::setAuthConfig), or an instance of // Google\Auth\CredentialsLoader. 'credentials' => null, // @see Google\Client::setScopes 'scopes' => null, // Sets X-Goog-User-Project, which specifies a user project to bill // for access charges associated with the request 'quota_project' => null, 'redirect_uri' => null, 'state' => null, // Simple API access key, also from the API console. Ensure you get // a Server key, and not a Browser key. 'developer_key' => '', // For use with Google Cloud Platform // fetch the ApplicationDefaultCredentials, if applicable // @see https://developers.google.com/identity/protocols/application-default-credentials 'use_application_default_credentials' => \false, 'signing_key' => null, 'signing_algorithm' => null, 'subject' => null, // Other OAuth2 parameters. 'hd' => '', 'prompt' => '', 'openid.realm' => '', 'include_granted_scopes' => null, 'login_hint' => '', 'request_visible_actions' => '', 'access_type' => 'online', 'approval_prompt' => 'auto', // Task Runner retry configuration // @see Google\Task\Runner 'retry' => [], 'retry_map' => null, // Cache class implementing Psr\Cache\CacheItemPoolInterface. // Defaults to Google\Auth\Cache\MemoryCacheItemPool. 'cache' => null, // cache config for downstream auth caching 'cache_config' => [], // function to be called when an access token is fetched // follows the signature function ($cacheKey, $accessToken) 'token_callback' => null, // Service class used in Google\Client::verifyIdToken. // Explicitly pass this in to avoid setting JWT::$leeway 'jwt' => null, // Setting api_format_v2 will return more detailed error messages // from certain APIs. 'api_format_v2' => \false, ], $config); if (!\is_null($this->config['credentials'])) { if ($this->config['credentials'] instanceof \Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader) { $this->credentials = $this->config['credentials']; } else { $this->setAuthConfig($this->config['credentials']); } unset($this->config['credentials']); } if (!\is_null($this->config['scopes'])) { $this->setScopes($this->config['scopes']); unset($this->config['scopes']); } // Set a default token callback to update the in-memory access token if (\is_null($this->config['token_callback'])) { $this->config['token_callback'] = function ($cacheKey, $newAccessToken) { $this->setAccessToken([ 'access_token' => $newAccessToken, 'expires_in' => 3600, // Google default 'created' => \time(), ]); }; } if (!\is_null($this->config['cache'])) { $this->setCache($this->config['cache']); unset($this->config['cache']); } } /** * Get a string containing the version of the library. * * @return string */ public function getLibraryVersion() { return self::LIBVER; } /** * For backwards compatibility * alias for fetchAccessTokenWithAuthCode * * @param string $code string code from accounts.google.com * @return array access token * @deprecated */ public function authenticate($code) { return $this->fetchAccessTokenWithAuthCode($code); } /** * Attempt to exchange a code for an valid authentication token. * Helper wrapped around the OAuth 2.0 implementation. * * @param string $code code from accounts.google.com * @return array access token */ public function fetchAccessTokenWithAuthCode($code) { if (\strlen($code) == 0) { throw new \InvalidArgumentException("Invalid code"); } $auth = $this->getOAuth2Service(); $auth->setCode($code); $auth->setRedirectUri($this->getRedirectUri()); $httpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($this->getHttpClient()); $creds = $auth->fetchAuthToken($httpHandler); if ($creds && isset($creds['access_token'])) { $creds['created'] = \time(); $this->setAccessToken($creds); } return $creds; } /** * For backwards compatibility * alias for fetchAccessTokenWithAssertion * * @return array access token * @deprecated */ public function refreshTokenWithAssertion() { return $this->fetchAccessTokenWithAssertion(); } /** * Fetches a fresh access token with a given assertion token. * @param ClientInterface $authHttp optional. * @return array access token */ public function fetchAccessTokenWithAssertion(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $authHttp = null) { if (!$this->isUsingApplicationDefaultCredentials()) { throw new \DomainException('set the JSON service account credentials using' . ' Google\\Client::setAuthConfig or set the path to your JSON file' . ' with the "GOOGLE_APPLICATION_CREDENTIALS" environment variable' . ' and call Google\\Client::useApplicationDefaultCredentials to' . ' refresh a token with assertion.'); } $this->getLogger()->log('info', 'OAuth2 access token refresh with Signed JWT assertion grants.'); $credentials = $this->createApplicationDefaultCredentials(); $httpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($authHttp); $creds = $credentials->fetchAuthToken($httpHandler); if ($creds && isset($creds['access_token'])) { $creds['created'] = \time(); $this->setAccessToken($creds); } return $creds; } /** * For backwards compatibility * alias for fetchAccessTokenWithRefreshToken * * @param string $refreshToken * @return array access token */ public function refreshToken($refreshToken) { return $this->fetchAccessTokenWithRefreshToken($refreshToken); } /** * Fetches a fresh OAuth 2.0 access token with the given refresh token. * @param string $refreshToken * @return array access token */ public function fetchAccessTokenWithRefreshToken($refreshToken = null) { if (null === $refreshToken) { if (!isset($this->token['refresh_token'])) { throw new \LogicException('refresh token must be passed in or set as part of setAccessToken'); } $refreshToken = $this->token['refresh_token']; } $this->getLogger()->info('OAuth2 access token refresh'); $auth = $this->getOAuth2Service(); $auth->setRefreshToken($refreshToken); $httpHandler = \Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\HttpHandlerFactory::build($this->getHttpClient()); $creds = $auth->fetchAuthToken($httpHandler); if ($creds && isset($creds['access_token'])) { $creds['created'] = \time(); if (!isset($creds['refresh_token'])) { $creds['refresh_token'] = $refreshToken; } $this->setAccessToken($creds); } return $creds; } /** * Create a URL to obtain user authorization. * The authorization endpoint allows the user to first * authenticate, and then grant/deny the access request. * @param string|array $scope The scope is expressed as an array or list of space-delimited strings. * @param array $queryParams Querystring params to add to the authorization URL. * @return string */ public function createAuthUrl($scope = null, array $queryParams = []) { if (empty($scope)) { $scope = $this->prepareScopes(); } if (\is_array($scope)) { $scope = \implode(' ', $scope); } // only accept one of prompt or approval_prompt $approvalPrompt = $this->config['prompt'] ? null : $this->config['approval_prompt']; // include_granted_scopes should be string "true", string "false", or null $includeGrantedScopes = $this->config['include_granted_scopes'] === null ? null : \var_export($this->config['include_granted_scopes'], \true); $params = \array_filter(['access_type' => $this->config['access_type'], 'approval_prompt' => $approvalPrompt, 'hd' => $this->config['hd'], 'include_granted_scopes' => $includeGrantedScopes, 'login_hint' => $this->config['login_hint'], 'openid.realm' => $this->config['openid.realm'], 'prompt' => $this->config['prompt'], 'redirect_uri' => $this->config['redirect_uri'], 'response_type' => 'code', 'scope' => $scope, 'state' => $this->config['state']]) + $queryParams; // If the list of scopes contains plus.login, add request_visible_actions // to auth URL. $rva = $this->config['request_visible_actions']; if (\strlen($rva) > 0 && \false !== \strpos($scope, 'plus.login')) { $params['request_visible_actions'] = $rva; } $auth = $this->getOAuth2Service(); return (string) $auth->buildFullAuthorizationUri($params); } /** * Adds auth listeners to the HTTP client based on the credentials * set in the Google API Client object * * @param ClientInterface $http the http client object. * @return ClientInterface the http client object */ public function authorize(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http = null) { $http = $http ?: $this->getHttpClient(); $authHandler = $this->getAuthHandler(); // These conditionals represent the decision tree for authentication // 1. Check if a Google\Auth\CredentialsLoader instance has been supplied via the "credentials" option // 2. Check for Application Default Credentials // 3a. Check for an Access Token // 3b. If access token exists but is expired, try to refresh it // 4. Check for API Key if ($this->credentials) { return $authHandler->attachCredentials($http, $this->credentials, $this->config['token_callback']); } if ($this->isUsingApplicationDefaultCredentials()) { $credentials = $this->createApplicationDefaultCredentials(); return $authHandler->attachCredentialsCache($http, $credentials, $this->config['token_callback']); } if ($token = $this->getAccessToken()) { $scopes = $this->prepareScopes(); // add refresh subscriber to request a new token if (isset($token['refresh_token']) && $this->isAccessTokenExpired()) { $credentials = $this->createUserRefreshCredentials($scopes, $token['refresh_token']); return $authHandler->attachCredentials($http, $credentials, $this->config['token_callback']); } return $authHandler->attachToken($http, $token, (array) $scopes); } if ($key = $this->config['developer_key']) { return $authHandler->attachKey($http, $key); } return $http; } /** * Set the configuration to use application default credentials for * authentication * * @see https://developers.google.com/identity/protocols/application-default-credentials * @param boolean $useAppCreds */ public function useApplicationDefaultCredentials($useAppCreds = \true) { $this->config['use_application_default_credentials'] = $useAppCreds; } /** * To prevent useApplicationDefaultCredentials from inappropriately being * called in a conditional * * @see https://developers.google.com/identity/protocols/application-default-credentials */ public function isUsingApplicationDefaultCredentials() { return $this->config['use_application_default_credentials']; } /** * Set the access token used for requests. * * Note that at the time requests are sent, tokens are cached. A token will be * cached for each combination of service and authentication scopes. If a * cache pool is not provided, creating a new instance of the client will * allow modification of access tokens. If a persistent cache pool is * provided, in order to change the access token, you must clear the cached * token by calling `$client->getCache()->clear()`. (Use caution in this case, * as calling `clear()` will remove all cache items, including any items not * related to Google API PHP Client.) * * @param string|array $token * @throws InvalidArgumentException */ public function setAccessToken($token) { if (\is_string($token)) { if ($json = \json_decode($token, \true)) { $token = $json; } else { // assume $token is just the token string $token = ['access_token' => $token]; } } if ($token == null) { throw new \InvalidArgumentException('invalid json token'); } if (!isset($token['access_token'])) { throw new \InvalidArgumentException("Invalid token format"); } $this->token = $token; } public function getAccessToken() { return $this->token; } /** * @return string|null */ public function getRefreshToken() { if (isset($this->token['refresh_token'])) { return $this->token['refresh_token']; } return null; } /** * Returns if the access_token is expired. * @return bool Returns True if the access_token is expired. */ public function isAccessTokenExpired() { if (!$this->token) { return \true; } $created = 0; if (isset($this->token['created'])) { $created = $this->token['created']; } elseif (isset($this->token['id_token'])) { // check the ID token for "iat" // signature verification is not required here, as we are just // using this for convenience to save a round trip request // to the Google API server $idToken = $this->token['id_token']; if (\substr_count($idToken, '.') == 2) { $parts = \explode('.', $idToken); $payload = \json_decode(\base64_decode($parts[1]), \true); if ($payload && isset($payload['iat'])) { $created = $payload['iat']; } } } if (!isset($this->token['expires_in'])) { // if the token does not have an "expires_in", then it's considered expired return \true; } // If the token is set to expire in the next 30 seconds. return $created + ($this->token['expires_in'] - 30) < \time(); } /** * @deprecated See UPGRADING.md for more information */ public function getAuth() { throw new \BadMethodCallException('This function no longer exists. See UPGRADING.md for more information'); } /** * @deprecated See UPGRADING.md for more information */ public function setAuth($auth) { throw new \BadMethodCallException('This function no longer exists. See UPGRADING.md for more information'); } /** * Set the OAuth 2.0 Client ID. * @param string $clientId */ public function setClientId($clientId) { $this->config['client_id'] = $clientId; } public function getClientId() { return $this->config['client_id']; } /** * Set the OAuth 2.0 Client Secret. * @param string $clientSecret */ public function setClientSecret($clientSecret) { $this->config['client_secret'] = $clientSecret; } public function getClientSecret() { return $this->config['client_secret']; } /** * Set the OAuth 2.0 Redirect URI. * @param string $redirectUri */ public function setRedirectUri($redirectUri) { $this->config['redirect_uri'] = $redirectUri; } public function getRedirectUri() { return $this->config['redirect_uri']; } /** * Set OAuth 2.0 "state" parameter to achieve per-request customization. * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2 * @param string $state */ public function setState($state) { $this->config['state'] = $state; } /** * @param string $accessType Possible values for access_type include: * {@code "offline"} to request offline access from the user. * {@code "online"} to request online access from the user. */ public function setAccessType($accessType) { $this->config['access_type'] = $accessType; } /** * @param string $approvalPrompt Possible values for approval_prompt include: * {@code "force"} to force the approval UI to appear. * {@code "auto"} to request auto-approval when possible. (This is the default value) */ public function setApprovalPrompt($approvalPrompt) { $this->config['approval_prompt'] = $approvalPrompt; } /** * Set the login hint, email address or sub id. * @param string $loginHint */ public function setLoginHint($loginHint) { $this->config['login_hint'] = $loginHint; } /** * Set the application name, this is included in the User-Agent HTTP header. * @param string $applicationName */ public function setApplicationName($applicationName) { $this->config['application_name'] = $applicationName; } /** * If 'plus.login' is included in the list of requested scopes, you can use * this method to define types of app activities that your app will write. * You can find a list of available types here: * @link https://developers.google.com/+/api/moment-types * * @param array $requestVisibleActions Array of app activity types */ public function setRequestVisibleActions($requestVisibleActions) { if (\is_array($requestVisibleActions)) { $requestVisibleActions = \implode(" ", $requestVisibleActions); } $this->config['request_visible_actions'] = $requestVisibleActions; } /** * Set the developer key to use, these are obtained through the API Console. * @see http://code.google.com/apis/console-help/#generatingdevkeys * @param string $developerKey */ public function setDeveloperKey($developerKey) { $this->config['developer_key'] = $developerKey; } /** * Set the hd (hosted domain) parameter streamlines the login process for * Google Apps hosted accounts. By including the domain of the user, you * restrict sign-in to accounts at that domain. * @param string $hd the domain to use. */ public function setHostedDomain($hd) { $this->config['hd'] = $hd; } /** * Set the prompt hint. Valid values are none, consent and select_account. * If no value is specified and the user has not previously authorized * access, then the user is shown a consent screen. * @param string $prompt * {@code "none"} Do not display any authentication or consent screens. Must not be specified with other values. * {@code "consent"} Prompt the user for consent. * {@code "select_account"} Prompt the user to select an account. */ public function setPrompt($prompt) { $this->config['prompt'] = $prompt; } /** * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which * an authentication request is valid. * @param string $realm the URL-space to use. */ public function setOpenidRealm($realm) { $this->config['openid.realm'] = $realm; } /** * If this is provided with the value true, and the authorization request is * granted, the authorization will include any previous authorizations * granted to this user/application combination for other scopes. * @param bool $include the URL-space to use. */ public function setIncludeGrantedScopes($include) { $this->config['include_granted_scopes'] = $include; } /** * sets function to be called when an access token is fetched * @param callable $tokenCallback - function ($cacheKey, $accessToken) */ public function setTokenCallback(callable $tokenCallback) { $this->config['token_callback'] = $tokenCallback; } /** * Revoke an OAuth2 access token or refresh token. This method will revoke the current access * token, if a token isn't provided. * * @param string|array|null $token The token (access token or a refresh token) that should be revoked. * @return boolean Returns True if the revocation was successful, otherwise False. */ public function revokeToken($token = null) { $tokenRevoker = new \Google\Site_Kit_Dependencies\Google\AccessToken\Revoke($this->getHttpClient()); return $tokenRevoker->revokeToken($token ?: $this->getAccessToken()); } /** * Verify an id_token. This method will verify the current id_token, if one * isn't provided. * * @throws LogicException If no token was provided and no token was set using `setAccessToken`. * @throws UnexpectedValueException If the token is not a valid JWT. * @param string|null $idToken The token (id_token) that should be verified. * @return array|false Returns the token payload as an array if the verification was * successful, false otherwise. */ public function verifyIdToken($idToken = null) { $tokenVerifier = new \Google\Site_Kit_Dependencies\Google\AccessToken\Verify($this->getHttpClient(), $this->getCache(), $this->config['jwt']); if (null === $idToken) { $token = $this->getAccessToken(); if (!isset($token['id_token'])) { throw new \LogicException('id_token must be passed in or set as part of setAccessToken'); } $idToken = $token['id_token']; } return $tokenVerifier->verifyIdToken($idToken, $this->getClientId()); } /** * Set the scopes to be requested. Must be called before createAuthUrl(). * Will remove any previously configured scopes. * @param string|array $scope_or_scopes, ie: * array( * 'https://www.googleapis.com/auth/plus.login', * 'https://www.googleapis.com/auth/moderator' * ); */ public function setScopes($scope_or_scopes) { $this->requestedScopes = []; $this->addScope($scope_or_scopes); } /** * This functions adds a scope to be requested as part of the OAuth2.0 flow. * Will append any scopes not previously requested to the scope parameter. * A single string will be treated as a scope to request. An array of strings * will each be appended. * @param string|string[] $scope_or_scopes e.g. "profile" */ public function addScope($scope_or_scopes) { if (\is_string($scope_or_scopes) && !\in_array($scope_or_scopes, $this->requestedScopes)) { $this->requestedScopes[] = $scope_or_scopes; } elseif (\is_array($scope_or_scopes)) { foreach ($scope_or_scopes as $scope) { $this->addScope($scope); } } } /** * Returns the list of scopes requested by the client * @return array the list of scopes * */ public function getScopes() { return $this->requestedScopes; } /** * @return string|null * @visible For Testing */ public function prepareScopes() { if (empty($this->requestedScopes)) { return null; } return \implode(' ', $this->requestedScopes); } /** * Helper method to execute deferred HTTP requests. * * @template T * @param RequestInterface $request * @param class-string<T>|false|null $expectedClass * @throws \Google\Exception * @return mixed|T|ResponseInterface */ public function execute(\Google\Site_Kit_Dependencies\Psr\Http\Message\RequestInterface $request, $expectedClass = null) { $request = $request->withHeader('User-Agent', \sprintf('%s %s%s', $this->config['application_name'], self::USER_AGENT_SUFFIX, $this->getLibraryVersion()))->withHeader('x-goog-api-client', \sprintf('gl-php/%s gdcl/%s', \phpversion(), $this->getLibraryVersion())); if ($this->config['api_format_v2']) { $request = $request->withHeader('X-GOOG-API-FORMAT-VERSION', '2'); } // call the authorize method // this is where most of the grunt work is done $http = $this->authorize(); return \Google\Site_Kit_Dependencies\Google\Http\REST::execute($http, $request, $expectedClass, $this->config['retry'], $this->config['retry_map']); } /** * Declare whether batch calls should be used. This may increase throughput * by making multiple requests in one connection. * * @param boolean $useBatch True if the batch support should * be enabled. Defaults to False. */ public function setUseBatch($useBatch) { // This is actually an alias for setDefer. $this->setDefer($useBatch); } /** * Are we running in Google AppEngine? * return bool */ public function isAppEngine() { return isset($_SERVER['SERVER_SOFTWARE']) && \strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== \false; } public function setConfig($name, $value) { $this->config[$name] = $value; } public function getConfig($name, $default = null) { return isset($this->config[$name]) ? $this->config[$name] : $default; } /** * For backwards compatibility * alias for setAuthConfig * * @param string $file the configuration file * @throws \Google\Exception * @deprecated */ public function setAuthConfigFile($file) { $this->setAuthConfig($file); } /** * Set the auth config from new or deprecated JSON config. * This structure should match the file downloaded from * the "Download JSON" button on in the Google Developer * Console. * @param string|array $config the configuration json * @throws \Google\Exception */ public function setAuthConfig($config) { if (\is_string($config)) { if (!\file_exists($config)) { throw new \InvalidArgumentException(\sprintf('file "%s" does not exist', $config)); } $json = \file_get_contents($config); if (!($config = \json_decode($json, \true))) { throw new \LogicException('invalid json for auth config'); } } $key = isset($config['installed']) ? 'installed' : 'web'; if (isset($config['type']) && $config['type'] == 'service_account') { // application default credentials $this->useApplicationDefaultCredentials(); // set the information from the config $this->setClientId($config['client_id']); $this->config['client_email'] = $config['client_email']; $this->config['signing_key'] = $config['private_key']; $this->config['signing_algorithm'] = 'HS256'; } elseif (isset($config[$key])) { // old-style $this->setClientId($config[$key]['client_id']); $this->setClientSecret($config[$key]['client_secret']); if (isset($config[$key]['redirect_uris'])) { $this->setRedirectUri($config[$key]['redirect_uris'][0]); } } else { // new-style $this->setClientId($config['client_id']); $this->setClientSecret($config['client_secret']); if (isset($config['redirect_uris'])) { $this->setRedirectUri($config['redirect_uris'][0]); } } } /** * Use when the service account has been delegated domain wide access. * * @param string $subject an email address account to impersonate */ public function setSubject($subject) { $this->config['subject'] = $subject; } /** * Declare whether making API calls should make the call immediately, or * return a request which can be called with ->execute(); * * @param boolean $defer True if calls should not be executed right away. */ public function setDefer($defer) { $this->deferExecution = $defer; } /** * Whether or not to return raw requests * @return boolean */ public function shouldDefer() { return $this->deferExecution; } /** * @return OAuth2 implementation */ public function getOAuth2Service() { if (!isset($this->auth)) { $this->auth = $this->createOAuth2Service(); } return $this->auth; } /** * create a default google auth object */ protected function createOAuth2Service() { $auth = new \Google\Site_Kit_Dependencies\Google\Auth\OAuth2(['clientId' => $this->getClientId(), 'clientSecret' => $this->getClientSecret(), 'authorizationUri' => self::OAUTH2_AUTH_URL, 'tokenCredentialUri' => self::OAUTH2_TOKEN_URI, 'redirectUri' => $this->getRedirectUri(), 'issuer' => $this->config['client_id'], 'signingKey' => $this->config['signing_key'], 'signingAlgorithm' => $this->config['signing_algorithm']]); return $auth; } /** * Set the Cache object * @param CacheItemPoolInterface $cache */ public function setCache(\Google\Site_Kit_Dependencies\Psr\Cache\CacheItemPoolInterface $cache) { $this->cache = $cache; } /** * @return CacheItemPoolInterface */ public function getCache() { if (!$this->cache) { $this->cache = $this->createDefaultCache(); } return $this->cache; } /** * @param array $cacheConfig */ public function setCacheConfig(array $cacheConfig) { $this->config['cache_config'] = $cacheConfig; } /** * Set the Logger object * @param LoggerInterface $logger */ public function setLogger(\Google\Site_Kit_Dependencies\Psr\Log\LoggerInterface $logger) { $this->logger = $logger; } /** * @return LoggerInterface */ public function getLogger() { if (!isset($this->logger)) { $this->logger = $this->createDefaultLogger(); } return $this->logger; } protected function createDefaultLogger() { $logger = new \Google\Site_Kit_Dependencies\Monolog\Logger('google-api-php-client'); if ($this->isAppEngine()) { $handler = new \Google\Site_Kit_Dependencies\Monolog\Handler\SyslogHandler('app', \LOG_USER, \Google\Site_Kit_Dependencies\Monolog\Logger::NOTICE); } else { $handler = new \Google\Site_Kit_Dependencies\Monolog\Handler\StreamHandler('php://stderr', \Google\Site_Kit_Dependencies\Monolog\Logger::NOTICE); } $logger->pushHandler($handler); return $logger; } protected function createDefaultCache() { return new \Google\Site_Kit_Dependencies\Google\Auth\Cache\MemoryCacheItemPool(); } /** * Set the Http Client object * @param ClientInterface $http */ public function setHttpClient(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface $http) { $this->http = $http; } /** * @return ClientInterface */ public function getHttpClient() { if (null === $this->http) { $this->http = $this->createDefaultHttpClient(); } return $this->http; } /** * Set the API format version. * * `true` will use V2, which may return more useful error messages. * * @param bool $value */ public function setApiFormatV2($value) { $this->config['api_format_v2'] = (bool) $value; } protected function createDefaultHttpClient() { $guzzleVersion = null; if (\defined('\\Google\\Site_Kit_Dependencies\\GuzzleHttp\\ClientInterface::MAJOR_VERSION')) { $guzzleVersion = \Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface::MAJOR_VERSION; } elseif (\defined('\\Google\\Site_Kit_Dependencies\\GuzzleHttp\\ClientInterface::VERSION')) { $guzzleVersion = (int) \substr(\Google\Site_Kit_Dependencies\GuzzleHttp\ClientInterface::VERSION, 0, 1); } if (5 === $guzzleVersion) { $options = ['base_url' => $this->config['base_path'], 'defaults' => ['exceptions' => \false]]; if ($this->isAppEngine()) { if (\class_exists(\Google\Site_Kit_Dependencies\GuzzleHttp\Ring\Client\StreamHandler::class)) { // set StreamHandler on AppEngine by default $options['handler'] = new \Google\Site_Kit_Dependencies\GuzzleHttp\Ring\Client\StreamHandler(); $options['defaults']['verify'] = '/etc/ca-certificates.crt'; } } } elseif (6 === $guzzleVersion || 7 === $guzzleVersion) { // guzzle 6 or 7 $options = ['base_uri' => $this->config['base_path'], 'http_errors' => \false]; } else { throw new \LogicException('Could not find supported version of Guzzle.'); } return new \Google\Site_Kit_Dependencies\GuzzleHttp\Client($options); } /** * @return FetchAuthTokenCache */ private function createApplicationDefaultCredentials() { $scopes = $this->prepareScopes(); $sub = $this->config['subject']; $signingKey = $this->config['signing_key']; // create credentials using values supplied in setAuthConfig if ($signingKey) { $serviceAccountCredentials = ['client_id' => $this->config['client_id'], 'client_email' => $this->config['client_email'], 'private_key' => $signingKey, 'type' => 'service_account', 'quota_project_id' => $this->config['quota_project']]; $credentials = \Google\Site_Kit_Dependencies\Google\Auth\CredentialsLoader::makeCredentials($scopes, $serviceAccountCredentials); } else { // When $sub is provided, we cannot pass cache classes to ::getCredentials // because FetchAuthTokenCache::setSub does not exist. // The result is when $sub is provided, calls to ::onGce are not cached. $credentials = \Google\Site_Kit_Dependencies\Google\Auth\ApplicationDefaultCredentials::getCredentials($scopes, null, $sub ? null : $this->config['cache_config'], $sub ? null : $this->getCache(), $this->config['quota_project']); } // for service account domain-wide authority (impersonating a user) // @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount if ($sub) { if (!$credentials instanceof \Google\Site_Kit_Dependencies\Google\Auth\Credentials\ServiceAccountCredentials) { throw new \DomainException('domain-wide authority requires service account credentials'); } $credentials->setSub($sub); } // If we are not using FetchAuthTokenCache yet, create it now if (!$credentials instanceof \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache) { $credentials = new \Google\Site_Kit_Dependencies\Google\Auth\FetchAuthTokenCache($credentials, $this->config['cache_config'], $this->getCache()); } return $credentials; } protected function getAuthHandler() { // Be very careful using the cache, as the underlying auth library's cache // implementation is naive, and the cache keys do not account for user // sessions. // // @see https://github.com/google/google-api-php-client/issues/821 return \Google\Site_Kit_Dependencies\Google\AuthHandler\AuthHandlerFactory::build($this->getCache(), $this->config['cache_config']); } private function createUserRefreshCredentials($scope, $refreshToken) { $creds = \array_filter(['client_id' => $this->getClientId(), 'client_secret' => $this->getClientSecret(), 'refresh_token' => $refreshToken]); return new \Google\Site_Kit_Dependencies\Google\Auth\Credentials\UserRefreshCredentials($scope, $creds); } } third-party/google/apiclient/src/Collection.php 0000604 00000005774 14717744000 0015647 0 ustar 00 <?php namespace Google\Site_Kit_Dependencies\Google; /** * Extension to the regular Google\Model that automatically * exposes the items array for iteration, so you can just * iterate over the object rather than a reference inside. */ class Collection extends \Google\Site_Kit_Dependencies\Google\Model implements \Iterator, \Countable { protected $collection_key = 'items'; /** @return void */ #[\ReturnTypeWillChange] public function rewind() { if (isset($this->{$this->collection_key}) && \is_array($this->{$this->collection_key})) { \reset($this->{$this->collection_key}); } } /** @return mixed */ #[\ReturnTypeWillChange] public function current() { $this->coerceType($this->key()); if (\is_array($this->{$this->collection_key})) { return \current($this->{$this->collection_key}); } } /** @return mixed */ #[\ReturnTypeWillChange] public function key() { if (isset($this->{$this->collection_key}) && \is_array($this->{$this->collection_key})) { return \key($this->{$this->collection_key}); } } /** @return mixed */ #[\ReturnTypeWillChange] public function next() { return \next($this->{$this->collection_key}); } /** @return bool */ #[\ReturnTypeWillChange] public function valid() { $key = $this->key(); return $key !== null && $key !== \false; } /** @return int */ #[\ReturnTypeWillChange] public function count() { if (!isset($this->{$this->collection_key})) { return 0; } return \count($this->{$this->collection_key}); } /** @return bool */ #[\ReturnTypeWillChange] public function offsetExists($offset) { if (!\is_numeric($offset)) { return parent::offsetExists($offset); } return isset($this->{$this->collection_key}[$offset]); } /** @return mixed */ public function offsetGet($offset) { if (!\is_numeric($offset)) { return parent::offsetGet($offset); } $this->coerceType($offset); return $this->{$this->collection_key}[$offset]; } /** @return void */ #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { if (!\is_numeric($offset)) { parent::offsetSet($offset, $value); } $this->{$this->collection_key}[$offset] = $value; } /** @return void */ #[\ReturnTypeWillChange] public function offsetUnset($offset) { if (!\is_numeric($offset)) { parent::offsetUnset($offset); } unset($this->{$this->collection_key}[$offset]); } private function coerceType($offset) { $keyType = $this->keyType($this->collection_key); if ($keyType && !\is_object($this->{$this->collection_key}[$offset])) { $this->{$this->collection_key}[$offset] = new $keyType($this->{$this->collection_key}[$offset]); } } } third-party/google/apiclient/src/Exception.php 0000604 00000001321 14717744000 0015472 0 ustar 00 <?php /* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google; use Exception as BaseException; class Exception extends \Exception { } third-party/google/apiclient/src/Model.php 0000604 00000024144 14717744000 0014604 0 ustar 00 <?php /* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google; use Google\Site_Kit_Dependencies\Google\Exception as GoogleException; use ReflectionObject; use ReflectionProperty; use stdClass; /** * This class defines attributes, valid values, and usage which is generated * from a given json schema. * http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5 * */ #[\AllowDynamicProperties] class Model implements \ArrayAccess { /** * If you need to specify a NULL JSON value, use Google\Model::NULL_VALUE * instead - it will be replaced when converting to JSON with a real null. */ const NULL_VALUE = "{}gapi-php-null"; protected $internal_gapi_mappings = []; protected $modelData = []; protected $processed = []; /** * Polymorphic - accepts a variable number of arguments dependent * on the type of the model subclass. */ public final function __construct() { if (\func_num_args() == 1 && \is_array(\func_get_arg(0))) { // Initialize the model with the array's contents. $array = \func_get_arg(0); $this->mapTypes($array); } $this->gapiInit(); } /** * Getter that handles passthrough access to the data array, and lazy object creation. * @param string $key Property name. * @return mixed The value if any, or null. */ public function __get($key) { $keyType = $this->keyType($key); $keyDataType = $this->dataType($key); if ($keyType && !isset($this->processed[$key])) { if (isset($this->modelData[$key])) { $val = $this->modelData[$key]; } elseif ($keyDataType == 'array' || $keyDataType == 'map') { $val = []; } else { $val = null; } if ($this->isAssociativeArray($val)) { if ($keyDataType && 'map' == $keyDataType) { foreach ($val as $arrayKey => $arrayItem) { $this->modelData[$key][$arrayKey] = new $keyType($arrayItem); } } else { $this->modelData[$key] = new $keyType($val); } } elseif (\is_array($val)) { $arrayObject = []; foreach ($val as $arrayIndex => $arrayItem) { $arrayObject[$arrayIndex] = new $keyType($arrayItem); } $this->modelData[$key] = $arrayObject; } $this->processed[$key] = \true; } return isset($this->modelData[$key]) ? $this->modelData[$key] : null; } /** * Initialize this object's properties from an array. * * @param array $array Used to seed this object's properties. * @return void */ protected function mapTypes($array) { // Hard initialise simple types, lazy load more complex ones. foreach ($array as $key => $val) { if ($keyType = $this->keyType($key)) { $dataType = $this->dataType($key); if ($dataType == 'array' || $dataType == 'map') { $this->{$key} = []; foreach ($val as $itemKey => $itemVal) { if ($itemVal instanceof $keyType) { $this->{$key}[$itemKey] = $itemVal; } else { $this->{$key}[$itemKey] = new $keyType($itemVal); } } } elseif ($val instanceof $keyType) { $this->{$key} = $val; } else { $this->{$key} = new $keyType($val); } unset($array[$key]); } elseif (\property_exists($this, $key)) { $this->{$key} = $val; unset($array[$key]); } elseif (\property_exists($this, $camelKey = $this->camelCase($key))) { // This checks if property exists as camelCase, leaving it in array as snake_case // in case of backwards compatibility issues. $this->{$camelKey} = $val; } } $this->modelData = $array; } /** * Blank initialiser to be used in subclasses to do post-construction initialisation - this * avoids the need for subclasses to have to implement the variadics handling in their * constructors. */ protected function gapiInit() { return; } /** * Create a simplified object suitable for straightforward * conversion to JSON. This is relatively expensive * due to the usage of reflection, but shouldn't be called * a whole lot, and is the most straightforward way to filter. */ public function toSimpleObject() { $object = new \stdClass(); // Process all other data. foreach ($this->modelData as $key => $val) { $result = $this->getSimpleValue($val); if ($result !== null) { $object->{$key} = $this->nullPlaceholderCheck($result); } } // Process all public properties. $reflect = new \ReflectionObject($this); $props = $reflect->getProperties(\ReflectionProperty::IS_PUBLIC); foreach ($props as $member) { $name = $member->getName(); $result = $this->getSimpleValue($this->{$name}); if ($result !== null) { $name = $this->getMappedName($name); $object->{$name} = $this->nullPlaceholderCheck($result); } } return $object; } /** * Handle different types of values, primarily * other objects and map and array data types. */ private function getSimpleValue($value) { if ($value instanceof \Google\Site_Kit_Dependencies\Google\Model) { return $value->toSimpleObject(); } elseif (\is_array($value)) { $return = []; foreach ($value as $key => $a_value) { $a_value = $this->getSimpleValue($a_value); if ($a_value !== null) { $key = $this->getMappedName($key); $return[$key] = $this->nullPlaceholderCheck($a_value); } } return $return; } return $value; } /** * Check whether the value is the null placeholder and return true null. */ private function nullPlaceholderCheck($value) { if ($value === self::NULL_VALUE) { return null; } return $value; } /** * If there is an internal name mapping, use that. */ private function getMappedName($key) { if (isset($this->internal_gapi_mappings, $this->internal_gapi_mappings[$key])) { $key = $this->internal_gapi_mappings[$key]; } return $key; } /** * Returns true only if the array is associative. * @param array $array * @return bool True if the array is associative. */ protected function isAssociativeArray($array) { if (!\is_array($array)) { return \false; } $keys = \array_keys($array); foreach ($keys as $key) { if (\is_string($key)) { return \true; } } return \false; } /** * Verify if $obj is an array. * @throws \Google\Exception Thrown if $obj isn't an array. * @param array $obj Items that should be validated. * @param string $method Method expecting an array as an argument. */ public function assertIsArray($obj, $method) { if ($obj && !\is_array($obj)) { throw new \Google\Site_Kit_Dependencies\Google\Exception("Incorrect parameter type passed to {$method}(). Expected an array."); } } /** @return bool */ #[\ReturnTypeWillChange] public function offsetExists($offset) { return isset($this->{$offset}) || isset($this->modelData[$offset]); } /** @return mixed */ #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->{$offset}) ? $this->{$offset} : $this->__get($offset); } /** @return void */ #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { if (\property_exists($this, $offset)) { $this->{$offset} = $value; } else { $this->modelData[$offset] = $value; $this->processed[$offset] = \true; } } /** @return void */ #[\ReturnTypeWillChange] public function offsetUnset($offset) { unset($this->modelData[$offset]); } protected function keyType($key) { $keyType = $key . "Type"; // ensure keyType is a valid class if (\property_exists($this, $keyType) && $this->{$keyType} !== null && \class_exists($this->{$keyType})) { return $this->{$keyType}; } } protected function dataType($key) { $dataType = $key . "DataType"; if (\property_exists($this, $dataType)) { return $this->{$dataType}; } } public function __isset($key) { return isset($this->modelData[$key]); } public function __unset($key) { unset($this->modelData[$key]); } /** * Convert a string to camelCase * @param string $value * @return string */ private function camelCase($value) { $value = \ucwords(\str_replace(['-', '_'], ' ', $value)); $value = \str_replace(' ', '', $value); $value[0] = \strtolower($value[0]); return $value; } } third-party/google/apiclient/src/Service.php 0000604 00000003750 14717744000 0015144 0 ustar 00 <?php /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Google\Site_Kit_Dependencies\Google; use Google\Site_Kit_Dependencies\Google\Http\Batch; use TypeError; class Service { public $batchPath; public $rootUrl; public $version; public $servicePath; public $serviceName; public $availableScopes; public $resource; private $client; public function __construct($clientOrConfig = []) { if ($clientOrConfig instanceof \Google\Site_Kit_Dependencies\Google\Client) { $this->client = $clientOrConfig; } elseif (\is_array($clientOrConfig)) { $this->client = new \Google\Site_Kit_Dependencies\Google\Client($clientOrConfig ?: []); } else { $errorMessage = 'Google\\Site_Kit_Dependencies\\constructor must be array or instance of Google\\Client'; if (\class_exists('TypeError')) { throw new \TypeError($errorMessage); } \trigger_error($errorMessage, \E_USER_ERROR); } } /** * Return the associated Google\Client class. * @return \Google\Client */ public function getClient() { return $this->client; } /** * Create a new HTTP Batch handler for this service * * @return Batch */ public function createBatch() { return new \Google\Site_Kit_Dependencies\Google\Http\Batch($this->client, \false, $this->rootUrl, $this->batchPath); } } third-party/google/apiclient-services/src/Adsense/Resource/AccountsAdclientsAdunits.php 0000604 00000020043 14717744000 0025466 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse; /** * The "adunits" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $adunits = $adsenseService->accounts_adclients_adunits; * </code> */ class AccountsAdclientsAdunits extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Creates an ad unit. This method can be called only by a restricted set of * projects, which are usually owned by [AdSense for * Platforms](https://developers.google.com/adsense/platforms/) publishers. * Contact your account manager if you need to use this method. Note that ad * units can only be created for ad clients with an "AFC" product code. For more * info see the [AdClient * resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, * this method can only be used to create `DISPLAY` ad units. See: * https://support.google.com/adsense/answer/9183566 (adunits.create) * * @param string $parent Required. Ad client to create an ad unit under. Format: * accounts/{account}/adclients/{adclient} * @param AdUnit $postBody * @param array $optParams Optional parameters. * @return AdUnit * @throws \Google\Service\Exception */ public function create($parent, \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('create', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class); } /** * Gets an ad unit from a specified account and ad client. (adunits.get) * * @param string $name Required. AdUnit to get information about. Format: * accounts/{account}/adclients/{adclient}/adunits/{adunit} * @param array $optParams Optional parameters. * @return AdUnit * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class); } /** * Gets the ad unit code for a given ad unit. For more information, see [About * the AdSense code](https://support.google.com/adsense/answer/9274634) and * [Where to place the ad code in your * HTML](https://support.google.com/adsense/answer/9190028). (adunits.getAdcode) * * @param string $name Required. Name of the adunit for which to get the adcode. * Format: accounts/{account}/adclients/{adclient}/adunits/{adunit} * @param array $optParams Optional parameters. * @return AdUnitAdCode * @throws \Google\Service\Exception */ public function getAdcode($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class); } /** * Lists all ad units under a specified account and ad client. * (adunits.listAccountsAdclientsAdunits) * * @param string $parent Required. The ad client which owns the collection of ad * units. Format: accounts/{account}/adclients/{adclient} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of ad units to include in the * response, used for paging. If unspecified, at most 10000 ad units will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListAdUnits` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListAdUnits` must match the * call that provided the page token. * @return ListAdUnitsResponse * @throws \Google\Service\Exception */ public function listAccountsAdclientsAdunits($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class); } /** * Lists all the custom channels available for an ad unit. * (adunits.listLinkedCustomChannels) * * @param string $parent Required. The ad unit which owns the collection of * custom channels. Format: * accounts/{account}/adclients/{adclient}/adunits/{adunit} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of custom channels to include in * the response, used for paging. If unspecified, at most 10000 custom channels * will be returned. The maximum value is 10000; values above 10000 will be * coerced to 10000. * @opt_param string pageToken A page token, received from a previous * `ListLinkedCustomChannels` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListLinkedCustomChannels` must match the call that provided the page token. * @return ListLinkedCustomChannelsResponse * @throws \Google\Service\Exception */ public function listLinkedCustomChannels($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('listLinkedCustomChannels', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class); } /** * Updates an ad unit. This method can be called only by a restricted set of * projects, which are usually owned by [AdSense for * Platforms](https://developers.google.com/adsense/platforms/) publishers. * Contact your account manager if you need to use this method. For now, this * method can only be used to update `DISPLAY` ad units. See: * https://support.google.com/adsense/answer/9183566 (adunits.patch) * * @param string $name Output only. Resource name of the ad unit. Format: * accounts/{account}/adclients/{adclient}/adunits/{adunit} * @param AdUnit $postBody * @param array $optParams Optional parameters. * * @opt_param string updateMask The list of fields to update. If empty, a full * update is performed. * @return AdUnit * @throws \Google\Service\Exception */ public function patch($name, \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('patch', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsAdunits::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsAdunits'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsAdclientsCustomchannels.php 0000604 00000017505 14717744000 0027056 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty; use Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse; /** * The "customchannels" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $customchannels = $adsenseService->accounts_adclients_customchannels; * </code> */ class AccountsAdclientsCustomchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Creates a custom channel. This method can be called only by a restricted set * of projects, which are usually owned by [AdSense for * Platforms](https://developers.google.com/adsense/platforms/) publishers. * Contact your account manager if you need to use this method. * (customchannels.create) * * @param string $parent Required. The ad client to create a custom channel * under. Format: accounts/{account}/adclients/{adclient} * @param CustomChannel $postBody * @param array $optParams Optional parameters. * @return CustomChannel * @throws \Google\Service\Exception */ public function create($parent, \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('create', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class); } /** * Deletes a custom channel. This method can be called only by a restricted set * of projects, which are usually owned by [AdSense for * Platforms](https://developers.google.com/adsense/platforms/) publishers. * Contact your account manager if you need to use this method. * (customchannels.delete) * * @param string $name Required. Name of the custom channel to delete. Format: * accounts/{account}/adclients/{adclient}/customchannels/{customchannel} * @param array $optParams Optional parameters. * @return AdsenseEmpty * @throws \Google\Service\Exception */ public function delete($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('delete', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty::class); } /** * Gets information about the selected custom channel. (customchannels.get) * * @param string $name Required. Name of the custom channel. Format: * accounts/{account}/adclients/{adclient}/customchannels/{customchannel} * @param array $optParams Optional parameters. * @return CustomChannel * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class); } /** * Lists all the custom channels available in an ad client. * (customchannels.listAccountsAdclientsCustomchannels) * * @param string $parent Required. The ad client which owns the collection of * custom channels. Format: accounts/{account}/adclients/{adclient} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of custom channels to include in * the response, used for paging. If unspecified, at most 10000 custom channels * will be returned. The maximum value is 10000; values above 10000 will be * coerced to 10000. * @opt_param string pageToken A page token, received from a previous * `ListCustomChannels` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListCustomChannels` must match * the call that provided the page token. * @return ListCustomChannelsResponse * @throws \Google\Service\Exception */ public function listAccountsAdclientsCustomchannels($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class); } /** * Lists all the ad units available for a custom channel. * (customchannels.listLinkedAdUnits) * * @param string $parent Required. The custom channel which owns the collection * of ad units. Format: * accounts/{account}/adclients/{adclient}/customchannels/{customchannel} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of ad units to include in the * response, used for paging. If unspecified, at most 10000 ad units will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListLinkedAdUnits` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListLinkedAdUnits` must match * the call that provided the page token. * @return ListLinkedAdUnitsResponse * @throws \Google\Service\Exception */ public function listLinkedAdUnits($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('listLinkedAdUnits', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class); } /** * Updates a custom channel. This method can be called only by a restricted set * of projects, which are usually owned by [AdSense for * Platforms](https://developers.google.com/adsense/platforms/) publishers. * Contact your account manager if you need to use this method. * (customchannels.patch) * * @param string $name Output only. Resource name of the custom channel. Format: * accounts/{account}/adclients/{adclient}/customchannels/{customchannel} * @param CustomChannel $postBody * @param array $optParams Optional parameters. * * @opt_param string updateMask The list of fields to update. If empty, a full * update is performed. * @return CustomChannel * @throws \Google\Service\Exception */ public function patch($name, \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('patch', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsCustomchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsCustomchannels'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsAdclients.php 0000604 00000010143 14717744000 0024136 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse; /** * The "adclients" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $adclients = $adsenseService->accounts_adclients; * </code> */ class AccountsAdclients extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets the ad client from the given resource name. (adclients.get) * * @param string $name Required. The name of the ad client to retrieve. Format: * accounts/{account}/adclients/{adclient} * @param array $optParams Optional parameters. * @return AdClient * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class); } /** * Gets the AdSense code for a given ad client. This returns what was previously * known as the 'auto ad code'. This is only supported for ad clients with a * product_code of AFC. For more information, see [About the AdSense * code](https://support.google.com/adsense/answer/9274634). * (adclients.getAdcode) * * @param string $name Required. Name of the ad client for which to get the * adcode. Format: accounts/{account}/adclients/{adclient} * @param array $optParams Optional parameters. * @return AdClientAdCode * @throws \Google\Service\Exception */ public function getAdcode($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class); } /** * Lists all the ad clients available in an account. * (adclients.listAccountsAdclients) * * @param string $parent Required. The account which owns the collection of ad * clients. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of ad clients to include in the * response, used for paging. If unspecified, at most 10000 ad clients will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListAdClients` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListAdClients` must match the * call that provided the page token. * @return ListAdClientsResponse * @throws \Google\Service\Exception */ public function listAccountsAdclients($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclients::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclients'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsAdclientsUrlchannels.php 0000604 00000006406 14717744000 0026344 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel; /** * The "urlchannels" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $urlchannels = $adsenseService->accounts_adclients_urlchannels; * </code> */ class AccountsAdclientsUrlchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets information about the selected url channel. (urlchannels.get) * * @param string $name Required. The name of the url channel to retrieve. * Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel} * @param array $optParams Optional parameters. * @return UrlChannel * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class); } /** * Lists active url channels. (urlchannels.listAccountsAdclientsUrlchannels) * * @param string $parent Required. The ad client which owns the collection of * url channels. Format: accounts/{account}/adclients/{adclient} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of url channels to include in the * response, used for paging. If unspecified, at most 10000 url channels will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListUrlChannels` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListUrlChannels` must match the * call that provided the page token. * @return ListUrlChannelsResponse * @throws \Google\Service\Exception */ public function listAccountsAdclientsUrlchannels($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsUrlchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsUrlchannels'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsAlerts.php 0000604 00000004414 14717744000 0023466 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse; /** * The "alerts" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $alerts = $adsenseService->accounts_alerts; * </code> */ class AccountsAlerts extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Lists all the alerts available in an account. (alerts.listAccountsAlerts) * * @param string $parent Required. The account which owns the collection of * alerts. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param string languageCode The language to use for translating alert * messages. If unspecified, this defaults to the user's display language. If * the given language is not supported, alerts will be returned in English. The * language is specified as an [IETF BCP-47 language * code](https://en.wikipedia.org/wiki/IETF_language_tag). * @return ListAlertsResponse * @throws \Google\Service\Exception */ public function listAccountsAlerts($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAlerts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAlerts'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsPayments.php 0000604 00000003673 14717744000 0024042 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse; /** * The "payments" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $payments = $adsenseService->accounts_payments; * </code> */ class AccountsPayments extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Lists all the payments available for an account. * (payments.listAccountsPayments) * * @param string $parent Required. The account which owns the collection of * payments. Format: accounts/{account} * @param array $optParams Optional parameters. * @return ListPaymentsResponse * @throws \Google\Service\Exception */ public function listAccountsPayments($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPayments::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsPayments'); third-party/google/apiclient-services/src/Adsense/Resource/Accounts.php 0000604 00000011711 14717744000 0022311 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\Account; use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse; /** * The "accounts" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $accounts = $adsenseService->accounts; * </code> */ class Accounts extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets information about the selected AdSense account. (accounts.get) * * @param string $name Required. Account to get information about. Format: * accounts/{account} * @param array $optParams Optional parameters. * @return Account * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class); } /** * Gets the ad blocking recovery tag of an account. * (accounts.getAdBlockingRecoveryTag) * * @param string $name Required. The name of the account to get the tag for. * Format: accounts/{account} * @param array $optParams Optional parameters. * @return AdBlockingRecoveryTag * @throws \Google\Service\Exception */ public function getAdBlockingRecoveryTag($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('getAdBlockingRecoveryTag', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag::class); } /** * Lists all accounts available to this user. (accounts.listAccounts) * * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of accounts to include in the * response, used for paging. If unspecified, at most 10000 accounts will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListAccounts` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListAccounts` must match the * call that provided the page token. * @return ListAccountsResponse * @throws \Google\Service\Exception */ public function listAccounts($optParams = []) { $params = []; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class); } /** * Lists all accounts directly managed by the given AdSense account. * (accounts.listChildAccounts) * * @param string $parent Required. The parent account, which owns the child * accounts. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of accounts to include in the * response, used for paging. If unspecified, at most 10000 accounts will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListChildAccounts` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListChildAccounts` must match * the call that provided the page token. * @return ListChildAccountsResponse * @throws \Google\Service\Exception */ public function listChildAccounts($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('listChildAccounts', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\Accounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_Accounts'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsPolicyIssues.php 0000604 00000006321 14717744000 0024666 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue; /** * The "policyIssues" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $policyIssues = $adsenseService->accounts_policyIssues; * </code> */ class AccountsPolicyIssues extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets information about the selected policy issue. (policyIssues.get) * * @param string $name Required. Name of the policy issue. Format: * accounts/{account}/policyIssues/{policy_issue} * @param array $optParams Optional parameters. * @return PolicyIssue * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class); } /** * Lists all the policy issues for the specified account. * (policyIssues.listAccountsPolicyIssues) * * @param string $parent Required. The account for which policy issues are being * retrieved. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of policy issues to include in the * response, used for paging. If unspecified, at most 10000 policy issues will * be returned. The maximum value is 10000; values above 10000 will be coerced * to 10000. * @opt_param string pageToken A page token, received from a previous * `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListPolicyIssues` must match * the call that provided the page token. * @return ListPolicyIssuesResponse * @throws \Google\Service\Exception */ public function listAccountsPolicyIssues($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPolicyIssues::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsPolicyIssues'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsReports.php 0000604 00000022157 14717744000 0023676 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult; use Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport; /** * The "reports" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $reports = $adsenseService->accounts_reports; * </code> */ class AccountsReports extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Generates an ad hoc report. (reports.generate) * * @param string $account Required. The account which owns the collection of * reports. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param string currencyCode The [ISO-4217 currency * code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on * monetary metrics. Defaults to the account's currency if not set. * @opt_param string dateRange Date range of the report, if unset the range will * be considered CUSTOM. * @opt_param string dimensions Dimensions to base the report on. * @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for * the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to * specify a date without a year. * @opt_param string filters A list of * [filters](/adsense/management/reporting/filtering) to apply to the report. * All provided filters must match in order for the data to be included in the * report. * @opt_param string languageCode The language to use for translating report * output. If unspecified, this defaults to English ("en"). If the given * language is not supported, report output will be returned in English. The * language is specified as an [IETF BCP-47 language * code](https://en.wikipedia.org/wiki/IETF_language_tag). * @opt_param int limit The maximum number of rows of report data to return. * Reports producing more rows than the requested limit will be truncated. If * unset, this defaults to 100,000 rows for `Reports.GenerateReport` and * 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum * values permitted here. Report truncation can be identified (for * `Reports.GenerateReport` only) by comparing the number of rows returned to * the value returned in `total_matched_rows`. * @opt_param string metrics Required. Reporting metrics. * @opt_param string orderBy The name of a dimension or metric to sort the * resulting report on, can be prefixed with "+" to sort ascending or "-" to * sort descending. If no prefix is specified, the column is sorted ascending. * @opt_param string reportingTimeZone Timezone in which to generate the report. * If unspecified, this defaults to the account timezone. For more information, * see [changing the time zone of your * reports](https://support.google.com/adsense/answer/9830725). * @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid * for the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0 * to specify a date without a year. * @return ReportResult * @throws \Google\Service\Exception */ public function generate($account, $optParams = []) { $params = ['account' => $account]; $params = \array_merge($params, $optParams); return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class); } /** * Generates a csv formatted ad hoc report. (reports.generateCsv) * * @param string $account Required. The account which owns the collection of * reports. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param string currencyCode The [ISO-4217 currency * code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on * monetary metrics. Defaults to the account's currency if not set. * @opt_param string dateRange Date range of the report, if unset the range will * be considered CUSTOM. * @opt_param string dimensions Dimensions to base the report on. * @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for * the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to * specify a date without a year. * @opt_param string filters A list of * [filters](/adsense/management/reporting/filtering) to apply to the report. * All provided filters must match in order for the data to be included in the * report. * @opt_param string languageCode The language to use for translating report * output. If unspecified, this defaults to English ("en"). If the given * language is not supported, report output will be returned in English. The * language is specified as an [IETF BCP-47 language * code](https://en.wikipedia.org/wiki/IETF_language_tag). * @opt_param int limit The maximum number of rows of report data to return. * Reports producing more rows than the requested limit will be truncated. If * unset, this defaults to 100,000 rows for `Reports.GenerateReport` and * 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum * values permitted here. Report truncation can be identified (for * `Reports.GenerateReport` only) by comparing the number of rows returned to * the value returned in `total_matched_rows`. * @opt_param string metrics Required. Reporting metrics. * @opt_param string orderBy The name of a dimension or metric to sort the * resulting report on, can be prefixed with "+" to sort ascending or "-" to * sort descending. If no prefix is specified, the column is sorted ascending. * @opt_param string reportingTimeZone Timezone in which to generate the report. * If unspecified, this defaults to the account timezone. For more information, * see [changing the time zone of your * reports](https://support.google.com/adsense/answer/9830725). * @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid * for the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0 * to specify a date without a year. * @return HttpBody * @throws \Google\Service\Exception */ public function generateCsv($account, $optParams = []) { $params = ['account' => $account]; $params = \array_merge($params, $optParams); return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class); } /** * Gets the saved report from the given resource name. (reports.getSaved) * * @param string $name Required. The name of the saved report to retrieve. * Format: accounts/{account}/reports/{report} * @param array $optParams Optional parameters. * @return SavedReport * @throws \Google\Service\Exception */ public function getSaved($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('getSaved', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReports::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReports'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsReportsSaved.php 0000604 00000016720 14717744000 0024660 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult; /** * The "saved" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $saved = $adsenseService->accounts_reports_saved; * </code> */ class AccountsReportsSaved extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Generates a saved report. (saved.generate) * * @param string $name Required. Name of the saved report. Format: * accounts/{account}/reports/{report} * @param array $optParams Optional parameters. * * @opt_param string currencyCode The [ISO-4217 currency * code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on * monetary metrics. Defaults to the account's currency if not set. * @opt_param string dateRange Date range of the report, if unset the range will * be considered CUSTOM. * @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for * the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to * specify a date without a year. * @opt_param string languageCode The language to use for translating report * output. If unspecified, this defaults to English ("en"). If the given * language is not supported, report output will be returned in English. The * language is specified as an [IETF BCP-47 language * code](https://en.wikipedia.org/wiki/IETF_language_tag). * @opt_param string reportingTimeZone Timezone in which to generate the report. * If unspecified, this defaults to the account timezone. For more information, * see [changing the time zone of your * reports](https://support.google.com/adsense/answer/9830725). * @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid * for the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0 * to specify a date without a year. * @return ReportResult * @throws \Google\Service\Exception */ public function generate($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class); } /** * Generates a csv formatted saved report. (saved.generateCsv) * * @param string $name Required. Name of the saved report. Format: * accounts/{account}/reports/{report} * @param array $optParams Optional parameters. * * @opt_param string currencyCode The [ISO-4217 currency * code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on * monetary metrics. Defaults to the account's currency if not set. * @opt_param string dateRange Date range of the report, if unset the range will * be considered CUSTOM. * @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for * the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to * specify a date without a year. * @opt_param string languageCode The language to use for translating report * output. If unspecified, this defaults to English ("en"). If the given * language is not supported, report output will be returned in English. The * language is specified as an [IETF BCP-47 language * code](https://en.wikipedia.org/wiki/IETF_language_tag). * @opt_param string reportingTimeZone Timezone in which to generate the report. * If unspecified, this defaults to the account timezone. For more information, * see [changing the time zone of your * reports](https://support.google.com/adsense/answer/9830725). * @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid * for the year and month, or 0 to specify a year by itself or a year and month * where the day isn't significant. * @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to * specify a year without a month and day. * @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0 * to specify a date without a year. * @return HttpBody * @throws \Google\Service\Exception */ public function generateCsv($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class); } /** * Lists saved reports. (saved.listAccountsReportsSaved) * * @param string $parent Required. The account which owns the collection of * reports. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of reports to include in the * response, used for paging. If unspecified, at most 10000 reports will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListSavedReports` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListSavedReports` must match * the call that provided the page token. * @return ListSavedReportsResponse * @throws \Google\Service\Exception */ public function listAccountsReportsSaved($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReportsSaved::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReportsSaved'); third-party/google/apiclient-services/src/Adsense/Resource/AccountsSites.php 0000604 00000006012 14717744000 0023317 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource; use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse; use Google\Site_Kit_Dependencies\Google\Service\Adsense\Site; /** * The "sites" collection of methods. * Typical usage is: * <code> * $adsenseService = new Google\Service\Adsense(...); * $sites = $adsenseService->accounts_sites; * </code> */ class AccountsSites extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets information about the selected site. (sites.get) * * @param string $name Required. Name of the site. Format: * accounts/{account}/sites/{site} * @param array $optParams Optional parameters. * @return Site * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class); } /** * Lists all the sites available in an account. (sites.listAccountsSites) * * @param string $parent Required. The account which owns the collection of * sites. Format: accounts/{account} * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of sites to include in the * response, used for paging. If unspecified, at most 10000 sites will be * returned. The maximum value is 10000; values above 10000 will be coerced to * 10000. * @opt_param string pageToken A page token, received from a previous * `ListSites` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListSites` must match the call * that provided the page token. * @return ListSitesResponse * @throws \Google\Service\Exception */ public function listAccountsSites($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsSites::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsSites'); third-party/google/apiclient-services/src/Adsense/Account.php 0000604 00000006322 14717744000 0020341 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Account extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'pendingTasks'; /** * @var string */ public $createTime; /** * @var string */ public $displayName; /** * @var string */ public $name; /** * @var string[] */ public $pendingTasks; /** * @var bool */ public $premium; /** * @var string */ public $state; protected $timeZoneType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class; protected $timeZoneDataType = ''; /** * @param string */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string[] */ public function setPendingTasks($pendingTasks) { $this->pendingTasks = $pendingTasks; } /** * @return string[] */ public function getPendingTasks() { return $this->pendingTasks; } /** * @param bool */ public function setPremium($premium) { $this->premium = $premium; } /** * @return bool */ public function getPremium() { return $this->premium; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } /** * @param TimeZone */ public function setTimeZone(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone $timeZone) { $this->timeZone = $timeZone; } /** * @return TimeZone */ public function getTimeZone() { return $this->timeZone; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Account'); third-party/google/apiclient-services/src/Adsense/AdBlockingRecoveryTag.php 0000604 00000003161 14717744000 0023113 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdBlockingRecoveryTag extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $errorProtectionCode; /** * @var string */ public $tag; /** * @param string */ public function setErrorProtectionCode($errorProtectionCode) { $this->errorProtectionCode = $errorProtectionCode; } /** * @return string */ public function getErrorProtectionCode() { return $this->errorProtectionCode; } /** * @param string */ public function setTag($tag) { $this->tag = $tag; } /** * @return string */ public function getTag() { return $this->tag; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdBlockingRecoveryTag'); third-party/google/apiclient-services/src/Adsense/AdClientAdCode.php 0000604 00000003504 14717744000 0021467 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdClientAdCode extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $adCode; /** * @var string */ public $ampBody; /** * @var string */ public $ampHead; /** * @param string */ public function setAdCode($adCode) { $this->adCode = $adCode; } /** * @return string */ public function getAdCode() { return $this->adCode; } /** * @param string */ public function setAmpBody($ampBody) { $this->ampBody = $ampBody; } /** * @return string */ public function getAmpBody() { return $this->ampBody; } /** * @param string */ public function setAmpHead($ampHead) { $this->ampHead = $ampHead; } /** * @return string */ public function getAmpHead() { return $this->ampHead; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClientAdCode'); third-party/google/apiclient-services/src/Adsense/AdClient.php 0000604 00000004264 14717744000 0020433 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdClient extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $name; /** * @var string */ public $productCode; /** * @var string */ public $reportingDimensionId; /** * @var string */ public $state; /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setProductCode($productCode) { $this->productCode = $productCode; } /** * @return string */ public function getProductCode() { return $this->productCode; } /** * @param string */ public function setReportingDimensionId($reportingDimensionId) { $this->reportingDimensionId = $reportingDimensionId; } /** * @return string */ public function getReportingDimensionId() { return $this->reportingDimensionId; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClient'); third-party/google/apiclient-services/src/Adsense/AdsenseEmpty.php 0000604 00000001720 14717744000 0021343 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdsenseEmpty extends \Google\Site_Kit_Dependencies\Google\Model { } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdsenseEmpty'); third-party/google/apiclient-services/src/Adsense/AdUnitAdCode.php 0000604 00000002360 14717744000 0021167 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdUnitAdCode extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $adCode; /** * @param string */ public function setAdCode($adCode) { $this->adCode = $adCode; } /** * @return string */ public function getAdCode() { return $this->adCode; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnitAdCode'); third-party/google/apiclient-services/src/Adsense/AdUnit.php 0000604 00000005347 14717744000 0020137 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class AdUnit extends \Google\Site_Kit_Dependencies\Google\Model { protected $contentAdsSettingsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class; protected $contentAdsSettingsDataType = ''; /** * @var string */ public $displayName; /** * @var string */ public $name; /** * @var string */ public $reportingDimensionId; /** * @var string */ public $state; /** * @param ContentAdsSettings */ public function setContentAdsSettings(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings $contentAdsSettings) { $this->contentAdsSettings = $contentAdsSettings; } /** * @return ContentAdsSettings */ public function getContentAdsSettings() { return $this->contentAdsSettings; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setReportingDimensionId($reportingDimensionId) { $this->reportingDimensionId = $reportingDimensionId; } /** * @return string */ public function getReportingDimensionId() { return $this->reportingDimensionId; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnit'); third-party/google/apiclient-services/src/Adsense/Alert.php 0000604 00000004064 14717744000 0020015 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Alert extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $message; /** * @var string */ public $name; /** * @var string */ public $severity; /** * @var string */ public $type; /** * @param string */ public function setMessage($message) { $this->message = $message; } /** * @return string */ public function getMessage() { return $this->message; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setSeverity($severity) { $this->severity = $severity; } /** * @return string */ public function getSeverity() { return $this->severity; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Alert'); third-party/google/apiclient-services/src/Adsense/Cell.php 0000604 00000002321 14717744000 0017617 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Cell extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $value; /** * @param string */ public function setValue($value) { $this->value = $value; } /** * @return string */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Cell'); third-party/google/apiclient-services/src/Adsense/ContentAdsSettings.php 0000604 00000003006 14717744000 0022524 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ContentAdsSettings extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $size; /** * @var string */ public $type; /** * @param string */ public function setSize($size) { $this->size = $size; } /** * @return string */ public function getSize() { return $this->size; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ContentAdsSettings'); third-party/google/apiclient-services/src/Adsense/CustomChannel.php 0000604 00000004304 14717744000 0021506 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class CustomChannel extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $active; /** * @var string */ public $displayName; /** * @var string */ public $name; /** * @var string */ public $reportingDimensionId; /** * @param bool */ public function setActive($active) { $this->active = $active; } /** * @return bool */ public function getActive() { return $this->active; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setReportingDimensionId($reportingDimensionId) { $this->reportingDimensionId = $reportingDimensionId; } /** * @return string */ public function getReportingDimensionId() { return $this->reportingDimensionId; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_CustomChannel'); third-party/google/apiclient-services/src/Adsense/Date.php 0000604 00000003323 14717744000 0017620 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Date extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var int */ public $day; /** * @var int */ public $month; /** * @var int */ public $year; /** * @param int */ public function setDay($day) { $this->day = $day; } /** * @return int */ public function getDay() { return $this->day; } /** * @param int */ public function setMonth($month) { $this->month = $month; } /** * @return int */ public function getMonth() { return $this->month; } /** * @param int */ public function setYear($year) { $this->year = $year; } /** * @return int */ public function getYear() { return $this->year; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Date'); third-party/google/apiclient-services/src/Adsense/Header.php 0000604 00000003454 14717744000 0020140 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Header extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $currencyCode; /** * @var string */ public $name; /** * @var string */ public $type; /** * @param string */ public function setCurrencyCode($currencyCode) { $this->currencyCode = $currencyCode; } /** * @return string */ public function getCurrencyCode() { return $this->currencyCode; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Header'); third-party/google/apiclient-services/src/Adsense/HttpBody.php 0000604 00000003613 14717744000 0020502 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class HttpBody extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'extensions'; /** * @var string */ public $contentType; /** * @var string */ public $data; /** * @var array[] */ public $extensions; /** * @param string */ public function setContentType($contentType) { $this->contentType = $contentType; } /** * @return string */ public function getContentType() { return $this->contentType; } /** * @param string */ public function setData($data) { $this->data = $data; } /** * @return string */ public function getData() { return $this->data; } /** * @param array[] */ public function setExtensions($extensions) { $this->extensions = $extensions; } /** * @return array[] */ public function getExtensions() { return $this->extensions; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_HttpBody'); third-party/google/apiclient-services/src/Adsense/ListAccountsResponse.php 0000604 00000003363 14717744000 0023101 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'accounts'; protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class; protected $accountsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param Account[] */ public function setAccounts($accounts) { $this->accounts = $accounts; } /** * @return Account[] */ public function getAccounts() { return $this->accounts; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAccountsResponse'); third-party/google/apiclient-services/src/Adsense/ListAdClientsResponse.php 0000604 00000003402 14717744000 0023162 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListAdClientsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'adClients'; protected $adClientsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class; protected $adClientsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param AdClient[] */ public function setAdClients($adClients) { $this->adClients = $adClients; } /** * @return AdClient[] */ public function getAdClients() { return $this->adClients; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdClientsResponse'); third-party/google/apiclient-services/src/Adsense/ListAdUnitsResponse.php 0000604 00000003344 14717744000 0022670 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'adUnits'; protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class; protected $adUnitsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param AdUnit[] */ public function setAdUnits($adUnits) { $this->adUnits = $adUnits; } /** * @return AdUnit[] */ public function getAdUnits() { return $this->adUnits; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdUnitsResponse'); third-party/google/apiclient-services/src/Adsense/ListAlertsResponse.php 0000604 00000002604 14717744000 0022551 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListAlertsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'alerts'; protected $alertsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class; protected $alertsDataType = 'array'; /** * @param Alert[] */ public function setAlerts($alerts) { $this->alerts = $alerts; } /** * @return Alert[] */ public function getAlerts() { return $this->alerts; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAlertsResponse'); third-party/google/apiclient-services/src/Adsense/ListChildAccountsResponse.php 0000604 00000003402 14717744000 0024037 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListChildAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'accounts'; protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class; protected $accountsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param Account[] */ public function setAccounts($accounts) { $this->accounts = $accounts; } /** * @return Account[] */ public function getAccounts() { return $this->accounts; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListChildAccountsResponse'); third-party/google/apiclient-services/src/Adsense/ListCustomChannelsResponse.php 0000604 00000003515 14717744000 0024247 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'customChannels'; protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class; protected $customChannelsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param CustomChannel[] */ public function setCustomChannels($customChannels) { $this->customChannels = $customChannels; } /** * @return CustomChannel[] */ public function getCustomChannels() { return $this->customChannels; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListCustomChannelsResponse'); third-party/google/apiclient-services/src/Adsense/ListLinkedAdUnitsResponse.php 0000604 00000003366 14717744000 0024023 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListLinkedAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'adUnits'; protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class; protected $adUnitsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param AdUnit[] */ public function setAdUnits($adUnits) { $this->adUnits = $adUnits; } /** * @return AdUnit[] */ public function getAdUnits() { return $this->adUnits; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedAdUnitsResponse'); third-party/google/apiclient-services/src/Adsense/ListLinkedCustomChannelsResponse.php 0000604 00000003537 14717744000 0025402 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListLinkedCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'customChannels'; protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class; protected $customChannelsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param CustomChannel[] */ public function setCustomChannels($customChannels) { $this->customChannels = $customChannels; } /** * @return CustomChannel[] */ public function getCustomChannels() { return $this->customChannels; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedCustomChannelsResponse'); third-party/google/apiclient-services/src/Adsense/ListPaymentsResponse.php 0000604 00000002642 14717744000 0023121 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListPaymentsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'payments'; protected $paymentsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class; protected $paymentsDataType = 'array'; /** * @param Payment[] */ public function setPayments($payments) { $this->payments = $payments; } /** * @return Payment[] */ public function getPayments() { return $this->payments; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListPaymentsResponse'); third-party/google/apiclient-services/src/Adsense/ListPolicyIssuesResponse.php 0000604 00000003457 14717744000 0023761 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListPolicyIssuesResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'policyIssues'; /** * @var string */ public $nextPageToken; protected $policyIssuesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class; protected $policyIssuesDataType = 'array'; /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param PolicyIssue[] */ public function setPolicyIssues($policyIssues) { $this->policyIssues = $policyIssues; } /** * @return PolicyIssue[] */ public function getPolicyIssues() { return $this->policyIssues; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListPolicyIssuesResponse'); third-party/google/apiclient-services/src/Adsense/ListSavedReportsResponse.php 0000604 00000003457 14717744000 0023747 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListSavedReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'savedReports'; /** * @var string */ public $nextPageToken; protected $savedReportsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class; protected $savedReportsDataType = 'array'; /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param SavedReport[] */ public function setSavedReports($savedReports) { $this->savedReports = $savedReports; } /** * @return SavedReport[] */ public function getSavedReports() { return $this->savedReports; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSavedReportsResponse'); third-party/google/apiclient-services/src/Adsense/ListSitesResponse.php 0000604 00000003306 14717744000 0022406 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListSitesResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'sites'; /** * @var string */ public $nextPageToken; protected $sitesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class; protected $sitesDataType = 'array'; /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param Site[] */ public function setSites($sites) { $this->sites = $sites; } /** * @return Site[] */ public function getSites() { return $this->sites; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSitesResponse'); third-party/google/apiclient-services/src/Adsense/ListUrlChannelsResponse.php 0000604 00000003440 14717744000 0023534 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ListUrlChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'urlChannels'; /** * @var string */ public $nextPageToken; protected $urlChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class; protected $urlChannelsDataType = 'array'; /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param UrlChannel[] */ public function setUrlChannels($urlChannels) { $this->urlChannels = $urlChannels; } /** * @return UrlChannel[] */ public function getUrlChannels() { return $this->urlChannels; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListUrlChannelsResponse'); third-party/google/apiclient-services/src/Adsense/Payment.php 0000604 00000003604 14717744000 0020362 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Payment extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $amount; protected $dateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $dateDataType = ''; /** * @var string */ public $name; /** * @param string */ public function setAmount($amount) { $this->amount = $amount; } /** * @return string */ public function getAmount() { return $this->amount; } /** * @param Date */ public function setDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $date) { $this->date = $date; } /** * @return Date */ public function getDate() { return $this->date; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Payment'); third-party/google/apiclient-services/src/Adsense/PolicyIssue.php 0000604 00000012433 14717744000 0021215 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class PolicyIssue extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'policyTopics'; /** * @var string */ public $action; /** * @var string[] */ public $adClients; /** * @var string */ public $adRequestCount; /** * @var string */ public $entityType; protected $firstDetectedDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $firstDetectedDateDataType = ''; protected $lastDetectedDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $lastDetectedDateDataType = ''; /** * @var string */ public $name; protected $policyTopicsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyTopic::class; protected $policyTopicsDataType = 'array'; /** * @var string */ public $site; /** * @var string */ public $siteSection; /** * @var string */ public $uri; protected $warningEscalationDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $warningEscalationDateDataType = ''; /** * @param string */ public function setAction($action) { $this->action = $action; } /** * @return string */ public function getAction() { return $this->action; } /** * @param string[] */ public function setAdClients($adClients) { $this->adClients = $adClients; } /** * @return string[] */ public function getAdClients() { return $this->adClients; } /** * @param string */ public function setAdRequestCount($adRequestCount) { $this->adRequestCount = $adRequestCount; } /** * @return string */ public function getAdRequestCount() { return $this->adRequestCount; } /** * @param string */ public function setEntityType($entityType) { $this->entityType = $entityType; } /** * @return string */ public function getEntityType() { return $this->entityType; } /** * @param Date */ public function setFirstDetectedDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $firstDetectedDate) { $this->firstDetectedDate = $firstDetectedDate; } /** * @return Date */ public function getFirstDetectedDate() { return $this->firstDetectedDate; } /** * @param Date */ public function setLastDetectedDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $lastDetectedDate) { $this->lastDetectedDate = $lastDetectedDate; } /** * @return Date */ public function getLastDetectedDate() { return $this->lastDetectedDate; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param PolicyTopic[] */ public function setPolicyTopics($policyTopics) { $this->policyTopics = $policyTopics; } /** * @return PolicyTopic[] */ public function getPolicyTopics() { return $this->policyTopics; } /** * @param string */ public function setSite($site) { $this->site = $site; } /** * @return string */ public function getSite() { return $this->site; } /** * @param string */ public function setSiteSection($siteSection) { $this->siteSection = $siteSection; } /** * @return string */ public function getSiteSection() { return $this->siteSection; } /** * @param string */ public function setUri($uri) { $this->uri = $uri; } /** * @return string */ public function getUri() { return $this->uri; } /** * @param Date */ public function setWarningEscalationDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $warningEscalationDate) { $this->warningEscalationDate = $warningEscalationDate; } /** * @return Date */ public function getWarningEscalationDate() { return $this->warningEscalationDate; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_PolicyIssue'); third-party/google/apiclient-services/src/Adsense/PolicyTopic.php 0000604 00000003007 14717744000 0021200 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class PolicyTopic extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $mustFix; /** * @var string */ public $topic; /** * @param bool */ public function setMustFix($mustFix) { $this->mustFix = $mustFix; } /** * @return bool */ public function getMustFix() { return $this->mustFix; } /** * @param string */ public function setTopic($topic) { $this->topic = $topic; } /** * @return string */ public function getTopic() { return $this->topic; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyTopic::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_PolicyTopic'); third-party/google/apiclient-services/src/Adsense/ReportResult.php 0000604 00000010042 14717744000 0021411 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class ReportResult extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'warnings'; protected $averagesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class; protected $averagesDataType = ''; protected $endDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $endDateDataType = ''; protected $headersType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class; protected $headersDataType = 'array'; protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class; protected $rowsDataType = 'array'; protected $startDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class; protected $startDateDataType = ''; /** * @var string */ public $totalMatchedRows; protected $totalsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class; protected $totalsDataType = ''; /** * @var string[] */ public $warnings; /** * @param Row */ public function setAverages(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $averages) { $this->averages = $averages; } /** * @return Row */ public function getAverages() { return $this->averages; } /** * @param Date */ public function setEndDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $endDate) { $this->endDate = $endDate; } /** * @return Date */ public function getEndDate() { return $this->endDate; } /** * @param Header[] */ public function setHeaders($headers) { $this->headers = $headers; } /** * @return Header[] */ public function getHeaders() { return $this->headers; } /** * @param Row[] */ public function setRows($rows) { $this->rows = $rows; } /** * @return Row[] */ public function getRows() { return $this->rows; } /** * @param Date */ public function setStartDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $startDate) { $this->startDate = $startDate; } /** * @return Date */ public function getStartDate() { return $this->startDate; } /** * @param string */ public function setTotalMatchedRows($totalMatchedRows) { $this->totalMatchedRows = $totalMatchedRows; } /** * @return string */ public function getTotalMatchedRows() { return $this->totalMatchedRows; } /** * @param Row */ public function setTotals(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $totals) { $this->totals = $totals; } /** * @return Row */ public function getTotals() { return $this->totals; } /** * @param string[] */ public function setWarnings($warnings) { $this->warnings = $warnings; } /** * @return string[] */ public function getWarnings() { return $this->warnings; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ReportResult'); third-party/google/apiclient-services/src/Adsense/Row.php 0000604 00000002513 14717744000 0017512 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Row extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'cells'; protected $cellsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class; protected $cellsDataType = 'array'; /** * @param Cell[] */ public function setCells($cells) { $this->cells = $cells; } /** * @return Cell[] */ public function getCells() { return $this->cells; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Row'); third-party/google/apiclient-services/src/Adsense/SavedReport.php 0000604 00000002770 14717744000 0021206 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class SavedReport extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $name; /** * @var string */ public $title; /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setTitle($title) { $this->title = $title; } /** * @return string */ public function getTitle() { return $this->title; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_SavedReport'); third-party/google/apiclient-services/src/Adsense/Site.php 0000604 00000004727 14717744000 0017660 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class Site extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $autoAdsEnabled; /** * @var string */ public $domain; /** * @var string */ public $name; /** * @var string */ public $reportingDimensionId; /** * @var string */ public $state; /** * @param bool */ public function setAutoAdsEnabled($autoAdsEnabled) { $this->autoAdsEnabled = $autoAdsEnabled; } /** * @return bool */ public function getAutoAdsEnabled() { return $this->autoAdsEnabled; } /** * @param string */ public function setDomain($domain) { $this->domain = $domain; } /** * @return string */ public function getDomain() { return $this->domain; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setReportingDimensionId($reportingDimensionId) { $this->reportingDimensionId = $reportingDimensionId; } /** * @return string */ public function getReportingDimensionId() { return $this->reportingDimensionId; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Site'); third-party/google/apiclient-services/src/Adsense/TimeZone.php 0000604 00000002757 14717744000 0020507 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class TimeZone extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $id; /** * @var string */ public $version; /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param string */ public function setVersion($version) { $this->version = $version; } /** * @return string */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_TimeZone'); third-party/google/apiclient-services/src/Adsense/UrlChannel.php 0000604 00000003632 14717744000 0021001 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\Adsense; class UrlChannel extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $name; /** * @var string */ public $reportingDimensionId; /** * @var string */ public $uriPattern; /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setReportingDimensionId($reportingDimensionId) { $this->reportingDimensionId = $reportingDimensionId; } /** * @return string */ public function getReportingDimensionId() { return $this->reportingDimensionId; } /** * @param string */ public function setUriPattern($uriPattern) { $this->uriPattern = $uriPattern; } /** * @return string */ public function getUriPattern() { return $this->uriPattern; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_UrlChannel'); third-party/google/apiclient-services/src/AnalyticsData/Resource/PropertiesAudienceExports.php 0000604 00000022112 14717744000 0027045 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ListAudienceExportsResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Operation; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QueryAudienceExportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QueryAudienceExportResponse; /** * The "audienceExports" collection of methods. * Typical usage is: * <code> * $analyticsdataService = new Google\Service\AnalyticsData(...); * $audienceExports = $analyticsdataService->properties_audienceExports; * </code> */ class PropertiesAudienceExports extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Creates an audience export for later retrieval. This method quickly returns * the audience export's resource name and initiates a long running asynchronous * request to form an audience export. To export the users in an audience * export, first create the audience export through this method and then send * the audience resource name to the `QueryAudienceExport` method. See [Creating * an Audience Export](https://developers.google.com/analytics/devguides/reporti * ng/data/v1/audience-list-basics) for an introduction to Audience Exports with * examples. An audience export is a snapshot of the users currently in the * audience at the time of audience export creation. Creating audience exports * for one audience on different days will return different results as users * enter and exit the audience. Audiences in Google Analytics 4 allow you to * segment your users in the ways that are important to your business. To learn * more, see https://support.google.com/analytics/answer/9267572. Audience * exports contain the users in each audience. Audience Export APIs have some * methods at alpha and other methods at beta stability. The intention is to * advance methods to beta stability after some feedback and adoption. To give * your feedback on this API, complete the [Google Analytics Audience Export API * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. (audienceExports.create) * * @param string $parent Required. The parent resource where this audience * export will be created. Format: `properties/{property}` * @param AudienceExport $postBody * @param array $optParams Optional parameters. * @return Operation * @throws \Google\Service\Exception */ public function create($parent, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('create', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Operation::class); } /** * Gets configuration metadata about a specific audience export. This method can * be used to understand an audience export after it has been created. See * [Creating an Audience Export](https://developers.google.com/analytics/devguid * es/reporting/data/v1/audience-list-basics) for an introduction to Audience * Exports with examples. Audience Export APIs have some methods at alpha and * other methods at beta stability. The intention is to advance methods to beta * stability after some feedback and adoption. To give your feedback on this * API, complete the [Google Analytics Audience Export API * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. (audienceExports.get) * * @param string $name Required. The audience export resource name. Format: * `properties/{property}/audienceExports/{audience_export}` * @param array $optParams Optional parameters. * @return AudienceExport * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport::class); } /** * Lists all audience exports for a property. This method can be used for you to * find and reuse existing audience exports rather than creating unnecessary new * audience exports. The same audience can have multiple audience exports that * represent the export of users that were in an audience on different days. See * [Creating an Audience Export](https://developers.google.com/analytics/devguid * es/reporting/data/v1/audience-list-basics) for an introduction to Audience * Exports with examples. Audience Export APIs have some methods at alpha and * other methods at beta stability. The intention is to advance methods to beta * stability after some feedback and adoption. To give your feedback on this * API, complete the [Google Analytics Audience Export API * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * (audienceExports.listPropertiesAudienceExports) * * @param string $parent Required. All audience exports for this property will * be listed in the response. Format: `properties/{property}` * @param array $optParams Optional parameters. * * @opt_param int pageSize Optional. The maximum number of audience exports to * return. The service may return fewer than this value. If unspecified, at most * 200 audience exports will be returned. The maximum value is 1000 (higher * values will be coerced to the maximum). * @opt_param string pageToken Optional. A page token, received from a previous * `ListAudienceExports` call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAudienceExports` must * match the call that provided the page token. * @return ListAudienceExportsResponse * @throws \Google\Service\Exception */ public function listPropertiesAudienceExports($parent, $optParams = []) { $params = ['parent' => $parent]; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ListAudienceExportsResponse::class); } /** * Retrieves an audience export of users. After creating an audience, the users * are not immediately available for exporting. First, a request to * `CreateAudienceExport` is necessary to create an audience export of users, * and then second, this method is used to retrieve the users in the audience * export. See [Creating an Audience Export](https://developers.google.com/analy * tics/devguides/reporting/data/v1/audience-list-basics) for an introduction to * Audience Exports with examples. Audiences in Google Analytics 4 allow you to * segment your users in the ways that are important to your business. To learn * more, see https://support.google.com/analytics/answer/9267572. Audience * Export APIs have some methods at alpha and other methods at beta stability. * The intention is to advance methods to beta stability after some feedback and * adoption. To give your feedback on this API, complete the [Google Analytics * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * (audienceExports.query) * * @param string $name Required. The name of the audience export to retrieve * users from. Format: `properties/{property}/audienceExports/{audience_export}` * @param QueryAudienceExportRequest $postBody * @param array $optParams Optional parameters. * @return QueryAudienceExportResponse * @throws \Google\Service\Exception */ public function query($name, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QueryAudienceExportRequest $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('query', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QueryAudienceExportResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource\PropertiesAudienceExports::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Resource_PropertiesAudienceExports'); third-party/google/apiclient-services/src/AnalyticsData/Resource/Properties.php 0000604 00000031347 14717744000 0024034 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metadata; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunRealtimeReportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunRealtimeReportResponse; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest; use Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportResponse; /** * The "properties" collection of methods. * Typical usage is: * <code> * $analyticsdataService = new Google\Service\AnalyticsData(...); * $properties = $analyticsdataService->properties; * </code> */ class Properties extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Returns multiple pivot reports in a batch. All reports must be for the same * GA4 Property. (properties.batchRunPivotReports) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. Specified in the URL path and not the body. To learn * more, see [where to find your Property ID](https://developers.google.com/anal * ytics/devguides/reporting/data/v1/property-id). This property must be * specified for the batch. The property within RunPivotReportRequest may either * be unspecified or consistent with this property. Example: properties/1234 * @param BatchRunPivotReportsRequest $postBody * @param array $optParams Optional parameters. * @return BatchRunPivotReportsResponse * @throws \Google\Service\Exception */ public function batchRunPivotReports($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('batchRunPivotReports', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsResponse::class); } /** * Returns multiple reports in a batch. All reports must be for the same GA4 * Property. (properties.batchRunReports) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. Specified in the URL path and not the body. To learn * more, see [where to find your Property ID](https://developers.google.com/anal * ytics/devguides/reporting/data/v1/property-id). This property must be * specified for the batch. The property within RunReportRequest may either be * unspecified or consistent with this property. Example: properties/1234 * @param BatchRunReportsRequest $postBody * @param array $optParams Optional parameters. * @return BatchRunReportsResponse * @throws \Google\Service\Exception */ public function batchRunReports($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('batchRunReports', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsResponse::class); } /** * This compatibility method lists dimensions and metrics that can be added to a * report request and maintain compatibility. This method fails if the request's * dimensions and metrics are incompatible. In Google Analytics, reports fail if * they request incompatible dimensions and/or metrics; in that case, you will * need to remove dimensions and/or metrics from the incompatible report until * the report is compatible. The Realtime and Core reports have different * compatibility rules. This method checks compatibility for Core reports. * (properties.checkCompatibility) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. To learn more, see [where to find your Property ID](https * ://developers.google.com/analytics/devguides/reporting/data/v1/property-id). * `property` should be the same value as in your `runReport` request. Example: * properties/1234 * @param CheckCompatibilityRequest $postBody * @param array $optParams Optional parameters. * @return CheckCompatibilityResponse * @throws \Google\Service\Exception */ public function checkCompatibility($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('checkCompatibility', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityResponse::class); } /** * Returns metadata for dimensions and metrics available in reporting methods. * Used to explore the dimensions and metrics. In this method, a Google * Analytics GA4 Property Identifier is specified in the request, and the * metadata response includes Custom dimensions and metrics as well as Universal * metadata. For example if a custom metric with parameter name * `levels_unlocked` is registered to a property, the Metadata response will * contain `customEvent:levels_unlocked`. Universal metadata are dimensions and * metrics applicable to any property such as `country` and `totalUsers`. * (properties.getMetadata) * * @param string $name Required. The resource name of the metadata to retrieve. * This name field is specified in the URL path and not URL parameters. Property * is a numeric Google Analytics GA4 Property identifier. To learn more, see * [where to find your Property ID](https://developers.google.com/analytics/devg * uides/reporting/data/v1/property-id). Example: properties/1234/metadata Set * the Property ID to 0 for dimensions and metrics common to all properties. In * this special mode, this method will not return custom dimensions and metrics. * @param array $optParams Optional parameters. * @return Metadata * @throws \Google\Service\Exception */ public function getMetadata($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('getMetadata', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metadata::class); } /** * Returns a customized pivot report of your Google Analytics event data. Pivot * reports are more advanced and expressive formats than regular reports. In a * pivot report, dimensions are only visible if they are included in a pivot. * Multiple pivots can be specified to further dissect your data. * (properties.runPivotReport) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. Specified in the URL path and not the body. To learn * more, see [where to find your Property ID](https://developers.google.com/anal * ytics/devguides/reporting/data/v1/property-id). Within a batch request, this * property should either be unspecified or consistent with the batch-level * property. Example: properties/1234 * @param RunPivotReportRequest $postBody * @param array $optParams Optional parameters. * @return RunPivotReportResponse * @throws \Google\Service\Exception */ public function runPivotReport($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('runPivotReport', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportResponse::class); } /** * Returns a customized report of realtime event data for your property. Events * appear in realtime reports seconds after they have been sent to the Google * Analytics. Realtime reports show events and usage data for the periods of * time ranging from the present moment to 30 minutes ago (up to 60 minutes for * Google Analytics 360 properties). For a guide to constructing realtime * requests & understanding responses, see [Creating a Realtime Report](https:// * developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics). * (properties.runRealtimeReport) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. Specified in the URL path and not the body. To learn * more, see [where to find your Property ID](https://developers.google.com/anal * ytics/devguides/reporting/data/v1/property-id). Example: properties/1234 * @param RunRealtimeReportRequest $postBody * @param array $optParams Optional parameters. * @return RunRealtimeReportResponse * @throws \Google\Service\Exception */ public function runRealtimeReport($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunRealtimeReportRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('runRealtimeReport', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunRealtimeReportResponse::class); } /** * Returns a customized report of your Google Analytics event data. Reports * contain statistics derived from data collected by the Google Analytics * tracking code. The data returned from the API is as a table with columns for * the requested dimensions and metrics. Metrics are individual measurements of * user activity on your property, such as active users or event count. * Dimensions break down metrics across some common criteria, such as country or * event name. For a guide to constructing requests & understanding responses, * see [Creating a Report](https://developers.google.com/analytics/devguides/rep * orting/data/v1/basics). (properties.runReport) * * @param string $property A Google Analytics GA4 property identifier whose * events are tracked. Specified in the URL path and not the body. To learn * more, see [where to find your Property ID](https://developers.google.com/anal * ytics/devguides/reporting/data/v1/property-id). Within a batch request, this * property should either be unspecified or consistent with the batch-level * property. Example: properties/1234 * @param RunReportRequest $postBody * @param array $optParams Optional parameters. * @return RunReportResponse * @throws \Google\Service\Exception */ public function runReport($property, \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest $postBody, $optParams = []) { $params = ['property' => $property, 'postBody' => $postBody]; $params = \array_merge($params, $optParams); return $this->call('runReport', [$params], \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource\Properties::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Resource_Properties'); third-party/google/apiclient-services/src/AnalyticsData/ActiveMetricRestriction.php 0000604 00000003414 14717744000 0024710 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class ActiveMetricRestriction extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'restrictedMetricTypes'; /** * @var string */ public $metricName; /** * @var string[] */ public $restrictedMetricTypes; /** * @param string */ public function setMetricName($metricName) { $this->metricName = $metricName; } /** * @return string */ public function getMetricName() { return $this->metricName; } /** * @param string[] */ public function setRestrictedMetricTypes($restrictedMetricTypes) { $this->restrictedMetricTypes = $restrictedMetricTypes; } /** * @return string[] */ public function getRestrictedMetricTypes() { return $this->restrictedMetricTypes; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ActiveMetricRestriction::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ActiveMetricRestriction'); third-party/google/apiclient-services/src/AnalyticsData/AudienceExport.php 0000604 00000010512 14717744000 0023017 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class AudienceExport extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'dimensions'; /** * @var string */ public $audience; /** * @var string */ public $audienceDisplayName; /** * @var string */ public $beginCreatingTime; /** * @var int */ public $creationQuotaTokensCharged; protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\V1betaAudienceDimension::class; protected $dimensionsDataType = 'array'; /** * @var string */ public $errorMessage; /** * @var string */ public $name; public $percentageCompleted; /** * @var int */ public $rowCount; /** * @var string */ public $state; /** * @param string */ public function setAudience($audience) { $this->audience = $audience; } /** * @return string */ public function getAudience() { return $this->audience; } /** * @param string */ public function setAudienceDisplayName($audienceDisplayName) { $this->audienceDisplayName = $audienceDisplayName; } /** * @return string */ public function getAudienceDisplayName() { return $this->audienceDisplayName; } /** * @param string */ public function setBeginCreatingTime($beginCreatingTime) { $this->beginCreatingTime = $beginCreatingTime; } /** * @return string */ public function getBeginCreatingTime() { return $this->beginCreatingTime; } /** * @param int */ public function setCreationQuotaTokensCharged($creationQuotaTokensCharged) { $this->creationQuotaTokensCharged = $creationQuotaTokensCharged; } /** * @return int */ public function getCreationQuotaTokensCharged() { return $this->creationQuotaTokensCharged; } /** * @param V1betaAudienceDimension[] */ public function setDimensions($dimensions) { $this->dimensions = $dimensions; } /** * @return V1betaAudienceDimension[] */ public function getDimensions() { return $this->dimensions; } /** * @param string */ public function setErrorMessage($errorMessage) { $this->errorMessage = $errorMessage; } /** * @return string */ public function getErrorMessage() { return $this->errorMessage; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } public function setPercentageCompleted($percentageCompleted) { $this->percentageCompleted = $percentageCompleted; } public function getPercentageCompleted() { return $this->percentageCompleted; } /** * @param int */ public function setRowCount($rowCount) { $this->rowCount = $rowCount; } /** * @return int */ public function getRowCount() { return $this->rowCount; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_AudienceExport'); third-party/google/apiclient-services/src/AnalyticsData/AudienceListMetadata.php 0000604 00000001772 14717744000 0024122 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class AudienceListMetadata extends \Google\Site_Kit_Dependencies\Google\Model { } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceListMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_AudienceListMetadata'); third-party/google/apiclient-services/src/AnalyticsData/BatchRunPivotReportsRequest.php 0000604 00000002771 14717744000 0025570 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class BatchRunPivotReportsRequest extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'requests'; protected $requestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest::class; protected $requestsDataType = 'array'; /** * @param RunPivotReportRequest[] */ public function setRequests($requests) { $this->requests = $requests; } /** * @return RunPivotReportRequest[] */ public function getRequests() { return $this->requests; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunPivotReportsRequest'); third-party/google/apiclient-services/src/AnalyticsData/BatchRunPivotReportsResponse.php 0000604 00000003465 14717744000 0025737 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class BatchRunPivotReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'pivotReports'; /** * @var string */ public $kind; protected $pivotReportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportResponse::class; protected $pivotReportsDataType = 'array'; /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param RunPivotReportResponse[] */ public function setPivotReports($pivotReports) { $this->pivotReports = $pivotReports; } /** * @return RunPivotReportResponse[] */ public function getPivotReports() { return $this->pivotReports; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunPivotReportsResponse'); third-party/google/apiclient-services/src/AnalyticsData/BatchRunReportsRequest.php 0000604 00000002733 14717744000 0024544 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class BatchRunReportsRequest extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'requests'; protected $requestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest::class; protected $requestsDataType = 'array'; /** * @param RunReportRequest[] */ public function setRequests($requests) { $this->requests = $requests; } /** * @return RunReportRequest[] */ public function getRequests() { return $this->requests; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunReportsRequest'); third-party/google/apiclient-services/src/AnalyticsData/BatchRunReportsResponse.php 0000604 00000003352 14717744000 0024710 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class BatchRunReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'reports'; /** * @var string */ public $kind; protected $reportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportResponse::class; protected $reportsDataType = 'array'; /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param RunReportResponse[] */ public function setReports($reports) { $this->reports = $reports; } /** * @return RunReportResponse[] */ public function getReports() { return $this->reports; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunReportsResponse'); third-party/google/apiclient-services/src/AnalyticsData/BetweenFilter.php 0000604 00000003637 14717744000 0022651 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class BetweenFilter extends \Google\Site_Kit_Dependencies\Google\Model { protected $fromValueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class; protected $fromValueDataType = ''; protected $toValueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class; protected $toValueDataType = ''; /** * @param NumericValue */ public function setFromValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $fromValue) { $this->fromValue = $fromValue; } /** * @return NumericValue */ public function getFromValue() { return $this->fromValue; } /** * @param NumericValue */ public function setToValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $toValue) { $this->toValue = $toValue; } /** * @return NumericValue */ public function getToValue() { return $this->toValue; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BetweenFilter'); third-party/google/apiclient-services/src/AnalyticsData/CaseExpression.php 0000604 00000002471 14717744000 0023040 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CaseExpression extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $dimensionName; /** * @param string */ public function setDimensionName($dimensionName) { $this->dimensionName = $dimensionName; } /** * @return string */ public function getDimensionName() { return $this->dimensionName; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CaseExpression'); third-party/google/apiclient-services/src/AnalyticsData/CheckCompatibilityRequest.php 0000604 00000006417 14717744000 0025231 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CheckCompatibilityRequest extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'metrics'; /** * @var string */ public $compatibilityFilter; protected $dimensionFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class; protected $dimensionFilterDataType = ''; protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension::class; protected $dimensionsDataType = 'array'; protected $metricFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class; protected $metricFilterDataType = ''; protected $metricsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metric::class; protected $metricsDataType = 'array'; /** * @param string */ public function setCompatibilityFilter($compatibilityFilter) { $this->compatibilityFilter = $compatibilityFilter; } /** * @return string */ public function getCompatibilityFilter() { return $this->compatibilityFilter; } /** * @param FilterExpression */ public function setDimensionFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $dimensionFilter) { $this->dimensionFilter = $dimensionFilter; } /** * @return FilterExpression */ public function getDimensionFilter() { return $this->dimensionFilter; } /** * @param Dimension[] */ public function setDimensions($dimensions) { $this->dimensions = $dimensions; } /** * @return Dimension[] */ public function getDimensions() { return $this->dimensions; } /** * @param FilterExpression */ public function setMetricFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $metricFilter) { $this->metricFilter = $metricFilter; } /** * @return FilterExpression */ public function getMetricFilter() { return $this->metricFilter; } /** * @param Metric[] */ public function setMetrics($metrics) { $this->metrics = $metrics; } /** * @return Metric[] */ public function getMetrics() { return $this->metrics; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CheckCompatibilityRequest'); third-party/google/apiclient-services/src/AnalyticsData/CheckCompatibilityResponse.php 0000604 00000004241 14717744000 0025370 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CheckCompatibilityResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'metricCompatibilities'; protected $dimensionCompatibilitiesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionCompatibility::class; protected $dimensionCompatibilitiesDataType = 'array'; protected $metricCompatibilitiesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricCompatibility::class; protected $metricCompatibilitiesDataType = 'array'; /** * @param DimensionCompatibility[] */ public function setDimensionCompatibilities($dimensionCompatibilities) { $this->dimensionCompatibilities = $dimensionCompatibilities; } /** * @return DimensionCompatibility[] */ public function getDimensionCompatibilities() { return $this->dimensionCompatibilities; } /** * @param MetricCompatibility[] */ public function setMetricCompatibilities($metricCompatibilities) { $this->metricCompatibilities = $metricCompatibilities; } /** * @return MetricCompatibility[] */ public function getMetricCompatibilities() { return $this->metricCompatibilities; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CheckCompatibilityResponse'); third-party/google/apiclient-services/src/AnalyticsData/Cohort.php 0000604 00000003760 14717744000 0021345 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Cohort extends \Google\Site_Kit_Dependencies\Google\Model { protected $dateRangeType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange::class; protected $dateRangeDataType = ''; /** * @var string */ public $dimension; /** * @var string */ public $name; /** * @param DateRange */ public function setDateRange(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange $dateRange) { $this->dateRange = $dateRange; } /** * @return DateRange */ public function getDateRange() { return $this->dateRange; } /** * @param string */ public function setDimension($dimension) { $this->dimension = $dimension; } /** * @return string */ public function getDimension() { return $this->dimension; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Cohort::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Cohort'); third-party/google/apiclient-services/src/AnalyticsData/CohortReportSettings.php 0000604 00000002460 14717744000 0024256 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CohortReportSettings extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $accumulate; /** * @param bool */ public function setAccumulate($accumulate) { $this->accumulate = $accumulate; } /** * @return bool */ public function getAccumulate() { return $this->accumulate; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortReportSettings'); third-party/google/apiclient-services/src/AnalyticsData/CohortSpec.php 0000604 00000004752 14717744000 0022162 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CohortSpec extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'cohorts'; protected $cohortReportSettingsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings::class; protected $cohortReportSettingsDataType = ''; protected $cohortsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Cohort::class; protected $cohortsDataType = 'array'; protected $cohortsRangeType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange::class; protected $cohortsRangeDataType = ''; /** * @param CohortReportSettings */ public function setCohortReportSettings(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings $cohortReportSettings) { $this->cohortReportSettings = $cohortReportSettings; } /** * @return CohortReportSettings */ public function getCohortReportSettings() { return $this->cohortReportSettings; } /** * @param Cohort[] */ public function setCohorts($cohorts) { $this->cohorts = $cohorts; } /** * @return Cohort[] */ public function getCohorts() { return $this->cohorts; } /** * @param CohortsRange */ public function setCohortsRange(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange $cohortsRange) { $this->cohortsRange = $cohortsRange; } /** * @return CohortsRange */ public function getCohortsRange() { return $this->cohortsRange; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortSpec::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortSpec'); third-party/google/apiclient-services/src/AnalyticsData/CohortsRange.php 0000604 00000003613 14717744000 0022502 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class CohortsRange extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var int */ public $endOffset; /** * @var string */ public $granularity; /** * @var int */ public $startOffset; /** * @param int */ public function setEndOffset($endOffset) { $this->endOffset = $endOffset; } /** * @return int */ public function getEndOffset() { return $this->endOffset; } /** * @param string */ public function setGranularity($granularity) { $this->granularity = $granularity; } /** * @return string */ public function getGranularity() { return $this->granularity; } /** * @param int */ public function setStartOffset($startOffset) { $this->startOffset = $startOffset; } /** * @return int */ public function getStartOffset() { return $this->startOffset; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortsRange'); third-party/google/apiclient-services/src/AnalyticsData/ConcatenateExpression.php 0000604 00000003307 14717744000 0024410 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class ConcatenateExpression extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'dimensionNames'; /** * @var string */ public $delimiter; /** * @var string[] */ public $dimensionNames; /** * @param string */ public function setDelimiter($delimiter) { $this->delimiter = $delimiter; } /** * @return string */ public function getDelimiter() { return $this->delimiter; } /** * @param string[] */ public function setDimensionNames($dimensionNames) { $this->dimensionNames = $dimensionNames; } /** * @return string[] */ public function getDimensionNames() { return $this->dimensionNames; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ConcatenateExpression'); third-party/google/apiclient-services/src/AnalyticsData/DateRange.php 0000604 00000003507 14717744000 0021740 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DateRange extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $endDate; /** * @var string */ public $name; /** * @var string */ public $startDate; /** * @param string */ public function setEndDate($endDate) { $this->endDate = $endDate; } /** * @return string */ public function getEndDate() { return $this->endDate; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setStartDate($startDate) { $this->startDate = $startDate; } /** * @return string */ public function getStartDate() { return $this->startDate; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DateRange'); third-party/google/apiclient-services/src/AnalyticsData/DimensionCompatibility.php 0000604 00000003612 14717744000 0024562 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionCompatibility extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $compatibility; protected $dimensionMetadataType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class; protected $dimensionMetadataDataType = ''; /** * @param string */ public function setCompatibility($compatibility) { $this->compatibility = $compatibility; } /** * @return string */ public function getCompatibility() { return $this->compatibility; } /** * @param DimensionMetadata */ public function setDimensionMetadata(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata $dimensionMetadata) { $this->dimensionMetadata = $dimensionMetadata; } /** * @return DimensionMetadata */ public function getDimensionMetadata() { return $this->dimensionMetadata; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionCompatibility::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionCompatibility'); third-party/google/apiclient-services/src/AnalyticsData/DimensionExpression.php 0000604 00000004752 14717744000 0024116 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionExpression extends \Google\Site_Kit_Dependencies\Google\Model { protected $concatenateType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression::class; protected $concatenateDataType = ''; protected $lowerCaseType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class; protected $lowerCaseDataType = ''; protected $upperCaseType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class; protected $upperCaseDataType = ''; /** * @param ConcatenateExpression */ public function setConcatenate(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression $concatenate) { $this->concatenate = $concatenate; } /** * @return ConcatenateExpression */ public function getConcatenate() { return $this->concatenate; } /** * @param CaseExpression */ public function setLowerCase(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression $lowerCase) { $this->lowerCase = $lowerCase; } /** * @return CaseExpression */ public function getLowerCase() { return $this->lowerCase; } /** * @param CaseExpression */ public function setUpperCase(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression $upperCase) { $this->upperCase = $upperCase; } /** * @return CaseExpression */ public function getUpperCase() { return $this->upperCase; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionExpression'); third-party/google/apiclient-services/src/AnalyticsData/DimensionHeader.php 0000604 00000002375 14717744000 0023146 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionHeader extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $name; /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionHeader'); third-party/google/apiclient-services/src/AnalyticsData/DimensionMetadata.php 0000604 00000005676 14717744000 0023505 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionMetadata extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'deprecatedApiNames'; /** * @var string */ public $apiName; /** * @var string */ public $category; /** * @var bool */ public $customDefinition; /** * @var string[] */ public $deprecatedApiNames; /** * @var string */ public $description; /** * @var string */ public $uiName; /** * @param string */ public function setApiName($apiName) { $this->apiName = $apiName; } /** * @return string */ public function getApiName() { return $this->apiName; } /** * @param string */ public function setCategory($category) { $this->category = $category; } /** * @return string */ public function getCategory() { return $this->category; } /** * @param bool */ public function setCustomDefinition($customDefinition) { $this->customDefinition = $customDefinition; } /** * @return bool */ public function getCustomDefinition() { return $this->customDefinition; } /** * @param string[] */ public function setDeprecatedApiNames($deprecatedApiNames) { $this->deprecatedApiNames = $deprecatedApiNames; } /** * @return string[] */ public function getDeprecatedApiNames() { return $this->deprecatedApiNames; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string */ public function setUiName($uiName) { $this->uiName = $uiName; } /** * @return string */ public function getUiName() { return $this->uiName; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionMetadata'); third-party/google/apiclient-services/src/AnalyticsData/DimensionOrderBy.php 0000604 00000003164 14717744000 0023321 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionOrderBy extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $dimensionName; /** * @var string */ public $orderType; /** * @param string */ public function setDimensionName($dimensionName) { $this->dimensionName = $dimensionName; } /** * @return string */ public function getDimensionName() { return $this->dimensionName; } /** * @param string */ public function setOrderType($orderType) { $this->orderType = $orderType; } /** * @return string */ public function getOrderType() { return $this->orderType; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionOrderBy'); third-party/google/apiclient-services/src/AnalyticsData/Dimension.php 0000604 00000003474 14717744000 0022036 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Dimension extends \Google\Site_Kit_Dependencies\Google\Model { protected $dimensionExpressionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression::class; protected $dimensionExpressionDataType = ''; /** * @var string */ public $name; /** * @param DimensionExpression */ public function setDimensionExpression(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression $dimensionExpression) { $this->dimensionExpression = $dimensionExpression; } /** * @return DimensionExpression */ public function getDimensionExpression() { return $this->dimensionExpression; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Dimension'); third-party/google/apiclient-services/src/AnalyticsData/DimensionValue.php 0000604 00000002401 14717744000 0023020 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class DimensionValue extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $value; /** * @param string */ public function setValue($value) { $this->value = $value; } /** * @return string */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionValue'); third-party/google/apiclient-services/src/AnalyticsData/FilterExpressionList.php 0000604 00000002760 14717744000 0024247 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class FilterExpressionList extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'expressions'; protected $expressionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class; protected $expressionsDataType = 'array'; /** * @param FilterExpression[] */ public function setExpressions($expressions) { $this->expressions = $expressions; } /** * @return FilterExpression[] */ public function getExpressions() { return $this->expressions; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_FilterExpressionList'); third-party/google/apiclient-services/src/AnalyticsData/FilterExpression.php 0000604 00000005652 14717744000 0023416 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class FilterExpression extends \Google\Site_Kit_Dependencies\Google\Model { protected $andGroupType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class; protected $andGroupDataType = ''; protected $filterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter::class; protected $filterDataType = ''; protected $notExpressionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class; protected $notExpressionDataType = ''; protected $orGroupType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class; protected $orGroupDataType = ''; /** * @param FilterExpressionList */ public function setAndGroup(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList $andGroup) { $this->andGroup = $andGroup; } /** * @return FilterExpressionList */ public function getAndGroup() { return $this->andGroup; } /** * @param Filter */ public function setFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter $filter) { $this->filter = $filter; } /** * @return Filter */ public function getFilter() { return $this->filter; } /** * @param FilterExpression */ public function setNotExpression(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $notExpression) { $this->notExpression = $notExpression; } /** * @return FilterExpression */ public function getNotExpression() { return $this->notExpression; } /** * @param FilterExpressionList */ public function setOrGroup(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList $orGroup) { $this->orGroup = $orGroup; } /** * @return FilterExpressionList */ public function getOrGroup() { return $this->orGroup; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_FilterExpression'); third-party/google/apiclient-services/src/AnalyticsData/Filter.php 0000604 00000006421 14717744000 0021331 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Filter extends \Google\Site_Kit_Dependencies\Google\Model { protected $betweenFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter::class; protected $betweenFilterDataType = ''; /** * @var string */ public $fieldName; protected $inListFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter::class; protected $inListFilterDataType = ''; protected $numericFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter::class; protected $numericFilterDataType = ''; protected $stringFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\StringFilter::class; protected $stringFilterDataType = ''; /** * @param BetweenFilter */ public function setBetweenFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter $betweenFilter) { $this->betweenFilter = $betweenFilter; } /** * @return BetweenFilter */ public function getBetweenFilter() { return $this->betweenFilter; } /** * @param string */ public function setFieldName($fieldName) { $this->fieldName = $fieldName; } /** * @return string */ public function getFieldName() { return $this->fieldName; } /** * @param InListFilter */ public function setInListFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter $inListFilter) { $this->inListFilter = $inListFilter; } /** * @return InListFilter */ public function getInListFilter() { return $this->inListFilter; } /** * @param NumericFilter */ public function setNumericFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter $numericFilter) { $this->numericFilter = $numericFilter; } /** * @return NumericFilter */ public function getNumericFilter() { return $this->numericFilter; } /** * @param StringFilter */ public function setStringFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\StringFilter $stringFilter) { $this->stringFilter = $stringFilter; } /** * @return StringFilter */ public function getStringFilter() { return $this->stringFilter; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Filter'); third-party/google/apiclient-services/src/AnalyticsData/InListFilter.php 0000604 00000003202 14717744000 0022446 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class InListFilter extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'values'; /** * @var bool */ public $caseSensitive; /** * @var string[] */ public $values; /** * @param bool */ public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } /** * @return bool */ public function getCaseSensitive() { return $this->caseSensitive; } /** * @param string[] */ public function setValues($values) { $this->values = $values; } /** * @return string[] */ public function getValues() { return $this->values; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_InListFilter'); third-party/google/apiclient-services/src/AnalyticsData/ListAudienceExportsResponse.php 0000604 00000003564 14717744000 0025566 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class ListAudienceExportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'audienceExports'; protected $audienceExportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport::class; protected $audienceExportsDataType = 'array'; /** * @var string */ public $nextPageToken; /** * @param AudienceExport[] */ public function setAudienceExports($audienceExports) { $this->audienceExports = $audienceExports; } /** * @return AudienceExport[] */ public function getAudienceExports() { return $this->audienceExports; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ListAudienceExportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ListAudienceExportsResponse'); third-party/google/apiclient-services/src/AnalyticsData/Metadata.php 0000604 00000004161 14717744000 0021623 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Metadata extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'metrics'; protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class; protected $dimensionsDataType = 'array'; protected $metricsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class; protected $metricsDataType = 'array'; /** * @var string */ public $name; /** * @param DimensionMetadata[] */ public function setDimensions($dimensions) { $this->dimensions = $dimensions; } /** * @return DimensionMetadata[] */ public function getDimensions() { return $this->dimensions; } /** * @param MetricMetadata[] */ public function setMetrics($metrics) { $this->metrics = $metrics; } /** * @return MetricMetadata[] */ public function getMetrics() { return $this->metrics; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Metadata'); third-party/google/apiclient-services/src/AnalyticsData/MetricCompatibility.php 0000604 00000003535 14717744000 0024064 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MetricCompatibility extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $compatibility; protected $metricMetadataType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class; protected $metricMetadataDataType = ''; /** * @param string */ public function setCompatibility($compatibility) { $this->compatibility = $compatibility; } /** * @return string */ public function getCompatibility() { return $this->compatibility; } /** * @param MetricMetadata */ public function setMetricMetadata(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata $metricMetadata) { $this->metricMetadata = $metricMetadata; } /** * @return MetricMetadata */ public function getMetricMetadata() { return $this->metricMetadata; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricCompatibility::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricCompatibility'); third-party/google/apiclient-services/src/AnalyticsData/MetricHeader.php 0000604 00000003006 14717744000 0022434 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MetricHeader extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $name; /** * @var string */ public $type; /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricHeader'); third-party/google/apiclient-services/src/AnalyticsData/MetricMetadata.php 0000604 00000007541 14717744000 0022774 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MetricMetadata extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'deprecatedApiNames'; /** * @var string */ public $apiName; /** * @var string[] */ public $blockedReasons; /** * @var string */ public $category; /** * @var bool */ public $customDefinition; /** * @var string[] */ public $deprecatedApiNames; /** * @var string */ public $description; /** * @var string */ public $expression; /** * @var string */ public $type; /** * @var string */ public $uiName; /** * @param string */ public function setApiName($apiName) { $this->apiName = $apiName; } /** * @return string */ public function getApiName() { return $this->apiName; } /** * @param string[] */ public function setBlockedReasons($blockedReasons) { $this->blockedReasons = $blockedReasons; } /** * @return string[] */ public function getBlockedReasons() { return $this->blockedReasons; } /** * @param string */ public function setCategory($category) { $this->category = $category; } /** * @return string */ public function getCategory() { return $this->category; } /** * @param bool */ public function setCustomDefinition($customDefinition) { $this->customDefinition = $customDefinition; } /** * @return bool */ public function getCustomDefinition() { return $this->customDefinition; } /** * @param string[] */ public function setDeprecatedApiNames($deprecatedApiNames) { $this->deprecatedApiNames = $deprecatedApiNames; } /** * @return string[] */ public function getDeprecatedApiNames() { return $this->deprecatedApiNames; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string */ public function setExpression($expression) { $this->expression = $expression; } /** * @return string */ public function getExpression() { return $this->expression; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } /** * @param string */ public function setUiName($uiName) { $this->uiName = $uiName; } /** * @return string */ public function getUiName() { return $this->uiName; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricMetadata'); third-party/google/apiclient-services/src/AnalyticsData/MetricOrderBy.php 0000604 00000002441 14717744000 0022614 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MetricOrderBy extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $metricName; /** * @param string */ public function setMetricName($metricName) { $this->metricName = $metricName; } /** * @return string */ public function getMetricName() { return $this->metricName; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricOrderBy'); third-party/google/apiclient-services/src/AnalyticsData/Metric.php 0000604 00000003515 14717744000 0021330 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Metric extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $expression; /** * @var bool */ public $invisible; /** * @var string */ public $name; /** * @param string */ public function setExpression($expression) { $this->expression = $expression; } /** * @return string */ public function getExpression() { return $this->expression; } /** * @param bool */ public function setInvisible($invisible) { $this->invisible = $invisible; } /** * @return bool */ public function getInvisible() { return $this->invisible; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metric::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Metric'); third-party/google/apiclient-services/src/AnalyticsData/MetricValue.php 0000604 00000002370 14717744000 0022323 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MetricValue extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $value; /** * @param string */ public function setValue($value) { $this->value = $value; } /** * @return string */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricValue'); third-party/google/apiclient-services/src/AnalyticsData/MinuteRange.php 0000604 00000003617 14717744000 0022326 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class MinuteRange extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var int */ public $endMinutesAgo; /** * @var string */ public $name; /** * @var int */ public $startMinutesAgo; /** * @param int */ public function setEndMinutesAgo($endMinutesAgo) { $this->endMinutesAgo = $endMinutesAgo; } /** * @return int */ public function getEndMinutesAgo() { return $this->endMinutesAgo; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param int */ public function setStartMinutesAgo($startMinutesAgo) { $this->startMinutesAgo = $startMinutesAgo; } /** * @return int */ public function getStartMinutesAgo() { return $this->startMinutesAgo; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MinuteRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MinuteRange'); third-party/google/apiclient-services/src/AnalyticsData/NumericFilter.php 0000604 00000003337 14717744000 0022657 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class NumericFilter extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $operation; protected $valueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class; protected $valueDataType = ''; /** * @param string */ public function setOperation($operation) { $this->operation = $operation; } /** * @return string */ public function getOperation() { return $this->operation; } /** * @param NumericValue */ public function setValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $value) { $this->value = $value; } /** * @return NumericValue */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_NumericFilter'); third-party/google/apiclient-services/src/AnalyticsData/NumericValue.php 0000604 00000002763 14717744000 0022510 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class NumericValue extends \Google\Site_Kit_Dependencies\Google\Model { public $doubleValue; /** * @var string */ public $int64Value; public function setDoubleValue($doubleValue) { $this->doubleValue = $doubleValue; } public function getDoubleValue() { return $this->doubleValue; } /** * @param string */ public function setInt64Value($int64Value) { $this->int64Value = $int64Value; } /** * @return string */ public function getInt64Value() { return $this->int64Value; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_NumericValue'); third-party/google/apiclient-services/src/AnalyticsData/Operation.php 0000604 00000005006 14717744000 0022042 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Operation extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $done; protected $errorType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Status::class; protected $errorDataType = ''; /** * @var array[] */ public $metadata; /** * @var string */ public $name; /** * @var array[] */ public $response; /** * @param bool */ public function setDone($done) { $this->done = $done; } /** * @return bool */ public function getDone() { return $this->done; } /** * @param Status */ public function setError(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Status $error) { $this->error = $error; } /** * @return Status */ public function getError() { return $this->error; } /** * @param array[] */ public function setMetadata($metadata) { $this->metadata = $metadata; } /** * @return array[] */ public function getMetadata() { return $this->metadata; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param array[] */ public function setResponse($response) { $this->response = $response; } /** * @return array[] */ public function getResponse() { return $this->response; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Operation::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Operation'); third-party/google/apiclient-services/src/AnalyticsData/OrderBy.php 0000604 00000005152 14717744000 0021452 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class OrderBy extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var bool */ public $desc; protected $dimensionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy::class; protected $dimensionDataType = ''; protected $metricType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy::class; protected $metricDataType = ''; protected $pivotType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy::class; protected $pivotDataType = ''; /** * @param bool */ public function setDesc($desc) { $this->desc = $desc; } /** * @return bool */ public function getDesc() { return $this->desc; } /** * @param DimensionOrderBy */ public function setDimension(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy $dimension) { $this->dimension = $dimension; } /** * @return DimensionOrderBy */ public function getDimension() { return $this->dimension; } /** * @param MetricOrderBy */ public function setMetric(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy $metric) { $this->metric = $metric; } /** * @return MetricOrderBy */ public function getMetric() { return $this->metric; } /** * @param PivotOrderBy */ public function setPivot(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy $pivot) { $this->pivot = $pivot; } /** * @return PivotOrderBy */ public function getPivot() { return $this->pivot; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\OrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_OrderBy'); third-party/google/apiclient-services/src/AnalyticsData/PivotDimensionHeader.php 0000604 00000003016 14717744000 0024161 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class PivotDimensionHeader extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'dimensionValues'; protected $dimensionValuesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionValue::class; protected $dimensionValuesDataType = 'array'; /** * @param DimensionValue[] */ public function setDimensionValues($dimensionValues) { $this->dimensionValues = $dimensionValues; } /** * @return DimensionValue[] */ public function getDimensionValues() { return $this->dimensionValues; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotDimensionHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotDimensionHeader'); third-party/google/apiclient-services/src/AnalyticsData/PivotHeader.php 0000604 00000003540 14717744000 0022315 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class PivotHeader extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'pivotDimensionHeaders'; protected $pivotDimensionHeadersType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotDimensionHeader::class; protected $pivotDimensionHeadersDataType = 'array'; /** * @var int */ public $rowCount; /** * @param PivotDimensionHeader[] */ public function setPivotDimensionHeaders($pivotDimensionHeaders) { $this->pivotDimensionHeaders = $pivotDimensionHeaders; } /** * @return PivotDimensionHeader[] */ public function getPivotDimensionHeaders() { return $this->pivotDimensionHeaders; } /** * @param int */ public function setRowCount($rowCount) { $this->rowCount = $rowCount; } /** * @return int */ public function getRowCount() { return $this->rowCount; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotHeader'); third-party/google/apiclient-services/src/AnalyticsData/PivotOrderBy.php 0000604 00000003462 14717744000 0022476 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class PivotOrderBy extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'pivotSelections'; /** * @var string */ public $metricName; protected $pivotSelectionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotSelection::class; protected $pivotSelectionsDataType = 'array'; /** * @param string */ public function setMetricName($metricName) { $this->metricName = $metricName; } /** * @return string */ public function getMetricName() { return $this->metricName; } /** * @param PivotSelection[] */ public function setPivotSelections($pivotSelections) { $this->pivotSelections = $pivotSelections; } /** * @return PivotSelection[] */ public function getPivotSelections() { return $this->pivotSelections; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotOrderBy'); third-party/google/apiclient-services/src/AnalyticsData/Pivot.php 0000604 00000005202 14717744000 0021201 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class Pivot extends \Google\Site_Kit_Dependencies\Google\Collection { protected $collection_key = 'orderBys'; /** * @var string[] */ public $fieldNames; /** * @var string */ public $limit; /** * @var string[] */ public $metricAggregations; /** * @var string */ public $offset; protected $orderBysType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\OrderBy::class; protected $orderBysDataType = 'array'; /** * @param string[] */ public function setFieldNames($fieldNames) { $this->fieldNames = $fieldNames; } /** * @return string[] */ public function getFieldNames() { return $this->fieldNames; } /** * @param string */ public function setLimit($limit) { $this->limit = $limit; } /** * @return string */ public function getLimit() { return $this->limit; } /** * @param string[] */ public function setMetricAggregations($metricAggregations) { $this->metricAggregations = $metricAggregations; } /** * @return string[] */ public function getMetricAggregations() { return $this->metricAggregations; } /** * @param string */ public function setOffset($offset) { $this->offset = $offset; } /** * @return string */ public function getOffset() { return $this->offset; } /** * @param OrderBy[] */ public function setOrderBys($orderBys) { $this->orderBys = $orderBys; } /** * @return OrderBy[] */ public function getOrderBys() { return $this->orderBys; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Pivot::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Pivot'); third-party/google/apiclient-services/src/AnalyticsData/PivotSelection.php 0000604 00000003221 14717744000 0023046 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class PivotSelection extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $dimensionName; /** * @var string */ public $dimensionValue; /** * @param string */ public function setDimensionName($dimensionName) { $this->dimensionName = $dimensionName; } /** * @return string */ public function getDimensionName() { return $this->dimensionName; } /** * @param string */ public function setDimensionValue($dimensionValue) { $this->dimensionValue = $dimensionValue; } /** * @return string */ public function getDimensionValue() { return $this->dimensionValue; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotSelection::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotSelection'); third-party/google/apiclient-services/src/AnalyticsData/PropertyQuota.php 0000604 00000010633 14717744000 0022742 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class PropertyQuota extends \Google\Site_Kit_Dependencies\Google\Model { protected $concurrentRequestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $concurrentRequestsDataType = ''; protected $potentiallyThresholdedRequestsPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $potentiallyThresholdedRequestsPerHourDataType = ''; protected $serverErrorsPerProjectPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $serverErrorsPerProjectPerHourDataType = ''; protected $tokensPerDayType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $tokensPerDayDataType = ''; protected $tokensPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $tokensPerHourDataType = ''; protected $tokensPerProjectPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class; protected $tokensPerProjectPerHourDataType = ''; /** * @param QuotaStatus */ public function setConcurrentRequests(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $concurrentRequests) { $this->concurrentRequests = $concurrentRequests; } /** * @return QuotaStatus */ public function getConcurrentRequests() { return $this->concurrentRequests; } /** * @param QuotaStatus */ public function setPotentiallyThresholdedRequestsPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $potentiallyThresholdedRequestsPerHour) { $this->potentiallyThresholdedRequestsPerHour = $potentiallyThresholdedRequestsPerHour; } /** * @return QuotaStatus */ public function getPotentiallyThresholdedRequestsPerHour() { return $this->potentiallyThresholdedRequestsPerHour; } /** * @param QuotaStatus */ public function setServerErrorsPerProjectPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $serverErrorsPerProjectPerHour) { $this->serverErrorsPerProjectPerHour = $serverErrorsPerProjectPerHour; } /** * @return QuotaStatus */ public function getServerErrorsPerProjectPerHour() { return $this->serverErrorsPerProjectPerHour; } /** * @param QuotaStatus */ public function setTokensPerDay(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerDay) { $this->tokensPerDay = $tokensPerDay; } /** * @return QuotaStatus */ public function getTokensPerDay() { return $this->tokensPerDay; } /** * @param QuotaStatus */ public function setTokensPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerHour) { $this->tokensPerHour = $tokensPerHour; } /** * @return QuotaStatus */ public function getTokensPerHour() { return $this->tokensPerHour; } /** * @param QuotaStatus */ public function setTokensPerProjectPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerProjectPerHour) { $this->tokensPerProjectPerHour = $tokensPerProjectPerHour; } /** * @return QuotaStatus */ public function getTokensPerProjectPerHour() { return $this->tokensPerProjectPerHour; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PropertyQuota::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PropertyQuota'); third-party/google/apiclient-services/src/AnalyticsData/QueryAudienceExportRequest.php 0000604 00000003105 14717744000 0025416 0 ustar 00 <?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData; class QueryAudienceExportRequest extends \Google\Site_Kit_Dependencies\Google\Model { /** * @var string */ public $limit; /** * @var string */ public $offset; /** * @param string */ public function setLimit($limit) { $this->limit = $limit; } /** * @return string */ public function getLimit() { return $this->limit; } /** * @param string */ public function setOffset($offset) { $this->offset = $offset; } /** * @return string */ public function getOffset() { return $this->